sanderd17
bb71823aee
Make the actor tech-modifiable. Fixes #2243
...
This was SVN commit r14928.
2014-04-14 15:00:49 +00:00
wraitii
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
Ykkrosh
05422ad545
Avoid slightly-expensive QueryInterface() calls
...
Add CEntityHandle which wraps an entity_id_t and also has a pointer to a
per-entity array of IComponents. QueryInterface/CmpPtr on a handle just
involve a couple of pointer dereferences instead of a map lookup.
This requires sizeof(void*) per registered interface type per entity,
which is currently ~0.5KB per entity, which shouldn't be a problem.
This was SVN commit r13825.
2013-09-11 20:41:53 +00:00
historic_bruno
b770c41f0b
Removes shadow casting and receiving on preview entities, patch started by ericb, fixes #1771
...
This was SVN commit r13706.
2013-08-18 22:17:57 +00:00
historic_bruno
49b3b0ee9a
Reverts interpolation changes from a7bc7ab50c, 71ae5a19d8, 1778e685ac, c6043779f6, 8777f68aa0, 21f13f9683. Refs #1846 , #1858 , #1865 , #1906
...
This was SVN commit r13500.
2013-06-25 01:09:43 +00:00
leper
29549561e1
Add flag to VisualActor for entities that should only be visible in Atlas. Patch by KareemErgawy. Fixes #1411 .
...
This was SVN commit r13465.
2013-06-09 23:18:21 +00:00
historic_bruno
71ae5a19d8
Fixes visual actor interpolation, handling position changes more cleanly, based on patch by sbte.
...
Fixes rally point lines not updating, fixes #1865
This was SVN commit r13323.
2013-03-23 17:59:54 +00:00
quantumstate
21f13f9683
Only use interpolation for moving objects in VisualActor. Patch by sbte. Fixes #1846 .
...
This was SVN commit r13223.
2013-03-05 20:02:16 +00:00
historic_bruno
31be9cd0de
Adds building previews that rise during construction, fixes #1174 , refs #21 .
...
Adds scaffold support for foundations, includes two examples for 3x3 and
4x4, fixes #1581 .
Extends CmpVisualActor and CUnit to support random variant seeds.
Fixes bug in actor hotloading.
Fixes serialization failure caused by destroying entities in OnDestroy
handlers.
This was SVN commit r13143.
2013-02-03 02:08:20 +00:00
historic_bruno
e89193d66d
Fixes serialization test failure from CmpVisualActor not setting initial animation state with graphics disabled, fixes #1812
...
This was SVN commit r13053.
2013-01-06 07:37:22 +00:00
leper
8c931bfa52
Add animation override to VisualActor to fix carrying resource animations. Patch by Deiz. Fixes #1260 , #1741 .
...
This was SVN commit r12949.
2012-12-06 19:46:13 +00:00
myconid
648e68e49c
smooth LOS
...
This was SVN commit r12304.
2012-08-06 22:38:42 +00:00
historic_bruno
c0f522fd20
Use upper camel case for member variables
...
This was SVN commit r12298.
2012-08-06 16:46:54 +00:00
Deiz
2c642fc68e
Uninitialized variable was causing nondeterministic weirdness in Atlas.
...
This was SVN commit r12275.
2012-08-04 16:56:09 +00:00
Deiz
3c0bd23108
Slightly speed up actor rendering; have selectables properly handle fog of war, etc. Refs #1365 .
...
This was SVN commit r12241.
2012-07-30 21:06:54 +00:00
vts
6b50a660b9
Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824 . Refs #824 .
...
This was SVN commit r11944.
2012-06-06 19:37:03 +00:00
Ykkrosh
f3617822e0
Make AlwaysVisible objects always visible in shader mode. Fixes #908 .
...
This was SVN commit r11454.
2012-04-08 16:36:23 +00:00
historic_bruno
08bd07ddd6
Adds safe bool operator to ICmpPtr, replacing the null() method, based on patch by leper. Also changes bool operator in AtSmartPtr to safe bool. Fixes #1077 .
...
Changes some CmpPtr variable names for consistency.
This was SVN commit r11036.
2012-02-08 02:46:15 +00:00
vts
6156fa7c9a
Changed default idle animation speed to 1 so that waypoint flags will animate properly
...
This was SVN commit r10712.
2011-12-11 13:35:51 +00:00
vts
db864f10c3
Rendering marker lines between buildings and rally points
...
Added command button to focus on rally point
(implements #524 )
This was SVN commit r10704.
2011-12-10 07:07:04 +00:00
vts
1c19e905b1
Added prop points to Atlas' Actor Viewer
...
This was SVN commit r10696.
2011-12-09 10:49:08 +00:00
vts
85186c98b2
Better selection boxes. Closes #914 , #295 , #810 .
...
This was SVN commit r10593.
2011-11-25 06:36:13 +00:00
Ykkrosh
21c6141cdc
Preserve player colours and animations when serializing models
...
This was SVN commit r10453.
2011-10-29 15:30:46 +00:00
Ykkrosh
0f3119e36a
Fix deserialization of actor components
...
This was SVN commit r10425.
2011-10-24 12:24:04 +00:00
Ykkrosh
609f1643d5
Fix -Wconversion warnings in simulation code.
...
Cast to smaller integer types explicitly.
Generally avoid platform-dependent types (size_t) in simulation code.
Use float versions of math.h functions, not double.
This was SVN commit r10017.
2011-08-16 11:18:32 +00:00
Ykkrosh
8af82baf67
# Minor particle system fixes.
...
Support emitters that are fully running as soon as the game starts.
Fix particle clumping when moving from off-screen to on-screen, by
computing updates more incrementally.
Fix overzealous culling of models with particle emitters.
Add particles to renderer stats.
This was SVN commit r9345.
2011-04-29 12:26:31 +00:00
Ykkrosh
d03559f2c9
Add dust particles on under-construction buildings, varying based on number of active builders.
...
This was SVN commit r9175.
2011-04-06 00:11:40 +00:00
Ykkrosh
823e63a93b
# Initial version of new particle system.
...
This was SVN commit r9151.
2011-04-03 19:15:15 +00:00
Ykkrosh
1a072a3f37
Use a predictable RNG seed for random actor variations, so they are consistent between runs of the game.
...
This was SVN commit r9143.
2011-04-02 12:51:42 +00:00
Ykkrosh
97c934ad1c
Apply unit shading colour in shader renderpath.
...
Don't adjust the shading colour of units in FoW (the shading comes from
the LOS texture instead).
This was SVN commit r9142.
2011-04-02 12:04:19 +00:00
janwas
588bfa11bf
remove unnecessary utf8 includes
...
This was SVN commit r9110.
2011-03-23 16:32:44 +00:00
Ykkrosh
d805e764c5
# Render unit silhouettes when behind buildings.
...
Fixes #144 .
Start using stencil buffer.
Simplify materials a little.
This was SVN commit r9076.
2011-03-18 16:57:54 +00:00
Ykkrosh
d24c93237c
# Initial version of terrain decal textures.
...
Rejig CModel to support non-mesh-based props.
Avoid redundant recomputation for non-moving CRenderableObjects.
This was SVN commit r9055.
2011-03-13 19:22:05 +00:00
Ykkrosh
c3b734775b
Simplify component interface: remove explicit context parameter, use GetSimContext() instead.
...
This was SVN commit r8867.
2011-01-16 14:08:38 +00:00
Ykkrosh
e13196e7a2
Fix serialization of most components
...
This was SVN commit r8449.
2010-10-23 19:59:40 +00:00
Ykkrosh
f2e96f3f3c
Reduce brightness of fogged objects.
...
This was SVN commit r8273.
2010-10-04 17:35:13 +00:00
Ykkrosh
ab77ec40e4
Fix highlighting of obstructed building placement previews.
...
Prevent building in non-visible areas.
Fixes #594 .
This was SVN commit r8272.
2010-10-04 17:34:33 +00:00
Ykkrosh
85deca90e4
Fix projectiles in FoW
...
This was SVN commit r8163.
2010-09-23 13:09:35 +00:00
Ykkrosh
924d1219a7
# Add fog-of-war.
...
Move Vision component to C++, for more efficient FoW processing.
Disable FoW on demo maps.
This was SVN commit r8160.
2010-09-23 12:13:13 +00:00
Ykkrosh
3d8d354a18
# Optimise spatial queries.
...
This was SVN commit r8136.
2010-09-19 18:08:56 +00:00
Ykkrosh
2b57f4f998
# Initial support for formation movement.
...
Support asynchronous path queries.
Allow escaping when stuck in impassable terrain tiles.
Split Update message in multiple phases, to cope with ordering
requirements.
Support automatic walk/run animation switching.
This was SVN commit r8058.
2010-09-03 09:55:14 +00:00
Ykkrosh
c728aa972c
Support the <float/> property in actors
...
This was SVN commit r7883.
2010-08-09 01:28:13 +00:00
Ykkrosh
07615310f2
# Add rally points for newly-trained units, based on patch from evans.
...
Fixes #521 .
This was SVN commit r7849.
2010-08-05 10:20:47 +00:00
Ykkrosh
23c92b7fe3
Fix actor viewer animation offsetting.
...
Fix attack animation drifts.
This was SVN commit r7612.
2010-06-05 22:23:28 +00:00
Ykkrosh
d3048906cb
# Unit animation improvements.
...
Animate props much more sensibly.
Move ammo code out of CUnit.
Move animation logic out of CModel.
Launch projectiles from the correct location.
Use entity's speeds and sounds in actor viewer.
Add -nosound option to disable audio, and allow audio by default in
Atlas.
Remove some obsolete options.
This was SVN commit r7609.
2010-06-05 00:49:14 +00:00
Ykkrosh
310f3466a8
# Hotloading of actor XML files.
...
Stop ignoring actor XML animation speeds.
Add decentralised registration of hotloaders.
Move player ID storage into CModel, to simplify CUnit.
Remove obsolete unit ID allocation code.
Remove some material junk.
This was SVN commit r7605.
2010-06-03 01:29:43 +00:00
Ykkrosh
f33706bf8b
Switch everything to 15.16-bit precision fixeds, to allow more accurate unit vectors and angles.
...
This was SVN commit r7497.
2010-05-02 20:32:37 +00:00
Ykkrosh
dd809f83e8
# Add documentation of the entity template XML file format.
...
Simplify the format a bit.
Use less <interleave> in the RNG so that error reports become
understandable.
Fixes #491 .
This was SVN commit r7478.
2010-04-23 16:09:03 +00:00
Ykkrosh
0547757a30
Make CUnit::GetModel return a reference so it's clear it can never be NULL.
...
This was SVN commit r7464.
2010-04-17 11:44:08 +00:00
Ykkrosh
6a9de50692
# Use the correct projectile models.
...
Fixes #470 .
Make CUnit::GetObject return a reference so it's clear it can never be
NULL.
This was SVN commit r7463.
2010-04-17 11:34:40 +00:00