7cac7cd65e
Add RNC to RNG conversion script that uses trang. Fixes #245 .
...
Also fix the material.rnc.
This was SVN commit r16734.
2015-06-07 23:52:52 +00:00
a18fbd12ec
XML validation. Based on patch by historic_bruno. Refs #245 .
...
This was SVN commit r16733.
2015-06-07 21:56:52 +00:00
2457b69fb3
Fix const attribute for some function parameters.
...
This was SVN commit r16730.
2015-06-07 09:24:19 +00:00
be93b31411
Visual replay of command files, patch by elexis.
...
Works with the command line argument
"-replay-visual=/path/to/commands.txt". It is not integrated to the main
menu GUI yet.
Refs #9 .
This was SVN commit r16727.
2015-06-06 08:45:49 +00:00
14bfbbf9d4
Allow sprites to have color multiplication, which allows player-colored bars. Patch by Vladislav. Fixes #3233
...
This was SVN commit r16715.
2015-06-04 12:16:52 +00:00
f6f4f83784
Fixes instant multiplayer crash on OS X Lion (10.7). libc++ had a bug where it set eofbit on reading the last character in a stringstream, we compare gcount with the expected length as a workaround to detect real eofs. Fixes #3109 .
...
This was SVN commit r16714.
2015-06-04 05:11:47 +00:00
6506bc20cb
Fixes #3238 , SetGlobal 'TriggerHelper' called multiple times
...
This was SVN commit r16713.
2015-06-03 20:34:59 +00:00
2092ed4396
Removes use of 'register' storage class, deprecated in C++11. Fixes -Wdeprecated-register build warnings in clang, fixes #3068 .
...
This was SVN commit r16708.
2015-06-02 03:20:04 +00:00
c3b8923ff7
Update tinygettext.
...
Updates tinygettext to upstream commit
0e34a55e514763a48f8abe7812405ffe722a31f4.
No actual code changes from the previously bundled version, but it was
relicensed to zlib.
Keeps the addition of precompiled.h and win32 dirent.
This was SVN commit r16705.
2015-06-01 01:09:19 +00:00
f71be3c764
Use iterators for XMBAttributeList and XMBElementList. Fixes #3269 .
...
This was SVN commit r16704.
2015-06-01 00:29:35 +00:00
d3da00dc99
Fix some issues found by static analysis.
...
Actually abort in case of recursive includes again. Refs #2622 .
This was SVN commit r16703.
2015-06-01 00:29:23 +00:00
b738772d65
Fix typo
...
This was SVN commit r16696.
2015-05-29 19:51:48 +00:00
e68ef21334
Don't decay when connected to connected allied territory, and also allow the decay script to determine which parts of the territory should blink
...
This was SVN commit r16692.
2015-05-29 07:02:16 +00:00
e5727980da
Adds debug output to display return code of failing SHGetFolderPathW, refs #3267
...
This was SVN commit r16688.
2015-05-27 02:02:32 +00:00
e638af5422
Clean up some unused variables and assignments.
...
This was SVN commit r16684.
2015-05-26 15:40:07 +00:00
4ccc9130ba
Add missing include.
...
This was SVN commit r16683.
2015-05-26 15:40:04 +00:00
60f784900a
Fix the territory influence weight to fit into an u16 number. (no idea why the buildings have so many different weights though).
...
This was SVN commit r16682.
2015-05-26 14:25:23 +00:00
0054486dba
Implement methods to find the neighbour of a certain territory, and use it for territory decay. Fixes #3204
...
This was SVN commit r16676.
2015-05-25 14:17:45 +00:00
c93c1c92eb
Replace std::auto_ptr uses by std::unique_ptr since the former is deprecated.
...
This was SVN commit r16674.
2015-05-25 01:23:27 +00:00
8b4b8431e3
Small cleanup, based on a change from one of Philip's old patches
...
This was SVN commit r16653.
2015-05-16 09:39:27 +00:00
a39aa76e62
These temporary roots aren't needed anymore with SpiderMonkey 31
...
This was SVN commit r16647.
2015-05-10 09:01:39 +00:00
399daeddbf
prevent loading of templates in AIManager when no AIs, fixes #3101
...
This was SVN commit r16633.
2015-05-07 19:09:39 +00:00
8e44687ae3
Properly fix #3223 .
...
The previous commit destroyed the context while it was still in use.
This was SVN commit r16631.
2015-05-06 20:28:28 +00:00
642500b49e
Make the Ptolemaic lighthouse reveal the shore on the entire map.
...
Fixes #3174
This was SVN commit r16628.
2015-05-06 18:47:02 +00:00
4db041e3c6
Stop leaking g_ScriptStatsTable in replay mode. Fixes #3223 .
...
This was SVN commit r16627.
2015-05-05 22:34:41 +00:00
7f606250f8
Fix build failure on GCC 4.6.
...
This was SVN commit r16623.
2015-05-04 19:37:25 +00:00
b8a20c958c
Do not serialize properties for Sets. Serialization tests for Map and Set.
...
This was SVN commit r16620.
2015-05-04 01:41:09 +00:00
0a44d24c96
Flip the overlay sprites face around to show the non-mirrored side. Now sprites are rendered correctly (which should have happened in d4794b5474
).
...
This was SVN commit r16617.
2015-05-03 15:55:17 +00:00
7a70c475df
Improve rejoin messages. Patch by elexis. Fixes #1949 .
...
This was SVN commit r16614.
2015-05-03 02:06:17 +00:00
a9afa61a7b
Serialization support for ES6 Sets.
...
This was SVN commit r16608.
2015-05-01 23:04:28 +00:00
e758701da5
Include missing header.
...
This was SVN commit r16595.
2015-04-29 15:54:08 +00:00
7d953ff0a7
Fix compiler warning.
...
This was SVN commit r16594.
2015-04-29 00:07:48 +00:00
487d6a1afc
When using SDL2 recommend a >= 2.0.2 version to avoid incurring in possible bugs with older versions.
...
This was SVN commit r16585.
2015-04-27 07:56:34 +00:00
bda45f6526
Clarify the XpartaMuPP readme. Fixes #3163 .
...
Also converts it to markdown.
This was SVN commit r16567.
2015-04-22 23:43:59 +00:00
535d612e06
Small fixes.
...
This was SVN commit r16552.
2015-04-20 14:51:06 +00:00
a0cf780e1e
Amend 5c84c3e9e5
...
This was SVN commit r16547.
2015-04-16 13:17:58 +00:00
2042e6b2d4
Added TriggerScripts Reload(Hotloading) when you change the file and save
...
This was SVN commit r16546.
2015-04-16 04:30:51 +00:00
5c84c3e9e5
Some entities (like birds) can have negative positions without being marked as out-of-world.
...
Refs #2430
This was SVN commit r16544.
2015-04-15 12:19:47 +00:00
120ff2c60c
Fix the structure tree a second time, this should also work on Windows.
...
This was SVN commit r16542.
2015-04-15 09:10:05 +00:00
6aa99d762f
Add a new spatial subdivision, based on an old patch by wraitii.
...
This subdivision is faster but less precise, so range queries get more
entities and are a bit slower (up to 1ms approx.), but the overall gain
on a simulation update is always positive and can reach 10ms per frame.
For now, this new subdivision is only used by the range manager,
integrating it in the obstruction manager might be sensible.
Refs #2430
This was SVN commit r16540.
2015-04-14 21:33:43 +00:00
a980d8fdfc
Fix structure tree by allowing undefined templates in the productionqueue
...
This was SVN commit r16537.
2015-04-14 18:45:02 +00:00
b6bcfdbb2e
Fixes missing newlines in debug_printf, patch by elexis, fixes #3056
...
This was SVN commit r16534.
2015-04-12 19:38:31 +00:00
01673b4c58
Add the -ooslog support for replays. Refs #3169 , see also a7b18d02bf
.
...
This was SVN commit r16531.
2015-04-11 18:12:35 +00:00
cf527707da
Revert "Improve ARRAY_SIZE." ( 7afaacda19
).
...
constexpr and noexcept are only supported by VS November 2013 CTP.
This was SVN commit r16508.
2015-04-06 21:24:53 +00:00
f2c76cc75d
Fix a number of issues related to historical messages and initial join in the multiplayer lobby. Fixes #3156
...
This was SVN commit r16507.
2015-04-06 19:33:37 +00:00
7afaacda19
Improve ARRAY_SIZE.
...
This was SVN commit r16499.
2015-04-05 16:50:26 +00:00
a6a2914882
Fix error when you paste entities over another entity and you try to rotate at the same time while pressing alt/shift key
...
This was SVN commit r16497.
2015-04-04 21:45:11 +00:00
0e2c30c7d2
Reduce the strength of the elevation brushes in Atlas.
...
This was SVN commit r16488.
2015-04-02 13:43:47 +00:00
4e763ef26e
Move civ JSON files to simulation/data. Patch by MattDoerksen. Fixes #2562 .
...
This was SVN commit r16485.
2015-04-01 23:48:33 +00:00
41863d6ae2
Explicitly cast to unsigned to fix a warning.
...
This was SVN commit r16483.
2015-04-01 23:48:23 +00:00