Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 12e7f2d5da comments 2005-02-13 04:48:05 +00:00
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
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
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
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
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
Glenn Maynard ccc31cad7f SelectTypeToString, StringToSelectType, LayoutTypeToString, StringToLayoutType 2005-02-12 05:08:43 +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
Glenn Maynard 06ddb73d93 don't reset if already wagging 2005-02-11 02:56:08 +00:00
Glenn Maynard a847b4f47b fix paste clearing everything after the paste; also fixes compress, etc.
problems
2005-02-10 05:07:34 +00:00
Glenn Maynard 537f3a86b1 editor BPM changing fixes: conditional was backwards, and epsilon
must be smaller since we're in BPS
2005-02-10 04:59:03 +00:00
Glenn Maynard 36b99323fb Validate material indices, so we don't crash if a mesh references material 9999. 2005-02-10 02:40:56 +00:00
Glenn Maynard 0c4f7889a5 remove comment 2005-02-09 08:20:10 +00:00
Glenn Maynard 6a45379ade add back alias 2005-02-09 08:10:34 +00:00
Glenn Maynard 58510d151d allow registering more than one screen class in a file 2005-02-08 08:37:40 +00:00
Glenn Maynard 475238dc2d Realtek AC97 Audio workaround 2005-02-08 06:08:18 +00:00
Glenn Maynard 1634d1cad1 GraphicsWindow::GetHwnd 2005-02-08 05:23:57 +00:00
Glenn Maynard 404d80e600 call ShutdownGame after HOOKS->RestartProgram, since it deletes HOOKS 2005-02-08 05:09:51 +00:00
Glenn Maynard 98a558006b fix hands results 2005-02-08 02:08:04 +00:00
Glenn Maynard de0783842a fix Echo hanging 2005-02-08 01:05:02 +00:00
Glenn Maynard cb7255860c ug, revert 2005-02-07 23:50:44 +00:00
Glenn Maynard ebb4b0b28d fix ScreenStage delay 2005-02-07 23:46:41 +00:00
Glenn Maynard 2bdff91293 preload cancel all sound 2005-02-07 23:31:55 +00:00
Glenn Maynard f752e1c3b0 hide NoteData::InsertHoldTails away in NoteDataUtils 2005-02-07 22:03:32 +00:00
Glenn Maynard 10bc0bf336 remove NoteData::RemoveHoldTails
cleanup
2005-02-07 21:55:43 +00:00
Glenn Maynard d29a686245 remove TAP_ORIGINAL_HOLD_TAIL 2005-02-07 21:32:22 +00:00
Glenn Maynard 8a6d8aa6f0 do NoteDataUtil::LoadFromSMNoteDataString without RemoveHoldTails 2005-02-07 21:31:18 +00:00
Glenn Maynard 62ed8ffd2f implement clamping for caps 2005-02-07 21:13:04 +00:00
Glenn Maynard d1fbf3f1f5 Only iterate over the section of a hold note that's on screen. Fixes slowness
with extremely long hold notes; now, even if a hold note has a
MAX_NOTE_ROW duration (which would be a bug), we shouldn't slow down.
2005-02-07 21:00:21 +00:00
Glenn Maynard 1962259078 revert; bugs should be fixed, not ignored 2005-02-07 19:27:49 +00:00
Glenn Maynard f8084888fe Only do NTPAD check in Windows. This belongs in ArchHooks, but I don't want to drag INPUTMAN into there ... 2005-02-07 09:48:52 +00:00
Glenn Maynard 22a177d345 This isn't needed; the correct fix for debugging in 2k is to enable emulated DirectInput (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectInput\Emulation). 2005-02-07 09:46:45 +00:00
Glenn Maynard 3a973eecbb move priority boosting stuff to ArchHooks 2005-02-07 09:35:07 +00:00
Glenn Maynard c622e6efd9 cleanup 2005-02-07 09:23:20 +00:00
Glenn Maynard dc0582de4b fix compile 2005-02-07 09:21:13 +00:00
Glenn Maynard a0cb54c2be fix compile, cleanup 2005-02-07 09:19:53 +00:00
Glenn Maynard 715a688008 remove platform-specific stuff from StpeMania.cpp 2005-02-07 09:17:57 +00:00
Glenn Maynard 1ffe2f4b89 make g_hWndMain local to GraphicsWindow 2005-02-07 09:16:48 +00:00
Glenn Maynard 7ccda6012d use GraphicsWindow::GetHwnd 2005-02-07 09:16:00 +00:00
Glenn Maynard 28241e30aa add GraphicsWindow::GetHwnd 2005-02-07 09:09:29 +00:00
Glenn Maynard acceffb39a cleanup 2005-02-07 09:04:53 +00:00
Glenn Maynard bbd1b1ee57 cleanup 2005-02-07 09:03:43 +00:00
Glenn Maynard d4305e12ed includes 2005-02-07 09:00:43 +00:00
Glenn Maynard 1d4d44af08 Fix loading window getting the default icon, by loading an icon from the theme as early as we can. 2005-02-07 08:59:02 +00:00
Glenn Maynard ca3e1ef9ff LoadingWindow::SetIcon 2005-02-07 08:57:13 +00:00
Glenn Maynard cd7b71ebd7 loading windows should do the initial paint themselves 2005-02-07 08:40:37 +00:00
Glenn Maynard bf4299dd2e cleanup 2005-02-07 08:26:07 +00:00
Glenn Maynard fb0aa0f465 allow wildcard unmounting 2005-02-07 08:11:40 +00:00
Glenn Maynard ad59a32a69 flush sound after first update 2005-02-07 07:41:31 +00:00
Glenn Maynard cba25bd409 fix flush 2005-02-07 07:40:50 +00:00
Glenn Maynard 7e877634c4 use plain locked vectors; less opportunity for memory leaks 2005-02-07 07:25:32 +00:00
Glenn Maynard c2317c7a40 use a wakeup signal instead of lame polling (cleanups as a result coming) 2005-02-07 07:06:28 +00:00
Glenn Maynard 96356eafdf fix compile 2005-02-07 07:02:51 +00:00
Glenn Maynard c60f76ebb5 simplify: remove g_ThreadedMusicStart 2005-02-07 06:56:05 +00:00
Glenn Maynard 9fc30dc5e2 comment 2005-02-07 06:55:26 +00:00
Glenn Maynard 15a692d4cc cleanups 2005-02-07 06:49:00 +00:00
Glenn Maynard a0c9398419 cleanup 2005-02-07 06:46:41 +00:00
Glenn Maynard 9c54026391 do both score mappings together 2005-02-07 06:20:22 +00:00
Glenn Maynard 72d7695bed run autosync before the game mapping (really) 2005-02-07 06:19:43 +00:00
Glenn Maynard 188cbfa063 merge TNS_HIT_MINE handling 2005-02-07 06:17:07 +00:00
Glenn Maynard 714a432012 cleanup 2005-02-07 06:07:52 +00:00
Glenn Maynard 4e51acd2f6 run autosync before the game mapping; cleanup 2005-02-07 06:06:51 +00:00
Glenn Maynard efd190316d move mapping into Game 2005-02-07 06:05:42 +00:00
Glenn Maynard 7cb1b266d3 improve scoping 2005-02-07 06:02:15 +00:00
Glenn Maynard f390d4da75 only do a separate search for keys if the initial search didn't find anything;
if we're testing a tap to grade it, always use that tap's key, too
2005-02-07 05:58:23 +00:00
Glenn Maynard 69284c6692 fix mapping
cleanup
2005-02-07 05:56:43 +00:00
Glenn Maynard c9021889e9 simplify 2005-02-07 04:43:39 +00:00
Glenn Maynard 1905fc9a22 attempting to clean up Player::Step. This just shifts the stuff to
ScreenGameplay::Update, but at least it keeps this logic out of Player ...
2005-02-07 04:12:51 +00:00
Glenn Maynard c37de6424a cleanup. Change2DAnimState only sets a variable, and nothing else
ever changes it, so there's no harm in sending the same value repeatedly.
2005-02-07 04:02:38 +00:00
Glenn Maynard 5a83da5411 cleanup 2005-02-07 04:00:18 +00:00