Commit Graph
316 Commits
Author SHA1 Message Date
WMCoolmon 6bdf192fec Scripting:
- Add On Mission Start, On Mission End hooks; swap Warpin and Warpout to Warp In and Warp Out
- Safer handle helper structs
- Improved math, eg matrix interpolation and vector multiply/divide
- Filesystem read AND write support
- Initial scripting orders support
- Better waypoints support
- Assorted requested scripting functions
bmpman:
- Safer bm_get_filename
cfile:
- Support for RW, rather than just R or W, file modes.
model:
- Safer texture_info struct. Taylor, I know we talked about this, but I realized that it was just a lot better for what it does and it shouldn't be too much trouble to replace with the new system (operations tend to be much more concise and clear). Let me know if any unexpected difficulties arise.
2008-05-25 22:52:05 +00:00
taylor 14d88eef33 make table crc spew use the proper table list 2008-05-03 04:46:42 +00:00
Backslash 759872d98b A few more tweaks for ship name end_string_at_first_hash_symbol support.
Make FPS and status displays hide when hud is toggled with shift-O.
2008-04-16 03:21:37 +00:00
taylor 461922f046 some minor mprintf() cleanup 2008-03-28 03:32:38 +00:00
taylor 4404a3bfd6 remove storybook, since the fiction viewer makes it obsolete 2008-03-20 18:55:16 +00:00
WMCoolmon c428e9925b New warp code. See thread on the internal for details. 2008-03-15 09:24:57 +00:00
WMCoolmon 7e7d77c8d7 *Drumroll* The official scripting system commit to the stable branch! 2008-03-15 08:56:43 +00:00
karajorma a67a2182ce Ensure that the chatbox is closed when going to debriefing.
Some general clean up.
2008-03-14 20:27:41 +00:00
Backslash bfde817bb2 View slew, Target padlock and TrackIR patch by Swifty. Very nice!
Don't forget to add code/io/trackir.* to your projects!
2008-03-14 08:55:47 +00:00
karajorma 0e77af6ee2 Fix Mantis 1612 2008-03-08 18:45:43 +00:00
karajorma 55855a7490 Only blow up ships that have the traitor IFF at the start of a dogfight mission. 2008-03-01 20:19:33 +00:00
taylor a22f065ea1 add Murleen's prospective fix and revert r4421 (should cover Mantis #83, #1248, and everything loosely based on them) 2008-02-22 02:35:22 +00:00
taylor ea15860797 be sure to clean up if a mission load fails (Mantis #1576) 2008-02-22 02:03:16 +00:00
WMCoolmon d77079f3e9 Added -res command line; fix un/signed warning; fix bool warning. 2008-02-09 07:35:58 +00:00
Kazan 0f84bc8c55 recommiting keldor's cutscene bars fix without busting line endings 2008-02-08 04:33:07 +00:00
Kazan 1d2d2bce10 revert all my commits from today [revert codebase back to r4410] 2008-02-08 02:29:47 +00:00
Kazan 2edf72bf47 Keldor's Cutscene Bars temporary fix (until 3.7) - Approved by Kazan and Taylor 2008-02-07 16:46:33 +00:00
wmcoolmon e3a73a08b2 Move cockpit model rendering to prevent unneeded projection matrix switching 2007-12-31 01:29:40 +00:00
wmcoolmon 3df377b270 Separate cockpit model support 2007-12-30 15:29:24 +00:00
taylor fd05a37b5a cleanup/fixage for fade in/out function (Mantis #1186) 2007-11-22 04:43:47 +00:00
Goober5000 588605a888 add Wing Commander Saga's fiction viewer 2007-11-21 07:28:50 +00:00
Goober5000 c0963c6325 clean up the state machine logic for starting games 2007-11-19 20:24:40 +00:00
taylor 1654c668cc reset Perspective_locked at the start of each mission so that view controls don't get locked until exit 2007-10-23 20:07:42 +00:00
taylor c5235c6428 FS2NetD v.2 (still a work in progress, but is ~98% complete) 2007-10-15 06:43:23 +00:00
karajorma 5d7b3c0385 Fix the double respawn bug (Mantis 788) and hopefully the corresponding server Int3 (Mantis 1213) 2007-09-29 13:58:45 +00:00
Goober5000 d8d993c2ed fix the factoring on the shudder parameters (Mantis #1419) 2007-09-04 00:08:51 +00:00
Goober5000 14ba56bbe3 re-add the code to disable the Windows key... this time, without slowing the system to a crawl when FSO is in the background 2007-09-03 22:19:56 +00:00
Goober5000 bdbf228fb6 roll back the windows key hook for now 2007-09-03 21:00:24 +00:00
Goober5000 de017db9e4 tweaky move 2007-08-20 02:55:12 +00:00
Goober5000 cdd520d16d disable the Windows key while FreeSpace is running (thanks to jr2)
c.f. http://www.hard-light.net/forums/index.php/topic,48838.0.html
2007-08-13 23:07:35 +00:00
Goober5000 8113dde2c3 dork 2007-07-27 21:57:15 +00:00
Kazan 5093020316 Autopilot updates, minor misc fixes, working MSVC2005 project files 2007-07-23 16:08:36 +00:00
taylor adbc67c92a various bits of clean up
make stats printing a bit more sane
printf out game version info to debug log (not very helpful, but might prove some use)
2007-05-28 20:00:17 +00:00
Goober5000 996ac6d6ab --grouped the shake/shudder code together a bit better
--added a sexp to generate shudder
--fixed a minor bug in lock-perspective
2007-05-14 23:13:51 +00:00
karajorma fa9f2f861c Fix a number of places where the player of a dogfight game could end up in the standard debrief. 2007-04-24 12:07:35 +00:00
taylor 54e820b01c cleanup of chcksum stuff (works properly on 64-bit systems now)
add chksum support for VPs, both a startup in debug builds, and via cmdline option (-verify_vps)
little cleanup in cmdline.cpp (get rid of the remaining "fix bugs" crap)
2007-04-11 18:21:23 +00:00
Goober5000 3c3416fa3b the great big duplicate model removal commit 2007-02-20 04:20:38 +00:00
taylor 7f73be870a make gr_create_shader() use ubyte's instead of float's, saves us the more expensive conversions since we already convert to ubyte anyway 2007-02-12 01:04:50 +00:00
taylor 3c9f6d9c71 add VALID_FNAME() macro and put it around a few places (more to come)
clean out some old variables
move CLAMP() macro from opengl header to global header
update COUNT_ESTIMATE to match new bmpman changes
2007-02-11 09:35:11 +00:00
taylor d1aab3866a remove NO_SOUND 2007-02-10 00:18:22 +00:00
Goober5000 321130465c remove obsolete and unused shield flag 2007-02-06 01:27:34 +00:00
taylor 534724a06e fix OpenGL envmap "issues" (ie, stupid taylor stuff)
get rid of that RCS_Name thing, CVS kept changing it automatically and it was getting /really/ annoying
2006-12-27 09:26:21 +00:00
karajorma 77c16be7fa Move the voice recognition init to stop Windows complaining and failing to init it. 2006-12-20 11:27:06 +00:00
taylor 5ab2a1614b handle the video registry entry better
support for new Windows window creation code
various bits of minor cleanup
2006-11-15 00:49:41 +00:00
taylor e873c928fd fix some of the envmap issues
- use proper hand-ness for OGL
 - fix distortion
 - get rid of extra index buffer requirement
change starfield bitmaps to use an instance matrix rather than going through all the trouble of resetting the view matrix
basic cleanup and get rid of a couple of struct/variable naming issues (compiler sanity)
make double sure that we aren't using culling of z-buffering when rendering starfield bitmaps
2006-11-06 05:26:38 +00:00
taylor 9431b9808e remove Assert() on Viewer_obj for supernova sun processing, it's not really needed and a NULL obj is easily dealt with by the code 2006-11-01 06:15:25 +00:00
taylor 28d78bf454 updated/fixed modelanim code 2006-10-27 21:41:22 +00:00
taylor 3b9d50bde2 fix loading callback issue in standalone 2006-10-24 13:40:31 +00:00
wmcoolmon 3f28c45bec Fix Freecamera forcing HUD draw bug. 2006-10-11 03:10:53 +00:00
taylor 75409481d0 more standalone server fixes:
- add some basic bmpman functionality to grstub, since it needs to do something at least
 - add missing gr_* function ptrs to grstrub
 - (re-)enable radar and hud setup functions that used to crash (problems are fixed now)
 - deal with default pilot file properly (also caused a bmpman headache)
 - don't bother with Multi_common_icons[] in standalone mode (they don't load, so don't let them unload either)
2006-09-24 22:55:17 +00:00