Steve Checkoway
|
c56d379860
|
Stop uglifying the ternary operator.
|
2006-09-26 05:44:44 +00:00 |
|
Steve Checkoway
|
6fe6baa241
|
Unused. The purpose of this connivence function as stated in the comments (which isn't quite what it did) is exactly what RunExpression does.
|
2006-09-26 05:35:24 +00:00 |
|
Glenn Maynard
|
44170f9fb3
|
don't leave the file open while we execute a script (leaves the file locked in Windows while/if the dialog comes up)
|
2006-09-26 00:22:09 +00:00 |
|
Glenn Maynard
|
1ba714a7a0
|
use lua_tointeger
|
2006-09-25 08:46:18 +00:00 |
|
Glenn Maynard
|
486c22a405
|
make lua strings -> RString 8-bit clean
|
2006-09-25 08:33:01 +00:00 |
|
Glenn Maynard
|
040d96de70
|
not built as libraries
|
2006-09-25 07:37:47 +00:00 |
|
Glenn Maynard
|
de88aa1d94
|
remove unused
|
2006-09-25 06:52:46 +00:00 |
|
Glenn Maynard
|
0d05ebd9b5
|
always leave iReturnValues on the stack, even on error, so error handling can just log the error and continue as if nil was actually returned
|
2006-09-23 02:44:35 +00:00 |
|
Glenn Maynard
|
0c2169923a
|
cleanup
|
2006-09-23 02:24:23 +00:00 |
|
Glenn Maynard
|
59e1be60e6
|
simplify RunExpressionX. Don't check for function returns;
it's confusing to do it inconsistently. Now, this code
path looks like the theme metric one.
|
2006-09-23 02:11:54 +00:00 |
|
Glenn Maynard
|
13f33de79a
|
allow passing sName for expressions
|
2006-09-23 02:09:58 +00:00 |
|
Glenn Maynard
|
494c3cd485
|
LuaHelpers::RunExpression
|
2006-09-22 18:53:39 +00:00 |
|
Glenn Maynard
|
709a790f1c
|
change arg order
|
2006-09-22 08:48:49 +00:00 |
|
Glenn Maynard
|
f29762c59e
|
change arg order
|
2006-09-22 08:38:30 +00:00 |
|
Glenn Maynard
|
6c398cf49d
|
color(): return a table instead of four values
|
2006-09-22 02:14:34 +00:00 |
|
Glenn Maynard
|
591ef06969
|
use LuaReference::SetFromExpression
|
2006-09-22 02:08:00 +00:00 |
|
Steve Checkoway
|
1598deda7f
|
Fix crash if lua_tostring() returns NULL.
|
2006-09-21 09:42:08 +00:00 |
|
Steve Checkoway
|
3943ba773c
|
Fix crash if lua_tostring() returns NULL. (Maybe not accepting NULL in RString wasn't a good idea.)
|
2006-09-21 07:33:51 +00:00 |
|
Steve Checkoway
|
6ad2454400
|
Cleanup.
|
2006-09-21 07:25:38 +00:00 |
|
Steve Checkoway
|
175ae8cac4
|
I ended up not using this.
|
2006-09-21 07:19:13 +00:00 |
|
Steve Checkoway
|
d7e64dc979
|
Simplify. PushStack was only calling Push and possibly generating a function for each enumerated type which in the end only called Push. Rename PopStack -> Pop to be symmetric with Push.
|
2006-09-21 07:06:18 +00:00 |
|
Steve Checkoway
|
a70080c094
|
Static.
|
2006-09-21 06:52:13 +00:00 |
|
Steve Checkoway
|
2e927c3636
|
Simplify.
|
2006-09-21 01:51:27 +00:00 |
|
Glenn Maynard
|
fe06c2e7fb
|
simplify
don't BeforeResetAll, AfterResetAll
|
2006-09-20 23:56:11 +00:00 |
|
Glenn Maynard
|
5a5d9b655e
|
don't need to lock in the ctor
|
2006-09-20 23:54:25 +00:00 |
|
Glenn Maynard
|
1749779ca8
|
merge ResetState into ctor
|
2006-09-20 23:47:08 +00:00 |
|
Steve Checkoway
|
6ea2a41b00
|
Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible.
|
2006-09-17 01:19:19 +00:00 |
|
Glenn Maynard
|
e206261b80
|
ARRAYSIZE -> ARRAYLEN
|
2006-09-13 03:11:38 +00:00 |
|
Steve Checkoway
|
a7487918b1
|
Helper for simple lua function calls.
|
2006-08-18 00:04:08 +00:00 |
|
Jason Felds
|
be758288e3
|
Fix VC8 warning.
|
2006-08-13 04:21:18 +00:00 |
|
Steve Checkoway
|
b786222be5
|
Include the lua call stack when panicking.
|
2006-08-13 03:03:27 +00:00 |
|
Steve Checkoway
|
ba9a3d51bf
|
Fix warning about loss of precision. I could just declare it as lua_Number but then do you call truncf (which would likely result in a double to float conversion anyway) or trunc which might convert from float to double if LUA_NUMBER had been defined to be float.
|
2006-08-10 05:07:16 +00:00 |
|
Steve Checkoway
|
dd2d6c3d29
|
Include the class along with the singletons in the xml.
|
2006-08-08 11:47:18 +00:00 |
|
Steve Checkoway
|
6d653c7047
|
GetLuaInformation() returns nodes containing the registered global lua functions, classes with their associated methods, constants, and singletons.
|
2006-08-08 07:43:12 +00:00 |
|
Glenn Maynard
|
21cd26308e
|
remove unused
|
2006-08-02 04:50:29 +00:00 |
|
Steve Checkoway
|
a07e194cf1
|
Revert. Fixes Linux build.
|
2006-07-18 05:51:37 +00:00 |
|
Jason Felds
|
366c3440d4
|
Fix VC8 macro redef warning. (more to come)
|
2006-07-18 03:56:37 +00:00 |
|
Chris Danford
|
043fe3e514
|
expose ProductID in lua
|
2006-05-02 03:31:56 +00:00 |
|
Chris Danford
|
7f821e8cfc
|
CString -> RString
|
2006-01-22 01:00:06 +00:00 |
|
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 |
|