ac1a9bf8d1
Clean up class parsing + add visible classes to be displayed in the GUI without adding them separatedly to our tooltips
...
This was SVN commit r15195.
2014-05-22 10:20:02 +00:00
eaa382a60c
This was SVN commit r15194.
2014-05-22 01:38:46 +00:00
ee50168096
Removes errant text from GUI XML files, fixes some untranslated text per [wiki:Internationalization]. Refs #2507
...
This was SVN commit r15193.
2014-05-22 01:36:45 +00:00
eae7978868
Makes a word consistent with American English
...
This was SVN commit r15192.
2014-05-21 20:24:37 +00:00
e0fb1223d6
Put the colon inside the translate tag.
...
This was SVN commit r15186.
2014-05-21 03:02:54 +00:00
153b1162fb
changes for the AI to deal with maps with celts and change comment on naval maps
...
This was SVN commit r15185.
2014-05-20 21:30:48 +00:00
672f5a8b11
Add sloppyness and separate icon path to formation templates (makes it possible to have multiple formation templates - like different settings for different civs - with only one icon file)
...
This was SVN commit r15180.
2014-05-20 17:18:40 +00:00
41bc9fa65e
Remove a newline in a tooltip.
...
There is no need for it.
Some translations also add the newline that, due to different words
length, appears in an unwanted place.
This was SVN commit r15178.
2014-05-20 10:41:09 +00:00
dfc7567561
Fix multiple observers on multiplayer games to work more reliably. Fixes #2529
...
This was SVN commit r15171.
2014-05-19 16:02:42 +00:00
196eebe803
Fix partial internationalisation of the limit changers
...
This was SVN commit r15167.
2014-05-19 08:22:20 +00:00
61b6eba4c1
Adds a config option for more detailed tooltips. Fixes #2549 .
...
This was SVN commit r15161.
2014-05-19 00:01:47 +00:00
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
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
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
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
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
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
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
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
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
9b136a45fc
Fixes a couple dialog buttons
...
This was SVN commit r15106.
2014-05-04 02:44:14 +00:00
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
542bc1b273
Further fix switched buttons
...
This was SVN commit r15099.
2014-05-03 09:07:31 +00:00
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
12ec51783d
Fix in-game manual display
...
This was SVN commit r15097.
2014-05-03 08:53:06 +00:00
4e0a588456
Switch more buttons, see 911be4e860
...
This was SVN commit r15096.
2014-05-03 08:45:19 +00:00
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
15f56cd984
Fix armour and attack display of heroes
...
This was SVN commit r15091.
2014-05-02 10:32:21 +00:00
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
5658bb391b
fix delete selection no more working after #15074
...
This was SVN commit r15087.
2014-05-01 21:06:43 +00:00
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
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
d51f2a0c35
Version bump and regeneration of translation templates accordingly.
...
This was SVN commit r15081.
2014-05-01 00:44:47 +00:00
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
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
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
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
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
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
748ebdfdb0
Various GUI fixes and cleanup.
...
This was SVN commit r15070.
2014-04-30 04:38:53 +00:00
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
15e9ffa21b
Converts the save dialog to the modern UI. Refs #2507 .
...
This was SVN commit r15068.
2014-04-29 21:45:00 +00:00
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
b246017f9f
Explore_d_ map.
...
This was SVN commit r15065.
2014-04-29 13:10:56 +00:00
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
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
683170ea19
Enable/disable GenTangents when enabling/disabling PreferGLSL. Fixes #2505 .
...
This was SVN commit r15061.
2014-04-28 22:30:27 +00:00
876d0e4e66
Forgot to fix some strings
...
This was SVN commit r15060.
2014-04-28 20:19:32 +00:00
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
64d3d0b4b2
Remove falsely attributed quote.
...
This was SVN commit r15058.
2014-04-28 17:59:02 +00:00
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
f26a2917d3
Translate map name in the summary page
...
This was SVN commit r15056.
2014-04-28 15:54:47 +00:00
b8245da606
Improve disabled technology tooltip. Fixes #2497
...
This was SVN commit r15055.
2014-04-28 15:17:26 +00:00
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
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
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
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
b3acb5657f
Fix moderater prefixes in the lobby.
...
This was SVN commit r15045.
2014-04-27 19:26:12 +00:00
251372a062
Missing var statement.
...
This was SVN commit r15044.
2014-04-27 19:10:28 +00:00
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
8f53ddd6b9
Unifies some translatable strings on the gamesetup screen.
...
This was SVN commit r15042.
2014-04-27 19:03:15 +00:00
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
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
a163ac1c11
Reverts a rogue copy-paste in the last commit.
...
This was SVN commit r15039.
2014-04-27 18:23:15 +00:00
b8d3ef71f7
Fixes the updated dropdowns for multiplayer clients broken in 65f4c8b0e8
...
This was SVN commit r15038.
2014-04-27 18:18:05 +00:00
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
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
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
60334f05c8
Fix error introduced in 95b0a8d9bf
while fixing a warning
...
This was SVN commit r15034.
2014-04-27 15:56:10 +00:00
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
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
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
60e1ff59f5
Fix warning about msg.guid not being defined
...
This was SVN commit r15029.
2014-04-27 13:38:17 +00:00
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
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
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
0db4cc690e
Check for hero attack before querying it. Fixes #2490
...
This was SVN commit r15020.
2014-04-27 08:03:15 +00:00
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
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
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
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
aaf5ad1a63
Cosmetic cleanup - Delete full stop and make scrollbar a circle
...
This was SVN commit r15012.
2014-04-26 22:45:48 +00:00
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
2ae1e16628
Fix translation of some game setup elements in multiplayer games
...
This was SVN commit r15009.
2014-04-26 19:52:16 +00:00
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
d1d7afe46c
Implements ready status into gamesetup. Fixes #2447 .
...
This was SVN commit r15006.
2014-04-26 18:34:34 +00:00
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
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
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
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
7afe0afbca
Internationalized the messages of the tutorial AI
...
This was SVN commit r14991.
2014-04-25 03:41:01 +00:00
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
c1c10667df
Improved the internationalization of the construction “Insufficient resources” message
...
This was SVN commit r14988.
2014-04-25 02:45:19 +00:00
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
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
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
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
0d33f6412d
Fixes #2482
...
This was SVN commit r14974.
2014-04-23 08:22:55 +00:00
311acea712
Fit UI for longer translations
...
This was SVN commit r14973.
2014-04-23 07:47:46 +00:00
3b571406f8
Enlarge tooltip size to fit all locales
...
This was SVN commit r14972.
2014-04-22 17:51:56 +00:00
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
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
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
e82a9f1a4d
Removed a line break to make more space for translations
...
This was SVN commit r14963.
2014-04-21 14:27:02 +00:00
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
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
52c0a9b908
Changes to English strings after reports in Transifex by translators
...
This was SVN commit r14950.
2014-04-20 19:00:37 +00:00
fe4f17fd73
Only send game report if ranking is enabled.
...
This was SVN commit r14936.
2014-04-16 14:00:09 +00:00
a9b34da617
Fix some merge conflicts 9e2d0b9506
missed.
...
This was SVN commit r14935.
2014-04-16 13:58:56 +00:00
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
47a516df34
Fix some JS warnings. Refs #2372 .
...
This was SVN commit r14933.
2014-04-15 01:12:48 +00:00
e1488fee56
Add an 'explore map' option to the game setup.
...
This was SVN commit r14931.
2014-04-14 19:52:49 +00:00
1073382e3b
Sorts the lobby player list, ignoring case
...
This was SVN commit r14927.
2014-04-13 18:29:32 +00:00
40e2a1e065
Fixes some javascript warnings in the lobby.
...
This was SVN commit r14923.
2014-04-13 01:48:24 +00:00
180aa5c60d
Makes the moderator prefix visible in the chatbox.
...
This was SVN commit r14922.
2014-04-12 23:40:36 +00:00
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
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
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
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
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
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
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
0e0cd65134
Some GUI alignment/sizing improvements.
...
This was SVN commit r14828.
2014-03-09 19:24:17 +00:00
8959e63a53
Add back unintentionally removed idle workers button tooltip.
...
This was SVN commit r14826.
2014-03-09 02:42:42 +00:00
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
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
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
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
abbd6efef1
Updates outdated/incorrect hotkeys.
...
This was SVN commit r14812.
2014-03-06 23:57:02 +00:00
8a98bca9b2
Fixes the last z order (hopefully) and a style inconsistency.
...
This was SVN commit r14811.
2014-03-06 22:45:13 +00:00
ec26f1de83
Reduces z order to fix ai dialog.
...
This was SVN commit r14810.
2014-03-06 22:34:15 +00:00
8f30e722ab
Some inconsequential style adjustments.
...
This was SVN commit r14809.
2014-03-06 02:24:06 +00:00
ef76d24e66
Fixes z order and a capitalization error.
...
This was SVN commit r14808.
2014-03-06 02:00:12 +00:00
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
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
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
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
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
0ea3b7b7dd
Adds the moderator prefix to the playerlist in the lobby.
...
This was SVN commit r14767.
2014-02-20 23:26:36 +00:00
a725266337
Slightly better options menu.
...
This was SVN commit r14766.
2014-02-20 22:45:43 +00:00
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
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
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
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
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
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
e4e32c8cd7
Fixes a typo from 1d3ac14d35
.
...
This was SVN commit r14717.
2014-02-01 03:55:24 +00:00
60619dbf3f
Add technologies cheat. Fixes #2072 . Patch by boeseRaupe
...
This was SVN commit r14712.
2014-01-31 15:30:16 +00:00
9fe465884d
Implements resource trickle. Allows decimal player resources. Fixes #2413 .
...
This was SVN commit r14710.
2014-01-31 12:01:49 +00:00
ff4ed09b6f
Backend for special formatting of moderaters in the lobby userlist.
...
This was SVN commit r14706.
2014-01-30 15:46:19 +00:00
b9eea330d0
Strip some whitespace and fix a warning in session.js
...
This was SVN commit r14704.
2014-01-29 19:00:47 +00:00
1d3ac14d35
Better summary screen. Fixes #686 . Patch by Bajter and Kabzerek
...
This was SVN commit r14703.
2014-01-29 18:30:56 +00:00
459f13e72b
Clean up the colorfade code. Patch by boeseRaupe, fixes #2395
...
This was SVN commit r14702.
2014-01-29 14:49:36 +00:00
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
5e70bd3628
Fix and cleanup my recent changes.
...
This was SVN commit r14686.
2014-01-26 19:01:21 +00:00
3e1fc74add
improve alert tooltip, see #2353
...
This was SVN commit r14684.
2014-01-26 18:17:13 +00:00
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
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
a8fbe4eedc
Centralizes centering rating into one function.
...
This was SVN commit r14678.
2014-01-26 05:27:00 +00:00
041c6ab1b3
More lobby cleanup.
...
This was SVN commit r14677.
2014-01-26 04:25:35 +00:00
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
851c05a038
Cleanup and spam blocker redesign in lobby.js.
...
This was SVN commit r14671.
2014-01-25 20:51:01 +00:00
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
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
e5e634f768
Displays ratings in the userlist. Fixes #2371 .
...
This was SVN commit r14650.
2014-01-23 23:13:13 +00:00
df3bdcf8ca
add back some lines removed unintentionally by previous tag
...
This was SVN commit r14631.
2014-01-21 22:59:21 +00:00
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
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
7a520adbf3
Improve the wording of attack tooltips.
...
This was SVN commit r14618.
2014-01-19 02:01:21 +00:00
3cde5632ff
Fix StoneCrossBox sizing.
...
This was SVN commit r14613.
2014-01-18 20:29:21 +00:00
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
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
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
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
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
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
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
0521d936a1
reduce a GuiInterface call for displaying formation tooltip
...
This was SVN commit r14577.
2014-01-12 18:39:47 +00:00
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
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
eee6ed65dc
still another fix to the gatherer count
...
This was SVN commit r14567.
2014-01-10 22:50:13 +00:00
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
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
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
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
bec7cfd520
Another attempt to fix the lobby disconnects.
...
This was SVN commit r14541.
2014-01-08 04:22:34 +00:00
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
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
baf6925b66
Tactical varfare.
...
This was SVN commit r14528.
2014-01-06 20:55:22 +00:00
8cc1ddf6de
Small code style fix
...
This was SVN commit r14527.
2014-01-06 20:13:55 +00:00
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
f19a8d6b41
Take the box formation out of the special case formations
...
This was SVN commit r14524.
2014-01-06 13:32:48 +00:00
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
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
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
9a41c588fe
prevent traders to cycle between two adjacent markets
...
This was SVN commit r14490.
2014-01-03 14:03:12 +00:00
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
dd86995f77
Fix some newlines.
...
This was SVN commit r14480.
2014-01-02 16:22:03 +00:00
b3d799d950
Replace inconsistent separators in quotes. Fixes #2247 . Patch by boeseRaupe.
...
This was SVN commit r14479.
2014-01-02 14:46:47 +00:00
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