Commit Graph
97 Commits
Author SHA1 Message Date
karajorma 1afadaa142 Sync with Trunk (Part I) 2010-09-20 05:49:34 +00:00
karajorma 45305bf78f Sync with trunk 2010-02-19 04:44:25 +00:00
karajorma e6f640c53d Sync with trunk 2009-11-02 07:12:36 +00:00
karajorma b69a80db90 Sync with trunk 2009-07-15 21:29:08 +00:00
karajorma a3508be54a Sync with the right branch this time! 2009-07-05 20:55:42 +00:00
karajorma cf483e0237 Sync with trunk 2009-06-30 07:20:30 +00:00
karajorma 3edee14eea Sync with trunk 2009-06-14 16:09:49 +00:00
karajorma 91346a814d Sync with trunk 2009-05-24 22:01:10 +00:00
karajorma e3765e24e1 Sync with trunk 2009-05-17 12:08:06 +00:00
karajorma 8943449825 Switch network variables over to the SEXP packet except for when called from lua 2009-05-08 17:05:43 +00:00
karajorma 25d4a3b439 Update branch to latest SVN 2008-09-10 15:10:32 +00:00
karajorma 6610938b80 Sync with trunk 2008-08-04 19:18:47 +00:00
karajorma 0ac2532fe5 Metge branch with trunk 2008-07-25 17:40:17 +00:00
karajorma eec030d092 Fix a couple of those pesky scoping in for loops problems. 2008-05-26 16:39:59 +00:00
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
WMCoolmon 46a1a343c5 Fix for mantis 0001527 2008-03-23 08:34:45 +00:00
WMCoolmon e5ef92c7a8 Fix for mantis #0001580 2008-03-23 08:19:16 +00:00
WMCoolmon 51717c49b1 Fix for mantis 0001637 2008-03-23 07:33:11 +00:00
WMCoolmon 40317c8642 - Nearly all functions and variables have one return type, which defaults to 0, "", or an invalid handle if the function fails.
- All functions use seconds for time
- Syntax update for scripting.html
- Minor bugfixes
- gamestate and gameevent handles
- getState is now getCurrentGameState
- setEvent is now postGameEvent
- drawMonochromeImage arguments reduced in anticipation of agreeing with drawImage arguments
- Fixed numerical indexing of weapon classes
2008-03-23 06:07:23 +00:00
taylor c9081ee3d5 fix memory leak
address some compiler compaints and add a newline to debug message
2008-03-20 18:26:58 +00:00
WMCoolmon f6ba4a5e7d Fix bug with drawImage and drawMonochromeImage as reported by Wanderer 2008-03-16 06:41:34 +00:00
WMCoolmon a67ab3b802 Use change_ship_class rather than straight variable set (this is the proper way) 2008-03-15 09:16:34 +00:00
WMCoolmon 7e7d77c8d7 *Drumroll* The official scripting system commit to the stable branch! 2008-03-15 08:56:43 +00:00
wmcoolmon 9b0264e023 player.IsMulti 2007-12-30 13:44:40 +00:00
Goober5000 19b2173e44 use dynamic memory instead of a static buffer for ship-specific replacement textures 2007-02-25 03:58:07 +00:00
Goober5000 3c3416fa3b the great big duplicate model removal commit 2007-02-20 04:20:38 +00:00
taylor 640aa62261 get rid of non-standard itoa(), make use of the proper sprintf() instead 2007-02-12 00:23:40 +00:00
taylor a1e24a364f fix some "stupid-windows-coder-mistakes" (otherwise known as "putting-more-than-you-should-into-header-files")
(gets rid of some/many compiler warnings, C++ language violations, and strange little bugs/errors)
2006-11-15 00:40:59 +00:00
taylor 28d78bf454 updated/fixed modelanim code 2006-10-27 21:41:22 +00:00
taylor 8a9d540c4c make Species_info[] and Asteroid_info[] dynamic 2006-08-27 18:12:42 +00:00
taylor 5a9f2fd0b4 add font.h since the gr_set_font() function is only available from there now 2006-08-22 05:48:46 +00:00
Goober5000 2a5b51cd9b 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 698af681d9 --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 0b98338e1e Repeat after me: "Test build before/after commit.", "Test build before/after commit."
(there's no reason this should have happened for yet a third time in as many weeks)
2006-06-27 03:10:26 +00:00
wmcoolmon eadf29ca43 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
wmcoolmon 3749f60447 Hopefully fix compilation 2006-06-14 01:33:37 +00:00
wmcoolmon 1d0ce0d990 Tweak events support; fix a few of Wanderer's bugs; begin model support 2006-06-12 02:33:34 +00:00
wmcoolmon b144c7ff60 Fix the getScreenCoords function. 2006-06-07 07:49:43 +00:00
wmcoolmon ad54fdf805 According to wikipedia, true does not equal false. Hopefully, this doesn't break backwards compatibility :P 2006-06-07 02:28:13 +00:00
taylor bdd4913020 update proj/view matrix calls to use new values 2006-05-27 17:21:37 +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
Goober5000 7e41877b7b proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
wmcoolmon e1ff2ce649 Better scripting team support. (Just a tad) 2006-04-06 05:28:30 +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 71a596cc09 Scripting support for cameras, as well as for moving model subobjects 2006-04-03 07:47:07 +00:00
wmcoolmon d95d6165b5 New subobject animation stuff and Lua functions. 2006-03-24 07:38:36 +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