Commit Graph

915 Commits

Author SHA1 Message Date
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
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
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
d7f18c10de Add visual indicator when unsetting rally-points, closes #2117
This was SVN commit r14462.
2013-12-31 13:21:06 +00:00
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
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
b3a74e8f72 Add message to help new users register for the lobby.
This was SVN commit r14457.
2013-12-31 01:14:09 +00:00
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
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
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
cd125a94e2 fix tests + code style cleanup
This was SVN commit r14426.
2013-12-29 10:01:39 +00:00
bf58f04511 add wonder victory condition. Refs #1649
This was SVN commit r14418.
2013-12-28 13:40:39 +00:00
749c4d5270 change the way to manage trade, closes #2311
This was SVN commit r14417.
2013-12-28 10:44:59 +00:00
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
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
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
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
3d9fe04ab5 Added Egyptian names for Ptolemaic buildings.
Deleted a bunch of maps. Added Lorraine Plain skirmish map.

This was SVN commit r14380.
2013-12-18 13:54:30 +00:00
0b80cbe3ec Hide the password field by default on the lobby login box if there is a remembered password. Since we only store hashed passwords, this avoids potential confusing from seeing a password much longer than the user’s in the field.
This was SVN commit r14376.
2013-12-18 00:56:59 +00:00
3c248e7501 Change the "Away" color in the lobby to be much easier to read on the dark background.
This was SVN commit r14375.
2013-12-17 23:58:53 +00:00
fd47e6caee Name.
This was SVN commit r14341.
2013-12-13 13:30:59 +00:00
619c59fd3f Read the default MUC room from the config file and set it to arena15. Fixes #2306.
Change the jid of xpartamupp to WFGbot to make it work on the new
server. Refs #2307.

This was SVN commit r14339.
2013-12-13 12:14:17 +00:00
71d378b7a5 A bunch of stuff.
This was SVN commit r14308.
2013-12-08 13:01:14 +00:00
e173493621 separate gui entityState in two parts to improve gui timing, adresses #2179
This was SVN commit r14306.
2013-12-08 10:02:19 +00:00
3182d6c8ee Reverts 4c9cd2921d fundraiser splash screen now that the fundraiser has ended
This was SVN commit r14304.
2013-12-08 01:35:06 +00:00
9678cf547a cache quantities depending only on the selection, adresses #2179
This was SVN commit r14296.
2013-12-05 18:50:29 +00:00
bddcd57dea - Fixed a prop typo in the Athenian temple.xml
- Added the first Egyptian music track to the Ptolemies.

- Adjusted the Sacred Band tip text. New pic coming soon.

- Still trying to figure out what to do with "Wasteland" map.

This was SVN commit r14276.
2013-12-04 00:18:52 +00:00
a96a333b47 Small cleanup.
This was SVN commit r14274.
2013-12-03 01:01:12 +00:00
3fea8d7c1e Some tips tweaks and new tips.
This was SVN commit r14269.
2013-12-01 18:22:28 +00:00
e88d05e0e4 allow units to guard/escort buildings or units, fixes #2034
This was SVN commit r14263.
2013-11-30 17:30:08 +00:00
351468dbe5 fix initialisation of developper overlay for saved games
This was SVN commit r14240.
2013-11-28 18:08:41 +00:00
09d5507ecb clean some useless code
This was SVN commit r14214.
2013-11-19 21:27:23 +00:00
e397993dae Deleting a bunch of scenarios.
Made peacock easier to hunt.

Fixed elite Ptolemaic slinger promotion.

Reduced the health of basic ranged citizen soldiers slightly.

Updated Deccan Plateau with moar forestry.

Fixed Athenian Marine specific name.

This was SVN commit r14207.
2013-11-17 20:16:57 +00:00
3ab983f8a1 Some "varfare" again plus a call to initMusic because that will be needed for the Spidermonkey upgrade.
This was SVN commit r14188.
2013-11-15 18:35:19 +00:00
2102648f7c Allows autogarrison of newly trained units, fixes #1044
This was SVN commit r14144.
2013-11-11 15:37:16 +00:00
4406be3a69 Fix crash when trying to join the lobby again if the host disconnected in the game setup screen.
This was SVN commit r14137.
2013-11-10 22:42:48 +00:00
f070bf9d1e Prohibit the user from picking the 'system' lobby name, as that's reserved for special messages.
This was SVN commit r14136.
2013-11-10 21:52:38 +00:00
59da5fad2a Fix some spidermonkey lobby complaints when run in strict mode.
This was SVN commit r14127.
2013-11-10 04:09:03 +00:00
37cedb8133 Make filters work and add a skirmish map filter.
This was SVN commit r14125.
2013-11-10 00:45:19 +00:00
4fb6896fd8 Fix warning when the hosted game is a random rms.
This was SVN commit r14124.
2013-11-09 23:57:31 +00:00
81cf02cc13 Fix building with --without-lobby. Fixes #2249.
This was SVN commit r14113.
2013-11-08 15:28:44 +00:00
0f8d3e23db ;
This was SVN commit r14112.
2013-11-08 15:28:38 +00:00
da6abe630a Fix error message on starting game due to missing global variable.
This was SVN commit r14110.
2013-11-08 09:52:48 +00:00