Matei
1290c3dcfd
Fixed bug with pathfinding during a contact action on Linux.
...
This was SVN commit r3388.
2006-01-22 01:17:58 +00:00
Ykkrosh
5ac92a3302
Advance water in sync with simulation and unit animations (so it stops when the game is paused).
...
Other miscellaneous tidyings.
This was SVN commit r3386.
2006-01-21 23:27:42 +00:00
prefect
f953258a9d
Fix Linux build, don't EVER #include <windows.h> again!
...
Removed some apparently unnecessary #includes
Merged multiple M_PI definitions into maths/MathUtil.h
Add newline at end of file
This was SVN commit r3384.
2006-01-21 20:01:17 +00:00
pyrolink
5d4ec7f4bb
Health regen, run bugfix
...
This was SVN commit r3382.
2006-01-21 11:17:15 +00:00
pyrolink
230b7a896c
Right click/double click support in main GUI handler, minimap updates-drag and order issuing
...
This was SVN commit r3381.
2006-01-21 11:07:25 +00:00
pyrolink
3555c4b931
Order dispatcher ignores if mouse over minimap (minimap handles seperately)
...
This was SVN commit r3379.
2006-01-21 11:04:09 +00:00
pyrolink
b86ae011c9
Some loading stuff
...
This was SVN commit r3378.
2006-01-21 11:02:35 +00:00
Matei
c2c5e87c61
Removed references to the old attack, gather, heal and damage events (that were no longer used).
...
This was SVN commit r3375.
2006-01-20 21:38:58 +00:00
livingaftermidnight
2ee40734e1
Removed file/folder
...
This was SVN commit r3372.
2006-01-19 11:36:17 +00:00
livingaftermidnight
fe8f7dd1fc
Removed file/folder
...
This was SVN commit r3371.
2006-01-19 11:36:03 +00:00
livingaftermidnight
aef0a42780
This is the new particle engine. It's in and it compiles, but it's not implemented fully yet. Will get to that soon.
...
This was SVN commit r3369.
2006-01-19 11:19:55 +00:00
pyrolink
1175b5cdba
Stamina bars, run order
...
This was SVN commit r3364.
2006-01-16 10:56:47 +00:00
pyrolink
a917ffa711
Run order, secondary order support --still needs secondary cursor.
...
This was SVN commit r3363.
2006-01-16 10:56:12 +00:00
pyrolink
b781c898df
Fixed ugly run bug
...
This was SVN commit r3349.
2006-01-10 04:39:11 +00:00
pyrolink
19b33141c1
Fixed up running and notifications.
...
This was SVN commit r3341.
2006-01-08 08:25:11 +00:00
pyrolink
ee0227092a
Defined notification codes.
...
This was SVN commit r3339.
2006-01-08 05:58:53 +00:00
pyrolink
01f5a963a0
notification event
...
This was SVN commit r3338.
2006-01-08 05:57:40 +00:00
janwas
c600e0a3e0
design notes from meeting: ambient sound
...
This was SVN commit r3336.
2006-01-08 02:05:44 +00:00
prefect
b889826a3d
Some Linux compile fixes over the place.
...
Create TerrainRenderer, ShadowMap and WaterManager classes to divide
CRenderer's functions into more logical units.
This was SVN commit r3332.
2006-01-07 01:04:26 +00:00
pyrolink
2d8f45fd94
Added run order (if applicable, the unit will use the run animation and speed for movement, otherwise walk is used). If the unit's run speed is more than 0 and the target is within the run action's range, it will run instead of walk.
...
Notifications - called from javascript. You request orders with a
target entity, order type, and whether the previous listeners you have
requested for this entity should be destroyed. When the target entity
processes an order that was requested, that order is pushed onto the
queue of the requester. This is useful for things such as follow that
require the actual order to perform the action.
This was SVN commit r3329.
2006-01-05 06:13:31 +00:00
pyrolink
763eb9311d
Fixed starting rotation problem and made the first point of the spline drawn
...
This was SVN commit r3328.
2006-01-05 05:48:31 +00:00
Matei
0a3e9ec537
- Added pause game functionality.
...
- Removed CDamageType from the engine - damage is now handled only
within the entity script (easier to mod/modify).
This was SVN commit r3325.
2006-01-02 03:07:29 +00:00
Matei
fce3b183bb
This was SVN commit r3311.
2005-12-29 09:12:54 +00:00
Matei
4a40baef33
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).
...
This was SVN commit r3309.
2005-12-29 08:42:44 +00:00
pyrolink
07609972a8
Updated with NU splines.
...
This was SVN commit r3307.
2005-12-29 06:38:45 +00:00
pyrolink
e7685e32cc
Adds non-uniform (hence "NU") splines. Are especially useful for cinematic tracks and precalculated particle paths.
...
This was SVN commit r3306.
2005-12-29 06:37:17 +00:00
pyrolink
2d57e13eb5
(see EntityManger.cpp log)
...
This was SVN commit r3304.
2005-12-29 04:58:41 +00:00
pyrolink
e968bd91ed
Actual death flag and CHandle entity handle retrieval.
...
This was SVN commit r3303.
2005-12-29 04:57:02 +00:00
pyrolink
79ecda1ecf
Commented out notifications and death flag set during kill().
...
This was SVN commit r3302.
2005-12-29 04:56:15 +00:00
pyrolink
69acf1c68c
Commented out notifications.
...
This was SVN commit r3301.
2005-12-29 04:55:16 +00:00
pyrolink
07e630a97e
Added flag for quick end of game hack (used to monitor kills).
...
This was SVN commit r3300.
2005-12-29 04:52:40 +00:00
janwas
32aca79221
allocator: add single_calloc (generalization of code previously in wposix for WDIR); add da_reserve; expand pool allocator to allow variable size entries
...
byte_order: add FOURCC_BE and _LE versions (needed for zip)
ogl: quick hack: prevent crash on laptop by providing a
pglDrawRangeElementsEXT stub
file, h_mgr: update pool_alloc call site
tex: fix incorrect indexing/stride for mipmap generation
vfs_mount: disable archives (zip code is WIP)
zip: heavy WIP. add support for writing archives (needed for thesis);
revised Zip read code. sped up archive open. further major changes
pending.
wposix: moved allocator code (see above)
This was SVN commit r3298.
2005-12-28 20:29:22 +00:00
Matei
14cb08fc20
Fixed a crash on units that could have props added & removed from them, such as javelinists. It seems that the CModel destructor was made to remove the prop point from the parent's prop point list, causing a problem in existing prop replacement code that tried to do the same thing.
...
This was SVN commit r3287.
2005-12-26 10:57:25 +00:00
prefect
acbd00188e
Explicit cast to CStr() to fix Linux build.
...
This was SVN commit r3282.
2005-12-23 01:24:07 +00:00
janwas
6d137a5c41
wsdl: fix incorrect handling of mouse leaving the window. split complicated if logic into separate function.
...
wposix: use Liberror_set_errno
various other improvements spotted while looking through code.
This was SVN commit r3281.
2005-12-23 00:27:29 +00:00
Ykkrosh
ed7c2fe3d6
Atlas: Allow placement of actors.
...
This was SVN commit r3275.
2005-12-22 04:20:16 +00:00
Matei
709d1389da
Removed a compile warning and changed scheduler's "tasks to cancel" set to a hash set.
...
This was SVN commit r3273.
2005-12-18 07:41:02 +00:00
Matei
5e0e3c32f3
Added support for cancelling a timeout or interval set using setTimeout/setInterval, which is used by the infidelity aura.
...
This was SVN commit r3272.
2005-12-18 07:33:16 +00:00
prefect
db0846c53f
All pglXYZ functions should be available everywhere (independent of system
...
GL headers).
Some minor cleanup in the patch rendering code.
This was SVN commit r3269.
2005-12-18 02:04:24 +00:00
prefect
3ea5fa5b46
Lots of fixes for the Linux build:
...
- renamed sysdep/unix/ functions where necessary
- more int -> LibError conversions in the sysdep/unix/ part
- added some explicit #include statements where necessary
- moved enum LibError/ErrorReaction declarations
(gcc doesn't support forward enum declarations)
This was SVN commit r3267.
2005-12-17 22:00:54 +00:00
Ykkrosh
2d477a09cf
Profiler: Shift+F11 to save profile data into logs/profile.txt
...
This was SVN commit r3263.
2005-12-17 02:33:57 +00:00
Matei
45255d3f37
Added a "collision patch" system that groups entities into a grid on top of the map to make aura checking and collision detection faster.
...
This was SVN commit r3253.
2005-12-16 05:35:26 +00:00
Matei
2300a81070
C++ code changes for new entities (mostly referring to the right new properties or XML attributes in CEntity.cpp and CBaseEntity.cpp).
...
This was SVN commit r3249.
2005-12-15 21:59:48 +00:00
janwas
0e40dfc480
file: add note on pp_set_dir
...
CLogger: fix log file opening (now uses VFS path correctly)
ScriptingHost: fix error reporter - no longer does redundant write to
console
This was SVN commit r3246.
2005-12-14 18:32:02 +00:00
janwas
8792731c5c
snd: support for fading (variable initial/final values and lengths; can choose linear,exponential or S-curve). also minor improvements.
...
timer: greatly speed up TIMER_ACCRUE by having it gather raw ticks and
only converting those to wall-clock time at exit when displaying the
values. old codepath remains and can be restored via TIMER_USE_RAW_TICKS
This was SVN commit r3241.
2005-12-13 23:17:50 +00:00
Matei
d939a006ae
Added C++ code for auras. Some things that still need to be implemented are:
...
- Times on auras (a unit must be in range for X seconds for the aura to
start affecting it)
- An efficient GetInRange implementation in CEntityManager using a
quadtree or something of the sort (current one is linear in the number
of entities).
This was SVN commit r3238.
2005-12-13 08:05:30 +00:00
janwas
6e82e33ccf
- display_msg and display_error -> debug prefix since in debug header
...
- debug_warn_err now takes LibError
- lib_error.cpp: revise error code -> string (only support liberror
now); add function to set errno from LibError
- unifont, CFont: parameter made a simple wchar_t from const wchar_t&
- mmap now sets errno
- Loader and VfsUtil function now return LibError as well
- Profile.cpp, ProfileViewer.cpp: fix int/uint/size_t warnings
- Renderer.cpp: fix cannot-generate-assignment-operator warning
This was SVN commit r3235.
2005-12-12 19:19:30 +00:00
Matei
8cbf23f123
Fixed a bug with projectiles trying to hit non-extant entities.
...
This was SVN commit r3232.
2005-12-11 23:28:50 +00:00
janwas
1c1200a049
- massive overhaul of lib error code returning. int -> LibError everywhere.
...
- add translators from errno and GetLastError to LibError
- clarified return values of callbacks (they must return
INFO_CB_CONTINUE to continue)
- this exposed a few bugs in error handling chains (returning incorrect
values); also reduced say-nothing instances of return -1.
- move CHECK_ERR etc. macros to lib_error
This was SVN commit r3229.
2005-12-11 22:23:55 +00:00
Matei
bc23379066
Fixes to entity death and event handling, plus some updates to RmGen.
...
This was SVN commit r3226.
2005-12-11 02:09:11 +00:00