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
Goober5000
52f136f9ad
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:15:53 +00:00
taylor
92b8c2d6ed
various compiler warning fixes (some of these from dizzy)
2005-07-07 16:36:58 +00:00
wmcoolmon
cc2dcbb434
Minor changes; made even more fields in ships.tbl optional.
2005-04-16 03:36:13 +00:00
taylor
96b16c4896
stupid <expletive-delete> terminal, I <expletive-deleted> <expletive-deleted>!!!
2005-04-15 11:41:28 +00:00
taylor
4465f5ee65
new GCC = new warning messages, yippeeeecvs commit code/parse/encrypt.h code/parse/encrypt.cpp code/scramble/scramble.cpp
2005-04-15 11:36:55 +00:00
taylor
7e3b7769c6
many, many compiler warning and header fixes (Jens Granseuer)
...
fix free on possible NULL in modelinterp.cpp (Jens Granseuer)
2005-04-12 05:26:38 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
wmcoolmon
2c2a6334db
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
b399461826
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
b46d8e28c7
added new graphic functions for state blocks
...
also added a class formanageing a new effect
2005-03-19 18:02:35 +00:00
Goober5000
5548a8e954
edited for language ;)
...
--Goober5000
2005-03-08 03:50:25 +00:00
wmcoolmon
02e75ddd49
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
cc85c92369
changed a bunch of transpose-rotate sequences to use unrotate instead
...
--Goober5000
2005-01-28 11:06:23 +00:00
Goober5000
35323dd78c
added a useful bit of information to vm_vec_rotate and vm_vec_unrotate
...
--Goober5000
2005-01-27 05:26:07 +00:00
Goober5000
62894590f3
gah
...
--Goober5000
2005-01-06 00:39:34 +00:00
Goober5000
6aa309268b
changed argument from dist to dist_squared
...
--Goober5000
2005-01-06 00:37:32 +00:00
Goober5000
1b00feef46
added vm_vec_dist_squared_to_line
...
--Goober5000
2005-01-06 00:27:34 +00:00
Goober5000
bf6cf09a4d
CVS checkin of bitarray.h; use this for large arrays of boolean values
...
--Goober5000
2004-12-31 03:48:12 +00:00
taylor
447873f0cf
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
7d1c8b185d
added preprocdefines.h to prevent what happened with fred -- make sure to make all fred2 headers include this file as the _first_ include -- i have already modified fs2 files to do this
2004-08-11 05:06:36 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
phreak
de2e849fc6
added static_random_cone which is used for spawn angle features in multi
2004-06-05 19:14:42 +00:00
randomtiger
1fff80dcab
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
19bef23d16
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
a4c446a059
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
Goober5000
0410d8f4da
commented back in null vector warning, because any code that flags this
...
is buggy and should be fixed (and it only pops up in release builds anyway)
--Goober5000
2003-10-14 16:27:01 +00:00
Kazan
4b042fcbeb
Removed a bunch of Useless *_printf()s in the rendering pipeline that were just slowing stuff down
...
Commented out the "warning null vector in vector normalize" crap since we don't give a rats arse
Added "beam no whack" flag for beams - said beams NEVER whack
Some reliability updates in FS2NetD
2003-10-13 05:57:50 +00:00
penguin
6d0e2fec80
Added type for static var
...
- penguin
2003-03-02 07:39:34 +00:00
bobboau
03fb48d8aa
fixed a bunch of fighter beam bugs,
...
most notabley the sound now works corectly,
and they have limeted range with atenuated damage (table option)
added bank specific compatabilities
2003-02-25 06:22:50 +00:00
bobboau
2dbc7e5277
inital decals code, if you are worried a bug is being caused by the decals code it's only references are in,
...
collideshipweapon.cpp line 262, beam.cpp line 2771, and modelinterp.cpp line 2949.
it needs a better renderer, but is in prety good shape for now,
I also (think) I squashed a bug in the warpmodel code
2002-12-07 01:37:43 +00:00
penguin
0c503be8d1
The big include file move
2002-08-01 01:41:11 +00:00
penguin
b9e9036d2c
added #ifdef _WIN32 around windows-specific system headers
2002-07-29 20:12:31 +00:00
penguin
8f92eebd34
Warpcore CVS sync
2002-06-03 04:10:40 +00:00
penguin
663b3471b9
Volition sources -- warpcore CVS import
2002-06-03 03:26:03 +00:00