Goober5000
abab669ff6
we have some preconditions, so let's enforce them
2011-10-26 06:35:19 +00:00
IssMneur
56a55da2a3
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
6e17a7f6ae
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
Zacam
b88a23cc8f
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
The_E
8c81e1c220
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
Goober5000
4a3453bc6c
change fl_radian to fl_radians so as to be consistent
2010-12-31 04:02:41 +00:00
Wanderer
107f1980d3
add a null vec check - hit by fubar
2010-06-20 14:06:34 +00:00
Wanderer
c79555b923
split 'is_vec_null' macro into normal and 'safe to square' macros.
2009-08-23 11:36:44 +00:00
Sushi
06728a5b6c
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
2a09ecc89b
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
cd6cd2cae6
merge from wanderer branch - fixed firingpoint and 'fire on target' subsystem flags
2009-05-20 13:24:57 +00:00
Wanderer
b0c938e2e5
merge from wanderer branch - subsys/turret sounds
2009-05-20 12:24:45 +00:00
karajorma
ba647216ab
Portej05's preFAST warning fixes.
2009-05-17 11:50:48 +00:00
Goober5000
57cab322b4
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
WMCoolmon
10f219d2b8
Fix unneeded use of doubles
2008-08-30 10:47:16 +00:00
taylor
b0731b7769
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
taylor
11ca1ef4a8
move stable branch to the primary under trunk
2008-03-16 16:25:19 +00:00
taylor
eb8c44c2a0
move HEAD to it's own dir under trunk
2008-03-16 16:21:11 +00:00
WMCoolmon
7ac8ccf326
Camera code
2008-03-15 20:31:57 +00:00
Goober5000
4811257f31
revert the directory move
2008-02-09 21:33:46 +00:00
Goober5000
8909d048b3
remove extraneous fs2_open folder from all branches and tags
2008-02-09 19:21:05 +00:00
Goober5000
bffc73c321
added vm_matrix_same()
2007-02-26 01:47:23 +00:00
Goober5000
a00e8549df
revert Bobboau's commits for the past two months; these will be added in later in a less messy/buggy manner
2007-02-18 06:17:48 +00:00
bobboau
1b530c113c
ok, something aparently went wrong, last time, so I'm commiting again
...
hopefully it should work this time
damnit WORK!!!
2007-01-14 14:03:40 +00:00
taylor
cbc53627db
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:18:15 +00:00
taylor
bb7e2ad35a
maybe optimize the (PI/2), (PI*2) and (RAND_MAX/2) stuff a little bit
2006-08-20 00:51:07 +00:00
wmcoolmon
66bdc93df2
Fix for Mantis bug #0000922
2006-05-24 05:09:25 +00:00
taylor
7ec2cd5f5c
compiler warning fixes to make GCC 4.1 shut the hell up
2006-04-12 22:23:41 +00:00
Goober5000
8747465d38
spelling
2006-02-25 21:47:19 +00:00
taylor
d9752473af
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
172bf5db01
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
a8e1459022
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
25d1addbed
unhide null vector bug
...
--Goober5000
2005-07-22 09:59:30 +00:00
taylor
586190fb8e
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
wmcoolmon
fbf776164b
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
taylor
7843ed8770
fix compiler warnings with mismatched types and unused variables
...
cleanup some debug messages so they can be turned off if needed
get rid of extra strstr() check for thrusters since it should never get that far anyway
page_in/page_out of model glows should be better now
removed a bunch of unneeded casts and get type specific math functions right
2005-03-24 23:36:14 +00:00
bobboau
028fd5c930
added new graphic functions for state blocks
...
also added a class formanageing a new effect
2005-03-19 18:02:35 +00:00
Goober5000
a24fde6280
edited for language ;)
...
--Goober5000
2005-03-08 03:50:25 +00:00
wmcoolmon
20c60b021f
Merge of WMC's codebase. "Features and bugs, making Goober say "Grr!", as release would be stalled now for two months for sure"
2005-03-03 06:05:32 +00:00
Goober5000
ee26a8a8f6
changed a bunch of transpose-rotate sequences to use unrotate instead
...
--Goober5000
2005-01-28 11:06:23 +00:00
Goober5000
4ffaf24ab8
added a useful bit of information to vm_vec_rotate and vm_vec_unrotate
...
--Goober5000
2005-01-27 05:26:07 +00:00
Goober5000
30c6e6582b
gah
...
--Goober5000
2005-01-06 00:39:34 +00:00
Goober5000
b8e4e24434
changed argument from dist to dist_squared
...
--Goober5000
2005-01-06 00:37:32 +00:00
Goober5000
926b788fc9
added vm_vec_dist_squared_to_line
...
--Goober5000
2005-01-06 00:27:34 +00:00
taylor
00f6a2ee32
fix math error that was hitting Assert()'s and making OGL models flip around for no reason
2004-10-31 21:49:49 +00:00
Kazan
89e6af4fb5
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
f7dd512ba8
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
randomtiger
66556fe514
fl_abs(theta_goal.xyz.z) < 0.001f is reporting using mprintf now instead of assert
2004-05-03 09:27:16 +00:00
randomtiger
397699ec31
Please note that from now on OGL will only run with a registry set by Launcher v4. See forum for details.
...
OK, these changes effect a lot of file, I suggest everyone updates ASAP:
Removal of many files from project.
Removal of meanless Gr_bitmap_poly variable.
Removal of glide, directdraw, software modules all links to them, and all code specific to those paths.
Removal of redundant Fred paths that arent needed for Fred OGL.
Have seriously tidied the graphics initialisation code and added generic non standard mode functionality.
Fixed many D3D non standard mode bugs and brought OGL up to the same level.
Removed texture section support for D3D8, voodoo 2 and 3 cards will no longer run under fs2_open in D3D, same goes for any card with a maximum texture size less than 1024.
2004-02-14 00:18:37 +00:00
randomtiger
3529db4d37
Turned off fog in OGL for Fred.
...
Simulated speech doesnt say tags marked by $ now.
The following are fixes to issues that came up testing TBP in fs2_open and fred2_open:
Changed vm_vec_mag and parse_tmap to fail gracefully on bad data.
Error now given on missing briefing icon and bad ship normal data.
Solved more species divide by zero error.
Fixed neb cube crash.
2004-02-13 04:17:14 +00:00