f378a63d94
Add some tests for UnitAI.
...
Fix said tests for UnitAI.
Hopefully fix #647 too.
Document HFSM interface a bit.
Add Engine.DumpSimState() console command for debugging.
This was SVN commit r8681.
2010-11-22 20:12:04 +00:00
e4d356c3bf
Map exploration counter for summary screen
...
This was SVN commit r8679.
2010-11-21 19:42:26 +00:00
bd3bd084c0
Support new SpiderMonkey API.
...
wposix: Define int8_t compatibly with SpiderMonkey.
Remove unused camera, lightenv JS interfaces.
Remove most of vector JS interface.
Remove some of the redundant JS string conversion functions.
Remove unneeded vmem, _lodBias functions.
Clean up some formatting.
This was SVN commit r8629.
2010-11-16 23:00:52 +00:00
9c521ceb3b
Add minimum range to range queries
...
This was SVN commit r8627.
2010-11-16 20:43:15 +00:00
816c810791
Windows fix
...
This was SVN commit r8614.
2010-11-15 00:48:34 +00:00
4a1bc8e11a
Optimise LOS visibility updates
...
This was SVN commit r8613.
2010-11-15 00:36:15 +00:00
4100a13e0a
# Add resource shuttling.
...
Add resource-carrying animations/props to an actor for testing.
Warn more quietly about invalid cursor names.
This was SVN commit r8589.
2010-11-13 19:15:29 +00:00
644b9aedea
# Add double-click and triple-click selection modes, based on patch by Christoph and evans.
...
Fixes #515 .
This was SVN commit r8544.
2010-11-07 00:12:55 +00:00
1840bb3507
Stop units walking outside the edges of circular maps.
...
Switch the GUI between square/circular minimap automatically.
This was SVN commit r8500.
2010-10-30 18:25:34 +00:00
02aa8499ed
Partial experimental version of circular maps
...
This was SVN commit r8470.
2010-10-25 21:59:52 +00:00
e13196e7a2
Fix serialization of most components
...
This was SVN commit r8449.
2010-10-23 19:59:40 +00:00
7b82173bad
Avoid potential integer overflow in pathfinder
...
This was SVN commit r8298.
2010-10-06 23:50:07 +00:00
de673be78a
Fix likely cause of "unexpected PathResult" warnings
...
This was SVN commit r8297.
2010-10-06 22:17:34 +00:00
f2e96f3f3c
Reduce brightness of fogged objects.
...
This was SVN commit r8273.
2010-10-04 17:35:13 +00:00
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
aa32677784
Restore highlighting of units on hover.
...
Optimise overlay code a bit.
This was SVN commit r8253.
2010-10-03 16:48:52 +00:00
9a0db9713e
Add resource supply status bars.
...
Change bar size for buildings.
Only highlight one entity on mouse hover, and only if it's not a unit.
Display status bars on foundations.
This was SVN commit r8249.
2010-10-03 00:30:43 +00:00
7ea522a484
# Add on-screen health bars
...
This was SVN commit r8241.
2010-10-02 12:41:29 +00:00
fcedcae052
# Add victory/defeat conditions, based on patch from fcxSanya.
...
Fixes #565 .
This was SVN commit r8234.
2010-10-01 20:51:21 +00:00
85deca90e4
Fix projectiles in FoW
...
This was SVN commit r8163.
2010-09-23 13:09:35 +00:00
e1082e5adb
Fix warnings
...
This was SVN commit r8162.
2010-09-23 12:54:16 +00:00
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
3d8d354a18
# Optimise spatial queries.
...
This was SVN commit r8136.
2010-09-19 18:08:56 +00:00
8a98102195
Fix serialize/deserialize API asymmetry.
...
Add serialization support to more components.
This was SVN commit r8122.
2010-09-17 17:53:26 +00:00
a29bb003f2
Fix warning message in replays
...
This was SVN commit r8121.
2010-09-17 17:50:43 +00:00
2e7436434d
warning fixes: mostly size_t vs. specialized API type and other type conversion.
...
added player_id_t typedef and INVALID_PLAYER, use that instead of -1.
also added sanity checks to cpu.cpp to ensure ARCH_* is correct (see
http://www.wildfiregames.com/forum/index.php?showtopic=13327&hl= )
and further predefined macros to arch.h just to be sure.
This was SVN commit r8079.
2010-09-05 09:38:30 +00:00
1fb90357b2
Fix build error
...
This was SVN commit r8059.
2010-09-03 10:09:41 +00:00
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
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