4496fcd2df
Restore some old Atlas files
...
This was SVN commit r9558.
2011-05-27 21:48:23 +00:00
755802d0ce
Fix build errors
...
This was SVN commit r9556.
2011-05-27 13:32:34 +00:00
1bf2598429
Fixes square maps to behave like circular maps and fit within the circle. Fixes #822
...
This was SVN commit r9554.
2011-05-27 03:04:59 +00:00
34186dd017
refactor file interface. requires workspace update
...
- separate file_system_util into vfs functions (-> vfs/vfs_util) and
file_system (avoids ugly fs_util namespace prefix)
- get rid of non-portable O_BINARY_NP etc. flags
- use standard O_WRONLY etc. flags instead of LIO_WRITE; but avoid the
need for specifying O_CREAT|O_TRUNC
- only open files for aio when O_DIRECT is specified (which 0ad does
not) - avoids wasting time and security issues
- return file descriptor directly instead of via output param
- waio: safer FCB mechanism that avoids mixing descriptors between lowio
and aio
This was SVN commit r9550.
2011-05-25 10:39:13 +00:00
7600c3862b
refactor gfx detection code (interface), allow exporting from DLL (required at work)
...
This was SVN commit r9546.
2011-05-24 14:17:47 +00:00
f1a1f023df
reinstate aligned_allocator.h (required at work)
...
further fixes to preserve the last error while building error messages
somewhat more accurate NUMA factor computation
This was SVN commit r9545.
2011-05-23 14:10:45 +00:00
84030de9b7
Fix compile error with Boost 1.39 (ambiguous overloads)
...
This was SVN commit r9536.
2011-05-20 14:45:04 +00:00
1075e206f7
Fix some format string errors
...
This was SVN commit r9534.
2011-05-18 19:10:36 +00:00
6539456746
Fix format string
...
This was SVN commit r9524.
2011-05-15 19:52:46 +00:00
f4b55a9acf
Fix non-PCH build
...
This was SVN commit r9523.
2011-05-15 19:51:33 +00:00
0ea42d3185
avoid stomping on the last error while dumping stack
...
refs #849
This was SVN commit r9519.
2011-05-15 00:00:01 +00:00
45d358dd9a
add code to output both affected paths in case separators are being mixed
...
This was SVN commit r9516.
2011-05-14 20:25:32 +00:00
05688548d0
Fix a bogus Doxygen comment
...
This was SVN commit r9513.
2011-05-14 17:27:14 +00:00
a976045f0f
Report filename in Collada warning messages.
...
Skip harmless warnings about missing materials in Collada files.
This was SVN commit r9512.
2011-05-14 16:43:08 +00:00
963960fafa
no longer warn when SetFileValidData fails, as it does on all FAT volumes (boo)
...
fixes #849
This was SVN commit r9511.
2011-05-14 10:37:42 +00:00
edd8ef2bf2
Fix units in formation blocking construction and not moving out of the way (see #779 ).
...
Make non-movement-blocking buildings (e.g. farms) not require units to
move out of the way.
This was SVN commit r9510.
2011-05-13 20:32:41 +00:00
c41b7904d2
Fix burst of particles when starting to construct a building.
...
Fix crash when particle XML loading failed.
This was SVN commit r9509.
2011-05-13 19:36:56 +00:00
b741feafb1
Add global deepcopy() function in scripts, to do a structured clone of objects.
...
Remove an unused include.
This was SVN commit r9506.
2011-05-12 23:50:42 +00:00
1420a229ff
Fix various position-related errors with garrisoned units.
...
Fix some formatting consistency.
This was SVN commit r9494.
2011-05-09 02:02:00 +00:00
452670738a
fix StatusDescription (remove unnecessary and wrong cast)
...
This was SVN commit r9489.
2011-05-08 20:09:31 +00:00
9b7cdef124
ensure WHRT debug messages are always displayed (in case of compatibility trouble)
...
refs #709
This was SVN commit r9485.
2011-05-08 09:14:21 +00:00
7ed9a84252
avoid double-free when sounds are reclaimed and then freed.
...
fixes #833
This was SVN commit r9477.
2011-05-07 17:34:47 +00:00
b82913ea14
make explicit that both iterator debugging and _SECURE_SCL (which is less than iterator debugging) are disabled in release builds
...
This was SVN commit r9476.
2011-05-07 16:46:28 +00:00
46e5db4dc4
fix build with ICC
...
This was SVN commit r9475.
2011-05-07 15:47:20 +00:00
c49f4c677b
Fix bogus error messages when errno=0
...
This was SVN commit r9472.
2011-05-07 00:14:43 +00:00
5bda00c230
Fix test
...
This was SVN commit r9471.
2011-05-07 00:14:17 +00:00
cd7abda9f1
Handle triple-click selections a bit more efficiently
...
This was SVN commit r9467.
2011-05-06 22:22:56 +00:00
b2bf04c5ae
Reduce projectile decay time
...
This was SVN commit r9466.
2011-05-06 21:53:33 +00:00
e90470020b
Try to make the pathfinder less likely to get stuck
...
This was SVN commit r9465.
2011-05-06 21:52:15 +00:00
f608b44d1d
fix self-test and map load on Windows (avoid mixing dir separators).
...
add more specific error codes (used at work)
This was SVN commit r9462.
2011-05-06 18:45:30 +00:00
0a7aeb23f7
smbios fix
...
This was SVN commit r9458.
2011-05-06 14:54:46 +00:00
1da3cdb498
Fix build errors
...
This was SVN commit r9453.
2011-05-05 20:24:22 +00:00
a8c087d46b
Missing files
...
This was SVN commit r9451.
2011-05-05 20:07:51 +00:00
45426ac21c
Probably fix build error
...
This was SVN commit r9450.
2011-05-05 18:06:36 +00:00
a7aed9957d
Build fix
...
This was SVN commit r9448.
2011-05-05 16:24:06 +00:00
5c76bc12fa
refactor status code definitions: allow modules to define an array of them (more convenient+efficient).
...
merge ERR::NO_SYS, NOT_IMPLEMENTED into NOT_SUPPORTED
renderer: remove unnecessary ogl_shader include
This was SVN commit r9447.
2011-05-05 13:03:34 +00:00
fd561cb88b
hotloading fix on Windows
...
refs #781
This was SVN commit r9446.
2011-05-05 10:50:47 +00:00
a741fb2f33
fix ChooseCacheSize - more simple, no longer relies on available-memory reporting (because Linux has a weird understanding of "available")
...
closes #611 , refs #832
This was SVN commit r9445.
2011-05-05 09:53:07 +00:00
508f56d2dd
Fixes bug in triple-click unit selection for units without a SelectionGroupName defined. In this case, triple-click will behave the same as double-click.
...
This was SVN commit r9444.
2011-05-05 02:06:53 +00:00
26de01cdd1
Adjusts unit selection behavior to account for ranks. Triple-click now selects units regardless of their rank.
...
Adds modifier hotkey to select units offscreen.
Fixes #826 .
This was SVN commit r9443.
2011-05-05 01:27:49 +00:00
dcec9c4ca9
gracefully handle the case where the file cache is full of data still referenced elsewhere.
...
fixes #832
This was SVN commit r9437.
2011-05-04 22:19:38 +00:00
fffcdbbf21
Balances random map resources.
...
Attempts to avoid "invalid argument" errors in typed arrays by forcing
them to integer (see #658 ).
Removes script preloading from map generator (VFS is thread-safe now)
Removes thread checking from ScriptInterface file loading functions.
Adjusts starting entities in civ data.
This was SVN commit r9435.
2011-05-04 21:24:25 +00:00
fa16181e84
Fix build error in tests.
...
Don't call wrealpath on the value returned by GetArg0, since it breaks
the tests and changes the semantics of that function.
This was SVN commit r9427.
2011-05-04 14:40:14 +00:00
b560ff5fb7
Fix warning from cccd6849a7
...
This was SVN commit r9426.
2011-05-04 14:18:16 +00:00
9719432ff9
fix memory leak (wasn't freeing the entire chain of SMBIOS structures)
...
This was SVN commit r9425.
2011-05-04 13:08:09 +00:00
a7152270f4
Path now goes to some trouble to prevent mixing / and \ slashes (causes trouble when hotloading, and some Windows APIs can't handle it, either)
...
WARNING: that means stuff like Path(nativeDataPath/"art/") is forbidden
and will raise errors on Windows when nativeDataPath contains \. always
use /"" to add a trailing slash. never embed "/" in OsPath component
strings (it's OK for VFS strings since they consistently use /).
wdir_watch, CmdLineArgs: avoid mixed separators
wutil: remove overzealous assertion (infinite recursion if an error
arose before we create a window)
refs #781
This was SVN commit r9424.
2011-05-04 12:16:51 +00:00
7523894760
ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive)
...
This was SVN commit r9423.
2011-05-04 12:10:17 +00:00
9733affb05
Fix non-PCH build
...
This was SVN commit r9419.
2011-05-04 01:17:09 +00:00
178a700c16
Fix build
...
This was SVN commit r9412.
2011-05-03 15:58:25 +00:00
cce3bebe0c
fix error propagation/avoid SetLastError pollution
...
This was SVN commit r9411.
2011-05-03 13:46:35 +00:00