98c1e6a1f5 Drop the CRT deprecation-suppression defines
_CRT_SECURE_NO_DEPRECATE, _CRT_SECURE_NO_WARNINGS, _SCL_SECURE_NO_WARNINGS and
_CRT_NON_CONFORMING_SWPRINTFS all do one thing: hide the deprecation attributes
the CRT headers put on strcpy, sprintf, swprintf and friends. That warning is
C4996 for cl and -Wdeprecated-declarations for clang-cl, and cmake/Warnings.cmake
already suppresses both by name, per compiler, with a count next to it. Two
mechanisms for one warning, one of them invisible to anyone reading the warning
list.

_CRT_NON_CONFORMING_SWPRINTFS is the only one that could have done more, and it
does not: its macro redirect to the argument-count-free swprintf is guarded by
!defined __cplusplus (corecrt_wstdio.h), so in C++ the traditional overloads are
declared either way and only the deprecation text changes.

No codegen change. Recompiling sgp/video.cpp with and without the four defines
gives objects that differ in .debug$T alone, by the 128 bytes of the recorded
compiler command line; every other section is byte-identical. All four
applications build clean under clang-cl /W3 /WX.

The counts in cmake/Warnings.cmake for /wd4996 and -Wno-deprecated-declarations
were harvested with these defines in place, so both now understate the real
number. They are stale figures, not wrong suppressions.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 01:26:27 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00
2026-08-22 01:07:26 -03:00

JA2 v1.13




JA2 v1.13



Preamble

Jagged Alliance 2 v1.13 is a modification for the Jagged Alliance 2 game.

Original development was done through SVN, this however ended abruptly in 2022, to keep the development going the step to Github has been made.

Feel free to participate in the development!

For more information you can visit the following locations:

In case of any issues, look at Reports or Participation

Downloads

Note

All-in-one releases come for different languages and include JA2 v1.13, the Map Editor and JA2 Unfinished Business.

Visit the releases page to download the latest all-in-one.

Installation

  1. Install the original Jagged Alliance 2

  2. Download the latest all-in-one release and copy its content to JA2 game directory.

  3. Modify ini settings if you like.

  4. Play the game.

    Some additional information on can be found in folder "docs" inside download.

    If you face issues with higher resolutions, alt+tab not working, blackscreen, etc.,
    run the "cnc-ddraw-config.exe" in game-folder and adjust settings to your liking.
    (those issues can occur due to the combination of old game and modern OS/hardware, cnc-ddraw helps to avoid those)

Visual Studio setup

  1. Run Visual Studio 2019 or newer.
  2. Clone and open the location with the source code using one of these two options:
    • Click Clone a repository
      • Enter git@github.com:1dot13/source.git or https://github.com/1dot13/source.git in the Repository location field, select the path you want to clone the repository to and click Clone.
      • Double-click on Folder View in the Solution Explorer
    • Click Open a local folder
      • Use this option if you already cloned the repository yourself.
  3. Visual Studio detects CMakePresets.json and lists the msvc-* configurations. Executables are written to gamedir/.
  4. To build only some applications, or to debug against a different JA2 1.13 install, add/modify a CMakeUserPresets.json in the source root that inherits one of the shipped presets and sets the Applications and/or CMAKE_RUNTIME_OUTPUT_DIRECTORY cacheVariables. Language is chosen at runtime, not at configure time.
  5. Use Build -> Build All to build.

Reports

For more information and reports, visit Bug reports at Bear's Pit Forum or join the Bear's Pit Discord

Participation

Feel free to participate on GitHub. If you want to know how, or simply wanna share your thoughts on a topic join the Bear's Pit Discord

S
Description
No description provided
Readme
1.7 GiB
Languages
Python 78.5%
C++ 18.1%
C 2.1%
Lua 0.6%
GAP 0.4%
Other 0.2%