Goober5000
d68a225582
added fixes for #1415 and #1483 , made sure every read_file_text had a corresponding setjmp, and sync'd the parse error messages between HEAD and stable
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4251 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:43:04 +10:00
taylor
5c5b2f7442
make sure that we don't set the 2d view matrix and then not reset it (Mantis #1269 ) clean up some of the fullneb mess that was causing some initial setup issues (colors wrong, etc.)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3969 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:50 +10:00
wmcoolmon
ff8572af7d
Fix CVS & correct various warnings under MSVC 2003
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3904 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:47 +10:00
wmcoolmon
9405a8c1e2
Attempt to remove various warnings under MSVC 2003, mostly related to casting, but also some instances of inaccessible code.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3898 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:46 +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
938275b159
fix some of the envmap issues - use proper hand-ness for OGL - fix distortion - get rid of extra index buffer requirement change starfield bitmaps to use an instance matrix rather than going through all the trouble of resetting the view matrix basic cleanup and get rid of a couple of struct/variable naming issues (compiler sanity) make double sure that we aren't using culling of z-buffering when rendering starfield bitmaps
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3720 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:40 +10:00
taylor
471b758539
fixes for stuff_string() bounds checking
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3549 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:34 +10:00
wmcoolmon
ca5777adfe
Move fog disappearance factor to objecttypes.tbl
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3180 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 18:42:20 +10:00
taylor
7828fc7e6f
compiler warning fixes to make GCC 4.1 shut the hell up
2006-04-12 22:23:41 +00:00
taylor
ac57d4d55e
more s/colour/color/ changes
...
throw in a couple of safety checks for some neb2 functions
2006-04-12 01:03:00 +00:00
taylor
79661b3a3f
some cleanup to the nebula debug console help messages
2006-03-18 10:25:45 +00:00
taylor
5cbc3791a4
and after all of my recent work fixing div-by-0 zero bugs, ya had to know this was coming :)
2006-01-30 19:37:33 +00:00
taylor
7558eba371
minor warning fixage
2006-01-30 06:36:01 +00:00
taylor
74549db950
first version of this sucked, this should be a bit better while working with both new and retail data
...
- get an average color from the palette rather than picking first (unoptimized palettes could have unused pixels in first entry)
- slight cleanup, and s/colour/color/ (yeah, stupid American, deal with it! :))
2006-01-26 03:59:59 +00:00
taylor
2b241ca617
support only PCX for the nebula background graphics (given how it works that's the fastest and easiest way to get it done)
2006-01-18 16:01:14 +00:00
wmcoolmon
246cfcfa65
Codebase commit, most notably including objecttypes.tbl
2005-12-29 08:08:42 +00:00
taylor
4b34bbca19
fix several bad crash related problems from WMC's commits on the 4th
2005-12-08 15:17:35 +00:00
wmcoolmon
15b30e3177
Final commit of codebase
2005-12-04 19:07:49 +00:00
taylor
0fe5be4fe9
small bit of EFF cleanup
...
add -img2dds support
cleanup some D3D stuff (missing a lot since the old code is so unstable I couldn't get it working like I wanted)
some minor OGL cleanup and small performance changes
converge the various pcx_read_bitmap* functions into one
cleanup/rename/remove some cmdline options
2005-11-13 06:44:18 +00:00
taylor
3c2f9cd4c2
add a bunch of Assert()'s and NULL checks to either help debug or avoid errors
...
fix Mantis bug #381
fix a small issue with the starfield bitmap removal sexp since it would read one past the array size
2005-10-30 20:03:40 +00:00
wmcoolmon
78fab0c331
Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes
2005-10-30 06:45:00 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
wmcoolmon
0dbb5e657c
New SEXP stuff
2005-10-09 08:03:21 +00:00
Goober5000
2a307d099a
CVS header tweaks
...
--Goober5000
2005-07-22 10:18:41 +00:00
Goober5000
c17c11b651
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:26:00 +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
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
wmcoolmon
865808e34e
Commented out unneeded array (Glide)
2005-04-25 00:27:32 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
wmcoolmon
02e75ddd49
Merge of WMC's codebase. "Features and bugs, making Goober say "Grr!", as release would be stalled now for two months for sure"
2005-03-03 06:05:32 +00:00
taylor
91e9fb4433
more NO_NETWORK/INF_BUILD goodness for Windows, takes care of a few warnings too
2005-03-02 21:24:48 +00:00
taylor
b1c274ee89
more bm_unload() -> bm_release() changes
2005-02-23 04:55:09 +00:00
taylor
09167fa382
merge with Linux/OSX tree - p0204-2
2005-02-04 20:06:10 +00:00
wmcoolmon
d4826f46c6
Instead of trying to allocate a ridiculously large buffer if the file is defined but doesn't exist, give a warning. Someone with nebula-code experience should probably double-check this; also added jpg and TGA support.
2005-01-22 22:53:07 +00:00
wmcoolmon
64114c55ec
Bug-guard
2005-01-10 06:58:12 +00:00
taylor
75154c1613
new bmpman support, new OGL fixes don't need the freaky neb lighting fix anymore
2004-10-31 21:56:09 +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
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
bobboau
2798d7d62b
implemented index buffered background bitmaps,
...
OGL people you realy should get this implemented
2004-07-01 01:12:33 +00:00
randomtiger
477edade7a
Added -2d_poof command which allows access to 2D poof rendering
...
Added -radar_reduce to launcher flag description structure
2004-04-18 19:39:13 +00:00
taylor
a587832a5a
render lightning unlit so that it works in OGL
2004-04-14 10:27:24 +00:00
taylor
de2409e3b0
don't page in neb poofs unless in a neb2 mission, fix OGL whiteout issue
2004-04-14 10:25:50 +00:00
randomtiger
07686ee5b2
Adding batching functions here and there and into gr_screen for use with OGL when its ready.
2004-04-11 13:56:33 +00:00
bobboau
dc29468e31
commiting recent minor bug fixes
2004-04-03 02:55:50 +00:00
bobboau
cc41a40735
new fighter beam code
...
fixed old after burner trails
had to bump a few limits, working on some dynamic solutions
a few fixed to background POF rendering
fixing asorted bugs
2004-03-17 04:07:32 +00:00
Goober5000
7ef2ab2e39
Uber pass at reducing #includes
...
--Goober5000
2004-03-05 09:02:13 +00:00
randomtiger
c64ccecfc8
Removed a few uneeded if DIRECT3D's.
...
Set laser function to only render the effect one sided.
Added some stuff to the credits.
Set D3D fogging to fall back to vertex fog if table fog not supported.
2004-02-28 14:14:57 +00:00
randomtiger
19bef23d16
Please note that from now on OGL will only run with a registry set by Launcher v4. See forum for details.
...
OK, these changes effect a lot of file, I suggest everyone updates ASAP:
Removal of many files from project.
Removal of meanless Gr_bitmap_poly variable.
Removal of glide, directdraw, software modules all links to them, and all code specific to those paths.
Removal of redundant Fred paths that arent needed for Fred OGL.
Have seriously tidied the graphics initialisation code and added generic non standard mode functionality.
Fixed many D3D non standard mode bugs and brought OGL up to the same level.
Removed texture section support for D3D8, voodoo 2 and 3 cards will no longer run under fs2_open in D3D, same goes for any card with a maximum texture size less than 1024.
2004-02-14 00:18:37 +00:00
randomtiger
a4c446a059
Turned off fog in OGL for Fred.
...
Simulated speech doesnt say tags marked by $ now.
The following are fixes to issues that came up testing TBP in fs2_open and fred2_open:
Changed vm_vec_mag and parse_tmap to fail gracefully on bad data.
Error now given on missing briefing icon and bad ship normal data.
Solved more species divide by zero error.
Fixed neb cube crash.
2004-02-13 04:17:14 +00:00