taylor
edbfdbbac6
default to 44100 sound sample rate (OpenAL tends to works much better with this)
2006-09-20 05:06:54 +00:00
taylor
fc5bdcdeba
add some extra FS2NetD safety checks around to prevent the code from doing stupid crash-happy things
2006-09-20 05:05:28 +00:00
taylor
a61fdf5dae
have the joystick thread prevent the display and network from going to sleep or activating the screensaver if you use only a joystick to play
2006-09-20 05:05:07 +00:00
taylor
f102d6c3db
the resolution checks needed to be based on the unscaled res since you would have to include correct sizes for every single resolution otherwise (fixes a bug noticed in WCS)
2006-09-20 05:04:42 +00:00
taylor
d7d12ae51a
some gamma ramp fixage, still hasn't gotten a steller review from DaBrain but it does work much better than before, so I'll tweak it later if need be
2006-09-20 05:04:22 +00:00
taylor
a7f03a9cff
neither of these two structs appear to be used anywhere, so lets just comment them out
2006-09-20 05:04:01 +00:00
taylor
d37db36920
some basic error message/handling fixage
2006-09-20 05:03:41 +00:00
taylor
dd1de10b08
properly support 4gig of RAM, and don't totally freak out if user has more than that
2006-09-20 05:03:12 +00:00
taylor
6f6b750bf1
properly fix the new_recommendation_text FRED problem, plus some real cleanup for that code in general, and some memory leak fixes
2006-09-20 05:02:41 +00:00
taylor
b552a1ce89
add default recommendation text for debriefing, it's either this or making sure that it's nul
2006-09-14 23:29:47 +00:00
taylor
4409f12774
prevent FRED from hitting an Assert() that it shouldn't have had to hit in the first place
2006-09-14 18:48:17 +00:00
taylor
de5dcc879d
fix for Mantis bug #1006
2006-09-13 17:30:25 +00:00
taylor
31f5a80283
fix some stuff_string()'s that got missed previously
2006-09-13 03:57:00 +00:00
taylor
af26639744
forgot to check that error message to match the new struct format
2006-09-13 03:56:29 +00:00
taylor
8877c6fdc6
bah! stupid.
2006-09-13 03:55:50 +00:00
taylor
eecb1ac38f
might as well add this, just to be on the safe side (I haven't hit it anywhere, but it could be made into a warning if it starts getting hit)
2006-09-13 03:18:15 +00:00
taylor
c9cb9639f8
be sure to setup/reset ship team data too when moving to a red-alert mission (Mantis bug 1042)
...
(this will hopefully fix Mantis bug 860 as well, which is a separate but related issue)
2006-09-13 03:17:59 +00:00
taylor
d46e332bf8
be sure that we still try to play a movie if we get to the cmd/brief screen right from another mission without debrief (Mantis bug 1043)
2006-09-13 03:17:34 +00:00
taylor
46255d3f9a
restore MAX_AIFTT_TURRETS to retail level, and add comment as to what it means for the next person that tries to change it
2006-09-13 03:17:06 +00:00
taylor
893d8bb07b
revert to retail behavior for turret_should_pick_new_target()
...
fix out-of-bounds issue
2006-09-11 09:43:35 +00:00
taylor
fe80df5c2e
fixes for stuff_string() bounds checking
2006-09-11 06:51:17 +00:00
taylor
3aede6b739
fixes for stuff_string() bounds checking
...
stict compiler build fixes
2006-09-11 06:48:40 +00:00
taylor
f7080e74fc
compiler warning fixes
2006-09-11 06:47:59 +00:00
taylor
044981a139
fix bug where set-object-speed-* could set speed subjectively if left to default
2006-09-11 06:47:33 +00:00
taylor
21c1281c12
fixes for stuff_string() bounds checking
...
compiler warning and stict compiling fixes
2006-09-11 06:47:07 +00:00
taylor
5516e17a5f
fixes for stuff_string() bounds checking
...
compiler warning fixes
2006-09-11 06:46:36 +00:00
taylor
83e994b3a1
fixes for stuff_string() bounds checking
...
make sure that default entries always get used in techroom if they don't otherwise have the techroom visibility flag
fix crash bug where the first entry in the various lists wasn't ever initialized if there is no ship/weapon/intel info to show
2006-09-11 06:46:04 +00:00
taylor
2bbcd2bf28
various small compiler warning and strict compiling fixes
2006-09-11 06:45:40 +00:00
taylor
a98ce72c1d
crap. ... again
2006-09-11 06:38:32 +00:00
taylor
fbe1344457
clean up the grstub mess (for work on standalone server, and just for sanity sake)
...
move color and shader functions to 2d.cpp since they are exactly the same everywhere
don't bother with the function pointer for gr_set_font(), it's the same everywhere anyway
2006-09-11 06:36:38 +00:00
taylor
3a96049666
crap, there was supposed to be a multi check there
2006-09-11 06:10:28 +00:00
taylor
c63d33e7ba
allow W32 init fallback if desktop depth is less than requested game depth (it may look like crap, but at least it will work)
2006-09-11 06:09:30 +00:00
taylor
1c13a35623
bah! got the post-it sitting in front of me, but still forgot to remove this
2006-09-11 06:08:46 +00:00
taylor
49b7ae2b07
make Species_info[] and Asteroid_info[] dynamic
2006-09-11 06:08:09 +00:00
taylor
0adc47adae
quite a few fixes to handle missing campaigns better
...
change load order for campaign loading to a full check: Player-specified -> BUILTIN_CAMPAIGN -> First Avaiable.
clean up the getting of a list of available campaigns
fix simroom issue where single missions, with the [V] icon, would display wrong (this was a retail bug, but it doesn't show normally)
fix bug where, if a campaign failed to load, it would still appear available for savefile useage
fix bug where, when resetting the campaign info, the num_missions var wasn't 0'd and it could cause a sexp Assert() during reset
2006-09-11 06:02:14 +00:00
taylor
5d42339e1a
fix a compiler warning/error on Squadmsg_history[] init
2006-09-11 05:56:23 +00:00
taylor
642bae3ae9
forgot an extension check (was this the background corruption bug???)
2006-09-11 05:55:18 +00:00
taylor
2c13208186
switch to using cf_find_file_location_ext() when looking for movies
2006-09-11 05:54:37 +00:00
taylor
59d07b3764
various small cleanup and speedup changes
...
add a cf_find_file_location_ext() function, which you can pass a filename and a list of extensions and it will search for all of them at once
2006-09-11 05:49:05 +00:00
taylor
ee3aafc1e9
make muzzle flash info dynamic
...
add support for modular mflash tables (*-mfl.tbm)
2006-09-11 05:44:23 +00:00
taylor
7ea298bfde
add font.h since the gr_set_font() function is only available from there now
2006-09-11 05:39:48 +00:00
taylor
e654bffa7a
don't try to draw beam sections if there is no valid texture for it, or if there is no width
2006-09-11 05:38:16 +00:00
taylor
fa79a6395f
make sure that we properly page in textures for 3d shockwave models
2006-09-11 05:37:33 +00:00
taylor
368e5892e7
compiler warning fixes
2006-09-11 05:36:43 +00:00
taylor
d8c395d382
some fixes for the standalone server
...
- get init order correct for lcl and std init
- turn off some cmdlines that are just graphics related when Is_standalone
- skip radar_mission_init() (may need to rethink that though, it's bound to cause problems)
2006-09-11 05:35:51 +00:00
taylor
5d467a8a79
minor spelling/grammer fixes
2006-09-11 05:31:11 +00:00
taylor
3a7eb64b41
be sure to reset color and clear color before MVE playback (fix for Mantis bug #1041 )
2006-09-09 21:28:19 +00:00
wmcoolmon
8822c4b5f8
New model & ship scripting stuff
2006-09-09 09:53:36 +00:00
taylor
34b1c5bdd2
fix for vanishing FRED2 cursor (Mantis bug #997 ), plus a little cleanup
2006-09-09 04:07:57 +00:00
taylor
4b7a796ed1
crap, knew I should have fixed that in the patch so that it would be right in both branches...
2006-09-08 07:25:05 +00:00