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
zookeeper
95a11f71f8
Fixed gr_opengl_circle drawing the middle horizontal line twice, which is a problem when drawing with alpha.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9581 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
Valathil
3fbbaf05fa
Fix for Mantis 2738: Reset buffer state before drawing spheres and lines. Additionally fix the new htl outline rendering in fred by setting the outline color.
2012-12-19 00:11:28 +00:00
Goober5000
dc66db326a
fix compilation
2012-12-11 03:53:53 +00:00
Zacam
0502b4d648
Revert of 9410. Apparently not ready for prime time, what with older compilers that don't seem to understand C++0x types (and complaints about upgrades to enable it), and it apparently (under said compilers) isn't any faster than stdext::hash_set anyway.
2012-12-10 08:23:19 +00:00
Valathil
ec32829615
Fix for Mantis 184: Use Vertex shader to replicate nohtl rendering of thruster cones. Also make shader state handling a bit less hackish.
2012-12-09 21:51:20 +00:00
Zacam
5f998ff345
Mantis 2746: Fix for geometry batcher, from Valathil. Update for Mac by Echelon9.
2012-12-09 02:59:02 +00:00
Valathil
6ad5a937a9
Fix for Mantis 2736: abs is int in Linux and Mac; change to fl_abs in all instances where floats were used in the codebase.
2012-12-03 00:59:45 +00:00
Valathil
e039a4954e
Fix for Mantis 2207: Use Missiontime for F4 Logscreen entries and fix the calculation.
2012-11-20 23:42:12 +00:00
Valathil
c5005adf53
Correct some issues with Help screens that popped up because of glCleanup and undocumented Nvidia driver behaviour.
2012-11-20 18:53:26 +00:00
Valathil
699e69b027
Followup to 9357: Don't flush texture state we don't care about that in shader pipeline and also move the fix to a more efficient place per Swifty's suggestion.
2012-11-18 23:33:01 +00:00
Valathil
666f978756
Fix for Mantis 2719: Clear Vertex Array state after rendering.
2012-11-18 19:07:33 +00:00
Zacam
755d7326b3
From Valathil, glCleanup to reduce the amount of calls.
...
First post here: http://www.hard-light.net/forums/index.php?topic=82886.0
Mantis Here: http://scp.indiegames.us/mantis/view.php?id=2728
2012-11-18 10:05:44 +00:00
Zacam
212eee3b31
Warning resolution: grbatch.cpp(806) : warning C4018: '<' : signed/unsigned mismatch; solved by setting 'Batch_buffer_size' from 'int' to 'size_t'
2012-11-17 23:12:17 +00:00
Zacam
05944baae8
From Valathil: Corrects for dynamic switching regarding Fixed Render Pipeline in the LAB
2012-11-16 04:14:29 +00:00
Goober5000
b30e2ee226
inspired by recent change to multi_sexp.cpp... in most cases, SCP_string should not be passed by value
2012-11-05 08:31:39 +00:00
The_E
051fcdd770
Compiler warning removal: ubyte/int comparison
2012-11-04 08:25:53 +00: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
35cc7b886e
PVS Studio suggestion: Create a reference instead of repeated vector access
2012-11-03 09:25:48 +00:00
The_E
75ba6a15cc
PVS Studio suggestion: Use ++it for iterators
2012-11-03 09:24:25 +00:00
The_E
a71b5f4247
PVS Studio fix: Add checks against NULL pointer dereferences
2012-11-03 09:23:23 +00:00
chief1983
4e5d3e2e57
Fix all the 'no newline at end of file' warnings I saw thrown by gcc on FreeBSD.
2012-11-02 17:30:17 +00:00
The_E
f98e75dde6
A few updates to Team Colors:
...
-Team Colors can now be applied to player ships
-change-team-color sexp for on the fly changes
-New F3 lab controls: T and Y can now be used to cycle team color presets
2012-10-26 18:39:43 +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
Goober5000
45c8ad336c
change alloca to standard vm_malloc/vm_free
2012-10-01 06:16:15 +00:00
Goober5000
22dc84b6e1
MSVC6 compatibility
2012-09-30 21:08:05 +00:00
Valathil
aa5f42f1f1
Fix for Mantis 2709: Use the correct dimensions for updating texture images when texture streaming to fix crashes on hardware not capable of handling non power of 2 texture dimensions
2012-09-25 19:11:05 +00:00
The_E
c69f00d90e
Fixes issue with Team Colors accidentally causing a null pointer dereference. Thanks to mjn.mixael for prodding at this.
2012-09-11 22:24:45 +00:00
Valathil
ac5c8dc798
Only use offsets for thruster distortions. Fixes weird framebuffer explosions.
2012-09-11 12:50:43 +00:00
Swifty
87436e4eec
Added OpenGL color masking functions to the graphics code.
2012-09-10 05:06:36 +00:00
Swifty
de89915514
Added OpenGL alpha testing functions to the graphics code.
2012-09-10 05:05:14 +00:00
Swifty
d2d9f4e74b
Forgot to add these stubs for the graphics code stencil functions.
2012-09-10 05:03:33 +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
eeeeb2ce96
Base support for desaturated model rendering.
2012-09-10 04:51:11 +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
fa671f18fc
Remove some unused variables
2012-09-06 15:51:52 +00:00
Goober5000
ca08b3813a
reverting 9121 -- I'll give karajorma the benefit of the doubt and assume he just didn't see the compatibility additions
2012-08-19 07:20:06 +00:00
karajorma
8e043a0019
Revert 9119 and 9120 since at least one of them breaks compatibility with 3.6.12
2012-08-19 06:13:45 +00:00
Goober5000
53f080ea67
all mod_table flags should also default to NO
...
also, change the generic_anim flag on whether to use the HUD color settings to be a bit more descriptive
2012-08-19 03:27:31 +00:00
Swifty
7c7c64e769
Fixed rendering when using fixed function OpenGL pipeline. (Mantis 2696)
2012-08-18 10:39:20 +00:00
Valathil
ff47353bd7
Followup to 9109: Add some error handling to handle 1 frame "animations" and missing frame 0 image files
2012-08-16 01:16:05 +00:00
Valathil
48e0517e0d
Allow generic_anim's to reuse bmpman and texture_cache slots and implement eff streaming. Changed talking heads to use generic_anim. Fixes Mantis 2417
2012-08-14 23:48:23 +00:00
The_E
ecd363ed3e
Adding stub functions for maybe_create_shader, set_team_color, enable_team_color and disable_team_color
2012-08-13 19:43:21 +00:00
Swifty
6ba0da6020
go_even_faster: Improved rendering performance of particles by sending vertex data via buffer object.
2012-08-11 21:01:13 +00:00
Swifty
638ff917a1
go_even_faster: Added framework to improve rendering performance by reducing OpenGL state changes between vertex data binds.
2012-08-11 20:20:24 +00:00
chief1983
b2f566a5d8
Fix compile errors about an ambiguous call when using the Xcode project and Xcode 3.
2012-08-06 18:12:02 +00:00
The_E
9a54bd0cc4
New game_settings.tbl setting: "$Enable External Shaders:", which allows the use of, you may have guessed it, external shaders. Default is off.
2012-08-03 20:31:57 +00:00
The_E
3b1a94b751
After a long time being tested in TAP, Team Colors are now stable. Please refer to http://www.hard-light.net/forums/index.php?topic=79743.0 for details.
2012-07-28 20:53:57 +00:00
Echelon9
0efe864dd1
PVS-Studio fix: V619 The array 'v' is being utilized as a pointer to single object. gropengldraw.cpp
2012-07-16 11:16:28 +00:00
The_E
227f6cc8ef
*sigh* And because MSVC6 is a bit on the stupid side (read: Does not know about this little thing called C++0x), I have to do this bit of ugliness.
2012-07-07 08:41:12 +00:00