Glenn Maynard
df75eb2cf7
fix file.Open("."); file.GetFileSize() asserts
2008-01-11 02:09:11 +00:00
Glenn Maynard
a426b97bea
more tolerant parsing
2008-01-10 20:35:17 +00:00
Glenn Maynard
743dd7ce1d
add ScoreDisplayAliveTime
2007-12-23 01:27:29 +00:00
Glenn Maynard
1c65b56998
add Avery Lee for PointsToValidCall code
2007-11-09 21:44:09 +00:00
Glenn Maynard
c6bb8ff372
unused
2007-11-08 09:07:58 +00:00
Glenn Maynard
be307e9a60
probably fix crash with mono songs
2007-11-08 09:06:43 +00:00
Glenn Maynard
1d471e7a84
style
2007-11-08 09:01:50 +00:00
Glenn Maynard
8639024990
multichannel resampling fix
2007-10-06 17:03:58 +00:00
Glenn Maynard
d268477d4f
fix "../configure: line 6627: no_x: command not found"
2007-09-08 07:33:22 +00:00
Glenn Maynard
a2c65170a5
handle course selectable flag like songs
2007-08-27 09:34:31 +00:00
Glenn Maynard
4acaeab1b9
fix preferred sort
2007-08-27 09:32:45 +00:00
Glenn Maynard
5faeba6cc6
typo
2007-08-27 03:04:52 +00:00
Glenn Maynard
d126a91013
don't crash if loading fails
2007-08-25 22:33:34 +00:00
Glenn Maynard
9929c2972f
use newer, type-safe enums
2007-08-25 22:32:38 +00:00
Glenn Maynard
e9d6d12a04
remove unused
2007-08-25 22:32:16 +00:00
Glenn Maynard
5aadb602f2
handle GameButton_Invalid
2007-08-23 05:17:18 +00:00
Glenn Maynard
c263cdd303
add ScreenOptionsToggleSongs
2007-08-21 21:57:05 +00:00
Glenn Maynard
7d3627692f
add ScreenOptionsToggleSongs. (This won't scale to lots of songs;
...
it's not intended to for now.)
2007-08-21 21:54:35 +00:00
Glenn Maynard
9cd07fc6cb
fix string.upper is nil when theme changed
2007-08-21 20:29:28 +00:00
Glenn Maynard
5408781154
settext: support alt text
2007-08-21 00:26:49 +00:00
Glenn Maynard
e68f1ffa35
cleanup
...
(I'm ambivalent about aligning blocks of variables like
this and frequently don't bother, but if a block is going to
do it, it should be consistent within the block.)
2007-08-21 00:25:06 +00:00
Glenn Maynard
7f29885237
remove game-specific names
2007-08-19 21:04:40 +00:00
Glenn Maynard
400da3065f
better EnabledSongs interface
2007-08-16 23:24:36 +00:00
Glenn Maynard
03b7983216
merge UnlockManager::SongIsRouletteOnly into SongIsLocked
2007-08-16 01:24:55 +00:00
Glenn Maynard
1ab347b022
cleanup
2007-08-16 01:14:14 +00:00
Glenn Maynard
27f76b12ef
fold in UpdateCachedPointers
2007-08-15 23:35:48 +00:00
Glenn Maynard
02e4ba617f
not needed anymore
2007-08-15 21:02:50 +00:00
Glenn Maynard
9aead72d03
CourseID
2007-08-15 21:01:23 +00:00
Glenn Maynard
7729701678
use SongID
2007-08-15 20:56:44 +00:00
Glenn Maynard
3509dfee03
cleanup
2007-08-15 20:38:10 +00:00
Glenn Maynard
83d64246d9
If a course uses a song that is disabled, disable the course too.
2007-08-15 20:37:34 +00:00
Glenn Maynard
85732aa4c8
return a mask, like SongIsLocked
2007-08-15 20:31:47 +00:00
Glenn Maynard
6f68b3fbaa
save disabled songs
2007-08-15 20:27:11 +00:00
Glenn Maynard
3e3c1deea4
We have a lot of duplicate, redundant checks between UNLOCKMAN->SongIsLocked
...
and Song::GetDisplayed/Song::NormallyDisplayed, which leads to inconsistency.
Make UnlockManager::SongIsLocked() handle both. Returns a bitfield; most
cases only need to test true or false.
(Also adds m_bEnabled; not used yet.)
2007-08-13 21:20:51 +00:00
Glenn Maynard
4d3b3315b8
remove unused
2007-08-13 19:41:34 +00:00
Glenn Maynard
35bdbc619a
dehack old hack
2007-08-13 19:28:41 +00:00
Glenn Maynard
4f256b12b1
store as a reference
2007-08-13 19:24:54 +00:00
Glenn Maynard
9284021d2a
style
2007-08-13 19:21:21 +00:00
Glenn Maynard
6653a64354
style
2007-08-13 19:20:40 +00:00
Glenn Maynard
94781be4a5
disable old hack
2007-08-13 19:19:39 +00:00
Glenn Maynard
a1d33f8588
use Song::GetDisplayed
2007-08-13 19:18:55 +00:00
Glenn Maynard
8fb359e053
cleanup
2007-08-13 19:13:22 +00:00
Glenn Maynard
332ea68aef
simplify
2007-08-13 19:13:04 +00:00
Glenn Maynard
73cc4c0793
skip SONGMAN->GetSongFromDir if sDir2.empty()
2007-08-12 22:44:22 +00:00
Glenn Maynard
8022c3ba04
Course::pSong to SongID
2007-08-12 22:43:45 +00:00
Glenn Maynard
3c20a64af8
CachedObjectPointer<Course>, CachedObjectPointer<Trail>
2007-08-12 22:26:42 +00:00
Glenn Maynard
bda199bd88
fix bAllowNull not honored if StepsType_Invalid/Difficulty_Invalid
2007-08-12 22:24:24 +00:00
Glenn Maynard
4a409d387a
style
2007-08-12 22:23:17 +00:00
Glenn Maynard
019ca31c0b
CachedObjectPointer<Song> for StepsID
2007-08-12 22:13:25 +00:00
Glenn Maynard
66b6b168bb
CachedObjectPointer<Song> for SongID
2007-08-12 22:03:59 +00:00
Glenn Maynard
17434831f9
add RageUtil_CachedObject
2007-08-12 22:01:51 +00:00
Glenn Maynard
40ad9a166c
A common problem we have is being able to manipulate major objects,
...
like songs and courses: it's difficult to guarantee that all references
to them are updated if they're deleted or reallocated, which is a brittleness
that leads to obscure bugs.
A general fix for this is to avoid storing pointers to objects, and
to use IDs instead; for example, SongID to reference a song (which
tags by directory). This leads to an efficiency problem: searching
a map<RString> is much more expensive. We need a robust way to
cache the results.
Implement CachedObject<T>, CachedObjectPointer<T>. This implements
caching pointers to objects, negative caching, clearing cache when objects
are deleted, and clearing negative cache when objects are created.
2007-08-12 21:59:10 +00:00
Glenn Maynard
2ca4a39a1e
style
2007-08-12 20:34:37 +00:00
Glenn Maynard
1b5c361da8
disable warning
2007-08-12 19:54:11 +00:00
Glenn Maynard
3cf62ae333
Course::RegenerateNonFixedTrails in place
2007-08-10 20:30:54 +00:00
Glenn Maynard
875835765a
style
2007-08-10 20:16:00 +00:00
Glenn Maynard
1277284d19
hidden -> visible
2007-08-02 23:44:53 +00:00
Glenn Maynard
58e523f1e3
unused
2007-08-02 23:39:21 +00:00
Glenn Maynard
5bf6f17712
no longer used
2007-08-02 22:49:02 +00:00
Glenn Maynard
dd2b5a5976
default to DirectSound-sw for now. I don't have access to enough
...
hardware to fix up the quirks in WDMKS.
2007-08-01 00:50:19 +00:00
Glenn Maynard
0377885edc
no Cache
2007-07-31 03:58:58 +00:00
Glenn Maynard
c4ad688191
use CreatePackage.pl; also renames base package to StepMania.smzip
2007-07-31 03:48:03 +00:00
Glenn Maynard
916ffe69ad
mksmdata.pl, but without making an extra copy
2007-07-31 03:46:07 +00:00
Glenn Maynard
59002ada00
This stuff is out of date. Let's not include development docs in the regular distribution.
2007-07-31 03:36:48 +00:00
Glenn Maynard
5fc99228b7
This is obsolete.
2007-07-31 03:35:58 +00:00
Glenn Maynard
0c4ad0477d
We link to MAD; we don't include the library itself in our distribution, so we don't need to include the license.
2007-07-31 03:35:40 +00:00
Glenn Maynard
050079a80e
I thought the mine graphic was created by Chris, but I guess we're not
...
sure. Replace it with a hideous placeholder until someone makes
a new one.
2007-07-31 01:32:14 +00:00
Glenn Maynard
2c46569bb2
fix scroll lock mapping (still acts weird, X11 special cases lock keys, grr)
2007-07-30 19:08:57 +00:00
Glenn Maynard
b5c81c7d7b
add GetSHA1ForString
2007-07-30 03:59:20 +00:00
Glenn Maynard
b69ec8f9cd
fix uninstall
2007-07-28 02:39:40 +00:00
Glenn Maynard
38e43aa1f7
If width and height are different than img->w and img->h, it specifies the
...
active region in the surface--the region that needs to be copied, if the
surface is converted. However, the surface should remain the same
size.
2007-07-24 18:37:12 +00:00
Glenn Maynard
43cdeb0fcd
diag
2007-07-22 20:49:40 +00:00
Glenn Maynard
d56e4e5d9f
make error on old AMD drivers non-fatal
2007-07-22 18:43:55 +00:00
Glenn Maynard
77d43890b6
cleanup
2007-07-22 17:55:46 +00:00
Glenn Maynard
8c926086ea
fix uninitialized (valgrind warning)
2007-07-20 20:30:15 +00:00
Glenn Maynard
b146c27623
fix valgrind overlapping memcpy warning
...
(this shouldn't be needed)
2007-07-14 18:21:33 +00:00
Glenn Maynard
8ea123a15e
fix read out of bounds
2007-07-14 18:19:58 +00:00
Glenn Maynard
4bb9a17364
--Fixing log--
2007-07-14 18:09:19 +00:00
Glenn Maynard
545da7424b
fix UnlockAuthString
2007-06-20 22:25:57 +00:00
Glenn Maynard
fcbe9bd8ae
fix some GameCommand use on P2
2007-06-20 15:17:52 +00:00
Glenn Maynard
b37dddc1a9
bind Cancel
2007-06-19 21:05:42 +00:00
Glenn Maynard
81ddeacb73
remove unused
2007-06-19 18:26:18 +00:00
Glenn Maynard
5c93e0f2fc
make music sync follow VisualDelaySeconds by default (fixes
...
receptors flashing off-sync when VDS is used)
2007-06-18 21:02:28 +00:00
Glenn Maynard
a585197b73
fix start button misbehaves when ranking is in attract mode
2007-06-18 16:57:19 +00:00
Glenn Maynard
27be11a87a
AlignMusicBeat only aligns the fractional part of the beat. This aligned
...
to every four beats, so the light jumps when changing music.
2007-06-18 16:33:46 +00:00
Glenn Maynard
74d36d5d21
fracf
2007-06-18 16:29:38 +00:00
Glenn Maynard
a5f07cf73f
unused
2007-06-18 16:01:48 +00:00
Glenn Maynard
0af50c14fd
better lights debug
2007-06-18 16:01:34 +00:00
Glenn Maynard
3460fa0874
- don't blink start when joined; blink it when joinable, and make it
...
solid when joined (otherwise it's just always blinking at different
rates)
- fix glitches related to start button light being moved to m_bGameButtonLights
- lighting on join in JOINING doesn't make sense anymore, since we move on
immediately
2007-06-18 16:00:48 +00:00
Glenn Maynard
cadacd8bcc
add FOREACH_GameButton_Custom
2007-06-18 16:00:22 +00:00
Glenn Maynard
a18b2d4c93
SaveCurrentSettingsToProfile on debug save
2007-06-15 15:53:13 +00:00
Glenn Maynard
6a1db065d2
save m_PreferredStepsType, too. Fixes inconsistent behavior
...
in ScreenSelectMusic::SwitchToPreferredDifficulty due to
m_PreferredDifficulty being set and m_PreferredStepsType
not.
2007-06-15 15:51:33 +00:00
Glenn Maynard
39f75e24c9
better FillProfileStats
2007-06-15 15:00:14 +00:00
Glenn Maynard
763de1e6ac
lights modes
2007-06-14 13:38:55 +00:00
Glenn Maynard
7f08da77f1
set all lights modes in metrics (except for a couple programmatic ones
...
for now)
2007-06-14 13:38:26 +00:00
Glenn Maynard
d1f0b1719e
tweak haste
2007-06-14 01:54:26 +00:00
Glenn Maynard
f0b64bd6a0
fix semi-leak
2007-06-14 01:08:41 +00:00
Glenn Maynard
2513580980
add HasTimedMods
2007-06-12 18:46:15 +00:00
Glenn Maynard
30bfa285e7
deal with global mod changes
2007-06-12 18:34:09 +00:00
Glenn Maynard
460c0c4412
deal with music rate changes
2007-06-12 18:33:32 +00:00