1
0
forked from mirrors/0ad

Commit Graph

  • c32a2b52be Gamesetup cleanup. elexis 2015-12-11 10:17:44 +00:00
  • 42548698c5 Gamesetup cleanup. elexis 2015-12-11 00:21:04 +00:00
  • df86b15b91 Gamesetup cleanup. elexis 2015-12-11 00:02:18 +00:00
  • d07f16ed80 petra: fix resource translations, fixes #3691 mimo 2015-12-10 20:35:24 +00:00
  • afa07325a1 petra: improve the detection of stuck gatherers, refs #3562 mimo 2015-12-10 20:02:37 +00:00
  • a74d9be130 make const the new method introduced in 2451872731 mimo 2015-12-10 19:23:50 +00:00
  • 57260e185b Use let instead of var in the gamesetup. elexis 2015-12-10 17:44:14 +00:00
  • e57c99c6f6 Add a button to the top bar to access the summary screen in-game or in replays. wraitii 2015-12-10 15:33:06 +00:00
  • 4dcbad7b1b Simplify init() and initMain(). Exit gracefully in case of encountering an error there. elexis 2015-12-10 14:24:03 +00:00
  • 9b4e359d64 Gah. elexis 2015-12-10 13:28:57 +00:00
  • 223305b7ae Simplify sendRegisterGameStanza by using the conditional operator and removing four variables which are used only once. elexis 2015-12-10 13:20:45 +00:00
  • 7a8c37a885 Use map function instead of deprecated for-each. elexis 2015-12-10 13:06:36 +00:00
  • 63fa889fcd Rename playableOnly to selectableOnly as non-selectable civs can be playable on scenario maps. elexis 2015-12-10 12:52:38 +00:00
  • af4dc43478 Revert the removal of non-selectable civs from the gamesetup (bbc325fb5a) to allow scenario maps to select unselectable civs. elexis 2015-12-10 12:49:53 +00:00
  • 349b5786dd Fix test failure. Refs #3590. leper 2015-12-09 22:52:33 +00:00
  • b6dbb2bff0 fix tabs of 2451872731 mimo 2015-12-09 20:56:53 +00:00
  • 2451872731 improve performance of hierarchical pathfinder, refs #3588 mimo 2015-12-09 19:56:30 +00:00
  • 73a26a22ca Enable by default postproc, smoothlos and all water features when on OpenGL4+. fabio 2015-12-09 16:12:58 +00:00
  • 07f0a178f4 Fixes what looks a copy-paste error. fabio 2015-12-09 11:35:40 +00:00
  • a5152c14d1 Properly use the passed parameter as all other occourences. fabio 2015-12-09 11:28:24 +00:00
  • 6a73dc2e16 fix multiple (useless) insertion in grid update of hierarchical pathfinder mimo 2015-12-08 22:58:04 +00:00
  • b4f0227f1b Add support for undeletable entities. Fixes #3590. leper 2015-12-08 22:34:32 +00:00
  • 82ca673e0a petra: retune the dock placement criteria, fixes #3469 mimo 2015-12-08 19:16:50 +00:00
  • 489e41362a Use placeholder in plural string. leper 2015-12-08 18:13:09 +00:00
  • fd32da5c87 Update tinygettext. leper 2015-12-08 18:05:11 +00:00
  • 61886f0e7a Use inheritance instead of redefining properties. leper 2015-12-08 18:05:06 +00:00
  • 80663a6c8a Add gray, stone-esc modern button type. JoshuaJB 2015-12-07 18:47:41 +00:00
  • 71cd4ac3cc Simplify input.js. Unify checks, remove unneeded variables and use the conditional operator. elexis 2015-12-07 13:45:50 +00:00
  • 780a1de136 Don't comment out code. Refs #3486. elexis 2015-12-07 12:27:52 +00:00
  • 8af675e207 Don't emit sounds when selecting dead animals. Patch by Stan. Fixes #3486. elexis 2015-12-07 00:21:24 +00:00
  • 9e39d6b46c Implement markForPluralTranslation() which allows to translate plural-strings sent by the simulation. elexis 2015-12-06 23:56:03 +00:00
  • 66bb4deef8 Use the tech name as it is used everywhere else. leper 2015-12-06 21:29:09 +00:00
  • d5e083247a fix 66bd932374 which has increased too much the repair specificness: it should be higher than the capture one, but smaller than the move one. refs #3443 mimo 2015-12-06 21:02:04 +00:00
  • 3483a2d226 Extract attack notification strings. Refs #3691. leper 2015-12-06 20:51:32 +00:00
  • abd7b78b02 Return the boolean test instead of having an if-return return. leper 2015-12-06 20:51:30 +00:00
  • 2bd22bb6a8 Fix whitespace. elexis 2015-12-06 17:13:47 +00:00
  • 0462829579 Use more plural translations for tooltips. Patch by Safa Alfulaij. Refs #3081. elexis 2015-12-06 16:56:46 +00:00
  • 953e745067 Do a more explicit sanitycheck in loadCivData (in case we encounter the value false). elexis 2015-12-06 15:30:49 +00:00
  • 21f032c305 Ignore the "user" mod when checking the compability of replays and savegames. elexis 2015-12-06 14:00:03 +00:00
  • 84678cf40e Tune lobby rating alignment and remove a TODO that won't be fixed due to uglyness. elexis 2015-12-06 13:21:41 +00:00
  • cff6056e9f Lobby cleanup. elexis 2015-12-06 12:13:06 +00:00
  • 66ec6dbf12 Lobby cleanup. elexis 2015-12-06 11:42:30 +00:00
  • 987a7028bd Implements relative templates. Fixes #2936. Thanks to leper, wraitii, historicbruno and everyone else that helped. scythetwirler 2015-12-05 17:02:25 +00:00
  • 8813cb3133 petra: some fixes (buildrestrictions min distance) and some cleanup mimo 2015-12-05 15:02:45 +00:00
  • 99c0d0493c remove warnings in structtree, fixes #3682, patch from s0600204 mimo 2015-12-05 14:57:09 +00:00
  • 4b37462645 Restore player- and game-selection when updating the lists. Fixes #3244. elexis 2015-12-05 04:28:23 +00:00
  • 7316473921 Don't translate botnames in multiplayer games (so names are in english instead of the language of the host). Refs #3307 elexis 2015-12-04 23:54:45 +00:00
  • bbc325fb5a Gamesetup cleanup. Refs #3680. elexis 2015-12-04 23:45:35 +00:00
  • 71b0d9c052 Update atlas with the new map_sizes.json format. Refs #3355. elexis 2015-12-04 16:37:30 +00:00
  • 6572b6d042 Simplify civ info (main menu -> learn how to play -> history). elexis 2015-12-04 15:35:34 +00:00
  • 654ec6f2bf Gamesetup cleanup. Refs #3680 elexis 2015-12-04 14:06:01 +00:00
  • 82d93c89dd Gamesetup cleanup. Refs #3680 elexis 2015-12-04 13:10:50 +00:00
  • 99d7b73d2c Don't link unused eastereggs to wrong civs. Patch by Stan, fixes #3679. elexis 2015-12-04 12:47:04 +00:00
  • e8bb6f5974 Actually remove the old file from the repository. Refs #3355 elexis 2015-12-04 12:30:24 +00:00
  • a98a44875e Move mapsizes to the new simulation settings system. Fixes #3355. elexis 2015-12-04 12:24:58 +00:00
  • d50075adc4 Lobby cleanup. Fixes #3383 elexis 2015-12-04 00:22:15 +00:00
  • 76a1a84a58 Lobby cleanup. Refs #3383 elexis 2015-12-03 22:22:26 +00:00
  • 787960b63c Lobby cleanup. Refs #3383 elexis 2015-12-03 17:43:16 +00:00
  • 88816a1043 Fix two oversights and simplify mapfilter-initialization. Refs #3383 elexis 2015-12-03 14:10:28 +00:00
  • 2e69872b11 Remove debug parser from replay menu. Refs #3440 elexis 2015-12-03 03:12:43 +00:00
  • 477e8c36ee Lobby cleanup. Simplifies updatePlayerList() and moves hardcoded color values to the top of the file for easy access. Refs #3383 elexis 2015-12-03 02:52:44 +00:00
  • 5b2738b0cb Doubles size of sound card string buffers, for users with many sound devices present. Fixes #3660 historic_bruno 2015-12-02 22:41:17 +00:00
  • 3c6580ed83 Add JSdoc comments to all lobby globals and remove g_MapSizes because it is only used locally. Refs #3383 elexis 2015-12-02 17:44:09 +00:00
  • a88e8e3e5c Remove obfuscated easteregg in the lobby. elexis 2015-12-02 17:21:08 +00:00
  • 2b64d83978 Enlighten too dark username-colors in the lobby and gamesetup-chat. Patch by fpre, fixes #3205. elexis 2015-12-02 17:00:12 +00:00
  • e6840f5fca Remove useless global g_SpecialKey. Refs #3383 elexis 2015-12-02 16:00:20 +00:00
  • d1f0cbe01d Renames to g_MapSizes, g_UserRating and g_SpamMonitor. Refs #3383 #3440 elexis 2015-12-02 14:54:08 +00:00
  • 02c065e2c9 Removes the unused "gone" presence state from the lobby. Refs #3383. elexis 2015-12-02 14:41:32 +00:00
  • eeaffa05ee Correct sorting for ratings in the lobby and use fat-arrow functions. Fixes #3662. elexis 2015-12-02 14:29:27 +00:00
  • a1e57aaeaf Replay menu cleanups. Fixes #3440. elexis 2015-12-02 13:53:44 +00:00
  • 0553a74884 Remove wrong semicolons. Refs #3424 elexis 2015-12-02 03:24:04 +00:00
  • cd635f9615 cleanup of df6d30a910 mimo 2015-12-01 21:03:24 +00:00
  • df6d30a910 fix affordable gui of gates mimo 2015-12-01 19:41:52 +00:00
  • 0a8fc4bb08 improve pathFinder by optimizing the DistanceToSquare computation, refs #3588 mimo 2015-12-01 19:01:41 +00:00
  • b657eb05e2 Remove the unused and broken function GetBaseSpeed. Fixes #3672. elexis 2015-12-01 13:17:34 +00:00
  • 60f82e54dd Make the warning message on software renderers a bit more informative. fabio 2015-12-01 09:42:49 +00:00
  • 418318ea88 Properly read preferglsl in user config files. fabio 2015-12-01 09:00:12 +00:00
  • bef7682bbe Fixes a bug in the mauryan warchariot walk-animation. They were walking instead of standing on the chariot when it moves. elexis 2015-11-30 22:09:00 +00:00
  • 45723b1293 Don't break the translation of the playerdefaults. Refs #3355 elexis 2015-11-30 20:51:20 +00:00
  • 6fd700d95d restore min range distance of defense towers, and make it removable with murder_hole tech, fixes #3559 mimo 2015-11-30 20:49:57 +00:00
  • 2008f3e3a9 Plural translation since that is needed for some languages. leper 2015-11-30 20:47:42 +00:00
  • 66bd932374 gives repair a lower priority compared to capture, fixes #3443 mimo 2015-11-30 20:26:10 +00:00
  • 6f09803e8c TerrainTextureManager file loading rewrite. Fixes #3358. leper 2015-11-30 20:12:12 +00:00
  • af202ae963 Clean up software renderers detection. fabio 2015-11-30 16:12:12 +00:00
  • fa9c8e061b Enable GLSL by default on OpenGL 3+. fabio 2015-11-30 10:51:02 +00:00
  • f8f8a1eb6a Increases the gatherer limit for some special resources. Fixes #3583. elexis 2015-11-30 04:20:30 +00:00
  • 324179e2b9 Show icon for the female inspiration aura. Fixes #3384 elexis 2015-11-30 03:58:19 +00:00
  • d7e444b862 Loot resources that killed enemies carried. Fixes #2732 elexis 2015-11-30 03:41:18 +00:00
  • 56716577e0 Changes the type "notification" of some GuiInterface-notifications to "chat" as the former isn't defined. elexis 2015-11-30 02:06:58 +00:00
  • 700859b2c3 Move the playerdefaults to the settings directory. Refs #3355 elexis 2015-11-30 01:33:59 +00:00
  • 61e5e92b14 Update/revamp my template analyzer tool. wraitii 2015-11-29 19:19:20 +00:00
  • ff30dc2ba4 Forgot to add the JSON file. Refs #3477. elexis 2015-11-29 16:53:32 +00:00
  • 296f3b2614 Adds a new cheat as an abbreviation for most other cheats. Also cleans the code. elexis 2015-11-29 16:47:04 +00:00
  • 28bea05e06 Show units that can train other units (trainer units) in the structure tree. Patch by s0600204. Fixes #3213 . wraitii 2015-11-29 16:18:21 +00:00
  • c9f40be84e improve indentation of 34b0c6d779 mimo 2015-11-29 16:13:13 +00:00
  • 34b0c6d779 add a NOT when checking classes matching, fixes #3611 mimo 2015-11-29 15:59:52 +00:00
  • 814cdd9524 Tie tangent generation with preferGLSL setting for convenience since that setting was not really useful. Fixes #2506 . Patch by fabio. wraitii 2015-11-29 15:44:22 +00:00
  • 51793dde28 Fix an oversight when constructing walls that changed issued commands and would result in false positives when running with -serializationtest. Refs #3637 wraitii 2015-11-29 15:25:51 +00:00
  • bb7c4aa86a Code cleanup. Refs #3420. elexis 2015-11-29 15:11:30 +00:00
  • 9f75b78a84 fix nearGatherPosition, fixes #3658 mimo 2015-11-29 14:43:28 +00:00