1
0
forked from mirrors/0ad

Commit Graph

  • 74b600d661 modify also capture points in the civ specific techs affecting structure health, fixes #3333 mimo 2015-07-13 12:46:26 +00:00
  • c946ebbf7c prevent structures without territory influence to decay in allied territory mimo 2015-07-12 18:46:44 +00:00
  • 04982b0bf5 Fix compiler warning Itms 2015-07-12 16:49:26 +00:00
  • f74215e96c rounding needed for houses with popBonus%5 != 0, fixes #3328 mimo 2015-07-12 15:23:34 +00:00
  • 0f10e21ab1 Keep ownership when changing formation. Fixes #3154, fix proposed by sanderd17. Itms 2015-07-12 08:48:31 +00:00
  • edf6e909b2 ...aaaaand I forgot this guy. Itms 2015-07-12 08:11:30 +00:00
  • 0d32afd688 Improve the style of GUI string text call functions. Itms 2015-07-12 08:09:55 +00:00
  • 0682190def Don't postpone rendering of icons when they are at the end of a GUI string. Itms 2015-07-12 07:38:04 +00:00
  • 9161cd7e24 petra: rework of the management of captured/decaying structures mimo 2015-07-11 17:00:21 +00:00
  • 0c45e3b5d0 Correctly compute the masks for shared visibility updates. The old code was working only because of luck when shared vision was always reciprocal. Itms 2015-07-11 16:45:09 +00:00
  • c4389abceb let petra use wooden towers in village phase mimo 2015-07-09 20:46:09 +00:00
  • 1b88eaf1cd Do not reset victory conditions when changing map selection. The behavior is now coherent with everything else (players, etc.) when selecting random maps. Itms 2015-07-09 16:52:12 +00:00
  • b3fa75529b All work and no play... refs #3253 Itms 2015-07-08 19:17:32 +00:00
  • cf21c34e3f Give players and bots their actual name during the game, for better experience. Itms 2015-07-08 19:03:14 +00:00
  • 542061dbed Handle gaps in the teams list in the summary screen, plus code cleanup. Itms 2015-07-08 17:01:34 +00:00
  • 4a0bb47a62 AI: various cleanings and fixes mimo 2015-07-07 17:32:35 +00:00
  • aa78c1be66 Make the connectivity grid generation algorithm of the hierarchical pathfinder a bit less stupid. Itms 2015-07-05 20:32:52 +00:00
  • 11c9471ad6 Change back the long pathfinder to take into account non-pathfinding classes, but only when reloading, to avoid impacting the performance. Itms 2015-07-05 19:14:52 +00:00
  • 0e4e3754e9 Update the passability grid properly when changing the map shape or the water height. Also include a fix for a possible bad memory access. Itms 2015-07-04 21:25:57 +00:00
  • 7ca2084e89 Fix #3072 JoshuaJB 2015-07-04 18:00:51 +00:00
  • b7a1b9fbd4 fixes some wonder templates mimo 2015-07-04 16:46:20 +00:00
  • 32252ea00c fix persian conscription_cavalry which needs persian levy_cavalry mimo 2015-07-03 17:01:19 +00:00
  • 512f69379b Fix the male variation of non-Roman healers. Fixes #3318 Itms 2015-07-02 16:59:16 +00:00
  • 3018359576 Improve a little bit Atlas performance when modifying terrain elevation. Itms 2015-07-01 19:13:56 +00:00
  • e500de4dc6 AI: clean up mimo 2015-06-30 19:10:57 +00:00
  • 30e5f032d8 Adapt Atlas to the new pathfinder. Fixes #3298 Itms 2015-06-29 19:59:41 +00:00
  • 6a9019564e AI: clean up some obsolete code mimo 2015-06-28 19:08:00 +00:00
  • 7b298cccdb Increase bench size to meet minimum obstruction size. Fixes #3316. leper 2015-06-28 19:05:22 +00:00
  • dc29884f6e Fix a shader glitch I left in when removing conditional defines. Fixes #3119 . wraitii 2015-06-28 13:16:05 +00:00
  • e0838c5326 Update the pathfinder docs. Itms 2015-06-27 15:16:21 +00:00
  • 3efa4be02c AI completes the removal of the JS pathfinder and fixes naval transport mimo 2015-06-27 13:30:44 +00:00
  • 575d708fca Correct the outpost tooltip for capturing. Itms 2015-06-25 20:14:45 +00:00
  • 0b8597fd2d Petra: improve performance of initialization in naval maps mimo 2015-06-25 18:19:12 +00:00
  • e1a34eb4ea Handle (de)serialization of the AI pathfinder. Itms 2015-06-24 20:24:58 +00:00
  • 0b7343dccc Preserve the dirtiness informations of the passability grid at deserialization for proper AI updates. Itms 2015-06-24 20:15:06 +00:00
  • ae0c051e83 Petra: remove some huge spikes when profiling mimo 2015-06-24 18:42:09 +00:00
  • 152d39d8a6 Fix save/load games, and use the new code to enhance the tests. Itms 2015-06-23 20:39:11 +00:00
  • 4f331c1359 cleanup of previous commits mimo 2015-06-22 20:04:11 +00:00
  • 7ac4b53cb8 AI: start switch from the internal JS pathFinder to the c++ one, thanks to Itms implementation. Still wip mimo 2015-06-22 17:19:24 +00:00
  • d045bb87d6 fix the market placement following new pathFinder changes mimo 2015-06-22 16:49:49 +00:00
  • fae2caed1a adapt AIs to changes in e6d1afe48b mimo 2015-06-22 16:47:42 +00:00
  • e6d1afe48b Add a terrain passability class for water. Fixes #3308 Itms 2015-06-22 15:30:23 +00:00
  • 1793a96c14 Actually remove the unused expression. leper 2015-06-21 20:44:31 +00:00
  • 495aa7bec5 Expose TemplateExists() to RM scripts. leper 2015-06-21 20:22:34 +00:00
  • c5814ef76c Fixes tests adding system components without using the SYSTEM_ENTITY id - this caused assertion failures in debug builds historic_bruno 2015-06-21 19:22:12 +00:00
  • ae4dfe294d Actually state the file instead of the directory in some error messages. leper 2015-06-21 18:46:33 +00:00
  • 5a0b9b0e70 Fix some issues found by static analysis (clang-analyzer and cppcheck). leper 2015-06-21 18:46:31 +00:00
  • caa8f51c2e Annotate custom assert for clang-analyzer. leper 2015-06-21 18:46:23 +00:00
  • 30d96af5a2 a bit of cleanup in petra naval code mimo 2015-06-20 20:49:31 +00:00
  • 92832b1dc7 Petra fixes for naval maps mimo 2015-06-19 21:09:41 +00:00
  • bbafed7fbf Lobby code cleanup. leper 2015-06-19 17:25:28 +00:00
  • cc4af6d2d4 Allies only share vision when researching a tech. Based on patch by niektb. Fixes #2055 sanderd17 2015-06-19 09:24:55 +00:00
  • 1830c6346b Revert most of 989f164500, and add a comment to prevent people from making the same mistake. Itms 2015-06-18 19:54:30 +00:00
  • eeee79e7f3 AI fix for building placement + some cleanings mimo 2015-06-18 19:19:24 +00:00
  • c6ca83949c Prevent players from rejoining that were not present on game start. Patch by elexis. Fixes #3305. leper 2015-06-18 18:20:54 +00:00
  • 9701a85554 Fix a possible problem with grid updates. Refs #3296. Itms 2015-06-18 16:31:38 +00:00
  • e7707f0f0c Fix issue with OOS in replays. Patch by elexis sanderd17 2015-06-18 15:29:03 +00:00
  • 008fb80855 AI: remove code from old pathFinder mimo 2015-06-17 21:03:49 +00:00
  • 989f164500 Make the terrain analysis slightly more efficient for pathfinding passability classes, and fix a mistake introduced in 1709353e2c. Itms 2015-06-17 20:48:41 +00:00
  • 155c6e6ccd Properly initialize the AI pathfinder, and clean whitespace. Itms 2015-06-17 20:35:23 +00:00
  • 1c29b21b69 adapt the AI to 1709353e2c, fixes #3295 mimo 2015-06-17 20:30:57 +00:00
  • 1709353e2c Changes the general behavior of non-pathfinding passability classes, in order to make the handling of foundation obstructions less difficult. This will allow the AI to be fixed, as reported in #3295. Itms 2015-06-17 20:19:53 +00:00
  • 4b8f0c9fb9 Change ResourceTrickle schema to match all other resource schemas. Patch by s0600204. Fixes #3303. leper 2015-06-17 15:26:06 +00:00
  • b8fce56821 Implement sortable columns for the gui, and use them in the lobby. Patch by Vladislav. Fixes #2405. sanderd17 2015-06-17 09:10:50 +00:00
  • 2ff4c60859 Adjusts some capturing parameters. scythetwirler 2015-06-16 19:41:08 +00:00
  • a568b42bf9 Code cleanup. leper 2015-06-16 14:35:16 +00:00
  • c8a5708654 Fix tests. Itms 2015-06-15 19:48:42 +00:00
  • fcf7344537 Nerfs fire rate of garrisoned ships. scythetwirler 2015-06-15 16:39:42 +00:00
  • fdb99a5c8c Buffs melee cavalry HP. scythetwirler 2015-06-15 16:36:26 +00:00
  • dc97eeb5e5 Re-enables promotions. scythetwirler 2015-06-15 16:31:26 +00:00
  • 8380b67f94 Move GUI schemas to the mod mod. Fix some validation related errors in the mod mod. leper 2015-06-15 16:00:26 +00:00
  • 7887734ef0 Add attack notifications for capture attacks. Patch by Vladislav. Fixes #3257. leper 2015-06-15 01:16:51 +00:00
  • 68ea5f37f4 Remove unused ctors. Fixes compilation with GCC 4.6. leper 2015-06-14 23:50:38 +00:00
  • 4af117434d Fixes clang unused parameter warning historic_bruno 2015-06-14 23:45:15 +00:00
  • 25a7d79d1e FIXE ERROR: CCmpPosition::GetPosition called on entity when IsInWorld is false, when you save a map with garrisoned units, thx to daniel for report trompetin17 2015-06-14 22:17:39 +00:00
  • 0a67de37bc Fixes clang warning about unknown warning group -Wunused-but-set-variable historic_bruno 2015-06-14 21:07:42 +00:00
  • 47b4530245 Replaces usage of readlink -f in update-workspaces.sh with a perl one-liner, for compatibility with BSD and OS X, fixes #916 historic_bruno 2015-06-14 20:43:12 +00:00
  • 2128cfbcb8 Updates readme.txt with new visual replay option, refs #9 historic_bruno 2015-06-14 19:59:19 +00:00
  • 473b282265 Refactor the grid update code. Should give a significant performance boost to the simulation update. Itms 2015-06-14 19:22:07 +00:00
  • 0e7f0f861b Fixes A19 map converter script to be compatible with Python 2 (uses struct instead of to_bytes and from_bytes) historic_bruno 2015-06-14 17:53:12 +00:00
  • d676b047a0 Move ~LongPathfinder after the declaration of LongOverlay. Itms 2015-06-13 21:02:01 +00:00
  • c3546cbf51 Fixes Polybolos template inconsistencies. historic_bruno 2015-06-13 19:01:59 +00:00
  • 6b9b863747 Increases fortress build time and cost and nerfs attack and armour of crush-dealing Mauryan champion swordsmen. scythetwirler 2015-06-13 16:50:01 +00:00
  • d52a71ae31 Nerfs ranged units, though to a lesser extent for skirmishers/javelinists. scythetwirler 2015-06-13 16:48:37 +00:00
  • a9ac2edce5 Decrases phasing time and costs. scythetwirler 2015-06-13 16:46:29 +00:00
  • e5419cf19b Decreases HP of peacocks and both HP and crush armour of female citizens. scythetwirler 2015-06-13 16:44:47 +00:00
  • 2a657a7eb7 Fix changing ownership to -1 sanderd17 2015-06-13 13:02:10 +00:00
  • 204dcf201c Improve ownership changes by only giving the cp of the old owner to the new owner. sanderd17 2015-06-13 09:53:15 +00:00
  • 30efa73a38 FIX error: comparison between pointer and integer ('IReplayLogger *' and 'int') introduced in [16727] over osx trompetin17 2015-06-13 02:42:21 +00:00
  • 534b8076e4 Petra: check if the location of a new foundation is under enemy fire (only implemented for some structures for the time being) mimo 2015-06-12 20:30:25 +00:00
  • 6581796103 New long-range pathfinder. Itms 2015-06-12 18:58:24 +00:00
  • aa1512a662 code cleaning in petra mimo 2015-06-11 20:11:08 +00:00
  • 1442b7e913 Petra: fix some capture cases not handled by 61f3d80ab0 mimo 2015-06-11 19:20:52 +00:00
  • fd3d697edf Make it easier to add different backgrounds sanderd17 2015-06-11 09:08:46 +00:00
  • 61f3d80ab0 Petra: the AI now destroy captured buildings it can't keep mimo 2015-06-10 18:16:03 +00:00
  • 12d4209eed fix typo mimo 2015-06-10 16:41:34 +00:00
  • 1395b441e0 Clean up advanced and elite templates by defining the modifications as technologies. This will not alter gameplay for now, as the advanced and elite units are disabled in game. Fixes #2620 sanderd17 2015-06-10 14:41:00 +00:00
  • 1811323f95 Petra: small fixes in trade and attack mimo 2015-06-09 19:06:59 +00:00
  • 752aac16ee Fix Seleucid actor file to be valid under the actor RNG sanderd17 2015-06-09 15:24:46 +00:00
  • 950d361c15 Fix the material Relax NG files. sanderd17 2015-06-09 15:15:19 +00:00