1
1
forked from 0ad/0ad
0ad/source/simulation
pyrolink f2e867e239 #Bar borders and angle penalty
-Changes to notifications. They take different parameters now-see
template_entity_script.js.  You can choose to destroy the notifiers
yourself in the script (useful for idle)
-Added "idle" event with registerIdle and registerDamage to assist with
the angle penalty.
-Bar border stuff
-Angle penalty is set up but untested-it just needs to use
this.getAttackDirections() to find the number of directions the entity
is being attacked from.  The penalty is specified in template_unit

There is a problem when the game exits-it attempts to destroy the
notifiers in entity.cpp's constructor, where it calls
DestroyAllNotifiers().  The problem is that the notifiers don't exist
any longer because they've been destroyed. I would fix it but I'm
leaving for vacation (Jason told me it was OK to comitt). Hope it isn't
too much of a problem.

This was SVN commit r3732.
2006-04-08 22:34:54 +00:00
..
scripting - fix w4 warnings 2005-08-09 15:55:44 +00:00
Aura.cpp Fixed GC bug (plus some potential ones that didn't seem to actually cause problems). 2006-03-16 03:45:31 +00:00
Aura.h Added C++ code for auras. Some things that still need to be implemented are: 2005-12-13 08:05:30 +00:00
BaseEntity.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
BaseEntity.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
BaseEntityCollection.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
BaseEntityCollection.h all functions called via delay-load mechanism now return int (allows closures that can interrupt themselves when time is up) 2005-05-03 21:36:57 +00:00
BaseFormation.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
BaseFormation.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
BaseFormationCollection.cpp #Unit formations and rank textures 2006-03-31 03:30:34 +00:00
BaseFormationCollection.h #Unit formations and rank textures 2006-03-31 03:30:34 +00:00
BoundingObjects.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
BoundingObjects.h Projectile code and updates to some actors that can use it (celt_ijv and hele_iar) 2005-05-10 07:13:25 +00:00
Collision.cpp Added a "collision patch" system that groups entities into a grid on top of the map to make aura checking and collision detection faster. 2005-12-16 05:35:26 +00:00
Collision.h Added a "collision patch" system that groups entities into a grid on top of the map to make aura checking and collision detection faster. 2005-12-16 05:35:26 +00:00
Entity.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
Entity.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EntityFormation.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EntityFormation.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EntityHandles.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityHandles.h Fixed warnings 2005-05-18 21:19:56 +00:00
EntityManager.cpp # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
EntityManager.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
EntityMessage.h Linux/GCC Compat 2004-11-23 23:56:10 +00:00
EntityOrders.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EntityPredicate.h Forcing update of EntityPredicate.h 2005-03-30 18:25:07 +00:00
EntityProperties.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityProperties.h - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityStateProcessing.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EntitySupport.h Added production queue system and associated events. It might still need some extra features but it should be functional. 2006-02-22 22:45:16 +00:00
EventHandlers.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EventHandlers.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
FormationManager.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
FormationManager.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
LOSManager.cpp - vfs_load now returns error code and takes FileIOBuf; that must be freed via file_buf_free. if Handle is needed, use mem_wrap. 2006-01-24 08:16:29 +00:00
LOSManager.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
PathfindEngine.cpp Generic orders source commit. Also includes a fix to the animation bug where one frame of "idle" is played at the end of each cycle, and an enhancement to the entity script loading code to only load each script file once, which should save loading time and also allow script files to behave in a more logical way (e.g. no redeclaration errors when you have a constant). 2005-12-29 08:42:44 +00:00
PathfindEngine.h Generic orders source commit. Also includes a fix to the animation bug where one frame of "idle" is played at the end of each cycle, and an enhancement to the entity script loading code to only load each script file once, which should save loading time and also allow script files to behave in a more logical way (e.g. no redeclaration errors when you have a constant). 2005-12-29 08:42:44 +00:00
PathfindSparse.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
PathfindSparse.h Combat code, some scripting, broken network, and fixed some bugs. 2004-11-11 07:09:32 +00:00
ProductionQueue.cpp file_cache: fix: add buf/size combo to exact_buf_oracle if file_io rounded size up. 2006-03-07 05:44:34 +00:00
ProductionQueue.h Added production queue system and associated events. It might still need some extra features but it should be functional. 2006-02-22 22:45:16 +00:00
Projectile.cpp Terrain, Interact, LOSManager, Atlas, etc: Fixed some off-by-one and off-by-FLT_EPSILON problems with objects near/off the edge of the map. Also changed some model.GetBounds().GetCentre() into model.GetTransform().GetTranslation() to fix off-by-centre-of-bounds-minus-position problems. Thus, you can no longer make units in Atlas disappear off the edge and never be seen or selected again. Also changed out-of-bounds LOS value to make them visible if they somehow escape anyway. Also fixed out-of-bounds access of terrain heightmap. 2005-12-09 01:08:08 +00:00
Projectile.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
Scheduler.cpp Added support for cancelling a timeout or interval set using setTimeout/setInterval, which is used by the infidelity aura. 2005-12-18 07:33:16 +00:00
Scheduler.h Removed a compile warning and changed scheduler's "tasks to cancel" set to a hash set. 2005-12-18 07:41:02 +00:00
ScriptObject.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
ScriptObject.h Changes to actor speed specifications. 2005-05-27 00:38:30 +00:00
Simulation.cpp # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
Simulation.h Atlas: Vaguely usable object placement code. Bug fixes. 2005-12-02 21:08:10 +00:00
TurnManager.cpp New JavaScript interface for the network client, plus some linux/gcc/misc fixes 2005-01-17 04:52:02 +00:00
TurnManager.h Lots of gcc -Wall fixes. The common ones: 2005-10-07 15:24:29 +00:00