Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
Lari Nieminen
418d53f169
Removed false "returns ptr to vector" comments.
2015-04-27 11:57:39 +03:00
Goober5000
872bbe2a11
improve sexp code for obtaining pitch/bank/heading with the following changes: 1) use an alternate algorithm for extracting angles from an orientation matrix 2) properly round floats to integers when converting to degrees
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11180 387891d4-d844-0410-90c0-e4c51a9137d3
2014-11-29 19:53:19 +10:00
Goober5000
414daaaed8
Mantis #3127 : fix the spatial check in the rewritten algorithm
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11157 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-27 18:23:02 +10:00
Goober5000
fe775aeedf
xt branch: optimizations in fvi.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11126 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 12:24:22 +10:00
Goober5000
5c0bc126bb
xt branch: tweaks to vecmat.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11125 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 12:24:20 +10:00
Goober5000
f2d8277452
xt branch: additional optimizations using RAND_MAX_1f
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11121 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-12 18:22:12 +10:00
niffiwan
bfa3397dbd
Fix mantis 2985 (from Yarn)
...
Fix float-to-int rounding errors in gr_[re|un]size_screen_pos
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10990 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-16 12:31:57 +10:00
Echelon9
27495abda6
Address Coverity 1093373 Copy-paste error in vm_find_bounding_sphere()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10807 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 20:29:36 +10:00
Wanderer
0d4cc04cd6
Fix for Mantis #2352 - Turret reset when idle woes and other limited rotation turret woes.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10024 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:58 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10: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
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
Echelon9
46d854d9f0
PVS-Studio fix: There is only one PI.
...
V624 The constant 3.14159 is being utilized. The resulting value could be inaccurate.
2012-07-16 11:44:22 +00:00
Echelon9
52b421c56b
Documentation: Remove redundant #includes
2012-04-22 13:36:31 +00:00
The_E
6badeadd54
As per discussion for Mantis 2633, Reverting revision 8544 due to timer drift.
2012-03-31 20:30:09 +00:00
zookeeper
e98ff51535
Eli2's minimal timer fix patch(es) from http://www.hard-light.net/forums/index.php?topic=79070.0
2012-03-01 19:16:31 +00:00
Echelon9
21c2449f0b
Documentation: Changes such that the Doxygen log reports clean, in anticipation of 3.6.14 release
2011-11-28 13:03:38 +00:00
The_E
fff1a1c60b
Reverting 7938: Bugfix breaks existing missions relying on old behaviour.
2011-11-05 19:20:17 +00:00
The_E
96ef05f89c
From Eli2: Fix for Mantis 2533 (integer overflow in mission-time-msecs)
2011-11-02 11:40:51 +00:00
Goober5000
91fc326a17
we have some preconditions, so let's enforce them
2011-10-26 06:35:19 +00:00
Echelon9
8c272b61ae
Documentation: Code cleanup in fvi.cpp
2011-09-12 13:31:38 +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
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
Zacam
96925143c1
Resolves SSE detection issues on #including <xmmintrin.h> for GCC/G++ and MSVC6.
...
GCC/G++ users (Apple, Linux) should look to adding intrinsics to their compile options. (-msse)
2011-07-23 02:07:19 +00:00
Zacam
f2cc1239dd
If we declare inv2A as a float up top, we no longer need to brace out any instances which resolves cross initialization as well as still allowing MSVC6 to remain operational (per 7372). Minor formating cleanup as well.
...
Thanks to Goober and Plombo for feedback.
2011-07-22 18:32:22 +00:00
Goober5000
96736a29ea
fix compile problems on MSVC6
2011-07-22 05:56:46 +00:00
The_E
7f5c3d343e
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
Echelon9
aa1601bb36
Documentation: Fix a few syntax errors reported in Doxygen's log
2011-05-01 03:54:01 +00:00
Echelon9
5d635a262b
DOC: Amendment to frand_range()
2011-04-17 00:33:51 +00:00
Echelon9
e12f71c83d
DOC: Documentation of floating.cpp
2011-04-17 00:18:59 +00:00
Echelon9
d52f90c076
First version of our Documentation system, using automated Doxygen source code comments
2011-02-26 01:15:51 +00:00
Echelon9
d549d06728
DOC: Further instructions on initialisation of the pseudo random number generator
2011-02-22 12:05:31 +00:00
Echelon9
80d622f56f
A couple of other small changes to staticrand.cpp|h to address readability
2011-02-21 14:13:23 +00:00
Echelon9
1c687e4b4e
Initial testing of something very exciting for the coders...
2011-02-21 12:50:16 +00:00
Goober5000
d57ab51162
change fl_radian to fl_radians so as to be consistent
2010-12-31 04:02:41 +00:00
The_E
b192612b57
More checking to guard against Mantis 2205
2010-10-03 20:35:48 +00:00
The_E
c1f1c47fa8
Patch for Mantis 2205 (Division by zero in do_random_sidethrust())
2010-07-10 15:06:33 +00:00
Wanderer
c0862e47bc
add a null vec check - hit by fubar
2010-06-20 14:06:34 +00:00
Goober5000
7b8c035320
revert portej05's removal of the bitstring code
2010-06-14 06:56:52 +00:00
portej05
02b5fd1496
Remove bitarray.h and substitute with simpler functions (tested via Zacam, Flaming_Sword and portej05)
2009-11-23 12:12:09 +00:00
Wanderer
75a514b5f9
split 'is_vec_null' macro into normal and 'safe to square' macros.
2009-08-23 11:36:44 +00:00
portej05
06ef9910c4
Windoze->Windows
...
(Another) Fix (Attempt) for Mantis 1090. Make the IS_VEC_NULL now check small ranges, not just == 0.f
2009-08-14 12:18:58 +00:00
Sushi
9246a2f74d
Additional AI code, including stuff taking advantage of glide and sidethrust. Includes: Flag for allowing fighters to dodge vertically as well as horizontally, "stalemate detection" to help AI break out of circle fights and other stalemate situations, "glide attack" where AI fighters will use glide to fly away while shooting back at you, "circle strafe" where AI fighters will use sidethrusters to jink around while shooting, and an (incomplete) version of "glide strafe" that allows fighters/bombers to use glide to attack capital ships. All new stuff is off by default, and can be turned on with AI_Profiles flags.
2009-07-13 20:08:32 +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
Wanderer
4cd2a011db
merge from wanderer branch - fixed firingpoint and 'fire on target' subsystem flags
2009-05-20 13:24:57 +00:00
Wanderer
cb3085e58c
merge from wanderer branch - subsys/turret sounds
2009-05-20 12:24:45 +00:00
karajorma
a4e623db23
Portej05's preFAST warning fixes.
2009-05-17 11:50:48 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
WMCoolmon
5a72f40f62
Fix unneeded use of doubles
2008-08-30 10:47:16 +00:00