Steve Checkoway
|
ec5ed59eb3
|
Fix warnings.
|
2006-01-14 23:51:27 +00:00 |
|
Glenn Maynard
|
f4a634034c
|
lua stack check
|
2006-01-14 06:53:09 +00:00 |
|
Chris Danford
|
c7d769829a
|
add ThemeManager to smtools
|
2005-12-29 05:52:50 +00:00 |
|
Chris Danford
|
d459f0b795
|
fix smpackage build
add localization tool to smpackage
|
2005-12-28 04:22:24 +00:00 |
|
Glenn Maynard
|
8929a640a9
|
fix comment
|
2005-11-29 17:41:10 +00:00 |
|
Glenn Maynard
|
476a0990ff
|
SetGlobal(float)
|
2005-11-29 05:24:48 +00:00 |
|
Glenn Maynard
|
8eae1eb189
|
add color() function. This can be used as eg:
function foo() return color("AABBCC") end
...
OnCommand=diffuse,foo()
|
2005-08-31 01:25:36 +00:00 |
|
Renaud Lepage
|
b663fc735f
|
Debug on Xbox.
|
2005-08-25 22:08:33 +00:00 |
|
Glenn Maynard
|
74c83953cc
|
optimize
|
2005-08-25 02:31:07 +00:00 |
|
Glenn Maynard
|
ba8efe82a0
|
optimize: implement scale and clamp lua functions in C
|
2005-08-23 06:14:11 +00:00 |
|
Chris Danford
|
9dd876559a
|
allow Lua function types in xml <Param />
|
2005-08-03 03:26:52 +00:00 |
|
Chris Danford
|
32286d12e6
|
add <Param /> child of a node for setting Lua globals while loading a node
|
2005-07-22 19:57:42 +00:00 |
|
Glenn Maynard
|
0d2c5a418a
|
better error messages; fix crash when TypeError called from outside a lua call context
|
2005-07-07 06:03:25 +00:00 |
|
Glenn Maynard
|
824bf83244
|
lua ProductVersion
|
2005-06-25 02:55:58 +00:00 |
|
Steve Checkoway
|
99387583f9
|
DARWIN -> __MACOSX__
|
2005-06-21 08:56:36 +00:00 |
|
Glenn Maynard
|
fee9e51b2c
|
revert. Unregister() is "atomic" (useful to call without locking around it).
|
2005-06-21 02:41:35 +00:00 |
|
Glenn Maynard
|
acbe82d877
|
pass L to Reset
|
2005-06-21 02:29:21 +00:00 |
|
Glenn Maynard
|
b974b1bdd4
|
LuaHelpers::PrepareExpression
|
2005-06-16 22:22:37 +00:00 |
|
Glenn Maynard
|
980451af6d
|
SetGlobal/UnsetGlobal locking
|
2005-06-16 22:19:05 +00:00 |
|
Glenn Maynard
|
9a50b17b9d
|
LuaHelpers::RunAtExpressionS
LuaManager::ResetState, LuaHelpers::RunScriptFile locking
|
2005-06-16 22:17:45 +00:00 |
|
Glenn Maynard
|
c0a65b3503
|
lua locking
|
2005-06-16 22:10:24 +00:00 |
|
Glenn Maynard
|
d48bce4b66
|
remove unused
|
2005-06-16 06:44:50 +00:00 |
|
Glenn Maynard
|
dd3b227562
|
LuaHelpers::RunExpressionI, LuaHelpers::RunExpressionS
|
2005-06-16 06:37:45 +00:00 |
|
Glenn Maynard
|
cb3f10aabb
|
LuaHelpers::RunExpressionF
|
2005-06-16 06:30:33 +00:00 |
|
Glenn Maynard
|
6a8940d5a4
|
LuaHelpers::RunExpressionB
|
2005-06-16 06:23:59 +00:00 |
|
Glenn Maynard
|
914acb4b7b
|
LuaHelpers::RunScript
|
2005-06-16 06:17:32 +00:00 |
|
Glenn Maynard
|
b93399da8c
|
LuaHelpers::RunScriptFile
|
2005-06-16 06:10:50 +00:00 |
|
Glenn Maynard
|
fc16f2625d
|
LuaManager::RunScript -> LuaHelpers::RunScript.
(Functions in LuaManager can accidentally bypass locking semantics, so
they should be kept to a minimum.)
|
2005-06-16 06:00:39 +00:00 |
|
Glenn Maynard
|
f070624a91
|
cleanup
|
2005-06-16 05:48:59 +00:00 |
|
Glenn Maynard
|
dd138bfbc2
|
remove unnecessary
|
2005-06-16 05:46:37 +00:00 |
|
Glenn Maynard
|
7239c06e5d
|
remove unused RunAtExpressionF
|
2005-06-16 05:40:36 +00:00 |
|
Glenn Maynard
|
8557623212
|
move CreateTableFromArrayB and ReadArrayFromTableB into LuaHelpers; L argument first, like Lua functions (it was only at the end because it was an optional parameter)
|
2005-06-16 05:37:31 +00:00 |
|
Glenn Maynard
|
533d773bd0
|
remove default
|
2005-06-16 03:03:05 +00:00 |
|
Glenn Maynard
|
e3970b10d5
|
move date helpers into DateTime.cpp
|
2005-06-16 01:33:22 +00:00 |
|
Glenn Maynard
|
cfa50fd225
|
remove GetStack
|
2005-06-15 08:37:54 +00:00 |
|
Glenn Maynard
|
d7b09d366e
|
remove PushStackNil
|
2005-06-15 08:36:06 +00:00 |
|
Glenn Maynard
|
6bfb3f0bad
|
pass L to LuaHelpers::TypeError
|
2005-06-15 08:33:26 +00:00 |
|
Glenn Maynard
|
f715b14bb0
|
lua cleanup
|
2005-06-15 08:28:55 +00:00 |
|
Glenn Maynard
|
a88e37e7d6
|
lua cleanup
|
2005-06-15 08:26:56 +00:00 |
|
Glenn Maynard
|
52f0d9d74c
|
pull code out of the header
|
2005-06-15 08:21:38 +00:00 |
|
Glenn Maynard
|
e3a8b72639
|
lockable Lua object; "Lua" alias to replace "lua_State"
|
2005-06-15 08:16:28 +00:00 |
|
Renaud Lepage
|
1b124c16a5
|
Someone had made ifdefs that were confusing if compiling for Xbox. The conflictual situations have been resolved.
|
2005-05-30 23:43:37 +00:00 |
|
Glenn Maynard
|
2069d9cbeb
|
register g_LuaFunctions in LuaManager::RegisterTypes
make RegisterTypes private
cleanup
|
2005-05-29 21:12:30 +00:00 |
|
Glenn Maynard
|
f5dc5d75f3
|
simplify
|
2005-05-29 02:21:24 +00:00 |
|
Glenn Maynard
|
e504164796
|
debugging message assumes that method calls ("x:y()") have an initial
self argument; we remove it, causing off-by-one error messages
|
2005-05-28 07:27:49 +00:00 |
|
Thad Ward
|
5949e5bc90
|
(this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
|
2005-05-11 04:43:54 +00:00 |
|
Glenn Maynard
|
0d7cbe1d43
|
remove unused Push and FromStack overloads.
|
2005-04-30 03:08:52 +00:00 |
|
Glenn Maynard
|
7f43d744e9
|
fix pop
|
2005-04-25 09:42:54 +00:00 |
|
Charles Lohr
|
e8729a82d0
|
VC6 doesn't seem to want to accept default parameter value for templated functions like this. Poor solution: just put in the default in the actual function call.
|
2005-03-14 00:07:56 +00:00 |
|
Chris Danford
|
8415b4466d
|
fix VC7 template error: move templated methods out of LuaManager
|
2005-03-13 00:01:05 +00:00 |
|