Goober5000
149797ae75
the proper way to fix Mantis #2441 is by modifying the team_visibility_update function
...
also, clarify terminology: in-frustum/not-in-frustum replaces visible/invisible
and do some minor rewrites for additional clarification
2012-01-22 05:37:09 +00:00
Zacam
72a80fb925
From CommanderDJ: Since "neb2_eye_changed()" contains "Neb2_regen" why not use it instead?
2011-11-29 04:07:42 +00:00
Zacam
fd66bdcab3
From CommanderDJ: Nebula distance check for set-object-position's regeneration of local nebula.
2011-11-29 01:54:34 +00:00
IssMneur
0717ad3d13
PVS-Studio fix: V512 A call of the 'memcpy' function will lead to overflow of the buffer '& x'. (pstypes.h:131)
2011-09-08 05:39:53 +00:00
Sushi
68b036a4af
Add "Fog Near Multiplier" and "Fog Far Multiplier" options for missions. Allows the FREDder to tweak distances at which ships fade out in a nebula.
2011-08-20 15:06:18 +00:00
Goober5000
d57ab51162
change fl_radian to fl_radians so as to be consistent
2010-12-31 04:02:41 +00:00
Zacam
a58a8b21af
Warnings Resolutions: 'int' to 'ubyte' conversion warnings.
...
Some formatting cleanup done on the affected files.
While not necessary, some {} put in by suggestion of output from GCC and to improve readability.
2010-10-25 00:03:29 +00:00
karajorma
c07d555346
Genghis' fix for Mantis 2159 (Certain parsing errors are never reported)
2010-05-02 10:24:48 +00:00
Zacam
7096cd3d11
From Antipodes #5 : PNG File Format support.
...
Adds PNG to Maps (should only be used for Nameplates), Interface, Effects, HUD (still needs HUD Rewrite to implement), Player/Squad Images, Multi Players, Multi Cache, CB Anims and Intel Anims.
LIBPNG: Version 1.2.42, current and highest usable version (MAX_VERSION), Linux can use any 1.2.2x-1.2.42, but should NOT use 1.4.0 under any platform for ANY reason (will require rewriting pngutils)
ZLIB: Version 1.2.3.
2010-02-06 02:35:41 +00:00
Hery
bc369d5566
fix problems with nebula background
2009-12-27 13:20:51 +00:00
Wanderer
54ebd3ad25
hery's patch for mantis 1945
2009-12-11 08:38:39 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
taylor
e1044c578d
2d poofs are supposed to be default (forgot that since I didn't commit the new neb2 code :))
2008-07-22 12:59:58 +00:00
taylor
9231692e48
basic commit of a few Xt tree changes
...
- updated OpenGL code (basic shader support, etc.)
- new ships lab code
- scripting RTT fixes
- don't let FRED hog CPU time
2008-07-16 02:49:19 +00:00
Goober5000
6ab0b17acc
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
2007-09-02 02:10:29 +00:00
taylor
c3e78b3f35
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.)
2007-02-10 20:23:51 +00:00
taylor
e873c928fd
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
2006-11-06 05:26:38 +00:00
taylor
6ab6cd71ce
fixes for stuff_string() bounds checking
2006-09-11 01:17:07 +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
wmcoolmon
78fab0c331
Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes
2005-10-30 06:45:00 +00:00
wmcoolmon
0dbb5e657c
New SEXP stuff
2005-10-09 08:03:21 +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
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
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
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