taylor
7e3b7769c6
many, many compiler warning and header fixes (Jens Granseuer)
...
fix free on possible NULL in modelinterp.cpp (Jens Granseuer)
2005-04-12 05:26:38 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
wmcoolmon
2c2a6334db
Big, massive, codebase commit. I have not removed the old ai files as the ones I uploaded aren't up-to-date (But should work with the rest of the codebase)
2005-03-25 06:57:38 +00:00
taylor
fc56aaebff
I think I deserve a medal or something for that one :)
2005-03-25 01:10:51 +00:00
taylor
b399461826
fix compiler warnings with mismatched types and unused variables
...
cleanup some debug messages so they can be turned off if needed
get rid of extra strstr() check for thrusters since it should never get that far anyway
page_in/page_out of model glows should be better now
removed a bunch of unneeded casts and get type specific math functions right
2005-03-24 23:36:14 +00:00
phreak
ba4b720a99
draw paths and docking points using HTL
2005-03-20 20:01:15 +00:00
bobboau
e0907340c1
added a geometry batcher and implemented it in sevral places
...
namely: lasers, thrusters, and particles,
these have been the primary botle necks for some time,
and this seems to have smoothed them out quite a bit.
2005-03-16 01:35:59 +00:00
taylor
405ba066b9
change min/max to MIN/MAX to fix GCC problems
...
add lab stuff to Makefile
build unbreakage for everything that's not MSVC++ 6
lots of warning fixes
fix OpenGL rendering problem with ship insignias
no Warnings() in non-debug mode for Linux (like Windows)
some campaign savefile fixage to stop reverting everyones data
2005-03-10 08:00:18 +00:00
Goober5000
5548a8e954
edited for language ;)
...
--Goober5000
2005-03-08 03:50:25 +00:00
bobboau
37bfe59c6e
commit of render target code, d3d should be totaly functional,
...
OGL still needs implementation.
2005-03-07 13:10:22 +00:00
bobboau
9c9876909b
oh, hey look I've commited something :D
...
animation system, weapon models detail box alt-tab bug, probly other stuff
2005-03-01 06:55:45 +00:00
wmcoolmon
b94b107822
Added a white component to lightning so it isn't just a big blue block
2005-02-27 23:42:07 +00:00
taylor
2223aed74b
clean up some model related globals
...
code to disable individual thruster glows
fix issue where 1 extra OGL light pass didn't render
2005-02-15 00:06:27 +00:00
taylor
280066b619
fix Error() check so that it doesn't hit on MAX_BUFFERS_PER_SUBMODEL-1
2005-02-12 12:17:54 +00:00
taylor
b155e6ebd3
merge with Linux/OSX tree - p0204-3
2005-02-04 23:29:32 +00:00
Goober5000
ebf7f23559
bah - rolled back the HTL fix that doesn't really work
...
--Goober5000
2005-01-30 10:49:26 +00:00
Goober5000
be761d4fc1
nitpicked some boolean tests, and fixed two small bugs
...
--Goober5000
2005-01-30 09:27:41 +00:00
wmcoolmon
309b9ef3a7
Improved user-friendliness - give an Error instead of a CTD
2005-01-30 03:23:22 +00:00
phreak
180d4f7168
fixed error message again :)
...
-p
2005-01-29 15:40:22 +00:00
wmcoolmon
d0de69e805
Added better too-many-textures error message
2005-01-28 23:45:23 +00:00
Goober5000
a746194c10
cleaned up some build warnings
...
--Goober5000
2005-01-28 11:39:18 +00:00
taylor
0268e7ef01
add model_page_out_textures() for use in techroom
...
make model_page_in_textures() load more textures
2005-01-28 09:56:44 +00:00
taylor
e7119711d5
add MR_NO_FOGGING flag to easily render models without fog (warp model, targetbox models)
2005-01-01 19:45:32 +00:00
bobboau
631ad4151f
sevral feature additions that WCS wanted,
...
and the foundations of a submodel animation system,
the calls to the animation triggering code (exept the procesing code,
wich shouldn't do anything without the triggering code)
have been commented out.
2004-12-05 22:01:12 +00:00
taylor
1d084ab9cf
s/fisrt/first/g
2004-10-31 21:55:00 +00:00
taylor
d8d1502cd8
da simple IBX code, back to old line rendering for models since it should be faster for OGL now
2004-10-09 17:48:58 +00:00
Goober5000
3766a10e38
fixed a few warnings
...
--Goober5000
2004-09-05 19:23:24 +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
a3422b4d01
added the working decal code
2004-07-11 03:22:54 +00:00
bobboau
97a5c86641
FVF code, only the data that is needed is sent off to the card,,
...
OGL can take advantage of this if they want but it won't break
anything if they don't. also state block code has been implemented,
that's totaly internal to D3D no high level code is involved.
2004-07-05 05:09:21 +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
bobboau
69aa1db7ab
high level index buffer suport and d3d implementation,
...
OGL people need to get this working on your end as it's broke now
2004-06-28 02:13:08 +00:00
phreak
7511e5c48d
don't fog the warp model if its being rendered
2004-05-12 22:50:31 +00:00
Goober5000
4d4e171d0c
added an assert
...
--Goober5000
2004-05-01 17:37:09 +00:00
taylor
82397f1ca3
use d3_draw_rod() for lightning arcs (for OGL fix), fix debris making HUD in OGL disappear
2004-04-26 12:38:35 +00:00
Goober5000
3e3bb4a80d
fixed some stub functions and a bunch of compile warnings
...
--Goober5000
2004-04-03 06:22:33 +00:00
bobboau
766ad441d0
fixed -spec comand line option,
...
probly some other stuf
2004-03-20 21:17:13 +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
bobboau
07a789e9dc
fixed motion debris
...
animated laser textures
and added a new error check called a safepoint, mostly for tracking the 'Y bug'
2004-03-06 23:28:24 +00:00
Goober5000
7ef2ab2e39
Uber pass at reducing #includes
...
--Goober5000
2004-03-05 09:02:13 +00:00
phreak
0ac7262e3d
made OpenGl use the matrix api if called by g3_start_**** or g3_done_instance
2004-03-05 04:16:20 +00:00
bobboau
6bc70bcde1
fixed a Z buffer error in HTL submodel rendering,
...
and glow points,
and other stuff
2004-02-27 04:09:56 +00:00
randomtiger
402bee3d1d
Removed some uneeded code between NO_DIRECT3D and added gr_zbias call, ogl is set to a stub func.
...
Changed -htl param to -nohtl. Fixed some badly named functions to match convention.
Fixed setup of center_alpha in OGL which was causing crash.
2004-02-20 21:45:41 +00:00
bobboau
315eded215
fixed sevral asorted matrix errors,
...
OGL people make sure I didn't break anything,
most of what I did was replaceing falses with (if graphicts_mode == D3D)
2004-02-15 06:02:32 +00:00
bobboau
96a19631f1
fixed bug involving 3d shockwaves, note I wasn't able to compile the directshow file, so I ifdefed everything to an older version,
...
you shouldn't see anything diferent, as the ifdef should be set to the way it should be, if it isn't you will get a warning mesage during compile telling you how to fix it
2004-02-15 03:04:25 +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
Goober5000
bee32d3956
commented my tmap_num Asserts
...
--Goober5000
2004-02-06 23:00:29 +00:00
matt
093dbca530
Fix for bad ambient lighting in non-htl -Sticks
2004-02-06 05:55:46 +00:00