Goober5000
c9a45c9fbd
come on, Travis, stop halting after a single warning
2016-02-11 01:13:00 -05:00
Goober5000
e302f0e456
convert the rest of the model instance functions to have model_instance_num parameters instead of object parameters
2016-02-10 23:23:44 -05:00
Goober5000
da812f9433
modify the actual function calls
2016-02-06 18:05:33 -05:00
MageKing17
a5b705b2c1
Store debris damage type on the debris object itself.
...
If the Object that had been assigned to that particular debris's parent wound up getting recycled and used for something else, the code in shiphit.cpp would cause a crash as soon as that debris hit something. This would happen fairly reliably in cluttered missions like BP massive battle.
2016-01-26 23:36:24 -08:00
SamuelCho
0f0f6377d0
Killed the last vestiges of ship_model_start/stop.
2015-12-13 23:51:24 -08:00
The E
e0defd287a
Renaming vm_vec_crossprod to vm_vec_cross
2015-12-01 20:36:34 +01:00
Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
Lari Nieminen
1bf86532fe
Added $Collision LOD ship table property, for using a LOD for collision detection
2015-08-03 13:20:14 +03:00
Echelon9
f804539a15
Fix: debris/debris.cpp:846:10: warning: declaration of ‘ship_obj’ shadows a global declaration [-Wshadow]
2015-07-06 23:04:25 +10:00
Echelon9
54003a2622
Fix: debris/debris.cpp:850:10: warning: declaration of ‘light’ shadows a global declaration [-Wshadow]
2015-07-06 22:30:50 +10:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07: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
The_E
7b0f6b310b
Make sure entries in the Debris[] array get cleared properly upon deletion
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10007 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:56 +10:00
Goober5000
7e5b2aee52
turn mc_info into a plain data struct, part 2
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9822 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:36 +10:00
Valathil
982f7e63ff
Fix for Mantis 2146: Move the model_clear_instance call so it doesn't reset the replaced texture.
2012-12-09 21:49:20 +00:00
Swifty
c6c12fc251
go_even_faster: Improved collision detection performance by rewriting broadphase and narrowphase testing.
2012-08-11 21:14:53 +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
Echelon9
b9ec80682d
Documentation: Code cleanup in debris.cpp and ancilliary changes
2011-10-03 06:03:55 +00:00
Echelon9
80a027a400
PVS-Studio fix: V803 Decreased performance. In case 'tvs' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
...
For further discussion see, http://www.viva64.com/en/b/0093/
The scenarios where it will improve performance are under Debug builds. This improvement will however allow quicker use of other profiling tools that need to run on Debug builds.
Note. Code with size_t does not see the performance improvement comparison to iterators due to absence of array overrun check.
2011-08-28 08:31:25 +00:00
The_E
ac8b7c4c10
From m!m: Adds access to collision data to the Lua API.
2011-08-04 11:05:25 +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
9410909ee1
Fix: Mantis 2351 - Animated subsystems not counted as rotating allowing max to be exceeded
2010-12-27 08:00:31 +00:00
The_E
083a84feff
Swifty's go-swift stuff. Makes collision detection slightly less insane.
2010-12-22 14:42:21 +00:00
Sushi
d89a92c6e7
Added $Damage Lightning Type and +Lightning Arc Percent (under $Debris) to ships.tbl. Allows damage lightning effect to be changed (current options are default and none) on a per-ship basis. The percentage of debris pieces with lightning arcs can also be controlled via +Lightning Arc Percent.
2010-01-27 18:55:37 +00:00
Wanderer
5e9bf597c5
debris hitpoints (min/max), debris ship collision damage multiplier.
2009-09-02 08:32:43 +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
WMCoolmon
3f02f79b3d
New camera code, warp code updates, debris attributes, fix large numbers of ships being created at the same time, delta bank.
2008-08-30 10:45:41 +00:00
Wanderer
b909ada973
fix for the Mantis #1703 (debris and alt names)
2008-06-02 06:28:13 +00:00
Swifty
464fd54392
Modified fireball handling; ship class or type specific explosions.
2008-05-29 03:26:23 +00:00
WMCoolmon
6bdf192fec
Scripting:
...
- Add On Mission Start, On Mission End hooks; swap Warpin and Warpout to Warp In and Warp Out
- Safer handle helper structs
- Improved math, eg matrix interpolation and vector multiply/divide
- Filesystem read AND write support
- Initial scripting orders support
- Better waypoints support
- Assorted requested scripting functions
bmpman:
- Safer bm_get_filename
cfile:
- Support for RW, rather than just R or W, file modes.
model:
- Safer texture_info struct. Taylor, I know we talked about this, but I realized that it was just a lot better for what it does and it shouldn't be too much trouble to replace with the new system (operations tend to be much more concise and clear). Let me know if any unexpected difficulties arise.
2008-05-25 22:52:05 +00:00
Goober5000
3c3416fa3b
the great big duplicate model removal commit
2007-02-20 04:20:38 +00:00
taylor
8cff897180
some generic_bitmap fixes to go with new changes (not in CVS just yet, don't freak out)
...
make use of VALID_FNAME() where possible
fix an animation time issue (sub-second animation playback caused div-by-0)
2007-02-12 00:22:05 +00:00
taylor
dcb63622c6
remove NO_SOUND
...
fix debris recycling
2007-02-11 09:22:29 +00:00
taylor
806027e4e8
various small compiler warning and strict compiling fixes
2006-09-11 01:00:28 +00:00
taylor
8a9d540c4c
make Species_info[] and Asteroid_info[] dynamic
2006-08-27 18:12:42 +00:00
taylor
16b07945fa
an int wrap-around issue could (and was) make debris not have electrical arcs (or lighting or sounds) since it would always fail this check
2006-08-19 04:22:33 +00:00
Goober5000
2a5b51cd9b
1) complete (almost) changeover to reorganized texture mapping system
...
2) finally fix texture animation; textures now animate at the correct speed
--Goober5000
2006-07-06 04:06:04 +00:00
Goober5000
698af681d9
--in preparation for fixing an annoying animated texture bug, reorganize the various texture structs and glow point structs and clarify several parts of the texture code :P
...
--this breaks animated glow maps, and animated regular maps still aren't fixed, but these will be remedied shortly
--Goober5000
2006-07-04 07:42:50 +00:00
Goober5000
64e86452d0
pare down the pragmas some more
...
--Goober5000
2006-01-26 03:23:30 +00:00
wmcoolmon
246cfcfa65
Codebase commit, most notably including objecttypes.tbl
2005-12-29 08:08:42 +00:00
wmcoolmon
78fab0c331
Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes
2005-10-30 06:45:00 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
Goober5000
81784bfa63
hopefully complete species upgrade
...
--Goober5000
2005-09-25 05:13:07 +00:00
Goober5000
374b2b21a0
another species overhaul
...
--Goober5000
2005-09-24 07:07:17 +00:00
Goober5000
2a307d099a
CVS header tweaks
...
--Goober5000
2005-07-22 10:18:41 +00:00
Goober5000
12c90e780d
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 02:50:53 +00:00
Goober5000
5c6738a534
fixed a bunch of "issues" caused by me with the species stuff
...
--Goober5000
2005-07-13 02:01:30 +00:00
Goober5000
76d05268fd
improved species support and removed need for #define
...
--Goober5000
2005-07-13 00:44:24 +00:00