Imarok
e7eeb6927d
Remove deprecated water parameters. Patch by paulobezerr. Partial review by FeXoR. Fixes #4292 .
...
This was SVN commit r19040.
2016-12-12 23:46:46 +00:00
wraitii
06333708f8
Fix animation syncronisation between actor props. Fixes #2324 one more time. Refs [18568] and [18265]. Reported by
...
wowgetoffyourcellphone
This was SVN commit r19031.
2016-12-08 23:16:54 +00:00
elexis
808dd347b6
Play cinematic paths on arbitrary cameras to prepare previews of the camera frustum in atlas. Patch by Vladislav, refs #3814 .
...
This was SVN commit r18992.
2016-11-23 14:50:47 +00:00
elexis
417c84870c
Actually remove trailing tabs from source/.
...
This was SVN commit r18991.
2016-11-23 14:09:58 +00:00
elexis
6149dd3841
Actually remove trailing whitespace for non-header files as well.
...
This was SVN commit r18989.
2016-11-23 13:02:58 +00:00
elexis
b18f74da44
Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/.
...
This was SVN commit r18987.
2016-11-23 11:18:37 +00:00
Itms
0cc23c1964
SpiderMonkey 38 upgrade: 33/35
...
Remove a workaround. Note that this removal is incomplete. Based on
patch by leper.
This was SVN commit r18687.
2016-09-02 16:53:22 +00:00
leper
4ed7d6c202
Fix compilation failure.
...
This was SVN commit r18621.
2016-08-21 20:35:10 +00:00
Itms
4e87fef3da
The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling.
...
Patch by leper, refs #3708
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r18580.
2016-08-02 16:58:30 +00:00
sanderd17
51eb4b255c
Don't let the props inherit the 'idle' animation if the parent doesn't have the needed animation. Fixes #4071
...
This was SVN commit r18568.
2016-07-29 11:57:27 +00:00
wraitii
7c21a0cf8e
Header cleanup: profile.h is no longer unnecessarily included in scriptinterface.h but rather in the required .cpp files
...
This was SVN commit r18417.
2016-06-21 10:33:11 +00:00
sanderd17
450973a624
Clean up some code-style issues reported by leper
...
This was SVN commit r18390.
2016-06-16 14:51:12 +00:00
sanderd17
ff886b1773
Try to fix issue with probably uninitialised animation frequency, improve error message and clean up code a bit
...
This was SVN commit r18278.
2016-06-01 07:21:50 +00:00
sanderd17
b18c4ac217
Code style improvements to df971c3885
...
This was SVN commit r18267.
2016-05-30 17:05:39 +00:00
sanderd17
83af69286d
Allow simulation to set the actor variant selection, and use it for the garrison flag. Fixes #3952 Refs #2679 , #3983
...
This was SVN commit r18266.
2016-05-30 14:07:48 +00:00
sanderd17
df971c3885
Allow to give a frequency to animations, and allow to sync randomly selected animations on base model and prop. Fixes #2324
...
This was SVN commit r18265.
2016-05-30 11:53:19 +00:00
elexis
9cc98aaf47
Take new observermode into account in some missing places, refs #3850 , #3168 .
...
This was SVN commit r18223.
2016-05-23 15:26:47 +00:00
sanderd17
8311472a5c
Change include into forward declaration
...
This was SVN commit r18063.
2016-04-19 17:48:06 +00:00
sanderd17
1e6c12de7b
Allow variants to be defined in external files. Fixes #3286
...
This was SVN commit r18054.
2016-04-19 07:51:59 +00:00
sanderd17
df3c3c35b2
Cleanup cinema code. Fix some issues with resetting of times. Patch by Vladislav. Refs #3814
...
This was SVN commit r18041.
2016-04-17 15:43:29 +00:00
sanderd17
22bbe450e4
Move some methods out of the headers. Patch by Vladislav. Refs #3814
...
This was SVN commit r18000.
2016-04-07 17:47:30 +00:00
sanderd17
2a11d3ca7b
Interpolate cinematic camera rotation + allow more points in cinematic path + add comments. Patch by Vladislav. Refs #3814
...
This was SVN commit r17975.
2016-04-04 20:31:18 +00:00
elexis
c3ac6cf7fc
Save target-nodes (lookAt-coordinates) for cinematic-camera paths. Patch by Vladislav, refs #3301 .
...
This was SVN commit r17763.
2016-02-15 17:18:59 +00:00
elexis
a2f7d4d82a
Show fog of war in observermode, fixes #3168 .
...
This was SVN commit r17735.
2016-02-06 12:56:41 +00:00
Yves
1a66f510d0
Use const T& for parameters of some types in script-exposed native functions
...
Using references matches the C++ coding style better and should improve
performance a bit in theory. It avoids 2 copies of T in case of the
functions registered with RegisterFunction (mainy used in the GUI). It
should also avoid one or two copies in case of
DEFINE_INTERFACE_METHOD_X, which is used in the simulation, but I
haven't bothered to count it there exactly.
It is now predefined which types have to be passed by const reference
and which are passed by value. Note that references can't be used as
out-parameters (to return multiple values to JS). This hasn't worked
before either and probably never will.
This was SVN commit r17696.
2016-01-23 15:17:56 +00:00
elexis
327c0d0d00
Remove trailing whitespace. Refs #118 .
...
This was SVN commit r17650.
2016-01-14 00:04:32 +00:00
leper
fb92761c92
Use explicit types instead of auto.
...
This was SVN commit r17642.
2016-01-13 00:42:55 +00:00
Yves
89aef0b6eb
Cinematic camera core functionality. Patch by Vladislav Belov.
...
Based on existing code that was still around from an old(not working)
implementation.
Supports basic control from trigger scirpts (queue, start and stop
camera paths) and works in multiplayer.
This was SVN commit r17594.
2016-01-03 12:41:04 +00:00
Yves
d313a1934a
Code style cleanups for CinemaPath in preparation for the cinematic camera patch.
...
Refs #3301
This was SVN commit r17593.
2016-01-02 20:14:14 +00:00
Yves
a144ec7e08
Indentation corrections and other code style fixes in preparation for the cinematic camera patch.
...
Refs #3301
This was SVN commit r17578.
2015-12-31 13:40:56 +00:00
Yves
8d9cfd66b8
Reorganize code in different files in prepartion for the cinematic camera patch (by Vladislav Belov).
...
Refs #3301
This was SVN commit r17575.
2015-12-30 21:16:35 +00:00
mimo
543472b77b
Optimization of isBoxVisible + cleanup, fixes #3712
...
This was SVN commit r17561.
2015-12-28 16:27:31 +00:00
leper
6f09803e8c
TerrainTextureManager file loading rewrite. Fixes #3358 .
...
Add directory callback to vfs::ForEachFile.
Each terrain directory should now have a terrains.xml file,
as using the previous terrains.xml file is unlikely to be what was
intended.
This was SVN commit r17341.
2015-11-30 20:12:12 +00:00
historic_bruno
4043c56518
Fixes global init order bug that caused OOS between OS X and other platforms, fixes #3499 . May improve pathfinding behavior in some cases, please test!
...
This was SVN commit r17132.
2015-10-15 02:51:12 +00:00
leper
558d43bac5
Replace some functor structs with lambdas, closures or range-based fors.
...
This was SVN commit r16923.
2015-08-19 03:33:04 +00:00
leper
36c6b50944
Revert emplace for associative containers. Fixes #3366 .
...
GCC < 4.8.0 does not support emplace for those.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 .
This was SVN commit r16922.
2015-08-19 03:32:47 +00:00
leper
a4e606c575
TerrainTextureManager cleanup.
...
This was SVN commit r16901.
2015-07-30 21:51:01 +00:00
leper
8bfe16cac8
Use in-place construction.
...
This was SVN commit r16894.
2015-07-29 23:44:17 +00:00
leper
c5eb9b7bb7
Range-based for for VfsPath loops.
...
This was SVN commit r16893.
2015-07-29 23:44:12 +00:00
leper
a07add11c6
Some range-based for loops and some style cleanup.
...
This was SVN commit r16888.
2015-07-29 01:07:23 +00:00
leper
851e863892
Remove animation name compatibility mapping.
...
10 years should have given everyone enough time to move to the new
naming scheme.
This was SVN commit r16884.
2015-07-27 01:08:29 +00:00
leper
495aa7bec5
Expose TemplateExists() to RM scripts.
...
This was SVN commit r16804.
2015-06-21 20:22:34 +00:00
leper
ae4dfe294d
Actually state the file instead of the directory in some error messages.
...
This was SVN commit r16802.
2015-06-21 18:46:33 +00:00
leper
8380b67f94
Move GUI schemas to the mod mod. Fix some validation related errors in the mod mod.
...
Check if the used directory exists before trying to add a validator.
Refs #245 .
This was SVN commit r16773.
2015-06-15 16:00:26 +00:00
leper
68ea5f37f4
Remove unused ctors. Fixes compilation with GCC 4.6.
...
This was SVN commit r16771.
2015-06-14 23:50:38 +00:00
trompetin17
25a7d79d1e
FIXE ERROR: CCmpPosition::GetPosition called on entity when IsInWorld is false, when you save a map with garrisoned units, thx to daniel for report
...
This was SVN commit r16769.
2015-06-14 22:17:39 +00:00
Itms
6581796103
New long-range pathfinder.
...
Based on Philip's work located at
http://git.wildfiregames.com/gitweb/?p=0ad.git;a=shortlog;h=refs/heads/projects/philip/pathfinder
Includes code by wraitii, sanderd17 and kanetaka.
An updated version of docs/pathfinder.pdf describing the changes in
detail will be committed ASAP.
Running update-workspaces is needed after this change.
Fixes #1756 .
Fixes #930 , #1259 , #2908 , #2960 , #3097
Refs #1200 , #1914 , #1942 , #2568 , #2132 , #2563
This was SVN commit r16751.
2015-06-12 18:58:24 +00:00
leper
a18fbd12ec
XML validation. Based on patch by historic_bruno. Refs #245 .
...
This was SVN commit r16733.
2015-06-07 21:56:52 +00:00
sanderd17
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
leper
f71be3c764
Use iterators for XMBAttributeList and XMBElementList. Fixes #3269 .
...
This was SVN commit r16704.
2015-06-01 00:29:35 +00:00