1
0
forked from mirrors/0ad

Commit Graph

  • 9451cf38f7 Fixes Esc key opening options dialog in match setup, introduced by a964e83c79 historic_bruno 2015-08-30 21:31:03 +00:00
  • 8a8a3b8377 Revert a wrong piece of code from 63e42fbd31. Refs #3293 Itms 2015-08-30 20:32:22 +00:00
  • 1a15131d2d Lobby bot optimizations. scythetwirler 2015-08-30 17:50:16 +00:00
  • 63e42fbd31 Display which player(s) are OOS when it happens. Also fix some encoding issues with file paths. Itms 2015-08-30 17:47:18 +00:00
  • f47cb2c711 Fix the OOS reported by elexis in #3335, and clean some whitespace and style. Itms 2015-08-30 17:42:10 +00:00
  • 45a39e7dfd Fix 3171 by moving some logic to C++. These changes do not optimize the presence buffer and only fix the state bug. JoshuaJB 2015-08-30 12:56:48 +00:00
  • 2aef62d65f Handle backrefs properly for maps and sets. Fixes #3374. leper 2015-08-30 04:51:16 +00:00
  • acf7b7aefb Some gamesetup and in-game messages code convention related cleanup. Based on patch by elexis. leper 2015-08-30 03:34:07 +00:00
  • 870237cce4 Do not create range queries in case we aren't at war with anyone. Fixes #3382. leper 2015-08-30 02:49:49 +00:00
  • 8befb23db3 In-game chat code cleanup. Based on patches by elexis. leper 2015-08-30 02:21:17 +00:00
  • 57f340f906 Fix player rejoins. Refs #3242. leper 2015-08-30 02:03:50 +00:00
  • c9893b3dd0 Test serialization of nested maps. Refs #3164, #3374. leper 2015-08-30 00:06:39 +00:00
  • 90a99a1589 Prevent observers from using most chat commands. Refs #2879. leper 2015-08-29 23:30:41 +00:00
  • a67b3b8942 UnitAI cleanup. Setup*RangeQuery. Refs #3080. leper 2015-08-29 22:49:52 +00:00
  • 8217fa1a0e Warn about range queries that can never return any results. leper 2015-08-29 22:49:49 +00:00
  • 6f0850f6bc Improve UnitAI's FindNearby* functions. leper 2015-08-29 22:49:46 +00:00
  • 31113cb8c3 UnitAI cleanup. leper 2015-08-29 22:49:44 +00:00
  • 5a7b4e380a Rename some occurences of *Man to cmp*Manager. leper 2015-08-29 22:49:42 +00:00
  • 2b1c128b66 Change the attack hotkey to Ctrl. leper 2015-08-29 22:49:38 +00:00
  • 39343a8c84 Fix test failure. leper 2015-08-29 22:49:32 +00:00
  • e56dddbefb Optionally allow observers to rejoin a game when they weren't here during the game setup. Itms 2015-08-28 20:20:10 +00:00
  • 8e70140ec2 Handle properly static shapes that overlap the edge of the map (likely to happen with square maps). Itms 2015-08-28 11:38:14 +00:00
  • d31ebaa47a add a new Repairable component defining a ratio of repairTime/buildTime for repairable entities. Fixes #633 mimo 2015-08-27 20:31:10 +00:00
  • 34555ad70c Enhance i18n extractor to support a single context for a json file. Patch by elexis. Refs #3355. leper 2015-08-27 19:07:36 +00:00
  • d129ae3cd8 Fix a special situation where map control percentage wasn't computed properly. Itms 2015-08-27 16:26:32 +00:00
  • e3208c8784 fix rallyPoint on foundation, (it worked only by chance because all structures are repairable) mimo 2015-08-25 15:39:11 +00:00
  • b9ab8f5855 Explicitly include public's mod.json in Windows packages. leper 2015-08-25 12:55:05 +00:00
  • 217a478ac7 Improved materials for wooden towers (spec maps, AO maps, parallax). Patch and AO map by stanislas69, fixes #3352. Itms 2015-08-24 07:09:05 +00:00
  • 8923768bff Fix spelling of "Feminization" in the summary screen and in associated code. Itms 2015-08-23 18:00:17 +00:00
  • 47bca54228 Fixes the computation of team values for some of the summary counters, and reorder columns. Refs #3311 Itms 2015-08-23 17:57:51 +00:00
  • a63b7a0126 Add ability to query the map control percentage, and use this value in the summary screen. Patch by s0600204, fixes #3321 Itms 2015-08-23 17:44:37 +00:00
  • b694ab41d9 Show the number of trade carts and looted resources in the summary screen. Patch by bb, fixes #3311 Itms 2015-08-22 17:57:41 +00:00
  • 74c420f658 GUI code cleanup. Fixes #3354. leper 2015-08-21 17:08:41 +00:00
  • d821601978 Revert changes when clicking "Cancel" in the options page. Itms 2015-08-21 07:54:21 +00:00
  • c7edc09f51 Revert 7cc2d65ec7. Itms 2015-08-21 07:29:08 +00:00
  • a63e9c521d Optionally limit the framerate in menus to 50 FPS, to save power. Patch by elexis, fixes #2882 Itms 2015-08-20 13:22:44 +00:00
  • ba82743777 Some range-based for loops. Itms 2015-08-20 12:58:41 +00:00
  • b2e8a241d2 Properly check loaded scripts in the second simulation instance of a serialization test. Fixes #3238 Itms 2015-08-20 12:52:29 +00:00
  • 1ab3a4a02d Fix 6506bc20cb, refs #3238 Itms 2015-08-20 12:49:43 +00:00
  • 558d43bac5 Replace some functor structs with lambdas, closures or range-based fors. leper 2015-08-19 03:33:04 +00:00
  • 36c6b50944 Revert emplace for associative containers. Fixes #3366. leper 2015-08-19 03:32:47 +00:00
  • 674f49f1a8 Remove generated test files during clean-workspaces.sh. Patch by otero. Fixes #3275. leper 2015-08-19 01:30:09 +00:00
  • bd8f9b7824 Fix enemy corpses visible in the fog of war. Fixes #3179. Itms 2015-08-16 09:29:34 +00:00
  • 1c9ea56800 Fix the CheckLineMovement algorithm. Added some comments and a test to avoid problems. Itms 2015-08-13 16:21:39 +00:00
  • 01de76f4be Code improvements for the hierarchical pathfinder: cache hits and variable initialization. Itms 2015-08-11 15:21:11 +00:00
  • 28ef270571 Enhance the MakeGoalReachable algorithm to handle better non-point goals. Itms 2015-08-11 09:47:08 +00:00
  • f7a7b687fc Don't send TerrainChanged messages when painting the terrain, as terrain texture doesn't influence passability. Itms 2015-08-10 11:55:43 +00:00
  • e263c8f1de Remove EnableSSE2 for Windows builds. Fixes #3361. leper 2015-08-03 19:57:42 +00:00
  • c333ae3fc2 Escape [ char in a gui caption. leper 2015-08-02 23:10:08 +00:00
  • 3c8fe51712 complete b3f7b8633a for (un)packing mimo 2015-08-02 17:24:04 +00:00
  • ec96c737ee Actually use vpObj instead of obj, and use it in all cases. Refs #3354. leper 2015-08-02 14:40:51 +00:00
  • b3f7b8633a fix incoherent UnitAI state when changing ownership of a cheering or garrisoned unit mimo 2015-08-02 09:39:08 +00:00
  • 591771a0be make siege tower able to capture, fixes #3356 mimo 2015-08-02 09:32:47 +00:00
  • 94302a4149 Move engine version to common file. Patch by elexis. Fixes #3359. leper 2015-08-01 23:03:13 +00:00
  • 701f1dbb51 Fix sudden main-menu background jumps. Patch by s0600204. Fixes #3312. leper 2015-08-01 23:02:57 +00:00
  • 2a6eac3bd4 Petra: fix order of event processing in defenseManager mimo 2015-07-31 16:55:38 +00:00
  • 217a500d60 Add missing license headers. Fixes #3357. leper 2015-07-31 11:28:14 +00:00
  • 1a8096a920 Reliably send the ReplayFinished message at the very end of visual replays. Patch by elexis. Itms 2015-07-30 21:55:34 +00:00
  • a4e606c575 TerrainTextureManager cleanup. leper 2015-07-30 21:51:01 +00:00
  • c5aad60776 Actually stop iterating if retval != INFO::OK. Also fix comments. leper 2015-07-30 21:50:58 +00:00
  • 15a4c813d6 Add support for AArch64 (ARM64). Patch by tbm. Fixes #3345. leper 2015-07-30 19:52:55 +00:00
  • 0868d03e74 Fix previous commit. leper 2015-07-30 17:27:27 +00:00
  • 2238a18aee Close and free replay streams. Based on patch by elexis. leper 2015-07-30 16:43:22 +00:00
  • 4f91b16d0f Allow pausing during visual replays. Patch by elexis. Refs #3341. leper 2015-07-30 15:55:19 +00:00
  • 47336b770f Add clipping to OList cells. Patch by elexis. Fixes #3353. leper 2015-07-30 01:33:48 +00:00
  • 8bfe16cac8 Use in-place construction. leper 2015-07-29 23:44:17 +00:00
  • c5eb9b7bb7 Range-based for for VfsPath loops. leper 2015-07-29 23:44:12 +00:00
  • 540cf75794 L10n code cleanup. leper 2015-07-29 23:44:05 +00:00
  • 356b08ec5d update heroes and their auras for capture, fixes #3331 mimo 2015-07-29 17:54:08 +00:00
  • f2f3076bd7 minor cleanup mimo 2015-07-29 17:50:04 +00:00
  • 7b81f9a866 add garrison flag for wooden tower, patch from stanislas69, fixes #3059 mimo 2015-07-29 17:15:40 +00:00
  • a07add11c6 Some range-based for loops and some style cleanup. leper 2015-07-29 01:07:23 +00:00
  • b4d517c261 Fix infinite loop in key code to key name mapping. leper 2015-07-29 01:07:18 +00:00
  • 2cae918059 Same as previous commit, but nicer. Refs #3329 Itms 2015-07-27 20:39:46 +00:00
  • c81f243b58 Use the mirage data to determine the best attack in case of capture attack. Fixes #3329 Itms 2015-07-27 19:54:40 +00:00
  • 851e863892 Remove animation name compatibility mapping. leper 2015-07-27 01:08:29 +00:00
  • be36bec6df Replace a translation string by an equivalent that is already used thrice. leper 2015-07-27 01:08:27 +00:00
  • da48c8c26f Some const refs and one const function. leper 2015-07-27 01:08:25 +00:00
  • bd53e9d736 Remove unused ah_translate code. leper 2015-07-27 01:08:15 +00:00
  • 2a655d1363 cleanup of 4054e5cb04 mimo 2015-07-26 14:54:52 +00:00
  • 27de859f9b Petra: minor tweaks in farming mimo 2015-07-26 14:49:01 +00:00
  • 4054e5cb04 make a wooden tower template for each civ, refs #3059 mimo 2015-07-26 14:43:21 +00:00
  • edd03ad557 disable the delete button when less than 50% cp, fixes #3300, patch by bb mimo 2015-07-22 17:06:06 +00:00
  • eb47670cd1 Some string fixes reported by translators. leper 2015-07-21 21:19:41 +00:00
  • a61c7560eb petra: minor attack tweaks mimo 2015-07-21 19:30:54 +00:00
  • b0a5087dda Prevent observers from pausing the game. Patch by Stefan. Fixes #3341. leper 2015-07-19 23:03:03 +00:00
  • f240374b28 Fix a number of short/long range pathfinder inconsistencies revealed by 128a603287. Itms 2015-07-18 12:33:40 +00:00
  • 1e79b3a8af Update templates to reflect the recent obstruction changes for units. Itms 2015-07-18 12:30:26 +00:00
  • 128a603287 Use the terrain-only grid for terrain edges in the short pathfinder algorithm. This grid is updated on each terrain change, whereas the passability grid is updated once a turn. This caused OOS on rejoin, fixes #3292. Itms 2015-07-18 08:37:49 +00:00
  • 35071dd44b allow changing the trading gain with tech + rework of market techs, fixes #3326 mimo 2015-07-17 19:27:15 +00:00
  • a0d21e8d9e do not fill changedTemplateInfo when no AIs to prevent OOS, refs #3133 mimo 2015-07-17 17:45:15 +00:00
  • b471975332 improve consistency between decay and regen rates for buildings, fixes #3332 mimo 2015-07-16 18:29:53 +00:00
  • 76d5374e77 Some string changes based on translators' feedback. Itms 2015-07-16 17:07:55 +00:00
  • f9440a964a minor petra tweaks mimo 2015-07-15 17:29:06 +00:00
  • 8fc4ecaa6b Fix previous commit, stupid typo... Itms 2015-07-15 16:57:23 +00:00
  • b58f8ab969 Serialize the activation flag of the scripted Visibility component. Itms 2015-07-15 16:55:05 +00:00
  • 39d93ea17c Change the handling of modified entities in the visibility update. Itms 2015-07-15 16:46:59 +00:00
  • 9f1b85d562 Remove a useless global terrain update when modifying environment settings in Atlas. Itms 2015-07-14 17:08:02 +00:00
  • b0386d7fab Fix gamesetup for observer games. Thanks to elexis wraitii 2015-07-14 11:26:14 +00:00
  • d08279ceb6 some fixes for petra mimo 2015-07-13 13:05:14 +00:00