Commit Graph
117 Commits
Author SHA1 Message Date
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
Echelon9 dd99044ad8 Documentation: Complete code clean up of the 3d/2d code 2011-09-07 14:33:26 +00:00
Echelon9 ca29cd7081 Documentation: Code clean up in 3dlaser.cpp 2011-09-07 14:26:25 +00:00
Echelon9 935ca2822a Documentation: Code cleanup of 3ddraw.cpp 2011-09-07 14:22:03 +00:00
Echelon9 285426467b Documentation: Code cleanup to 2d.cpp, 2d.h and 3d.h 2011-09-07 14:10:41 +00:00
Echelon9 6b0942ca94 PVS-Studio false positive: V537 Consider reviewing the correctness of 'y' item's usage (3dmath.cpp) 2011-08-31 12:58:58 +00:00
Swifty df6299505a Shockwaves and death explosions will stay oriented independently of player's bank. 2011-08-07 09:55:18 +00:00
The_E 2fb0fa3428 Patch for sprite orientation from Valathil 2011-08-04 16:25:19 +00:00
Swifty 8ff509f1e6 Let's try this again without breaking the orb radar: Optimized BSG radar and cockpit displays. Fixed cockpit models not switching when changing ships. 2011-08-04 11:01:28 +00:00
The_E 854f21a3fc Reverting 7411 due to it breaking the standard 3D radar. 2011-08-02 13:02:34 +00:00
Swifty 54b25ae177 For Diaspora: Optimized BSG radar rendering and cockpit displays. Fixed cockpit models not switching when changing ships. 2011-08-02 10:49:51 +00:00
Echelon9 4523800cc2 Documentation: 3D clipper functions 2011-05-12 13:43:42 +00:00
Zacam 58ad43cff1 go_faster from Antipodes 6. Everybody, say "Thank you, taylor!" 2010-10-18 18:32:37 +00:00
taylor 2694046f51 fix damage lightning (from Xt tree) 2010-02-06 01:02:24 +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 3d882677a0 merge from wanderer branch. 2d and 3d radar images support 2009-05-18 22:08:13 +00:00
Goober5000 57cab322b4 add apostrophes to contractions, lol 2009-04-10 07:49:12 +00:00
WMCoolmon 402fd56bb8 Change set-fov back to a global override 2008-08-30 19:48:20 +00:00
WMCoolmon f1f4084de1 Final scripting, camera code updates. 2008-08-30 11:05:48 +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 6f702c9cdf fix various compiler warnings 2008-03-29 06:30:20 +00:00
taylor fdfcf3b368 change gr_set_cull() so that it works better (mainly part of the RTT fix) 2008-03-20 20:18:49 +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
Backslash f580335cff Freelook, Target padlock and TrackIR patch by Swifty. Very nice!
Don't forget to add code/io/trackir.* to your projects!
2008-02-29 04:28:13 +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 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
phreak ab3163731b We don't want to modify the clip plane variables in htl
mode once we've moved them to gr_start_clip()

do we even need htl mode checks anymore?  welcome to the 21st century
2007-01-31 05:08:35 +00:00
Goober5000 0eabd65f0b operator precedence FTW! :D 2007-01-14 19:35:54 +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
wmcoolmon ea164eb959 Attempt to remove various warnings under MSVC 2003, mostly related to casting, but also some instances of inaccessible code. 2007-01-14 10:26:39 +00:00
wmcoolmon 7366176e79 WMC codebase commit. See pre-commit build thread for details on changes. 2006-12-28 00:59:54 +00:00
taylor 35ee92bc69 handle another null vec warning which can happen during a multiplayer respawn or certain death sequences (Mantis bug #1090) 2006-10-06 10:04:03 +00:00
taylor 1eb29f91a0 meant to do this before but forgot about it (just replaced "(4.0/9.0) * PI" with it's result) 2006-10-06 09:34:19 +00:00
taylor 1669d78b5e various small compiler warning and strict compiling fixes 2006-09-11 06:45:40 +00:00
taylor 34dd365821 fix things that strict compiling balked at (from compiling with -ansi and -pedantic) 2006-09-08 06:20: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
taylor 5131db0c80 remove some of the old batcher functions, nothing is using them now anyway
minor cleanup
add orient UV flipping to HTL drawing functions, like retail/non-HTL has support for
2006-05-27 16:47:12 +00:00
taylor dc422b24a6 minor cleanup and a couple extra error checks
get rid of some wasteful math from the gr_set_proj_matrix() calls
2006-05-13 07:09:25 +00:00
Goober5000 67e8f94a93 proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
taylor 7ec2cd5f5c compiler warning fixes to make GCC 4.1 shut the hell up 2006-04-12 22:23:41 +00:00
taylor 3750db172a some small optimizations and cleanup
use floats for gr_bitmap() size and positions, mainly for non-standard resolutions since this allows proper resizing and positioning
  (the cast to float was happening later anyway so there should be not additional slowdown from that with standard resolutions)
change g3_draw_2d_poly_bitmap() to use floats instead of ints, gets rid of the extra cast and allows better resize values
2006-04-12 01:00:58 +00:00
taylor b106442d33 make the main vital TMAP_MAX_VERTS stuff dynamic, should handle the major non-HTL related crashes 2006-03-18 10:23:46 +00:00
Goober5000 8747465d38 spelling 2006-02-25 21:47:19 +00:00
taylor 8679d340f1 more TMAP_MAX_VERTS overflow protection for non-HTL usage (these are the things that need to be addressed to fix non-HTL)
fix some compiler warning messages
don't do any decal processing if decals are disabled, the math was a waste of CPU cycles in that case
2005-10-28 14:45:55 +00:00
taylor f3d6636fb9 since the geomtry_batcher can send more verts than non-HTL code can handle, avoid drawing in that case to avoid crashing 2005-08-25 22:32:55 +00:00
taylor a13064936a more non-standard res fixing
- I think everything should default to resize now (much easier than having to figure that crap out)
 - new mouse_get_pos_unscaled() function to return 1024x768/640x480 relative values so we don't have to do it later
 - lots of little cleanups which fix several strange offset/size problems
 - fix gr_resize/unsize_screen_pos() so that it won't wrap on int (took too long to track this down)
2005-07-18 03:45:10 +00:00
Goober5000 1004ffcb54 remove PreProcDefine #includes in FS2
--Goober5000
2005-07-13 03:35:36 +00:00