Yves
96c806841d
Fixes the packaging script for some changes related to l10n and SpiderMonkey
...
This was SVN commit r15148.
2014-05-12 01:36:32 +00:00
Ykkrosh
3ecbb7667b
Restrict set of translations included in releases
...
This was SVN commit r15147.
2014-05-11 17:43:36 +00:00
sanderd17
0a880413fe
Fix the out-of-world error we saw in the team game yesterday
...
This was SVN commit r15145.
2014-05-11 09:36:12 +00:00
JoshuaJB
d70abd548a
Move yellow modern buttons to their own style to correct naming issues (eg. ModernButtonRed was yellow). New name is ModernButtonYellow. Also switched the default button color back to red due to complaints by team members on IRC.
...
This was SVN commit r15144.
2014-05-11 03:25:34 +00:00
Mythos_Ruler
056d740e7f
Fixes #2542
...
This was SVN commit r15143.
2014-05-10 23:40:53 +00:00
mimo
fb2cda5aba
prevent weird behaviour when the ship in which we want to garrison is selected with the units to garrison
...
This was SVN commit r15142.
2014-05-10 22:21:24 +00:00
Mythos_Ruler
b2ec4e0e2a
Portrait for Roman bireme.
...
Modern button from red to yellow.
This was SVN commit r15141.
2014-05-10 21:33:46 +00:00
Mythos_Ruler
f287a7da12
Elephants can transport aboard Medium and Heavy warships.
...
This was SVN commit r15140.
2014-05-10 16:15:26 +00:00
sanderd17
da8843127c
Fix displaying wrong text when no tooltip was defined, as reported by Kanetaka. Also cleans up the code to make it shorter.
...
This was SVN commit r15139.
2014-05-10 13:37:38 +00:00
sanderd17
f15160412a
Enlarge the ideographic ranges in the word boundaries, fixes Japanese rendering a bit
...
This was SVN commit r15138.
2014-05-09 12:13:42 +00:00
Mythos_Ruler
e79ad6b30b
Switch Military Colonies to use the mercenary camp actor.
...
Update a few tech names (shouldn't affect translations).
This was SVN commit r15137.
2014-05-09 00:18:23 +00:00
mimo
a5708873db
set the right civ for mace dock
...
This was SVN commit r15136.
2014-05-08 23:15:01 +00:00
sanderd17
2c1917176a
Use untranslated playerState.civ, if the civName 'Gaia' happened to be translated, this resulted in an undefined texture, which was the case in Chinese, and reported by Gameboy.
...
This was SVN commit r15135.
2014-05-08 14:07:48 +00:00
sanderd17
8cec641156
Replace strictness test by a different one, as the old test wasn't considered non-strict anymore.
...
This was SVN commit r15134.
2014-05-08 13:26:21 +00:00
sanderd17
955e6e788a
Fix counting foundations as concuestCritical.
...
This was SVN commit r15133.
2014-05-08 11:27:09 +00:00
mimo
8e39a2297d
fix delete selection broken (again) in bb65358dac. Code is changed to prevent this to happen again
...
This was SVN commit r15131.
2014-05-08 08:21:20 +00:00
scythetwirler
a620cf8e17
Fixes an issue with unassigned players being functionally ready but not having the green marker
...
This was SVN commit r15130.
2014-05-08 04:47:57 +00:00
JoshuaJB
bb65358dac
After discussion with scythetwirler with input from Philip and Mythos, popup dialogs (like for delete, resign, and exit) should have no on the right as we want the user to click no in most of those cases. It's the 'recommended' action. In the case of save/cancel or continue/back, save and continue should always be on the right as that's the 'recommended' action. With some review, this placement seems consistant across operating systems.
...
This was SVN commit r15129.
2014-05-08 03:43:03 +00:00
historic_bruno
c37a8cafc3
Fixes a few building warnings and convention issues from 19ca1e3ebf
...
This was SVN commit r15128.
2014-05-07 23:33:21 +00:00
sanderd17
db0376fdc2
Temporarily disable the Spidermonkey warnings for release
...
This was SVN commit r15127.
2014-05-07 19:42:12 +00:00
Gallaecio
83b6175358
Added a script to check translations for URLs that are not in the original strings.
...
This was SVN commit r15126.
2014-05-07 19:02:17 +00:00
sanderd17
cbeb40a14b
Fix foundations changing entity limits. Fixes #2536
...
This was SVN commit r15123.
2014-05-07 08:24:31 +00:00
sanderd17
19ca1e3ebf
Fix locale verification to also allow ICU locales without data, but still don't allow bogus locales. Patch by Yves. Fixes #2533 .
...
This was SVN commit r15122.
2014-05-07 08:14:57 +00:00
mimo
c5b184744c
stop failed attack in aegis, see #2486
...
This was SVN commit r15121.
2014-05-07 07:03:21 +00:00
JoshuaJB
27382a7d78
Swap OK and Cancel positions on the AI config GUI page. (Also cleanup the XML a bit)
...
This was SVN commit r15120.
2014-05-06 19:02:34 +00:00
sanderd17
9fadc2709c
Clean up the gate transformation tooltips as it caused problems for mods.
...
This was SVN commit r15119.
2014-05-06 18:52:05 +00:00
Mythos_Ruler
34a9b8c260
New song by Omri to the Celtic civs.
...
This was SVN commit r15118.
2014-05-06 12:28:25 +00:00
OmriLahav
93cfdce090
This was SVN commit r15116.
2014-05-06 08:19:45 +00:00
mimo
f181a89c34
fixes wrong test
...
This was SVN commit r15115.
2014-05-05 19:22:54 +00:00
sanderd17
3a008ba532
Mask lobby password so it doesn't appear in any logs
...
This was SVN commit r15113.
2014-05-05 15:41:17 +00:00
historic_bruno
bb43a71460
Updates checkrefs.pl to support skirmish maps
...
This was SVN commit r15112.
2014-05-05 01:09:53 +00:00
mimo
48bb533895
temporarily disable trader formation, see #2528
...
This was SVN commit r15111.
2014-05-04 21:38:31 +00:00
sanderd17
06685a3f9b
Fix small issue
...
This was SVN commit r15110.
2014-05-04 20:22:31 +00:00
historic_bruno
44b40a85bb
Fixes some broken actor references
...
This was SVN commit r15109.
2014-05-04 08:08:48 +00:00
historic_bruno
ba5e6d9168
Removes duplicate FleeDistance property from template_unit_fauna_decorative (found by checkrefs.pl)
...
This was SVN commit r15108.
2014-05-04 05:52:51 +00:00
historic_bruno
d2ecbecf32
Fixes tex_codec typo that broke BMP writing and big screenshots, fixes #2515
...
This was SVN commit r15107.
2014-05-04 05:49:31 +00:00
scythetwirler
9b136a45fc
Fixes a couple dialog buttons
...
This was SVN commit r15106.
2014-05-04 02:44:14 +00:00
sanderd17
2eb2845c29
Extra check on the existance of a replacement, be more forgiving in the skirmish replacer.
...
This was SVN commit r15104.
2014-05-03 17:53:37 +00:00
sanderd17
dd13e01ac6
Extra check on existance of template, to be more forgiving if some template in the productionqueue doesn't exist.
...
This was SVN commit r15103.
2014-05-03 17:29:22 +00:00
Enrique
e70eccf0ca
Added Stan's contributor ptol_corral details in Lordgood's model
...
Added Stan's Cleopatra texture
This was SVN commit r15102.
2014-05-03 13:05:34 +00:00
sanderd17
575cdd7979
A spearman isn't ranged
...
This was SVN commit r15101.
2014-05-03 13:04:08 +00:00
sanderd17
b09925b27e
switch the game setup confirmation buttons and move the welcome screen buttons
...
This was SVN commit r15100.
2014-05-03 09:21:05 +00:00
sanderd17
542bc1b273
Further fix switched buttons
...
This was SVN commit r15099.
2014-05-03 09:07:31 +00:00
Yves
c1d5f6882c
Also switch the button name to disable the correct one.
...
4e0a588456 only switched the label and the action.
This was SVN commit r15098.
2014-05-03 08:59:31 +00:00
sanderd17
12ec51783d
Fix in-game manual display
...
This was SVN commit r15097.
2014-05-03 08:53:06 +00:00
sanderd17
4e0a588456
Switch more buttons, see 911be4e860
...
This was SVN commit r15096.
2014-05-03 08:45:19 +00:00
scythetwirler
f066549523
Makes the other players default to unassigned instead of Default AI in a sandbox map.
...
This was SVN commit r15095.
2014-05-03 04:00:14 +00:00
Yves
122dae799b
Don't allow returning an invalid locale from the advanced language menu.
...
This was SVN commit r15094.
2014-05-02 21:14:28 +00:00
sanderd17
99486ed7ab
Add camera to the second player, somehow avoids strange errors.
...
This was SVN commit r15093.
2014-05-02 20:08:48 +00:00
mimo
b8e9bae75e
fixes Petra trying to keep going with a canceled attack
...
This was SVN commit r15092.
2014-05-02 11:03:24 +00:00
sanderd17
15f56cd984
Fix armour and attack display of heroes
...
This was SVN commit r15091.
2014-05-02 10:32:21 +00:00
sanderd17
ace3269768
Fix problem with sprintf errors being thrown when the AI places structures on the wrong places, make the code more uniform. Fixes #2485
...
This was SVN commit r15090.
2014-05-02 10:09:53 +00:00
sanderd17
a36a0bbd87
Improve my previous fix by throwing error objects instead of strings
...
This was SVN commit r15089.
2014-05-02 07:34:05 +00:00
sanderd17
aaf92409c9
Fix sprintf error reporting by printing the stack trace, and not trying to translate the calls
...
This was SVN commit r15088.
2014-05-02 07:27:44 +00:00
mimo
5658bb391b
fix delete selection no more working after #15074
...
This was SVN commit r15087.
2014-05-01 21:06:43 +00:00
Yves
210374d86d
Fixes Aegis not training additional units when no starting units are around.
...
Patch by Teiresias.
Fixes #2460
This was SVN commit r15086.
2014-05-01 13:13:38 +00:00
sanderd17
b9af0ac0e4
Enlarge various elements of the lobby login page to fit other languages.
...
This was SVN commit r15085.
2014-05-01 12:59:50 +00:00
sanderd17
a64456e6d8
Fix small space issue in the lobby (still some work to do there)
...
This was SVN commit r15084.
2014-05-01 11:38:53 +00:00
Gallaecio
47fc05d696
String freeze? Who said that?
...
Fix typo: avalible → available.
This was SVN commit r15082.
2014-05-01 01:22:59 +00:00
Gallaecio
d51f2a0c35
Version bump and regeneration of translation templates accordingly.
...
This was SVN commit r15081.
2014-05-01 00:44:47 +00:00
leper
c7b0261860
Fix the numbering in the Terms of Use for the lobby. Reverts 813db55b08.
...
This was SVN commit r15079.
2014-04-30 23:24:24 +00:00
leper
62f5476dec
Add support for adding translation context to XML elements. Patch by Gallaecio.
...
Add translation context to some lobby headers.
This was SVN commit r15078.
2014-04-30 22:33:08 +00:00
sanderd17
057fa79bdb
Revert db6c3f86f2. Changing something like that right before release is dangerous.
...
This was SVN commit r15077.
2014-04-30 17:53:51 +00:00
JoshuaJB
11865a8865
Revert a hack that snuck into an earlier commit of mine.
...
This was SVN commit r15076.
2014-04-30 17:22:38 +00:00
JoshuaJB
db6c3f86f2
Missing file
...
This was SVN commit r15075.
2014-04-30 06:29:42 +00:00
JoshuaJB
911be4e860
The convention is confirm button on right, decline button on left (updates some in-game dialogs). Also enables GLSL.
...
This was SVN commit r15074.
2014-04-30 06:28:57 +00:00
JoshuaJB
90581f366c
This was SVN commit r15073.
2014-04-30 05:36:50 +00:00
JoshuaJB
e7b4c8b92a
Make game automatically resume after closing the options menu. Refs #2507
...
This was SVN commit r15072.
2014-04-30 05:31:44 +00:00
JoshuaJB
a88f1222c0
Update AI descriptions, closes #2500 . Also correct some capitalization and developer overlay transparency for #2507 .
...
This was SVN commit r15071.
2014-04-30 05:04:12 +00:00
JoshuaJB
748ebdfdb0
Various GUI fixes and cleanup.
...
This was SVN commit r15070.
2014-04-30 04:38:53 +00:00
JoshuaJB
dfacf5358c
New lobby connect/registration page. Not perfect but fixes most of the outstanding issues. Refs #2312
...
This was SVN commit r15069.
2014-04-30 00:46:57 +00:00
scythetwirler
15e9ffa21b
Converts the save dialog to the modern UI. Refs #2507 .
...
This was SVN commit r15068.
2014-04-29 21:45:00 +00:00
leper
29cab5f5ed
Also change reveal map to revealed map.
...
Fix typo in tutorial map. Remove message refering to finite fields.
This was SVN commit r15066.
2014-04-29 14:51:21 +00:00
leper
b246017f9f
Explore_d_ map.
...
This was SVN commit r15065.
2014-04-29 13:10:56 +00:00
sanderd17
b3ab49bb30
Really remove the minimum damage of 1, what 37c8e77d8e was supposed to do
...
This was SVN commit r15064.
2014-04-29 07:15:10 +00:00
JoshuaJB
1e6614918b
Initial modern buttons. Lobby/prelobby now only rely on the modern common files.
...
This was SVN commit r15063.
2014-04-29 00:07:27 +00:00
leper
c77826e9aa
Translate some message boxes when opening websites.
...
Fix a typo. Refs #2501 .
This was SVN commit r15062.
2014-04-28 22:30:40 +00:00
leper
683170ea19
Enable/disable GenTangents when enabling/disabling PreferGLSL. Fixes #2505 .
...
This was SVN commit r15061.
2014-04-28 22:30:27 +00:00
sanderd17
876d0e4e66
Forgot to fix some strings
...
This was SVN commit r15060.
2014-04-28 20:19:32 +00:00
sanderd17
e6e5b9f11f
Add a link in the main menu to for translators. Patch by Stan, fixes #2501
...
This was SVN commit r15059.
2014-04-28 20:17:39 +00:00
leper
64d3d0b4b2
Remove falsely attributed quote.
...
This was SVN commit r15058.
2014-04-28 17:59:02 +00:00
sanderd17
4695f3425b
Add the possibility to show the welcome screen on every update, next to the possibility to disable it completely. Patch by Itms, fixes #2116
...
This was SVN commit r15057.
2014-04-28 17:18:46 +00:00
Gallaecio
f26a2917d3
Translate map name in the summary page
...
This was SVN commit r15056.
2014-04-28 15:54:47 +00:00
sanderd17
b8245da606
Improve disabled technology tooltip. Fixes #2497
...
This was SVN commit r15055.
2014-04-28 15:17:26 +00:00
sanderd17
a49b359748
Fix formations attacking by adding a combat.approaching state. Fixes #2496
...
This was SVN commit r15054.
2014-04-28 13:05:47 +00:00
Gallaecio
b5dfacbf18
Translated map name in the loading screen, regenerated translation templates and updated translations from Transifex
...
This was SVN commit r15053.
2014-04-28 12:31:28 +00:00
Gallaecio
fb80e29d41
Changes to English tooltips for consistency
...
Reported by an Italian translator, Fabio, at Transifex:
https://www.transifex.com/projects/p/0ad/translate/#it/public/13718374
https://www.transifex.com/projects/p/0ad/translate/#it/public/24494405
The periods were added in the main menu (only 2 tooltips without them)
and removed from the options menu (only 1 tooltip with it). In the
future, we might want to be consistent with tooltips through all the
GUI.
This was SVN commit r15052.
2014-04-28 10:11:11 +00:00
JoshuaJB
75713cc101
Don't display 'UNR' in the gamesetup on unranked players. This makes unranked lobby playernames consistant with those of rankless players who join via IP.
...
This was SVN commit r15051.
2014-04-28 05:39:18 +00:00
JoshuaJB
3014df2280
Disable wireframe mode in ranked games. Fixes #2401 .
...
This was SVN commit r15050.
2014-04-28 05:02:20 +00:00
Mythos_Ruler
da7526dbd4
Tweaked button.
...
This was SVN commit r15049.
2014-04-27 23:48:15 +00:00
scythetwirler
e6ec0b2fc9
Add the limit back to provisionality in the rating system.
...
This was SVN commit r15048.
2014-04-27 23:42:56 +00:00
scythetwirler
fde558b4b2
Implements a (hopefully) better rating system with an inflation test.
...
This was SVN commit r15047.
2014-04-27 23:13:29 +00:00
Gallaecio
a8b50a66da
Fixes to the lobby internationalization by sanderd17 and me
...
All strings are now translated at the last point, right before they are
added to the GUI.
Some other fixes are included.
This was SVN commit r15046.
2014-04-27 20:24:48 +00:00
JoshuaJB
b3acb5657f
Fix moderater prefixes in the lobby.
...
This was SVN commit r15045.
2014-04-27 19:26:12 +00:00
JoshuaJB
251372a062
Missing var statement.
...
This was SVN commit r15044.
2014-04-27 19:10:28 +00:00
JoshuaJB
cfb72e990b
Make gamesetup chat formatting more similar to the lobby and note that all players must be ready before starting a multiplayer game.
...
This was SVN commit r15043.
2014-04-27 19:06:21 +00:00
Yves
8f53ddd6b9
Unifies some translatable strings on the gamesetup screen.
...
This was SVN commit r15042.
2014-04-27 19:03:15 +00:00
Yves
2f8487b84b
Adds translation support for the "More options" window on the gamesetup screen.
...
This was SVN commit r15041.
2014-04-27 18:41:56 +00:00
scythetwirler
983abd1952
Updates splashscreen style and adds a background to the scrollbar to match the dropdown
...
This was SVN commit r15040.
2014-04-27 18:30:40 +00:00
scythetwirler
a163ac1c11
Reverts a rogue copy-paste in the last commit.
...
This was SVN commit r15039.
2014-04-27 18:23:15 +00:00
scythetwirler
b8d3ef71f7
Fixes the updated dropdowns for multiplayer clients broken in 65f4c8b0e8
...
This was SVN commit r15038.
2014-04-27 18:18:05 +00:00
Gallaecio
461a17c95d
Reverted d91756b251 after breaking the fix for the lobby that sanders17 had implemented
...
This was SVN commit r15037.
2014-04-27 17:38:19 +00:00
scythetwirler
65f4c8b0e8
Moves Select number of players to a more fitting and translation-friendly location. Also makes the map selection texts more translation-friendly in terms of space.
...
This was SVN commit r15036.
2014-04-27 17:24:37 +00:00
scythetwirler
f9ccf05aa8
Change the style of dropdowns as per Mythos_Ruler. Also moves the rating list to the right side of the leaderboard (where it is on most rating lists).
...
This was SVN commit r15035.
2014-04-27 16:28:59 +00:00
Gallaecio
60334f05c8
Fix error introduced in 95b0a8d9bf while fixing a warning
...
This was SVN commit r15034.
2014-04-27 15:56:10 +00:00
scythetwirler
63bcf2fef6
Don't display I'm ready in single player setup. Refs #2447 .
...
This was SVN commit r15033.
2014-04-27 15:32:22 +00:00
scythetwirler
ce0f439817
Adjusts the lobby gamelist and dropdowns to support more translations (space-wise).
...
This was SVN commit r15032.
2014-04-27 14:52:32 +00:00
Gallaecio
95b0a8d9bf
Fixed warnings in ‘gui’ due to the new SpiderMonkey
...
Refs #2372
This was SVN commit r15030.
2014-04-27 13:51:43 +00:00
Gallaecio
60e1ff59f5
Fix warning about msg.guid not being defined
...
This was SVN commit r15029.
2014-04-27 13:38:17 +00:00
Gallaecio
341bcb1cf9
Fix unfinished change in accidental commit d4109916a3
...
This was SVN commit r15028.
2014-04-27 13:37:26 +00:00
Gallaecio
d4109916a3
Moved the translation of AI messages to a later point
...
This avoids attempts to translate messages prefixed with keywords,
such as “/team Message prefixed with a keyword”, and translates them
only after the keyword has been removed. Some keywords may hide the
message, removing the need for a translation altogether.
This was SVN commit r15027.
2014-04-27 13:33:15 +00:00
Gallaecio
d91756b251
Moved the translation of map data to the loadMap() function
...
This avoids the translation of strings that had been previously
translated later in the code.
This was SVN commit r15026.
2014-04-27 13:28:47 +00:00
Mythos_Ruler
e344225b72
Tweaked this description.
...
This was SVN commit r15025.
2014-04-27 13:11:50 +00:00
Mythos_Ruler
ad5fb85de3
A bunch of tech tweaks.
...
Tweaked Belgian Bog environment.
This was SVN commit r15024.
2014-04-27 13:10:38 +00:00
Gallaecio
813db55b08
Fixed the numbering in the terms of user of the lobby
...
Reported by ‘tema’ (Italian translator) at Transifex:
https://www.transifex.com/projects/p/0ad/translate/#it/public/24566468
This was SVN commit r15022.
2014-04-27 10:02:23 +00:00
Gallaecio
243411f0c5
Internationalization of the lobby terms of service and terms of use
...
This was SVN commit r15021.
2014-04-27 09:13:28 +00:00
sanderd17
0db4cc690e
Check for hero attack before querying it. Fixes #2490
...
This was SVN commit r15020.
2014-04-27 08:03:15 +00:00
JoshuaJB
81883806ec
First version of the lobby Terms of Service and Terms of Use.
...
This was SVN commit r15019.
2014-04-27 05:59:48 +00:00
JoshuaJB
2ad7187f92
Move XMPP polling to the mainloop. Should reduce lobby disconnects. Fixes #2491
...
This was SVN commit r15018.
2014-04-27 05:37:34 +00:00
scythetwirler
fe490df93a
Revert an unnecessary part of the last commit ( bc9b7f9af3).
...
This was SVN commit r15017.
2014-04-27 03:26:45 +00:00
scythetwirler
bc9b7f9af3
Fixes the tutorial AI and updates the tutorial with the blacksmith.
...
This was SVN commit r15016.
2014-04-27 03:22:02 +00:00
Gallaecio
98905af6eb
Added a context to some very generic strings and regenerated the public mod POT file
...
This was SVN commit r15015.
2014-04-27 00:23:19 +00:00
scythetwirler
0d3c608b05
Increases title bar width for internationalization support and unsquishes map preview in the lobby
...
This was SVN commit r15014.
2014-04-27 00:07:27 +00:00
Mythos_Ruler
f9dec493fc
Changed Ptolemaic and Seleucid Military Colonies to use the merc camp actor for now until proper Military Colony meshes are modeled.
...
Shrank the size of the gear icon.
Added a "seeds" particle. Doesn't seem to be working though.
This was SVN commit r15013.
2014-04-26 22:49:33 +00:00
scythetwirler
aaf5ad1a63
Cosmetic cleanup - Delete full stop and make scrollbar a circle
...
This was SVN commit r15012.
2014-04-26 22:45:48 +00:00
JoshuaJB
9a809c3131
Revert overlay resizing (forgot about translations) and minor fixes to my last changes.
...
This was SVN commit r15010.
2014-04-26 19:52:56 +00:00
sanderd17
2ae1e16628
Fix translation of some game setup elements in multiplayer games
...
This was SVN commit r15009.
2014-04-26 19:52:16 +00:00
JoshuaJB
abf12fb503
Enhance the main menu options page and use it to replace the in-game settings page..
...
This was SVN commit r15007.
2014-04-26 19:31:23 +00:00
scythetwirler
d1d7afe46c
Implements ready status into gamesetup. Fixes #2447 .
...
This was SVN commit r15006.
2014-04-26 18:34:34 +00:00
Gallaecio
4770e64449
Some i18n fixed on the JavaScript side
...
Do not try to translate empty strings in translateObjectKeys().
Do not try to translate empty formation tooltips.
Do not translate player names at a point where they are already
translated.
This was SVN commit r15005.
2014-04-26 18:27:53 +00:00
JoshuaJB
f5b0fc1076
Swap button placement on options page to be more consistant with other parts of the GUI.
...
This was SVN commit r15004.
2014-04-26 18:03:29 +00:00
Gallaecio
2b192a4fb5
Do not call Translate() on empty lines
...
Reported by Yves at Github:
https://github.com/leper/0ad/issues/11
This was SVN commit r15003.
2014-04-26 16:05:41 +00:00
Gallaecio
8fea36cdd0
Made tinygettext’s debug output optional
...
You can now enable tinygettext’s output from the user.cfg file
(tinygettext.debug).
This enhancement also solved a warning due to the previous workaround,
which was
to uncomment the output line to avoid the debug messages.
This issue was reported by Yves at Github:
https://github.com/leper/0ad/issues/10
This was SVN commit r15002.
2014-04-26 15:32:18 +00:00
Gallaecio
baf04bad53
Added support for message extraction from INI files
...
Refs #2487
This was SVN commit r15001.
2014-04-26 14:06:00 +00:00
Gallaecio
3dd76c84bc
Added a translation comment to the ‘Locale:’ string of the language menu
...
In order to do this, I added support for extracting the ‘comment’
attribute of translatable XML elements.
This was SVN commit r15000.
2014-04-26 12:51:12 +00:00
Gallaecio
c82544be9f
Use an early return in L10n::GetDictionaryLocale()
...
Suggested by l777 on the IRC.
This was SVN commit r14999.
2014-04-26 12:29:01 +00:00
Gallaecio
d4f701d5f5
Remove MarkToTranslate from the JavaScript interface
...
The ‘l10n.js’ global JavaScript file already defines this function as
markForTranslation(),
and defines a context-aware twin function as well. Those two functions
are the only ones
currently used in the mod code (as it should be), and there are no
remaining calls to the
engine for that.
This was SVN commit r14998.
2014-04-26 12:26:04 +00:00
Gallaecio
d6e37321d5
Removed an obsolete TODO comment in the L10n class implementation
...
This was SVN commit r14997.
2014-04-26 12:11:08 +00:00
Gallaecio
fc793609eb
Added API documentation to ‘source/i18n/’
...
This was SVN commit r14996.
2014-04-26 12:10:15 +00:00
Yves
7acdde5c86
Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test.
...
The tests crashed on my Debian systems but not on my Ubuntu system.
The crash happened in line 142 of SpiderMonkey's ThreadLocal.h.
I know that I had to use a workarounnd for contexts to avoid destroying
the context that was created first. I also had in mind that in newer
versions a JS_Init function got introduced which presumably solves this
kind of issues.
Based on this experience I assumed runtimes could have a similar problem
and this patch indeed fixes the issues.
Unfortunately the correct usage of JSRuntimes in that regard is not
documented.
There's only a rater misterious comment in JSAPI.h which hasn't been
cleared up so far and is most likely completely outdated
(https://bugzilla.mozilla.org/show_bug.cgi?id=992641 ).
This was SVN commit r14995.
2014-04-25 21:19:51 +00:00
Gallaecio
49fc88ff81
Fixed typos on the English strings of the tutorial AI
...
This was SVN commit r14994.
2014-04-25 19:47:41 +00:00
Enrique
4cbaba418b
Improved syntagma animations
...
Added seeding animation for farms. Only applied in Macedonian women at
the moment.
This was SVN commit r14993.
2014-04-25 14:29:05 +00:00
Gallaecio
e92bf0c89d
Show translated player name in chat messages
...
This should only affect player names that users do not define, such as
“Player 2”.
I’ve checked that:
• This change translate the name of the AI player in chat messages of
tutorial scenarios.
• If I name myself “Player 1” and host a multiplayer game, “Player 1” is
not translated.
This was SVN commit r14992.
2014-04-25 04:28:06 +00:00
Gallaecio
7afe0afbca
Internationalized the messages of the tutorial AI
...
This was SVN commit r14991.
2014-04-25 03:41:01 +00:00
Gallaecio
abed1b1734
Made the developer overlay wide enough for the Long Strings locale
...
This was SVN commit r14990.
2014-04-25 03:11:22 +00:00
Gallaecio
dc0deb5f52
Fixed bad fix in bc1ed335e2
...
Note: l777 had given me the right fix (%s), I fixed it wrong for no good
reason…
This was SVN commit r14989.
2014-04-25 02:56:08 +00:00
Gallaecio
c1c10667df
Improved the internationalization of the construction “Insufficient resources” message
...
This was SVN commit r14988.
2014-04-25 02:45:19 +00:00
Gallaecio
0c04b90a2d
Fixed the extraction of messages with leading spaces from plain text files
...
This was SVN commit r14987.
2014-04-25 01:55:43 +00:00
Gallaecio
0c88edc2f2
Internationalized rank names
...
In order to do so, I had to extend the XML message extractor to support
using XML tags as context.
This is because one of the ranks is “Advanced”, which is a pretty common
string.
This was SVN commit r14986.
2014-04-25 01:47:42 +00:00
Gallaecio
bc1ed335e2
Fix GCC warning on “source/gui/scripting/ScriptFunctions.cpp”
...
Reported by JoshuaJB at Github: https://github.com/leper/0ad/issues/27
Fix provided by l777 (who I believe to be leper but I don’t really know)
on IRC.
This was SVN commit r14985.
2014-04-25 00:38:30 +00:00
Yves
fd3d335265
Sacrifices a goat to the gods of insanity.
...
Fixes random crashes on Windows due to differences of STL types on the
binary level between different static libraries.
The differences are caused by the definition of _HAS_ITERATOR_DEBUGGING
and _SECURE_SCL in lib/precompiled.h.
All our engine static libs use precompiled headers but we didn't use
them for tinygettext because they aren't needed (except for these two
defines).
I've decided to add precompiled headers to tinygettext too instead of
just copying these defines. That should cause less headaches in the
future.
This was SVN commit r14983.
2014-04-24 20:05:48 +00:00
sanderd17
0027dcef31
Remove the actual serif fonts from the repo (they're completely unused now, and keeping them makes the package bigger)
...
This was SVN commit r14981.
2014-04-24 13:36:29 +00:00
sanderd17
73470a3610
Remove all references to serif fonts in the GUI files (see cde72788a2)
...
Rebuild the sans fonts to include the missing glyph character (fixes
#2483 )
Update the pot files
This was SVN commit r14980.
2014-04-24 13:33:15 +00:00
Gallaecio
bfa6bbd0e0
Internationalized the wall cost string
...
Also, added a check for the getCostComponentDisplayName() function, as I
once got an empty string, although I was not able to reproduce it.
This was SVN commit r14979.
2014-04-24 06:16:43 +00:00
Gallaecio
1fa5f13133
Improved the internationalization of the Diplomacy dialog box
...
You can now translate resource names differently depending on whether
they are in the middle of a sentence or at the beginning.
The Close button in the Diplomacy dialog box is now internationalized.
This was SVN commit r14978.
2014-04-24 05:48:23 +00:00
Gallaecio
d2cbda3755
Fixed an English string in the Celtic and Gaul civilization files
...
Reported by kanetaka, a Japanese translator, at Transifex:
https://www.transifex.com/projects/p/0ad/translate/#ja/public/17634039
This was SVN commit r14976.
2014-04-24 04:41:03 +00:00
historic_bruno
92f2a16a88
Suppresses MSVC warning C4005 'macro redefinition' from SpiderMonkey upgrade
...
This was SVN commit r14975.
2014-04-23 21:12:28 +00:00
sanderd17
0d33f6412d
Fixes #2482
...
This was SVN commit r14974.
2014-04-23 08:22:55 +00:00
sanderd17
311acea712
Fit UI for longer translations
...
This was SVN commit r14973.
2014-04-23 07:47:46 +00:00
sanderd17
3b571406f8
Enlarge tooltip size to fit all locales
...
This was SVN commit r14972.
2014-04-22 17:51:56 +00:00
sanderd17
9b9a96382c
Fix boolean type
...
This was SVN commit r14971.
2014-04-22 12:52:49 +00:00
sanderd17
21362de6ac
Add workaround for testing long strings with the separate po. ICU wouldn't accept a non-existing language.
...
This was SVN commit r14969.
2014-04-22 11:38:15 +00:00
Gallaecio
9dd4e71f1d
Internationalized some messages
...
• You can now translate “The production queue is full”.
• Internationalized the “Pause” and “Resume” buttons. Only the initial
label was internationalized, it would switch to English as soon as you
pause the game for the first time.
• Internationalized the “Screenshot written to” message in the engine.
This was SVN commit r14968.
2014-04-22 06:35:51 +00:00
JoshuaJB
5a8bc1158a
Add some more GUI graphics settings while fixing some persistence issues. Refs #2310
...
This was SVN commit r14967.
2014-04-22 05:09:31 +00:00
Gallaecio
93c94e45b7
“All nearby bipedal melee units” → “All nearby soldiers” (suggested by Mythos_Ruler on the IRC)
...
This was SVN commit r14966.
2014-04-21 14:37:42 +00:00
Gallaecio
46d7d5eb23
Removed trailing spaces detected in translatable strings
...
This was SVN commit r14965.
2014-04-21 14:35:33 +00:00
Gallaecio
21cb76b9f9
centre → center
...
This was SVN commit r14964.
2014-04-21 14:32:52 +00:00
Gallaecio
e82a9f1a4d
Removed a line break to make more space for translations
...
This was SVN commit r14963.
2014-04-21 14:27:02 +00:00
Yves
510ad15e6c
Adds missing libs, fixes some svn properties and a build-problem on Windows.
...
In 1b3261b8f4 empty text files were committed instead of the libs.
The text files had svn:eol-style properties set and the mime-type was
text.
This removes the eol-style properties, changes the mime type and addes
the content of the files.
This was SVN commit r14959.
2014-04-20 23:47:52 +00:00
Yves
5aab36670c
Give some more space to the labels in the advanced localization menu.
...
This was SVN commit r14958.
2014-04-20 22:38:29 +00:00
Enrique
6b1cde8f52
Added Micket's wolf mesh with Strannik's animations. Thank you guys!
...
Added two texture variations.
This was SVN commit r14957.
2014-04-20 22:24:37 +00:00
Gallaecio
bba60424b0
Moved tinygettext licensing information
...
Moved from libraries/LICENSE.txt to LICENSE.txt. Reported by l777 on
IRC.
This was SVN commit r14956.
2014-04-20 22:04:16 +00:00
Gallaecio
64d204228a
Message extraction and localization
...
It includes the translation template files (POT) as well as translation
files
(PO) developer through the Transifex platform by our awesome
translators.
It also includes tools to generate the translation template files,
generate a
special translation file with the longest strigns of all translations,
and a
tool to download translations from Transifex into the right game folders
automatically.
Fixes #67
This was SVN commit r14955.
2014-04-20 21:48:23 +00:00
Gallaecio
e05c8263c5
Internationalization of the public mod (JavaScript and GUI XML side)
...
It includes a marvelous language selection menu developed by Yves.
It also includes the introduction of a sprintf implementation for
JavaScript, as well as
translation helper functions that use JavaScript-side translation
caching.
This patch includes code by Yves, sanderd17, leper and Gallaecio.
Ref #67
This was SVN commit r14954.
2014-04-20 20:51:48 +00:00
Gallaecio
d6db5a466d
Internationalization of the C++ side
...
Provides the logic to detect the system language, load translations, and
use
loaded translations both in the C++ and the JavaScript side.
This patch includes code by Yves, sanderd17, leper, historic_bruno and
Gallaecio. It’s worth noting that Yves and historic_bruno were also the
main
contributors behind the changes in 1b3261b8f4 as well.
This was SVN commit r14953.
2014-04-20 20:03:57 +00:00
Yves
30d5b572a6
Remove tinygettext from the build-osx-libs.sh file.
...
That's not needed anymore in the latest i18n branch. We build
tinygettext as a static library with the game now.
This was SVN commit r14952.
2014-04-20 19:30:01 +00:00
Gallaecio
1b3261b8f4
Added third-party libraries for internationalization and localization: ICU and tinygettext
...
This was SVN commit r14951.
2014-04-20 19:17:32 +00:00
Gallaecio
52c0a9b908
Changes to English strings after reports in Transifex by translators
...
This was SVN commit r14950.
2014-04-20 19:00:37 +00:00
mimo
130a394e27
a few fixes and some tweaks to petra
...
This was SVN commit r14949.
2014-04-20 17:19:56 +00:00
Mythos_Ruler
f9e980ba5f
Trying to blend some old UI assets with the new look.
...
Darkened the croc texture a bit.
This was SVN commit r14948.
2014-04-20 16:58:47 +00:00
Mythos_Ruler
f27640de9b
Minor tweaks to some maps.
...
This was SVN commit r14947.
2014-04-20 14:38:24 +00:00
Mythos_Ruler
dde91b8c66
The attack notification should be less frequent.
...
This was SVN commit r14946.
2014-04-20 14:35:02 +00:00
Mythos_Ruler
2336f97ead
Spartans get Oxybeles (but no Lithobolos).
...
This was SVN commit r14945.
2014-04-20 12:50:59 +00:00
Mythos_Ruler
ff77676c60
Fixed auras and tooltips for some heroes.
...
Added some techs for houses and removed some from the Civic Center.
Makes a lot more sense this way.
This was SVN commit r14944.
2014-04-20 11:36:23 +00:00
Enrique
0bbf43dc5f
upgraded sarissa's models
...
This was SVN commit r14943.
2014-04-20 00:34:48 +00:00
Enrique
cf04dc9601
Missing units to use the new pikemen attack animation
...
This was SVN commit r14942.
2014-04-20 00:09:40 +00:00
Mythos_Ruler
78f8afd912
Changed some formation spacing.
...
This was SVN commit r14941.
2014-04-20 00:01:50 +00:00
Enrique
4f4455ec3a
Added new attack animation for pikemen
...
This was SVN commit r14940.
2014-04-19 23:56:05 +00:00
Enrique
b387458e33
Syntagma formation animations added to all hellenic pikemen.
...
This was SVN commit r14939.
2014-04-19 23:35:25 +00:00
Mythos_Ruler
2e7e46b399
Moves some blacksmith techs to Village Phase for Celtic civs. Fixes #2473
...
This was SVN commit r14938.
2014-04-18 11:28:28 +00:00
Mythos_Ruler
831d3ae69f
This was SVN commit r14937.
2014-04-16 16:32:15 +00:00
JoshuaJB
fe4f17fd73
Only send game report if ranking is enabled.
...
This was SVN commit r14936.
2014-04-16 14:00:09 +00:00
JoshuaJB
a9b34da617
Fix some merge conflicts 9e2d0b9506 missed.
...
This was SVN commit r14935.
2014-04-16 13:58:56 +00:00
JoshuaJB
9e2d0b9506
Fix #2404 . Rating auto-configure TODO (eg 2v2 games do not automatically show as being unrated). See #2276 .
...
This was SVN commit r14934.
2014-04-16 06:03:49 +00:00
leper
47a516df34
Fix some JS warnings. Refs #2372 .
...
This was SVN commit r14933.
2014-04-15 01:12:48 +00:00
sanderd17
e1488fee56
Add an 'explore map' option to the game setup.
...
This was SVN commit r14931.
2014-04-14 19:52:49 +00:00
sanderd17
a9d0a3bcae
Fix how per tech modification affects work + fix the technologies that implement it. Fixes #2366
...
This was SVN commit r14930.
2014-04-14 16:33:00 +00:00
sanderd17
bb71823aee
Make the actor tech-modifiable. Fixes #2243
...
This was SVN commit r14928.
2014-04-14 15:00:49 +00:00
scythetwirler
1073382e3b
Sorts the lobby player list, ignoring case
...
This was SVN commit r14927.
2014-04-13 18:29:32 +00:00
Pureon
b08e364e81
New shipwreck models
...
This was SVN commit r14926.
2014-04-13 11:16:30 +00:00
Mythos_Ruler
106638a9b8
This was SVN commit r14925.
2014-04-13 09:42:55 +00:00
Mythos_Ruler
01decbcd90
Train time changes.
...
Unlock champions tech more expensive.
This was SVN commit r14924.
2014-04-13 09:05:02 +00:00
scythetwirler
40e2a1e065
Fixes some javascript warnings in the lobby.
...
This was SVN commit r14923.
2014-04-13 01:48:24 +00:00
scythetwirler
180aa5c60d
Makes the moderator prefix visible in the chatbox.
...
This was SVN commit r14922.
2014-04-12 23:40:36 +00:00
Mythos_Ruler
5a0c1a799b
Some more portraits. Updated the portrait for the Macedonian siege workshop.
...
Tweaked some sandbox maps.
This was SVN commit r14921.
2014-04-12 14:55:04 +00:00
Mythos_Ruler
f02a8a4c59
Some population techs.
...
Tweaking some training techs.
This was SVN commit r14920.
2014-04-12 13:39:19 +00:00
Mythos_Ruler
5740e22cd5
Fix health for these cavalry spearmen.
...
This was SVN commit r14919.
2014-04-12 11:52:39 +00:00
Mythos_Ruler
c2d1aece02
Fixed female citizen selections.
...
This was SVN commit r14918.
2014-04-12 10:36:37 +00:00
Mythos_Ruler
08c1c8ed2d
Minor tweaks to some particles.
...
Updated quinquereme tip image and text.
Minor updates to some maps.
Seleucids now use some Ptolemies ship actors temporarily.
This was SVN commit r14917.
2014-04-12 07:13:37 +00:00
sanderd17
ad36c0eb7b
Parse entity ids to numbers again
...
This was SVN commit r14916.
2014-04-11 12:35:50 +00:00
mimo
41b8d06e27
remove forgotten debug printouts
...
This was SVN commit r14915.
2014-04-10 21:00:40 +00:00
Enrique
f41c51359f
Mauryan trader actor missing
...
This was SVN commit r14914.
2014-04-10 20:56:12 +00:00
mimo
bb8e14fae1
some minor tweaks to petra ai
...
This was SVN commit r14913.
2014-04-10 20:25:02 +00:00
sanderd17
7840fd3049
fix capitalisation
...
This was SVN commit r14912.
2014-04-10 14:00:44 +00:00
sanderd17
7f77bb7cb0
Small improvements to entitycollection + add a serialization method (serialization is never executed though)
...
This was SVN commit r14911.
2014-04-10 09:51:43 +00:00
sanderd17
ff2979ca68
Save formation rotation when loading a new formation
...
This was SVN commit r14910.
2014-04-09 18:01:12 +00:00
sanderd17
1f63325ede
Rotate entities to the right angle when forming a formation
...
This was SVN commit r14909.
2014-04-09 11:15:00 +00:00
Enrique
4ddf1ac4dc
Added rowing, gathering, 3Idles and death animations for ptolemaic fisherman.
...
This was SVN commit r14908.
2014-04-06 21:06:17 +00:00
sanderd17
d27dffa31d
Now really fix the issue with promoting and formation animations
...
This was SVN commit r14906.
2014-04-06 18:43:06 +00:00
mimo
833c2bac7a
save/restore camera position and orientation in saved games, fixes #2354
...
This was SVN commit r14905.
2014-04-06 16:27:57 +00:00
leper
fbfd87e7f7
Replace hawk with duplicated head bone with fixed version by stanislas69. Fixes #2454 .
...
This was SVN commit r14904.
2014-04-06 16:00:12 +00:00
leper
fb1827bee7
Fix ungarrisoning bug caused by promoting garrisoned entities. Fixes #2471 .
...
This now uses the Autogarrsion order as both already work with an
already garrisoned entity.
This was SVN commit r14903.
2014-04-06 03:04:30 +00:00
mimo
fd4cd56224
fixed petra map management when not circular
...
This was SVN commit r14901.
2014-04-05 12:18:37 +00:00
sanderd17
c5e59d02e1
Fix formation animations with promoted units
...
This was SVN commit r14900.
2014-04-05 09:48:57 +00:00
Mythos_Ruler
1908723188
Testudo for a few more Roman units.
...
This was SVN commit r14899.
2014-04-05 08:47:29 +00:00
sanderd17
61da102371
Add testudo animations to the right actor files and use it in the formation template
...
This was SVN commit r14898.
2014-04-04 18:38:13 +00:00
Enrique
776a098a1c
Tetsudo formation test animation. Front and middle stances.
...
This was SVN commit r14897.
2014-04-04 10:17:15 +00:00
mimo
d04f035f9a
numerous fixes and improvments to petra ai
...
This was SVN commit r14896.
2014-04-03 20:48:54 +00:00
mimo
ac9aaaa369
supplement the ai common-api
...
This was SVN commit r14895.
2014-04-03 20:31:59 +00:00
Enrique
26fdf74de3
Mauryan trader basic commit with idle and move animations. Needs zebu animation and trader texture or use a mauryan one.
...
Model and texture by paperkat, move animation by Wijitmaker, blender
exportation by stan
This was SVN commit r14894.
2014-04-03 18:31:56 +00:00
leper
3e03c9d08a
Return something valid in a mock function to fix a warning while running tests.
...
This was SVN commit r14893.
2014-04-02 23:10:07 +00:00
leper
b8b3542d25
Fix tests.
...
This was SVN commit r14892.
2014-04-02 23:09:59 +00:00
Enrique
b287cbf805
New ptolemaic sail for merchant ship based on Lion's eagle.
...
fixes #2236
This was SVN commit r14891.
2014-04-02 02:52:13 +00:00
Enrique
2f12068a8f
Ptolemaic merchant ship commit.
...
Model by Stanislas69 with some fixes.
This was SVN commit r14890.
2014-04-01 20:35:49 +00:00
Mythos_Ruler
55bb33dec8
Particle tweaks.
...
Mediterranean Cove skirmish map.
This was SVN commit r14888.
2014-03-30 01:56:35 +00:00
Mythos_Ruler
84016df11c
Map tweaks and map preview changes.
...
This was SVN commit r14887.
2014-03-30 01:38:20 +00:00
Mythos_Ruler
e715c60942
Cleaning up the scenarios folder.
...
This was SVN commit r14886.
2014-03-30 00:10:07 +00:00
JoshuaJB
a7b2f6ba47
Fix more then one observer by allowing a game to have multiple players with the -1 ID.
...
This was SVN commit r14885.
2014-03-29 15:09:42 +00:00
sanderd17
22867fa9a3
Further complete the definitition of the entity state
...
This was SVN commit r14884.
2014-03-29 13:56:03 +00:00
sanderd17
8615f38803
Always define the entire entity state, but initialize it to null
...
This was SVN commit r14883.
2014-03-29 13:37:48 +00:00
sanderd17
132020f88e
Fix some of the undefined warnings reported by the new SpiderMonkey. Initialize the player diplomacy arrays earlier in PlayerManager.
...
This was SVN commit r14882.
2014-03-29 11:03:00 +00:00
mimo
120f71d944
a couple a bugfixes
...
This was SVN commit r14881.
2014-03-29 08:51:09 +00:00
Mythos_Ruler
b815fa8dd9
Portraits for the Ptolemaic dieres, penteres, and octeres.
...
Actor and texture for Antiochus the Great.
Histories for the Ptolemaic warships.
This was SVN commit r14880.
2014-03-29 00:16:16 +00:00
Yves
e9e05f4efc
Second (main) commit for the SpiderMonkey upgrade.
...
This commit contains all the required changes to our source files and
build scripts (hopefully).
A next commit will remove the old stuff of SpiderMonkey 1.8.5.
Spcial thanks to:
- H4writer who helped a lot mainly with the performance issues we
had/have, but also with other problems or questions.
- Leper for the review.
- Historic_bruno for implementing the build scripts on Mac OS X and
testing on the Mac.
- The people from the #jsapi channel and from
mozilla.dev.tech.js-engine who answered a lot of questions and helped
solving problems.
- All the other people who helped
Refs #1886
Fixes #2442
Fixes #2416
This was SVN commit r14877.
2014-03-28 20:26:32 +00:00
Enrique
6f6b841af3
Upgraded ptoemaic quinquereme textures and made the model narrower.
...
This was SVN commit r14875.
2014-03-28 16:03:32 +00:00
Yves
0d9a7dab6b
Works around infinite recursion problem.
...
This problems occurs with the new SpiderMonkey in debug mode, but it's
not a SpiderMonkey issue.
Unfortunately I couldn't find a clean solution, so I just documented the
problem in an extensive comment block and applied a workaround.
A clean solution would probably require changing the approach for
counting allocations completely.
This was SVN commit r14874.
2014-03-28 11:33:37 +00:00
mimo
0419f5500e
another set of petra improvments, main one is a first try to place markets for trade (was random before)
...
This was SVN commit r14873.
2014-03-27 22:10:03 +00:00
Enrique
0a32b2d687
Ptolemaic trireme commit.
...
Fixed some texture stretching in the bireme.
This was SVN commit r14872.
2014-03-27 18:13:07 +00:00
mimo
bc428e1649
some fixes (i.e.building placement) and cleanings of petra
...
This was SVN commit r14871.
2014-03-26 21:07:47 +00:00
Enrique
52af5b29a1
Ptolemaic bireme commit.
...
Fixed error in sparten temple when destroyed found bi Sanderd17
This was SVN commit r14870.
2014-03-26 20:34:54 +00:00
sanderd17
7c0c294814
Move some resources to passable terrain
...
This was SVN commit r14869.
2014-03-26 18:28:00 +00:00
mimo
d5ff29d181
fix a flaw in UnitAI trade management
...
This was SVN commit r14868.
2014-03-26 09:11:06 +00:00
mimo
3dfa858229
remove some leftover warnings in petra
...
This was SVN commit r14867.
2014-03-25 19:26:45 +00:00
mimo
5de3b30742
fix previous tag
...
This was SVN commit r14866.
2014-03-24 22:51:15 +00:00
mimo
97afd25171
commit first version of new ai bot (named Petra)
...
This was SVN commit r14865.
2014-03-24 22:33:50 +00:00
mimo
b03e3644ac
add a few usefull functions in ai/common-api
...
This was SVN commit r14864.
2014-03-24 22:15:40 +00:00
Yves
90b9926ca1
Fixes warning showing up with the new SpiderMonkey.
...
The changed return value isn't related but returning false makes more
sense there IMO.
Refs #2372
This was SVN commit r14863.
2014-03-22 23:31:40 +00:00
Yves
5372b27142
Silences some warnings that show up on the gamesetup screen with the new SpiderMonkey without changing any behaviour.
...
Refs #2372
This was SVN commit r14862.
2014-03-22 13:54:10 +00:00
Mythos_Ruler
3fb46640cc
Fix civ for Ptol Military Colony.
...
This was SVN commit r14861.
2014-03-21 22:51:47 +00:00
Mythos_Ruler
907ef01322
Added starting units to Deccan Plateau.
...
Added some detail to Nile River.
Updated Syria a little bit.
Added Pureons new tech portraits to some techs.
Portrait for Ptol champ elephant.
Gave the Military Settlement system to the Ptolemies. We'll use their
merc camp for a developing merc camp system. Ptol heroes can found civic
centers just like the Sele heroes.
This was SVN commit r14860.
2014-03-21 00:47:23 +00:00
Yves
2eeb7c2ba1
Workaround to reduce the impact of AI performance problems when planning new bases.
...
When no free territory was left on the map, the AI tried to place a CC
every 10th AI turn.
That's about all 10 seconds and it freezed the game for about a second.
Now when you played against 4 players it freezed aobut 4 seconds every
10 seconds, which is very bad.
I wanted to solve this properly but realized that I'd have to change a
lot in the terrain analysis code that will probably be replaced anyway
when we have a new pathfinder with a proper interface.
Also removes an unused variable (creating a territory map and not using
it can't be good for performance either).
This was SVN commit r14859.
2014-03-20 14:26:15 +00:00
Pureon
6eaad6cbb6
new tech portraits
...
This was SVN commit r14858.
2014-03-20 00:58:54 +00:00
mimo
1c81a96a50
fix bug in AI
...
This was SVN commit r14857.
2014-03-18 21:34:23 +00:00
JoshuaJB
63248bdc33
Fix issue with GUI reveal map status display.
...
This was SVN commit r14856.
2014-03-18 01:13:02 +00:00
mimo
209799aa4c
fix 94c02ec33c for AI
...
This was SVN commit r14855.
2014-03-17 21:23:40 +00:00
Yves
5c4282a21c
Fixes a small memory leak in the profiler shutdown code.
...
This was SVN commit r14854.
2014-03-17 21:16:38 +00:00
sanderd17
cde72788a2
* Add support for fallback fonts in the font builder.
...
* Replace DejaVu with Biolinium for the existign sans-styles.
* Add additional sans-styles using Biolinum.
* Update the GUI style definitions to use the sans-styles instead of
serif styles.
(Wait with updating custom defined fonts in strings, as it will cause a
mess with the internationalisation that's about to be included)
* Add fonts from the quite complete FreeFont family as fallback fonts.
* Render all glyphs supported by the different fonts to support as many
scripts as possible.
* Fixes #2457 .
(Now hope I included all needed files)
This was SVN commit r14853.
2014-03-17 10:13:49 +00:00
Mythos_Ruler
c1b839c21b
Military Colony's territory weight reduced.
...
Updated icon for Syria map. Updated nisian war horses portrait from
Pureon.
Reduced the volume of the attack notification a little.
This was SVN commit r14852.
2014-03-17 00:10:13 +00:00
Mythos_Ruler
84ef2c1335
A test for Latin names for animals. Won't complete this until after next alpha.
...
This was SVN commit r14851.
2014-03-17 00:08:24 +00:00
JoshuaJB
883f307b40
Implement a basic observer mode. Any player which joins a multiplayer game but is not assigned a player slot automatically becomes an observer. Refs #69
...
This was SVN commit r14849.
2014-03-16 23:29:27 +00:00
JoshuaJB
94c02ec33c
Revert gather limits to be global instead of per-player. Refs #1387
...
This was SVN commit r14848.
2014-03-16 20:35:23 +00:00
Mythos_Ruler
19724f7f41
"Syria" skirmish map.
...
This was SVN commit r14846.
2014-03-15 23:10:06 +00:00
wraitii
ffe0faeca4
Move the skybox up per Mythos' ruler recommendation. This should probably be a map setting.
...
This was SVN commit r14844.
2014-03-15 21:07:02 +00:00
scythetwirler
caeaf62723
Adjust widths in the lobby to make the map size dropdown fit.
...
This was SVN commit r14843.
2014-03-15 20:58:59 +00:00
Mythos_Ruler
722ad7264d
Some updated maps. Acropolis Bay especially.
...
This was SVN commit r14842.
2014-03-15 19:56:51 +00:00
historic_bruno
49b0e1ce42
Eliminates some duplication in build-osx-libs.sh and sets more useful variables
...
This was SVN commit r14841.
2014-03-14 05:18:40 +00:00
historic_bruno
dfa4766dab
Reverts [[SVN:14831]] - wasn't a valid fix.
...
Patches MiniUPnPc to explicitly export symbols for GCC/Clang, fixes
build when -fvisibility=hidden is used, refs #2304 .
Fixes incorrect use of CPPFLAGS in build-osx-libs.sh, it should be
CXXFLAGS. CPPFLAGS get passed to the C/C++ preprocessor, CXXFLAGS get
passed to the C++ compiler.
This was SVN commit r14840.
2014-03-14 04:17:42 +00:00
Enrique
b18a899287
Added Ptolemaic healer body and head textures. Fixes #2234
...
This was SVN commit r14839.
2014-03-13 19:46:15 +00:00
wraitii
6ab578a6eb
Fix out of date comments in Tex and ITexCodec, Fixes #2458 .
...
This was SVN commit r14838.
2014-03-13 19:00:22 +00:00
Spahbod
e17dd1ac12
Applying the new improvements: Gulf of Bothnia.
...
This was SVN commit r14837.
2014-03-13 09:45:09 +00:00
JoshuaJB
ef888367aa
Cleanup tex_codec, fixes #2456 , patch by IronNerd.
...
This was SVN commit r14836.
2014-03-13 04:16:20 +00:00
JoshuaJB
a5639631ee
Texture system refactoring and cleanup, fixes #2455 , patch by IronNerd.
...
This was SVN commit r14835.
2014-03-13 02:37:05 +00:00
Enrique
a068935789
Ptolemaic dock upgrade. Fixes #2217
...
This was SVN commit r14834.
2014-03-12 18:38:16 +00:00
mimo
180b44e565
let the AI know that a unit has no more orders
...
This was SVN commit r14832.
2014-03-11 22:42:41 +00:00
Enrique
6274c7ffe8
Added ptolemaic quinquereme. Fixes #2232
...
This was SVN commit r14830.
2014-03-10 13:37:18 +00:00
mimo
9f1bcc2475
fix AI error
...
This was SVN commit r14829.
2014-03-09 22:26:41 +00:00
scythetwirler
0e0cd65134
Some GUI alignment/sizing improvements.
...
This was SVN commit r14828.
2014-03-09 19:24:17 +00:00
Yves
0e7c92e1e6
Fixes behaviour change in Atlas' JSON serialization after the switch to JSON Spirit ( #2434 ).
...
This caused problems setting the starting camera.
Refs #2434
This was SVN commit r14827.
2014-03-09 17:55:54 +00:00
JoshuaJB
8959e63a53
Add back unintentionally removed idle workers button tooltip.
...
This was SVN commit r14826.
2014-03-09 02:42:42 +00:00
Mythos_Ruler
e6f7ef78dc
Removes legacy "technologies" folder.
...
This was SVN commit r14824.
2014-03-09 00:10:41 +00:00
Mythos_Ruler
7698e75962
Pyrrhus template.
...
This was SVN commit r14823.
2014-03-09 00:08:25 +00:00
Mythos_Ruler
0603392f03
Acropolis Bay.
...
This was SVN commit r14822.
2014-03-09 00:08:00 +00:00
Mythos_Ruler
119849defc
Pyrrhus hero.
...
Some map stuff and actor changes (remove the elephants from Pericles).
This was SVN commit r14821.
2014-03-09 00:07:28 +00:00
Mythos_Ruler
d214d8f61c
Some map changes.
...
This was SVN commit r14820.
2014-03-09 00:02:33 +00:00
JoshuaJB
fb65288463
Fix hover effect not regenerating after mousedown events, minor GUI code cleanup, and fix #2414
...
This was SVN commit r14819.
2014-03-07 22:43:57 +00:00
Yves
c8bdd993c0
Upgrades cxxtest.
...
Switches to the already committed new cxxtest sources and deletes the
old sources.
Applies the changes from 6374080b60 and 4a57fed5a7 to the updated
sources.
Replaces the cxxtestgen.exe for Windows. This file was created from
cxxtest's python script using pywin32.
Modifies update-workspace.sh to force a rebuild when cxxtest options
could have been changed during the premake step.
Adds an additional option (--jenkins-tests) to
premake4.lua/update-workspaces.sh to use cxxtest's XmlPrinter which
generates output than can be used by Jenkins.
Fixes #2450
This was SVN commit r14818.
2014-03-07 20:58:17 +00:00
feneur
a9368a4463
Updated tooltip to reflect the new max gatherer limit
...
This was SVN commit r14816.
2014-03-07 12:09:39 +00:00
sanderd17
66942c74fa
Be more forgiving for training spaces (which cause empty strings on splitting) and avoid using bigger fonts for non-capitalisable signs in headings
...
This was SVN commit r14815.
2014-03-07 11:11:45 +00:00
sanderd17
32cf46f01c
Fix some 'undefined' problems reported by Lion.Kanzen + improve coding style.
...
This was SVN commit r14814.
2014-03-07 08:27:13 +00:00
JoshuaJB
29f94a759c
Fix an issue with lobby registration and a minor wording tweak.
...
This was SVN commit r14813.
2014-03-07 01:52:06 +00:00
scythetwirler
abbd6efef1
Updates outdated/incorrect hotkeys.
...
This was SVN commit r14812.
2014-03-06 23:57:02 +00:00
scythetwirler
8a98bca9b2
Fixes the last z order (hopefully) and a style inconsistency.
...
This was SVN commit r14811.
2014-03-06 22:45:13 +00:00
scythetwirler
ec26f1de83
Reduces z order to fix ai dialog.
...
This was SVN commit r14810.
2014-03-06 22:34:15 +00:00
JoshuaJB
8f30e722ab
Some inconsequential style adjustments.
...
This was SVN commit r14809.
2014-03-06 02:24:06 +00:00
scythetwirler
ef76d24e66
Fixes z order and a capitalization error.
...
This was SVN commit r14808.
2014-03-06 02:00:12 +00:00
scythetwirler
5f5cfb10ee
Fixes a typo and makes naming of the fading consistent with other sprites.
...
This was SVN commit r14807.
2014-03-05 21:24:48 +00:00
sanderd17
f3714a7075
Fix invalid count for entityMaps
...
Improve error reporting on failed deserializations
Fixes #2328
This was SVN commit r14806.
2014-03-05 14:58:17 +00:00
JoshuaJB
02024370d8
Fix a warning in Visual Studio 2010 related to some of my recent changes.
...
This was SVN commit r14805.
2014-03-05 01:06:13 +00:00
scythetwirler
5582409973
Converts most parts of the game to use Pureon's new UI
...
This was SVN commit r14804.
2014-03-04 02:23:01 +00:00
Yves
1a2f889bb9
7cba43c9db changed the behaviour in case of undefined values which was not intended even if there's a warning now.
...
This should revert to correct behaviour for undefined values again (even
though this value should never be undefined).
Refs 2372
This was SVN commit r14803.
2014-03-03 23:01:49 +00:00
Yves
7cba43c9db
Fixes warnings printed by the new SpiderMonkey.
...
Sets SelectableInGameSetup to true in all civ json files that didn't
have it set.
Having this value set to undefined (not set) was interpreted as true,
which is quite arbitrary.
With the new SpiderMonkey a warning will be printed if the value is
undefined.
This avoids ambiguity but makes the setting mandatory.
Refs #2372
This was SVN commit r14802.
2014-03-03 21:58:15 +00:00
Yves
df43e32a59
Second try fixing the eol-styles
...
This was SVN commit r14801.
2014-03-03 21:36:24 +00:00
Yves
234f2003a3
Fix inconsistent line endings and add svn:eol-style property
...
This was SVN commit r14800.
2014-03-03 21:13:36 +00:00
Enrique
2d0e996725
Added modified Stanislas69 Pyrrhus helmet with textures.
...
Added an extra variation for brass and iron textures variations of
ptolemaic_romanized and thracian horned helmets.
Added playercolor to the thracian horned helmet crest.
This was SVN commit r14799.
2014-03-02 10:59:36 +00:00
Yves
e290abc40f
Should fix the Atlas build issues with the autobuilder.
...
For some reason the autobuilder does not know uint32_t but my Windows
system with VC2010 and my Linux system both do.
Refs #2434
This was SVN commit r14797.
2014-03-01 14:41:32 +00:00
mimo
c2c172271f
fix AI error, not reseting all units after a successful attack
...
This was SVN commit r14796.
2014-03-01 14:36:35 +00:00
Mythos_Ruler
05225a66ac
Horned helmet to Thracian cavalry.
...
This was SVN commit r14794.
2014-03-01 10:37:45 +00:00
mimo
57e995e618
fix AI error, the freeze of this collection prevented promoted and packed units to be updated during attack
...
This was SVN commit r14793.
2014-03-01 09:35:30 +00:00
wraitii
4e5eeba27b
Fix the skybox.
...
This was SVN commit r14792.
2014-02-28 18:23:24 +00:00
Enrique
999490bbf5
Added playercolor to ptolemaic romanized crest helmet.
...
This was SVN commit r14791.
2014-02-28 11:46:23 +00:00
Enrique
162a4c42f3
Stan's helmets ptolemaic romanized with and without crest, thracian horned cavalry and perseus hero. Heavily modified.
...
playercolor in crests still pending. Added brass and iron variations,
more subtle variations to come.
This was SVN commit r14790.
2014-02-28 11:32:23 +00:00
wraitii
02860690eb
fix unused parameter warning.
...
This was SVN commit r14789.
2014-02-26 19:16:44 +00:00
wraitii
3f78042f45
Fix tests and C++11 build.
...
This was SVN commit r14788.
2014-02-26 19:08:03 +00:00
Mythos_Ruler
3573a6e9a8
Updated some portraits.
...
Added a Mercenary Thracian Swordsman.
Tweaked some textures.
Added a "gray skin" variation to the Ptolemaic elephant.
Added Saharan Oases skirm map.
This was SVN commit r14787.
2014-02-26 14:29:42 +00:00
Enrique
6b94ae9f59
Added two ptolemaic howdah variations for the champion elephant.
...
This was SVN commit r14786.
2014-02-26 13:53:36 +00:00
mimo
d8903c0c6f
fix AI error
...
This was SVN commit r14785.
2014-02-25 22:43:03 +00:00
wraitii
e2f4379e9a
Fix an issue with corruption of water data when the actor editor opened in Atlas.
...
Potential marginal optimizations to the water data creation code.
This was SVN commit r14784.
2014-02-25 06:27:15 +00:00
Yves
17f8f09399
Removes the ScriptInterface and SpiderMonkey dependencies from Atlas.
...
Replaces the code for JSON parsing and writing with an implementation
using the JSON Spirit library.
Fixes #2434
Refs #1886
This was SVN commit r14783.
2014-02-24 20:22:02 +00:00
mimo
33918a5c41
Fix AI error (with 3eaa9ac4d3) preventing promoted units to stay idle
...
This was SVN commit r14779.
2014-02-24 14:03:13 +00:00
sanderd17
50d93b4332
Was messed up by b3201acd93
...
This was SVN commit r14778.
2014-02-24 12:10:38 +00:00
Enrique
c5f15a13d0
Modified Stanislas69 Seleucid romanized helmet and thracian helmet with several texture variations and organized in actors with variations.
...
Applied the romanized brass helmet with crest to the Seleucid heavy
swordman infantry.
This was SVN commit r14777.
2014-02-23 16:51:10 +00:00
mimo
3eaa9ac4d3
fix AI error
...
This was SVN commit r14776.
2014-02-23 09:51:07 +00:00
Yves
43377fdc5e
Fixes an assertion when DEBUG_SERIALIZER_ANNOTATE is set to 1 and you click on "Host Game" from the main menu.
...
The reason was that CSimulationMessage uses the CBufferBinarySerializer
which did not add debugging annotations and deserialized the created
data with the CStdDeserializer which expects these annotations.
I did not fix the tests which remain broken as before this patch when
annotation is enabled.
This was SVN commit r14775.
2014-02-22 14:30:29 +00:00
Mythos_Ruler
e38fc5f861
Increased Fanatic armor.
...
This was SVN commit r14774.
2014-02-22 13:10:54 +00:00
Mythos_Ruler
554cd510f2
Basic and Advanced Egyptian Pikemen textures.
...
Spec and norm maps for Mediterranean forest floor terrain.
This was SVN commit r14773.
2014-02-22 12:16:20 +00:00
JoshuaJB
a3e1c68b9a
Fix #2373 . Have player resign if not returning to a networked game. Also notify host of networked game that by leaving all other players will be disconnected. Based off patch by boeseRaupe
...
This was SVN commit r14772.
2014-02-21 20:02:23 +00:00
Mythos_Ruler
8c21ec4dfd
Quilted helms for Egyptian pikemen, based on work by Enrique.
...
This was SVN commit r14771.
2014-02-21 14:38:09 +00:00
Enrique
42d31da1bb
ptolemaic quilted helmet commit.
...
This was SVN commit r14770.
2014-02-21 14:13:46 +00:00
sanderd17
c44b48bd59
Fix Atlas lag due to Position component that listens to the territoriesChanged message
...
This was SVN commit r14768.
2014-02-21 13:42:46 +00:00
scythetwirler
0ea3b7b7dd
Adds the moderator prefix to the playerlist in the lobby.
...
This was SVN commit r14767.
2014-02-20 23:26:36 +00:00
JoshuaJB
a725266337
Slightly better options menu.
...
This was SVN commit r14766.
2014-02-20 22:45:43 +00:00
JoshuaJB
e182b4ddd2
Fix a valgrind warning about uninitilized variables in the scrollbar code and some comment/style fixes.
...
This was SVN commit r14764.
2014-02-19 21:59:07 +00:00
Mythos_Ruler
facf119241
Farm fields back to 5 workers.
...
This was SVN commit r14763.
2014-02-19 17:54:34 +00:00
scythetwirler
2429f1e93c
Displays ratings on the gamesetup page and formats ratings less than 1000 correctly.
...
This was SVN commit r14762.
2014-02-19 00:40:35 +00:00
mimo
a4ec034bb5
fixes some AI errors
...
This was SVN commit r14761.
2014-02-18 18:19:33 +00:00
sanderd17
039b06e012
Enable selection of dogs when selecting idle warriors. Patch by tau. Fixes #2436
...
This was SVN commit r14760.
2014-02-17 21:40:47 +00:00
Mythos_Ruler
b5c8faa367
Aura tooltip for Ptolemaic heroes. Auras themselves are not complete.
...
This was SVN commit r14759.
2014-02-17 15:54:17 +00:00
Mythos_Ruler
41534b1eda
Arrow shooting buildings only increase arrows when ranged infantry are garrisoned inside.
...
Removing some unused textures.
This was SVN commit r14758.
2014-02-17 15:11:47 +00:00
Enrique
c3dd79aa22
Ptolemaic mercenary camp commit.
...
This was SVN commit r14757.
2014-02-17 13:13:25 +00:00
sanderd17
322d78b9a5
remove debug warning
...
This was SVN commit r14755.
2014-02-16 15:23:50 +00:00
sanderd17
19965ce37a
Fix missing territory decay when moving out of territory without changing the actual territory. Add possibility to check movement over territory boders in the JS simulation part. Based on patch by niektb
...
This was SVN commit r14754.
2014-02-16 15:22:11 +00:00
scythetwirler
f92a46330d
Anti-disconnect addition to the gamesetup screen. Also fixes typo in the lobby bot README.
...
This was SVN commit r14753.
2014-02-16 06:22:16 +00:00
scythetwirler
be881dc420
Reformat the database to accept the additional summary counters as well as adding a couple summary counters. Also deletes unnecessary welcome message and deletes whitespace. Refs #686 .
...
This was SVN commit r14752.
2014-02-16 06:06:16 +00:00
Enrique
ab9a6b6303
Stanislas69' iberian tower modification commit.
...
This was SVN commit r14751.
2014-02-14 21:46:37 +00:00
Enrique
05bfe7dca0
Ptolemaic market commit
...
This was SVN commit r14750.
2014-02-14 17:18:29 +00:00
mimo
35f3dd03d9
improve ship behaviour when picking units
...
This was SVN commit r14749.
2014-02-13 20:21:27 +00:00
Yves
581c7635e1
Makes our favourite example of escaping even more awesome.
...
Codeblocks 12.11 requires an additional $ sign. This will break 10.05
and I haven't tested it with 13.12 or on other systems than Ubuntu.
This was SVN commit r14748.
2014-02-13 15:21:14 +00:00
Mythos_Ruler
a921c5c2fb
Portrait for Egyptian Pikeman.
...
Fixed a thing with the Ptolemies sandbox map.
Tweaked the elite Egyptian pikeman shield.
This was SVN commit r14747.
2014-02-13 15:08:01 +00:00
Mythos_Ruler
14a7e60bd5
Elite Egyptian Pikeman.
...
This was SVN commit r14746.
2014-02-11 17:51:01 +00:00
mimo
e49b1e1ceb
fix AI error
...
This was SVN commit r14745.
2014-02-09 19:54:50 +00:00
mimo
d8152f1eda
exchange if order otherwise we can't make a trade route with a damaged market
...
This was SVN commit r14744.
2014-02-09 18:42:06 +00:00
Enrique
44eb336dfe
Added 4 stall variations as eyecandy with different cloth textures.
...
Added material for barley/wheat props.
Modified spec and normal maps of ptolemaic struct (for matching last
edit adding carpets)
This was SVN commit r14743.
2014-02-09 16:51:33 +00:00
Yves
9780d7177d
Adds some missing vars.
...
This was SVN commit r14742.
2014-02-09 16:04:30 +00:00
Mythos_Ruler
dea18ed318
4-player Greek Acropolis skirmish map
...
This was SVN commit r14741.
2014-02-09 13:07:33 +00:00
mimo
c5beeb7a02
rename Median Oasis maps, fixes #2425
...
This was SVN commit r14740.
2014-02-09 09:48:14 +00:00
JoshuaJB
df1221e9f5
Correct inverted sprites on modern tickbox and add a default modern tooltip style.
...
This was SVN commit r14739.
2014-02-09 05:31:25 +00:00
wraitii
01611c1675
Fixes AI error when building a new base, and improves the AI's early game and tendency to grab terrain. Fixes incorrect release of some units by the defense manager.
...
This was SVN commit r14738.
2014-02-07 18:36:37 +00:00
mimo
05f13bb1d8
fix ai bug
...
This was SVN commit r14737.
2014-02-07 18:00:41 +00:00
mimo
563768363b
clean useless formations
...
This was SVN commit r14736.
2014-02-07 17:01:01 +00:00
Spahbod
a0b0b6d74e
Applying the new improvements: Gear, Guadalquivir River.
...
This was SVN commit r14735.
2014-02-07 09:23:14 +00:00
mimo
7277385891
fix typo
...
This was SVN commit r14734.
2014-02-07 07:52:10 +00:00
Yves
31e98e5c03
Reverts f25edfd8f1. Structured clones don't support cyclic references in SpiderMonkey v1.8.5.
...
SpiderMonkey v24 supports it and I'll add this change to #1886 instead.
Refs #2416
Refs #2415
Refs #1886
This was SVN commit r14733.
2014-02-06 13:32:09 +00:00
JoshuaJB
fa85527baf
Send messages in queue before closing connection, patch by boeseRaupe. Fixes #2420
...
This was SVN commit r14732.
2014-02-05 02:44:25 +00:00
historic_bruno
035078c317
Disables checks in os_cpu_LargePageSize Windows implementation, since they failed on Vista SP2 with old Xeon CPU, fixes #2346
...
This was SVN commit r14731.
2014-02-04 22:30:29 +00:00
JoshuaJB
72d306873f
Correctly handle the keypad enter in CInput.cpp and make the return key case catch SDLK_RETURN instead of '/r' for consistancy and readability.
...
This was SVN commit r14730.
2014-02-03 21:46:27 +00:00
Mythos_Ruler
91be7d9bd1
New history blurb for Skiritai by forum contributor Thorfinn.
...
This was SVN commit r14729.
2014-02-03 16:25:08 +00:00
Mythos_Ruler
e408ac46b1
2 player skirmish Median Oasis.
...
This was SVN commit r14728.
2014-02-03 16:16:31 +00:00
LordGood
e329a93978
Ghost commit for fields
...
This was SVN commit r14727.
2014-02-03 05:12:36 +00:00
sanderd17
9971e3cfab
Add formation check
...
This was SVN commit r14726.
2014-02-02 09:15:34 +00:00
historic_bruno
4be80f9322
Improves error handling in sound manager. Fixes some crashes and errors that could occur when OpenAL failed to init properly, fixes #2183 , #2345
...
This was SVN commit r14725.
2014-02-02 05:58:27 +00:00
Yves
f25edfd8f1
Removes ValueCloner.
...
Fixes #2416
Refs #2415
Refs #1886
This was SVN commit r14724.
2014-02-01 20:37:33 +00:00
wraitii
c9aeaa1612
Fix a "big typo" in the attack plans, thanks mimo.
...
This was SVN commit r14723.
2014-02-01 18:34:24 +00:00
wraitii
ddf9d948cf
Fix some more debug in the AI.
...
This was SVN commit r14722.
2014-02-01 18:05:39 +00:00
mimo
5b506ceee3
prevent AI to try to attack its allies, fix #2393
...
This was SVN commit r14721.
2014-02-01 17:59:29 +00:00
mimo
e21f052803
prevent error when an animal changes ownership
...
This was SVN commit r14720.
2014-02-01 17:55:27 +00:00
Mythos_Ruler
94a240737c
Added more territory auras.
...
Fixed the Theatron for Hellenic civs. It now uses the Hellenization
effect correctly!
This was SVN commit r14719.
2014-02-01 12:09:06 +00:00
Spahbod
1f1a2ead44
Adding the missing cheats from [14712]. Refs #2072
...
This was SVN commit r14718.
2014-02-01 09:11:38 +00:00
scythetwirler
e4e32c8cd7
Fixes a typo from 1d3ac14d35.
...
This was SVN commit r14717.
2014-02-01 03:55:24 +00:00
wraitii
e6cf2f23c5
Fix AI debug mode.
...
This was SVN commit r14716.
2014-02-01 03:29:55 +00:00
wraitii
c3cdf40f33
Somewhat experimental rewrite and simplification of the worker's logic to choose dropsites. Might behave unexpectedly now and then.
...
Error fixes here and there.
This was SVN commit r14715.
2014-02-01 00:44:12 +00:00
Mythos_Ruler
12aa170c58
Trying different territory weights.
...
This was SVN commit r14713.
2014-01-31 18:47:08 +00:00
sanderd17
60619dbf3f
Add technologies cheat. Fixes #2072 . Patch by boeseRaupe
...
This was SVN commit r14712.
2014-01-31 15:30:16 +00:00
Spahbod
1fad924411
Checking if cmpPlayer is valid.
...
This was SVN commit r14711.
2014-01-31 14:47:23 +00:00
Spahbod
9fe465884d
Implements resource trickle. Allows decimal player resources. Fixes #2413 .
...
This was SVN commit r14710.
2014-01-31 12:01:49 +00:00
JoshuaJB
0157e640cc
Make my last commit C++98 compatible.
...
This was SVN commit r14709.
2014-01-31 01:26:08 +00:00
Enrique
c3d9769622
Fixed iberian corral cloth ao texture assigned
...
This was SVN commit r14708.
2014-01-30 19:36:38 +00:00
Spahbod
708f003df3
Applying the new improvements: English Channel, Fortress
...
More cleanup and tweaks.
This was SVN commit r14707.
2014-01-30 17:09:45 +00:00
JoshuaJB
ff4ed09b6f
Backend for special formatting of moderaters in the lobby userlist.
...
This was SVN commit r14706.
2014-01-30 15:46:19 +00:00
Yves
bab3a08643
Fixes a crash introduced in fd187f466f by ensuring that the CScriptValRooted values are destroyed before calling JS_DestroyContext.
...
I've tested the performance on Combat Demo (Huge) again with the code
from #2394 .
It's very close but probably a little bit lower (hard to tell because
it's so close).
Closes #2408
Refs #2394
This was SVN commit r14705.
2014-01-30 13:21:36 +00:00
JoshuaJB
b9eea330d0
Strip some whitespace and fix a warning in session.js
...
This was SVN commit r14704.
2014-01-29 19:00:47 +00:00
sanderd17
1d3ac14d35
Better summary screen. Fixes #686 . Patch by Bajter and Kabzerek
...
This was SVN commit r14703.
2014-01-29 18:30:56 +00:00
sanderd17
459f13e72b
Clean up the colorfade code. Patch by boeseRaupe, fixes #2395
...
This was SVN commit r14702.
2014-01-29 14:49:36 +00:00
Spahbod
7395d9c75a
Applying the new improvements: Canyon, Continent, Corinthian Isthmus
...
Some cleanup and small tweaks.
This was SVN commit r14701.
2014-01-29 14:21:48 +00:00
sanderd17
639b583d31
Fix scatter formation
...
This was SVN commit r14700.
2014-01-29 14:01:21 +00:00
leper
d6f8742f9b
Change hawk and boar skeletons so that the root identifiers are unique. Fixes #2332 .
...
Also adjust the DAEs to fit the new identifiers.
This was SVN commit r14699.
2014-01-29 04:14:24 +00:00
sanderd17
f097078d46
Send the move command directly instead of going through the FSM. That way, the failure can be catched earlier on. Should fix #2410
...
This was SVN commit r14698.
2014-01-28 20:40:38 +00:00
mimo
8953179e1a
allow the possibility to define route with waypoints when doing trade, fixes #1207 , #1821 and #1822
...
This was SVN commit r14697.
2014-01-28 18:56:39 +00:00
mimo
23777ba736
fix cbc1c9f0ab
...
This was SVN commit r14696.
2014-01-27 19:25:38 +00:00
Mythos_Ruler
325f9ca9a9
Sorry Brits. Changed "plough" (British spelling) to "plow" (American/Canadian spelling) after seeing more than one person on Youtube mispronounce the word.
...
Can only build 1 Juggernaut.
All champion cavalry now cost Food and Metal.
This was SVN commit r14695.
2014-01-27 16:16:32 +00:00
sanderd17
c751500907
Refactor some formation code to let it make use of the prototypes
...
This was SVN commit r14693.
2014-01-27 12:34:59 +00:00
JoshuaJB
7bcdb9f46d
Remove two un-needed string initilizations from my earlier changes.
...
This was SVN commit r14692.
2014-01-27 05:46:21 +00:00
leper
78ff9a8480
Fix compilation failures with wxWidgets 3.0. Fixes #2375 .
...
This was SVN commit r14691.
2014-01-27 00:02:03 +00:00
historic_bruno
0406c89908
Implements GetMonitorSize for OS X, patch by Echelon9, fixes #2390
...
This was SVN commit r14690.
2014-01-26 23:03:45 +00:00
mimo
cbc1c9f0ab
fixes remaining town bell defects, closes #2353 , patch by Itms
...
This was SVN commit r14689.
2014-01-26 20:37:39 +00:00
JoshuaJB
c61badb04c
Fix typo.
...
This was SVN commit r14688.
2014-01-26 19:29:21 +00:00
JoshuaJB
2a1240008c
Make my previous changes < C++11 compatible.
...
This was SVN commit r14687.
2014-01-26 19:23:50 +00:00
JoshuaJB
5e70bd3628
Fix and cleanup my recent changes.
...
This was SVN commit r14686.
2014-01-26 19:01:21 +00:00
mimo
cb3a8d868a
fix bug when garrisoning under alert and garrisonHolder is full, patch by Itms, see #2353
...
This was SVN commit r14685.
2014-01-26 18:28:55 +00:00
mimo
3e1fc74add
improve alert tooltip, see #2353
...
This was SVN commit r14684.
2014-01-26 18:17:13 +00:00
mimo
9ed11bc404
keep work orders when in alert, patch by Itms, addresses #2353
...
This was SVN commit r14683.
2014-01-26 18:01:29 +00:00
sanderd17
09a2729503
fix a fix
...
This was SVN commit r14682.
2014-01-26 09:40:54 +00:00
sanderd17
f1ab9b8e57
Check isInWorld before asking position
...
This was SVN commit r14681.
2014-01-26 09:24:32 +00:00
JoshuaJB
5ec0dc8ae8
Fix a bug with one of the lobby settings I added to the options window.
...
This was SVN commit r14680.
2014-01-26 05:51:48 +00:00
JoshuaJB
39fef5c299
Add the ability to display chat messages when joining the lobby and quickly mostly update the options window to the new UI style.
...
This was SVN commit r14679.
2014-01-26 05:39:55 +00:00
scythetwirler
a8fbe4eedc
Centralizes centering rating into one function.
...
This was SVN commit r14678.
2014-01-26 05:27:00 +00:00
JoshuaJB
041c6ab1b3
More lobby cleanup.
...
This was SVN commit r14677.
2014-01-26 04:25:35 +00:00
historic_bruno
58a44bfbcb
Adds missing comment in build-osx-libs.sh
...
This was SVN commit r14676.
2014-01-26 03:40:54 +00:00
historic_bruno
5187c6e4a5
Explicitly disables SDL X video driver in build-osx-libs.sh, to fix SDL_VIDEO_DRIVER_X11 definition used in HWDetect.cpp
...
This was SVN commit r14675.
2014-01-26 03:12:05 +00:00
historic_bruno
937ee8f77c
Fixes clang "hidden overloaded virtual function" warning, patch by Echelon9, fixes #2388
...
This was SVN commit r14674.
2014-01-26 01:20:34 +00:00
JoshuaJB
0db9a18d39
Fix issue where lobby spam was being sent to external clients.
...
This was SVN commit r14672.
2014-01-25 21:58:22 +00:00
JoshuaJB
851c05a038
Cleanup and spam blocker redesign in lobby.js.
...
This was SVN commit r14671.
2014-01-25 20:51:01 +00:00
JoshuaJB
41a7c78e62
Fix some stuff in XmppClient.cpp on leper's recommendation.
...
This was SVN commit r14670.
2014-01-25 20:49:48 +00:00
mimo
28a707f98f
small cleaning
...
This was SVN commit r14669.
2014-01-25 19:58:59 +00:00
scythetwirler
69991cd110
Deletes extra whitespace from last commit.
...
This was SVN commit r14668.
2014-01-25 19:00:22 +00:00
scythetwirler
e183e87333
Adds a message that is triggered whenever the bot's name is mentioned when a user doesn't recognize the bot isn't human (which happens quite a lot)
...
This was SVN commit r14667.
2014-01-25 18:57:28 +00:00
Enrique
2b407a03eb
Added Stanislas69 iberian corral with several fixes.
...
Fixed iberian struct normal and specmap.
This was SVN commit r14666.
2014-01-25 16:50:21 +00:00
sanderd17
9eb26c2622
Fix infinite loop when attacking a formation without valid targets
...
This was SVN commit r14665.
2014-01-25 16:27:55 +00:00
Mythos_Ruler
0f5e5fddd6
This was SVN commit r14664.
2014-01-25 14:45:58 +00:00
JoshuaJB
12a691edc2
Make my previous changes support < C++11 and Windows.
...
This was SVN commit r14661.
2014-01-24 20:31:39 +00:00
Mythos_Ruler
3f00d0cc9c
Fix some broken maps. Delete some others.
...
This was SVN commit r14660.
2014-01-24 20:23:11 +00:00
sanderd17
ecaded076f
Improve the Vector prototype with static functions. Replace the usage of the Math vector functions with functions from the Vector class.
...
This was SVN commit r14659.
2014-01-24 19:51:00 +00:00
JoshuaJB
5d4f509810
Update existing minimap idle button, add minimap idle button highlight and disabled, and some style fixes in session.xml. Refs #823 and refs #2357
...
This was SVN commit r14658.
2014-01-24 18:40:01 +00:00
Mythos_Ruler
2f145b1578
Iron Spearheads tech now affects all spear units (not just infantry spearmen).
...
Javelin Thong tech now affects all javelin units (not just infantry
javelinists).
Some shield tweaking.
Some more portraits.
This was SVN commit r14657.
2014-01-24 18:28:26 +00:00
JoshuaJB
b46a6de335
Allow using the XMPP room subject to display lobby information to user, make the lobby GUI code more readable, and cleanup the modern styles.
...
This was SVN commit r14656.
2014-01-24 18:20:15 +00:00
JoshuaJB
dd274113bc
Fix #2403
...
This was SVN commit r14655.
2014-01-24 18:15:42 +00:00
Enrique
d5609e33a6
Fixed elephant african bush actor and mesh
...
This was SVN commit r14654.
2014-01-24 15:04:58 +00:00
Spahbod
609e789cea
Fixing the bug with the ramp in Cantabrian Highlands.
...
Applying the new improvements: Archipelago, Atlas Mountains, Cantabrian
Highlands.
This was SVN commit r14653.
2014-01-24 12:28:30 +00:00
scythetwirler
f94a1aeac0
Checks for game end after toggling diplomacy. Also adds a comment for clarification to the lobby bot. Refs #2402 .
...
This was SVN commit r14652.
2014-01-24 00:38:08 +00:00
scythetwirler
53900c082b
Added some criteria for rated games. Fixes #2402 .
...
This was SVN commit r14651.
2014-01-24 00:22:50 +00:00
scythetwirler
e5e634f768
Displays ratings in the userlist. Fixes #2371 .
...
This was SVN commit r14650.
2014-01-23 23:13:13 +00:00
Enrique
d82282e358
Added animations for african bush elephant.
...
This was SVN commit r14649.
2014-01-23 21:41:58 +00:00
Mythos_Ruler
cf851a7789
A bunch of naming stuff.
...
This was SVN commit r14648.
2014-01-23 18:32:21 +00:00
Enrique
35517f2cd6
commited basic_glow.xml material for self-illumination objects.
...
This was SVN commit r14647.
2014-01-23 17:50:00 +00:00
sanderd17
fd187f466f
Add vector prototype to vector-like return values from C++ to JS. Fixes #2394 .
...
This was SVN commit r14645.
2014-01-23 11:32:08 +00:00
sanderd17
d677033c4c
Serialise Cost component since the population bonus is tech-modifiable. Fixes #2399
...
This was SVN commit r14644.
2014-01-23 08:56:22 +00:00
JoshuaJB
df0cdf8561
Fix typo in the Lake random map script.
...
This was SVN commit r14643.
2014-01-23 04:48:52 +00:00
Enrique
8d5c02091a
Added greek, arabic and big tents as eyecandy, they will be used in the ptolemaic mercenary camp.
...
Added Stanislas69's new gaul farmstead with some fixes. (Thanks
Stanislas69!)
Added carpet texture fragments to the ptolemaic struct texture
This was SVN commit r14642.
2014-01-22 22:59:06 +00:00
sanderd17
ef79e8305b
An addition to bd3f5a8085, also refs #1964
...
This was SVN commit r14641.
2014-01-22 20:56:14 +00:00
sanderd17
bd3f5a8085
Removing the AI check for producing un-allowed units. Should be fixed in the AI side with ad8fa37f17. Refs #1964 .
...
This was SVN commit r14640.
2014-01-22 20:47:51 +00:00
wraitii
ad8fa37f17
Improve some building placement. May improve dropsite usage slightly.
...
Should fix #1964
This was SVN commit r14639.
2014-01-22 20:26:45 +00:00
sanderd17
1fedf11e9e
Use a filter to pick a new attack target in the same turn, while still avoiding an infinite loop
...
This was SVN commit r14638.
2014-01-22 18:38:15 +00:00
wraitii
a58acb28f0
Style improvements (thanks Leper).
...
Fix AI building its buildings closer together by properly moving failed
foundations out of the world.
This was SVN commit r14637.
2014-01-22 17:54:20 +00:00
Mythos_Ruler
546a26467f
Cavalry Spearmen for Sparta. Gives them a melee cavalry for proper anti-siege.
...
This was SVN commit r14636.
2014-01-22 16:34:00 +00:00
Mythos_Ruler
01ec56cc0c
A bunch of updated portraits. Thinking of going this color-coded route: Blue for citizen-soldiers. Red for champions and heroes. Maybe green for mercenary soldiers.
...
Tweaked a couple footprints.
This was SVN commit r14635.
2014-01-22 15:42:28 +00:00
sanderd17
32844e9a16
Fix tests + improve behaviour of attacking when not in formation
...
This was SVN commit r14634.
2014-01-22 15:13:07 +00:00
sanderd17
04aba0e41a
Let certain formations stay in formation while attacking
...
This was SVN commit r14633.
2014-01-22 13:20:55 +00:00
wraitii
de02ab2e53
Fix various bugs. Try to make the AI build its buildings closer together (WIP, and it's brute-force).
...
This was SVN commit r14632.
2014-01-22 03:11:19 +00:00
mimo
df3bdcf8ca
add back some lines removed unintentionally by previous tag
...
This was SVN commit r14631.
2014-01-21 22:59:21 +00:00
mimo
41d3366f6a
check version and mods before loading a file, fixes #2361 and #2385 .
...
This was SVN commit r14630.
2014-01-21 22:49:42 +00:00
wraitii
7d18fecbcd
Fix some errors reported by Gildas, Lion_Kanzen and Gameboy. Prepare for formation fighting in the attack plans by having a more generic "army" component.
...
This was SVN commit r14629.
2014-01-21 20:24:51 +00:00
sanderd17
e466565c35
Let formations attack other formations (still without keeping their formation position though)
...
This was SVN commit r14628.
2014-01-21 16:50:58 +00:00
sanderd17
2ca25a6d3e
differentiate between formations that can attack, and formations that can only move. Use the differentiation in the range calculation.
...
This was SVN commit r14627.
2014-01-21 09:10:17 +00:00
leper
453bd6c8a0
Fix typo (Cepio -> Caepio), reported by qwertz.
...
This was SVN commit r14626.
2014-01-21 00:41:17 +00:00
Spahbod
3955447b5b
Applying the new improvements: Alpine Lakes, Anatolian Plateau
...
This was SVN commit r14625.
2014-01-20 15:44:28 +00:00
sanderd17
7763a22c08
revert having giving the attack state to formation controllers as it caused too much trouble
...
This was SVN commit r14624.
2014-01-19 18:03:43 +00:00
Spahbod
72ad5467e8
Applying the new improvements: Aegean Sea, Lake, Rivers
...
This was SVN commit r14623.
2014-01-19 15:38:02 +00:00
Mythos_Ruler
8b2037e5ee
Some naming stuff.
...
Reduced the size of a spec map.
This was SVN commit r14622.
2014-01-19 12:58:18 +00:00
Spahbod
6036b48c1d
WIP: Completing the unified random map syntax.
...
This was SVN commit r14621.
2014-01-19 11:58:24 +00:00
Spahbod
d06ab6514b
WIP: Setting ground for a unified random map syntax. Might break some current random maps.
...
Faster generation.
Better mountains.
Larger forests.
Should make it easier to design/tweak random maps.
This was SVN commit r14620.
2014-01-19 06:51:41 +00:00
alpha123
8845910f9c
Of course the time I don't test before committing is the time I make a syntax error. I think the RNG hates me.
...
This was SVN commit r14619.
2014-01-19 02:57:40 +00:00
alpha123
7a520adbf3
Improve the wording of attack tooltips.
...
This was SVN commit r14618.
2014-01-19 02:01:21 +00:00
historic_bruno
3c04cdb8e0
Updates LICENSE.txt for 29a8df5029, refs #2308 .
...
Sets svn:ignore property on generated cpp from encryption tests.
This was SVN commit r14617.
2014-01-18 23:41:27 +00:00
wraitii
f2f0307a25
fix typo.
...
This was SVN commit r14616.
2014-01-18 21:05:53 +00:00
sanderd17
c2d43b009c
Fix asking for non-existing templates of killed units
...
This was SVN commit r14614.
2014-01-18 20:56:21 +00:00
JoshuaJB
3cde5632ff
Fix StoneCrossBox sizing.
...
This was SVN commit r14613.
2014-01-18 20:29:21 +00:00
wraitii
9330975d54
Fix Athens not researching civ phase. Make the AI adapt automatically to changing the max gatherers on fields.
...
Fix auto-researched technologies not being properly researched on init.
Fix the tests (amazing!).
GarrisonHolder sends which entities were added or removed (mostly for AI
purposes but could benefit other things).
Streamline AIInterface events.
This was SVN commit r14612.
2014-01-18 20:26:52 +00:00
Mythos_Ruler
76451a297e
This was SVN commit r14611.
2014-01-18 20:21:06 +00:00
alpha123
c4643d925d
Fix two bugs in attack tooltips. Add an extra Math.round to ensure we don't get huge decimals, and use a building's default arrow count as a minimum in rate calculation.
...
This was SVN commit r14610.
2014-01-18 19:20:17 +00:00
alpha123
ea526eedd1
Adjust the attack tooltips. Make the formatting for attack rate more consistent and use meters instead of tiles for range.
...
This was SVN commit r14609.
2014-01-18 18:59:51 +00:00
alpha123
046c5ef74c
Make chariots faster, and give them a more consistent (and slightly smaller) obstruction radius.
...
Citizen chariots are now 15.0 speed (1 faster than cavalry), champion
chariots 16.0, and hero chariots 18.0.
This was SVN commit r14608.
2014-01-18 18:08:02 +00:00
Mythos_Ruler
ca6301c399
Reduced number of gatherers for farms from 5 to 3 for testing.
...
This was SVN commit r14607.
2014-01-18 16:47:04 +00:00
JoshuaJB
c02dafec74
Move simulation Vector math to globalscripts/Math.js. Refs #2032 .
...
This was SVN commit r14606.
2014-01-18 15:27:30 +00:00
Mythos_Ruler
ae35ed255f
For the Celts, moved Blacksmith to the Village Phase. This isn't much of a bonus yet until we get some unique tech trees for the Blacksmith.
...
This was SVN commit r14605.
2014-01-18 15:04:20 +00:00
Mythos_Ruler
061c5f8ced
Fixing pop cost for advanced Persian chariot.
...
This was SVN commit r14604.
2014-01-18 15:03:08 +00:00
Mythos_Ruler
36edaa5635
Siege Workshop for the Macedonians. Needs a new model.
...
Persians get the Nisean War Horses tech.
This was SVN commit r14603.
2014-01-18 15:02:16 +00:00
JoshuaJB
29a8df5029
Change the licence of sha.h to match the licence of sha.cpp. Refs #2308
...
This was SVN commit r14602.
2014-01-18 13:12:29 +00:00
Mythos_Ruler
8c971c4a10
Trying to make elephant attack sounds not so crazy. Unsuccessful.
...
This was SVN commit r14601.
2014-01-18 12:35:55 +00:00
Mythos_Ruler
c316079cc7
Updated names for female citizens.
...
Updated Seleucid rally banner (still not happy with it).
Fixed name of Nisean War Horses tech.
This was SVN commit r14600.
2014-01-18 12:33:19 +00:00
JoshuaJB
1040cf2034
Add back a new minimap overlay, re-add and implement the original idle button, little whitespace cleanup, and delete some old unused ui images.
...
This was SVN commit r14599.
2014-01-18 02:38:07 +00:00
JoshuaJB
82ab190c5d
Do what my previous commit was supposed to do.
...
This was SVN commit r14598.
2014-01-18 00:37:00 +00:00
JoshuaJB
9ad01e52fb
Add third_party/encryption in premake as required for the lobby.
...
This was SVN commit r14597.
2014-01-17 23:51:23 +00:00
JoshuaJB
94822b791f
Remove automatically generated test .cpp files.
...
This was SVN commit r14596.
2014-01-17 20:17:56 +00:00
JoshuaJB
32258b2ba3
Move lobby encryption code to third_party/encryption and add tests. Fixes #2308
...
This was SVN commit r14595.
2014-01-17 20:14:41 +00:00
Yves
d80967111d
Fixes a problem with the renderpath screen not being displayed.
...
Refs #2241
This was SVN commit r14593.
2014-01-17 18:40:36 +00:00
Yves
377c780ddd
Fixes the problem that functions in globalscripts aren't available from GUI scripts anymore since 4b1297b328.
...
Refs #2241
This was SVN commit r14592.
2014-01-17 18:21:27 +00:00
historic_bruno
c094e72ede
Fixes scoping for icons in GUI text, instead of using only the top page on the stack, which caused errors when dialog boxes popped up over text containing icons
...
This was SVN commit r14591.
2014-01-17 02:54:57 +00:00
scythetwirler
c39b541714
Fixes some typoes in the bot README
...
This was SVN commit r14590.
2014-01-16 23:22:14 +00:00
Mythos_Ruler
aba3d8d9d5
Shield tweaking for the Bronze Shield and Gold Shield pikemen.
...
Adjusted hero health.
Made champions use arrow selections, while citizen soldiers use circles.
A bunch of updated portraits.
Seleucids changes.
Map updates.
New techs.
Roman siege walls a little weaker.
This was SVN commit r14589.
2014-01-16 23:21:57 +00:00
wraitii
c1e86161b5
AIs now properly receive aura and technology updates. Fixes #2377 , Refs #1520 . Consequently reimplement repairing for AIs.
...
Fix a few style issues and a bug with the gatherer count.
Still need to fix the entity.js file to handle properly some things as
this uses raw templates values.
Cache the AIinterface in AIProxy.js, please report if this works
properly.
This was SVN commit r14588.
2014-01-16 20:32:44 +00:00
sanderd17
4b828ae6bf
Fix gaul fortress death variation. Fixes #2374
...
This was SVN commit r14587.
2014-01-16 19:26:39 +00:00
sanderd17
4a133264f5
Fix unit tests
...
This was SVN commit r14586.
2014-01-15 13:36:33 +00:00
wraitii
786afd9fcc
Implement the number of gaia gatherers (it probably won't happen but it's safer that way).
...
Change UnitAI to call "leave" handlers on a conversion, like on a
destruction, so a unit will safely go to idle state on
resignation/conversions. Might fix some very weird bugs that probably
haven't been reported yet.
Reported by AlThePhoenix.
Fixes #2383 .
This was SVN commit r14585.
2014-01-15 00:04:25 +00:00
sanderd17
a6dbf6a268
instead of removing members from formations as in e98478b68c, let the members stay in formation, but disable formation rearrangement in those cases.
...
This fixes issues with queueing orders, and should also fix #2380
This was SVN commit r14584.
2014-01-14 21:32:51 +00:00
wraitii
13105132a4
http://gifrific.com/wp-content/uploads/2012/06/You-Didnt-See-Anything-Madagascar.gif
...
This was SVN commit r14583.
2014-01-14 20:20:53 +00:00
wraitii
d23b7deb98
Various improvements to AI's early game. Simplify some code and improve on other. Add a few different strategies (Rush/normal/boom, quite basic for now, refs #2344 ).
...
Aegis should mostly respect tech limitations so I'll ref #1964 .
I'm going to go with #2364 is fixed, the AI should be more efficient in
early-game, and late-game is a known problem.
Fixes #2274 and fixes #2379 .
Refs #2372 as it should fix several of those warnings for AIs.
Fixes #2256 with a new bartering system, in parts taken from mimo's
patch.
This was SVN commit r14582.
2014-01-14 19:54:31 +00:00
sanderd17
e98478b68c
Make sure units in INDIVIDUAL state don't belong to a formation. Should fix #2380
...
This was SVN commit r14581.
2014-01-14 08:58:11 +00:00
JoshuaJB
0f56dceef2
Give the minimap 20px more on eack side and remove the ugly overlay. Also cleanup some nearby code.
...
This was SVN commit r14580.
2014-01-14 03:25:12 +00:00
leper
2ca0a20f81
Fix a bug in TestAllMemberFunction and initialize a variable in cmpBattleDetection. Refs #2372 .
...
This was SVN commit r14579.
2014-01-12 23:13:24 +00:00
wraitii
a26ab7b1e7
Should fix AI warnings (refs #2372 ).
...
Slight configuration changes to improve the early-game slightly, WIP.
This was SVN commit r14578.
2014-01-12 19:12:55 +00:00
sanderd17
0521d936a1
reduce a GuiInterface call for displaying formation tooltip
...
This was SVN commit r14577.
2014-01-12 18:39:47 +00:00
Yves
34949b0943
Fixes some AI errors and missing VARs.
...
This was SVN commit r14576.
2014-01-12 17:34:18 +00:00
wraitii
6c3bd4db1e
Fix previous AI commit.
...
This was SVN commit r14575.
2014-01-12 02:40:42 +00:00
wraitii
9d02495a96
Fix a few bugs.
...
Improve the AI gamestate to make better use of entity collections,
should be very slightly faster, and it's cleaner.
Remove enemy watchers that were no longer used.
This was SVN commit r14574.
2014-01-12 01:07:07 +00:00
Yves
8195e767ef
Fixes an occasional crash when hotloading GUI files.
...
Refs #2241
This was SVN commit r14573.
2014-01-11 20:53:01 +00:00
wraitii
bc9b76c86b
Fix an error in defense.js (thanks mimo), and an issue in the HQ that made the AI start super slowly on some maps.
...
This was SVN commit r14572.
2014-01-11 18:51:37 +00:00
wraitii
4ef80d26aa
Proper fix for the gatherer count. Fix an AI bug. Thanks to Gameboy and Gildas for reporting.
...
This was SVN commit r14571.
2014-01-11 18:14:13 +00:00
sanderd17
0e0b4e3057
make population bonus technology modifiable
...
This was SVN commit r14570.
2014-01-11 14:55:22 +00:00
sanderd17
96448bfa4e
* add a (currently useless) attack state to formations
...
* add a formation attack component that will be used in the future to
coordinate formation attacks
* clean up some related methods, and move some to more appropriate
places
This was SVN commit r14569.
2014-01-11 12:19:43 +00:00
JoshuaJB
20692a26b0
Fix some undefined errors with unknown presences in the lobby and recougnize the 'gone' presence as away.
...
This was SVN commit r14568.
2014-01-11 03:53:41 +00:00
mimo
eee6ed65dc
still another fix to the gatherer count
...
This was SVN commit r14567.
2014-01-10 22:50:13 +00:00
wraitii
82fa27bad4
http://i.imgur.com/iAwfubL.gif
...
This was SVN commit r14566.
2014-01-10 20:33:47 +00:00
wraitii
df9fb05689
Fix the gatherer count per player further and some style niceness.
...
This was SVN commit r14565.
2014-01-10 20:27:34 +00:00
leper
7606230158
Vars and style fixes.
...
This was SVN commit r14564.
2014-01-10 20:04:37 +00:00
sanderd17
9f243a3372
Disabling the OFFSET_LINE doesn't change any functionality as far as seen, while it fixes #2368 .
...
This was SVN commit r14563.
2014-01-10 19:56:36 +00:00
Yves
11430cf927
Remove scripting directory from premake4.lua
...
(I forgot that in cbc0650a79 )
This was SVN commit r14562.
2014-01-10 19:52:57 +00:00
Yves
cbc0650a79
Removes some unused files
...
This was SVN commit r14561.
2014-01-10 19:38:34 +00:00
wraitii
bd22432fe8
Rename common-api-v3 to common-api.
...
Fix warnings with the new AI.
Fix an error with the per-player gatherer counts.
This was SVN commit r14559.
2014-01-10 17:46:48 +00:00
sanderd17
87250a79c9
delete groups with a right click. Fixes #2341 . Patch by boeseRaupe
...
This was SVN commit r14558.
2014-01-10 16:51:13 +00:00
sanderd17
f9a2c30a17
fix tests
...
This was SVN commit r14557.
2014-01-10 16:36:04 +00:00
Yves
ee39f21b52
Fixes a problem when messageboxes were called without callback function.
...
Fixes #2367
Refs #2241
This was SVN commit r14556.
2014-01-10 16:25:09 +00:00
sanderd17
3d23f81696
Show the number of attacks per second to show users some attack speed, without showing the actual timers, or calcualtion of the number of arrows. Fixes #2352
...
This was SVN commit r14555.
2014-01-10 09:17:40 +00:00
wraitii
72c2853563
Update the tutorial AI (somewhat untested and hacky).
...
This was SVN commit r14554.
2014-01-10 02:08:59 +00:00
wraitii
a6032ddd3f
Removes older AIs and APIs.
...
For the sake of it, we should have a minimal AI sometimes.
This was SVN commit r14553.
2014-01-10 01:48:09 +00:00
wraitii
ede4f32bf2
Change the defense system used by Aegis to use more modular armies. This should be faster and easier to extend, though right now it might not be as efficient as before.
...
Fix a few bugs, including a few bad ones in the economy.
Change the way messages are handled, should be marginally faster in the
later game.
Makes gatherers count limit be per-player (refs #1387 and #643 ).
This was SVN commit r14552.
2014-01-10 01:46:27 +00:00
sanderd17
22a85b0eb4
add dummy setspeed method to UnitMotionFlying
...
This was SVN commit r14551.
2014-01-09 12:53:28 +00:00
mimo
ec36222b20
add more flexibility to eject units when garrisonHolder is destroyed, fixes #2242
...
This was SVN commit r14550.
2014-01-08 18:27:58 +00:00
wraitii
2d806f81f0
If at first you don't succeed…
...
Refs #2359
This was SVN commit r14549.
2014-01-08 18:18:52 +00:00
sanderd17
641c65b1dd
Give some explanation to my change in 0c336649e6
...
This was SVN commit r14548.
2014-01-08 17:57:12 +00:00
sanderd17
0c336649e6
fix repairing buildings
...
This was SVN commit r14547.
2014-01-08 15:39:32 +00:00
LordGood
774d56af7e
Carthaginian farmstead remake
...
This was SVN commit r14546.
2014-01-08 15:19:35 +00:00
sanderd17
9229cea9cc
allow repairing of moving objects
...
This was SVN commit r14545.
2014-01-08 13:39:33 +00:00
sanderd17
f9b950aa96
improve rearrange of idle formation when units are tasked away from the formation + fix formation-settable idle animations
...
This was SVN commit r14544.
2014-01-08 10:55:44 +00:00
sanderd17
e8c4031bea
Don't disband idle formations anymore, but give the formations a decent idle state. Formationmembers still need to leave the formation to anything other than walking, but this is a small step towards attacking formations.
...
This was SVN commit r14543.
2014-01-08 09:47:27 +00:00
sanderd17
4585f7322c
Make the tooltips and the required members part of the formation template + fix allowing the wedge formation only for cavalry
...
This was SVN commit r14542.
2014-01-08 08:02:15 +00:00
JoshuaJB
bec7cfd520
Another attempt to fix the lobby disconnects.
...
This was SVN commit r14541.
2014-01-08 04:22:34 +00:00
historic_bruno
7e87211d91
Attempts to fix crash reported on OS X Mavericks by not calling SDL_SetGamma in that case (this patch was included in the A15 bundles), refs #2272
...
This was SVN commit r14540.
2014-01-08 01:29:04 +00:00
wraitii
0482038af2
Another go at #2359
...
This was SVN commit r14539.
2014-01-08 00:06:26 +00:00
historic_bruno
ad6ed949ee
Fixes unreferenced formal parameter warning in MSVC
...
This was SVN commit r14538.
2014-01-07 23:10:06 +00:00
sanderd17
aadd297cce
Implement the ability to switch animations based on the formation position
...
This was SVN commit r14537.
2014-01-07 20:21:55 +00:00
sanderd17
ff2a7d6bad
fix spelling mistakes
...
This was SVN commit r14536.
2014-01-07 19:43:32 +00:00
sanderd17
83c5d40cfb
fix compiling problem caused by 8226d75715
...
This was SVN commit r14535.
2014-01-07 14:37:02 +00:00
sanderd17
b1e0f1b62a
Clean up the mess of different ways to note the formations (capitalised, with spaces, with underscores, concatenated ...) by always referring to the template name.
...
This was SVN commit r14534.
2014-01-07 13:33:08 +00:00
sanderd17
94907897a7
Fix tests + fix classes Ashoka. Fixes #2362
...
This was SVN commit r14533.
2014-01-07 09:23:59 +00:00
JoshuaJB
8226d75715
Make PickEntitiesAtPoint faster yielding 1-3% overall performance improvement. Fixes #2358 . Also removes some trailing whitespace.
...
This was SVN commit r14532.
2014-01-07 04:05:10 +00:00
mimo
729a795a44
of course, 7a3b1fe47e can be simplified
...
This was SVN commit r14531.
2014-01-06 23:23:18 +00:00
mimo
7a3b1fe47e
Improve speed of territory computation, fixes #2360
...
This was SVN commit r14530.
2014-01-06 22:49:57 +00:00
wraitii
d0e57cb0ff
Change a few things to avoid warnings with gcc. Should fix #2359
...
This was SVN commit r14529.
2014-01-06 22:14:27 +00:00
leper
baf6925b66
Tactical varfare.
...
This was SVN commit r14528.
2014-01-06 20:55:22 +00:00
sanderd17
8cc1ddf6de
Small code style fix
...
This was SVN commit r14527.
2014-01-06 20:13:55 +00:00
mimo
b4fa090435
fix losRangeQuery broken in e096df0070
...
This was SVN commit r14526.
2014-01-06 19:35:51 +00:00
sanderd17
3406f2f3e8
Fix code style of files committed too soon in f19a8d6b41
...
Adds blinking overlay to ther hero icon when he's attacked
Adds a health bar to the hero icon
Fixes #1902
Patch by boeseRaupe
This was SVN commit r14525.
2014-01-06 13:48:17 +00:00
sanderd17
f19a8d6b41
Take the box formation out of the special case formations
...
This was SVN commit r14524.
2014-01-06 13:32:48 +00:00
LordGood
5cde6f7046
small rome tower edit
...
This was SVN commit r14523.
2014-01-06 12:50:50 +00:00
sanderd17
9989359c46
Small code cleanup + fixed default formation orientation
...
This was SVN commit r14522.
2014-01-06 10:16:28 +00:00
sanderd17
2f077fd9e1
Remove wedge formation from being a special case in the formation code
...
This was SVN commit r14521.
2014-01-06 09:10:46 +00:00
historic_bruno
9ccaa42a54
Fixes MSVC warning C4706: assignment within conditional expression
...
This was SVN commit r14519.
2014-01-06 02:16:09 +00:00
sanderd17
92ed27e3c5
Treat the flank formation as a regular formation, rather than a special implementation.
...
This was SVN commit r14518.
2014-01-05 18:50:31 +00:00
mimo
f814510b2e
revise the chase and flee
...
This was SVN commit r14517.
2014-01-05 18:29:38 +00:00
sanderd17
b8ee766cd3
Remove some hardcoded formation shapes. Some special formations still have a special treatment though. Also implement speed modifiers for formations, so we can have faster and slower formations.
...
This was SVN commit r14516.
2014-01-05 17:13:22 +00:00
wraitii
aa0d485d72
Fix improper disabling of waves.
...
This was SVN commit r14515.
2014-01-05 16:41:50 +00:00
wraitii
15ec863aec
Substantial speed-up of the foam generation code.
...
Remove waves for now as they were unsatisfactory.
Removes "shininess" as a water parameter as it was basically useless.
Add a button in Atlas to recompute water parameters so you can now see
fog in Atlas.
Fixes #1743 , #1803 (invalid)
Refs #1875 , #2114 , #48 .
This was SVN commit r14514.
2014-01-05 16:15:20 +00:00
mimo
d56595c802
Put into alert units trained during an alert, fixes #2342 , patch by Itms
...
This was SVN commit r14513.
2014-01-05 15:12:17 +00:00
Yves
7193e29961
Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments.
...
Thanks to boeseRaupe for reporting.
Refs #2348
This was SVN commit r14512.
2014-01-05 13:58:38 +00:00
Yves
b20955436b
I completely missed the header files when disabling the JS debugger.
...
Refs #2348
This was SVN commit r14511.
2014-01-05 10:26:27 +00:00
sanderd17
d0497c83f1
Split the formation template in different templates. This can be used later to remove hard-coded formation statistics and forms to attributes in those templates
...
This was SVN commit r14510.
2014-01-05 10:09:42 +00:00
LordGood
d4f35f1061
Revised roman tower
...
This was SVN commit r14509.
2014-01-05 02:11:00 +00:00
Yves
6ca6a5f779
The patch in 4b65f77438 seems to have fixed the crash, but the initData value doesn't match the JSContext's compartment, so it's theoretically wrong.
...
This should fix it correctly.
#Refs 2241
This was SVN commit r14508.
2014-01-04 21:49:36 +00:00
Yves
4b65f77438
Fixes an occasional crash introduced in #2241 (hopefully).
...
Refs #2241
This was SVN commit r14507.
2014-01-04 21:36:12 +00:00
Yves
7d516e7e7a
Disables the JS debugger.
...
It's completely broken since 4b1297b328 and will have to be updated for
the new SpiderMonkey API.
I only uncomment it at the moment because I plan to fix/reimplement it
soon after the upgrade.
Closes #2348
Refs #2241
Refs #1886
This was SVN commit r14506.
2014-01-04 20:47:56 +00:00
Mythos_Ruler
da1a2eaba6
This was SVN commit r14505.
2014-01-04 20:42:34 +00:00
Mythos_Ruler
d8e839daec
Reduced armor for Roman siege walls.
...
This was SVN commit r14504.
2014-01-04 16:53:01 +00:00
sanderd17
58dd223018
Now really fix the temple aura. See d4b2c1285c
...
This was SVN commit r14503.
2014-01-04 15:43:05 +00:00
sanderd17
9fb6620edd
Use an actual flee order to move animals away from the foundation. Fixes #2347
...
This was SVN commit r14502.
2014-01-04 15:36:20 +00:00
sanderd17
1e33dd1d5e
fix targetPosition != null check
...
This was SVN commit r14501.
2014-01-04 13:15:44 +00:00
Yves
3d5f661447
Fixes assertion failure when opening the ingame manual.
...
This problem happens because callback functions need to be passed to GUI
pages differently since 4b1297b328 .
Refs #2241
This was SVN commit r14499.
2014-01-04 11:48:28 +00:00
Yves
4a11b30b39
Fixes assertion failure when clicking the settings button (aiconfig) on the match setup screen.
...
This problem happens because callback functions need to be passed to GUI
pages differently since 4b1297b328 .
Refs #2241
This was SVN commit r14498.
2014-01-04 11:29:35 +00:00
sanderd17
d4b2c1285c
add the ability to exclude props from the selection size + add aura visualisation rings again
...
This was SVN commit r14497.
2014-01-04 10:41:32 +00:00
Yves
4b1297b328
Removes g_ScriptingHost and implements global to compartment 1 to 1 relation.
...
Each GUI Page gets its own compartment and all ScriptInterfaces in the
same thread should now use the same JS Runtime.
This is required for the SpiderMonkey upgrade.
Check the ticket for details.
Closes #2241
Refs #1886
Refs #1966
This was SVN commit r14496.
2014-01-04 10:14:53 +00:00
LordGood
743644f5ce
Roman tower remake
...
This was SVN commit r14495.
2014-01-04 04:14:29 +00:00
sanderd17
e096df0070
fix units attacking harmless gaia buildings
...
This was SVN commit r14494.
2014-01-03 20:24:02 +00:00
JoshuaJB
fb8032043b
Use pointers instead of copying sprites in the GUI. Fixes #1984 . Patch by jP_wanN.
...
This was SVN commit r14493.
2014-01-03 20:19:43 +00:00
JoshuaJB
28f022993a
Fix template typos and inconsistaint whitespace.
...
This was SVN commit r14492.
2014-01-03 19:55:29 +00:00
Mythos_Ruler
e85c3de782
Removed the Cavalry Stables from the Seleucids. Their training buildings started to get unwieldy compared to other civs.
...
This was SVN commit r14491.
2014-01-03 19:30:25 +00:00
mimo
9a41c588fe
prevent traders to cycle between two adjacent markets
...
This was SVN commit r14490.
2014-01-03 14:03:12 +00:00
sanderd17
1eb5d730fc
allow garissoning a small number of support units in houses as protection against early raids. Patch and suggestion from dumbo
...
This was SVN commit r14489.
2014-01-03 13:11:12 +00:00
sanderd17
f634a8db3e
fix units fleeing too far
...
This was SVN commit r14488.
2014-01-03 12:49:04 +00:00
mimo
6e4adcba52
add missing rallypoint to garrisonholder wonders
...
This was SVN commit r14487.
2014-01-03 11:24:23 +00:00
LordGood
1c3da82869
New Carthaginian wonder commit
...
This was SVN commit r14486.
2014-01-03 03:17:53 +00:00
Mythos_Ruler
f7c1b73a01
Some more tweaks for the Seleucids.
...
Updated portraits.
This was SVN commit r14485.
2014-01-02 23:24:18 +00:00
mimo
66de76e026
fixes #2340 , patch by itms
...
This was SVN commit r14484.
2014-01-02 23:11:18 +00:00
sanderd17
8269f0cfd4
Group units in clusters of separate formations when they're too far apart.
...
This was SVN commit r14483.
2014-01-02 20:04:50 +00:00
wraitii
8b98e2d513
Fix osx libraries build script for WXwidgets and libiconv.
...
This was SVN commit r14482.
2014-01-02 17:24:48 +00:00
leper
e73738d794
Do not pause multiplayer games if one player opens a dialog. Patch by boeseRaupe. Fixes #2275 .
...
This was SVN commit r14481.
2014-01-02 16:30:24 +00:00
leper
dd86995f77
Fix some newlines.
...
This was SVN commit r14480.
2014-01-02 16:22:03 +00:00
leper
b3d799d950
Replace inconsistent separators in quotes. Fixes #2247 . Patch by boeseRaupe.
...
This was SVN commit r14479.
2014-01-02 14:46:47 +00:00
mimo
7d26f93666
fix animals taken as target in move-attack after 66770feed6, use the same filter as in AttackEntitiesByPreference
...
This was SVN commit r14478.
2014-01-02 14:17:46 +00:00
sanderd17
5b2cb0e72f
small code fix
...
This was SVN commit r14477.
2014-01-02 08:40:51 +00:00
JoshuaJB
b1422137e5
Cleanup GUI Checkbox C++ code by removing broken, non-obvious internal text rendering.
...
This was SVN commit r14476.
2014-01-02 03:28:15 +00:00
sanderd17
d8e8f613cd
small code cleanup
...
This was SVN commit r14475.
2014-01-01 19:56:27 +00:00
sanderd17
59525414ee
fix automatically attacking buildings caused by 66770feed6
...
This was SVN commit r14474.
2014-01-01 19:54:15 +00:00
sanderd17
66770feed6
include gaia range query of UnitAI in general range query. Fixes #2156 . Patch by dumbo
...
This was SVN commit r14473.
2014-01-01 18:59:16 +00:00
sanderd17
05baeae5bd
fix units not dropping resources when they are already at the resource dropsite (e.g. fields right next to a farmstead). Fixes #2336
...
This was SVN commit r14472.
2014-01-01 18:17:47 +00:00
sanderd17
9cf55a5ed0
fix productionQueue failing to produce units while the upgrade tech is running
...
This was SVN commit r14471.
2014-01-01 16:35:49 +00:00
sanderd17
2197b80747
fix oos problem mentioned by Yves on IRC
...
This was SVN commit r14470.
2014-01-01 16:15:26 +00:00
JoshuaJB
3d171b54c9
New ModernTickBox style for the GUI. Replace the use of StoneCrossBox in the lobby GUI with the new style.
...
This was SVN commit r14469.
2014-01-01 06:15:06 +00:00
JoshuaJB
67570be8fa
Make GUI button-based objects to behave more expectedly when doubleclicked, also some style tweaks.
...
This was SVN commit r14468.
2014-01-01 06:05:41 +00:00
JoshuaJB
1e522f9b2c
Fix bug with rating in lobby bot, remove superfluous GUI typedef, and change the lobby chat autocompletion to use tab.
...
This was SVN commit r14467.
2014-01-01 00:23:18 +00:00
wraitii
9d9361ae44
Why you should test your code before committing, exhibit A.
...
This was SVN commit r14466.
2013-12-31 21:45:11 +00:00
wraitii
a7cafe75aa
"Reveal all player" id back to -1, add some "ensure" to catch invalid player ids and be safer.
...
This was SVN commit r14465.
2013-12-31 21:30:48 +00:00
wraitii
fe2a97b0c9
Change some useless std::map into std::vector for LOS. Player "0" now reveals the LOS for all.
...
This was SVN commit r14463.
2013-12-31 16:38:11 +00:00
mimo
d7f18c10de
Add visual indicator when unsetting rally-points, closes #2117
...
This was SVN commit r14462.
2013-12-31 13:21:06 +00:00
Yves
75b8952d04
Delete help.txt.
...
I wanted to update it first for some function names I changed.
Then I noticed that nearly all the functions described there don't exist
anymore or have changed. There are much better descriptions at the
places where the functions are declared/implemented.
We should either do it right (and force everyone to update that file for
every change) or don't to it at all. At this stage of development it
doesn't make sense and when we start documenting all the functions at a
central place, there are better locations than this file.
This was SVN commit r14461.
2013-12-31 12:21:56 +00:00
JoshuaJB
c0472f0de5
Fix trivial comment typo caught by wraitii.
...
This was SVN commit r14460.
2013-12-31 11:06:00 +00:00
sanderd17
f8ca47913d
fix division by zero for zero-time technologies. Fixes #2334
...
This was SVN commit r14459.
2013-12-31 09:02:58 +00:00
JoshuaJB
c7ff0bb486
Tweak some lobby login UI bits, rework scrollbar mousewheel handling, add ability to scroll through closed dropdowns with scrollwheel, general C++ GUI cleanup, and fix broken random map script 'Unknown Nomad'.
...
This was SVN commit r14458.
2013-12-31 04:54:16 +00:00
JoshuaJB
b3a74e8f72
Add message to help new users register for the lobby.
...
This was SVN commit r14457.
2013-12-31 01:14:09 +00:00
leper
2008ebc9d6
Use ACLs in the ipstamp module to support multiple lobby bots.
...
This was SVN commit r14456.
2013-12-31 00:25:33 +00:00
JoshuaJB
b2a535d838
Change the lobby registration to the new UI style and try to make it more ergonomic.
...
This was SVN commit r14455.
2013-12-31 00:01:27 +00:00
JoshuaJB
e21464d960
Try to fix some errors in the bot by checking a player id's validity before using it as an index.
...
This was SVN commit r14454.
2013-12-30 20:48:15 +00:00
leper
1c9965999b
Use another muc room for svn/a16.
...
This was SVN commit r14453.
2013-12-30 19:44:42 +00:00
wraitii
dddc9bab7f
Fix tests.
...
This was SVN commit r14452.
2013-12-30 18:55:37 +00:00
sanderd17
4776d85301
use UnitMotionFlying for the hawks
...
This was SVN commit r14451.
2013-12-30 18:03:01 +00:00
sanderd17
298115f4c5
Fix units chasing each other. Fixes #1537
...
This was SVN commit r14449.
2013-12-30 16:07:19 +00:00
wraitii
ddee36e0a8
Hide map size for skirmish and scenarios. Refs #2301 .
...
Also fix my previous commit because obviously I had committed the wrong
default value.
This was SVN commit r14448.
2013-12-30 15:59:00 +00:00
wraitii
08b44fe647
Fix water rendering (transparent objects now appear correctly when underwater/in reflections)
...
Add a new config option (renderactors) that, if set to false, will
prevent actors from rendering in-game (grass…)
This was SVN commit r14447.
2013-12-30 15:52:42 +00:00
Yves
4a15ac406b
Move debug function and debug flag to API3 and use them from Aegis.
...
Remove copyPrototype from Aegis because that function is currently not
used and is already in API3.
Refs #2322
This was SVN commit r14446.
2013-12-30 14:28:30 +00:00
wraitii
5febe42aa9
Fix [14444]
...
This was SVN commit r14445.
2013-12-30 12:50:06 +00:00
wraitii
bc136137fc
Make hawks selectable in Atlas and alleviate their tendency to congregate in the upper right corner of maps.
...
This was SVN commit r14444.
2013-12-30 12:43:57 +00:00
wraitii
bd2cd235fd
Commit Micket's hawk model/rigging, textures using photos by unarmed, add an entity that moves around the map, change maps to use the entity and not the idle actor. Fixes #1228 , Fixes #1975 .
...
This was SVN commit r14443.
2013-12-30 11:10:54 +00:00
Yves
533f908f15
Some missing changes in #2322 .
...
Refs #2322
This was SVN commit r14442.
2013-12-30 10:25:50 +00:00
Yves
3362c591f5
Moves AI players to one global using the module pattern.
...
This avoids wrapping overhead that would otherwise be required because
multiple globals per compartment aren't supported anymore in newer
versions of SpiderMonkey.
Check the ticket for a detailed explanation.
Closes #2322
Refs #2241
Refs #1886
This was SVN commit r14441.
2013-12-30 10:04:59 +00:00
Mythos_Ruler
9a8d5312d4
Removed Civic Center from the Seleucid female. They don't build civic centers (heroes can though). Citizen-Infantry build Military Colonies instead to expand.
...
This was SVN commit r14440.
2013-12-30 05:47:26 +00:00
Mythos_Ruler
3c630c2e63
Fixed Seleucid thureophoros accidentally calling on the Ptolemaic one.
...
Made the 4th level of armor techs apply to champions instead of all
infantry.
This was SVN commit r14439.
2013-12-30 05:38:24 +00:00
Mythos_Ruler
91bbc925e2
Completing the playability phase of the Seleucids. Now starts the long road of creating art and balancing and implementing bonuses (hero auras, unique techs, etc.).
...
This was SVN commit r14438.
2013-12-30 04:25:33 +00:00
leper
5e23445339
Make ConfigDB properly thread-safe.
...
Replace CreateValue with SetValueString so we don't pass pointers to
internal
ConfigDB structures around. Refs #1810 .
Remove some splash screen related functions since we can achieve the
same
with the ConfigDB functions exposed to scripts.
This was SVN commit r14437.
2013-12-29 23:56:18 +00:00
JoshuaJB
92fba32c5e
Some more C++ GUI cleanup.
...
This was SVN commit r14436.
2013-12-29 20:46:02 +00:00
JoshuaJB
e729f46789
Make button-type GUI elements more responsive and cleanup in IGUIButtonBehavior.cpp
...
This was SVN commit r14435.
2013-12-29 19:31:48 +00:00
JoshuaJB
d756e8d70e
Add proper licences to lobby bot files. Also remove extranious config file.
...
This was SVN commit r14434.
2013-12-29 18:46:00 +00:00
sanderd17
45cfdf47f1
fix carthagian buildings being constructed with garrison flag up. Fixes #2318
...
This was SVN commit r14433.
2013-12-29 18:16:31 +00:00
leper
3746690f82
Define GLX_MESA_query_renderer functions unconditionally. Fixes #2325 .
...
This was SVN commit r14432.
2013-12-29 17:13:55 +00:00
Mythos_Ruler
517e83b331
New map: Savanna River. Very defensive. Only 1 crossing, unless you cut through the trees around the river.
...
Tweaked Gambia River for pathing.
Tweaked the obstruction of Farm Fields so that they don't overlap so
much.
Increased build time of Wonders.
This was SVN commit r14431.
2013-12-29 16:36:25 +00:00
sanderd17
2146fa27c8
forgot to rename reference
...
This was SVN commit r14429.
2013-12-29 12:40:34 +00:00
wraitii
4158283fd4
Take unit obstruction size into account when checking if in range for garrisoning. Reduce CC loading range in consequence. Fixes #2190 .
...
This was SVN commit r14428.
2013-12-29 10:17:09 +00:00
sanderd17
10e8fb9105
remove debug message
...
This was SVN commit r14427.
2013-12-29 10:09:58 +00:00
sanderd17
cd125a94e2
fix tests + code style cleanup
...
This was SVN commit r14426.
2013-12-29 10:01:39 +00:00
wraitii
433293c7b2
Spread is now linearly tied to distance to target. Fixes #2093 .
...
This was SVN commit r14425.
2013-12-29 08:09:44 +00:00
Enrique
04d0f424df
added wonder placeholders for generic hellenes and celts
...
This was SVN commit r14424.
2013-12-28 17:13:24 +00:00
wraitii
ce7235a6aa
Various art fixes.
...
Polynesia map is back to hdr mode.
Improve shark animations, improve crocodile walking animation.
Fix mauryan bamboo bow prop (for some reason it had two models).
This was SVN commit r14423.
2013-12-28 16:34:10 +00:00
wraitii
0029103153
Ptolemy fishing boat (along with props). fixes #2237
...
This was SVN commit r14422.
2013-12-28 15:59:08 +00:00
Enrique
15b42f0be5
Added wonder placeholders for civs without wonder.
...
This was SVN commit r14421.
2013-12-28 15:21:11 +00:00
Mythos_Ruler
139a1fd5ca
Updated a bunch of civ jsons.
...
Fixed a few other things.
This was SVN commit r14420.
2013-12-28 15:07:19 +00:00
sanderd17
bf58f04511
add wonder victory condition. Refs #1649
...
This was SVN commit r14418.
2013-12-28 13:40:39 +00:00
mimo
749c4d5270
change the way to manage trade, closes #2311
...
This was SVN commit r14417.
2013-12-28 10:44:59 +00:00
Mythos_Ruler
6accb6faf6
Fixed bell icons.
...
Seleucid Military Reforms.
Fixed inheritance for Ptol healers.
This was SVN commit r14416.
2013-12-28 05:32:16 +00:00
JoshuaJB
f254478d1b
Revert accidentily committed changes.
...
This was SVN commit r14415.
2013-12-28 03:34:40 +00:00
JoshuaJB
177a7cd99d
Make uninitilized players not show in the lobby leaderboard.
...
This was SVN commit r14414.
2013-12-28 03:32:31 +00:00
Mythos_Ruler
121345bd6a
Name stuff.
...
This was SVN commit r14413.
2013-12-28 02:35:19 +00:00
Mythos_Ruler
b3201acd93
Trimmed the descriptions for most of the random maps, per Josh's request.
...
This was SVN commit r14412.
2013-12-28 02:17:08 +00:00
Mythos_Ruler
5f1714dd83
Seleucids now have what used to be the Ptolemies' Military Settlement system (now called a Military Colony; needs a new model).
...
Fixed a few other templates.
This was SVN commit r14411.
2013-12-28 00:34:37 +00:00
Mythos_Ruler
02d38ceecd
Fixed elephant stables class element.
...
This was SVN commit r14410.
2013-12-27 15:21:15 +00:00
sanderd17
bfa7f60251
add outpost skirmish entity, and apply it to the Gambia River skirmish map
...
This was SVN commit r14409.
2013-12-27 14:48:24 +00:00
sanderd17
659736301a
define the limit changing elements together with the limits, so they can be queried by the GUI and the AI. Fixes #2187
...
This was SVN commit r14408.
2013-12-27 10:58:48 +00:00
wraitii
040e15ed51
Change shark model, skeleton, and change its animations. Add a shark entity that will roam the map and can be attacked, but will not attack and yields no food. Change Polynesia demo map to have a shark.
...
This was SVN commit r14407.
2013-12-27 10:32:53 +00:00
sanderd17
81f901d473
make the elphant stables count as town phase structure. Mentionned by Zeta1127 on the forums
...
This was SVN commit r14406.
2013-12-27 09:38:44 +00:00
sanderd17
f33d3193ca
fix tests ( fixes #2326 )
...
+ small code cleanup
+ move guiInterface call to GetEntityState
refs #2154
This was SVN commit r14405.
2013-12-27 08:49:47 +00:00
Spahbod
e4a124e768
WIP: Making the forests in random maps bigger as per people's request.
...
This was SVN commit r14404.
2013-12-27 08:07:05 +00:00
JoshuaJB
dca3393195
Fix 'Carrier Pidgons' technology by checking that rawClasses is not NULL before operating on it.
...
This was SVN commit r14403.
2013-12-27 04:01:03 +00:00
Mythos_Ruler
f42bf782bb
Bactria map updated.
...
This was SVN commit r14402.
2013-12-27 00:47:26 +00:00
Mythos_Ruler
c9b48c6e53
Updated a couple African maps with the new crocodiles.
...
This was SVN commit r14401.
2013-12-26 22:55:48 +00:00
Mythos_Ruler
60bcebf5b6
Fixed crocodile actor.
...
This was SVN commit r14400.
2013-12-26 22:45:04 +00:00
wraitii
e942768b4d
Add textured, normal-mapped, animated Nile crocodile to the game. Need to do a female version, possibly a saltwater croc version for mauryan maps?
...
Add crocodile entity, which is about similar to the lion.
Add a (temporary?) crocodile portrait.
It uses the lion sounds which are probably the closest we have right
now.
This was SVN commit r14399.
2013-12-26 22:33:06 +00:00
JoshuaJB
7688e9c93e
Properly round rating calculation in the lobby bot to an integer.
...
This was SVN commit r14398.
2013-12-26 20:16:43 +00:00
JoshuaJB
4ac5aacc87
Strip some trailing spaces in the lobby bot.
...
This was SVN commit r14397.
2013-12-26 19:52:07 +00:00
JoshuaJB
ad0d81cb8a
Various lobby changes and some optimizations in the lobby bot by scythetwirler.
...
This was SVN commit r14396.
2013-12-26 19:45:20 +00:00
mimo
0780becb8a
fix attack-move not working for packed units
...
This was SVN commit r14395.
2013-12-26 16:09:32 +00:00
Mythos_Ruler
e9a269c01c
Remove attack from Military Settlement for now.
...
This was SVN commit r14394.
2013-12-26 16:04:04 +00:00
sanderd17
953e44d9f8
try using footprint instead of obstruction for separation space between formation members + Fix some footprint sizes of siege units
...
This was SVN commit r14393.
2013-12-26 12:24:52 +00:00
sanderd17
41b3dfc89c
Implement town bell
...
* the icons are temporary, and can be replaced later
* The sounds are created by LAVS, but may also need some polishing, so
the current ones are placeholders too
* The patch code is created by Itms
fixes #2154
This was SVN commit r14392.
2013-12-26 10:43:51 +00:00
sanderd17
9dcc3ee89e
fix always picking the same processor core on some systems. Based on code hits by Philip
...
This was SVN commit r14391.
2013-12-26 10:05:44 +00:00
leper
1de1e2d5ba
Fix typo.
...
This was SVN commit r14390.
2013-12-26 01:05:35 +00:00
JoshuaJB
bdeae5d474
Don't send superfluous chat / commands in the lobby, also fix issues with the lobby system messages. Merge from my github branch.
...
This was SVN commit r14389.
2013-12-25 19:28:53 +00:00
Mythos_Ruler
4658cfa775
Mythos_Ruler's Christmas update for SVN users!
...
Includes:
- Unit rank upgrades, based on a patch by Sanderd. Not all civs get all
rank upgrades. For instance, Spartans get the Infantry rank upgrades,
but not the cavalry rank upgrades. Conversely, the Persians get the
cavalry rank upgrades, but not the infantry rank upgrades. Carthaginians
get rank upgrades for their mercenaries, but not their native units.
etc.
- Updated and tweaked many of the skirmish maps. Too many tweaks to
mention. But I did add Iberian circuit walls to many of them! New
"Bactria" Skirmish Map. Will continue to tweak this one to make it more
unique. It's based on modern-day Afghanistan, which the ancients called
"Bactria." A 2nd Ptolemies sandbox demo map.
- Moved the Ptolemaic Lighthouse to Town Phase to have more impact for
the Ptolemy player on maps with water.
- New Thureos shield patterns by Enrique for a NEW unit: Mercenary
Thureos Spearman.
- TECHNOLOGIES: Some techs renamed and tweaked. Plus, a new "Iron Armor"
tech for Heroes. A new "Roman Logistics" tech for the Roman Army Camp
and Siege Walls. A new "Battlefield Medics" tech for the temple that
unlocks (slow) health regeneration for units. The portrait for this tech
is placeholder and needs replaced ASAP.
- Cavalry now have oval selection rings. Eventually I will implement a
selection ring system where the citizen-soldiers and support units have
round rings, while champions have arrows, and heroes have stars. This
helps visually differentiate the roles of these 3 classes of units. Not
yet implemented.
- Vision radius for infantry slightly reduced.
- Fixed sounds for Persian Wonder.
- Fixed footprint sizes for a few buildings and Ptolemaic walls.
- Ptolemies now have the "Military Settlement" system in place. But this
system might go to the Seleucids instead later for historical reasons.
- Cost of fields reduced. Gathering rates for grain reduced.
- Fixed some selection group names for some templates. (Double clicking
didn't select them all as it should have).
- Fixed/Changed/Added some unit and building names, specifically for the
Ptolemies, but for some others as well.
- Some new temp portraits for Ptolemaic units. Ongoing task.
Lastly, I hope these changes don't break anything. They are heavily
tested on my end, but I can't promise I caught all bugs.
This was SVN commit r14388.
2013-12-25 15:49:49 +00:00
leper
f7e68a4d4c
Bot optimizations by scythetwirler.
...
This was SVN commit r14387.
2013-12-25 15:13:58 +00:00