Commit Graph
92 Commits
Author SHA1 Message Date
turey ac942a3e8b Extensions to Lua system regarding asteroids, debris, and waypoints. They're not heavily tested, but I haven't seen any crashes from them. 2007-08-31 20:47:17 +00:00
taylor e99df39bf0 get rid of non-standard itoa(), make use of the proper sprintf() instead 2007-03-22 22:14:57 +00:00
Goober5000 13c7d96860 use dynamic memory instead of a static buffer for ship-specific replacement textures 2007-02-25 03:58:07 +00:00
Goober5000 72ff31e614 the great big duplicate model removal commit 2007-02-20 04:20:38 +00:00
wmcoolmon a7254905ec More minor tweaks/fixes 2007-02-19 20:39:10 +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
Goober5000 04e498cbba massive shield infrastructure commit 2007-02-11 21:26:42 +00:00
wmcoolmon 2a0810d675 Couple of commented-out features. 2007-02-05 08:27:13 +00:00
wmcoolmon 33153559d6 Fix mantis bug; add getOrientation to CVS 2007-01-22 04:42:25 +00:00
wmcoolmon d614604355 Lua - fix one thing so you can break another. 2007-01-15 09:24:14 +00:00
wmcoolmon c8dc3bd950 Fix HookVariables-related stuff, and add errors in case it ever gets broken again. 2007-01-15 09:20:54 +00:00
wmcoolmon bc208ec01d Maintain "fileless fs2" capability; change ScriptingVariables library to HookVariables(hv) 2007-01-15 08:05:47 +00:00
wmcoolmon 9aef50b0ff Finish off warning fixage 2007-01-15 02:19:03 +00:00
wmcoolmon 695c72d2b3 Fix HEAD 2007-01-15 00:55:13 +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 aad898bd35 Fix +Override, attempted fix for code adjacent to [] causing crash in scripting.tbl (Unreproducable), and (Untested) fix for script-eval. 2007-01-14 12:06:56 +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
Goober5000 29103294f0 remove WMC's limbo code, per our discussion a few months ago
this will later be handled by copying ship stats using sexps or scripts
2007-01-08 00:50:59 +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 542147c48c updated/fixed modelanim code 2006-11-06 06:36:44 +00:00
taylor 35837e3ef9 make Species_info[] and Asteroid_info[] dynamic 2006-09-11 06:08:09 +00:00
taylor 1330cb65c8 add font.h since the gr_set_font() function is only available from there now 2006-09-11 05:39:48 +00:00
wmcoolmon 31da311257 New model & ship scripting stuff 2006-09-09 09:53:36 +00:00
wmcoolmon 1cd84d8e82 enumerations; drawImage update; subsystem orientation and fireWeapon() member objects; many new weapons.tbl data variables; conditional hooks; modular scripting table support (*-sct) 2006-09-04 06:11:50 +00:00
Goober5000 fb22ef4804 consolidate the "for reals" crap into a proper ship flag; also move the limbo flags over to SF2_*; etc.
this should fix Mantis #977
--Goober5000
2006-07-09 01:55:42 +00:00
Goober5000 97a4f39f1f 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 04cdbb31fe --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
wmcoolmon d71712a4b9 Fix loadTexture; fix subsystem indexing; fix getNum() for weaponbanktype; improve missing function error reporting when using LUA_INDEXER 2006-06-24 20:38:36 +00:00
wmcoolmon d3696ce322 Tweak events support; fix a few of Wanderer's bugs; begin model support 2006-06-12 02:33:34 +00:00
wmcoolmon 08faeaab78 Scripting support for events/directives 2006-06-08 09:13:45 +00:00
wmcoolmon 6d1ba2d096 Fix the getScreenCoords function. 2006-06-07 07:41:16 +00:00
wmcoolmon e72678b281 Link in some scripting limbo support 2006-06-07 05:01:57 +00:00
wmcoolmon afd2026c8e Limbo flag support; fix scripting debug bug 2006-06-07 04:43:38 +00:00
wmcoolmon 69a4f18d07 Various sscripting fixes/updates; a couple new functions; esp. for mantis bug 0000893 2006-06-07 02:24:58 +00:00
taylor 767b33f610 update proj/view matrix calls to use new values 2006-05-27 17:21:37 +00:00
taylor e137882c77 OpenGL envmap support
newer OpenGL extension support
add GL_ARB_texture_rectangle support for non-power-of-2 textures as interface graphics
add cubemap reading and writing support to DDS loader
fix bug in DDS loader that made compressed images with mipmaps use more memory than they really required
add support for a default envmap named "cubemap.dds"
new mission flag "$Environment Map:" to use a pre-existing envmap
minor cleanup of compiler warning messages
get rid of wasteful math from gr_set_proj_matrix()
remove extra gr_set_*_matrix() calls from starfield.cpp as there was no longer a reason for them to be there
clean up bmpman flags in reguards to cubemaps and render targets
disable D3D envmap code until it can be upgraded to current level of code
remove bumpmap code from OpenGL stuff (sorry but it was getting in the way, if it was more than copy-paste it would be worth keeping)
replace gluPerspective() call with glFrustum() call, it's a lot less math this way and saves the extra function call
2006-05-13 07:29:52 +00:00
Goober5000 67e8f94a93 proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
wmcoolmon 7769e8f393 Better scripting team support. (Just a tad) 2006-04-06 05:28:30 +00:00
wmcoolmon 7e6bab7efc Maneuvering hruster scaling, gun convergence 2006-04-04 11:38:07 +00:00
wmcoolmon 601f884ecd show-subtitle's got its groove back 2006-04-03 09:05:37 +00:00
wmcoolmon 613e92d84a Scripting support for cameras, as well as for moving model subobjects 2006-04-03 07:47:07 +00:00
wmcoolmon a8a62b6a53 New subobject animation stuff and Lua functions. 2006-03-24 07:38:36 +00:00
wmcoolmon c47dbebae2 x != y, surprisingly enough 2006-02-27 01:21:03 +00:00
wmcoolmon a6eebda3f9 Consistency in Lua 2D funcs; fix FRED2 loading screen images dialog boxes. 2006-02-27 00:40:34 +00:00
wmcoolmon 756a61f6db Afterburner & meta updates 2006-02-27 00:15:08 +00:00
wmcoolmon 91cd167d33 SF2_TARGETABLE_AS_BOMBER flag, Lua gr_bitmap_ex fix 2006-02-26 22:23:01 +00:00
wmcoolmon 74ed40d63a Documentation consistency; remove unneeded check. 2006-02-19 02:01:24 +00:00
wmcoolmon d4a7ff97bb Various updates for consistency in documentation 2006-02-16 06:00:49 +00:00
wmcoolmon f606fe7a5c Various weapon and team related scripting functions; $Collide Ship and $Collide Weapon hooks 2006-02-15 07:19:50 +00:00
wmcoolmon 606708f0e0 getWeaponClass->getWeaponClassByName, Linked/DualFire variables 2006-02-11 19:24:17 +00:00