Glenn Maynard
6e155cf810
use PROFILEMAN->RenameLocalProfile
2005-08-13 05:08:09 +00:00
Glenn Maynard
02665b4bcc
set up option rows in BeginScreen, not Init. fixes deleted profiles not disappearing, etc
2005-08-13 05:02:54 +00:00
Glenn Maynard
18a1459284
fix assert if InitMenu is called more than once on a screen that uses OptionRowHandlers
2005-08-13 04:57:41 +00:00
Glenn Maynard
18d3efa6e1
allow loading editable data from stats.xml
2005-08-13 03:16:28 +00:00
Glenn Maynard
570713023a
cleanup
2005-08-13 02:30:21 +00:00
Glenn Maynard
53b3c35663
unused
2005-08-13 01:50:32 +00:00
Glenn Maynard
77d5d0466f
CreateLocalProfileByID -> AddLocalProfileByID (to allow code to set up
...
a local profile on its own)
2005-08-13 01:47:56 +00:00
Glenn Maynard
674ddf419a
simplify
2005-08-13 01:38:35 +00:00
Glenn Maynard
828c44f299
flush in SaveAllToDir, instead of CreateNewProfile
2005-08-13 01:32:50 +00:00
Glenn Maynard
18911711c4
split FillProfile
2005-08-13 00:10:18 +00:00
Glenn Maynard
3a464572b4
cleanup
2005-08-13 00:03:56 +00:00
Glenn Maynard
16e2681225
simplify
2005-08-12 23:39:26 +00:00
Glenn Maynard
37fc8656a1
static
2005-08-12 23:37:16 +00:00
Glenn Maynard
537491e1ed
cleanup
2005-08-12 23:35:18 +00:00
Glenn Maynard
77e37fa38b
ScreenPrompt::BeginScreen
2005-08-12 23:34:44 +00:00
Glenn Maynard
450cbfa66b
make STextEntry work more like other screens: single parameter ctor, move
...
the special load stuff into a separate function (called any time before
BeginScreen)
2005-08-12 22:46:32 +00:00
Glenn Maynard
f264975834
delete profiles without reloading all old ones
2005-08-12 19:12:20 +00:00
Glenn Maynard
6fd6304502
rename profiles without reloading all old ones
...
assert
2005-08-12 19:05:38 +00:00
Glenn Maynard
39656d87ec
create new profiles without reloading all old ones
2005-08-12 18:40:12 +00:00
Glenn Maynard
d01af9bde2
typo
2005-08-12 04:13:08 +00:00
Glenn Maynard
85d66d4a6c
dumb fix
2005-08-12 04:12:33 +00:00
Glenn Maynard
b5cca118e0
add TWEEN_SMOOTH
2005-08-12 04:08:51 +00:00
Glenn Maynard
f54745f8da
fix warning
2005-08-12 04:05:19 +00:00
Glenn Maynard
fbfafcecbb
pull code out of header
2005-08-12 03:22:44 +00:00
Glenn Maynard
ca72464405
simplify
2005-08-12 03:18:31 +00:00
Glenn Maynard
6c8fd11e93
merge common code
2005-08-12 03:16:44 +00:00
Glenn Maynard
ce5643c76a
flip logic ("if(!a) b else c" -> "if(a) c else b")
2005-08-12 03:16:21 +00:00
Glenn Maynard
643d264ce0
cleanup, de-interleace accessors
2005-08-12 03:14:50 +00:00
Glenn Maynard
52eb7a79b8
cleanup
2005-08-12 03:12:54 +00:00
Glenn Maynard
095513c3d7
hide more
2005-08-12 03:10:53 +00:00
Glenn Maynard
2b1b57b81f
hide more
2005-08-12 03:03:54 +00:00
Glenn Maynard
8af1f7003d
hide more
2005-08-12 02:55:48 +00:00
Glenn Maynard
70a109c54b
fPercentDP, fSurviveSeconds
2005-08-12 02:46:58 +00:00
Glenn Maynard
d3bd7a7723
hide iScore
2005-08-12 02:37:04 +00:00
Glenn Maynard
aa04fe60dd
hide grade
2005-08-12 02:19:08 +00:00
Glenn Maynard
2307fa23d9
hidden HighScore::sName
2005-08-12 01:52:01 +00:00
Glenn Maynard
4f7da83726
pull function out of header
...
const
2005-08-12 01:29:40 +00:00
Glenn Maynard
09b7bb96bc
working on hiding HighScore internals
2005-08-12 01:05:35 +00:00
Glenn Maynard
f4caf2275f
simplify
2005-08-11 23:57:20 +00:00
Glenn Maynard
453de64456
LoadEditFromBuffer and friends (analogs of NotesLoaderSM calls)
2005-08-11 23:29:47 +00:00
Glenn Maynard
4ca6bf6282
implement CourseWriterCRS::GetEditFile, CourseWriterCRS::Write(RageFileBasic)
2005-08-11 23:28:18 +00:00
Glenn Maynard
09b44c9766
split GetLocalProfileByID
2005-08-11 23:14:32 +00:00
Glenn Maynard
3c93754969
split CreateLocalProfileByID
2005-08-11 23:10:44 +00:00
Glenn Maynard
01b6345758
split UnloadAllLocalProfiles
2005-08-11 23:06:01 +00:00
Glenn Maynard
89d1fae8ba
fix crash, logic in deleting course edits
2005-08-11 20:51:15 +00:00
Glenn Maynard
dff74c88da
temp compile fix
2005-08-05 16:23:59 +00:00
Glenn Maynard
57ee24424b
no, compile fix
2005-08-05 16:23:07 +00:00
Glenn Maynard
8e9aff2d21
compile fix
2005-08-05 16:21:00 +00:00
Glenn Maynard
1e0b236ac4
warnings
2005-08-05 16:18:07 +00:00
Glenn Maynard
60c6cab3f7
work around compiler bug (picks up the wrong "s")
2005-08-05 16:16:18 +00:00
Glenn Maynard
10dca0a4cf
float
2005-08-03 23:38:06 +00:00
Glenn Maynard
a82c54ddf7
don't send IET_LEVEL_CHANGED for -1 (which means "not supported")
2005-08-03 23:15:18 +00:00
Glenn Maynard
c0b05774bf
remove ScreenPreInitCommand
2005-08-03 00:51:09 +00:00
Glenn Maynard
059c4a05a8
remove ScreenPreInitCommand; use ScreenInitCommand
2005-08-03 00:49:44 +00:00
Glenn Maynard
7a06b9edbe
InitCommand -> ScreenInitCommand
2005-08-03 00:47:33 +00:00
Glenn Maynard
1dec06fd7b
ScreenOnCommand
2005-08-03 00:41:30 +00:00
Glenn Maynard
7102b1338b
run ScreenOnCommand in BeginScreen
2005-08-03 00:39:21 +00:00
Glenn Maynard
b18fcf555f
nonfatal
2005-07-30 08:14:14 +00:00
Glenn Maynard
416e1ff92e
fix g++ compile
2005-07-30 07:41:18 +00:00
Glenn Maynard
fbac911c8d
fix ClearRangeForTrack splits hold notes when given a degenerate range
2005-07-30 07:08:50 +00:00
Glenn Maynard
4fe46bd2a4
EDIT_BUTTON_REMOVE_NOTE
2005-07-30 07:07:11 +00:00
Glenn Maynard
733a465f62
more precise definition
2005-07-30 05:59:39 +00:00
Glenn Maynard
e4cce264ad
corrections
2005-07-29 23:01:17 +00:00
Glenn Maynard
91dc0ed8de
reset m_sprOptionsMessage state
2005-07-29 17:45:21 +00:00
Glenn Maynard
853c46c511
don't reset in ScreenRanking
2005-07-29 06:17:48 +00:00
Glenn Maynard
99504e2522
do this stuff in BeginScreen, so we set up music, etc. again if we reuse a screen
2005-07-29 05:08:57 +00:00
Glenn Maynard
87016c7f55
don't let SWME mess with the music here; SSM does it itself
2005-07-29 05:07:01 +00:00
Glenn Maynard
1fd5a40e92
log background loads
2005-07-29 04:08:33 +00:00
Glenn Maynard
99f720f6ab
update
2005-07-29 03:56:39 +00:00
Glenn Maynard
cfdbe5a134
fix crash
2005-07-29 03:22:48 +00:00
Glenn Maynard
6e3129d8d1
optimize
2005-07-29 02:26:11 +00:00
Glenn Maynard
6eaf073366
cleanup dupe
2005-07-29 00:03:12 +00:00
Glenn Maynard
a56b7ac59b
Declare these as const functions, like sinf and cosf. This fixes the compiler
...
not optimizing calls to these as well as sinf/cosf.
2005-07-28 02:47:51 +00:00
Glenn Maynard
93302c03aa
add CONST_FUNCTION. See: http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Function-Attributes.html
2005-07-28 02:45:17 +00:00
Glenn Maynard
94e5d8772b
update comment: the text format is 3-4 times smaller than the NoteData map representation (and could be gzipped in-memory to a fraction of that)
2005-07-28 02:04:46 +00:00
Glenn Maynard
2c1f32cd3e
warnings
2005-07-27 01:52:46 +00:00
Glenn Maynard
b9818b6379
optimize CollapsePath: only make one copy, don't split and re-join (5:1 speedup)
2005-07-26 05:26:14 +00:00
Glenn Maynard
4bcf9fcbfd
Calling SetNewScreen when not the top screen on the stack only replaces the
...
top screen. This allows a screen to push a helper screen, which can then
enter an entirely separate set of helper screens before one pops back.
(For example, a screen could push ScreenServiceOptions to enter the options
menu, which then replaces itself with the various options menus, and finally
pops back to the original screen when the player backs out entirely.) (Some
support is still missing to allow non-special-case use of this; coming soon ...)
However, in rare cases we want to kill all screens on the stack, regardless
of how many there are (operator menu). Fix that case.
2005-07-26 03:08:03 +00:00
Glenn Maynard
9cf25ad2b1
flush before deleting screens
2005-07-23 06:36:11 +00:00
Glenn Maynard
703c96a53a
prefer to call ZeroNextUpdate before we spend the time that we want to zero,
...
not after
2005-07-23 06:30:22 +00:00
Glenn Maynard
c1a2276330
UpdateDisqualified in BeginScreen, not Init; in Init we havn't imported options
...
yet, so UpdateDisqualified applies defaults
2005-07-23 06:13:33 +00:00
Glenn Maynard
91e367754a
pull out ScreenIsPrepped
2005-07-23 03:31:43 +00:00
Glenn Maynard
44dfb60616
run cleanups after deleting a screen via pop
...
don't expose DeletePreparedScreens (unneeded; simplify the interface)
2005-07-23 03:09:55 +00:00
Glenn Maynard
a16bb811e6
DeletePreparedScreens is automatic
2005-07-23 03:01:36 +00:00
Glenn Maynard
bb758d7e8e
update
2005-07-23 01:22:49 +00:00
Glenn Maynard
b293a4490f
ironing out preloading logic
2005-07-23 01:18:48 +00:00
Glenn Maynard
371bc33f47
ScreensToPrepare, ScreensToGroup
2005-07-22 23:12:45 +00:00
Glenn Maynard
28b3336f64
prepare and group screens in the screen using them, not in the screen
...
going to that screen (eg. not in GameCommand)
2005-07-22 23:08:28 +00:00
Glenn Maynard
abad7e9d1c
OnCommand in DifficultyList::TweenOnScreen
2005-07-22 22:40:36 +00:00
Glenn Maynard
0cf4fc957c
ScreenSelectMusic::BeginScreen
...
fix TweenOffScreen run twice
2005-07-22 22:38:53 +00:00
Glenn Maynard
e2be6fba66
for motion tweens that On and Off to the same place, writing them this way
...
is an easy way to make them repeatable
2005-07-22 21:14:28 +00:00
Glenn Maynard
0ef1a88a05
hopefully fix dumb chain of bugs:
...
RefreshBeatToNoteSkin must be called before Update() is run, and after ResetNoteSkinsForPlayer
2005-07-22 21:04:27 +00:00
Glenn Maynard
a73fc49d5a
update
...
OutputDirectory -> TargetDir
2005-07-22 20:34:09 +00:00
Glenn Maynard
e85313f96a
hide/show player-specific elements
2005-07-22 20:24:38 +00:00
Glenn Maynard
34a43105bf
hide/show player-specific elements
2005-07-22 19:58:26 +00:00
Glenn Maynard
a9fa5a52aa
remove unused
2005-07-22 09:13:44 +00:00
Glenn Maynard
1d797c7f94
fix SM_Success, SM_Failure never sent
2005-07-22 09:13:16 +00:00
Glenn Maynard
8050631be9
use GetNextScreen()
2005-07-22 09:12:16 +00:00
Glenn Maynard
86f3b4a6b5
Screen::GetNextScreen, Screen::GetPrevScreen
2005-07-22 09:11:17 +00:00
Glenn Maynard
6939289f67
remove deletepreparedscreens
2005-07-22 08:46:06 +00:00