Echelon9
ba917667b6
Re: r9305 - while NULL pointer checks in non-Debug are useful, ensure we don't lose the better check in Debug as well.
2012-11-03 23:11:41 +00:00
The_E
a71b5f4247
PVS Studio fix: Add checks against NULL pointer dereferences
2012-11-03 09:23:23 +00:00
Swifty
2132f14d60
Fixed scaling and positioning issues with cockpit displays. Added Display Offsets: to all RTT capable gauges.
2012-10-15 04:45:02 +00:00
Swifty
de89915514
Added OpenGL alpha testing functions to the graphics code.
2012-09-10 05:05:14 +00:00
Swifty
0ef190c33a
Added basic OpenGL stencil support. Valathil, feel free to alter this implementation if you need to get things working with deferred shading.
2012-09-10 05:00:26 +00:00
Swifty
967c28c87d
Allowed resizing of scaled HUD gauges even if we're using GR_640 or GR_1024.
2012-09-10 04:32:28 +00:00
Echelon9
e9f103dfd2
GCC warning: variable set but not used (fireballs.cpp)
2012-06-13 13:20:04 +00:00
Goober5000
806492779a
partial revert of 8561: vm_malloc should never return null, so the Assert is necessary, and will immediately flag the error as it happens instead of leaving a mine to be triggered later
2012-03-04 19:19:11 +00:00
Echelon9
f2856015ad
PVS-Studio fixes: Resolve some warnings about use of pointers before checking for a null pointer
2012-03-04 08:51:59 +00:00
The_E
ac82e45cd5
Removing dbugfile.cpp/.h from the project, since it doesn't seem to be useful.
2011-09-30 14:52:33 +00:00
Zacam
f779a5b8a8
Fix for Trunk r7677 causing map corruption on model cache rebuild.
2011-09-10 21:14:55 +00:00
Goober5000
6c2f4f3c30
PVS-Studio fixes:
...
V506 Pointer to local variable 'Default_video_settings' is stored outside the scope of this variable. Such a pointer will become invalid. code 2d.cpp 507
V506 Pointer to local variable 'pos' is stored outside the scope of this variable. Such a pointer will become invalid. code shipfx.cpp 1075
2011-09-08 06:55:50 +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
Echelon9
687b91d197
Documentation: Code cleanup to 2d.cpp, 2d.h and 3d.h
2011-09-07 14:10:41 +00:00
Swifty
5283c36d34
Let's try this again without breaking the orb radar: Optimized BSG radar and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-04 11:01:28 +00:00
The_E
4a488dd7f0
Reverting 7411 due to it breaking the standard 3D radar.
2011-08-02 13:02:34 +00:00
Swifty
043d56b3f7
For Diaspora: Optimized BSG radar rendering and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-02 10:49:51 +00:00
chief1983
f7c4aa5221
Fix a typo reported by ElGuillermo.
2011-06-03 16:53:39 +00:00
The_E
2eab7d90f2
From m!m: Patch for Mantis 2446: Scripts not pausing when game is paused.
2011-05-30 18:47:27 +00:00
Echelon9
aa1601bb36
Documentation: Fix a few syntax errors reported in Doxygen's log
2011-05-01 03:54:01 +00:00
Zacam
09fad95070
Antipodes 7 Merge: HUD Overhaul, by Swifty.
2010-12-12 20:34:15 +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
Zacam
75043ff5b1
go_faster from Antipodes 6. Everybody, say "Thank you, taylor!"
2010-10-18 18:32:37 +00:00
chief1983
0bf1baac94
The_E's 720p hi-res interface art patch. Use hi-res interface stuff at vertical res of 600 and higher instead of 768 and higher.
2009-11-24 03:19:19 +00:00
portej05
0383415a3b
Antipodes 3 from Flaming_Sword
2009-09-26 05:52:17 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
29abf1f51c
Python Stripping. Can't promise to have gotten the whole lot though.
2009-07-13 14:11:24 +00:00
portej05
5d6b9be53c
Removal of DirectX from the codebase.
...
VC6 and VC2008 solutions have been updated.
2009-07-09 11:35:43 +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
phreak
8c521c771b
Add some preprocessor macros to aid in debugging. Nothing is on by default, but when enabled, the macros will force windowed mode at various resolutions.
2008-11-22 20:56:30 +00:00
Goober5000
280b979d09
try to keep up with Nature producing bigger idiots :(
2008-10-19 20:25:30 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +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
taylor
75baeadbed
crap, that did need to be a float to work properly (fixes wobbly hud from r4561)
...
also be sure to handle the overflow case in HUD_get_nose_coordinates()
2008-03-30 08:53:50 +00:00
taylor
94d2357dd4
some minor optimization and cleanup
2008-03-29 05:22:28 +00:00
taylor
29f8a54cd9
change gr_set_cull() so that it works better (mainly part of the RTT fix)
2008-03-20 20:18:49 +00:00
WMCoolmon
7e7d77c8d7
*Drumroll* The official scripting system commit to the stable branch!
2008-03-15 08:56:43 +00:00
taylor
f2d53a8dd6
initial support for cursors that are larger than 32x32
...
fix bug where animated cursors would be constantly loaded/unloaded
2007-11-22 04:49:58 +00:00
taylor
7f73be870a
make gr_create_shader() use ubyte's instead of float's, saves us the more expensive conversions since we already convert to ubyte anyway
2007-02-12 01:04:50 +00:00
taylor
73fb0897a8
IBX version 2 support (includes Bobboau's earlier D3D fixes for it)
2007-02-12 00:19:48 +00:00
taylor
7ad5b32fcf
performance/accuracy optimization for the (un)size functions
2007-02-10 00:04:03 +00:00
taylor
23684b2c65
remove some old stuff that we either don't use or don't need any longer
2006-12-26 05:26:12 +00:00
taylor
0850d30687
various bits of little cleanup
...
get rid of some more compiler warnings
2006-11-15 00:36:08 +00:00
taylor
f4ec613af4
various bits of cleanup (slight reformatting to help readability, remove old/dead code bits, etc.)
...
deal with a index_buffer memory leak that Valgrind has always complained about
make HTL model buffers dynamic (get rid of MAX_BUFFERS_PER_SUBMODEL)
get rid of MAX_BUFFERS
make D3D vertex buffers dynamic, like OGL has already done
2006-10-24 13:24:12 +00:00
taylor
6861c29171
clean up some old software rendering stuff that we don't use any longer
...
remove grzbuffer.*, since all it did was give us 3 variables, which were moved to 2d.*
2006-10-06 09:56:42 +00:00
taylor
534995aa38
clean up the grstub mess (for work on standalone server, and just for sanity sake)
...
move color and shader functions to 2d.cpp since they are exactly the same everywhere
don't bother with the function pointer for gr_set_font(), it's the same everywhere anyway
2006-08-22 05:41:36 +00:00
wmcoolmon
fbd02e5fe8
Scripting system prep for 3.6.9
2006-06-07 03:23:15 +00:00
taylor
adcb333069
oops!
2006-05-27 17:08:50 +00:00
taylor
72e567a7b9
remove grd3dparticle.* and grd3dbatch.*, they are obsolete
...
allow us to build without D3D support under Windows (just define NO_DIRECT3D)
clean up TMAP flags
fix a couple of minor OpenGL state change issues with spec and env map rendering
make sure we build again for OS X (OGL extension functions work a little different there)
render targets always need to be power-of-2 to avoid incomplete buffer issues in the code
when we disable culling in opengl_3dunlit be sure that we re-enable it on exit of function
re-fix screenshots
add true alpha blending support (with cmdline for now since the artwork has the catch up)
draw lines with float positioning, to be more accurate with resizing on non-standard resolutions
don't load cubemaps from file for D3D, not sure how to do it anyway
update geometry batcher code, memory fixes, dynamic stuff, basic fixage, etc.
2006-05-27 17:07:48 +00:00