Ykkrosh
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
Ykkrosh
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
Ykkrosh
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
Ykkrosh
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
janwas
452670738a
fix StatusDescription (remove unnecessary and wrong cast)
...
This was SVN commit r9489.
2011-05-08 20:09:31 +00:00
janwas
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
janwas
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
janwas
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
janwas
46e5db4dc4
fix build with ICC
...
This was SVN commit r9475.
2011-05-07 15:47:20 +00:00
Ykkrosh
c49f4c677b
Fix bogus error messages when errno=0
...
This was SVN commit r9472.
2011-05-07 00:14:43 +00:00
Ykkrosh
5bda00c230
Fix test
...
This was SVN commit r9471.
2011-05-07 00:14:17 +00:00
Ykkrosh
cd7abda9f1
Handle triple-click selections a bit more efficiently
...
This was SVN commit r9467.
2011-05-06 22:22:56 +00:00
Ykkrosh
b2bf04c5ae
Reduce projectile decay time
...
This was SVN commit r9466.
2011-05-06 21:53:33 +00:00
Ykkrosh
e90470020b
Try to make the pathfinder less likely to get stuck
...
This was SVN commit r9465.
2011-05-06 21:52:15 +00:00
janwas
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
janwas
0a7aeb23f7
smbios fix
...
This was SVN commit r9458.
2011-05-06 14:54:46 +00:00
Ykkrosh
1da3cdb498
Fix build errors
...
This was SVN commit r9453.
2011-05-05 20:24:22 +00:00
historic_bruno
a8c087d46b
Missing files
...
This was SVN commit r9451.
2011-05-05 20:07:51 +00:00
Ykkrosh
45426ac21c
Probably fix build error
...
This was SVN commit r9450.
2011-05-05 18:06:36 +00:00
Ykkrosh
a7aed9957d
Build fix
...
This was SVN commit r9448.
2011-05-05 16:24:06 +00:00
janwas
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
janwas
fd561cb88b
hotloading fix on Windows
...
refs #781
This was SVN commit r9446.
2011-05-05 10:50:47 +00:00
janwas
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
historic_bruno
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
historic_bruno
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
janwas
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
historic_bruno
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
Ykkrosh
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
Ykkrosh
b560ff5fb7
Fix warning from cccd6849a7
...
This was SVN commit r9426.
2011-05-04 14:18:16 +00:00
janwas
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
janwas
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
janwas
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
Ykkrosh
9733affb05
Fix non-PCH build
...
This was SVN commit r9419.
2011-05-04 01:17:09 +00:00
Ykkrosh
178a700c16
Fix build
...
This was SVN commit r9412.
2011-05-03 15:58:25 +00:00
janwas
cce3bebe0c
fix error propagation/avoid SetLastError pollution
...
This was SVN commit r9411.
2011-05-03 13:46:35 +00:00
janwas
cccd6849a7
cleanup (requires update-workspaces)
...
lib_errors.cpp: replace with status.cpp, adapt to needs at work
wutil: fix runtime warning reported via feedback box
config: merge CONFIG_PARANOIA and !CONFIG_FINAL into
CONFIG_ENABLE_CHECKS
add openmp, pointer_typedefs.h
This was SVN commit r9410.
2011-05-03 12:38:42 +00:00
Ykkrosh
333c62a490
Report errors in GL limit detection properly.
...
Report slightly more detailed RAM and CPU data.
This was SVN commit r9405.
2011-05-02 23:46:56 +00:00
Ykkrosh
674eaa1283
Latest version of user-report server code
...
This was SVN commit r9393.
2011-05-02 15:47:12 +00:00
janwas
88c44c7d73
smbios: add support for structures 34,35,36,39,41 (found on rather new BIOS)
...
This was SVN commit r9377.
2011-05-01 12:18:45 +00:00
Ykkrosh
b371686fb7
Rename class to prevent conflict between generated auto_ptr symbols in Atlas and engine
...
This was SVN commit r9371.
2011-04-30 21:08:53 +00:00
janwas
1636f062a3
make VFS thread-safe, per long-standing request by Philip
...
This was SVN commit r9369.
2011-04-30 15:57:43 +00:00
janwas
635c2a12e2
add error code for file not found. return error code from io::Load, warn and return from io::Store (both without triggering assertions).
...
remove out of date comment in io.cpp
fixes #811
This was SVN commit r9368.
2011-04-30 15:41:19 +00:00
Ykkrosh
3ac72813ef
Relinquish CPU when running RMS scripts, to speed up loading on single-core machines
...
This was SVN commit r9366.
2011-04-30 15:18:11 +00:00
Ykkrosh
791ecee26b
Build fixes
...
This was SVN commit r9365.
2011-04-30 13:55:55 +00:00
janwas
5ca66fc757
cleanup: move ADTs into lib/adts (separate files). fix definition of ASSERT
...
This was SVN commit r9364.
2011-04-30 13:35:36 +00:00
janwas
0720025073
cleanup
...
reduce dependency on PCH. move KiB constants to alignment, ARRAY_SIZE to
code_annotation.h.
move glext_funcs.h to external_libraries/glext_funcs.h, move part of
ogl.h to external_libraries/opengl.h
remove unused saturating arithmetic functions
This was SVN commit r9363.
2011-04-30 13:22:46 +00:00
janwas
4663ac0fe7
split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
...
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)
This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
janwas
6c915291cc
cleanup (requires update-workspaces):
...
major refactor of wfilesystem - remove gotos and workaround for FAT file
times
replace more round_up of constants with Align<>
remove old unused allocators (STL aligned, matrix, some shared_ptr)
move allocator utils into separate headers.
remove lockfree, wterminal
avoid testing __cplusplus
This was SVN commit r9361.
2011-04-30 12:34:28 +00:00
Ykkrosh
188c020ae0
Fix reading outside buffer, when terrain alpha maps are 8-bit.
...
Change alpha map composite texture to 8-bit to avoid wasting memory.
Warn about non-square alpha maps.
This was SVN commit r9360.
2011-04-30 11:46:23 +00:00
janwas
9bdb54bc76
fix failure to preallocate disk space on Windows by always rounding up the file size regardless of the io::Parameters
...
This was SVN commit r9358.
2011-04-30 09:13:10 +00:00