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
asarium
1bcd5400d3
Move build system to CMake
2016-07-22 12:07:19 +02:00
SamuelCho
ac46ee4030
Fixed nebula missions from breaking scene render targets following the nohtl removal.
2016-07-12 23:36:05 -07: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
niffiwan
90b35b72fb
Add support for streaming apngs
...
includes:
full-colour & hud-colour headanis
cbanims & intelanims
mainhall animations (including playing in reverse)
Notably does not support ship/weapon select anims as they need
keyframes and there isn't anywhere to specify them in the apng format
2016-05-10 19:42:20 +10:00
Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
Echelon9
ca9ae8bb8e
Fix: nebula/neb.cpp:1422:37: warning: declaration of ‘eye’ shadows a global declaration [-Wshadow]
2015-07-06 23:01:21 +10:00
Echelon9
767b39fbbc
Fix: nebula/neb.cpp:1416:33: warning: declaration of ‘eye’ shadows a global declaration [-Wshadow]
2015-07-06 22:59:55 +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
asarium
9aed627ce7
Replace longjmp with exceptions
...
Also added a EditorConfig file
2015-04-24 15:03:59 +02:00
The_E
505e1e77f5
From MageKing17: Patch for Mantis 3012 (Various issues with ships in nebula)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10821 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-19 20:12:53 +10:00
CommanderDJ
358e2ab4fc
Fix Mantis 2773: Models turn black when full nebula enabled in FRED.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10819 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-19 20:12:53 +10: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
z64555
8d5fbab768
z64555's debug console. Take 2. Includes changes to most (not Xcode) project files to include the added files of r10621
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10622 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:37 +10:00
The_E
98355da7d5
Revert 10619: Missing files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10620 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
z64555
2b2ba832f8
z64555's debug console.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10619 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
Goober5000
db351f77dd
this gets rid of the "conversion to ushort" warning, strangely
2012-07-29 07:34:46 +00:00
Goober5000
3eeb334d77
allow skyboxes to be rendered at a custom orientation
2012-07-24 03:53:25 +00:00
Echelon9
e21ad72877
Utilise the CLAMP() utility macro in a further range of appropriate locations
2012-05-02 15:15:48 +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
Goober5000
149797ae75
the proper way to fix Mantis #2441 is by modifying the team_visibility_update function
...
also, clarify terminology: in-frustum/not-in-frustum replaces visible/invisible
and do some minor rewrites for additional clarification
2012-01-22 05:37:09 +00:00
Zacam
72a80fb925
From CommanderDJ: Since "neb2_eye_changed()" contains "Neb2_regen" why not use it instead?
2011-11-29 04:07:42 +00:00
Zacam
fd66bdcab3
From CommanderDJ: Nebula distance check for set-object-position's regeneration of local nebula.
2011-11-29 01:54:34 +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
Sushi
68b036a4af
Add "Fog Near Multiplier" and "Fog Far Multiplier" options for missions. Allows the FREDder to tweak distances at which ships fade out in a nebula.
2011-08-20 15:06:18 +00:00
Goober5000
d57ab51162
change fl_radian to fl_radians so as to be consistent
2010-12-31 04:02:41 +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
karajorma
c07d555346
Genghis' fix for Mantis 2159 (Certain parsing errors are never reported)
2010-05-02 10:24:48 +00:00
Zacam
7096cd3d11
From Antipodes #5 : PNG File Format support.
...
Adds PNG to Maps (should only be used for Nameplates), Interface, Effects, HUD (still needs HUD Rewrite to implement), Player/Squad Images, Multi Players, Multi Cache, CB Anims and Intel Anims.
LIBPNG: Version 1.2.42, current and highest usable version (MAX_VERSION), Linux can use any 1.2.2x-1.2.42, but should NOT use 1.4.0 under any platform for ANY reason (will require rewriting pngutils)
ZLIB: Version 1.2.3.
2010-02-06 02:35:41 +00:00
Hery
bc369d5566
fix problems with nebula background
2009-12-27 13:20:51 +00:00
Wanderer
54ebd3ad25
hery's patch for mantis 1945
2009-12-11 08:38:39 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +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
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
taylor
e1044c578d
2d poofs are supposed to be default (forgot that since I didn't commit the new neb2 code :))
2008-07-22 12:59:58 +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
Goober5000
6ab0b17acc
added fixes for #1415 and #1483 , made sure every read_file_text had a corresponding setjmp, and sync'd the parse error messages between HEAD and stable
2007-09-02 02:10:29 +00:00
taylor
c3e78b3f35
make sure that we don't set the 2d view matrix and then not reset it (Mantis #1269 )
...
clean up some of the fullneb mess that was causing some initial setup issues (colors wrong, etc.)
2007-02-10 20:23:51 +00:00
taylor
e873c928fd
fix some of the envmap issues
...
- use proper hand-ness for OGL
- fix distortion
- get rid of extra index buffer requirement
change starfield bitmaps to use an instance matrix rather than going through all the trouble of resetting the view matrix
basic cleanup and get rid of a couple of struct/variable naming issues (compiler sanity)
make double sure that we aren't using culling of z-buffering when rendering starfield bitmaps
2006-11-06 05:26:38 +00:00
taylor
6ab6cd71ce
fixes for stuff_string() bounds checking
2006-09-11 01:17:07 +00:00
taylor
ac57d4d55e
more s/colour/color/ changes
...
throw in a couple of safety checks for some neb2 functions
2006-04-12 01:03:00 +00:00
taylor
79661b3a3f
some cleanup to the nebula debug console help messages
2006-03-18 10:25:45 +00:00
taylor
5cbc3791a4
and after all of my recent work fixing div-by-0 zero bugs, ya had to know this was coming :)
2006-01-30 19:37:33 +00:00
taylor
7558eba371
minor warning fixage
2006-01-30 06:36:01 +00:00
taylor
74549db950
first version of this sucked, this should be a bit better while working with both new and retail data
...
- get an average color from the palette rather than picking first (unoptimized palettes could have unused pixels in first entry)
- slight cleanup, and s/colour/color/ (yeah, stupid American, deal with it! :))
2006-01-26 03:59:59 +00:00
taylor
2b241ca617
support only PCX for the nebula background graphics (given how it works that's the fastest and easiest way to get it done)
2006-01-18 16:01:14 +00:00