Zacam
3ef41e164c
I think we can allow for 32bit Color Depth to be the default option now.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10473 387891d4-d844-0410-90c0-e4c51a9137d3
2014-02-23 13:41:02 +10:00
niffiwan
ece9b2034b
Coverity CID 1093804: init member raw8 of color struct
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9841 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-29 22:12:21 +10:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
Goober5000
2e779e8bef
MOAR const!
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9805 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:33 +10:00
Goober5000
b3798527a0
allow medals.tbl to specify images for debriefing views of medals, not just medal case views
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9789 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-20 19:23:18 +10:00
The_E
bccd0533bd
Removes a console command that basically amounted to being a more elaborate way of causing an Int3()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9719 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:30 +10:00
niffiwan
5c3d105f85
Fix for mantis 2789: replace shield icons drawn with 100's of lines with 6-point polygons
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9584 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
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