Goober5000
5eeb6dd219
some const-correctness in preparation for the Mantis #3071 patch
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10939 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-27 13:03:03 +10:00
niffiwan
8105d2a372
Fix Coverity ID 1093819: Uninitialized scalar variable in (template) class ade_obj::GetPtr()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10241 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Echelon9
51ad3f97eb
Eradicate the memset(this...) paradigm within ade_table_entry
2012-04-22 11:25:15 +00:00
chief1983
dd4026f82a
Make sure to include the right lua headers on all platforms, as pointed out by rhl.
2011-12-28 19:53:50 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
IssMneur
dd3404b441
PVS-Studio: These are not false positives. Variable args can only be PODs, changing the "class" to a structure makes ade_odata a POD which should stop PVS-Studio from flagging this.
2011-09-08 05:38:21 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +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
WMCoolmon
7e7d77c8d7
*Drumroll* The official scripting system commit to the stable branch!
2008-03-15 08:56:43 +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
wmcoolmon
d43babc2d5
Various weapon and team related scripting functions; $Collide Ship and $Collide Weapon hooks
2006-02-15 07:19:50 +00:00
wmcoolmon
c4f19e64bc
Removed USE_LUA; Simulation hook; better debug messages for Lua; swapped out mounted weapon functions for variables
2006-01-31 06:46:14 +00:00
wmcoolmon
faa0b28008
Texture replacement stuff
2006-01-21 09:36:58 +00:00
wmcoolmon
24d8f7973f
Scripting updates; Special scripting image list; Better operator meta; Orientation type; Wing type; Texture type. Fix for MSVC7 compiling.
2006-01-21 02:22:05 +00:00
Goober5000
8ab1cf65a9
reordered #include files to quash Microsoft warnings
...
--Goober5000
2006-01-20 07:10:34 +00:00
wmcoolmon
cd7cacd004
Faster object handles
2006-01-19 22:25:01 +00:00
wmcoolmon
769608ef6d
More Lua checks; added Lua vector object; better operator support.
2006-01-19 20:18:12 +00:00
wmcoolmon
5a566f6e63
Various scripting updates
2006-01-18 06:13:18 +00:00
wmcoolmon
fe5469090f
Added support for setting handle variables with LUA_VAR; added support for array indexing with LUA_INDEXER; use LUA_SETTING_VAR to check whether in setting mode for both. Cleaned out older code
2006-01-16 21:26:19 +00:00
taylor
e4c89dee9d
compile fix
2006-01-16 20:54:58 +00:00
wmcoolmon
abf75dd133
Various warning fixes, scripting globals fix; added "plr" and "slf" global variables for in-game hooks; various lua functions; GCC fixes for scripting.
2006-01-16 11:02:23 +00:00
wmcoolmon
25bcca3dec
Allow RunByteCode to return an argument
2006-01-14 10:35:41 +00:00
wmcoolmon
4fd1bc3583
New Lua feature - globals control.
2006-01-14 09:21:27 +00:00
taylor
4a3a186273
move SDL autoconf checks up so we get the defines earlier
...
fix some Lua build problems on Linux (enabled by default now, but with configure option)
newline fixage
comment fixage
2006-01-13 14:19:34 +00:00
wmcoolmon
26c50c18cb
More scripting functions, various scripting enhancements
2006-01-11 21:24:37 +00:00
wmcoolmon
15b30e3177
Final commit of codebase
2005-12-04 19:07:49 +00:00
wmcoolmon
4c50d3de10
no message
2005-11-27 23:54:13 +00:00
wmcoolmon
7cd75811db
More warnings instead of Int3s/Asserts, better Lua scripting, weapons_expl.tbl is no longer needed nor read, added "$Disarmed ImpactSnd:", fire-beam fix
2005-11-08 01:04:02 +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