Commit Graph
125 Commits
Author SHA1 Message Date
bobboau 6d7c837732 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 d7b13ab375 add support for new IBX format which can support up to UINT_MAX worth of verts (NOTE: D3D code still needs to be made compatible with this!!) 2007-01-10 01:44:39 +00:00
Goober5000 9f079b2413 fix spelling... *twitch* 2006-12-28 22:47:16 +00:00
wmcoolmon b90b5716df WMC codebase commit. See pre-commit build thread for details on changes. 2006-12-28 00:59:54 +00:00
taylor 466b70a949 make glow_point array for thrusters and glow_point_banks dynamic (a proper fix for old Mantis bug #43) 2006-11-06 06:42:22 +00:00
taylor 069ff59261 forgot this part of the render box fix (obviously no one ever really tried to use this feature, since it has never worked) 2006-11-06 06:38:34 +00:00
taylor c244151204 various bits of cleanup (slight reformatting to help readability, remove old/dead code bits, etc.)
deal with a index_buffer memory leak that Valgrind has always complained about
make HTL model buffers dynamic (get rid of MAX_BUFFERS_PER_SUBMODEL)
get rid of MAX_BUFFERS
make D3D vertex buffers dynamic, like OGL has already done
2006-11-06 05:42:45 +00:00
Goober5000 bba7b8d8fa improve error message 2006-11-04 17:22:54 +00:00
taylor a07c6fd790 maybe optimize the (PI/2), (PI*2) and (RAND_MAX/2) stuff a little bit 2006-08-20 00:51:07 +00:00
taylor 76284ef278 minor changes to game_busy() debug text
- don't alloc it for bmpman, and make sure to only call on textures that we are loading
 - add text for model loading, gets rid of the long-wait issue when it appears to not be doing anything early on
2006-07-21 16:08:32 +00:00
taylor 1d4dc00caa make glow point banks dynamic 2006-07-17 01:12:52 +00:00
taylor c8d20207d3 fix for animated texture map issues (*part one*), this should be faster than before too, and fix inf-loop/div-by-0 issues 2006-07-13 22:16:38 +00:00
taylor 0c0a8d67a6 rest of the map/glow changes
- put glowmap activity back on a per-ship basis (via a SF2_* flag) rather than per-model
 - same for glowpoints, back on a per-ship basis
 - put specmaps and bumpmap back on a LOD0 and LOD1 affect (got changed to LOD0 only recently)
 - fix glowmaps for shockwaves again
 - add support for animated specmaps (mainly for TBP and Starfox mods)
some minor code cleanup and compiler warning fixes
2006-07-06 22:00:39 +00:00
Goober5000 e66b834622 fix a couple of typos
--Goober5000
2006-07-06 04:26:00 +00:00
Goober5000 eae62591ce 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 392727d494 cvs comment tweaks 2006-07-05 23:37:13 +00:00
Goober5000 f669cad916 --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 0742d8e7b2 add fighterbay restriction code
--Goober5000
2006-06-04 01:03:13 +00:00
Goober5000 3d73663123 some cosmetic changes in preparation for bay arrival/departure code
--Goober5000
2006-05-31 03:05:43 +00:00
taylor 6bc34644ad comment out the model cache stuff, it's old and not actually used anyway
minor cleanup of some modelinterp.cpp code, to make it more readable
fix tertiary thruster batcher which had the radius value swapped
comment out a couple places where we were doing a D3D or OGL check (it's always true so why bother)
add more support for NO_DIRECT3D so that it can be used on Windows to build without D3D
2006-05-27 16:57:13 +00:00
Goober5000 0e2d3156db fix for Mantis #875
--Goober5000
2006-05-16 15:54:39 +00:00
Goober5000 7e41877b7b proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
bobboau 7c36a78db8 bugfix for the animation system 2006-04-18 00:56:28 +00:00
taylor 859482541c more checking to make sure that the malloc calls are actually needed 2006-04-14 18:37:06 +00:00
taylor 069698806d make sure we don't allocate any memory for turrets unless there are some, was causing a few various memory issues, mainly for debug builds
(there is more of this same checking on the way for the other malloc() calls during model loading, and vm_malloc() will be set to
   Assert() on a 0 or less size as well)
2006-04-13 12:19:33 +00:00
taylor 8d6162b7ab fix model_allocate_interp_data() extern for OSX 2006-03-25 22:44:52 +00:00
taylor a31f44a4a8 never try and load glow or shine maps if we don't have a base map for it
but WMC's bumpmap block in a BUMPMAPPING define since it useless most of the time
2006-03-18 10:25:05 +00:00
taylor 4be8b5b054 add model_allocate_interp_data() extern for PPC machines 2006-03-08 05:15:20 +00:00
wmcoolmon 5ab3f6cb11 Consistency in Lua 2D funcs; fix FRED2 loading screen images dialog boxes. 2006-02-27 00:40:34 +00:00
taylor c9c87b8019 one friggin line, should have been able to notice that sooner 2006-02-26 11:09:31 +00:00
Goober5000 b52b6b1e00 spelling 2006-02-25 21:47:19 +00:00
taylor bb1ca10fcd vm_extract_angles_vector() doesn't do the same thing that this code used to so don't use it 2006-02-24 07:32:11 +00:00
taylor 9e857ae2c4 NULL vec warning fix (basically just setup as if it were NULL and skip the extra work if needed)
more bmpman related fixes, mainly addresses the condition where it would try to render textures that have been released
have model_unload() run through Ship_info[] and clear out modelnum's when they are free'd (makes more sense here than doing it on level load to keep counts right)
fix missing subsystem warning messages
2006-02-16 05:31:00 +00:00
Goober5000 64e86452d0 pare down the pragmas some more
--Goober5000
2006-01-26 03:23:30 +00:00
taylor fa811c3915 allow gr_render_buffer() to take TMAP flags
let gr_render_buffer() render untextured polys (OGL only until some D3D people fix it on their side)
add MR_SHOW_OUTLINE_HTL flag so we easily render using HTL mode for wireframe views
make Interp_verts/Interp_norms/etc. dynamic and get rid of the extra htl_* versions
2006-01-18 16:14:04 +00:00
phreak 018d586f49 Only display the capped normal message in debug builds 2006-01-16 07:46:03 +00:00
wmcoolmon eba6d1dff9 Special shockwave and moving capship bugfix, (even more) scripting stuff, slight rearrangement of level management functions to facilitate scripting access. 2006-01-14 19:54:55 +00:00
wmcoolmon dacfc2d704 Made turret handling code more descriptive 2006-01-11 21:23:43 +00:00
wmcoolmon 246cfcfa65 Codebase commit, most notably including objecttypes.tbl 2005-12-29 08:08:42 +00:00
phreak 79ba02b4e2 [V] can't spell 'turret' 2005-12-15 04:31:05 +00:00
taylor 79d4c25871 make sure that we don't get "-transport" in with the transparent filename check (TBP bug) 2005-11-13 06:47:26 +00:00
wmcoolmon 7cd75811db More warnings instead of Int3s/Asserts, better Lua scripting, weapons_expl.tbl is no longer needed nor read, added "$Disarmed ImpactSnd:", fire-beam fix 2005-11-08 01:04:02 +00:00
wmcoolmon 354e641cc6 Minor change to an assert 2005-10-29 09:00:41 +00:00
Goober5000 f510a86176 rolled back UnknownPlayer's commit
--Goober5000
2005-10-22 22:22:41 +00:00
unknownplayer 82a8322255 Added -UseNewAI command line option to force the game to always use
the SCP AI changes. As of now there's some problem in gr_d3d_set_render_target
that crashes the game when it gets to a mission.
2005-10-22 04:28:17 +00:00
taylor ff69f8e38c minor readability fix
plug a memmory leak and possible Polygon_models[] madness if a POF can't be found or is otherwise invalid
2005-10-20 15:33:44 +00:00
taylor 7c7932b963 lowercase filenames in model_load_textures()
turn texture loading debug messages back on but under "Maps" so they are easy to turn off if not wanted
2005-10-17 14:23:21 +00:00
wmcoolmon c268bb02b5 Weapon models now shown in lab 2005-10-17 01:51:01 +00:00
Goober5000 7a0fe0c0f6 juxtaposition for clarity
--Goober5000
2005-10-02 23:00:39 +00:00
Kazan f7db4dfbb3 comment out superfluous debug message 2005-09-15 23:54:58 +00:00