aa6de51793
Fix FPS, real time, and game time overlay hotkeys. Fixes 704d0f9511
.
...
This was SVN commit r15643.
2014-08-15 22:03:12 +00:00
1a33003538
AI should not use EntityRenamed messages coming from mirages, addresses #2724
...
This was SVN commit r15642.
2014-08-15 16:18:57 +00:00
d5cacb027f
Snow wolf. Texture edited by stanislas69
...
This was SVN commit r15641.
2014-08-15 12:14:45 +00:00
fef9b87381
Ptolemy I hero for ptolemaics by stanislas69
...
This was SVN commit r15640.
2014-08-15 12:04:52 +00:00
302b67049c
Gaul farmstead reshape (smaller) by stanislas69
...
This was SVN commit r15639.
2014-08-15 11:49:23 +00:00
8c1a7d5d4c
Ptolemaic blacksmith update by stanislas69
...
This was SVN commit r15638.
2014-08-15 11:35:07 +00:00
4f44416bb0
New Iberian houses
...
This was SVN commit r15637.
2014-08-14 21:01:04 +00:00
a4be909094
Temporary fixing the victory bug in survival of the fittest map. Refs #2721 .
...
This was SVN commit r15636.
2014-08-14 09:50:51 +00:00
b67a6f230b
Fix typo from 704d0f9511
.
...
This was SVN commit r15635.
2014-08-13 19:02:59 +00:00
704d0f9511
Add config settings for FPS, realtime, and gametime overlays.
...
This was SVN commit r15634.
2014-08-13 18:56:07 +00:00
c13547c9a0
Stan's rotary mill
...
This was SVN commit r15633.
2014-08-13 17:55:14 +00:00
a4df483f60
Forgot to make a variable unused.
...
This was SVN commit r15631.
2014-08-13 14:52:38 +00:00
ada7691bce
Add current time counter which can be triggered using Alt+T. Fixes #2718 . Patch by thamlett.
...
This was SVN commit r15630.
2014-08-13 02:35:29 +00:00
abef0673bd
fixes some typos
...
This was SVN commit r15629.
2014-08-12 20:45:06 +00:00
0b385384aa
Fix terrain overlay rendering after water.
...
This was SVN commit r15628.
2014-08-12 15:58:03 +00:00
f7cab71243
Iberian barracks replacement
...
This was SVN commit r15627.
2014-08-12 03:42:59 +00:00
8593825eee
Modifies 23c708f72a
to use the NONCOPYABLE macro as suggested by leper.
...
This was SVN commit r15626.
2014-08-09 21:16:25 +00:00
23c708f72a
Prevent copying of ScriptInterface objects.
...
Copying a ScriptInterface is not allowed. The destructor destroys the
JSContext and if there's a copy around that still uses it, that causes
crashes which can be quite hard to debug. This change prevents copying
by of ScriptInterface objects by making the copy constructor private,
which will reveal such errors at compile time.
This was SVN commit r15625.
2014-08-09 20:20:32 +00:00
83aa817f71
Exact stack rooting for simulation message type conversions.
...
Also replaces some deprecated API (jsval typedef and OBJECT_TO_JSVAL) in
that part of the code.
Refs #2415
This was SVN commit r15624.
2014-08-09 20:02:49 +00:00
8ce8e6ba9a
Exact stack rooting for IGUIObject.
...
Refs #2415
Refs #2462
This was SVN commit r15623.
2014-08-08 13:41:47 +00:00
9872f5741f
Exact stack rooting for ScriptInterface::FreezeObject.
...
Refs #2415
This was SVN commit r15622.
2014-08-08 11:59:49 +00:00
7471662ddc
A small change that increases the performance of most random map generation noticeably.
...
This was SVN commit r15621.
2014-08-07 09:27:22 +00:00
403b3b68af
Fix some errors in WaterManager.
...
This was SVN commit r15620.
2014-08-06 15:24:38 +00:00
e578d215ea
Fix free() of not allocated struct in the UPnP code. Patch by Echelon9. Fixes #2338 , #2418 .
...
This was SVN commit r15619.
2014-08-06 14:11:04 +00:00
5ae040ea54
Fix non-PCH build.
...
This was SVN commit r15618.
2014-08-06 13:23:02 +00:00
e865dc797d
Revert RedFox's changes to Spatial subdivisions in the simplest possible way (hopefully won't cause OOS, but at least we'll get reports). Fixes #2573 , Refs #2430 . There probably are opportunities to remove more things.
...
This was SVN commit r15617.
2014-08-06 09:21:00 +00:00
c0e7208130
Fixes 016d4599e1
by registering the new DisabledTemplatesChanged message.
...
Also fixes a typo.
This was SVN commit r15616.
2014-08-05 21:21:06 +00:00
c662a4e9e9
Fixes #2713
...
This was SVN commit r15615.
2014-08-05 19:03:10 +00:00
016d4599e1
Added the ability to disable training/building of entities by triggers. Changes survival of the fittest random map to work with this. Refs #52
...
This was SVN commit r15614.
2014-08-05 12:49:12 +00:00
f7e591c9f2
Hide changes to buildings in the fog-of-war.
...
To achieve this, mirage entities are created per player, to replace the
real entities when these ones fall into the fog-of-war. These mirage
entities are created on-the-fly, and destroyed when they get back in
sight.
This depends heavily on the VisibilityChanged message added in
2174eaaeee
.
As a temporary adjustment, territories do not explore the map anymore
when their borders change. See #2709 .
Fixes #599
This was SVN commit r15612.
2014-08-04 22:49:19 +00:00
e41f010f91
Fixes crash when loading maps in Atlas.
...
The ScriptInterface pointer can be NULL there, so using it without
checking is not safe.
This fixes the problem by continuing with the exact stack rooting
changes, which makes the temporary solution unnecessary.
Fixes #2707
Refs #2415
This was SVN commit r15611.
2014-08-04 20:14:17 +00:00
30fa275f9d
Fixed some keys not being recognized after a719696658
. Refs #195 .
...
This was SVN commit r15610.
2014-08-04 16:48:54 +00:00
a719696658
Support more mouse buttons. Fixes #195 . Patch by 01d55 with some minor cleanup.
...
This was SVN commit r15609.
2014-08-04 01:06:36 +00:00
be9d69fd24
Link actor editor built in debug mode to debug version of atlasUI. Fixes #2655 . Patch by Echelon9.
...
This was SVN commit r15608.
2014-08-03 22:46:20 +00:00
efb889b79a
Exact stack rooting for WriteStructuredClone and functions that use it.
...
Refs #2415
This was SVN commit r15607.
2014-08-03 19:32:39 +00:00
f4d62152e7
Exact stack rooting for GetClass and GetPrivate.
...
Refs #2415
This was SVN commit r15606.
2014-08-03 17:53:21 +00:00
169174824f
Exact stack rooting for ScriptInterface::ToString.
...
I had to change a few other functions to take JS::MutableHandleValue
because JS::Stringify takes a JS::MutableHandleValue as input parameter.
That seems a bit strange because it should not change that value.
I assume it has historical reasons.
Refs #2415
Refs #2462
This was SVN commit r15605.
2014-08-03 17:29:49 +00:00
1561f55b27
Batch-change RM map water type and waviness settings. Again, this errs on the "not enough" side.
...
This was SVN commit r15604.
2014-08-03 11:01:41 +00:00
a2bd44b23a
Exact stack rooting for JSON related ScriptInterface functions.
...
Refs #2415
Refs #2462
This was SVN commit r15603.
2014-08-02 22:21:50 +00:00
15fa9e2c2e
(semi-auto) update scenarios and skirmishes water settings (type and waviness). Probably errs on the "not enough" side.
...
This was SVN commit r15602.
2014-08-02 17:08:42 +00:00
c818b8e475
Exact rooting for CallConstructor.
...
Refs #2415
Refs #2462
This was SVN commit r15601.
2014-08-02 16:30:15 +00:00
736d934107
Removes an unused codepath for AI deserialization and related ScriptInterface code.
...
It might actually be needed again in the future, but I think even then
it would be easier to rewrite it than having to update the code in the
meantime.
Refs #2462
This was SVN commit r15600.
2014-08-02 13:22:02 +00:00
4028cd425e
Actually fix bugs on ATI cards. Switch reflection and refractions to use POT textures in an attempt to improve compatibility.
...
This was SVN commit r15598.
2014-08-02 12:54:45 +00:00
608c27fe10
Exact stack rooting for structured cloning functions.
...
Refs #2415
Refs #2462
This was SVN commit r15597.
2014-08-01 20:55:16 +00:00
7dbbb4e419
some cleaning of petra code
...
This was SVN commit r15596.
2014-08-01 14:32:31 +00:00
2b0af756f6
Temporary reversion for a graphic problems with some ATI cards when disabling water reflections.
...
This was SVN commit r15595.
2014-08-01 13:26:45 +00:00
e50147fd96
Metaprogramming 9ce51f4357
.
...
Change something on water shaders to see if it works better on ATI
cards.
This was SVN commit r15594.
2014-08-01 10:15:29 +00:00
ec6b098dd4
Petra: some adjustements on naval transport
...
This was SVN commit r15593.
2014-07-31 21:35:28 +00:00
5c07a25ddc
More exact stack rooting (CallFunction object).
...
Changes CallFunction and CallFunctionVoid to use a HandleValue as object
parameter. Also changes some JS serialization/deserialization functions
to only support the JSAPI rooted types (drop support for CScriptVal and
CScriptValRooted there). Some other functions got changed too because
they were closely related.
Refs #2415
Refs #2462
This was SVN commit r15592.
2014-07-31 19:18:40 +00:00
d677a30c39
Adds support for passing JS::HandleValue and JS::RootedValue& to CallFunction.
...
Also adds tests for these cases.
Refs #2415
This was SVN commit r15591.
2014-07-31 16:34:15 +00:00