Commit Graph
1894 Commits
Author SHA1 Message Date
taylor 265ddfa336 make sure that _mkdir() will return an error if the path is invalid 2005-06-22 15:18:58 +00:00
taylor b9420f5774 objnum check when targetinfo is used, fixes message brackets having random text as info 2005-06-22 15:17:53 +00:00
taylor 9bf2e719da make sure we only have one extension on mission names 2005-06-22 15:16:40 +00:00
taylor eb29c67cbd probably be a good idea to make the valid objnum check here too 2005-06-21 00:25:34 +00:00
taylor 2ef2b8a53c in the model _render functions change "light_ignore_id" to "objnum" since that's what it really is
and this makes it so much easier to realize that
properly deal with the fact that objnum can be -1 in  model_really_render()
add NULL check to neb2_get_fog_values() so that it can just send back defaults if objp is NULL
small compiler warning fix for neb code
2005-06-21 00:20:24 +00:00
taylor 051598a219 unbreak network compatibility with 3.6.5 and earlier builds
fix crashing with turret weapons
2005-06-21 00:15:06 +00:00
taylor c81198eb17 add some better error checking/handling for when GetServerList messes up 2005-06-21 00:13:47 +00:00
taylor 9b8be166a6 add virtual destructor so that GCC4 can shut up 2005-06-21 00:12:11 +00:00
phreak 83cc635e8c added cmdline.h include so the compiler would see the no sound command line option
also added CVS header information.
2005-06-20 15:54:58 +00:00
taylor 5f85d3c0b5 little cleaner ship_get_random_targetable_ship(), for Goober's sake ;) 2005-06-20 04:10:35 +00:00
taylor 383badd8a1 arch and GCC4 compatibility 2005-06-20 04:09:46 +00:00
taylor bd9e659d0f make sure to reset size to 0 on texture free 2005-06-19 09:04:40 +00:00
taylor d3d8a5f15d check_values() shouldn't be inline anymore
remove useless neb2_get_fog_intensity() call
s/alocate/allocate/g
2005-06-19 09:03:05 +00:00
taylor 2e61bf2d41 minor sanity checking for geometry_batcher
make particle batchers allocate dynamically
handle cases where a particle graphic couldn't be loaded
2005-06-19 09:00:09 +00:00
taylor 6a2fd92ec6 disable speech when -nosound is used 2005-06-19 08:56:23 +00:00
taylor c191c9d2a5 woorps! 2005-06-19 04:59:04 +00:00
taylor c4f2d6efd0 remove xmouse.cpp since it's pretty much useless 2005-06-19 02:48:14 +00:00
taylor 569163a265 never "promote" to a lower rank than current 2005-06-19 02:47:00 +00:00
taylor 8c77de35ce OGG streaming fixes to get data reading right and avoid skipping
properly handle seeking in OGG streams
compiler warning fix in OpenAL builds
2005-06-19 02:45:56 +00:00
taylor a5e533c7e3 WMC's build fix, part deux 2005-06-19 02:43:49 +00:00
taylor 4ee7dd823a jumpnodes can get deleted outside of FRED now so allow for that 2005-06-19 02:43:14 +00:00
taylor 0fba391cbb really needed to mention those two things as well given the types of changes those are 2005-06-19 02:42:21 +00:00
taylor a61100399b fix possible crash from popups, especially in multi 2005-06-19 02:38:33 +00:00
taylor fbf69f1284 model_free_all() will unload textures so don't bother doing it twice 2005-06-19 02:37:43 +00:00
taylor 260b800593 general cleanup, remove some old code
speed up gr_opengl_flip() just a tad
inverted gamma slider fix that Sticks made to D3D
possible fix for ATI green screens
move opengl_check_for_errors() out of gropentnl so we can use it everywhere
fix logged OGL info from debug builds to be a little more readable
if an extension is found but required function is not then fail
try to optimize glDrawRangeElements so we are not rendering more than the card is optimized for
some 2d matrix usage checks
2005-06-19 02:37:02 +00:00
taylor c9c52327e0 allow screenshots and backsaves in windowed mode
account for D3D_textures_in size so that it doesn't hit negative values
2005-06-19 02:31:51 +00:00
taylor 1929229e5e MIN Num_iface_sounds fix 2005-06-19 02:29:54 +00:00
taylor d12a2fb8b4 add a _fast version of bm_unload() to be used in modelinterp and future graphics API code
clean up some modelinterp code to not use memcpy() everywhere so it's more platform compatible and matches old code (Jens Granseuer)
NaN check to catch shards-of-death and prevent hitting an Assert() (Jens Granseuer)
fix jumpnode code to catch model errors and close a memory leak
make the call to bm_unload_all() after model_free_all() since we will get bmpman screwups otherwise
don't show hardware sound RAM when using OpenAL build, it will always be 0
print top-right memory figures in debug builds slighly further over when 1024+ res
2005-06-19 02:28:56 +00:00
Goober5000 4f6808444d fixed a CVS log spelling error, plus fixed a tricky sexp allocation bug
--Goober5000
2005-06-16 05:17:32 +00:00
mrduckman 98d8a721a4 Added LIST command and added comment about PRIVMSG for Channels 2005-06-09 14:57:38 +00:00
wmcoolmon 1db7d30986 Hopefully this fixes something :) 2005-06-07 06:34:30 +00:00
wmcoolmon d81092d96f This may stop targeting not-targetable ships in EMP 2005-06-07 06:10:51 +00:00
wmcoolmon 42a8430c92 I *think* this should fix bool lists 2005-06-03 22:36:57 +00:00
taylor cc24f80476 some IBX debugging info to help determine if an IBX is corrupt post-mortem 2005-06-03 18:18:02 +00:00
matt 8fdeb16f8f D3D gamma now no longer works backwards --Sticks 2005-06-03 16:42:30 +00:00
taylor 2305d2b831 the problem this tried to fix should be properly fixed now but I keep forgetting to remove this block 2005-06-03 06:51:50 +00:00
taylor c5c5382fe4 cleanup of gr_bitmap since it's the same for D3D and OGL, skip if GR_STUB though
fix resize/rendering issue when detail culling is used with optimized opengl_create_texture_sub()
2005-06-03 06:44:17 +00:00
taylor d65f5212f5 eek... fix wrong description of changes 2005-06-03 06:41:37 +00:00
taylor f46a6295f7 better audio pause/unpause support when game window loses focus or is minimized 2005-06-03 06:39:27 +00:00
wmcoolmon 6b1733aa00 Small extern fix 2005-06-03 02:28:54 +00:00
Goober5000 f62f8a9bf6 ugh... reverting taylor's change for now; I'll have to take another look at this
--Goober5000
2005-06-02 03:20:20 +00:00
wmcoolmon 2607cf6af9 Protected ships are safe from spawning weapons. :) 2005-06-02 02:41:52 +00:00
wmcoolmon e23bc76eb4 Removed OF_DESTROYED, replacing it with a deletion cache 2005-06-02 02:09:43 +00:00
wmcoolmon 5acb5295d9 Cast to quiet error 2005-06-02 01:56:32 +00:00
wmcoolmon 9af4132f51 Better missing model handling Pt. 2 2005-06-01 22:54:23 +00:00
wmcoolmon 3e47590d0c Better missing model handling 2005-06-01 22:52: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 cee7b62c98 bit of cleanup for audiostr-openal and fix a Windows-only enum error
bunch of OGG related fixes for Linux and Windows (DirectSound and OpenAL), fixes audio related TBP 3.2 crashes
gracefully handle OGG logical bitstream changes, shouldn't even load if there is more than 1
2005-06-01 09:41:14 +00:00
taylor af3587c1e8 little cleanup
optimize opengl_create_texture_sub() by not doing any extra image processing if we don't have to
  if an image is already power-of-2 or we don't need power-of-2 then avoid the extra time and memory usage
2005-06-01 09:37:44 +00:00
taylor 10955f821d make sure that newly created entries are properly initialized 2005-06-01 09:35:42 +00:00