b712efac07
Optimise vertex pathfinder (typically ~6x faster).
...
This was SVN commit r8056.
2010-09-03 09:44:41 +00:00
188a3cab12
Split pathfinder into multiple files, to make it more manageable.
...
This was SVN commit r8055.
2010-09-03 09:32:12 +00:00
28ee4fdb5d
Fix template error when creating foundations
...
This was SVN commit r8023.
2010-08-22 10:09:01 +00:00
4e1b6d08f4
Fix lithobolos size and projectile.
...
Fix projectiles launching from actors with no ammo prop.
Fix default camera location on maps with no civ centers.
Avoid units getting stuck on the edges of buildings.
This was SVN commit r7950.
2010-08-14 22:11:32 +00:00
e6c3f1c482
# Use more sound effects
...
This was SVN commit r7891.
2010-08-10 01:25:24 +00:00
2ef4371798
Fix build error in tests
...
This was SVN commit r7885.
2010-08-09 09:25:13 +00:00
c728aa972c
Support the <float/> property in actors
...
This was SVN commit r7883.
2010-08-09 01:28:13 +00:00
e64d115d7c
# Change selection circles to match the player colour
...
This was SVN commit r7880.
2010-08-08 17:28:51 +00:00
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
41ad5bd965
# Add corpse decay and building collapse.
...
Make 'delete' command kill the unit instead of destroying it.
Make projectiles vanish after a timeout.
Fix projectile landing positions with low framerates.
This was SVN commit r7837.
2010-08-01 17:38:01 +00:00
423b31c130
Fix units trying to move outside themselves when ordered to their current location.
...
Remove redundant comparisons in pathfinder.
Simplify range query result ordering.
Avoid throwing exception on script errors in debug serializer.
This was SVN commit r7828.
2010-07-31 21:22:39 +00:00
3124b55cc0
Warning fixes
...
This was SVN commit r7821.
2010-07-29 21:04:07 +00:00
0cd0a1f584
# Add auto-attacking of nearby enemies.
...
Add general range-detection code.
Avoid unnecessarily computing 3D entity positions.
This was SVN commit r7817.
2010-07-29 20:39:23 +00:00
1706363bab
Fix #423 (Switch from CppDoc to Doxygen), based on patch from anr.
...
Also delete some unused declarations, and rename is_playing to
snd_is_playing.
This was SVN commit r7813.
2010-07-29 15:55:41 +00:00
96a73bb580
Discourage units from walking outside the map.
...
Improve pathfinder performance by avoiding unnecessary grid
recalculations.
This was SVN commit r7806.
2010-07-25 14:11:21 +00:00
4471d37ca5
Fix script caching of inherited templates.
...
This was SVN commit r7773.
2010-07-21 16:04:17 +00:00
bd2fd6c713
Extend animal AI to all animals.
...
This was SVN commit r7771.
2010-07-20 08:45:09 +00:00
e19146cf25
# Added AI for chickens.
...
Add scripted HFSM system.
Add very basic animal AI.
Support script-only message types.
Add shift+D hotkey to toggle dev command panel.
This was SVN commit r7763.
2010-07-18 15:19:49 +00:00
8c1deecdbe
C++0x compatibility (fix narrowing conversions in initialisers; avoid ambiguity with std::next)
...
This was SVN commit r7739.
2010-07-11 22:40:17 +00:00
65f4f2f0f2
Fix houses increasing pop limit before construction has finished
...
This was SVN commit r7698.
2010-07-05 18:28:19 +00:00
dff694f0f0
Fix units spawning on top of each other.
...
Add type-safety to prevent that kind of bug happening again.
This was SVN commit r7691.
2010-07-04 17:19:38 +00:00
d2cf6ceb88
less global variables: make most uses of g_VFS explicit (required for another app that has two VFSes), g_yres is no longer required by cursor module
...
This was SVN commit r7686.
2010-07-04 10:15:53 +00:00
c57575df3e
Set each player's default camera location to their civ center.
...
This was SVN commit r7672.
2010-07-03 13:15:57 +00:00
1c0536bf08
# Refactored the networking code, and redesigned the game setup screen.
...
Major updates to most network classes.
Simplify CNetServer so it doesn't duplicate any client behaviour; all
players now run CNetClient.
Remove most player/slot management from networking code.
Wait for all players to finish loading before starting the simulation.
Remove CGameAttributes; attributes are now just a JS object.
Remove CPlayer; they are now just simulation entities.
Handle player colours via simulation system.
Add a default map for Atlas, so it always has something to load.
Move network documentation to Doxygen.
Remove lots of now-unused code.
This was SVN commit r7653.
2010-06-30 21:41:04 +00:00
23c92b7fe3
Fix actor viewer animation offsetting.
...
Fix attack animation drifts.
This was SVN commit r7612.
2010-06-05 22:23:28 +00:00
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
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
11a20e1bcf
# Handle terrain passability and movement costs in pathfinder.
...
Simplify terrain code (remove Handle indirection).
Delete unused terrain properties.
This was SVN commit r7590.
2010-05-27 23:31:03 +00:00
828400d82e
# Support floating units in new simulation system.
...
Fix rendering of underwater lines.
Fix rendering of unit selection outlines in Atlas.
Remove some obsolete hotkeys.
This was SVN commit r7589.
2010-05-27 23:23:53 +00:00
6fdb947ff0
Convert CCmpTemplateManager to use ASCII strings internally, to save memory and serialisation cost.
...
This was SVN commit r7577.
2010-05-25 18:17:12 +00:00
64a610baab
Add some code for rough testing of state hashing performance.
...
Simplify the code needed for tests based on real maps.
This was SVN commit r7574.
2010-05-25 17:28:26 +00:00
5c3a59234c
Fix OOS errors when placing buildings.
...
Allow script components to supply custom serialization objects.
This was SVN commit r7571.
2010-05-22 23:02:07 +00:00
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