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
743644f5ce
Roman tower remake
...
This was SVN commit r14495.
2014-01-04 04:14:29 +00:00
e096df0070
fix units attacking harmless gaia buildings
...
This was SVN commit r14494.
2014-01-03 20:24:02 +00:00
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
28f022993a
Fix template typos and inconsistaint whitespace.
...
This was SVN commit r14492.
2014-01-03 19:55:29 +00:00
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
9a41c588fe
prevent traders to cycle between two adjacent markets
...
This was SVN commit r14490.
2014-01-03 14:03:12 +00:00
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
f634a8db3e
fix units fleeing too far
...
This was SVN commit r14488.
2014-01-03 12:49:04 +00:00
6e4adcba52
add missing rallypoint to garrisonholder wonders
...
This was SVN commit r14487.
2014-01-03 11:24:23 +00:00
1c3da82869
New Carthaginian wonder commit
...
This was SVN commit r14486.
2014-01-03 03:17:53 +00:00
f7c1b73a01
Some more tweaks for the Seleucids.
...
Updated portraits.
This was SVN commit r14485.
2014-01-02 23:24:18 +00:00
66de76e026
fixes #2340 , patch by itms
...
This was SVN commit r14484.
2014-01-02 23:11:18 +00:00
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
8b98e2d513
Fix osx libraries build script for WXwidgets and libiconv.
...
This was SVN commit r14482.
2014-01-02 17:24:48 +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
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
5b2cb0e72f
small code fix
...
This was SVN commit r14477.
2014-01-02 08:40:51 +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
d8e8f613cd
small code cleanup
...
This was SVN commit r14475.
2014-01-01 19:56:27 +00:00
59525414ee
fix automatically attacking buildings caused by 66770feed6
...
This was SVN commit r14474.
2014-01-01 19:54:15 +00:00
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
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
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
2197b80747
fix oos problem mentioned by Yves on IRC
...
This was SVN commit r14470.
2014-01-01 16:15:26 +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
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
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
9d9361ae44
Why you should test your code before committing, exhibit A.
...
This was SVN commit r14466.
2013-12-31 21:45:11 +00:00
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
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
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
c0472f0de5
Fix trivial comment typo caught by wraitii.
...
This was SVN commit r14460.
2013-12-31 11:06:00 +00:00
f8ca47913d
fix division by zero for zero-time technologies. Fixes #2334
...
This was SVN commit r14459.
2013-12-31 09:02:58 +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
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
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
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
1c9965999b
Use another muc room for svn/a16.
...
This was SVN commit r14453.
2013-12-30 19:44:42 +00:00
dddc9bab7f
Fix tests.
...
This was SVN commit r14452.
2013-12-30 18:55:37 +00:00
4776d85301
use UnitMotionFlying for the hawks
...
This was SVN commit r14451.
2013-12-30 18:03:01 +00:00
298115f4c5
Fix units chasing each other. Fixes #1537
...
This was SVN commit r14449.
2013-12-30 16:07:19 +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
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
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
5febe42aa9
Fix [14444]
...
This was SVN commit r14445.
2013-12-30 12:50:06 +00:00