mjn-mixael
a0a523223c
clean up options builders and use delayed xstr for localization
2023-09-22 19:15:42 -05:00
Goober5000
64c27d8186
fix unused variable warnings
2023-04-26 19:36:16 -04:00
BMagnu
2f0e2f591f
Adjust alpha of neb-affected effects
2023-02-28 14:17:49 +01:00
Asteroth
732f1bdcbe
Fix strange warp glow sizing ( #4244 )
...
* fix warp glow sizing
* whoops
2022-11-22 11:07:24 -05:00
MjnMixael
3dcfa99c4a
add warp flash to ingame options ( #4776 )
2022-10-14 10:04:59 -04:00
Goober5000
35eca2ae50
allow 3d warp to be enabled from the table
2022-01-18 12:09:54 -05:00
Baezon
6ec1f45997
neb fog set up fixes
2021-04-01 02:17:49 -04:00
Baezon
3c53b74e5e
switch to exponential nebula fog
2021-03-04 23:02:24 -05:00
FSCyborg
627294039f
Coverity1370825
...
Covertity is complaining about portions of the verts array being uninitialized, so this is just a quick change to initialize the array first before doing anything else.
2019-11-04 20:13:36 -05:00
asarium
ad1ede7b74
Add new options system
...
This is a system for storing arbitrary data in the config file and then
easily retrieving it later on. This has full Lua support for exposing
the available options in a custom UI and changing the values of the
options. This ported some of the existing command line options over to
the new system which is opt-in for the moment by using a mod_table flag.
2019-03-02 14:02:21 +01:00
Goober5000
d02d98681a
apply new warp attributes for remodularized fireball.tbl
2018-09-19 20:08:19 -04:00
Samuel Cho
347dca5e60
Renamed draw_list to a more descriptive model_draw_list. Removed unlit maps since those aren't needed anymore. Changed transforms in model_draw_list to use the transform_stack instead of using duplicate code. Removed some unused graphics code. Fixed scaling when using batched transforms.
2017-01-02 20:15:37 -08:00
SamuelCho
ba826df963
Removed a bunch of unused rendering code.
2016-08-28 18:47:34 -07:00
SamuelCho
a481999a24
OpenGL Core support. Introduction of material based draw system. Rewrote geometry batcher.
2016-08-17 00:13:19 -07:00
Fabian Woltermann
770fce8de5
Bitset flags -- take 2 ( #775 )
...
This introduces a new mechanism for handling bit flags. Instead of using an int (or two, or three) to write bits into, this uses the std::bitset in a wrapper class that accepts an enum class as input. This means that certain classes of errors we've had a few of in the engine, where a coder used the wrong set of flags or checked them against the wrong variable (SF_STEALTH vs SIF_STEALTH, for example) can now be detected at a compiler level rather than not at all.
2016-08-12 16:13:50 -07:00
Fabian Woltermann
5fca2355b9
Adds TMAP_FLAG_EMISSIVE for the 2D warp effect, and ups the scaling applied to textures with that flag from 1.5 to 2.0 to better approximate the brightness beams used to have.
...
Also sets a glow texture for the 3D warp effect.
2016-07-12 21:51:39 +02:00
MageKing17
70529dbd5a
Deprecate -nohtl and -brief_lighting.
...
-nohtl hasn't worked for years, and -brief_lighting was always supposed to be a temporary flag before making the behavior always on.
2016-07-08 09:39:29 -07:00
SamuelCho
dd73d8fb63
New lighting model based off of Blinn-Phong and Fresnel-Shlick. Introduced -reflect maps. New gloss parameters for specular power. High dynamic range rendering. Improved bloom pass.
2016-07-05 23:15:08 -07:00
Echelon9
39e1ed3403
Simplify fireball/ include logic.
2015-06-22 20:24:30 +10:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
Echelon9
4033465143
Fix Coverity reports of Uninitialized scalar variable with the vertex struct. Should vertex ever be converted to a class from a struct, these memsets as well as the pre-existing ones will need to be removed in favour of a proper constructor of the then vertex class.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10732 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-02 18:29:59 +10: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
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
WMCoolmon
13eb0e77e4
Fix for mantis 0001737
2008-08-30 01:21:54 +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
taylor
7d6c299c08
minor fixes and cleanup for the warp effect
...
change scale of 3D warp effect to better match up with size of 2D effect
2007-11-22 05:02:44 +00:00
taylor
b237f8fbc9
do no culling on the warp effect model_render call properly (doesn't appear to break anything now that it actually set to not cull)
2006-11-16 01:10:47 +00:00
taylor
26ce630805
more cleanup of warp_global crap
...
scale render/detail box limits with detail level setting
make sure that we reset culling and zbuffer after each model buffer that gets rendered
2006-10-27 21:37:11 +00:00
taylor
7978379a54
rename set_warp_globals() to model_set_warp_globals()
...
remove two old/unused MR flags (MR_ALWAYS_REDRAW, used for caching that doesn't work; MR_SHOW_DAMAGE, didn't do anything)
add MR_FULL_DETAIL to render an object regardless of render/detail box setting
change "model_current_LOD" to a global "Interp_detail_level" and the static "Interp_detail_level" to "Interp_detail_level_locked", a bit more descriptive
minor bits of cleanup
change a couple of vm_vec_scale_add2() calls to just vm_vec_add2() calls in ship.cpp, since that was the final result anyway
2006-10-27 06:42:30 +00:00
taylor
4fdccaf88c
little cleanup
2006-07-21 16:08:03 +00:00
wmcoolmon
f7659ed341
Prelim. BSG warpin effect stuff
2006-03-31 10:20:01 +00:00
Goober5000
c9e63a8972
add option for warp flash; mess with the cmdlines a bit
...
--Goober5000
2005-09-21 03:55:32 +00:00
taylor
2a97e46c9b
basic cleaning, removing old/useless code, sanity stuff, etc:
...
- very minor performance boost from not doing stupid things :)
- minor change to 3d shockwave sizing to better approximate 2d effect movements
- for shields, Gobal_tris was only holding half as many as the game can/will use, buffer is now set to full size to avoid possible rendering issues
- removed extra tcache_set on OGL spec map code, not sure how that slipped in
2005-08-25 22:40:04 +00:00
Goober5000
01f4026e4c
cleaned up some command line and mission flag stuff
...
--Goober5000
2005-07-25 05:24:17 +00:00
Goober5000
8173d85842
remove Bobboau's extra warp thing
...
--Goober5000
2005-07-23 17:27:50 +00:00
phreak
6a52ecbe18
compile warning fixage.
2005-05-22 22:47:19 +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
bobboau
b46d8e28c7
added new graphic functions for state blocks
...
also added a class formanageing a new effect
2005-03-19 18:02:35 +00:00
taylor
a28df9d69a
make use of MR_NO_FOGGING to render models without fog
2005-01-01 19:47:26 +00:00
taylor
caad3968ec
fix 2d warp in D3D, add cmdline option for 3d warp
2004-11-23 19:29:13 +00:00
Goober5000
12c43798c4
changed around the logic for the 3D warp effect
...
--Goober5000
2004-09-17 07:12:23 +00:00
Goober5000
93c32d683f
warp effect is back to FS2 default
...
--Goober5000
2004-08-23 04:32:40 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
taylor
24df446ad7
make old warpmap and new glow bitmap 3D unlit to render right in OGL
2004-07-17 09:29:13 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +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
phreak
d96b07e1fd
renamed the warp model variable from 'wm' to 'Warp_model'
2004-05-12 22:49:14 +00:00
Goober5000
6afa0ee914
small fix
...
--Goober5000
2004-05-08 01:08:48 +00:00