89cce1b3ac
# Switch to new simulation system by default
...
This was SVN commit r7401.
2010-03-26 16:10:42 +00:00
9b6326f124
Always build with Valgrind support. Always use the bundled Valgrind header.
...
This was SVN commit r7397.
2010-03-26 10:31:47 +00:00
00e18e4ea8
Report S3TC non-support with an in-game GUI message box.
...
Fixes #313 .
This was SVN commit r7390.
2010-03-23 22:45:07 +00:00
58e79bfdbe
Force fancywater off if fragment shader extensions are not supported. See #270
...
This was SVN commit r7385.
2010-03-21 14:18:15 +00:00
148ff026ca
Avoid apparent error on OS X by simplifying wopen API to avoid varargs.
...
Remove unused sys_wopen.
This was SVN commit r7384.
2010-03-21 12:42:50 +00:00
248749c1aa
Fix console history loading
...
This was SVN commit r7383.
2010-03-20 22:01:39 +00:00
a8b3cc4812
add both the (potentially) read-only data from SVN and the appdata path to the config/ search path
...
(fixes #450 )
This was SVN commit r7382.
2010-03-20 21:37:14 +00:00
bf444a8aa1
Load libraries from rpath=$ORIGIN instead of from cwd. Fixes #288
...
This was SVN commit r7381.
2010-03-20 20:55:54 +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
d1c5119694
fix: mustn't create directories during mount's vfs path traversal (because they may not be associated with a directory, especially in the common case of mounting into the root directory)
...
fixes #459
This was SVN commit r7378.
2010-03-20 19:26:12 +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
4059826759
when mounting a mod, don't attempt to create the directories (it's reasonable to assume the mod must exist, there is no value in creating a dummy mod directory - unlike the screenshots/logs etc. mounts)
...
this fixes write errors because mods/internal doesn't exist in public
SVN checkouts and the default mount logic tries to mount internal anyway
(and now just fails that operation silently)
fixes #458
This was SVN commit r7375.
2010-03-20 18:12:48 +00:00
bdfe28766a
osx fix: TIMER_ADD_CLIENT identifier conflicted with the name of an existing symbol (namely the OpenGL function whose time was being measured)
...
This was SVN commit r7374.
2010-03-20 17:46:45 +00:00
73f67a2272
set crashlog location as soon as it is known to avoid writing to the default location (system/binaries), which might not be writable.
...
fixes #403
This was SVN commit r7373.
2010-03-20 17:20:23 +00:00
7a870170c9
SpiderMonkey version check
...
This was SVN commit r7372.
2010-03-20 17:00:21 +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
96382e6faf
Fix jsval/int ambiguity
...
This was SVN commit r7368.
2010-03-19 21:23:33 +00:00
ed69187450
Build with spidermonkey-tip by default. Remove codepaths for old SpiderMonkey.
...
This was SVN commit r7366.
2010-03-19 20:54:44 +00:00
e7e8b8dbc3
Fix spidermonkey-tip to build on Windows. Add precompiled binaries.
...
This was SVN commit r7365.
2010-03-19 20:28:22 +00:00
31febafb05
Compatibility with non-threadsafe SpiderMonkey
...
This was SVN commit r7364.
2010-03-19 19:54:00 +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
bcd5e78b7a
Fix test code
...
This was SVN commit r7356.
2010-03-17 22:53:47 +00:00
79ea8213e5
const-correctness
...
This was SVN commit r7355.
2010-03-17 22:51:47 +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
36e90e71f2
Convert ranged attack data in entity templates
...
This was SVN commit r7346.
2010-03-07 20:22:15 +00:00
1712b2cdb1
# Support death in new simulation system
...
This was SVN commit r7344.
2010-03-07 20:14:30 +00:00
9a1fab5243
Build fixes ( closes #464 )
...
This was SVN commit r7343.
2010-03-03 14:14:26 +00:00
a7484933e7
wchar.h -> utf8.h (see previous change)
...
This was SVN commit r7341.
2010-03-01 14:55:34 +00:00
1861448e6c
needed to split lib into separate headers and source files, which requires lots of drudgery to specify paths for each include filename (no longer relying on same-directory lookups)
...
also rename wchar -> utf8 to avoid conflict with <wchar.h> (requires
rebuild of workspace)
(unfortunately copying history fails to "502 bad gateway"; had to delete
old + add new independently)
This was SVN commit r7340.
2010-03-01 14:52:58 +00:00
adb3847e38
export pthread and byte_order functions
...
remove ia32_memcpy (no longer provides performance benefit for >= SSE2
CPUs)
This was SVN commit r7339.
2010-03-01 13:54:33 +00:00
633705c832
Support <repeat> in the GUI XML files, as a primitive mechanism to simplify the definition of repetitive structures (like lists of buttons)
...
This was SVN commit r7336.
2010-02-28 21:36:25 +00:00
275d22742d
Fix some rendering glitches
...
This was SVN commit r7335.
2010-02-28 21:29:23 +00:00
d1f53b9654
Allow GUI scripts to save some data across hotloads
...
This was SVN commit r7334.
2010-02-28 21:28:09 +00:00
48c871980e
Make tooltips update dynamically when the underlying text changes
...
This was SVN commit r7333.
2010-02-28 21:26:06 +00:00
dc0cd4bedd
Move test cache output into a better place
...
This was SVN commit r7332.
2010-02-28 21:22:52 +00:00
5bb14c7a59
Misc. unity fixes (missing includes, undefs, and other things that could be considered generic cleanup)
...
This was SVN commit r7328.
2010-02-18 00:06:50 +00:00
4d891117c5
Refactor the NetMessageType system to work in unity builds and remove BLOCK_SIZE macro that caused conflicts and wasn't really used anyway.
...
This was SVN commit r7327.
2010-02-17 23:38:50 +00:00
02253f82f0
Add/rename header guards
...
This was SVN commit r7326.
2010-02-17 23:21:49 +00:00
96bb3afaaf
Support disabling of inherited components in entity templates
...
Allow units to walk through farms
This was SVN commit r7323.
2010-02-12 22:48:16 +00:00
f8aca33a14
# Support resource gathering in new simulation system
...
This was SVN commit r7322.
2010-02-12 22:46:53 +00:00
321cc8ae8f
Convert resource data in entity templates
...
This was SVN commit r7321.
2010-02-12 22:46:07 +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
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
c2fd939898
license change to the more permissible Expat/MIT license for lib/ (see forum thread)
...
This was SVN commit r7316.
2010-02-08 16:23:39 +00:00
cdf0ef1908
add SSE4 cap bits
...
This was SVN commit r7315.
2010-02-08 15:56:43 +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
ea4c22fc0e
Convert walking speed data in entity templates
...
This was SVN commit r7312.
2010-02-07 19:54:58 +00:00
b25076ed4d
Min/max range support in pathfinder
...
This was SVN commit r7311.
2010-02-06 20:58:48 +00:00
b21e798243
# Primitive melee combat support in new simulation system
...
This was SVN commit r7309.
2010-02-05 22:00:39 +00:00
c50fe9b8c0
Convert health, armour, attack data in entity templates
...
This was SVN commit r7308.
2010-02-05 21:45:31 +00:00
7770b414b7
Fix hotloading of scripts with registered message handlers
...
This was SVN commit r7307.
2010-02-05 21:40:08 +00:00
bd4cd244cf
Make -autostart=mapname more useful with new sim system
...
This was SVN commit r7306.
2010-02-03 20:46:05 +00:00
258581c72c
Update contributors list
...
This was SVN commit r7305.
2010-02-03 20:08:53 +00:00
e1b2a7f3ad
Fix errors and warnings with optimised builds
...
This was SVN commit r7304.
2010-02-03 19:43:39 +00:00
50b79962ad
fix off-by-one error in wcscpy_s parameter list causing crash when copying error dialog text
...
closes #454
Thanks to Erik for reporting this!
This was SVN commit r7303.
2010-02-03 11:01:58 +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
9829138e56
Handle pathfinding to inaccessible points better.
...
Make the path debug display more useful.
This was SVN commit r7301.
2010-02-02 21:22:22 +00:00
cc0c3988d1
build fixes
...
This was SVN commit r7300.
2010-02-02 13:57:52 +00:00
10f0432fdf
Fix Atlas startup crash with old simulation system
...
This was SVN commit r7299.
2010-02-01 20:28:48 +00:00
0d12738452
Fix crashlog code so it doesn't always crash when trying to generate the crashlog
...
This was SVN commit r7298.
2010-02-01 20:25:42 +00:00
e0ed8a1629
# Pathfinder updates
...
More hacks so units follow paths relatively smoothly, and to avoid
pathfinding in simple situations
This was SVN commit r7296.
2010-01-30 13:11:58 +00:00
fa1fd65a3e
Add a hack in the pathfinder to pick more diagonal paths
...
This was SVN commit r7295.
2010-01-29 23:20:42 +00:00
1678055edd
Fix build warnings
...
This was SVN commit r7294.
2010-01-29 21:34:09 +00:00
6a2d237aad
# Initial pathfinder integration in new simulation system
...
Minor extra terrain overlay features
This was SVN commit r7293.
2010-01-29 21:13:18 +00:00
a0ae9062d3
Convert footprint data in entity templates
...
This was SVN commit r7292.
2010-01-29 21:07:15 +00:00
3c2e80c698
Disable the default slide-down-hills behaviour
...
This was SVN commit r7290.
2010-01-27 19:34:58 +00:00
c399dc277e
# Rough first version of GUI redesign
...
Minor GUI engine cleanups
This was SVN commit r7289.
2010-01-27 19:20:34 +00:00
0e8698d652
Build fixes
...
This was SVN commit r7288.
2010-01-27 19:05:02 +00:00
f011f0a3ce
Expose entity template data to GUI
...
This was SVN commit r7287.
2010-01-25 23:43:58 +00:00
3f1dfce41b
Simplify GUI/simulation interface
...
This was SVN commit r7286.
2010-01-25 22:31:43 +00:00
953fb41c82
# Basic in-game building placement with new simulation system
...
This was SVN commit r7285.
2010-01-24 17:24:35 +00:00
0d9c9d646b
Updated entity template conversion script, to convert population costs and names and civs
...
This was SVN commit r7284.
2010-01-24 17:20:23 +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
68eafaee7f
Windows build fix
...
This was SVN commit r7282.
2010-01-22 20:17:49 +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
33882ab698
wdll_ver: safely deal with DLLs that don't have version information (OpenAL32's soft_oal doesn't, and we've renamed it to OpenAL32 to override the Creative implementation, so the system detect code tries to retrieve its version)
...
snd_mgr: cleanup, initialize velocity
This was SVN commit r7280.
2010-01-22 14:22:09 +00:00
3e7c87c7b0
# Improved memory profiling on Linux
...
Try yet again to make the malloc overrides less unreliable, and simplify
a bit
This was SVN commit r7278.
2010-01-22 11:22:26 +00:00
c8138208bf
# Object creation in Atlas with new simulation system
...
Merge from 6e8efe8f706c
This was SVN commit r7276.
2010-01-14 20:36:29 +00:00
f5632af192
Fix Undo menu labelling in Atlas
...
This was SVN commit r7275.
2010-01-14 20:11:43 +00:00
58e9176ef0
Fix malloc overrides to work better with a certain combination of glibc and libopenal
...
This was SVN commit r7274.
2010-01-13 23:15:47 +00:00
43d5e122ab
clean up, update to newer DDS file definitions, tolerate slightly incorrect values of linearSize that are written by Bob's MacOSX DDS converter
...
This was SVN commit r7271.
2010-01-11 20:53:12 +00:00
7e625d7b21
Fix build error, test-case bug
...
This was SVN commit r7270.
2010-01-10 19:44:56 +00:00
17718981cf
Remove Crypto++ because it causes too much trouble. Replace with a custom MD5 implementation for simulation state hashing.
...
This was SVN commit r7269.
2010-01-10 19:29:27 +00:00
e8008edf1c
Fix missing includes
...
This was SVN commit r7267.
2010-01-10 11:31:31 +00:00
f8559e8c99
fix: if waiting for successful cancellation of the IO fails, then m_ovl must remain valid as well (thanks to Philip for pointing this out)
...
This was SVN commit r7265.
2010-01-10 09:34:57 +00:00
8513d57151
fix: GetOverlappedResult on ReadDirectoryChangesW hangs on Vista unless hEvent is valid (instead wait with timeout)
...
fix: return an error when called before the first watch is registered
(fixes error propagation)
This was SVN commit r7264.
2010-01-09 23:54:46 +00:00
e4be0892f8
fix: atlas calls ReloadChangedFiles before InitVfs, so safely handle directory watch requests before then (by checking for invalid completion port handle)
...
fix: prevent a pending IO from writing into freed memory by waiting for
the CancelIo to complete
This was SVN commit r7263.
2010-01-09 22:32:27 +00:00
29c1f282ec
fix: shared_ptr dtor was calling delete on m_data, not delete[]
...
fix: freeing DirWatchRequest while IO was in-flight caused memory
corruption. now CancelIO when destroying the request.
This was SVN commit r7262.
2010-01-09 20:06:32 +00:00
47420c363b
Windows build fix
...
This was SVN commit r7260.
2010-01-09 19:45:35 +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