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
3339aea2a7
Add tooltip support to wxJS
...
This was SVN commit r7258.
2010-01-07 19:38:05 +00:00
797c9e1644
Use a more thread-safe way of counting glibc memory allocations in the profiler
...
This was SVN commit r7257.
2010-01-07 19:20:40 +00:00
caf2f72901
Cut down on some gratuitous memory allocations in the GUI
...
This was SVN commit r7256.
2010-01-07 19:00:56 +00:00
8dca5f7320
Fix rtl_AllocateAligned on GCC. Add tests for it.
...
This was SVN commit r7255.
2010-01-07 18:52:29 +00:00
d0e741b261
Add shader compilation timers
...
This was SVN commit r7254.
2010-01-07 18:48:11 +00:00
a116670620
Remove unused wsdl field that doesn't exist in SDL
...
This was SVN commit r7253.
2010-01-07 18:41:28 +00:00
48f0c9b5d7
Set svn:eol-style=native
...
This was SVN commit r7252.
2010-01-07 17:42:56 +00:00
babab3124f
Add ERROR_ASSOCIATE for reporting VFS errors
...
This was SVN commit r7251.
2010-01-06 20:18:07 +00:00
306c74ceeb
Fix license indentation
...
This was SVN commit r7250.
2010-01-06 20:17:37 +00:00
6db3dd0f12
Fix isfinite, isinf
...
This was SVN commit r7248.
2010-01-05 22:12:13 +00:00
d1f6ea785a
Linux build fixes
...
This was SVN commit r7247.
2010-01-05 20:55:07 +00:00
c9a6af2134
Add tests for fpclassify functions (currently failing on Windows)
...
This was SVN commit r7245.
2010-01-05 20:29:58 +00:00
aafe575445
Fix buffer overflow in logger. Add tests for it. Make this kind of error harder to miss.
...
This was SVN commit r7244.
2010-01-05 19:55:09 +00:00
97db62c944
fix handling of non-CP1252 characters in paths
...
(added wide-character versions of posix opendir etc. - on Windows, we
must not convert to UTF8)
This was SVN commit r7243.
2010-01-05 19:44:30 +00:00
33ab686128
Fix scanf buffer size
...
This was SVN commit r7242.
2010-01-04 19:15:24 +00:00
b0dcf49893
fix a hack that broke after switching to _wsopen_s (which ensures the pmode parameter only has read/write bits set)
...
(see http://www.wildfiregames.com/forum/index.php?showtopic=12560&hl= )
This was SVN commit r7241.
2010-01-03 15:58:06 +00:00
936be062ac
non-VC compile fix: map scanf_s to scanf etc.
...
This was SVN commit r7240.
2010-01-01 23:38:07 +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
5e0ae351db
fix further 64-bit trouble
...
This was SVN commit r7237.
2009-12-30 20:47:55 +00:00
b443627571
64-bit build fix
...
This was SVN commit r7236.
2009-12-30 20:38:40 +00:00
c0662bcfd0
fix: OpenAL source suballocator wasn't thread-safe nor capable of detecting double-frees
...
(see http://www.wildfiregames.com/forum/index.php?showtopic=12774&hl= )
This was SVN commit r7235.
2009-12-30 16:42:47 +00:00
5f56ec86e9
fix waio error handling and update comments
...
This was SVN commit r7234.
2009-12-30 14:28:24 +00:00
fe92d524d6
Fix JS_THREADSAFE redefinitions (it's defined by the build system now)
...
This was SVN commit r7231.
2009-12-28 17:07:29 +00:00
00409b9583
# Support latest version of SpiderMonkey
...
Add --with-spidermonkey-tip option to Premake
This was SVN commit r7230.
2009-12-28 16:45:42 +00:00
0765207641
Fix ScriptingHost with threadsafe debug JS builds
...
This was SVN commit r7228.
2009-12-28 14:50:20 +00:00
b3d2f665d3
Fix ConfigDB storing invalid values (with LSB set) in JS privates
...
This was SVN commit r7227.
2009-12-28 14:49:31 +00:00
a39cb0c83e
Fix --without-pch build
...
This was SVN commit r7224.
2009-12-23 01:46:44 +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
72ce122146
# Fix OS X build error
...
Fixes #414 (wcscasecmp does not exist on OS X), based on patch from
wacko
This was SVN commit r7217.
2009-12-03 22:55:33 +00:00
9709e80936
Fix MSVC warning
...
This was SVN commit r7215.
2009-12-03 21:13:27 +00:00
f0d9806b3f
# Restructured GUI implementation
...
CGUI now represents a single 'page'. CGUIManager maintains multiple
pages and switches between them.
Split the XML files into pregame, loading, session and messagebox pages.
Added hotloading of GUI pages.
Minor GUI cleanups.
(Merge from hg 81862d33780c)
This was SVN commit r7214.
2009-12-03 20:17:22 +00:00
f85f0c0c2e
(Dummy change to help hgsvn)
...
This was SVN commit r7213.
2009-12-03 20:10:22 +00:00
455137afed
Fix broken tests
...
This was SVN commit r7211.
2009-11-24 15:36:08 +00:00
ab14b71a76
List Lars Kemmann (Caius), for patch in 181a3529de
...
This was SVN commit r7210.
2009-11-24 13:34:38 +00:00
88ad49bfc2
OS X build fix
...
This was SVN commit r7209.
2009-11-23 13:02:07 +00:00
181a3529de
Fix #402 (Clean up GUItypes.h), based on patch from Caius
...
This was SVN commit r7206.
2009-11-19 21:44:19 +00:00
7738eecbb0
icc build fix
...
This was SVN commit r7204.
2009-11-16 23:45:56 +00:00
22ac887785
fix: don't raise warnings when overwriting previous realDirectory (e.g. in the case of multiple mods mounting into the same directory) causes previous directory watches to be canceled
...
This was SVN commit r7202.
2009-11-16 21:01:36 +00:00
781538313c
use lib/wchar.h for UTF8 conversion (avoid duplication, more aware of wchar_t differences and surrogate pairs)
...
fixes #400
This was SVN commit r7201.
2009-11-16 20:05:03 +00:00
b51a0187bf
Fix potential unfreed memory on shutdown
...
This was SVN commit r7200.
2009-11-14 19:12:09 +00:00
78bc63d92c
VC fix: mustn't use filename/parent_path instead of leaf/branch_path because those aren't yet available in the version of boost we're currently using.
...
remove needless restriction on wdbg_printf buffer size
update description of wdbg_printf to match wvsprintfW's real behavior
This was SVN commit r7199.
2009-11-14 18:32:27 +00:00
a444e6febc
Don't use wide print functions on typically-byte-oriented streams
...
This was SVN commit r7198.
2009-11-14 11:03:43 +00:00
c377a69823
# Fix startup problem on Linux
...
Fix CreateDirectories when paths end in '/'
Use boost::filesystem parent_path in it, instead of deprecated
branch_path
This was SVN commit r7197.
2009-11-14 10:57:08 +00:00
51f16c30d1
Fix recently-introduced bug
...
This was SVN commit r7196.
2009-11-14 00:08:16 +00:00
af8d7ce98d
Fix tests on Linux
...
This was SVN commit r7195.
2009-11-13 20:51:04 +00:00
6c8c99a107
# Greatly improve startup time on Linux, and avoid deadlocks
...
Handle FAM events in a background thread, instead of reading
synchronously
This was SVN commit r7194.
2009-11-13 20:26:20 +00:00
5174a0a1ce
Fix GCC warnings
...
This was SVN commit r7192.
2009-11-13 00:49:58 +00:00
44066f5ae4
GCC build fix
...
This was SVN commit r7191.
2009-11-12 19:35:28 +00:00
345395375a
wchar: only raise warning dialog if caller doesn't ask for a return code
...
update test_wchar accordingly.
app_hooks: update documentation
This was SVN commit r7190.
2009-11-10 21:07:18 +00:00
7a6109f474
debug_SkipNextError changed to debug_SkipErrors (allow skipping multiple instances of the same error code until the next debug_StopSkippingErrors, which returns the number that were skipped)
...
also:
- add listing of error codes to avoid collisions
- cpu: add cpu_MemoryBarrier
- wchar: warn whenever a character is replaced/invalid bytes are
encountered
This was SVN commit r7189.
2009-11-10 15:48:41 +00:00
6ee9dd8afe
GCC build fixes
...
This was SVN commit r7188.
2009-11-09 21:40:24 +00:00
ff15c522fe
implement changes suggested by Philip:
...
- add self-test
- allow decoding UTF8 values beyond BMP (and replace them later)
- quietly replace invalid bytes
This was SVN commit r7187.
2009-11-09 20:53:48 +00:00
593bf6a571
GCC build fixes
...
This was SVN commit r7186.
2009-11-09 17:36:39 +00:00
450da0aaf7
rename [w]string_to_[w]string UTF8
...
add safer/more portable/less dependent on locale implementation of
wchar_t <-> UTF8
This was SVN commit r7185.
2009-11-09 14:52:51 +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
934bc31246
Fix GCC build error
...
This was SVN commit r7181.
2009-11-07 13:34:11 +00:00
43e26aa3f6
2 more dehydra fixes
...
This was SVN commit r7180.
2009-11-07 12:31:18 +00:00