Commit Graph
22824 Commits
Author SHA1 Message Date
Glenn Maynard 524bbc810e aliases 2006-09-26 20:02:14 +00:00
Glenn Maynard 02a4b35d51 bound alignment constants 2006-09-26 20:00:27 +00:00
Glenn Maynard 6641cec9f9 stop being unique 2006-09-26 19:55:35 +00:00
Glenn Maynard fe0cc36ba6 unused 2006-09-26 19:51:19 +00:00
Glenn Maynard 9501cb22e5 standard enum convention 2006-09-26 19:50:53 +00:00
Glenn Maynard 0de94fb55c remove Actor:: 2006-09-26 19:48:46 +00:00
Steve Checkoway 19b88841a3 Bah. This is really two commits. I thought I already did the first and I'm too tired to try to separate them (I wrote a long commit message explaining the first one already.)
1. When iterating over the tables using lua_next(), using lua_tolstring() can modify the key which confuses lua_next(). Instead push the value onto the top of the stack and Pop() the string from there.

2. Handle integer, string, and float constants. Handle the enum values by looking for FooIndex and then reading the global table Foo.

Stylesheet updating coming later this week.
2006-09-26 10:33:32 +00:00
Steve Checkoway c89f3f9335 Don't bother getting the max. Just go until we find a nil element, that's all the # operator is going to do. 2006-09-26 09:35:15 +00:00
Steve Checkoway 488d166ba4 Deprecated. Note that lua_objlen() doesn't actually return the number of elements in the table. It simply evaluates the new # operator which will return the first integer n such that t[n] is not nil and t[n+1] is nil. Note that this means that this is only useful for tables which have no "holes" and integer indexes (starting at 1).
If you really want the table size, you have to walk the whole table (using next() or pairs() in Lua or lua_next() in C).
2006-09-26 09:32:14 +00:00
Steve Checkoway 003454ccfd Deprecated. Note that lua_objlen() doesn't actually return the number of elements in the table. It simply evaluates the new # operator which will return the first integer n such that t[n] is not nil and t[n+1] is nil. Note that this means that this is only useful for tables which have no "holes" and integer indexes (starting at 1).
If you really want the table size, you have to walk the whole table (using next() or pairs() in Lua or lua_next() in C).
2006-09-26 09:13:11 +00:00
Glenn Maynard cc49e8d56d use bound types 2006-09-26 09:09:38 +00:00
Glenn Maynard 46b2444705 remove special cases 2006-09-26 09:08:36 +00:00
Glenn Maynard 4f057b4feb bind types 2006-09-26 09:06:21 +00:00
Glenn Maynard f567a0fd28 cleanup arg order 2006-09-26 08:54:54 +00:00
Glenn Maynard 5d1b947002 ModsGroup 2006-09-26 08:52:12 +00:00
Glenn Maynard 562a801a39 cleanup 2006-09-26 08:44:55 +00:00
Glenn Maynard 50a5d55383 fix gcc compile 2006-09-26 08:38:57 +00:00
Glenn Maynard 5d6be12093 update bindings 2006-09-26 08:26:49 +00:00
Glenn Maynard 8644ab382d missing header 2006-09-26 08:25:14 +00:00
Glenn Maynard 17ab6e2db3 update bindings
remove unused CourseDifficulty (alias of Difficulty)
2006-09-26 08:06:39 +00:00
Glenn Maynard a220b68c9e update bindings 2006-09-26 08:01:12 +00:00
Glenn Maynard 48bb38ee12 NUM_CoinMode 2006-09-26 07:49:25 +00:00
Glenn Maynard c67422591c update bindings 2006-09-26 07:48:47 +00:00
Glenn Maynard e8a3c636f6 SortOrder_INVALID, NUM_SortOrder 2006-09-26 07:42:55 +00:00
Glenn Maynard 2ed1154dfb update bindings 2006-09-26 07:33:26 +00:00
Glenn Maynard 600fdfea63 simplify LuaXType 2006-09-26 07:13:54 +00:00
Glenn Maynard 444dd8afbb update binding 2006-09-26 07:01:39 +00:00
Glenn Maynard 5595cd0443 typo 2006-09-26 06:56:39 +00:00
Glenn Maynard 0709d5ee4d remove LuaXType2 2006-09-26 06:48:53 +00:00
Glenn Maynard b2a67c4340 TweenType_Invalid 2006-09-26 06:48:30 +00:00
Glenn Maynard 95a384b970 LuaXType2 -> LuaXType 2006-09-26 06:47:53 +00:00
Glenn Maynard a0373a0add cleanup 2006-09-26 06:36:08 +00:00
Steve Checkoway 9914f50ade Safe macros. (Probably only needed if the type of argument is not known at compile time and accessed with something other than a constant.) 2006-09-26 05:50:40 +00:00
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
Steve Checkoway 4a545228a9 Simplify. 2006-09-26 05:34:18 +00:00
Glenn Maynard 687e006cdf remove unused 2006-09-26 05:17:29 +00:00
Glenn Maynard b4cf28c363 remove StageToString 2006-09-26 05:16:32 +00:00
Glenn Maynard 14b51a70d7 update Stage 2006-09-26 05:08:52 +00:00
Glenn Maynard f46eadb5fd update 2006-09-26 05:06:39 +00:00
Glenn Maynard 99ccb03ac7 update Difficulty 2006-09-26 05:04:14 +00:00
Glenn Maynard 64dec0bb42 fix StringToEnum 2006-09-26 05:03:55 +00:00
Glenn Maynard d000ab254e update 2006-09-26 04:48:09 +00:00
Glenn Maynard 1dbb7e49b7 update 2006-09-26 04:32:38 +00:00
Glenn Maynard 09affa7e8e remove unneeded 2006-09-26 04:32:14 +00:00
Glenn Maynard a6174f4bac new Difficulty binding 2006-09-26 04:31:59 +00:00
Steve Checkoway b722c135c6 Add file. 2006-09-26 04:31:54 +00:00
Glenn Maynard 5d9206fee3 didn't mean to rename this 2006-09-26 04:31:25 +00:00
Glenn Maynard 73e12fa20d PlayModeToString not useful in lua; it's already a string
transition
2006-09-26 04:22:01 +00:00
Glenn Maynard ca779520a5 NoteTypeToString not useful in lua; it's already a string
transition
2006-09-26 04:17:54 +00:00