afa769f873
fixes #2690 in Petra AI
...
This was SVN commit r15574.
2014-07-27 20:45:40 +00:00
fe8e19ebfe
Bunch of petra bug fixes: fixes #2685 , #2686 and makes 074cf06803
really working
...
This was SVN commit r15570.
2014-07-27 15:25:26 +00:00
30f7837c44
Should be workaround for issue #2684
...
This was SVN commit r15566.
2014-07-26 17:12:45 +00:00
9cd75067bc
Workaround for issue #2486
...
This was SVN commit r15565.
2014-07-26 17:09:49 +00:00
5c3f1b6dba
fix previous commit
...
This was SVN commit r15560.
2014-07-25 21:24:05 +00:00
074cf06803
Petra: deals more efficiently with naval transport
...
This was SVN commit r15559.
2014-07-25 18:16:33 +00:00
7c82e59ce5
Replace or remove uses of Engine.Console_Write. Patch by Adrian Fatol. Fixes #2141 .
...
Cleans up list utility functions a bit.
Removes Engine.Console_Write.
This was SVN commit r15556.
2014-07-24 21:27:24 +00:00
4278e93b97
Petra: improve AI behaviour in scenarios without building possibility
...
This was SVN commit r15555.
2014-07-24 21:26:53 +00:00
f8cbef8379
fix previous commit
...
This was SVN commit r15554.
2014-07-24 21:05:16 +00:00
c5929ca7d5
make tooltip agree with buildrestrictions
...
This was SVN commit r15553.
2014-07-24 20:59:25 +00:00
a574ca2e8f
Petra: improve use of garrisoning for defense + some cleanings
...
This was SVN commit r15552.
2014-07-23 17:57:32 +00:00
2eb12c13ec
give war ships at dock for carthage, for better balance of naval maps
...
This was SVN commit r15551.
2014-07-23 17:18:22 +00:00
a5ebd8dafd
Load trigger scripts in serialization test mode.
...
This was SVN commit r15549.
2014-07-22 23:30:27 +00:00
bfe1e9f182
fix #2603
...
This was SVN commit r15548.
2014-07-22 21:23:25 +00:00
b41289807a
fix a rare JS warning
...
This was SVN commit r15546.
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.
...
This was SVN commit r15545.
2014-07-22 16:18:37 +00:00
9d505f2fd1
fixes petra javascript warnings
...
This was SVN commit r15543.
2014-07-21 16:19:59 +00:00
3782857333
Petra: small fixes + reformat debug outputs
...
This was SVN commit r15540.
2014-07-19 16:17:09 +00:00
1d35d22a7b
let the AI know when a building is decaying
...
This was SVN commit r15539.
2014-07-17 19:56:54 +00:00
98281689f2
Petra: fix a rare bug where the AI would never attack + some attack tunings
...
This was SVN commit r15537.
2014-07-17 17:04:13 +00:00
de9ae66326
Petra: improve support for wonder games
...
This was SVN commit r15535.
2014-07-15 19:07:11 +00:00
17634d7507
Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested).
...
This was SVN commit r15533.
2014-07-14 17:15:22 +00:00
882f3406e3
Syncs _test.sim required simulation data with public mod, copies RelaxNG schemas for future use
...
This was SVN commit r15528.
2014-07-13 21:29:30 +00:00
7b15b526ac
Fixes tests.
...
Changes direct access of EndGameManager.gameType to getter function, by
convention
This was SVN commit r15525.
2014-07-13 19:45:44 +00:00
83d37f7857
Re-allow placing skirmish entities in Atlas. Refs #1696
...
This was SVN commit r15521.
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.
...
This was SVN commit r15520.
2014-07-12 21:38:10 +00:00
eebc2f07bb
Move some trees to accessible locations. Issue found by willsmith182.
...
This was SVN commit r15519.
2014-07-12 20:08:43 +00:00
42591ef4cb
Fix previous commit, refs #1257
...
This was SVN commit r15512.
2014-07-11 18:29:18 +00:00
f5cc99f78b
Fix OOS problems caused by an unwanted modification of the simulation state by the GUI.
...
Refs #1257
This was SVN commit r15511.
2014-07-11 18:11:32 +00:00
a4e3422a22
Fix the hero flickering overlay after healing. Fixes #2666 . Patch by Adrian
...
This was SVN commit r15510.
2014-07-11 17:48:01 +00:00
9d335f2e22
Fix typos found by FalseVision
...
This was SVN commit r15507.
2014-07-10 19:17:45 +00:00
255ab52725
fix previous commit
...
This was SVN commit r15506.
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
...
This was SVN commit r15505.
2014-07-09 21:41:14 +00:00
77e9e58a32
Petra: fixes + changes on the attack management
...
This was SVN commit r15503.
2014-07-08 19:01:27 +00:00
7e81f4f52a
Update the "number of builders" tooltip to be slightly more helpful.
...
This was SVN commit r15502.
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
...
This was SVN commit r15501.
2014-07-08 18:23:53 +00:00
56bcbd59a0
Fix allied garrison issue.
...
This was SVN commit r15500.
2014-07-07 09:28:34 +00:00
27c700ce3a
Petra: various small tunings or fixes
...
This was SVN commit r15499.
2014-07-06 17:31:02 +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.
...
This was SVN commit r15497.
2014-07-06 15:22:44 +00:00
334ba4b740
SpiderMonkey now supports default parameters!
...
I've just modified those places with TODO comments, but there are most
likely others that could benefit of the feature to make the code a bit
cleaner and easier to understand.
Thanks to Fabio for pointing it out.
Refs #1886
This was SVN commit r15496.
2014-07-05 13:58:51 +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.
...
This was SVN commit r15492.
2014-07-05 10:20:30 +00:00
aa99f98fce
Fix rmgen for my changes, I had missed that, thanks mimo.
...
This was SVN commit r15491.
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
...
This was SVN commit r15490.
2014-07-04 16:12:09 +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).
...
Improve debugging slightly in case of framebuffer errors. Fix a few
style issues.
This was SVN commit r15486.
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.
...
Please report any issue and/or crash. Those will get fixed in commits to
come. Refs #48 .
This was SVN commit r15484.
2014-07-03 20:07:15 +00:00
404e808ed5
Add yes-no dialog and general dialog code to present choices to players. Can be used by triggers.
...
This was SVN commit r15480.
2014-07-02 14:48:22 +00:00
c844589f48
Add missing translate() call.
...
This was SVN commit r15479.
2014-07-01 21:05:33 +00:00
a5065b523d
Petra: refrain AI to build/repair under enemy fire and few fixes on economy management
...
This was SVN commit r15478.
2014-07-01 19:48:38 +00:00
89c6487ffe
Forgot to remove my fake radiosity changes.
...
This was SVN commit r15476.
2014-07-01 16:53:13 +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.
...
Change the shader itself so that the effects look nicer and are more
consistent across settings.
Rework the water mesh generation (simpler system). Fix a few issues.
May work oddly with Atlas since I haven't been able to compile yet.
Refs #1875 (maybe fix), Fixes #2077 (I'll assume it does), Fixes #2114
(assumption again), refs #48 .
This was SVN commit r15473.
2014-07-01 16:05:05 +00:00