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
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
WMCoolmon
7e7d77c8d7
*Drumroll* The official scripting system commit to the stable branch!
2008-03-15 08:56:43 +00:00
Kazan
43dd6aa1b0
Recommit the autoaiming patch.. looks clean now
2008-02-08 03:04:41 +00:00
Kazan
1d2d2bce10
revert all my commits from today [revert codebase back to r4410]
2008-02-08 02:29:47 +00:00
Kazan
37f2b81e35
Keldor's Autoaiming patch - approved by Kazan
2008-02-07 16:45:16 +00:00
Goober5000
82cfac7ec0
make the parse object array dynamic; also made the docking bitstrings dynamic
2007-07-28 21:17:56 +00:00
Goober5000
4e68bcd7af
added vm_matrix_same()
2007-02-26 01:47:23 +00:00
Goober5000
bdd62c42a6
fixage
2007-02-11 22:46:39 +00:00
taylor
66bc9102f9
performance optimizations:
...
- fvi_ray_boundingbox() is faster and should be less prone to compiler/optimization/platform specific issues
- clean up or obj_check_all_collisions() which is a good bit faster now
2007-02-10 00:08:59 +00:00
taylor
d05dfd7663
a little clean up for bits of code that isn't used
2006-12-07 17:53:08 +00:00
taylor
ce48489338
might as well add this, just to be on the safe side (I haven't hit it anywhere, but it could be made into a warning if it starts getting hit)
2006-09-13 03:12:35 +00:00
taylor
0107652287
maybe optimize the (PI/2), (PI*2) and (RAND_MAX/2) stuff a little bit
2006-08-19 04:38:47 +00:00
taylor
b53d7081ff
various compiler warning fixes
2006-06-18 16:54:36 +00:00
wmcoolmon
bc11c5193e
Fix for Mantis bug #0000922
2006-05-24 05:09:25 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
7828fc7e6f
compiler warning fixes to make GCC 4.1 shut the hell up
2006-04-12 22:23:41 +00:00
Goober5000
b52b6b1e00
spelling
2006-02-25 21:47:19 +00:00
taylor
93fff67c50
NULL vec warning fix (I don't really like this one that much so it may get replaced later)
2006-02-16 05:09:26 +00:00
taylor
a71b58a223
no real need to cast these so just get it right in the first place
2006-01-22 01:31:44 +00:00
taylor
cccc259cb1
add fl_tan() for getting the tangent of a float since it's terribly inaccurate to just use tan() on a float
2005-12-28 22:30:24 +00:00
taylor
82749f9b17
couple of changes to NULL vec fixes which better match what Volition would have done (makes both Goober and myself happier :))
...
keep track of what was an error (even if erroneous) and why with "VECMAT-ERROR" comment
2005-10-22 06:26:30 +00:00
taylor
64813b19e4
fix main NULL vec errors, still at least one left but these were those that happened most often:
...
modelinterp.cpp:parse_tmap() -> first IS_VEC_NULL() check would fail, wasn't a second on reassign
aicode.cpp:ai_path() -> when (Pl_objp->pos == gcvp), fixed globally in vecmat.cpp:vm_vec_dot_to_point()
2005-10-21 11:32:15 +00:00
Goober5000
118bbeda61
fix a function prototype to match its counterpart in vecmat.h
...
--Goober5000
2005-08-31 06:25:27 +00:00
Goober5000
91b014d39d
unhide null vector bug
...
--Goober5000
2005-07-22 09:59:30 +00:00