Commit Graph
2281 Commits
Author SHA1 Message Date
wmcoolmon 26dc0eb8f1 Forgot the breathalyzer 2005-11-05 08:39:10 +00:00
wmcoolmon 7450bb4c84 Fix for this old and silly bug. 2005-11-05 08:38:36 +00:00
phreak 12ecdcee1a add/remove-sun-bitmap. Also changed "Ship_arrival_list" to "ship_arrival_list" since the former technically doesn't exist due to the capital 'S'. 2005-11-05 07:42:09 +00:00
wmcoolmon b3d4879346 Support for using Lua files for hooks 2005-11-05 05:13:05 +00:00
wmcoolmon b3e7e10a64 Fix(?) for checking whether a weapon is armed or not 2005-11-05 05:12:21 +00:00
wmcoolmon 08f49c1cc1 Slight optimization 2005-11-05 05:11:29 +00:00
wmcoolmon de875a5b47 Removed unneccessary casts 2005-11-05 05:08:58 +00:00
wmcoolmon 899f22b4f1 turret-change-weapon 2005-11-05 05:06:13 +00:00
Goober5000 2a7c6f3f8d remove unused commented stuff
--Goober5000
2005-10-31 09:12:16 +00:00
Goober5000 edb760d4a6 bit of tweakage
--Goober5000
2005-10-31 09:09:41 +00:00
wmcoolmon 0118ff2b47 Support for passing C pointers w/ LUA 2005-10-31 08:57:40 +00:00
wmcoolmon f840b9aac1 Support for custom operators in Lua 2005-10-31 06:37:17 +00:00
Goober5000 5d5f8abf6d stuff for comparing ship classes
--Goober5000
2005-10-30 23:45:45 +00:00
Goober5000 ccd9fef895 fix the support ship spawning bug
--Goober5000
2005-10-30 20:42:45 +00:00
Goober5000 ff3cb87bb6 comment fixage 2005-10-30 20:20:44 +00:00
taylor 3c2f9cd4c2 add a bunch of Assert()'s and NULL checks to either help debug or avoid errors
fix Mantis bug #381
fix a small issue with the starfield bitmap removal sexp since it would read one past the array size
2005-10-30 20:03:40 +00:00
taylor f19b013589 same basic cleanup and self-sanity changes
split up WinMain() and main() so it doesn't resemble ifdef hell
rename WinMainSub() to game_main() and move anything that should have been in WinMain() to WinMain()
2005-10-30 20:00:22 +00:00
wmcoolmon 07cd84e050 Display a special dialog if the player tries to continue a campaign with no missions 2005-10-30 19:22:31 +00:00
wmcoolmon 7d7a5de047 Return an error if mission_campaign_next_mission() is called when the campaign has no missions 2005-10-30 19:21:45 +00:00
wmcoolmon f246e61ae7 Fix scripting.html 2005-10-30 18:19:58 +00:00
taylor 12997f37b2 add Lua support for automake/autoconf 2005-10-30 10:46:23 +00:00
taylor 3ea8c641bf fix a couple of campaign savefile bugs for WMC 2005-10-30 10:45:19 +00:00
wmcoolmon 78fab0c331 Codebase commit - nebula.tbl, scripting, new dinky explosion/shockwave stuff, moving muzzle flashes 2005-10-30 06:45:00 +00:00
Goober5000 50752e3e42 multiple ship docking implemented for initially docked ships
--Goober5000
2005-10-29 22:09:31 +00:00
taylor d5b777093f Add some error checking and handling to better deal with possible problems, and to let us know what/where they are 2005-10-29 12:26:58 +00:00
taylor 63db92b251 bullet-proof the loadout read a little bit (did this before and had it locally, must have missed CVS) 2005-10-29 12:25:49 +00:00
wmcoolmon 0e1fe216c3 Safeguard against saved loadout and loadout changes. 2005-10-29 09:06:52 +00:00
wmcoolmon b8509e1701 Better alloc_block function 2005-10-29 09:02:13 +00:00
wmcoolmon 354e641cc6 Minor change to an assert 2005-10-29 09:00:41 +00:00
taylor 0c9d02d4af hmm, didn't even notice that earlier 2005-10-28 14:52:26 +00:00
taylor 6e427e11e9 some minor cleanup and compiler warning fixes 2005-10-28 14:49:35 +00:00
taylor 224cde1275 don't do any decal processing if decals are not enabled 2005-10-28 14:48:26 +00:00
taylor 02480d6485 fix issue where GR_640 based non-standard resolutions (ie. 800x600) would use GR_1024 screen coordinates/sizes 2005-10-28 14:47:16 +00:00
taylor 6f18a905e0 more TMAP_MAX_VERTS overflow protection for non-HTL usage (these are the things that need to be addressed to fix non-HTL)
fix some compiler warning messages
don't do any decal processing if decals are disabled, the math was a waste of CPU cycles in that case
2005-10-28 14:45:55 +00:00
Goober5000 e2092f240b nitpicked a rather dumb non-bug
--Goober5000
2005-10-28 06:10:07 +00:00
phreak 6dcbcc178e Added extra documentation for add-background-bitmap and add-sun-bitmap 2005-10-28 05:48:55 +00:00
phreak 5f8e6a71de added implementation for add-background-bitmap and remove-background-bitmap 2005-10-28 05:25:27 +00:00
taylor f350e06851 some minor fixes to message_translate_tokens(), fixes a bug and adds some out-of-bounds checks 2005-10-27 16:24:24 +00:00
taylor 74e3d5401a go back to using abort() over exit() for Assert's and Int3's but close out SDL first this time, makes debugging much easier 2005-10-27 16:23:03 +00:00
taylor 53d10eabf0 fix some automake errors with OSX 10.4's crappy AutoMake and a couple of other OS X related terminal compile fixage 2005-10-27 16:21:19 +00:00
taylor 5880db458e D3D missed the non-standard resolution updates for aabitmaps, should fix briefing icon positioning 2005-10-26 20:54:18 +00:00
taylor b35d857131 convert Jpegs from RGB to BGR after read, OpenGL had a problem with this, D3D still works fine 2005-10-26 20:53:02 +00:00
taylor 53d95c6b04 make sure that XMTs don't try to still create an invalid entry when +nocreate is used 2005-10-26 00:43:06 +00:00
wmcoolmon 81499b0c12 Bumped MAX_HOTKEY_TARGET_ITEMS 2005-10-25 01:21:52 +00:00
phreak ae966e5e2c implementation for nebula-change-storm and nebula-toggle-poof. looks like they're working 2005-10-24 23:28:37 +00:00
taylor b664b38efd init thruster stuff properly so that bmpman doesn't have a fit 2005-10-24 12:42:14 +00:00
Goober5000 a8dcf18e3b merge Bobboau's thruster code back in; hopefully this covers everything
--Goober5000
2005-10-24 07:13:05 +00:00
taylor 79f76ca829 not sure what I was smoking there, max shininess value is 128, not 180 2005-10-24 04:48:14 +00:00
phreak 0aeb51d927 Get the new nebula argument types working in fred. 2005-10-24 02:53:48 +00:00
wmcoolmon 14cc8930dc Removed max_overclock restriction related to warpout 2005-10-24 02:15:41 +00:00