Taylor Richards [Mon, 8 Feb 2010 08:09:23 +0000 (08:09 +0000)]
myrand() fixes
Original code made various assumptions about RAND_MAX being SHRT_MAX like
on Windows. So switch to using MY_RAND_MAX for anything dealing with
myrand() and also ensure that myrand() uses 0x7fff as its max value.
Taylor Richards [Sat, 1 Oct 2005 22:04:58 +0000 (22:04 +0000)]
fix FS1 (de)briefing voices, the directory names are different in FS1
hard code the table values so that the fs1.vp file isn't needed
hard code a mission fix for sm2-08a since a have no idea how to fix it otherwise
generally cleanup some FS1 code
fix volume sliders in the options screen that never went all the way up
Taylor Richards [Sat, 1 Oct 2005 21:55:00 +0000 (21:55 +0000)]
fix a small bug in UI_GADGET that could leave a control animation loaded in memory without a way to unload it
allow a slider with no defined hotspot to function properly (fixes the FS1 skill slider mask problem)
Taylor Richards [Sat, 1 Oct 2005 21:50:49 +0000 (21:50 +0000)]
clean out all of that OS X specific stuff that didn't work right or was otherwise useless
move from "Library/Preferences" to "Library/Application Support" for user created files on OS X
Taylor Richards [Sat, 1 Oct 2005 21:48:01 +0000 (21:48 +0000)]
various cleanups
fix decoder to swap opcode 0xb since it screws up on PPC
the previous opcode 0xc change was wrong since we had already determined that it messes up FS1 movies
Taylor Richards [Sat, 1 Oct 2005 21:44:43 +0000 (21:44 +0000)]
slight speedup to font rendering by not doing something that should be global for each letter
little cleanup to better deal with FS2_Open related changes
don't deal with the extra texmem stuff if we don't have to, saves on temporary memory usage and speed
Taylor Richards [Sat, 1 Oct 2005 21:42:07 +0000 (21:42 +0000)]
if we are using a custom detail level then give the closest relative to the defaults when we request
the current detail level (needed to be fixed for one FS1 thing in particular)
Taylor Richards [Sat, 1 Oct 2005 21:40:38 +0000 (21:40 +0000)]
deal with OS X apps a little better, sets the path only based on ".app" in the name rather than the name itself
make sure a global cmdline.cfg file works with OS X when built as an app
Taylor Richards [Sat, 1 Oct 2005 21:38:32 +0000 (21:38 +0000)]
some reorg of includes to not requires the same headers in many different files
handle FS1 specific language changes
some OS X changes for paths and to handle socklen_t better
Taylor Richards [Fri, 12 Aug 2005 08:47:24 +0000 (08:47 +0000)]
use new audiostr code rather than old windows/*nix version
update all OpenAL commands with new error checking macros
fix play_position to properly account for real position, fixes the talking heads and message text cutting out early
movies will now use better filtering when scaled
Taylor Richards [Tue, 29 Mar 2005 07:50:34 +0000 (07:50 +0000)]
Update to newest movie code with much better video support and audio support from
Pierre Willenbrock. Movies are enabled always now (no longer a build option)
and but can be skipped with the "--nomovies" or "-n" cmdline options.
Taylor Richards [Tue, 29 Mar 2005 02:18:47 +0000 (02:18 +0000)]
Various 64-bit platform fixes
Fix compiler errors with MAKE_FS1 and fix gr_set_bitmap() too
Make sure that turrets can fire at asteroids for FS1 (needed for a couple missions)
Streaming audio support (big thanks to Pierre Willenbrock!!)
Removed dependance on strings.tbl for FS1 since we don't actually need it now
Taylor Richards [Wed, 15 Dec 2004 04:10:45 +0000 (04:10 +0000)]
outwnd_unix.cpp from fs2_open for logging to file in debug mode
fixes for default function values
always use vm_* functions for sanity sake
make cfilearchiver 64-bit compatible
fix crash on exit from double free()
fix crash on startup from extra long GL extension string in debug