Commit Graph
401 Commits
Author SHA1 Message Date
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
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
wmcoolmon 965cc660b9 show-subtitle's got its groove back 2006-04-03 09:05:37 +00:00
wmcoolmon def1993de8 Miscellaneous minor changes, mostly related to addition of Current_camera variable 2006-04-03 07:48:03 +00:00
wmcoolmon 71a596cc09 Scripting support for cameras, as well as for moving model subobjects 2006-04-03 07:47:07 +00:00
karajorma 7fe2886e3b Added the set-primary-weapon and the set-secondary-weapon SEXPs. Updated the corresponding
set-x-ammo SEXPs to also accept a rearm limit.
2006-03-28 11:41:57 +00:00
Goober5000 27f5671b52 this should fix random-of
--Goober5000
2006-03-26 06:42:01 +00:00
Goober5000 bb4324969d hopefully fix this :( 2006-03-24 18:40:13 +00:00
wmcoolmon d95d6165b5 New subobject animation stuff and Lua functions. 2006-03-24 07:38:36 +00:00
Goober5000 a95eeb4e97 tweak karajorma's fixes... these should work exactly the same but are closer to my original intent 2006-03-24 05:08:19 +00:00
karajorma b9f3ed9328 Fixed Random-Of so that it finally works properly. and doesn't ignore the last items on the list.
Fixed Rand-Multiple so that when seeded it works the way I originally designed it to. Previously it was
working exactly the same as rand when seeded.
2006-03-22 16:24:20 +00:00
karajorma 45ead66153 Bah. More errors fixed. This time in in-sequence 2006-03-22 01:36:21 +00:00
karajorma ee92a2a0b3 Added the In-Sequence conditional. 2006-03-21 17:19:01 +00:00
taylor 6930e3eb6a make sure the mission log doesn't modify stuff in Cargo_names[], since it shouldn't
have split_str_once() be sure to not split a word in half, it should end up on the second line instead
2006-03-19 05:05:59 +00:00
Goober5000 58b58745aa added set-death-message sexp
--Goober5000
2006-03-18 22:43:16 +00:00
taylor a5d0bc4007 make sure errors in rand_sexp() and rand_internal() are properly handled 2006-03-18 10:26:42 +00:00
Goober5000 27992b09cf add ship-subsys-targetable and ship-subsys-untargetable
--Goober5000
2006-03-18 07:12:08 +00:00
taylor f91f20b94a bump sexp nodes to 4000 for TBP, really needs to go dynamic soon 2006-03-12 07:35:33 +00:00
karajorma ae0ca70b81 Bah. Error in secondary and primary ammo SEXPs fixed 2006-03-04 11:05:47 +00:00
Goober5000 f0f75c4b5c fix the random-of sexps to only choose valid arguments 2006-03-03 06:14:41 +00:00
Goober5000 a166d8dfd2 took care of (hopefully) the rest of Karajorma's SEXP node handle conflicts, plus merged the random sexps with their multiple variants 2006-03-02 04:05:27 +00:00
karajorma 2199ffd0dd Fixed a bunch of bugs with Set-x-ammo and Rand SEXPs. 2006-03-01 23:22:25 +00:00
karajorma 4f8e2ab5a4 Added the random-multiple-of SEXP and fixed random-of to work as designed 2006-03-01 20:54:35 +00:00
karajorma fc01cf65cb Changed text FRED displays for Fade-In and Fade-Out SEXPs 2006-03-01 14:53:15 +00:00
Goober5000 ecea6ace41 oswpt wing fix 2006-03-01 03:14:22 +00:00
wmcoolmon 817ea347d8 Silly mistake 2006-02-28 07:52:04 +00:00
wmcoolmon a2c815144b x != y, surprisingly enough 2006-02-27 01:21:03 +00:00
wmcoolmon 5ab3f6cb11 Consistency in Lua 2D funcs; fix FRED2 loading screen images dialog boxes. 2006-02-27 00:40:34 +00:00
wmcoolmon 061dc31594 Afterburner & meta updates 2006-02-27 00:15:08 +00:00
wmcoolmon 0f47fb3dd2 Targetable as bomb SEXPs and dialog stuff; made invulnerable an object flag in both FRED and FS2. 2006-02-26 23:23:31 +00:00
Goober5000 8c580f8550 wow, over a year later and I'm still finding docking bugs :p 2006-02-26 22:47:11 +00:00
wmcoolmon 05f187b921 SF2_TARGETABLE_AS_BOMBER flag, Lua gr_bitmap_ex fix 2006-02-26 22:23:01 +00:00
Goober5000 d979eb4f30 bah 2006-02-26 01:32:23 +00:00