Commit Graph

13604 Commits

Author SHA1 Message Date
Glenn Maynard bdf3e4ddd8 warning: `class ProfileManager' has virtual functions but non-virtual destructor 2005-02-13 04:14:33 +00:00
Glenn Maynard 7a2a367522 warning: `class GameState' has virtual functions but non-virtual destructor 2005-02-13 04:12:02 +00:00
Glenn Maynard fe6cd41543 update
add LuaManager::CreateTableFromArray, LuaManager::ReadArrayFromTable
2005-02-13 04:09:28 +00:00
Glenn Maynard 11002ff5b2 ActorCommands is a LuaReference 2005-02-13 04:07:29 +00:00
Glenn Maynard 40f82442b0 add assert (because ActorCommands.PushSelf() no longer does it) 2005-02-13 04:06:14 +00:00
Glenn Maynard 4a25a4b43a update 2005-02-13 04:04:43 +00:00
Glenn Maynard c423e070aa Move Lua reference handling into a generic base class. 2005-02-13 04:00:48 +00:00
Glenn Maynard 97277824d9 comment, cleanup (dear god this is boring) 2005-02-13 03:50:51 +00:00
Glenn Maynard 2412c73b22 comment, cleanup 2005-02-13 03:40:37 +00:00
Glenn Maynard 5531efed09 comments, cleanup 2005-02-13 03:27:21 +00:00
Glenn Maynard 0e8b4b8371 comments, cleanup 2005-02-13 03:21:22 +00:00
Glenn Maynard f07ac5cf74 comment, cleanup 2005-02-13 03:13:33 +00:00
Glenn Maynard 91e8e6a430 comment 2005-02-13 03:08:45 +00:00
Glenn Maynard fa32951449 cleanup 2005-02-13 03:05:19 +00:00
Glenn Maynard 3380df27cd cleanup, const 2005-02-13 03:00:19 +00:00
Glenn Maynard 55c67ef857 shorten (the extra stuff in this was out of date, anyway; best to keep the brief description simple enough that it doesn't easily become outdated) 2005-02-13 02:57:11 +00:00
Glenn Maynard de99ad0e03 style cleanup; move the license text to the bottom 2005-02-13 02:52:44 +00:00
Glenn Maynard b86576a6d7 style cleaup 2005-02-13 02:50:14 +00:00
Glenn Maynard 1b069fb432 const; fix "warning: `class ThemeManager' has virtual functions but non-virtual destructor" 2005-02-13 02:47:53 +00:00
Glenn Maynard 64a8ee3303 shorten 2005-02-13 02:45:47 +00:00
Glenn Maynard b9c64a7fce Add license footer. (This file probably isn't copyrightable, anyway, but better to be consistent just in case ...) (also other header boilerplate) 2005-02-13 02:44:30 +00:00
Chris Danford 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Chris Danford 4264182ea1 use Lua function PlayerColor instead of color constants 2005-02-12 23:04:46 +00:00
Chris Danford 8decda4f63 allow AtExpressions in Commands 2005-02-12 22:54:15 +00:00
Chris Danford e38164e74f yell louder on error when parsing scripts 2005-02-12 22:53:51 +00:00
Chris Danford 1bd60eb3fb construct LUA after THEME 2005-02-12 22:53:03 +00:00
Chris Danford 3d72b8cc37 expose ThemeManager in Lua
add PLAYER_* constants to Lua
Change GetMetric* to allow AtExpressions
2005-02-12 22:52:24 +00:00
Glenn Maynard fb3dbd8610 fix vc7 compile 2005-02-12 22:35:38 +00:00
Glenn Maynard 1ae82eeec0 er, don't define operator= in terms of operator= 2005-02-12 22:00:17 +00:00
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
Glenn Maynard 790f06aa16 Underlay metrics.
I've added this at 0,0, instead of CENTER, because it's usually a BGA;
it's more natural to specify absolute coordinates in a top-level BGA than
coordinates relative to the center.  I'll change Overlay over later when I
have time to test it.
2005-02-12 20:34:00 +00:00
Glenn Maynard a6ccaff834 Add a separate underlay layer. This should be used for adding actors
instead of modifying background, since changing the background per-
screen breaks the "persist background" logic in ScreenManager.
2005-02-12 20:31:15 +00:00
Chris Danford d5022cb1b6 code style cleanup 2005-02-12 20:29:38 +00:00
Glenn Maynard 5400d71e4d fix loading "p1combo" instead of "p1 combo" 2005-02-12 19:29:43 +00:00
Glenn Maynard b3cba1b726 remove old hack per stepmania-devs post; model code shouldn't be
loading character.ini
2005-02-12 18:03:04 +00:00
Glenn Maynard e166bbcb48 cleanup 2005-02-12 17:53:36 +00:00
Glenn Maynard 859ca34079 fix options menu loading every other menu 2005-02-12 09:07:59 +00:00
Chris Danford 8476685ade fix metric name 2005-02-12 08:38:43 +00:00
Glenn Maynard cea0103b59 DWI read/write fixes 2005-02-12 08:18:31 +00:00
Glenn Maynard 10a4f13c51 move InsertHoldTails into NoteDataUtil 2005-02-12 08:16:02 +00:00
Glenn Maynard d1ed849cb5 Revert. Removing assertions that you don't understand is not an acceptable
fix.  Fix bugs, don't ignore them.
2005-02-12 06:57:52 +00:00
Glenn Maynard 23d907e3d4 remove ill-formatted comment (I feel like I've asked him to space comments
readably, like the rest of the code, half a dozen times).

The function is probably just returning ERROR_CALL_NOT_IMPLEMENTED.
If it's returning some other error, find out what it is and add it to the conditional.  Don't
just break out without understanding the logic of the rest of the function.
2005-02-12 06:21:29 +00:00
Charles Lohr 0051938177 We really shouldn't crash on systems this command is not fully supported on. Windows 9x will always respond with a 1. 2005-02-12 05:32:35 +00:00
Charles Lohr 462e471648 "Fix" Crash on unended hold notes. 2005-02-12 05:30:30 +00:00
Glenn Maynard ccc31cad7f SelectTypeToString, StringToSelectType, LayoutTypeToString, StringToLayoutType 2005-02-12 05:08: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
Glenn Maynard a3e585b886 fix crash 2005-02-11 04:07:30 +00:00
Glenn Maynard fb36d944f9 fix warnings (why aren't OpenGL handles a pointer type? yuck) 2005-02-11 04:06:52 +00:00
Glenn Maynard 775d18fe2d add RageThread::GetName() 2005-02-11 04:05:50 +00:00