Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford e31d0ce615 experiment: expose global singletons and their methods in Lua so we don't end up with tons of Lua function polluting the global namespace 2005-02-12 21:07:13 +00:00
Chris Danford 40c9e8fbe7 cache common metrics 2005-02-12 21:03:39 +00:00
Chris Danford d5022cb1b6 code style cleanup 2005-02-12 20:29:38 +00:00
Chris Danford 8476685ade fix metric name 2005-02-12 08:38:43 +00:00
Chris Danford 93b8ba48b6 Move OptionRow to a separate file
Don't init all BitmapText objects for long rows.  Calculate the row width, then init the text.
2005-02-11 07:50:26 +00:00
Chris Danford 16952cf29c replace ScreenBranches with Lua 2005-02-09 10:02:09 +00:00
Chris Danford 46f32c7828 add missing 2005-02-09 10:01:05 +00:00
Chris Danford dedab65789 allow Lua expressions in command metrics 2005-02-09 09:44:16 +00:00
Chris Danford 48846d48a4 cache metrics 2005-02-09 08:10:50 +00:00
Chris Danford 6c79849720 hard-coded -> metric 2005-02-09 07:50:30 +00:00
Chris Danford 73813115d3 shorten comment 2005-02-09 05:42:18 +00:00
Chris Danford 7db5d72fb6 add experimental GenreDisplay 2005-02-09 05:33:29 +00:00
Chris Danford 8c53c62f2b add Actor type registration 2005-02-09 05:31:14 +00:00
Chris Danford 1de61aa8ae split AutoActor into a separate file 2005-02-09 05:27:51 +00:00
Chris Danford 613b99d26f add experimental MessageManager 2005-02-09 05:20:49 +00:00
Chris Danford 72488ab88c add debug assert 2005-02-09 05:14:47 +00:00
Chris Danford ce82f9c5c6 don't read the metric before ThemeManager is loaded 2005-02-06 19:42:46 +00:00
Chris Danford a5e1ea15a4 cache 2005-02-06 19:15:38 +00:00
Chris Danford eadeb52f8e GetPathTo -> GetPath 2005-02-06 19:14:45 +00:00
Chris Danford d93d2d1681 cache OPTION_ORDER 2005-02-06 05:15:57 +00:00
Chris Danford e4117354ae add static-sized array versions of ThemeMetric 2005-02-06 04:57:57 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford 7e68ac03b4 change elements to have format "<name> <piece>" 2005-02-06 03:28:22 +00:00
Chris Danford 544dd78497 change elements to have format "<name> <piece>" 2005-02-06 03:06:42 +00:00
Chris Danford 72fea98241 rename element 2005-02-06 03:01:12 +00:00
Chris Danford 8dfdb3f9d2 background shouldn't be optional 2005-02-05 23:09:26 +00:00
Chris Danford 33661c13d6 zero the next update after creating or deleting a screen so we don't skip 2005-02-05 22:11:15 +00:00
Chris Danford 5844f7d297 fix build 2005-02-05 20:37:23 +00:00
Chris Danford 9d760bbdea move common subscription code into templated class 2005-02-05 11:21:13 +00:00
Chris Danford e2da825c30 re-register all ActorCommands after resetting Lua 2005-02-05 10:15:15 +00:00
Chris Danford 12a5a25648 simplify
don't reload shared BGA on metrics/texture reload
2005-02-05 07:35:02 +00:00
Chris Danford ae7076daf7 simplify fix for ATI 2005-02-05 06:43:35 +00:00
Chris Danford cc8d974192 give names to all course difficulties 2005-02-05 06:36:32 +00:00
Chris Danford 1b43db7b59 fix vertex shader on ATI 2005-02-05 06:34:25 +00:00
Chris Danford 6e7d4264fe add missing metrics 2005-02-02 08:48:14 +00:00
Chris Danford 0a4bba94fd cache ScreenOptions metrics 2005-02-02 08:32:20 +00:00
Chris Danford 17f69e2488 cache 2005-02-02 08:31:15 +00:00
Chris Danford 9ec779c22a fix VC6 2005-02-02 08:30:25 +00:00
Chris Danford 467c88c59b move members up 2005-02-02 06:52:07 +00:00
Chris Danford 26ce27d2f2 fix "assert if SHARED_PREVIEW_AND_CURSOR and player joins during fade out"
fix commands of shared elements being played once per player
2005-02-02 06:12:24 +00:00
Chris Danford 18f81721e6 add missing metrics 2005-02-02 05:37:40 +00:00
Chris Danford 180ce8eb36 fix VC6 2005-02-02 05:25:43 +00:00
Chris Danford e541ff5082 fix VC6 compile errors 2005-02-02 04:01:04 +00:00
Chris Danford 57c75d43e3 fix gcc compile 2005-02-01 22:40:27 +00:00
Chris Danford 275edd909b style cleanup 2005-02-01 07:50:26 +00:00
Chris Danford d6c33c96d6 fix GCC errors and warnings 2005-02-01 07:49:23 +00:00
Chris Danford 68dd253720 use templated classes instead of macros for easier debugging 2005-01-31 08:05:27 +00:00
Chris Danford 505dab87c2 add .SM genre tag 2005-01-31 05:25:27 +00:00
Chris Danford 20b6803fd8 add "trail" command 2005-01-31 04:46:18 +00:00
Chris Danford bc6d223db5 add asserts 2005-01-31 04:41:25 +00:00
Chris Danford ace7d6991c fix runtime Lua error 2005-01-31 03:43:49 +00:00
Chris Danford bab89e1b07 fix underlines showing in ScreenOptionsMenu 2005-01-31 03:32:59 +00:00
Chris Danford a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Chris Danford 3674f5a507 fix out of bounds access 2005-01-31 02:45:33 +00:00
Chris Danford 55b44767b4 require "[Screen] Class=foo" so that derived classes can inhereit "Class=" and not have to redefine it 2005-01-31 02:32:08 +00:00
Chris Danford 44f7715e89 fix VC6 proj 2005-01-31 02:27:53 +00:00
Chris Danford b5cf0b87eb add variables for workout 2005-01-31 02:00:00 +00:00
Chris Danford b98c3b8661 footer cleanup 2005-01-30 20:13:01 +00:00
Chris Danford b3e9d3aed0 fix options icon names 2005-01-29 22:47:37 +00:00
Chris Danford 7522bcff24 revert metrics test 2005-01-29 22:35:56 +00:00
Chris Danford e273da39c6 replace ScreenMenuJukebox with ScreenOptionsMaster 2005-01-29 21:56:24 +00:00
Chris Danford 4cb179e5ec remove debugging 2005-01-29 21:51:03 +00:00
Chris Danford 10810c1b9c update project files 2005-01-26 11:24:45 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford 1f00c84293 play OnCommand for shared background
(how did this ever work?)
2005-01-26 10:45:47 +00:00
Chris Danford 5f175c041c fix keymaps reading 2005-01-26 09:13:59 +00:00
Chris Danford 9ab13ad4f2 give the root node a name so that it's valid XML 2005-01-26 09:13:24 +00:00
Chris Danford f9b63793c8 fix vConnects not filled in correctly 2005-01-25 21:12:51 +00:00
Chris Danford ed6aa8b02e The Lua state needs to be reset on a theme change to reload scripts 2005-01-24 03:05:37 +00:00
Chris Danford cd9c48d645 LuaHelpers -> LuaManager 2005-01-24 02:26:55 +00:00
Chris Danford f4de06361d not necessary to reInit Lua on a theme change 2005-01-24 02:14:58 +00:00
Chris Danford b055671a63 LuaHelpers.cpp -> LuaManager 2005-01-24 02:12:07 +00:00
Chris Danford 29a1bbb993 add macros for Lua binding C++ classes 2005-01-24 02:11:23 +00:00
Chris Danford 5b223580e5 allow classes to register with Lua 2005-01-24 02:04:03 +00:00
Chris Danford 07a26bafc4 remove unused 2005-01-22 09:01:00 +00:00
Chris Danford cfb6ef953e cleanup 2005-01-22 09:00:31 +00:00
Chris Danford 864ca7bed4 split apart "GetSongCredits()" 2005-01-21 07:13:44 +00:00
Chris Danford ddab166dad fix "can't lay mines" 2005-01-21 06:47:50 +00:00
Chris Danford a3ed21da36 turn off sphere mapping on tex unit 0 after rendering 2005-01-21 06:14:20 +00:00
Chris Danford 663bd5d8b7 fix misspelling 2005-01-21 06:13:45 +00:00
Chris Danford 434d49a70b update VC6 proj 2005-01-21 06:01:18 +00:00
Chris Danford d92379cc5d update screen testing 2005-01-21 05:58:31 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Chris Danford cda4c3b04a make Actor LoadFromNode signatures consistent 2005-01-17 05:28:16 +00:00
Chris Danford adab436231 consolidate ScreenStage overlays 2005-01-17 04:32:12 +00:00
Chris Danford 90be873611 consolidate ScreenStage overlays 2005-01-17 04:10:50 +00:00
Chris Danford a5d40aad79 fix default.xml loading
add Condition check in LoadFromActorFile
2005-01-17 04:08:08 +00:00
Chris Danford f26a33713d add Lua functions 2005-01-17 04:05:40 +00:00
Chris Danford d1adfc6804 load default.xml instead of BGAnimation.ini if available 2005-01-17 01:32:45 +00:00
Chris Danford 8771872ac7 eliminate redundant INI read 2005-01-17 00:58:07 +00:00
Chris Danford 99afe19780 handle ActorScroller attributes in a more consistent way 2005-01-17 00:40:43 +00:00
Chris Danford 8a1fb93003 move attribute loading into the class that owns the attribute 2005-01-16 23:40:21 +00:00
Chris Danford f47c3bdc6c remove old file 2005-01-16 21:56:40 +00:00
Chris Danford a25730d0a4 cleanup 2005-01-16 21:00:26 +00:00
Chris Danford 66c6018ed1 cleanup ugly nested conditionals 2005-01-16 08:15:20 +00:00
Chris Danford f1dbeb2334 cleanup 2005-01-16 07:08:58 +00:00
Chris Danford 8f524bd0f5 fix background position and scale not set correctly 2005-01-16 05:51:04 +00:00
Chris Danford cfb9d284c5 simplify: combine two Actor deques into one 2005-01-16 04:35:47 +00:00
Chris Danford f2060969de fix tween overflow in Actor commands that call themself 2005-01-16 04:22:43 +00:00
Chris Danford 2122d3e45a style cleanup 2005-01-16 01:35:56 +00:00