1
0
forked from mirrors/0ad

Commit Graph

  • 07653c9a70 Fixes crash when generating random maps. Yves 2014-07-27 18:17:16 +00:00
  • cef9e7d4f0 Fixes crash in replay mode introduced in 28bdd8540f. Yves 2014-07-27 17:28:36 +00:00
  • fe8e19ebfe Bunch of petra bug fixes: fixes #2685, #2686 and makes 074cf06803 really working mimo 2014-07-27 15:25:26 +00:00
  • 64efbfeae3 Fixes small memory leak introduced in 28bdd8540f. Yves 2014-07-26 23:09:24 +00:00
  • 28bdd8540f Quite a lot of stack rooting related changes. Yves 2014-07-26 22:33:16 +00:00
  • e818b08344 Better support for SpiderMonkey rooted types in the ScriptInterface. Yves 2014-07-26 20:31:29 +00:00
  • 30f7837c44 Should be workaround for issue #2684 sanderd17 2014-07-26 17:12:45 +00:00
  • 9cd75067bc Workaround for issue #2486 sanderd17 2014-07-26 17:09:49 +00:00
  • ea708e14bf Some changes on the VisibilityUpdate message system, aimed at correcting recent OOS problems. Itms 2014-07-26 16:02:18 +00:00
  • e3888448c4 Removes rooting test. Yves 2014-07-26 14:07:56 +00:00
  • f41d4fa48e Fixes compartment mismatch introduced in a5ebd8dafd. Yves 2014-07-26 10:58:24 +00:00
  • 5c3f1b6dba fix previous commit mimo 2014-07-25 21:24:05 +00:00
  • 074cf06803 Petra: deals more efficiently with naval transport mimo 2014-07-25 18:16:33 +00:00
  • 05de9def0b Remove unused --with-system-enet option (see 6bec648833) from premake. leper 2014-07-25 13:50:59 +00:00
  • f017922910 Update system icons to the newer logo and add higher resolution images to the ico/icns sets. (the OS X icon might need to be checked as I had to use an online converter to get that.) JoshuaJB 2014-07-24 23:12:46 +00:00
  • 7c82e59ce5 Replace or remove uses of Engine.Console_Write. Patch by Adrian Fatol. Fixes #2141. leper 2014-07-24 21:27:24 +00:00
  • 4278e93b97 Petra: improve AI behaviour in scenarios without building possibility mimo 2014-07-24 21:26:53 +00:00
  • f8cbef8379 fix previous commit mimo 2014-07-24 21:05:16 +00:00
  • c5929ca7d5 make tooltip agree with buildrestrictions mimo 2014-07-24 20:59:25 +00:00
  • a574ca2e8f Petra: improve use of garrisoning for defense + some cleanings mimo 2014-07-23 17:57:32 +00:00
  • 2eb12c13ec give war ships at dock for carthage, for better balance of naval maps mimo 2014-07-23 17:18:22 +00:00
  • 600e0a4081 Fix an oversight in CcmpPosition from the turret changes. Reported on IRC by Falsevision. wraitii 2014-07-23 13:02:42 +00:00
  • a5ebd8dafd Load trigger scripts in serialization test mode. leper 2014-07-22 23:30:27 +00:00
  • bfe1e9f182 fix #2603 mimo 2014-07-22 21:23:25 +00:00
  • a7b18d02bf Add serialization test support for replays. leper 2014-07-22 19:41:49 +00:00
  • b41289807a fix a rare JS warning mimo 2014-07-22 18:20:47 +00:00
  • 68121f387c Don't cache (and serialise) all technology templates multiple times. It's still cached once in the TechnologyTemplateManager. sanderd17 2014-07-22 16:18:37 +00:00
  • 9d505f2fd1 fixes petra javascript warnings mimo 2014-07-21 16:19:59 +00:00
  • a9048fa43d Adds support for passing JS::HandleValue to SetProperty and CallFunctionVoid without using ugly casing. Yves 2014-07-20 19:45:18 +00:00
  • 31f9ca9ebf Implements CallFunction with JS::MutableHandle<T> return type. Yves 2014-07-20 15:08:28 +00:00
  • 3782857333 Petra: small fixes + reformat debug outputs mimo 2014-07-19 16:17:09 +00:00
  • 1d35d22a7b let the AI know when a building is decaying mimo 2014-07-17 19:56:54 +00:00
  • e1d4c10f13 Recompute the number of LoS tiles whenever these tiles are reset (especially when loading serialized data). Itms 2014-07-17 19:08:06 +00:00
  • 98281689f2 Petra: fix a rare bug where the AI would never attack + some attack tunings mimo 2014-07-17 17:04:13 +00:00
  • de9ae66326 Petra: improve support for wonder games mimo 2014-07-15 19:07:11 +00:00
  • 52f4cda439 Changes ToJSVal to take JS::MutableHandleValue instead of JS::Value&. Yves 2014-07-14 19:52:35 +00:00
  • 17634d7507 Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested). JoshuaJB 2014-07-14 17:15:22 +00:00
  • 47426b2dad Per scythetwirler's suggestion, add some tables on my template analyzer script to compare units to their parent template. wraitii 2014-07-14 16:25:39 +00:00
  • 09e04cb741 Adds missing request (fixes tests in debug mode). Yves 2014-07-13 22:08:29 +00:00
  • 882f3406e3 Syncs _test.sim required simulation data with public mod, copies RelaxNG schemas for future use historic_bruno 2014-07-13 21:29:30 +00:00
  • a47dda7d66 Disables MSVC CRT deprecation warnings when building Atlas w/ wxWidgets 3.0 historic_bruno 2014-07-13 21:19:30 +00:00
  • a82d32bd3c Fixes MSVC warning C4189: 'componentManager' : local variable is initialized but not referenced (Script_RegisterComponentType_Common is a static member function, so an instance of CComponentManager isn't needed) historic_bruno 2014-07-13 20:38:34 +00:00
  • 7b15b526ac Fixes tests. historic_bruno 2014-07-13 19:45:44 +00:00
  • 1b5ab8142e Makes custom JS objects compatible with SpiderMonkey ESR31. Yves 2014-07-13 15:31:48 +00:00
  • f4949c82ff Fix how the template analyzer scripts takes walkspeed into account to some extent for ranged units, add a new script to create a RM to check balance using triggers, and add a readme file to try and explain the outputs and parameters better. wraitii 2014-07-13 14:22:32 +00:00
  • 0cf5f57a68 Update of the template analyzer tool with more parameters and probably a more accurate representation of civs (with the right settings). wraitii 2014-07-13 10:20:35 +00:00
  • 83d37f7857 Re-allow placing skirmish entities in Atlas. Refs #1696 sanderd17 2014-07-13 09:35:00 +00:00
  • 7531a417e5 Fix re-garrisoning on visible garrison points after killing the units on that spot. Issue found by Stan. sanderd17 2014-07-12 21:38:10 +00:00
  • eebc2f07bb Move some trees to accessible locations. Issue found by willsmith182. sanderd17 2014-07-12 20:08:43 +00:00
  • 5a3f07b3d9 Forgot to use excnObj in db9c20e0a9. Also roots an additional jsval. Yves 2014-07-12 19:46:12 +00:00
  • db9c20e0a9 Changes FromJSVal to take a JS::HandleValue instead of JS::Value. Yves 2014-07-12 19:08:39 +00:00
  • cfa59fc4e1 Changes our JSNative functions to use JS::CallReceiver/JS::CallArgs. Yves 2014-07-12 16:55:09 +00:00
  • 7a1b92bffc Update my "Template Analyzer" script to have output about civ too. Try to guess if they are balanced against each other. wraitii 2014-07-12 16:08:35 +00:00
  • 319cf16b5a Small cleanup, including a correction in the templates documentation, and the removal of residues from the culling changes. Itms 2014-07-12 16:03:37 +00:00
  • 5279f9625e Add a new tool to make some quick template analysis to try and detect imbalances or see if our balancing works. WIP. wraitii 2014-07-11 22:24:58 +00:00
  • 42591ef4cb Fix previous commit, refs #1257 Itms 2014-07-11 18:29:18 +00:00
  • f5cc99f78b Fix OOS problems caused by an unwanted modification of the simulation state by the GUI. Itms 2014-07-11 18:11:32 +00:00
  • a4e3422a22 Fix the hero flickering overlay after healing. Fixes #2666. Patch by Adrian sanderd17 2014-07-11 17:48:01 +00:00
  • 2174eaaeee Add a VisibilityChanged message sent by the range manager whenever an entity changes visibility for any player. Itms 2014-07-10 20:51:39 +00:00
  • 9d335f2e22 Fix typos found by FalseVision sanderd17 2014-07-10 19:17:45 +00:00
  • 255ab52725 fix previous commit mimo 2014-07-10 06:30:08 +00:00
  • e2d893103b make the AI aware of the game type and start interfacing with wonder victory condition + some fixes mimo 2014-07-09 21:41:14 +00:00
  • 689272d4bd Remove collision in global namespace. leper 2014-07-09 19:16:03 +00:00
  • 77e9e58a32 Petra: fixes + changes on the attack management mimo 2014-07-08 19:01:27 +00:00
  • 7e81f4f52a Update the "number of builders" tooltip to be slightly more helpful. wraitii 2014-07-08 18:48:08 +00:00
  • 3ba325f9e8 Remove the HQDOF since it did not really work properly and we already have DOF. Fixes #2111 wraitii 2014-07-08 18:23:53 +00:00
  • 56bcbd59a0 Fix allied garrison issue. sanderd17 2014-07-07 09:28:34 +00:00
  • 27c700ce3a Petra: various small tunings or fixes mimo 2014-07-06 17:31:02 +00:00
  • 8b45f453e5 Fix non-PCH build. leper 2014-07-06 16:35:41 +00:00
  • 62c1ac310d It would appear like I inadvertently committed a version of the water with some debug information in that made it look black. wraitii 2014-07-06 15:22:44 +00:00
  • 334ba4b740 SpiderMonkey now supports default parameters! Yves 2014-07-05 13:58:51 +00:00
  • 8b493c2739 Revert obsolete workaround for structured clones. Yves 2014-07-05 11:35:00 +00:00
  • de6823d23f Makes tinygettext handle missing plural forms more sanely. Yves 2014-07-05 10:29:24 +00:00
  • 5571f7a7f9 Fix "Wind Angle" parameter not working properly. Add a precomputed "wind strength" variable so that waves look smaller behind islands. Some tweaks. Refs #48 as usual. wraitii 2014-07-05 10:20:30 +00:00
  • aa99f98fce Fix rmgen for my changes, I had missed that, thanks mimo. wraitii 2014-07-04 18:24:39 +00:00
  • 4852fad86a Petra: adapt the AI to gaia now able to launch attacks (with triggers) + cleaning of unused functions mimo 2014-07-04 16:12:09 +00:00
  • 9d4665248b Check water FBOs creation correctly to detect some errors. Use two depth textures since I have a hunch the issues people encounter are caused by my using only one. wraitii 2014-07-04 10:14:35 +00:00
  • 991d5bbd63 Fix random maps for my water changes. Fix the replay mode after I had broken it. Fix an occasional crash (that might have crashed Atlas, need someone to check). wraitii 2014-07-04 09:03:21 +00:00
  • 326290463e Further WIP water improvements. Add 3 different textures for different looks. Update some oasis maps for that. Streamline water settings (some removed, some added). Update Atlas for those (needs to be tested). Fix an issue with HQ water effects. wraitii 2014-07-03 20:07:15 +00:00
  • eb7955599a Optimise silhouette rendering. Ykkrosh 2014-07-03 01:00:25 +00:00
  • ffd6e10edf Make CGUIManager register a callback function for hotloading instead of specifically calling it. leper 2014-07-02 23:44:39 +00:00
  • 30e851ab90 Forward-declare CShaderProgramPtr, to avoid pulling in more headers than necessary and to hypothetically reduce build times by a minuscule amount. Ykkrosh 2014-07-02 22:36:45 +00:00
  • 404e808ed5 Add yes-no dialog and general dialog code to present choices to players. Can be used by triggers. sanderd17 2014-07-02 14:48:22 +00:00
  • c844589f48 Add missing translate() call. JoshuaJB 2014-07-01 21:05:33 +00:00
  • a5065b523d Petra: refrain AI to build/repair under enemy fire and few fixes on economy management mimo 2014-07-01 19:48:38 +00:00
  • 343066040f Remove inconsistent checks for pSimulation2 when saving maps and ensure that it is set. leper 2014-07-01 19:00:41 +00:00
  • 89c6487ffe Forgot to remove my fake radiosity changes. wraitii 2014-07-01 16:53:13 +00:00
  • f8d53d9a1d Clean up of the last commit. wraitii 2014-07-01 16:15:03 +00:00
  • ab30e0d4fb Change the water texture to a new, bigger one, created in Blender (thanks to Enrique). Change settings so that they are more logical, yet allow reverting back to an even lower quality setting. Add a WIP high setting (with foam) which isn't finished yet. wraitii 2014-07-01 16:05:05 +00:00
  • 0bde61fa5b Simplify 'survival of the fittest' map by using Gaia as attacker, and using the trigger point ownership to differentiate between different players, instead of hardcoding a list. sanderd17 2014-07-01 09:29:45 +00:00
  • fa5b373698 Add some missing semicolons. leper 2014-06-30 21:38:45 +00:00
  • 66485bcd17 Check that at least one assignment exists before tryintg to copy it. JoshuaJB 2014-06-30 17:21:12 +00:00
  • 00fa45161d Added "Survival of the Fittest", a demo random map with triggers. Refs #52 Spahbod 2014-06-30 13:59:34 +00:00
  • c339928c6f Disallow placing some special entities in Atlas. Fixes #1696. Patch by trompetin17 sanderd17 2014-06-30 10:20:20 +00:00
  • b4fc393f18 Change camera rotation in Atlas to be the same as in the game. Refs #1066. leper 2014-06-29 21:30:51 +00:00
  • fd91398a95 Petra: fix the fix preventing the AI to be stuck trying to produce unavailable units mimo 2014-06-29 19:16:18 +00:00
  • 6ed07ef4d9 Petra: hopefully improve the gatherers management + some cleanings mimo 2014-06-28 20:02:18 +00:00
  • 97118f39b3 remove predefined AI in some skirmish maps, so that the default is taken mimo 2014-06-28 19:46:10 +00:00
  • d90020e88e This was SVN commit r15462. LordGood 2014-06-28 11:01:59 +00:00
  • c626cf66f9 Fix build-osx-libs properly for mavericks after learning some Bash. wraitii 2014-06-28 08:54:59 +00:00