portej05
44f8eab341
Change to make safe_strings show asserts in release.
...
safe_strings is now used regardless of whether the CRT supports it (except if you're using VC6).
2009-09-10 07:44:08 +00:00
Wanderer
9eb42469a9
fix for debugging CTD in clean_filename function
2009-09-02 05:17:30 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
portej05
aebae0185a
Warning now makes sense when it is displayed.
2009-07-01 14:31:32 +00:00
portej05
b91be33343
Just->Error in windebug
2009-06-22 06:37:32 +00:00
portej05
5b4c5f388c
Fixed up some indentation in pstypes.h - the assert section is now readable
...
Added a space after the ! in the stack tracing using DbgHelp
Added the str*_s basic functions. Note the licence in the top. (also, this only updates the VC2008 project)
2009-06-21 17:08:18 +00:00
portej05
cb51bf1eb5
Callstacks now work under VC2008 - define PDB_DEBUGGING to use. (you need the PSDK to make this work)
...
See the post in SCP for what/why.
2009-06-21 15:39:13 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
karajorma
0cb0206db2
Add the Assertion Macro as an alternative to Assert.
...
Switch a couple of Asserts to Assertions.
2009-05-10 08:53:57 +00:00
Goober5000
47060c5c9b
add warning system for mods with bad data files
2009-04-08 04:58:12 +00:00
taylor
71e948278b
don't call gr_activate() in Assert macro
...
log asserts properly when using the -no_warn flag
(though asserts aren't really warnings and should not be turned off, it could be argued that many of our asserts don't belong)
2008-10-07 20:31:04 +00:00
karajorma
90e30ee37e
Fix a problem with the assertion logging fix I added earlier if the stack trace was too long. Will now log errors too.
2008-07-29 19:25:34 +00:00
karajorma
0a9903f48d
Print the stacktrace to the debug log on hitting an assertion.
2008-07-24 20:25:42 +00:00
WMCoolmon
7e7d77c8d7
*Drumroll* The official scripting system commit to the stable branch!
2008-03-15 08:56:43 +00:00
taylor
21cc3ce5ab
make sure that Warning()'s are sent to the debug log too, regardless of whether warning popup is enabled
2007-10-28 16:36:34 +00:00
taylor
3768baeb3f
change Warning() and Error() to use const format variables (can't remember who said to do this)
...
fix memory error when zero'ing buffers for error messages on non-Windows platforms
2007-10-17 21:03:06 +00:00
Goober5000
b73cc58c2d
meh, space
2007-04-03 02:19:26 +00:00
Goober5000
11982ffc72
fixed up some error messages
2007-04-03 01:39:31 +00:00
taylor
a2d4bac2d2
clean up warning code for Windows
...
handle messagebox popups better (until I done with even cooler code for handling that)
cleanup window state code a bit, and deal with activation and cursor handling better
handle WM_ERASEBKGND msg ourselves, prevents some flickering issues and gets rid of the need to self-paint the window to clear it
slightly better Win9x/WinME compatibility for the main window
2006-12-07 18:04:03 +00:00
taylor
c32766015d
fix for vanishing FRED2 cursor (Mantis bug #997 ), plus a little cleanup
2006-09-09 04:07:57 +00:00
taylor
f09c7e2d03
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
2006-09-08 06:14:44 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
7ee4923324
try and make some sense out of that cmdline option mess, maybe it will stay sane for a few days at least :)
2006-02-24 07:36:49 +00:00
wmcoolmon
99e29f52ba
Removed USE_LUA
2006-01-31 06:42:28 +00:00
Goober5000
738875f021
replace quick sort with insertion sort in many places
...
--Goober5000
2006-01-27 06:21:10 +00:00
wmcoolmon
769608ef6d
More Lua checks; added Lua vector object; better operator support.
2006-01-19 20:18:12 +00:00
wmcoolmon
a657ad4cad
Lua debugging stuff; gr_bitmap_ex stuff for taylor
2006-01-19 16:00:04 +00:00
wmcoolmon
5be88dfe76
Finished committing codebase
2006-01-12 04:18:10 +00:00
phreak
56c97212d6
LuaError() body should not be compiled into the code unless USE_LUA was defined in the project file.
2005-11-13 05:25:59 +00:00
wmcoolmon
7cd75811db
More warnings instead of Int3s/Asserts, better Lua scripting, weapons_expl.tbl is no longer needed nor read, added "$Disarmed ImpactSnd:", fire-beam fix
2005-11-08 01:04:02 +00:00
taylor
44ddf3545c
dynamically allocate object collision pairs
2005-10-17 05:48:18 +00:00
taylor
79296221d5
fix memory freakage from dynamic spawn weapon types
2005-10-11 08:30:38 +00:00
taylor
235c7aa72b
gah, I still messed that up. Add a NULL check and have register_malloc() actually handle the correct pointer
2005-09-15 05:19:25 +00:00
taylor
0d63e60e92
some vm_* fixage for Windows
2005-09-14 20:38:12 +00:00
Kazan
abbb5ff762
[hopefully] Fix the bug i introduced in the show memory usage code, and the convergence bug during autopilot [also saves cpu cycles - MANY of them]
2005-08-16 20:06:24 +00:00
Kazan
8136a01885
i introduced a bug in _vm_realloc.. fixed it
2005-08-14 23:05:27 +00:00
Kazan
dd2cc96e74
I'm stupid, sorry - fixed release-build-crash
2005-08-14 21:01:59 +00:00
Kazan
cbf139d3a3
diabled NEW_MALLOC on windows - it was causing crashing - must have been corrupting it's own heap
2005-08-14 17:20:56 +00:00
phreak
7e9d517e84
clarified error messages to say that the files listed on asserts/warnings/errors
...
are located on the computers that built the exe.
2005-06-01 15:10:26 +00:00
taylor
3f6e13d20b
use vm_malloc(), vm_free(), vm_realloc(), vm_strdup() rather than system named macros
...
fixes various problems and is past time to make the switch
2005-05-12 17:49:18 +00:00
Goober5000
a79c665cca
whoops
2005-03-08 04:41:39 +00:00
Goober5000
5548a8e954
edited for language ;)
...
--Goober5000
2005-03-08 03:50:25 +00:00
bobboau
9c9876909b
oh, hey look I've commited something :D
...
animation system, weapon models detail box alt-tab bug, probly other stuff
2005-03-01 06:55:45 +00:00
taylor
a2232be0c7
merge with Linux/OSX tree - p0204
2005-02-04 10:12:33 +00:00
Goober5000
be761d4fc1
nitpicked some boolean tests, and fixed two small bugs
...
--Goober5000
2005-01-30 09:27:41 +00:00
taylor
a8d696efbd
rename __ASSERT check to _ASSERT to fix constant warning message - why did no one else fix this?
2004-10-31 21:34:39 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
257d7bef7a
-fred_no_warn has become -no_warn and applies to both fred and fs2
...
added new ai directive (last commit) and disabled afterburners while performing AIM_WAYPOINTS or AIM_FLY_TO_SHIP
fixed player ship speed bug w/ player-use-ai, now stays in formation correctly and manages speed
made -radar_reduce ignore itself if no parameter is given (ignoring launcher bug)
2004-07-25 18:46:30 +00:00
Kazan
d00cd1bda7
i have absolutely nothing to say about that subject
2004-07-25 00:31:31 +00:00