Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 8588b48a15 Set the perspective when drawing in a subclass of ActorFrame, not just for children of subclasses. 2006-10-26 06:03:12 +00:00
Steve Checkoway 840a11d589 Unused. 2006-10-23 18:34:43 +00:00
Steve Checkoway 522cb68178 Comment. 2006-10-23 18:21:46 +00:00
Steve Checkoway 9d19fd5008 Simplify. 2006-10-23 03:35:34 +00:00
Steve Checkoway 802b2349a1 Simplify reverse iterators. There isn't a "past the beginning" iterator so this is hard to make a true bidirectional iterator. Instead restrict this to a single direction based on the m_bReverse parameter. Use the "past the end" iterator in place of the "past the beginning" iterator when in reverse. 2006-10-23 03:33:24 +00:00
Steve Checkoway 979f7843ed Optimize. It's a bit tricky to think about but pleasantly symmetric. 2006-10-23 01:03:49 +00:00
Steve Checkoway 4805c6889d Fix statement with no effect. = has a higher precedence than ?:. 2006-10-23 00:15:43 +00:00
Steve Checkoway a8d0c464e2 Unused. 2006-10-23 00:14:29 +00:00
Steve Checkoway cd9ec6d6c0 Pointers to a member function Foo::Bar() have the form &Foo::Bar. The & is mandatory, unlike pointers to functions. 2006-10-23 00:14:12 +00:00
Steve Checkoway 6a4e58a8fd Cannot pass nonPOD through ..., will abort at runtime. (Why gcc doesn't just make this an error, I'll never know.) 2006-10-21 08:59:00 +00:00
Steve Checkoway 89f60be8bf ctor. 2006-10-21 08:55:54 +00:00
Steve Checkoway 56d052f6f1 Fix potential crash if the style has more columns than the max allowed. 2006-10-20 07:50:20 +00:00
Steve Checkoway 228e566f21 Simplify. 2006-10-20 07:45:36 +00:00
Steve Checkoway 1b6b6f68c2 GenericTween(On|Off). 2006-10-20 07:29:23 +00:00
Steve Checkoway ea34c45ab3 Oops. Turn debugging off. 2006-10-20 07:27:19 +00:00
Steve Checkoway 80a0cf4e5b Metrics update. The timer is not shown. I am not quite sure why. 2006-10-20 07:24:11 +00:00
Steve Checkoway 035c833314 Unused. 2006-10-20 07:17:31 +00:00
Steve Checkoway 18ad948dac Simplify by inheriting from SWME. 2006-10-20 07:08:36 +00:00
Steve Checkoway 412413fa5c m_sName. 2006-10-20 06:47:20 +00:00
Steve Checkoway 5476c60b41 Stick the scrolling text into a separate actor and add that as a child. The scrolling text only needs a single BitmapText "stamp" that it moves around and draws. 2006-10-20 06:44:15 +00:00
Steve Checkoway dc10e741d7 Fix perspective. 2006-10-20 04:32:46 +00:00
Steve Checkoway eefc6e283f BlendMode 2006-10-17 21:07:00 +00:00
Steve Checkoway 200063c9a4 Add bitmap text in lua. Just an example, feel free to make this look good now. 2006-10-17 20:23:22 +00:00
Steve Checkoway 4ad2102387 Cleanup. 2006-10-17 10:00:18 +00:00
Steve Checkoway 96190e04b3 Stretch. Having widescreen graphics that we could just crop would be much better. Anyone want to make such backgrounds? 2006-10-17 09:25:25 +00:00
Steve Checkoway b863eef79a Difficulty. Remove unused deprecated. 2006-10-17 08:41:33 +00:00
Steve Checkoway 9b7c143048 Fix path 2006-10-17 08:34:18 +00:00
Steve Checkoway e00b841aec Fix extra stage. 2006-10-17 08:23:09 +00:00
Steve Checkoway 64138f7894 Enums. 2006-10-17 08:22:47 +00:00
Steve Checkoway f0bf9264c2 static. 2006-10-17 08:14:45 +00:00
Steve Checkoway b90d4f8769 Cleanup. 2006-10-17 07:56:48 +00:00
Steve Checkoway 22720e8338 Use filename. 2006-10-16 10:34:20 +00:00
Steve Checkoway a19dad4716 Fix input crash and add text as subactors. 2006-10-16 10:16:47 +00:00
Steve Checkoway 156322028e Play name entry music. 2006-10-16 09:31:28 +00:00
Steve Checkoway ea383df3e1 Static. 2006-10-16 09:01:39 +00:00
Steve Checkoway 52e55b8efc Cleanup. This is done in the metrics with lua. 2006-10-16 08:47:15 +00:00
Steve Checkoway baa0c8e6c8 It does. RString( num, c ). 2006-10-16 08:44:12 +00:00
Steve Checkoway 59a7aee9b5 Use metrics. 2006-10-16 08:42:54 +00:00
Steve Checkoway 15a60d7f9d Once CurrentStringIndex is equal to MAX_RANKING_NAME_LENGTH, it isn't going to change so break. 2006-10-16 08:27:49 +00:00
Steve Checkoway 07d33c3935 widescreen 2006-10-16 08:08:02 +00:00
Steve Checkoway 7fa809ed32 I am not totally positive that this is the correct way to do this, but it seems to work in widescreen now. 2006-10-16 08:05:53 +00:00
Steve Checkoway d07dc2335a static. 2006-10-16 07:30:25 +00:00
Steve Checkoway 8d02fa3eb3 Cleanup. 2006-10-16 07:18:03 +00:00
Steve Checkoway 793c616f38 Simplify. 2006-10-16 04:53:48 +00:00
Steve Checkoway bffe668d00 Real unique names now. 2006-10-16 04:52:12 +00:00
Steve Checkoway 75564786d4 Generate a "unique" name based on line numbers. 2006-10-16 04:51:46 +00:00
Steve Checkoway 1e3466997e Cleanup. 2006-10-15 09:53:27 +00:00
Steve Checkoway 061df3ccfa cleanup 2006-10-15 09:51:54 +00:00
Steve Checkoway 4590dea0b3 Partial revert. Glenn knew what he was doing with lua_next(), even if I did not. =) 2006-10-15 08:47:31 +00:00
Steve Checkoway 28df192f43 Remove debugging. 2006-10-15 08:07:34 +00:00
Steve Checkoway c3eccabd98 foo? 2006-10-15 08:00:28 +00:00
Steve Checkoway 1948d57161 Simplify. 2006-10-15 07:51:38 +00:00
Steve Checkoway 335227c095 Nothing is pushed when lua_next() returns 0. 2006-10-15 07:39:16 +00:00
Steve Checkoway a183541eed Use FOREACH_LUATABLE. 2006-10-15 03:16:06 +00:00
Steve Checkoway 943ba7e0fa FOREACH_LUATABLE simplifies iterating over all key-value pairs in the lua table at index. One difference with calling lua_next() is that the key is duplicated and pushed onto the stack above the value. At the beginning of the loop body the stack looks like:
-1 key
-2 value
-3 key
...
The top key and value can be removed or modified as required. The key at -3 should not be touched since it is required for the next iteration through the loop.

Stack management is simplified. Anything left on the stack above the key will be popped. After the loop terminates normally, the stack will be as it was before the loop was entered (no nil values to clean up).
2006-10-15 03:15:32 +00:00
Steve Checkoway f3c949486e NEver -> Never. 2006-10-15 01:33:36 +00:00
Steve Checkoway fbd0863d56 Unused. 2006-10-15 00:09:59 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Steve Checkoway a6b3f71e67 Change some settings. 2006-10-14 22:20:24 +00:00
Steve Checkoway 3ef367e613 fix 2006-10-14 21:59:51 +00:00
Steve Checkoway daa4b4617c "0" is not a boolean. 2006-10-14 08:04:57 +00:00
Steve Checkoway 4195f10b80 LoadingScreen is a global. 2006-10-14 07:00:31 +00:00
Steve Checkoway 2568284699 Unbreak HighScoreForACourseAndTrail node creation. 2006-10-14 06:53:16 +00:00
Steve Checkoway bc6fb8d7ed Add targets for lua and luac since we build custom versions of them. 2006-10-14 04:29:32 +00:00
Steve Checkoway 3e913de2d2 Fix warning coming from system headers. Add a newline in error messages that will likely never be emitted... 2006-10-13 05:11:54 +00:00
Steve Checkoway 6f426c169a Make sure that the correct function is actually overridden. See list. 2006-10-12 07:04:20 +00:00
Steve Checkoway bf641a3510 Change some settings. 2006-10-12 06:45:54 +00:00
Steve Checkoway 6fd4694b79 Simplify. 2006-10-11 11:12:09 +00:00
Steve Checkoway 35a20193ef Fix "statement with no effect." 2006-10-11 10:50:17 +00:00
Steve Checkoway 8ef7317b57 Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 10:23:31 +00:00
Steve Checkoway 7046538f4e Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 10:15:36 +00:00
Steve Checkoway c532646ac1 Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 09:33:09 +00:00
Steve Checkoway 9ad5ac4b3e Fix warning. 2006-10-09 08:25:28 +00:00
Steve Checkoway 0a88ac65f2 Narrow the Load() interface--there's no need to expose the initial offset or the returned offset. Call InitEntities() to make sure those are set up. 2006-10-08 23:44:58 +00:00
Steve Checkoway b06cb5a268 LUA_USE_MACOSX 2006-10-08 21:05:06 +00:00
Steve Checkoway 4d8564e803 LUA_USE_LINUX 2006-10-08 21:04:22 +00:00
Steve Checkoway df5d19bd97 Cleanup. 2006-10-07 11:41:52 +00:00
Steve Checkoway 73663c4f8a CourseDifficulty. 2006-10-07 10:49:53 +00:00
Steve Checkoway 64cf91a6bc Make CourseDifficulty its own enum. 2006-10-07 10:49:04 +00:00
Steve Checkoway 0600ff5a1c Invalid. 2006-10-07 09:46:11 +00:00
Steve Checkoway dff1ed1c05 Remove files. 2006-10-07 08:28:51 +00:00
Steve Checkoway 03ed75018f Fix compile for apple's g++ 4.0.1. 2006-10-05 10:32:57 +00:00
Steve Checkoway 0e0fcfe6cf Extra header. 2006-10-05 09:02:07 +00:00
Steve Checkoway 2b8a7f4a14 Silence warning with g++ 4. (Somehow it can't tell that this must exit before the end of the function. I suspect it's the goto.) 2006-10-03 06:29:32 +00:00
Steve Checkoway 24a147c74b Fix warning. 2006-10-03 03:37:31 +00:00
Steve Checkoway aeee3d9758 Declare HoldNoteScore. 2006-10-02 01:32:06 +00:00
Steve Checkoway d2b9ea130d Separate declaration from definition. This way, if LuaXType( Foo ) is used without a preceding LuaDeclareType( Foo ) the compiler will complain. 2006-10-02 01:31:24 +00:00
Steve Checkoway 78d3e04936 For some reason, explicitly instantiating struct EnumTraits<X> isn't enough. When defining the static members, it needs template<> as well. 2006-10-02 00:49:11 +00:00
Steve Checkoway 2ead045397 Something is already pulling this in in ScreenEdit.h. 2006-10-02 00:40:22 +00:00
Steve Checkoway a1c30f9211 Type punned pointers break strict-aliasing rules. I'm not sure this ENUM_CLAMP works very well since generally you want to clamp between 0 and Num_Foo but it requires casting both rvalues. Hmm... 2006-10-02 00:28:31 +00:00
Steve Checkoway ca0f34d5a8 End with a new line. 2006-10-01 14:58:19 +00:00
Steve Checkoway 40212d0a01 Simplify. Done. 2006-10-01 14:53:03 +00:00
Steve Checkoway 01fb4540f3 Simplify. 2006-10-01 14:51:50 +00:00
Steve Checkoway 65007cf941 ctor that takes the name. 2006-10-01 14:46:28 +00:00
Steve Checkoway b22b7972aa Simplify. 2006-10-01 14:24:19 +00:00
Steve Checkoway b885a19f89 Simplify. 2006-10-01 14:22:15 +00:00
Steve Checkoway b7ce93ffad Simplify. 2006-10-01 14:02:24 +00:00
Steve Checkoway f73100705b Simplify. 2006-10-01 13:55:01 +00:00
Steve Checkoway 01cd66bd0f DISP_OPT -> XMLDisplayOptions. 2006-10-01 13:07:20 +00:00