Commit Graph
22636 Commits
Author SHA1 Message Date
Glenn Maynard 5a7b061639 do tween in lua 2006-09-21 22:13:18 +00:00
Glenn Maynard 52ae78a40e self:diffuse({1,1,1,1}) 2006-09-21 22:08:49 +00:00
Glenn Maynard d4da4afcad update 2006-09-21 22:07:15 +00:00
Glenn Maynard a4a8e41974 RageColor::PushTable, RageColor::FromStack
This is PushTable and not PushSelf, to distinguish this from
the PushSelf used in other classes.  Classes that can PushSelf
actually push a reference to itself to Lua, but that's only
valid for objects with a lifetime; many RageColors are temporaries.
2006-09-21 22:04:56 +00:00
Glenn Maynard b4406c9fb4 fix bool 2006-09-21 21:38:41 +00:00
Glenn Maynard 233521f120 cleanup 2006-09-21 20:34:50 +00:00
Glenn Maynard 30d394b665 Remove RunAtExpressionS (@expr) for most metric types. They're evaluated
as expressions anyway.  Still used for strings and colors, which aren't.
(Strings should be, and color metrics should be removed, I think.)
2006-09-21 20:18:23 +00:00
Glenn Maynard f04a03c321 don't use 0 and 1 for bools; use valid Lua expressions 2006-09-21 20:14:14 +00:00
Glenn Maynard 479aca5ff4 don't FontCharAliases::ReplaceMarkers for non-strings (GetMetricI, etc) 2006-09-21 20:13:21 +00:00
Glenn Maynard 625524f9ab 0 -> false
1 -> true
2006-09-21 20:12:27 +00:00
Glenn Maynard 83b12ecdb9 fix typo 2006-09-21 20:08:31 +00:00
Glenn Maynard f752e86b47 0 -> false
1 -> true
2006-09-21 20:07:36 +00:00
Steve Checkoway 1598deda7f Fix crash if lua_tostring() returns NULL. 2006-09-21 09:42:08 +00:00
Glenn Maynard 95faef1776 cleanup 2006-09-21 07:41:22 +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
Glenn Maynard d2df988807 use ToUnicodeEx if available 2006-09-21 07:32:34 +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 93a5184cfd Simplify. Now FromStack() is unused except for Pop(). 2006-09-21 07:12:49 +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 064f147f84 Unneeded. 2006-09-21 06:52:39 +00:00
Steve Checkoway a70080c094 Static. 2006-09-21 06:52:13 +00:00
Glenn Maynard 9695b7bb50 because we just created things that didn't exist before; if "x/" doesn't
exist, you look up "x/*", then create "x/" and "x/y", looking up "x/*"
again may return a cached empty result (or it may not, but best to be
safe)
2006-09-21 06:38:00 +00:00
Glenn Maynard 9cbbda42e4 Init -> BeginScreen 2006-09-21 06:32:03 +00:00
Glenn Maynard 1a6da449dd fix options credits goes to the wrong screen 2006-09-21 06:30:08 +00:00
Glenn Maynard 39e89b5986 EndGame in GameLoop 2006-09-21 05:08:42 +00:00
Glenn Maynard cb288fbfba cleanup 2006-09-21 05:04:33 +00:00
Glenn Maynard e0e29285fe RegisterTypes() less 2006-09-21 04:58:41 +00:00
Glenn Maynard 10f0929551 don't crash if SCREENMAN isn't up (this should probably be done
by the caller)
2006-09-21 04:57:38 +00:00
Glenn Maynard 4be207e419 fixup 2006-09-21 04:49:55 +00:00
Glenn Maynard 1490cf8075 no longer needed 2006-09-21 04:45:49 +00:00
Glenn Maynard 578c6d5726 simplify singleton registration 2006-09-21 04:42:45 +00:00
Glenn Maynard 2b7e2849fd simplify singleton registration 2006-09-21 04:27:45 +00:00
Glenn Maynard e779328560 delete lua later 2006-09-21 04:23:31 +00:00
Glenn Maynard eb376fca1d simplify singleton registration. Add the singleton global
to Lua when the singleton is constructed, and not in the
binding class.  The binding just adds the class bindings
(the same as for a non-singleton class).  This way, the
binding is available to Lua as soon as the class is constructed.
2006-09-21 04:20:08 +00:00
Glenn Maynard 8d81ef8806 init Lua earlier 2006-09-21 04:06:44 +00:00
Glenn Maynard 92ade8fa90 reduce THEME->UpdateLuaGlobals() to LUA->RegisterTypes 2006-09-21 03:55:22 +00:00
Steve Checkoway 01c4e531d9 Remove files. 2006-09-21 03:54:03 +00:00
Glenn Maynard bba1890f00 GetMetricRaw private 2006-09-21 03:39:11 +00:00
Glenn Maynard 8526204155 remove unused overload 2006-09-21 03:33:35 +00:00
Jason Felds 0e6e39c3fe I command that ActorCommands.* is commanded off. (removed) 2006-09-21 03:06:55 +00:00
Glenn Maynard d293c0a09a table.foreach deprecated in lua 5.1 2006-09-21 03:04:28 +00:00
Glenn Maynard 8b8d2af09f update 2006-09-21 03:00:35 +00:00
Glenn Maynard 65b8b8927d remove ActorCommands 2006-09-21 02:58:24 +00:00
Glenn Maynard 62f050aff2 remove ActorCommands.h 2006-09-21 02:57:20 +00:00
Glenn Maynard b3498dbb9f pull in LuaReference; was before from ActorCommands.h, needed
to destruct apActorCommands
2006-09-21 02:55:56 +00:00
Glenn Maynard ed81222b34 ActorCommands.h -> Actor.h or ActorUtil.h 2006-09-21 02:48:15 +00:00
Glenn Maynard 8961602964 remove ActorCommands.h 2006-09-21 02:43:57 +00:00
Glenn Maynard b30aaa63a7 ActorCommands.h -> Actor.h (for the type) or ActorUtil.h
(for ParseActorCommands)
2006-09-21 02:38:01 +00:00
Glenn Maynard 355fdd7264 ActorCommands -> ActorUtil::ParseActorCommands 2006-09-21 02:36:40 +00:00