e9d99a7eea
Fix glCreateShader too
...
This was SVN commit r6986.
2009-07-14 13:54:57 +00:00
e33f3f5e64
Use the correct names for core shader functions in GL 2.0 implementations
...
This was SVN commit r6985.
2009-07-14 13:34:31 +00:00
9e3b4276f9
Fixed build on Windows
...
This was SVN commit r6938.
2009-07-02 14:04:59 +00:00
98fe150d1e
Atlas C++/JS editing tool bridge
...
This was SVN commit r6937.
2009-07-02 13:41:41 +00:00
4d4dc98bb5
# Integrated Actor Viewer tool into the Scenario Editor
...
and rewrote its UI in JS, but lost a few features (which could be added
back later)
This was SVN commit r6936.
2009-07-02 12:58:51 +00:00
cc572d26c7
Fixed wxJS GetKeyState. Fixed crash when manipulating a destroyed button.
...
This was SVN commit r6935.
2009-07-02 11:47:32 +00:00
de78e22094
Fixed memory leak
...
This was SVN commit r6934.
2009-06-27 10:53:19 +00:00
34d0f012e8
# Converted Atlas's object-settings UI into JavaScript.
...
(Note: This breaks the Actor Viewer, hopefully temporarily.)
This was SVN commit r6932.
2009-06-26 22:43:49 +00:00
9a977c9962
Fixed Linux build issue
...
This was SVN commit r6931.
2009-06-26 21:49:46 +00:00
b7802901c5
Added wxSizer::clear to wxJS
...
This was SVN commit r6930.
2009-06-26 21:45:37 +00:00
0e9169a158
Avoid boolean ambiguity
...
This was SVN commit r6929.
2009-06-26 21:44:54 +00:00
ed0e3097d4
# Fixed build on Linux
...
This was SVN commit r6921.
2009-06-23 19:46:52 +00:00
c81ec63dee
# Fixed Release build on Windows.
...
This was SVN commit r6920.
2009-06-23 19:46:03 +00:00
ea29b5fac2
# Simplified local configuration changes.
...
default.cfg shouldn't be edited by normal users; local.cfg can be used
for any local tweaks.
Removed old profile files, since they add clutter and aren't useful yet.
This was SVN commit r6919.
2009-06-23 17:48:34 +00:00
cf17fe13ce
# Added test for old Collada import error.
...
This was SVN commit r6918.
2009-06-23 17:47:37 +00:00
d9bb1a7447
remove dbghelp and directx libraries (not redistributable)
...
move dbghelp and powrprof-specific stuff into external_libraries
dbghelp: dynamically import functions to avoid needing the .lib
This was SVN commit r6912.
2009-06-20 17:50:43 +00:00
a56bd4b2c1
Add GPL header to Atlas code
...
This was SVN commit r6910.
2009-06-20 16:13:29 +00:00
43ba574b85
Set svn:eol-style=native
...
This was SVN commit r6909.
2009-06-20 16:11:53 +00:00
bc78e877be
Add a script that I forgot to commit earlier
...
This was SVN commit r6908.
2009-06-20 14:57:02 +00:00
37dbdf4969
Expose wxGetKeyState via wxJS
...
This was SVN commit r6907.
2009-06-20 14:53:38 +00:00
9842b8df98
32/64-bit warning drudgery
...
also ensure off_t is always 64-bit (required at work)
This was SVN commit r6858.
2009-05-05 20:24:06 +00:00
c27365045d
64-bit / big-endian fix (sscanf requires pointer to int)
...
This was SVN commit r6852.
2009-05-03 11:53:05 +00:00
c4ae6001f9
fix relics of GPL comment insertion (removing empty description comments and in some cases adding new file descriptions)
...
test_XeroXMB.h: fix warning
This was SVN commit r6851.
2009-05-03 11:47:38 +00:00
Zyi
60e76c01da
Small adjustment to the code.
...
This was SVN commit r6834.
2009-04-21 15:24:04 +00:00
1743645fd3
Simplify the overly-complex CppDoc-breaking file headers
...
This was SVN commit r6832.
2009-04-18 17:51:05 +00:00
214b0e6683
Removed outdated licensing information
...
This was SVN commit r6831.
2009-04-18 17:17:34 +00:00
c9fa7f13d9
Add GPL header
...
This was SVN commit r6830.
2009-04-18 17:00:33 +00:00
d714d4749d
Add GPL header
...
This was SVN commit r6829.
2009-04-18 16:48:47 +00:00
7a4dd7b473
Set svn:eol-style=native
...
This was SVN commit r6828.
2009-04-18 16:14:48 +00:00
Zyi
ab4b930042
Fixed bugs:
...
- Game crash when taking a "Big Screenshot" on the main menu.
- GUI used to be visible on each of the tiles when taking a Big
Screenshot while playing the game. Removed the GUI all together from the
Big Screenshot.
This was SVN commit r6827.
2009-04-18 15:27:38 +00:00
60f48f558d
# infrastructure improvements
...
make off_t pointer-sized (required for >4gb files at work)
add shared_ptr deleter for free(), add ASSUME_ALIGNED, warning fixes
This was SVN commit r6826.
2009-04-18 08:41:10 +00:00
8c175a7f29
Test XML attribute value encoding
...
This was SVN commit r6820.
2009-04-13 17:50:26 +00:00
5bd6cc0f02
Fix some no-newline-at-end-of-file warnings
...
This was SVN commit r6819.
2009-04-13 17:45:43 +00:00
Zyi
6822796a95
Simplified the logger:
...
- Removed the configurable interestingness from system.cfg.
- InterestingLog contains all warning and errors now.
- Modified and implemented methods in CLogger to write messages,
warnings and errors to the log.
- Modified a warning in CLocale so that the log wouldn't get spammed.
To do:
- Modify all of the logging statements in the source code.
- Remove the current preprocessor directives LOG_INFO, LOG_WARNING and
LOG_ERROR so that they can be used to log messages.
This was SVN commit r6817.
2009-04-11 22:53:33 +00:00
1e3cd00c72
Set svn:eol-style=native
...
This was SVN commit r6816.
2009-04-11 17:00:39 +00:00
ce3994fc7a
Replace XML_GET_LINE usage with the better-documented xmlGetLineNo
...
This was SVN commit r6815.
2009-04-11 16:58:26 +00:00
fbaabe473e
# Tweak the default lighting conditions
...
as per Michael's instructions
This was SVN commit r6809.
2009-04-05 18:40:20 +00:00
4e32136b4c
# Fixed ambient terrain lighting when shadows are disabled
...
This was SVN commit r6808.
2009-04-05 18:31:05 +00:00
2d15c81313
# Updated autobuilder to build Atlas
...
(and also Collada), via options in the admin UI
This was SVN commit r6792.
2009-03-27 01:19:55 +00:00
435177434b
More autobuilder WIP
...
This was SVN commit r6789.
2009-03-27 00:40:18 +00:00
0b139cbd99
Autobuilder update (WIP)
...
This was SVN commit r6788.
2009-03-26 23:46:52 +00:00
eaede77cce
# Fix crash when dragging corpses in Atlas
...
This was SVN commit r6785.
2009-03-26 20:30:24 +00:00
81d3d62b11
warning fixes
...
This was SVN commit r6782.
2009-03-25 17:09:19 +00:00
433c34cd94
Fix warnings on Windows
...
This was SVN commit r6776.
2009-03-24 23:07:48 +00:00
6426777e61
# Disable non-Free pathfinding library
...
(All the code is still there, it's just #ifdef'd out by default)
This was SVN commit r6775.
2009-03-24 21:40:10 +00:00
f69c5fc25e
Fix XML tests
...
This was SVN commit r6774.
2009-03-24 21:04:20 +00:00
228859da99
# Fix water-related crash on some video drivers
...
Detect some errors loading fancy-water fragment shader, and disable
fancy water.
Fixes crash with Mesa on 945GM (which doesn't support fragment shaders,
though it advertises the extensions).
This was SVN commit r6773.
2009-03-24 21:00:41 +00:00
45b734c08a
Fix XML line-number tests
...
This was SVN commit r6772.
2009-03-24 02:29:27 +00:00
8d14973f0d
Handle XML parse errors
...
This was SVN commit r6771.
2009-03-24 01:26:31 +00:00
07a4f809d8
# Replace Xerces with Libxml2
...
(in Xeromyces, whose name now doesn't make much sense but oh well)
This was SVN commit r6770.
2009-03-24 00:55:35 +00:00
079d9032ac
Fix memory leak
...
This was SVN commit r6769.
2009-03-24 00:28:24 +00:00
fd20cda5b6
# More XML stuff
...
Added some tests for Xeromyces. Refactored it a bit to make it testable.
This was SVN commit r6768.
2009-03-23 21:53:17 +00:00
2bc48fc1e7
Stop relying on XML default values from DTDs
...
This was SVN commit r6767.
2009-03-23 21:35:26 +00:00
f74f772a41
# More libxml2
...
Use libxml2 for parsing in Atlas. Plus some tests for it.
This was SVN commit r6764.
2009-03-23 01:07:08 +00:00
7610d4361c
# Started using libxml2
...
This was SVN commit r6763.
2009-03-22 20:51:35 +00:00
6768858cf1
Fix some GCC warnings
...
This was SVN commit r6762.
2009-03-22 20:47:43 +00:00
0f3e9cfa72
Avoid load-time dependency on Vista-only API
...
This was SVN commit r6754.
2009-03-19 23:37:18 +00:00
ed65cf33d0
Removed unnecessary debug output from autobuilder
...
This was SVN commit r6715.
2009-02-28 18:46:37 +00:00
548db2d06e
Pyrogenesis.cpp: add svn_revision to log
...
ScriptGlue.cpp: add svn_revision to build information in main menu
Interact.cpp: fix: do not add anglebias when computed via atan2
NetMessage.cpp: fix typo
This was SVN commit r6713.
2009-02-28 16:42:46 +00:00
43f91d0d0b
Make the autobuilder write svn_revision.txt
...
This was SVN commit r6704.
2009-02-24 15:43:34 +00:00
6a7fdd8315
# Updated autobuilder
...
Also added the autobuild manager scripts
This was SVN commit r6697.
2009-02-19 22:25:31 +00:00
778ab75cfe
Updating build script to help with testing the autobuilder
...
This was SVN commit r6692.
2009-02-19 00:26:50 +00:00
121faff0e8
#Added reading of particle settings from XML.
...
Added CEmitter::LoadFromXML method to load particle settings from XML
files.
Made Update code generic and moved from CDefaultEmitter child class up
into CEmitter base class.
Cleaned up code in general and removed unused member variables.
This was SVN commit r6691.
2009-02-19 00:19:06 +00:00
8d9b9ca413
Support multiple props on each attachpoint. Fixes #242
...
This was SVN commit r6689.
2009-02-18 10:36:27 +00:00
cb69617185
# fix building orientation issue
...
fixes #232
(just needed to match the angle bias defined by atlas)
This was SVN commit r6656.
2009-02-07 16:42:16 +00:00
602e90096b
Fixed issue in VerifyPages that was preventing me from compiling on Vista.
...
#Vista compile fix
This was SVN commit r6650.
2009-01-31 23:30:24 +00:00
d43636f8ae
work-related additions:
...
x86_x64.cpp: detect TLBs (a major undertaking :/)
mem_util: export functions
win.h: hopefully avoid warnings from either vc2008 and vc2005 about
already defined win32 version macros
wnuma: revise large page heuristic (cause of slowdown is now known)
This was SVN commit r6600.
2009-01-06 20:17:06 +00:00
220b05ba08
fix: ignore GetCursorPos failure, which happens when switching desktop (e.g. after pressing ctrl+alt+del)
...
This was SVN commit r6590.
2009-01-03 18:40:48 +00:00
b51353ae0b
Use NONCOPYABLE macro, to avoid ICC warnings
...
This was SVN commit r6589.
2009-01-03 18:40:28 +00:00
5228800b73
# Fixed Linux build
...
Use noncopyable instead of boost::noncopyable. (But maybe this should be
changed to the NONCOPYABLE macro instead?)
Use boost::filesystem::wpath::file_string instead of
external_file_string, since the latter varies between std::string on
Linux and std::wstring on Windows.
Use wcstombs instead of wcstombs_s.
Use rtl_AllocateAligned instead of _mm_malloc.
This was SVN commit r6574.
2009-01-02 21:19:41 +00:00
b7585c1cd4
Attempt to fix some startup problem
...
This was SVN commit r6572.
2009-01-02 02:35:22 +00:00
702450526b
# Added some tools to automatically build the game from the source code
...
Various scripts and stuff that run on the build server
This was SVN commit r6571.
2009-01-01 23:00:46 +00:00
1b5adf3cb1
Autobuilder startup service code (basically just VC2008's default service project plus four lines of code in startupserviceWinService.h)
...
This was SVN commit r6569.
2009-01-01 22:45:56 +00:00
dax
40cfae7f81
NMT_REMOVE_MESSAGE network message added so that an entity can be removed during a multiplayer game (compilation error fix)
...
This was SVN commit r6543.
2008-12-21 19:56:50 +00:00
dax
fe645d8fc9
NMT_REMOVE_MESSAGE network message added so that an entity can be removed during a multiplayer game
...
This was SVN commit r6542.
2008-12-20 18:09:16 +00:00
16ccae10cd
# fix warnings
...
more icc11 fixes - mostly type conversion and noncopyable (now made a
macro)
This was SVN commit r6536.
2008-12-17 16:32:46 +00:00
387722d41e
# code cleanup/fixes
...
improvements from work:
- no longer export classes; instead inline functions where it makes
sense (e.g. the scope timers) or export the member functions directly
- fix icc11 warnings
- add some comments
This was SVN commit r6531.
2008-12-16 21:13:04 +00:00
3da952a036
add missing DLL
...
move svn_revision stuff to build/svn_revision
This was SVN commit r6529.
2008-12-08 07:34:20 +00:00
12e59fd850
# groundwork for embedding svn revision number into the EXE for debugging
...
add svnversion from official svn cmdline client distro and its
dependencies
add a horrible batch file that reads its output and writes it to a text
file as a quoted string
(see http://www.wildfiregames.com/forum/index.php?showtopic=12104&hl= )
This was SVN commit r6528.
2008-12-07 22:21:10 +00:00
2bfa84aef5
Changes to public SVN log's HTML output format, from last weekend
...
This was SVN commit r6525.
2008-11-28 22:30:50 +00:00
cc2f2e46c8
Adding the m_base check.
...
This was SVN commit r6522.
2008-11-25 00:03:24 +00:00
5341322d03
# fix some sound-related problems
...
clamp gain to 1.0, refactor code a bit
This was SVN commit r6517.
2008-11-23 20:29:12 +00:00
63e18ed07b
#Players list in the Multiplayer menu is now working.
...
This was SVN commit r6510.
2008-11-22 22:44:02 +00:00
0cea78e462
crash fix in void CEntity::UpdateXZOrientation()
...
This was SVN commit r6506.
2008-11-22 18:14:51 +00:00
213743b73d
# improve robustness of simulation and EntityManager code
...
also const-correctness fixes in EntityFormation
+build
This was SVN commit r6502.
2008-11-22 16:50:03 +00:00
d6469ea112
Testing SVN logger again...
...
This was SVN commit r6499.
2008-11-22 15:09:24 +00:00
62444bf359
Testing SVN logger again...
...
This was SVN commit r6498.
2008-11-22 15:08:27 +00:00
a2ae80239a
# Updated public SVN logger
...
Mostly just changes to work in the new server location
This was SVN commit r6497.
2008-11-22 15:05:41 +00:00
f7d5711623
additions from work:
...
add shared_ptr wrapper for numa_allocator and page_aligned_alloc
(removing previous code from shared_ptr.cpp)
pch: add TR1 array
wposix: add setenv
wtime: add strptime
This was SVN commit r6486.
2008-11-20 16:35:30 +00:00
166c38dd0b
Fixing crash bug:
...
Function call failed: return value was -100020 (Invalid function
argument), Location: snd_mgr.cpp:1696 (snd_set_gain)
This was SVN commit r6484.
2008-11-16 19:54:43 +00:00
6267e13760
IsEntityRefd now checks the entity pointer as well (avoids null pointer dereference in some cases - encountered during MP game).
...
Simulation.cpp: hoist retrieval of simulation pointer out of loop
This was SVN commit r6482.
2008-11-15 22:38:04 +00:00
cb257dd020
Null pointer fix.
...
This was SVN commit r6481.
2008-11-15 20:08:41 +00:00
1f065ffb02
fix gcc compile error
...
This was SVN commit r6461.
2008-11-03 07:46:30 +00:00
c0a5dde4bf
jan's modifications
...
This was SVN commit r6431.
2008-10-18 18:42:23 +00:00
becab2d479
fix: alpha map texture wasn't initialized, which caused crash if multiplayer -> host -> continue -> cancel
...
thanks to anton for noticing and reporting the problem :)
also: fix hardcoded paths in rmgen to point to mods/public
This was SVN commit r6429.
2008-10-18 17:58:04 +00:00
cfc4f47105
This was SVN commit r6422.
2008-10-13 21:06:15 +00:00
841293ee0a
minor improvements from work
...
This was SVN commit r6419.
2008-10-13 15:08:30 +00:00
dba26306e0
Fixed Actor Editor to allow selection of files from within mods/[not 'public']/... without it giving a silly relative path
...
This was SVN commit r6416.
2008-10-05 21:00:37 +00:00
34b418e0c1
slight improvement, use ARCH_X86_X64 instead of ARCH_IA32||ARCH_AMD64
...
This was SVN commit r6411.
2008-09-27 10:23:05 +00:00
aea2368300
fixes to stack trace code under x64 (from work):
...
- displaying symbol values requires stack pointer, not frame pointer
- update debug_IsPointerBogus
- skip-n-frames code changed to skip-all-frames-up-to-func (more
reliable in the face of inlining)
debug.cpp: cleanup
This was SVN commit r6410.
2008-09-27 10:05:11 +00:00
164f250e5b
This was SVN commit r6406.
2008-09-20 18:37:22 +00:00
0f559024db
file: for unicode Open function, convert input to UTF8 and delegate to char* version (avoids hacky assignment to m_pathname, and also necessary because _wfopen isn't portable)
...
secure_crt.cpp: provide implementation of _wfopen_s
SoundGroup: fix: all attributes now have default values in case the XML
file leaves out some fields
This was SVN commit r6405.
2008-09-20 17:42:43 +00:00
c3a42633fa
fix stupidly incorrect calculation of smoothed frequency and timer resolution (fixes observed dependence of sim rate on framerate, see http://www.wildfiregames.com/forum/index.php?showtopic=1671 )
...
also improved filtering of the frame delta times.
while at it, improved interface of whrt backends to avoid leaking
implementation details.
This was SVN commit r6401.
2008-09-19 17:56:05 +00:00
33ca85cb4c
add additional instrumentation to vsrc_latch to diagnose sound bug (see http://www.wildfiregames.com/forum/index.php?showtopic=11999 )
...
This was SVN commit r6400.
2008-09-18 18:28:14 +00:00
0d79703fb0
wdbg_heap: disable leak reporting to make debug mode bearable
...
wdbg_sym: numerous fixes and improvements
- all values are (also) displayed in hex form
- more correct calculation of symbol addresses (workaround for apparent
PDB bug)
This was SVN commit r6399.
2008-09-18 18:06:48 +00:00
982156e3f5
Don't redefine UNUSED
...
This was SVN commit r6398.
2008-09-18 17:09:36 +00:00
7d0cfb9535
quick fix: replace all instances of mods/official with mods/public
...
(actorEditor isn't using VFS yet and has hardcoded paths)
This was SVN commit r6395.
2008-09-18 11:46:14 +00:00
40a7da782e
warning fixes
...
GameSetup.cpp: add support for new internal/public mod layout
This was SVN commit r6393.
2008-09-18 11:31:12 +00:00
c4654fd8fa
bits: avoid sign conversion warning
...
debug: cleanup
ogl_tex, tex: use full-width types to avoid truncation warnings
wdbg_sym.cpp: skip __suppress and __profile symbols; add additional hex
display for floats; cleanup
wdll_ver.cpp: cppdoc+cleanup (remove non-reentrant C interface, replace
with std::string)
sysdep: add cppdoc
everything else: flag parameters are now consistently size_t instead of
int (avoids warnings, allows slightly better code on x64)
This was SVN commit r6392.
2008-09-18 11:27:55 +00:00
2c6a2c1572
Fixed some string type conversion problems for GCC
...
This was SVN commit r6384.
2008-09-17 15:55:04 +00:00
4132549c2c
64-bit fixes (the parts of lib/ in use at work are now fully operational in 64-bit mode)
...
- x86_x64.cpp: fix: test ARCH_AMD64 instead of ARCH_IA32 because both
are defined on x64
- manifest.cpp: fix processor architecture
- wdbg_heap.cpp: only enable on ia32
- winit, wstartup: take (lack of) name mangling into account
compiler.h: add STRINGIZE and DECORATED_NAME for use by winit
dir_watch: fix: smart pointers were never actually released due to a
remaining reference
This was SVN commit r6375.
2008-09-16 17:46:45 +00:00
4425489c12
Added automatic "root" prop-point to meshes from the Collada converter.
...
Fixed reported actor name in prop-not-found error messages.
This was SVN commit r6352.
2008-09-09 22:30:14 +00:00
4d8f41f3aa
Minor Collada-converter bug fixes
...
This was SVN commit r6342.
2008-09-07 23:11:29 +00:00
2624069993
replace most BIT macros with a Bit() template for better 64-bit safety
...
test_bits: add tests for all routines in bits.h
hpet: add safety check
unit.h, bits.h, DOMEvent.h: change T(~0) to ~T(0) (required when T is
64-bit)
This was SVN commit r6335.
2008-09-06 21:15:53 +00:00
c15cbe12d4
now load files from "public" mod unless onlyPublicFiles is on cmdline (see http://www.wildfiregames.com/forum/index.php?s=&showtopic=11983 )
...
instead of checking if the public mod exists, remove the windows-only
wfilesystem assert and another in file_system_posix so that the 'error'
is gracefully handled.
This was SVN commit r6334.
2008-09-06 21:12:36 +00:00
a6499ff319
fix: ensure directory is populated despite multiple Attach operations
...
refactor: move populate logic to separate file; VfsDirectory now only
provides the realDirectory storage, while Attach() responsibility is
moved to vfs_populate.
This was SVN commit r6333.
2008-09-06 21:09:58 +00:00
7b9351bf5c
Fixed bug in Collada XML fixer
...
This was SVN commit r6329.
2008-08-24 22:32:15 +00:00
b0f3116f5a
Nearly-complete updates to the Collada converter, to work with the latest release of FCollada
...
This was SVN commit r6328.
2008-08-24 22:22:25 +00:00
dave
d8bb8bddd8
Cleaned up and incorporated appropriate headers so it compiles
...
This was SVN commit r6325.
2008-08-11 09:57:42 +00:00
09f97a3422
Some fixes for OS X:
...
- Find enet properly
- Type conversion of size_t's in JS
This was SVN commit r6324.
2008-08-11 04:18:10 +00:00
14ec3a3026
minor fixes:
...
whrt: output timer implementation info, fix assert ( 1/(x-epsilon) < 1/x
+ epsilon )
wsdl: fix slightly incorrect gamma values (first and last are now
exactly 0 and 1)
This was SVN commit r6321.
2008-08-10 11:02:25 +00:00
a3b7e8c08c
needed unicode at work:
...
debug: reinstate wchar_t version of debug_printf
file, waio: add hack to allow creating File_Posix with unicode path
wposix: no longer include some rarely-used stuff to avoid conflict with
3rd party libraries
precompiled: bring boost::bind into global namespace (present in TR1)
dir_watch: needed directory watching with unicode paths and larger
buffers at work, so I completely overhauled and documented this
timer: add ToSeconds
SocketBase: fix to ensure correct match despite ::bind's conflict with
boost::bind
This was SVN commit r6319.
2008-08-09 19:22:13 +00:00
5d35f6bfe0
Increase turn length to 300ms to work better with lag.
...
This was SVN commit r6318.
2008-08-08 05:57:10 +00:00
98dd1a1bb4
Refactored "generic" order to just call it "contact action", and added support for intercepting targets if performing a contact action while moving.
...
This was SVN commit r6290.
2008-07-29 08:22:56 +00:00
0e8b7c5bc7
Removed some long commented out code.. no point keeping it there since it's in SVN.
...
This was SVN commit r6289.
2008-07-29 07:01:23 +00:00
435ac684e3
Fixed an bug where double-clicking on the minimap, or dragging the view and them leaving the minimap window, did not clear the "clicking" flag and caused further mouse motion to move the view around.
...
This was SVN commit r6288.
2008-07-29 06:56:38 +00:00
d0c6805725
Fixed bug that was causing population to go negative. It was due to a unit being killed by multiple enemies in the same frame, which led to multiple calls of the death event handler. The fix is twofold: First, kill() only calls the event handler the first time the unit is killed. Second, damage() (in JS), which apart from killing things also loots them, makes sure that the unit is not already being destroyed. This latter fix is to ensure that we don't get a huge amount of loot by simply attacking a low-HP unit with many soldiers simultaneously, so they kill it in the same frame.
...
This was SVN commit r6276.
2008-07-24 05:50:45 +00:00
75a9b2f357
Made stance-setting work with multiplayer.
...
This was SVN commit r6274.
2008-07-24 05:25:14 +00:00
fa7ce687f0
fix error handling - ensure SoundGroup doesn't crash when sound loading fails (previously it was only handling the case where loading failed due to sound being disabled)
...
This was SVN commit r6269.
2008-07-23 05:39:54 +00:00
aebe9a7936
Added active field to players to check whether the player is a human or CPU.
...
This was SVN commit r6267.
2008-07-23 05:21:57 +00:00
9f909073b4
fixes from work
...
- file: prevent error when closing a file twice (e.g. close and dtor)
- file_system_posix: export from DLL
- path_util: add some unicode versions of functions
- ia32: robustify, prevent hook reentry due to failure in disassembly,
gracefully handle breakpoints that overwrite code
- wdbg_heap: fix wdbg_heap_Validate
This was SVN commit r6264.
2008-07-21 20:43:37 +00:00
b979033385
Stopped CLogger outputting error messages with debug_printf while in test cases that are intentionally triggering errors.
...
This was SVN commit r6259.
2008-07-19 19:02:27 +00:00
e063542a5f
fix memory leak in leak detection code :P
...
This was SVN commit r6257.
2008-07-19 18:35:33 +00:00
6eb29f76d3
Already existed as a property.
...
This was SVN commit r6256.
2008-07-19 02:43:35 +00:00
a3fb9051b6
Fix MSVC build errors and warnings
...
This was SVN commit r6254.
2008-07-19 00:58:34 +00:00
8f6d3a75a5
(Missed from previous commit)
...
This was SVN commit r6253.
2008-07-19 00:40:08 +00:00
0f9294ce17
Fixed some strict aliasing warnings
...
This was SVN commit r6252.
2008-07-19 00:36:42 +00:00
fbc3d22720
Use GCC's std::tr1::unordered_* classes instead of the now-deprecated __gnu_cxx::hash_* when possible
...
This was SVN commit r6250.
2008-07-19 00:20:54 +00:00
0b32d1b674
Fix warning about static_assert being a future (TR1) keyword
...
This was SVN commit r6249.
2008-07-19 00:13:53 +00:00
afae8e6c7d
Adding the getName() method to be used from JS scripts.
...
This was SVN commit r6248.
2008-07-18 23:55:13 +00:00
5fcd1601a1
Fixed multi-line comment warning
...
This was SVN commit r6247.
2008-07-18 23:52:29 +00:00
6d92213077
Fixed "it=it=map.begin()" typo
...
This was SVN commit r6246.
2008-07-18 23:51:44 +00:00
4e539a652f
Fixed one set of annoying DCDT warnings
...
This was SVN commit r6245.
2008-07-18 23:49:51 +00:00
8f46070b2e
Reverting a change from #6239 because of the compilation error.
...
This was SVN commit r6244.
2008-07-18 23:00:04 +00:00
fe6370aff8
more dehydra. disabled lockfree module (not in use).
...
This was SVN commit r6240.
2008-07-17 17:00:00 +00:00
8e86d29301
dehydra fixes (mostly copy-ctor warnings)
...
This was SVN commit r6239.
2008-07-17 14:23:51 +00:00
0cbb38bfd9
Fixed 3+ player games. The problem was the FinalizeSlots method in GameAttributes, which confused player and slot IDs by deleting nonexistent slots/players from the array. Since this doesn't seem particularly useful (and is even undesirable for scenarios where some players *want* to be the last slot and to leave others empty), I commented it out rather than having the code incur the extra complexity of supporting renumberings.
...
This was SVN commit r6228.
2008-07-14 06:40:05 +00:00
4027a8f11b
dehydra-inspired fix: get rid of all using namespace std (potentially confusing / pollutes namespace).
...
Long iterator type names are better expressed via typedefs, anyway :)
(or 'auto' keyword of upcoming C++09)
This was SVN commit r6226.
2008-07-13 21:22:03 +00:00
9025056ffd
Made rally point setting net-safe.
...
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00
36b18f646f
Added shouldRun parameter to order(ORDER_GENERIC) calls from scripts.
...
This was SVN commit r6224.
2008-07-13 16:31:03 +00:00