1fc75e7605
Expand the culling frustum to reduce shadow popping (see #504 ). Based on patch from Zoomastigophora.
...
This was SVN commit r7562.
2010-05-21 18:31:47 +00:00
56bb858802
# Delete a lot of obsolete simulation code.
...
This was SVN commit r7555.
2010-05-20 18:09:23 +00:00
dc53d739b8
Make tests clean up after themselves
...
This was SVN commit r7508.
2010-05-07 17:50:38 +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
c34392053f
# Add a demo map with all units on it.
...
Support XML-only maps with simple flat terrain.
This was SVN commit r7501.
2010-05-03 19:13:58 +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
e140aa7baf
Avoid running the old simulation code in the background when it's not needed.
...
Optimise GUI updates to only occur when necessary.
Switch to more peaceful music after starting the game.
This was SVN commit r7492.
2010-05-01 16:20:58 +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
5daac34ef9
Support startup scripts in map files, for testing.
...
Support CDATA sections when writing XML.
This was SVN commit r7483.
2010-04-29 23:22:18 +00:00
9f1d904278
# Fix use-of-freed-memory bug.
...
Don't call xmlCleanupParser after parsing documents.
("This function name is somewhat misleading. It does not clean up parser
state, it cleans up memory allocated by the library itself.")
This was SVN commit r7465.
2010-04-18 16:35:06 +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
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
53744640ec
Fix non-PCH builds
...
This was SVN commit r7409.
2010-03-28 18:21:48 +00:00
9ad4b210dc
Fix #479 (water animation in new simulation system)
...
This was SVN commit r7407.
2010-03-27 17:19:00 +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
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
901056e5b3
Fix Windows build warning
...
This was SVN commit r7369.
2010-03-19 21:31:48 +00:00
79ea8213e5
const-correctness
...
This was SVN commit r7355.
2010-03-17 22:51:47 +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
abe5d3185f
Fix crash when constructing buildings off the edge of the map
...
This was SVN commit r7320.
2010-02-12 12:01: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
707539ad69
Don't scroll the game view when the mouse is outside the window
...
This was SVN commit r7283.
2010-01-23 20:40:15 +00:00
4fed9b8242
# Added initial support for players and population counters in new simulation system, plus various infrastructure improvements.
...
Merge from 22b478ffed8d.
Pure scripted interface definitions.
Entity creation from scripts.
Improved messaging system.
Messages on entity deletion.
Basic player entities.
Player ownership.
Bug fixes.
This was SVN commit r7281.
2010-01-22 20:03:14 +00:00
7c2e9027c2
# Rewrite of the game's simulation system
...
Giant merge from
http://svn.wildfiregames.com/hg-source/file/5fb522019d5e
Infrastructure is largely complete, gameplay is largely missing
Disabled by default; use command-line flag "-sim2"
(Second attempt at commit...)
This was SVN commit r7259.
2010-01-09 19:20:14 +00:00
03726c0b54
ICC build fixes
...
warning fixes
get rid of SAFE_WCSCPY and SAFE_STRCPY
This was SVN commit r7239.
2010-01-01 15:33:07 +00:00
6fbc524e65
# Terrain-related bug fixes
...
Fix several off-by-one errors
Reorder some loops to be theoretically more efficient
Other minor cleanups
This was SVN commit r7221.
2009-12-12 17:52:38 +00:00
51f16c30d1
Fix recently-introduced bug
...
This was SVN commit r7196.
2009-11-14 00:08:16 +00:00
33ec9060dd
gcc compile fix (thanks to Heron for reporting the problem)
...
This was SVN commit r7184.
2009-11-08 18:58:14 +00:00
6cc0b1649a
robustified GetPatch / GetTile:
...
- clarify the meaning of mapSize (patchesPerSide)
- use a single ClampCoordToMap function for clamping
- add annotations to all call sites when it is sure they will succeed
- otherwise, ensure return value is checked or at least add debug_assert
fixes #311 (successfully built house and dock at top of latium map)
thanks to Heron for tracking down the cause!
This was SVN commit r7183.
2009-11-08 16:49:52 +00:00
3334c83ce0
Fix build and tests on Linux
...
This was SVN commit r7174.
2009-11-06 18:35:32 +00:00
6ec9128e78
refactor: move reload functionality into ps/Filesystem to allow reloading non-resource files (e.g. scripts); VFS is now responsible for returning VirtualPath and invalidating the changed file/directory
...
This was SVN commit r7171.
2009-11-06 11:50:04 +00:00
25717ef768
add VirtualPath API to VFS in preparation for moving hotload logic out of library code and into the game. also rename GetRealPath -> RealPath + some cleanup/documentation
...
This was SVN commit r7169.
2009-11-06 01:30:16 +00:00
8fefedb5ae
fix: native and vfs directory paths should end with '/' (more code cares about this now)
...
refactor: simplify dir_watch_Poll interface (returns vector)
wdir_watch: major refactor: use shared_ptr for reference-counting shared
watch state
remove no longer needed path_util functions
This was SVN commit r7168.
2009-11-05 20:46:15 +00:00
8a52113e60
huge cleanup and conversion of most string handling (especially paths) to unicode
...
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*
This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
b343249fcc
add missing terrains.xml
...
avoid data-dependent bug (null pointer when no terrain properties
loaded)
fixes #307
thanks go to BadassTester and Heron!
This was SVN commit r7153.
2009-10-11 21:27:35 +00:00
e257bef5da
Fix even more 64-bit warnings
...
This was SVN commit r7152.
2009-10-05 16:15:51 +00:00
62122370b5
# fix self-test
...
(needed to replace the functionality formerly provided by path_SetRoot)
This was SVN commit r7087.
2009-08-08 11:10:56 +00:00
5b302658a3
# fix permissions of created directories
...
also took the opportunity to move file_system_posix to file_system since
a further FS abstraction layer = YAGNI. also namespaced
file_system_util.
This was SVN commit r7074.
2009-08-04 19:57:53 +00:00
4a4269824b
Add more vararg error-checking annotation
...
This was SVN commit r7073.
2009-08-04 16:08:41 +00:00
c93db6d057
Fix some GCC warnings
...
This was SVN commit r7067.
2009-08-02 19:52:31 +00:00
ebac85ee81
# hopefully support non-admin accounts and unwritable directories by moving output folders to home/appdata
...
the old behavior (using directories under binaries/) can be kept by
passing -writableRoot on the command line.
the first game load will be slower than usual due to re-creation of
cached XMBs.
This was SVN commit r7065.
2009-08-02 11:07:42 +00:00
c8cfd8b40b
# groundwork for separated data/cache etc. directories (XDG)
...
remove path.cpp (it was based on the premise that all data files lie
below binaries/data)
This was SVN commit r7063.
2009-08-01 19:37:38 +00:00
cdfb58a62f
Fix some more GCC warnings
...
This was SVN commit r7045.
2009-07-28 09:27:56 +00:00
38782c4606
Fix infinite loop on writing maps with cinematics (reported by GCC -Wextra)
...
This was SVN commit r7044.
2009-07-27 18:33:56 +00:00
cf17fe13ce
# Added test for old Collada import error.
...
This was SVN commit r6918.
2009-06-23 17:47:37 +00:00
1743645fd3
Simplify the overly-complex CppDoc-breaking file headers
...
This was SVN commit r6832.
2009-04-18 17:51:05 +00:00