56bb858802
# Delete a lot of obsolete simulation code.
...
This was SVN commit r7555.
2010-05-20 18:09:23 +00:00
c684c211a2
# Basic experimental multiplayer integration with new simulation system.
...
Add new turn manager that should be more correct and potentially more
efficient.
Remove evil CNetServer/CNetClient multiple inheritance of CTurnManager.
Add multiplayer autostart.
Various minor cleanups.
This was SVN commit r7551.
2010-05-20 00:59:01 +00:00
cdcee291cf
Convert all remaining entity template data to new file format.
...
Add dummy component implementations for new data.
Partly support multiple weapons for a single unit.
This was SVN commit r7547.
2010-05-15 21:07:52 +00:00
037770a2a3
Fix use of 'undefined' sound group on death.
...
Warn about implicit script/native type conversions.
This was SVN commit r7527.
2010-05-09 13:56:06 +00:00
93c30810c8
Fix tests. Tidy up some old files.
...
This was SVN commit r7507.
2010-05-07 16:32:33 +00:00
40f2cfd809
Skip component script tests when the mods/public/ directory is unavailable (see #490 ).
...
Report errors ealier when test data directories are missing.
This was SVN commit r7506.
2010-05-07 15:59:23 +00:00
04018773fd
Fix fixed overflow when pathfinding across smallish maps
...
This was SVN commit r7500.
2010-05-03 19:12:42 +00:00
646c218b2e
Reduce the likelihood of units getting stuck when walking
...
This was SVN commit r7499.
2010-05-03 16:46:14 +00:00
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
d485ecafdc
Optimise pathfinder tile storage a bit (improves speed by maybe 10%).
...
Increase the maximum search tile limit (reduces worst-case speed by
lots).
This was SVN commit r7495.
2010-05-02 20:14:09 +00:00
4fe991074f
Expose Footprint::GetShape and TemplateManager::FindAllTemplates to scripts.
...
Make CSimContext accessible to all component code, so they don't all
have to save their own copies of it.
This was SVN commit r7490.
2010-05-01 09:48:39 +00:00
cfae58928f
# New unit movement system, which does a far better job of approaching targets and avoiding obstacles.
...
Add short-range vertex-based pathfinder.
Integrate new pathfinder into unit motion code.
Change obstruction system to get rid of circles, and differentiate
structures from units.
Make PositionChanged messages synchronous.
Try to prevent some accidental float->int conversions.
This was SVN commit r7484.
2010-04-29 23:36:05 +00:00
f4ad5906c9
# Display units on the minimap
...
This was SVN commit r7480.
2010-04-23 18:36:48 +00:00
29b458da40
# Use the footprint shape when rendering unit selection outlines
...
This was SVN commit r7479.
2010-04-23 16:57:18 +00:00
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
08db7ebe13
# Support training units in buildings.
...
Includes basic batch training (see #298 ).
This was SVN commit r7469.
2010-04-19 19:47:23 +00:00
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
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
d6ab843f9d
# Documentation updates
...
This was SVN commit r7457.
2010-04-15 19:59:07 +00:00
3117f52d7c
# Automatic runtime validation of entity template files.
...
Fixes #413 .
This was SVN commit r7455.
2010-04-14 17:22:32 +00:00
40688ec5df
# Initial support for automatic validation of entity template XML.
...
Add RelaxNG schemas for all current components.
Add -dumpSchema command-line option to dump the combined entity schema.
Add a Perl script to validate entity templates against the schema.
See #413 .
This was SVN commit r7452.
2010-04-09 19:02:39 +00:00
2f34e5fbc6
Fix #472 (fixed-point CTerrain::GetExactGroundLevel), based on patch from JubJub
...
This was SVN commit r7443.
2010-04-06 17:31:38 +00:00
4c0d47707b
# Fix animation syncing.
...
Make animations trigger sound effects.
Adjust attack animation timings to match simulation.
Simplify the animation speed settings.
This was SVN commit r7438.
2010-04-05 23:09:34 +00:00
cfca28cab0
# Initial audio integration with new simulation system.
...
Support sound group playback from simulation scripts. See #486 .
Update some sound group files to sound better for rough testing.
Clean up CSoundGroup a tiny bit.
This was SVN commit r7437.
2010-04-04 21:24:39 +00:00
0d6882dad2
# Fix the actor viewer in Atlas.
...
Delete the old standalone actor viewer.
Import some terrain textures that are useful for tools.
Fixes #483 .
This was SVN commit r7428.
2010-04-03 11:07:42 +00:00
38feae61fb
Minor bug fixes
...
This was SVN commit r7411.
2010-03-29 10:22:34 +00:00
53744640ec
Fix non-PCH builds
...
This was SVN commit r7409.
2010-03-28 18:21:48 +00:00
49eb176b25
Fix MSVC compiler warnings (replace most M_PI with (float)M_PI)
...
This was SVN commit r7404.
2010-03-26 19:04:40 +00:00
0bbb99c3cd
move M_PI etc. to wposix.h to ensure they're always present on Windows (previously required MathUtil.h)
...
use M_PI instead of nonstandard PI
This was SVN commit r7380.
2010-03-20 20:54:03 +00:00
a5b8ec6028
Add obstruction debug mode, with GUI toggle.
...
Make pathfinder debug mode off by default, with GUI toggle.
This was SVN commit r7377.
2010-03-20 19:18:01 +00:00
23a702c335
# OS X build fixes.
...
spidermonkey-tip script fix.
GCC 4.2 compatibility.
Remove redundant code in extern_libs.lua
This was SVN commit r7371.
2010-03-20 16:26:25 +00:00
baead3409e
Move Position.h to a better location.
...
Update some files I forgot in previous commits.
This was SVN commit r7361.
2010-03-17 23:13:21 +00:00
18b5a7f17c
Add the Obstruction component to entity previews, to support collision detection for building placement
...
This was SVN commit r7360.
2010-03-17 23:02:40 +00:00
0f0a3774d0
Split collision detection out of pathfinder so it can be used more widely.
...
Support collision detection of footprints.
This was SVN commit r7359.
2010-03-17 23:01:12 +00:00
705db5181d
Fix non-smooth vertical interpolation of unit positions
...
This was SVN commit r7358.
2010-03-17 22:57:36 +00:00
99a261328a
Support scripted modulation of actor colours
...
This was SVN commit r7357.
2010-03-17 22:56:49 +00:00
aca1074188
Load build speeds and foundation actors from entity template files
...
This was SVN commit r7353.
2010-03-12 22:28:51 +00:00
9213ee8c27
# Construct buildings from foundations.
...
Display construction costs in tooltips.
Stop buildings leaving corpses.
Add debug info option to GUI.
This was SVN commit r7352.
2010-03-12 21:41:40 +00:00
c55cba34e5
Fix shape ID allocation bug in pathfinder
...
This was SVN commit r7351.
2010-03-12 20:42:33 +00:00
06928f7694
# Basic bandbox selection of units in new simulation system
...
This was SVN commit r7349.
2010-03-11 20:01:16 +00:00
86205b4d8e
# Basic projectile attacks in new simulation system
...
This was SVN commit r7347.
2010-03-07 21:38:39 +00:00
1712b2cdb1
# Support death in new simulation system
...
This was SVN commit r7344.
2010-03-07 20:14:30 +00:00
a7484933e7
wchar.h -> utf8.h (see previous change)
...
This was SVN commit r7341.
2010-03-01 14:55:34 +00:00
dc0cd4bedd
Move test cache output into a better place
...
This was SVN commit r7332.
2010-02-28 21:22:52 +00:00
f8aca33a14
# Support resource gathering in new simulation system
...
This was SVN commit r7322.
2010-02-12 22:46:53 +00:00
60a9e63c71
# Improved unit animation in new simulation system
...
Tried to make the motion/AI/animation state transitions saner
Added smoothed rotation of moving units
Slightly more informative error reporting
This was SVN commit r7319.
2010-02-10 19:28:46 +00:00
02ffe82ab7
Optimised pathfinder, particularly to avoid slow MSVC debug STL.
...
Added rough pathfinder test system.
MapReader: support loading maps into a minimal non-graphical environment
(for tests).
This was SVN commit r7317.
2010-02-08 22:05:05 +00:00
d609a9f81c
# Basic animation support in new simulation system.
...
Movement speed.
Improved accuracy of walking.
This was SVN commit r7313.
2010-02-07 20:06:16 +00:00
b25076ed4d
Min/max range support in pathfinder
...
This was SVN commit r7311.
2010-02-06 20:58:48 +00:00
1fb9a1768e
Make CParamNode not return NULL pointers, based on patch from Puel
...
Fixes #425 , #451
This was SVN commit r7302.
2010-02-02 23:01:17 +00:00