0df90c5c2b
ai common api : use maps for entitycollection lists + cleanings
...
This was SVN commit r16019.
2014-12-03 20:22:13 +00:00
4931652263
Non-fighting ships should not be agressive by default
...
This was SVN commit r16017.
2014-12-01 20:58:46 +00:00
5403c19cf0
petra: internal functions are now serialized
...
This was SVN commit r16016.
2014-11-30 19:05:39 +00:00
c0092aaca5
petra: some cleanings + (small) timing optimizations
...
This was SVN commit r16012.
2014-11-29 18:53:17 +00:00
049312e5a2
various small tunings for petra
...
This was SVN commit r16011.
2014-11-26 22:01:40 +00:00
89cc0fd0e1
Add support to escape dots (.) by using double dots (..) for aura keys. Fixes #2945 (I think)
...
This was SVN commit r16010.
2014-11-26 19:59:08 +00:00
1430efa9d6
Properly handle auto-research promotion techs at game start.
...
This was SVN commit r16009.
2014-11-25 22:47:02 +00:00
7102f86de3
petra: avoid updating some no-more-used entitycollections
...
This was SVN commit r16008.
2014-11-25 19:00:17 +00:00
347ffabaeb
Change the way we filter out selected entities when we draw a selection box. Add a hotkey to allow selecting only idle units.
...
Patch by Rolf Sievers, fixes #2407 .
This was SVN commit r16007.
2014-11-24 16:46:05 +00:00
882c1383e1
Add wall style for Seleucids in the random map scripts. Currently, Hellenic walls are used. Fixes a bug in the Fortress random map.
...
Patch by FeXoR.
Fixes #2942 , refs #2619 .
This was SVN commit r16006.
2014-11-24 16:19:17 +00:00
04343a8407
Fix a comment written too quickly
...
This was SVN commit r16005.
2014-11-23 21:47:15 +00:00
a7cc670a2d
petra: stop (after some time) to try gathering inaccessible resources (i.e. chicken inside buildings in random maps) + some cleanings
...
This was SVN commit r16004.
2014-11-23 14:48:26 +00:00
5f9c908abb
Allow techs to modify the resources that can be dropped of at dropsite. Patch by niektb. Fixes #2629 .
...
This was SVN commit r16003.
2014-11-22 23:21:11 +00:00
87d5d37488
Some source string fixes.
...
This was SVN commit r16002.
2014-11-22 22:21:54 +00:00
d1cdf8f952
display victory conditions when selecting a map, fixes #2727
...
This was SVN commit r16000.
2014-11-21 18:30:17 +00:00
0cc9cfd40c
fix a JS error in petra
...
This was SVN commit r15999.
2014-11-21 17:46:07 +00:00
2734982657
Escape a character.
...
This was SVN commit r15998.
2014-11-20 22:19:35 +00:00
f90841cf78
add a very-easy level for AI, addresses #2899
...
This was SVN commit r15990.
2014-11-18 21:21:21 +00:00
da1af993f7
petra: better AI recovery after its economy is badly damaged + some fixes
...
This was SVN commit r15989.
2014-11-18 19:56:23 +00:00
afecbf02f3
Extend the config parser to support ini-style config files. Refs #1810 .
...
Config settings in a section are stored as "sectionname.setting"
internally.
Do not write section headers when writing config files as we would need
to write
settings without a dot first or ignore them. This can be changed once
all settings
belong to a section.
This was SVN commit r15986.
2014-11-18 03:57:07 +00:00
3e4c701ab6
ensure that there are no dupes in buildable list
...
This was SVN commit r15983.
2014-11-17 23:07:57 +00:00
334f391446
Oxford comma.
...
(We seem to use it elsewhere in the UI, so be consistent.)
This was SVN commit r15979.
2014-11-16 23:44:40 +00:00
cbc49f43e6
The show full games filter in the lobby should be off by default.
...
This was SVN commit r15978.
2014-11-16 22:40:00 +00:00
947abde749
Flip the buttons in the leave game confirmation dialog to the no/yes order to match other dialogs.
...
Per the Apple Human Interface Guidelines the confirmation button should
be on the right. We do that for all(?) other dialogs, but not this one.
This was SVN commit r15977.
2014-11-16 22:21:57 +00:00
caed74df23
Fix line endings.
...
This was SVN commit r15976.
2014-11-16 22:21:06 +00:00
1b91421e5e
Escape special character.
...
This was SVN commit r15975.
2014-11-16 22:06:18 +00:00
30b7a34112
Rename Arcadia 2 to Arcadia, because there doesn't seem to be an Arcadia 1 any more.
...
This was SVN commit r15974.
2014-11-16 22:03:47 +00:00
f88ee2766e
use by default a random seed for the AI to make it less repetitive
...
This was SVN commit r15973.
2014-11-16 19:53:29 +00:00
94e6e29a34
Properly escape a character and remove a stray tag.
...
This was SVN commit r15972.
2014-11-16 18:00:02 +00:00
ccb5366e40
fixes #2935
...
This was SVN commit r15971.
2014-11-16 10:09:20 +00:00
df4c07238d
Change GUI tag parsing to use a FSM instead of using CParser. Refs #2589 .
...
Parameters now have to be quoted with ".
Supports " in parameters by escaping them with \.
Tag start characters can be included in normal text by escaping them
with \.
Better error handling and a error messages to help with fixing
invalid/malformed strings.
This was SVN commit r15969.
2014-11-16 02:10:28 +00:00
d15e2f0cf6
Check for availability of XmppClient.
...
Move Lobby script function registration to the lobby JS interface.
This was SVN commit r15968.
2014-11-16 02:10:24 +00:00
8a290b3204
Fix mirages not flushed properly, introduced in 9ad2fc9fac
.
...
This was SVN commit r15963.
2014-11-13 21:04:40 +00:00
1a0f9b086e
GUI cleanup.
...
Remove toTitleCase(). Unify iColorToString() and rgbToGuiColor().
Translate XMPP errors (displayed when connecting).
This was SVN commit r15960.
2014-11-13 01:26:36 +00:00
6e788fb15e
Clean up JSON parsing code. Refs #1374 .
...
Fix Engine.ReadJSONFile() which did throw a JS exception that was not
caught. Discovered by s0600204.
Expose Engine.ReadJSONFile() to the gui scripts.
This was SVN commit r15959.
2014-11-13 01:26:22 +00:00
e1c77bb487
Fix tests.
...
This was SVN commit r15958.
2014-11-12 19:51:28 +00:00
6556aa8c1e
fix petra serialization
...
This was SVN commit r15957.
2014-11-12 18:44:43 +00:00
9ad2fc9fac
Slightly improve fogging performance by avoiding the constant deletion/re-creation of mirages.
...
This makes the simulation update faster per entity but also makes the
number of entities greater at a given moment. The performance gain is
positive.
This was SVN commit r15956.
2014-11-12 15:56:45 +00:00
7130997df9
still more fixes on ai serialization + some cleanings
...
This was SVN commit r15954.
2014-11-11 22:08:28 +00:00
b596f7a893
additional fixes for petra serialization
...
This was SVN commit r15953.
2014-11-11 19:02:35 +00:00
13a71f6ae4
some fixes and cleaning in petra saved game support
...
This was SVN commit r15952.
2014-11-11 11:07:57 +00:00
6bab40c139
some bugfixes on ai serialization
...
This was SVN commit r15951.
2014-11-10 20:22:10 +00:00
e4774066e2
complete the support of saved games by Petra. It is playable now, but still needs cleaning and bug fixes.
...
This was SVN commit r15950.
2014-11-10 18:35:52 +00:00
c236e8a877
further steps towards saved games support, but still wip
...
This was SVN commit r15948.
2014-11-10 09:03:03 +00:00
e1f354024a
Persian temple upgrade
...
This was SVN commit r15945.
2014-11-09 11:30:50 +00:00
9040f8a3d3
Persian stables upgrade
...
This was SVN commit r15941.
2014-11-08 23:51:33 +00:00
edd9622050
wip petra support of saved games, still incomplete
...
This was SVN commit r15940.
2014-11-08 19:23:29 +00:00
b5c8646cea
Fix actors not retained in FoW after d07d1a17f3
.
...
Refs #2913 .
This was SVN commit r15939.
2014-11-08 18:14:45 +00:00
db2f570ef6
Added several missing files of previous commit
...
This was SVN commit r15938.
2014-11-08 13:21:10 +00:00
e3e829c4b1
Upgraded persian fortress variation B.
...
Upgraded all cypress variations.
Added six tropical shrubs.
This was SVN commit r15937.
2014-11-08 13:07:45 +00:00
2db1f14015
Cart_fortress recentered.
...
This was SVN commit r15935.
2014-11-07 11:27:59 +00:00
259fcdd8ed
Roman vesta temple and triumphal arch AO maps.
...
Added missing actor for persian barracks
This was SVN commit r15934.
2014-11-07 10:56:41 +00:00
a4b209bf2c
Set text align for options to left, increase the size for labels for boolean options. Fixes #2918 .
...
This was SVN commit r15933.
2014-11-07 01:24:13 +00:00
cbc151cb1e
Persian barracks upgrade.
...
This was SVN commit r15931.
2014-11-07 00:29:31 +00:00
8200182399
Persian fortress variation upgrade. Second variation upgrade soon.
...
This was SVN commit r15930.
2014-11-06 11:29:14 +00:00
6ae21e1ce7
some ai cleaning
...
This was SVN commit r15929.
2014-11-05 21:03:25 +00:00
7dad37c78f
Some cleanup. Fix a comment.
...
This was SVN commit r15928.
2014-11-05 00:22:14 +00:00
518d2d0c2a
Translation fixes.
...
This was SVN commit r15927.
2014-11-05 00:22:11 +00:00
d07d1a17f3
Add a new Visibility component that will eventually allow scripted components and mods to influence an entity's visibility.
...
This first commit only refactors code and does not add any new feature.
Refs #2913 (see this ticket for more information about the change)
This was SVN commit r15925.
2014-11-04 20:53:25 +00:00
0855c1169b
Upgraded persian Civic centre. Added new shrubs. New pers_cc variation in process
...
This was SVN commit r15924.
2014-11-04 11:45:20 +00:00
2cfab37485
Persian market variations upgrade. Added ao/normal/spec and made the stalls conform to the terrain.
...
This was SVN commit r15923.
2014-11-02 21:58:57 +00:00
6e30381acd
petra: push priority of first market and remove some unnecessary ===
...
This was SVN commit r15922.
2014-11-02 20:45:57 +00:00
f9d7335e12
simplify the way petra deals with worker
...
This was SVN commit r15921.
2014-11-02 20:27:13 +00:00
7cdbd7a6fd
Fixed ao map for the roman short wall segment
...
This was SVN commit r15920.
2014-11-02 17:00:29 +00:00
221d93da91
Upgraded persian buildings:
...
blacksmith, dock, farmstead, defense tower, wonder
This was SVN commit r15919.
2014-11-01 11:36:01 +00:00
69c1e4fc52
prevent petra to build siege towers as it does not know how to use them
...
This was SVN commit r15918.
2014-10-31 17:22:44 +00:00
772024a10c
fix a JS error
...
This was SVN commit r15917.
2014-10-30 20:16:59 +00:00
5491faffba
New unit mesh variations and heads with some example animations and units xmls
...
This was SVN commit r15915.
2014-10-29 22:48:48 +00:00
2b841f56ae
petra: cleaning of the code for dock placement
...
This was SVN commit r15911.
2014-10-27 19:53:06 +00:00
e2536ae4bc
Internationalizes in-game menu text, based on patch by Jaison, fixes #2540 .
...
Fixes inconsistent use of "Settings" to refer to game options dialog
This was SVN commit r15906.
2014-10-27 01:32:11 +00:00
e3e86e2a29
Fixes init of post processing effects, so they can be cleanly enabled/disabled at runtime. Fixes #2890 , refs #2672 , #2893 .
...
Updates descriptions on options screen and fixes comment in default.cfg
(smoothlos does not require preferglsl)
This was SVN commit r15905.
2014-10-27 00:53:31 +00:00
466942fc29
fix the choice of target in attacks + start changes in dock placement + some cleanings
...
This was SVN commit r15903.
2014-10-26 13:10:20 +00:00
b4997dc7c6
Fixes minimap GLES compatibility by making point size a uniform and passing into the shaders
...
This was SVN commit r15901.
2014-10-26 04:37:26 +00:00
21b83734f9
Fixes shader type error with some compilers
...
This was SVN commit r15900.
2014-10-26 01:44:58 +00:00
23cabedec8
Translate map size of lobby games on the client.
...
This was SVN commit r15895.
2014-10-26 00:28:38 +00:00
ae10d34d99
Switch i18n scripts to use Pology. Fixes #2539 .
...
Still requires a patch to Pology to keep the source file ordering.
This was SVN commit r15894.
2014-10-26 00:28:35 +00:00
cf3e42f6fb
Make map description end with a full stop.
...
This was SVN commit r15893.
2014-10-26 00:28:26 +00:00
c524542477
Make map description end with a full stop.
...
This was SVN commit r15892.
2014-10-21 20:03:06 +00:00
b2f9dc305c
check that selected units still exist when rebuilding the selection
...
This was SVN commit r15891.
2014-10-21 16:26:27 +00:00
2a7c3a95f9
improve gui performance, refs #2179 comment 28
...
This was SVN commit r15889.
2014-10-18 16:37:53 +00:00
620399270d
various small petra tunings
...
This was SVN commit r15880.
2014-10-17 17:15:06 +00:00
a29e233fdf
Remove another leftover "Counter" string, see also d3351a645f
.
...
Patch by thamlett, fixes #2830
This was SVN commit r15879.
2014-10-17 14:19:32 +00:00
ba5685eff3
cleaning of the Petra configuration
...
This was SVN commit r15877.
2014-10-15 20:52:23 +00:00
f7a64d4abc
Prevents gaul defense_tower_a from showing a unit when not garrisoned. Fixes #2876
...
This was SVN commit r15876.
2014-10-15 19:08:15 +00:00
a63328d859
Upgraded persian struct texture missing in previous commit.
...
This was SVN commit r15875.
2014-10-15 16:20:59 +00:00
c1575e8f48
Upgraded persian houses and palace with normal and AO.
...
Upgraded persian textures (diffuse normal and spec) WIP
This was SVN commit r15872.
2014-10-15 13:59:55 +00:00
78896154fe
Change a scope for a bunch of variables in the Attack component. This simple change allows modders to modify the whole attack schema.
...
Patch by Radagast, fixes #2671
This was SVN commit r15868.
2014-10-14 20:44:17 +00:00
d3351a645f
Remove some "Counters/Countered by" tooltips as the hard counters system has been disabled.
...
Patch by thamlett, fixes #2830
This was SVN commit r15867.
2014-10-14 20:37:15 +00:00
8ce7c818f5
internationalization of ai chat messages
...
This was SVN commit r15866.
2014-10-14 19:43:19 +00:00
1f8cd485d4
fix translation of ai chat messages (allowing for parameters)
...
This was SVN commit r15865.
2014-10-14 18:58:41 +00:00
bb02dcd0e9
Fix broken tests.
...
This was SVN commit r15864.
2014-10-14 01:25:32 +00:00
7090334756
fix previous commit
...
This was SVN commit r15863.
2014-10-13 19:55:12 +00:00
20a9c9ab62
prevent the AI from using disabled templates
...
This was SVN commit r15862.
2014-10-13 19:52:03 +00:00
4ef63e8673
Change tooltips with incorrect garrison count. Patch by thamlett. Fixes #2748 .
...
This was SVN commit r15860.
2014-10-12 23:15:28 +00:00
affdd9f548
Petra now send (if enough resources) tributes to allies in difficulty
...
This was SVN commit r15859.
2014-10-12 22:12:15 +00:00
443158869c
let the AIs know when a tribute is sent
...
This was SVN commit r15858.
2014-10-12 22:00:19 +00:00
ec8e240e81
redesign of the trading for Petra, should me more efficient and supports naval trading
...
This was SVN commit r15856.
2014-10-12 20:21:47 +00:00
5d9029a1d9
stop trying to build when not enough resources, fixes #2835
...
This was SVN commit r15855.
2014-10-12 20:09:03 +00:00
7fd407ca1f
update correctly the tradeRoute set on market foundations
...
This was SVN commit r15854.
2014-10-12 19:56:24 +00:00
3df4799dea
enable test on tech for AI
...
This was SVN commit r15853.
2014-10-12 19:55:15 +00:00