Goober5000
40120210a4
add Wing Commander Saga's fiction viewer
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4328 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:43:07 +10:00
taylor
bf7075cc6a
make the chcksum spew in logs always have a full 8-set of values skip over files found on system which are over the max filename length, prevents several crashes (partial for Mantis #1182 )
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4169 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:59 +10:00
taylor
5a1b975637
fix stupid bugs in CF_SORT_REVERSE (should be as originally intended now)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4152 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:58 +10:00
taylor
1819e1ead6
cleanup of chksum stuff (works properly on 64-bit systems now) add chksum support for VPs, both a startup in debug builds, and via cmdline option (-verify_vps) little cleanup in cmdline.cpp (get rid of the remaining "fix bugs" crap)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4126 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:57 +10:00
taylor
45fb2f2189
a little better error handling for cf_exists_full() add a cf_exists_full_ext() which can find a series of extensions and returns true if any of them exist use cf_exists_full_ext() for eventmusic file checks (to check for ogg and wav) get rid of SPM hack, it's wrong (just commented out for now though) fix a bunch of bugs in cf_find_file_location_ext(): - try to handle files with multiple periods a bit better (for the wav files like: blah_1.5.wav) - load issue with finding incorrect files by mistake - prevent finding different file types in various paths/roots
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4074 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:55 +10:00
taylor
d0ca7a13de
some CFILE cleanup and slight directory order reorg add cfopen_special() for quickly opening files that have already been found with cf_find_file_location_ext() remove NO_SOUND
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3985 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:51 +10:00
taylor
f6763b8eaa
add the number of files that CFILE is going to try and use in each root to the debug info optimizations for cf_find_file_location_ext()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3952 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:49 +10:00
taylor
d56a2b33bb
remove avi and mpg from supported extensions
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3851 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:44 +10:00
wmcoolmon
fb94960327
WMC codebase commit. See pre-commit build thread for details on changes.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3821 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:42 +10:00
taylor
b192b094ee
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
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3531 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:33 +10:00
taylor
e8e3952513
"byte" was the same as "ubyte", but since "byte" has to be an extra #define on everything but Windows, lets just get rid of it
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3441 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:30 +10:00
Backslash
6b1fd17141
add .ogg to the list of recognized movie file extensions
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3415 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:29 +10:00
taylor
0c147396fd
include CF_TYPE_PLAYERS in special pilot path consideration, prevents moddirs from always getting and empty data/players/
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3369 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:27 +10:00
taylor
6b692e048f
don't lowercase the dir for chdir on non-Win32 since it could be, and probably is, case sensitive
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3368 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:27 +10:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
380b0de996
extra safety check when creating a default path string, filename is optional be we need to available if root0 is missing (CFILE not initted yet)
...
fix that crazy compiler<->constructor<->linker<->server.txt deal caused by some bad code and a freaky link thing in freespace.cpp
2006-04-16 05:28:10 +00:00
taylor
21311268f7
DDS now works well on the interface, but I forgot to every commit the CFILE change so that they are actually usable :)
2006-04-12 00:53:26 +00:00
taylor
7bd5d26e10
minor 64-bit related fixage
2006-02-16 05:07:50 +00:00
Goober5000
a9642a2a86
more tweaks, plus clarification of checks for the existence of files
...
--Goober5000
2006-02-13 00:20:46 +00:00
wmcoolmon
38daca278d
data/scripts directory
2006-01-17 02:33:20 +00:00
taylor
79e0e6b355
fix up cf_find_file_location() and related elements so that it's safer (based on WMC's work, but actually safe this time ;))
2005-12-28 22:06:48 +00:00
taylor
22b9889d33
fix quite a few CFILE issues:
...
use #define's for path lengths when possible so it's easier to move between functions
fix huge Cfile_stack[] issue (how the hell did that get through ✌️ QA?)
add Int3() check on cfopen() so it's easier to know if it get's called before cfile is ready to use
move path separators to pstypes.h
fix possible string overruns when setting up CFILE roots
make sure we don't try to init current directory again thinking it's a CD-ROM
add the list of VP roots to debug log, this will undoubtedly be useful
when -nosound is use go ahead and set -nomusic too to both checks are correct
add list of cmdline options to debug log
fix possible overwrite issues with get_version_string() and remove '(fs2_open)' from string plus change OGL->OpenGL, D3D->Direct3D
2005-12-06 03:13:49 +00:00
taylor
dd30247a35
switch from strchr() to strrchr() for extension checks in order to allow for multiple periods in a filename
2005-11-16 21:25:34 +00:00
taylor
5e932a8730
fix memory errors from new[]/delete[] mismatch
2005-10-23 11:44:07 +00:00
wmcoolmon
6e97ac964a
Ack, missed testing compile under an Inferno build
2005-10-23 05:37:59 +00:00
wmcoolmon
542c762d6a
Some cfile changes that slipped by
2005-10-17 00:13:28 +00:00
wmcoolmon
b00f5f9a55
Hardened cfile against array overflows
2005-10-16 23:15:47 +00:00
taylor
53029156ad
little 64-bit strangeness (longs are 64-bit here rather than 32)
2005-07-24 18:31:17 +00:00
Goober5000
12c90e780d
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 02:50:53 +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
taylor
03bdf5e87f
8 months I've been meaning to put this in the Linux tree, me == moron
2005-04-19 06:22:20 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
taylor
60d25cb9fa
that one should never have slipped passed me (Linux specific)
2005-03-02 03:13:00 +00:00
taylor
0bf7ee01dc
merge with Linux/OSX tree - p0131-2
2005-01-31 23:27:55 +00:00
taylor
0e646c0a45
merge with Linux/OSX tree - p0130
...
remove extra brace in cfile.cpp
2005-01-30 18:32:42 +00:00
taylor
2a7b06112d
merge with Linux/OSX tree - p0130
2005-01-30 12:50:08 +00:00
wmcoolmon
5c6594234e
Fix for music directory parent
2005-01-09 21:40:07 +00:00
wmcoolmon
02a8eefd80
Added .ogg in proper directories
2004-12-25 00:22:54 +00:00
taylor
af3e060a17
some 64-bit OS comaptibility fixes
2004-11-21 11:27:31 +00:00
taylor
c5efd0be0f
EFF animation support
2004-10-31 21:29:00 +00:00
taylor
49303fd117
support new pilot code, Linux code tree merge, don't use same pilot directory for Inferno builds
2004-10-31 21:28:38 +00:00
taylor
4e8849e133
almost forgot this for the IBX stuff
2004-10-09 18:08:33 +00:00
Kazan
7d1c8b185d
added preprocdefines.h to prevent what happened with fred -- make sure to make all fred2 headers include this file as the _first_ include -- i have already modified fs2 files to do this
2004-08-11 05:06:36 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
taylor
46f274f38d
add CF_SORT_REVERSE to real sort routine, makes CF_SORT_TIME work again
2004-07-17 09:26:00 +00:00
taylor
759b7e8b31
make sure avi and mpg movies get added to file cache
2004-07-17 09:03:29 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
wmcoolmon
b1ab3f347f
Nonworking OGG support for sound (not music) added, disabled load-only-used-weapons code, modification to sound system registry code.
...
OGG code has been commented out, so you don't need the SDK yet.
2004-06-22 23:14:10 +00:00
wmcoolmon
e6c3498787
Fixed cf_matches_spec; small bug was introduced.
2004-05-26 22:02:36 +00:00
wmcoolmon
22ed91e5ad
Added weapons_expl modular table, updated cfilesystem to work with modular tables, fixed loading order, fixed ship loading error messages
2004-05-26 21:02:27 +00:00