Glenn Maynard
87823229c5
error handling fixes
2004-06-14 01:12:22 +00:00
Glenn Maynard
b481fc465b
excessively large commit: use RageSurface
2004-06-14 00:51:00 +00:00
Glenn Maynard
f2578fe6a9
s/RageSurface/RageSurfaceUtils/
2004-06-13 20:19:28 +00:00
Glenn Maynard
a29018587f
SONGMAN->FlushCaches whenever deleting Steps*
2004-06-11 21:34:30 +00:00
Chris Danford
51366df8cc
name cleanup: PLAY_MODE_ARCADE -> PLAY_MODE_REGULAR
2004-06-11 06:05:35 +00:00
Chris Danford
cb6800ccd4
hide tutorial songs in all modes but PLAY_MODE_ARCADE
2004-06-10 08:43:53 +00:00
Chris Danford
7dcd6da1dc
fix uninitialized StageStats.pSteps causes crash on Song::RevertFromDisk
2004-06-06 21:30:47 +00:00
Chris Danford
fa114e148a
use PlayerNumber macros
2004-06-06 20:57:13 +00:00
Glenn Maynard
5c7dd115ad
fix Song::GetSteps
2004-06-06 02:08:48 +00:00
Glenn Maynard
99e11714e5
Keep steps by StepsType, to speed up the common case of searching by
...
it. Catalog writing (still for only one course) down to .381s; still too much
time to be spending for one course on every load. I'd make catalog writing
only happen if something has changed, but that would mean introducing
some form of course caching, which I'd rather avoid ...
2004-06-05 08:36:21 +00:00
Glenn Maynard
1246e086f2
Only create autogen steps pointers if steps autogen is enabled. This fixes
...
random courses taking too long to generate with autogen disabled: it has
to iterate over *all* steps (including the unused autogen steps); when
outputting the catalog, this means it has to iterate over every song once
per random course line per steps type per course difficulty. (test case
of one 9-random-entry course with autogen off: ~10 seconds -> ~1.5 seconds;
still too much)
2004-06-05 08:20:07 +00:00
Glenn Maynard
10ef60e6ce
optimize Song::GetStepsByDifficulty and Song::GetStepsByMeter
2004-06-05 07:55:40 +00:00
Glenn Maynard
f887354214
fix Song::FreeAllLoadedFromProfiles
2004-06-05 07:51:40 +00:00
Glenn Maynard
6c93aebe04
remove m_bChangedSinceSave
2004-06-05 07:49:21 +00:00
Glenn Maynard
d44be247d0
cleanup
2004-06-05 05:08:00 +00:00
Chris Danford
0a5d0fb73f
name cleanup
2004-06-02 05:52:16 +00:00
Glenn Maynard
549cd7c83f
license updates
2004-05-31 21:35:31 +00:00
Glenn Maynard
41ef4f0edc
TitleSubstitution cleanup, license update
2004-05-31 00:59:33 +00:00
Glenn Maynard
8e654b59ea
bump cache
2004-05-25 05:38:17 +00:00
Chris Danford
b05d25ab24
"m_pCurNotes" -> "m_pCurSteps"
2004-05-24 06:12:17 +00:00
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Chris Danford
99a02deffe
name cleanup: "StepsType nt" -> "StepsType st"
2004-05-24 03:32:56 +00:00
Chris Danford
abfc956e4f
refactor Course: move some responsibilities to Trail
2004-05-23 00:53:20 +00:00
Glenn Maynard
f0fdfc5e58
cache StepsID::ToSteps to speed up html writing
2004-05-21 05:08:04 +00:00
Glenn Maynard
854da28681
cleanup
...
handle lights via autogen as originally suggested
2004-05-20 19:05:37 +00:00
Glenn Maynard
703ebfca58
LoadFile( bHeaderOnly ): only load image dimensions
...
caching TM4: 37 secs -> 28 secs
only implemented for PNG; 90% of song images are PNG anyway
2004-05-19 05:10:23 +00:00
Glenn Maynard
a33e65a552
cleanup
2004-05-17 02:38:01 +00:00
Glenn Maynard
351987a205
bump cache (banner cache format changed)
2004-05-17 01:50:35 +00:00
Chris Danford
1f807c8e0f
fix long-running cabinet-lights causes gameplay to end very late
2004-05-08 03:49:32 +00:00
Glenn Maynard
363534a046
remove Song::GetNumNotesWithGrade
2004-05-02 00:12:31 +00:00
Glenn Maynard
c27418fbbf
don't throw if a song uses an unknown audio type
2004-04-28 01:26:32 +00:00
Glenn Maynard
84e873bb28
remove debugging
2004-04-26 00:06:42 +00:00
Glenn Maynard
b0ca9ef1ea
debugging
2004-04-25 23:22:46 +00:00
Chris Danford
65ea42f7b2
don't load duplicate edits
2004-04-23 01:33:08 +00:00
Chris Danford
cca71d1d3f
edits cleanup:
...
- only allow reasonable file sizes
- only allow one Steps per edit file
- only allow 5 edits per-song, per-profile
2004-04-23 00:26:51 +00:00
Chris Danford
fc8d3ed363
add StepsType for cabinet lights
2004-04-20 02:35:30 +00:00
Chris Danford
3bc5943a9e
don't throw away Song scores for Songs/Steps that aren't currently loaded on the machine
2004-04-18 18:42:42 +00:00
Chris Danford
b217774f88
create SongID, StepsID
2004-04-18 08:06:14 +00:00
Chris Danford
1920634135
move Song/Steps sorting into Song/StepsUtil.h/cpp
2004-04-18 07:34:37 +00:00
Glenn Maynard
e9070532fa
Only slide duplicate difficulties when loading BMS files; in other cases,
...
just move the duplicates to EDIT. This should fix the common glitch
of users with eg. two beginner steps for a song having all difficulties
bumped up; instead, just move the extra step to an edit.
2004-04-17 01:47:55 +00:00
Glenn Maynard
688f76c5ac
rename SongID to StepsID; add Song::GetStepsByID (with caveats); use it in StepsID
2004-04-16 23:40:48 +00:00
Glenn Maynard
0cf7715dfd
working on fixing crash after revert from editor
2004-04-16 23:02:39 +00:00
Glenn Maynard
fadbe25ae9
cleanup
2004-04-16 22:52:30 +00:00
Glenn Maynard
c58396d7c7
cleanup
...
flush cache due to beginner bugfix in alpha 16
2004-04-08 05:33:48 +00:00
Glenn Maynard
08984222fb
cleanup
2004-04-06 04:42:07 +00:00
Glenn Maynard
2a4681ba09
handle song paths more consistently
...
if a song contains weird paths (eg. "../foo.png"), don't expand them when
writing in the editor
2004-04-06 04:39:59 +00:00
Glenn Maynard
f07ece1dc8
fix assertion on song paths starting with lots of "../"
2004-04-06 04:22:18 +00:00
Glenn Maynard
9a41c54bf5
fix "../" in #MUSIC tag asserting
2004-04-06 04:06:37 +00:00
Glenn Maynard
1bf65b9fb9
Fix crashes when song paths begin with "../".
2004-04-05 03:09:58 +00:00
Glenn Maynard
68ad315022
theme "NO DATA"
2004-03-29 20:07:24 +00:00