Commit Graph

13121 Commits

Author SHA1 Message Date
Glenn Maynard dfe7ec00ae fix assert 2005-01-22 03:52:23 +00:00
Glenn Maynard 1d3613f161 for real this time :) 2005-01-22 03:39:39 +00:00
Glenn Maynard 754bce5c98 optimize rendering iteration 2005-01-22 03:11:29 +00:00
Glenn Maynard 032ddf0e08 Don't hold a redundant copy of the NoteData in NoteField. NoteField is
now just a renderer for NoteData.  This means we don't have to carefully
apply all changes to NoteData to NoteField.
2005-01-22 02:50:45 +00:00
Glenn Maynard 46ace22b79 continue merging NoteDataWithScoring stuff 2005-01-22 02:10:54 +00:00
Glenn Maynard c321bbe196 start merging NoteDataWithScoring and NoteField per-hold and per-tap
data into TapNote and HoldNote.  This reduces lookup costs significantly.
It's a bit simpler, though I'm not entirely happy with the resulting encapsulation ...
2005-01-22 01:37:32 +00:00
Glenn Maynard 5407f0998e merge tap result into a TapNoteResult struct 2005-01-21 22:50:13 +00:00
Glenn Maynard f19925001d unused 2005-01-21 22:43:49 +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
Glenn Maynard 2b73f63ea8 RetryCancel -> AbortRetry
remove Dialog::cancel
2005-01-20 19:40:24 +00:00
Glenn Maynard 38c6dcbb0b ugly hack to fix crash on "retry" 2005-01-20 19:16:47 +00:00
Glenn Maynard 6b2e1e6d13 more branch conversions 2005-01-20 18:29:20 +00:00
Glenn Maynard 75c7d7ec62 jump through fewer hoops with ScreenStage 2005-01-20 18:13:37 +00:00
Glenn Maynard 65e5d35937 unneeded include 2005-01-20 17:18:51 +00:00
Glenn Maynard 59d04d5755 proper portable fallback 2005-01-20 16:05:17 +00:00
Glenn Maynard 583eaf5532 fix syntax problem in some compilers 2005-01-20 14:53:22 +00:00
Glenn Maynard cc70e8dd82 fix old sort not being selected in sort menu 2005-01-20 03:15:01 +00:00
Glenn Maynard a2e18e1f78 update 2005-01-20 03:12:02 +00:00
Glenn Maynard 5670caf20d update 2005-01-20 02:39:22 +00:00
Glenn Maynard 808f7ab7d5 fix m_meterSongPosition finishing too soon 2005-01-20 02:21:55 +00:00
Glenn Maynard 43ae26174e removed 2005-01-20 02:11:59 +00:00
Glenn Maynard 6fdf6bfa57 cleanup 2005-01-20 02:07:02 +00:00
Glenn Maynard d00062b915 fix gcc compile 2005-01-20 02:04:46 +00:00
Glenn Maynard b19f730790 script fix 2005-01-20 01:51:30 +00:00
Glenn Maynard 362c2a1d10 remove some unused stuff 2005-01-20 01:50:56 +00:00
Glenn Maynard 7ac35530e9 comment 2005-01-20 01:49:04 +00:00
Glenn Maynard 5f4ee474f5 comments 2005-01-20 01:47:45 +00:00
Glenn Maynard b8532a2880 update 2005-01-20 01:46:13 +00:00
Glenn Maynard ce043592f3 Remove Xbox stuff from LoadingWindow_SDL; I don't think that build uses SDL anymore. Note that this type of platform-specific stuff doesn't belong in generic drivers like this ... 2005-01-20 01:44:46 +00:00
Glenn Maynard 1a1ab12c1f cleanup 2005-01-20 01:42:06 +00:00
Glenn Maynard 9fc3addf45 cleanup 2005-01-20 01:42:05 +00:00
Glenn Maynard 9ebd1d19dd more renames 2005-01-20 01:35:49 +00:00
Glenn Maynard 4a442d1699 more renames 2005-01-20 01:30:56 +00:00
Glenn Maynard 24250824de At the cost of losing change history, I'm renaming a couple "SDL" filenames
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00
Glenn Maynard 21316d7904 use GetArg, so parameters are evaluated correctly 2005-01-20 01:09:34 +00:00
Glenn Maynard e3ce7e8e73 fix script loading
move @expression evaluation into LuaManager (LuaManager::RunAtExpression)
evaluate string command parameters
2005-01-20 01:08:26 +00:00
Glenn Maynard ae1329802b SelectEvaluationScreen() 2005-01-20 00:38:25 +00:00
Glenn Maynard 6493010e49 Use a Lua script to select the evaluation screen, instead of a ScreenBranch.
This approach has several advantages.  It's more flexible; full conditionals
can be used.  It mixes with things like the "bGoingToPlayTheSameMusic"
logic in ScreenAttract much better; it gets the real real next screen, not
the branch.  It also mixes with screen preloading, such as used by ScreenStage.

(I don't know if grouping functions that are used like branches makes sense;
I'm not sure how Lua will be used in general, so this stuff might get reorganized
later.)
2005-01-20 00:37:33 +00:00
Glenn Maynard d18a8342fc s/Lua/Scripts/ (we don't call the "Graphics" directory "Png/" ...) 2005-01-19 23:46:09 +00:00
Glenn Maynard 714bf62d5d add "Trace" (in here and not RageLog because I'm not yet quite ready
to make everything in Rage depend on Lua ...)
2005-01-19 23:43:28 +00:00
Glenn Maynard 5ef0d4159d Load global Lua scripts.
This is appropriate for global scripts which are loaded only once, and
used multiple times: the scripts can safely affect global state (eg. override
functions), and stay in memory.  There's no way to unload them short
of resetting the Lua state.  It's not appropriate for one-shot scripts, such
as those that might be associated with BGAnimations.  (needs more work)
2005-01-19 23:36:15 +00:00
Glenn Maynard dd3aa1c12e I'd hoped to not need explicit initialization of Lua, but it's more
trouble than it's worth.

Add LuaManager::RunScriptFile, LuaManager::RunScript, LuaManager::Init.
2005-01-19 23:33:19 +00:00
Glenn Maynard 0f4aec8584 change Lua to a singleton object
hide Lua state
2005-01-19 23:01:53 +00:00
Glenn Maynard 91a6486f9e start changing Lua to a singleton object 2005-01-19 22:27:24 +00:00
Glenn Maynard 048ff316e7 comment 2005-01-19 21:45:09 +00:00