Commit Graph
432 Commits
Author SHA1 Message Date
taylor 6ab6cd71ce fixes for stuff_string() bounds checking 2006-09-11 01:17:07 +00:00
taylor b41e847f01 fix bug where set-object-speed-* could set speed subjectively if left to default 2006-09-11 01:09:33 +00:00
taylor 9583027ef4 fix for Mantis bug #617 (with a very big assist from Shade who did most of the initial work on this) 2006-09-08 06:10:34 +00:00
taylor 8a9d540c4c make Species_info[] and Asteroid_info[] dynamic 2006-08-27 18:12:42 +00:00
taylor 5a9f2fd0b4 add font.h since the gr_set_font() function is only available from there now 2006-08-22 05:48:46 +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
karajorma 608b302ee8 Doh! Minor fix 2006-08-16 16:47:55 +00:00
karajorma 71c8b03c71 Fixed a silly typo which breaks team-score 2006-08-15 19:24:09 +00:00
Goober5000 8491ae47ee deprecate change-ship-model 2006-08-06 19:27:13 +00:00
Goober5000 cdf59b05dc make these consistent (pitch-bank-heading is the established order)
--Goober5000
2006-08-06 19:06:42 +00:00
Goober5000 5197a30743 add the multiple background feature
--Goober5000
2006-08-06 18:47:29 +00:00
karajorma 8f31264a41 Added new packed to deal with a bug in multiplayer where using end-mission would only end the mission for the server and then force the clients to jump out. 2006-08-03 16:24:23 +00:00
Goober5000 abbb2df243 add a second method for specifying ship copies, plus allow the parser to recognize ship class copy names that aren't consistent with the table
--Goober5000
2006-08-03 01:33:56 +00:00
Kazan f4e8c517aa small optimization 2006-07-26 15:01:07 +00:00
Goober5000 a031a41223 fix help text
--Goober5000
2006-07-21 05:38:41 +00:00
taylor 97a933c789 make glow point banks dynamic 2006-07-17 01:12:52 +00:00
Goober5000 81e673a95e move WMC's preload stuff into main preloader routine 2006-07-17 00:50:00 +00:00
taylor 2e28cb4907 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 21:53:59 +00:00
Goober5000 f2637d6a3e fix for Mantis #856
--Goober5000
2006-07-06 05:35:13 +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 ab19abcb21 cvs comment tweaks 2006-07-05 23:37:13 +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 533e63a2e2 fix comment in preparation for code commit
--Goober5000
2006-06-27 03:55:22 +00:00
taylor 0b98338e1e Repeat after me: "Test build before/after commit.", "Test build before/after commit."
(there's no reason this should have happened for yet a third time in as many weeks)
2006-06-27 03:10:26 +00:00
wmcoolmon eadf29ca43 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
Goober5000 25f04f4aab make ai-chase-any-except revert to ai-chase-any
(since it never really worked properly in the first place)
--Goober5000
2006-06-24 01:53:53 +00:00
taylor b53d7081ff various compiler warning fixes 2006-06-18 16:54:36 +00:00
Goober5000 12f510157e this is kinda superfluous 2006-06-15 01:36:01 +00:00
wmcoolmon 3749f60447 Hopefully fix compilation 2006-06-14 01:33:37 +00:00
wmcoolmon 1d0ce0d990 Tweak events support; fix a few of Wanderer's bugs; begin model support 2006-06-12 02:33:34 +00:00
karajorma dea7ded00e Allow Change-Ship-Class to affect ships which haven't arrived yet (For BHX) 2006-06-07 20:50:56 +00:00
wmcoolmon b144c7ff60 Fix the getScreenCoords function. 2006-06-07 07:49:43 +00:00
wmcoolmon fbd02e5fe8 Scripting system prep for 3.6.9 2006-06-07 03:23:15 +00:00
wmcoolmon ad54fdf805 According to wikipedia, true does not equal false. Hopefully, this doesn't break backwards compatibility :P 2006-06-07 02:28:13 +00:00
Goober5000 8a30768d47 add capability for preloading special arguments
NB: it's disabled for now, and it needs to be moved after sexps are parsed to work
--Goober5000
2006-06-04 00:01:48 +00:00
Goober5000 662b6e732b add karajorma's multi callback
--Goober5000
2006-06-03 04:46:39 +00:00
taylor bdd4913020 update proj/view matrix calls to use new values 2006-05-27 17:21:37 +00:00
Goober5000 4448ef1c47 fix for Mantis #755, plus make the missionlog #defines uniform
--Goober5000
2006-05-20 02:03:01 +00:00
taylor 7a8789e334 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
taylor 38f72231a9 if in freecamera mode, or the hud is disabled, the don't draw scripted hud elements
(this is almost hackish, but the bug never got a comment from WMC, so he can fix it later if this is wrong)
2006-05-09 09:23:05 +00:00
Goober5000 7e41877b7b proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
taylor e6ae06c8c0 forgot to add forward declaration for allocate_mission_text() (thanks karajorma ;)) 2006-04-15 19:00:52 +00:00
taylor f7aa263c5d that was rather stupid of me, fogetting this would not have been a good thing :) 2006-04-14 18:50:52 +00:00
taylor e35065bc0d remove all of the *_ex() parsing functions added for use by EFFs
add a pause/unpause for parsing so that we can safely start parsing something new then continue parsing something old
make Mission_text and Mission_text_raw only use the memory needed, and free it when it doesn't need to parse anymore
  (should work ok with FRED2, but I wasn't able to test it)
2006-04-14 18:44:16 +00:00
karajorma e8a819366b Added SEXPs to lock and unlock the primary and secondary weapons 2006-04-07 20:17:33 +00:00
karajorma 1f55522ea0 Damn spelling mistakes. And in the only place where it would be visible too! 2006-04-06 20:44:14 +00:00
Goober5000 e85a66b369 small fix 2006-04-06 18:53:28 +00:00
wmcoolmon e1ff2ce649 Better scripting team support. (Just a tad) 2006-04-06 05:28:30 +00:00
karajorma b8a871fed5 Changes to support the new Enable/Disable-Builtin-Messages SEXP 2006-04-05 16:56:57 +00:00
wmcoolmon b9f263495a Maneuvering hruster scaling, gun convergence 2006-04-04 11:38:07 +00:00