Commit Graph
437 Commits
Author SHA1 Message Date
taylor 49b7ae2b07 make Species_info[] and Asteroid_info[] dynamic 2006-09-11 06:08:09 +00:00
taylor 7ea298bfde add font.h since the gr_set_font() function is only available from there now 2006-09-11 05:39:48 +00:00
wmcoolmon 8822c4b5f8 New model & ship scripting stuff 2006-09-09 09:53:36 +00:00
taylor 4b7a796ed1 crap, knew I should have fixed that in the patch so that it would be right in both branches... 2006-09-08 07:25:05 +00:00
taylor 3b5e199ae2 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:18:05 +00:00
wmcoolmon d2eac3746f 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
wmcoolmon 70466d10eb Added flag-to-string function for error messages 2006-09-04 05:50:58 +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
karajorma 8363f2309f Doh! Minor fix 2006-08-16 16:47:55 +00:00
karajorma 3750255c54 Fixed a typo which breaks team-score 2006-08-15 19:25:57 +00:00
Goober5000 a8211fb6bd deprecate change-ship-model 2006-08-06 19:27:13 +00:00
Goober5000 325cc70a9c make these consistent (pitch-bank-heading is the established order)
--Goober5000
2006-08-06 19:06:42 +00:00
Goober5000 b68d361107 add the multiple background feature
--Goober5000
2006-08-06 18:47:29 +00:00
karajorma e5059d29d9 Fix bug where end-mission SEXP only resulting in the mission ending for the server 2006-08-04 11:45:21 +00:00
Goober5000 870118a333 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 67f2e73297 Optimize 2006-07-26 03:45:02 +00:00
Goober5000 97059b2580 fix help text
--Goober5000
2006-07-21 05:38:41 +00:00
taylor 1d4dc00caa make glow point banks dynamic 2006-07-17 01:12:52 +00:00
Goober5000 cf096fa72c move WMC's preload stuff into main preloader routine 2006-07-17 00:50:00 +00:00
Goober5000 782231cfbe 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
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 95ba7be2a4 fix for Mantis #856
--Goober5000
2006-07-06 05:35:13 +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
taylor a8be2f7ffa fix various compiler warnings and things that Valgrind complained about 2006-06-27 05:07:49 +00:00
Goober5000 b6624808bb fix comment in preparation for code commit
--Goober5000
2006-06-27 03:55:22 +00:00
wmcoolmon 04e6659cbd 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 0e8cbab7b2 make ai-chase-any-except default to ai-chase-any
(since it never really worked properly in the first place)
--Goober5000
2006-06-24 01:54:08 +00:00
Goober5000 18ba481f9c this is kinda superfluous 2006-06-15 01:36:01 +00:00
wmcoolmon ed00528796 Tweak events support; fix a few of Wanderer's bugs; begin model support 2006-06-12 02:33:34 +00:00
wmcoolmon af9110b919 Scripting support for events/directives 2006-06-08 09:13:45 +00:00
wmcoolmon d187e18952 Fix the getScreenCoords function. 2006-06-07 07:41:16 +00:00
wmcoolmon beab863f0b Link in some scripting limbo support 2006-06-07 05:01:57 +00:00
wmcoolmon 96a6739a87 Limbo flag support; fix scripting debug bug 2006-06-07 04:43:38 +00:00
wmcoolmon b58c79b75d Scripting system prep for 3.6.9 2006-06-07 03:23:15 +00:00
wmcoolmon 231e720ecf Various sscripting fixes/updates; a couple new functions; esp. for mantis bug 0000893 2006-06-07 02:24:58 +00:00
Goober5000 d57d2ee93e 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
karajorma d9863543f2 Added the Team Loadout Change subcategory
Added the deal-with-ship-loadout SEXP. It's only temporary but it give people an option other than having to roll their own events to fix up loadout at the end of a mission.
Added the num_assists SEXP to complement the num_kills one.
Updated the is-ship-class SEXP so that it can also act as was-ship-class for departed and destroyed ships.
Updated change-ship-class to work with ships that aren't in the mission yet.
Updated sexp_modify_variable to actually do the multiplayer callback that V had noticed was needed but never actually added.
2006-06-02 09:29:13 +00:00
karajorma dbe17daee7 Added the Team Loadout subcategory (Only one SEXP in there at the moment but more will come).
Added the num_assists SEXP to complement the num_kills one
2006-06-02 09:20:06 +00:00
karajorma 11027dcb53 Added stuff_ship_list to act as a typesafe replacement for stuff_int_list and handle variables as legitimate values for both ship type and availability when parsing Team Loadout lists 2006-06-02 08:55:47 +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