Commit Graph
2971 Commits
Author SHA1 Message Date
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
taylor 8c4dfb2f0a hmm, wonder why I did that? ;) 2006-06-02 09:17:09 +00:00
karajorma 8727fb9dc1 Added the VARIABLE_UPDATE packet to send sexp variable value changes to client machines. 2006-06-02 09:10:02 +00:00
karajorma 41e34ebb02 Team Loadout changes to accept variables names as legitimate values for ship class and quantity in loadout.
Added the new alt class system
2006-06-02 09:06:12 +00:00
karajorma d1f4666aa9 Swaped from stuff_int_list to stuff_ship_list when parsing in a list of ships allowed in the campaign. 2006-06-02 08:59:58 +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
karajorma 140c82e6ed Support for alt ship classes, team loadout flag and changes to Ships_exited. Fixed assertion upon multiple uses of the change-ship-class SEXP. 2006-06-02 08:49:35 +00:00
karajorma e39238d8eb Support for alt ship classes, team loadout flag and changes to Ships_exited 2006-06-02 08:46:47 +00:00
taylor 349ffc664f some more buffer size strangeness (which I still don't understand) that makes certain sound formats not work properly 2006-06-02 08:05:33 +00:00
taylor b7c87f6047 flip color/depth values, appears some are initting software GL again and this was the problem previously 2006-06-01 07:33:59 +00:00
taylor 81dab9c506 make sure to use software device rather than hardware since we don't currently handle source rotation/reuse properly between ds and audiostr code 2006-06-01 07:33:00 +00:00
taylor c85e077369 make sure FORM_ON_WING goal is valid since it works for ships other than player now 2006-06-01 04:47:23 +00:00
taylor 0968449eed put back listener setup for each sound, doesn't make a difference under Linux but it may be hurting Windows for some reason 2006-06-01 04:46:18 +00:00
taylor f78a5d462c a little change to the order here, this should be safer in the long run and avoid some memory issues too 2006-06-01 04:45:19 +00:00
taylor d9ca8734ad fix the scope issues that someone complained about in the forums 2006-06-01 04:44:19 +00:00
taylor 214a41b550 use vm_vec_normalize_safe(), a bit cheap as a fix, but it's really difficult to trace the VECMAT errors back from here 2006-06-01 04:43:49 +00:00
taylor b813983b32 put decals back under an #ifdef, until this is fixed it's just in the way 2006-06-01 04:41:43 +00:00
taylor f3f859d28e be sure to to reset ok_to_fire between weapon checks to make sure we don't count something by mistake 2006-06-01 04:40:41 +00:00
taylor e3f7b75542 render strings a string at a time rather than a letter at the time (should be at least 3 times faster from state changes alone) 2006-05-31 04:02:05 +00:00
taylor b10c96d9e2 bah! this thing is crashing. disable for now until I can figure out what's going on 2006-05-31 04:01:13 +00:00
Goober5000 02739c5393 whoops, didn't mean to commit that 2006-05-31 03:27:19 +00:00
Goober5000 3d73663123 some cosmetic changes in preparation for bay arrival/departure code
--Goober5000
2006-05-31 03:05:43 +00:00
Goober5000 baa5097bca fix compiler warning
--Goober5000
2006-05-31 02:08:22 +00:00
karajorma b74175a102 Got sick of seeing that compiler warning all the time! 2006-05-30 11:20:38 +00:00
Goober5000 741afab9cd fix up CVS headers
--Goober5000
2006-05-30 06:01:05 +00:00
Goober5000 068f05c3ab I should probably add these files too
--Goober5000
2006-05-30 05:58:59 +00:00
Goober5000 a3205a97dc add capability to restrict arrival/departure paths
(FRED only; FS2 implementation to follow)
--Goober5000
2006-05-30 05:37:29 +00:00
taylor aba67f6267 make sure we are locking those vars down in timer_get() to avoid thread issues (may fix hang on "timer rolled" message) 2006-05-30 03:55:09 +00:00
taylor 646e844eb2 z-range for 2D ortho is -1.0 to 1.0, may help avoid some strangeness if we actually get that right. :)
minor cleanup of old code and default settings
try not to bother with depth test unless we are actually going to need it (small performance boost in some cases)
don't clear depth bit in flip(), while technically correct it's also a bit redundant (and comes with a slight performance hit)
2006-05-30 03:53:52 +00:00
Goober5000 f441031018 add substitute music boxes to FRED, and reset music properly when mission is cleared
--Goober5000
2006-05-30 02:13:22 +00:00
Goober5000 f0842a8912 add AI Profile box to FRED
--Goober5000
2006-05-30 01:36:24 +00:00
Goober5000 cf29b0dbd6 add debriefing persona index to fred
--Goober5000
2006-05-30 01:08:10 +00:00
Goober5000 1188449341 removed small redundancy
--Goober5000
2006-05-29 19:14:30 +00:00
Goober5000 9957b565bc add Taylor's compile fix
--Goober5000
2006-05-29 02:02:17 +00:00
taylor 59f2a6039e fix D3D white screen issue 2006-05-28 18:40:37 +00:00
taylor f3f0bf9a8b minor safety check 2006-05-27 17:22:04 +00:00
taylor bdd4913020 update proj/view matrix calls to use new values 2006-05-27 17:21:37 +00:00
taylor c9af1ffaef clean up BM_TYPE_* stuff so it's a little easier to tell what is what
bm_load_sub_fast() doesn't need to lowercase filenames, so don't
byte-swap 16-bit DDS on big endian (they still don't look right though)
update bm_has_alpha_channel() to be less dumb
2006-05-27 17:20:48 +00:00
taylor 9296d24dc1 d'oh! that was supposed to be off by default! 2006-05-27 17:18:56 +00:00
taylor 8a05bf08b7 few things:
- comment out that -fixbugs and -nocrash crap, that's just stupid
  - move -env off of the experimental list (since it's working pretty well in OGL)
  - remove -nobeampierce
  - remove -max_subdivide (didn't do anything)
  - remove -rt (didn't do anything, and per-coder cmdline options should never be in CVS)
  - move -cache_bitmaps to game speed rather than graphics
  - add options for env and spec map scaling for envmaps (temporary, to be removed before official 3.6.8)
  - add option for new alpha blend mode so that artists can still test with it but not mess up normal users with the bad MediaVPs
  - remove -d3d_particle (it's obsolete now)
2006-05-27 17:17:57 +00:00
taylor 48bf296ee3 add NO_DIRECT3D support 2006-05-27 17:13:22 +00:00
taylor cdf8c8bdd0 NO_DIRECT3D support
clean up video init stuff to use D3D if specified but always OGL otherwise (using NO_DIRECT3D will force always force OGL)
if video card reg entry can't be found just use OGL rather than getting all freaky on people
change for geometry batcher update
2006-05-27 17:12:44 +00:00
taylor 76617a180d don't setup all of the sound stuff for a mission if sound is disabled 2006-05-27 17:09:43 +00:00
taylor adcb333069 oops! 2006-05-27 17:08:50 +00:00
taylor 72e567a7b9 remove grd3dparticle.* and grd3dbatch.*, they are obsolete
allow us to build without D3D support under Windows (just define NO_DIRECT3D)
clean up TMAP flags
fix a couple of minor OpenGL state change issues with spec and env map rendering
make sure we build again for OS X (OGL extension functions work a little different there)
render targets always need to be power-of-2 to avoid incomplete buffer issues in the code
when we disable culling in opengl_3dunlit be sure that we re-enable it on exit of function
re-fix screenshots
add true alpha blending support (with cmdline for now since the artwork has the catch up)
draw lines with float positioning, to be more accurate with resizing on non-standard resolutions
don't load cubemaps from file for D3D, not sure how to do it anyway
update geometry batcher code, memory fixes, dynamic stuff, basic fixage, etc.
2006-05-27 17:07:48 +00:00
taylor 0341e54f3c only display that "no wavefile for voice" message if sound is enabled 2006-05-27 17:00:02 +00:00
taylor 554197fc30 comment out some code which used only if neither D3D nor OGL 2006-05-27 16:59:05 +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
taylor 43dd50673d lots of little cleanup and minor fixage
make Particles[] dynamic (appears to improve processing speed of two particle functions by about 30%)
move to completely using Bobboau's geometry batcher instead of the stale one that RandomTiger did
little change to PARTICLE_SMOKE to flip UV orient differently, may add some realism, or just look kinda neat
get rid of particle_emit() stuff what was hardcoded for MAX_DETAIL_LEVEL value
2006-05-27 16:52:50 +00:00