No description
Find a file
Ralph Sennhauser f10526284f
Don't map unknown scancodes to hotkeys
Users may generate key presses that don't map to a distinct SDL scancode
and will be mapped SDL_SCANCODE_UNKNOWN instead. Using the same ID for
unmapped hotkeys means any such key press will execute unset hotkeys. As
luck would have it in #7644 this leads to calling "Custom exit to
desktop" if the hotkey is unbound as is the default.

So simply use a code for unused hotkeys that doesn't map to any SDL
scancodes.

Fixes: #7644
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-03-15 20:33:03 +01:00
.gitea Check more things in checkrefs hook 2025-01-16 09:27:11 +01:00
binaries Clear filter when closing Map Browser 2025-03-15 09:27:29 +01:00
build Use JOBS var instead of hardcoding on Windows 2025-03-09 11:14:16 +01:00
docs docs: Improve Doxygen Visuals and Build process 2024-10-26 19:33:38 +02:00
libraries Silence dangling pointer warning for JS::Rooted 2025-02-24 21:30:56 +01:00
source Don't map unknown scancodes to hotkeys 2025-03-15 20:33:03 +01:00
.editorconfig Add EditorConfig options for Python 2024-09-17 11:03:15 +02:00
.gitattributes fix: git diff to work on LFS files for map xml files 2025-01-29 08:37:16 +01:00
.gitignore Add missing wildcard in gitignore 2024-12-21 10:03:12 +01:00
.markdownlint.yaml Add a markdownlint pre-commit hook 2024-08-27 10:06:31 +02:00
.pre-commit-config.yaml Update the pre-commit hooks 2025-01-11 21:44:52 +01:00
.yamllint.yaml Add yamllint to pre-commit 2024-09-08 13:08:11 +02:00
LICENSE.md docs: Improve Doxygen Visuals and Build process 2024-10-26 19:33:38 +02:00
license_dbghelp.txt Convert license_dbghelp.txt to UTF-8 2024-08-31 17:04:05 +02:00
license_gpl-2.0.txt
license_lgpl-2.1.txt
license_mit.txt
README.md Add badges to the readme 2024-09-30 13:36:58 +02:00
ruff.toml Enable a few more ruff rules 2025-03-03 14:18:40 +01:00

0 A.D. Introductory Information

FreeBSD Build Status Linux Build Status macOS Build Status Windows Build Status

Game References Checks Status Pre-commit Checks Status

0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time strategy game of ancient warfare.

This is currently an incomplete, under-development version of the game. We're always interested in getting more people involved, to help bring the game towards completion and to share the interesting experience of developing a project of this scope.

There are several ways to contact us and find more information:

Running precompiled binaries on Windows

A precompiled, ready-to-play development version of the game is available from a checkout of the nightly-build SVN repository. If you are using the git repository, you have to follow the steps below.

In a checkout of the nightly-build SVN repository, open the "binaries\system" folder.

  • To launch the game: Run pyrogenesis.exe
  • To launch the map editor: Run Atlas.bat or "pyrogenesis.exe -editor"

Compiling the game from source code

The instructions for compiling the game on Windows, Linux and OS X are at BuildInstructions.

Reporting problems

Bugs should be reported on Gitea. For information on reporting problems and finding logs, see ReportingErrors.

Contributing Code

If you want to help out programming for the game, have a look at GettingStartedProgrammers or contact us on #0ad-dev on irc.quakenet.org

Contributing Artwork

If you want to make artwork for the game, have a look at For Artists or visit the forums.

Translating

You can help translating the game at https://www.transifex.com/projects/p/0ad for more information, see Localization