Glenn Maynard
1b98e724ba
in SLOW_FLUSH, flush the dir after the rename; this won't prevent corruption, but avoid returning to the caller until the change is fully committed to disk (before, we could reboot after returning and return to a previous version of the file)
2008-10-28 08:39:50 +00:00
Glenn Maynard
935b188e29
temp hack to fix flushing; remaining Save/ paths need to be changed to /Save/
2008-10-28 08:31:17 +00:00
Glenn Maynard
52aee7551f
split out ScreenOptionsServiceSelectionList
2008-10-21 23:21:15 +00:00
Glenn Maynard
d97af6a158
hopefully temporary hack to work around us scanning /sys too quickly for the kernel; this is really a kernel bug
2008-08-11 18:53:43 +00:00
Glenn Maynard
2e59d76224
cleanup error message
2008-08-11 18:52:31 +00:00
Glenn Maynard
574f8f9909
temp fix for g++ compile
2008-08-11 00:48:55 +00:00
Glenn Maynard
f3b0362010
allow disabling pmp.bAlignBeat. This isn't needed with menu music that already loop seemlessly, and it makes the music take longer to start playing and can make some effects goofy.
2008-08-09 22:48:07 +00:00
Glenn Maynard
87fe097f85
allow disabling pmp.bAlignBeat. This isn't needed with menu music that already loop seemlessly, and it makes the music take longer to start playing and can make some effects goofy.
2008-08-09 22:47:58 +00:00
Glenn Maynard
c434dee534
start phasing out old parameter-heavy PlayMusic() call
2008-08-09 22:37:03 +00:00
Glenn Maynard
77821c179a
only write cache index on success
2008-07-13 22:23:24 +00:00
Glenn Maynard
1044848664
fix broken symlinks causing warnings
2008-07-12 19:23:44 +00:00
Glenn Maynard
319d72b5fe
move tomcrypt helpers into a separate file; they're useful separately
2008-07-11 23:44:41 +00:00
Glenn Maynard
193265d51c
MercifulBeginner too easy
2008-07-07 20:06:06 +00:00
Glenn Maynard
81958f5b8d
handle default selection in Lua
2008-07-03 01:14:17 +00:00
Glenn Maynard
aca8629e5a
fix crash if m_MasterPlayerNumber is Invalid
2008-07-01 23:53:53 +00:00
Glenn Maynard
e813fa88bc
fix IsSongSort
2008-07-01 23:52:24 +00:00
Glenn Maynard
784ec2de98
fix left/right still changes difficulty after finalizing
2008-07-01 21:00:10 +00:00
Glenn Maynard
fe65136b7c
fix crash
2008-06-11 22:30:09 +00:00
Glenn Maynard
3bc7d64c79
JoinInput always joins both players in AutoJoin
2008-06-11 22:22:09 +00:00
Glenn Maynard
bc0cf8acd1
AutoJoin logic change: Rather than always joining on any coin input,
...
join on the first JoinInput; later (if more coins are input), join
on coin input if there's already a player joined. This means coin
inputs never join the first player, which implies that coin inputs
can only autojoin a player if it's in a place where players are supposed
to be joined.
This avoids problems with joining too early, eg. in Attract before
Reset.
2008-06-11 22:19:43 +00:00
Glenn Maynard
2e1705ac46
This is a bit spaghetti right now, and this is compounding it further, so let's
...
look at all the cases:
Generic ScreenSelect, eg. ScreenSelectStyle:
A non-joined player START press can join. On successful join, discard the
input; the start press that joins the player should not also make a selection
on the menu. Non-joined players can make no other inputs. (ALLOW_DISABLED_PLAYER_INPUT
is false.)
- on start press
- attempt to join the player; if successful:
- play start sound (normally done by the derived class, eg. ScreenSelectMaster::MenuStart,
but we're not going there)
- return, so this start press that just joined the player doesn't also make a selection
- any other button, return and ignore the press ("block input of disabled players")
- on any other button press, just ignore it
ScreenJoin:
Pressing start on a non-joined player joins the player, and unlike the generic case,
it also passes the start press on as input, selecting the default option and starting the
game. (ALLOW_DISABLED_PLAYER_INPUT is true.)
We don't have any visible menu selections, so other player inputs don't matter.
- This screen assumes that a player can join, and that the first successful join
will move on. Pressing start and having it not join has never been tested or
used, and in fact crashes: it'll be passed on as a selection, and
SM_BeginFadingOut dies, because m_MasterPlayerNumber is invalid.
ScreenTitleMenu:
Like SJoin, pressing start will select the current option and start the game. Unlike
SJoin, this screen has options; arrow key inputs on a non-joined player must be
passed on, so the cursor can be moved. (ALLOW_DISABLED_PLAYER_INPUT is true.)
This "always joins" assumption is bad, and was probably never intended. Fix by
never allowing start on a non-joined player (unless the start just joined the
player, in which case he'll be joined by the time of this check).
2008-06-11 22:13:26 +00:00
Glenn Maynard
4c369600a8
revert Message_PlayerJoined. This logic is changing.
2008-06-11 22:09:47 +00:00
Glenn Maynard
3d2321887d
reenable sound in Cancel(), rather than as a special case in the input, so it works if someone else calls Cancel
2008-06-11 22:05:49 +00:00
Glenn Maynard
04f43dae61
always move on if a player joins in SAttract, even if it's not the screen who caused it
2008-06-11 22:02:37 +00:00
Glenn Maynard
2c93c2d79c
reenable sound in Cancel(), rather than as a special case in the input, so it works if someone else calls Cancel
2008-06-11 22:01:33 +00:00
Glenn Maynard
84666e25b3
fix AutoJoin keeps pressing start in free play
2008-06-07 03:22:33 +00:00
Glenn Maynard
d862ba776e
fix AutoJoin in free/home: join both players
2008-06-07 03:21:24 +00:00
Glenn Maynard
bd5173fae8
fix snd_pcm_mmap_writei undocumented EAGAIN return value
2008-06-07 01:54:46 +00:00
Glenn Maynard
1414ff7c19
Fix inconsistency between DItoGI and GItoDI. ReadMappings was updating GItoDI and we didn't update DItoGI; AddDefaultMappings would then not add the keyboard mappings (since that uses DItoGI), and we'd end up with keyboard buttons half-mapped.
2008-06-06 23:40:03 +00:00
Glenn Maynard
1a31c337c6
fix empty statement warning
2008-06-06 18:38:07 +00:00
Glenn Maynard
b3e3ab1187
allow using ScreenContinue without mandatory timer wait
2008-05-28 01:28:35 +00:00
Glenn Maynard
e34d6d7195
ScreenWithMenuElements -> ScreenWithMenuElementsSimple
2008-05-28 01:27:35 +00:00
Glenn Maynard
43daaf5a1f
Fix crash on join when SSM is preloaded but doesn't have focus.
2008-05-28 01:21:52 +00:00
Glenn Maynard
29936c8a2d
Don't respond to players joining by catching GB_START; other code can cause a join, too. Watch the Message_PlayerJoined message instead.
2008-05-28 00:53:42 +00:00
Glenn Maynard
a4b30a4cb0
move HandleMessage near HandleScreenMessage
2008-05-28 00:49:02 +00:00
Glenn Maynard
7e86936af7
Don't respond to players joining by catching GB_START; other code can cause a join, too. Watch the Message_PlayerJoined message instead.
2008-05-28 00:48:15 +00:00
Glenn Maynard
e333836a89
Don't respond to players joining by catching GB_START; other code can cause a join, too. Watch the Message_PlayerJoined message instead.
2008-05-28 00:43:42 +00:00
Glenn Maynard
94f4ea32e4
fix missing base call
2008-05-28 00:41:40 +00:00
Glenn Maynard
ba6a4c4feb
experimental: AutoJoin, join players immediately (or as soon as possible) when enough coins are inserted
2008-05-27 20:51:18 +00:00
Glenn Maynard
0bd98720fe
allow start to move on in attract even if there aren't enough credits if a player is already joined
2008-05-27 20:32:04 +00:00
Glenn Maynard
a191c25a13
readd missing operator= (needed for STL use)
2008-05-27 17:40:30 +00:00
Glenn Maynard
aa99cab574
experimental input mode: left/right always changes row, start toggles selected item; gives the same navigation for the main service menu and submenus
2008-05-27 17:37:34 +00:00
Glenn Maynard
f832fff3d2
experimental input mode: left/right always changes row, start toggles selected item; gives the same navigation for the main service menu and submenus
2008-05-27 17:37:01 +00:00
Glenn Maynard
48dbf58a67
same support change or courses
2008-05-23 23:07:11 +00:00
Glenn Maynard
9fb1994b47
support change: read PreferredSongs.txt all at once (easier to read multiple files); always clear empty groups; simplify
2008-05-23 22:48:14 +00:00
Glenn Maynard
78b71e8181
GetFileContents(array)
2008-05-22 21:46:05 +00:00
Glenn Maynard
d03587dd30
Add HideIncompleteCourses; in some environments, it doesn't make sense to show incomplete courses.
2008-05-13 01:26:02 +00:00
Glenn Maynard
de4dec1f7b
simplify
2008-05-13 01:19:15 +00:00
Glenn Maynard
72ab3779ea
simplify
2008-05-13 01:18:39 +00:00
Glenn Maynard
34ce2ce7cb
handle mod combining properly
2008-05-12 23:22:45 +00:00
Glenn Maynard
c62bde404d
fix paths
2008-05-12 23:16:02 +00:00
Glenn Maynard
f5124648b2
update
2008-05-12 22:12:49 +00:00
Glenn Maynard
c2af6af1fc
vs2008
2008-05-12 19:55:00 +00:00
Glenn Maynard
bd8bb11e85
move empty course check into Course::GetTrailSorted
2008-05-12 19:44:04 +00:00
Glenn Maynard
ecc3dc0d83
vc2008 projects (if nobody's using 2005 it probably won't be updated further)
2008-05-12 19:26:17 +00:00
Glenn Maynard
18209c3d23
global.h first
2008-05-07 01:02:43 +00:00
Glenn Maynard
3502431ef7
global.h first
2008-05-07 01:02:07 +00:00
Glenn Maynard
235fd78f8c
microsoft "deprecating" more functions they don't own
2008-05-07 00:56:02 +00:00
Glenn Maynard
9f3d57ed32
gcc binary backwards-compatibility stub
2008-05-06 06:04:58 +00:00
Glenn Maynard
6003843f0c
add Texture Font Generator. This has been sitting around in slow development on my machine since like 2003. It's incomplete and needs a lot of cleanup, but it's a lot better than Bitmap Font Builder: open source, supports our full font format, multiple font pages, Unicode pages, numbers pages, etc.
2008-04-28 20:20:13 +00:00
Glenn Maynard
b73ae03718
fix newlines
2008-04-14 22:48:54 +00:00
Glenn Maynard
7aeb5ee99f
move translated languages to metrics
2008-04-07 23:27:32 +00:00
Glenn Maynard
6e0479dcf4
move translated languages to metrics
2008-04-07 23:25:51 +00:00
Glenn Maynard
63eadadf75
move translated languages to metrics
2008-04-07 23:25:29 +00:00
Glenn Maynard
92156e2990
don't filter languages
2008-04-07 23:23:42 +00:00
Glenn Maynard
51f7c6b3b1
don't depend on GetLanguageInfos filtering common languages
2008-04-07 23:23:06 +00:00
Glenn Maynard
043b7cc893
just use the English name. It's a hassle to get native names here.
2008-04-07 23:14:27 +00:00
Glenn Maynard
4907c5f483
link fixes (don't need build time logging on this right now)
2008-04-07 23:11:34 +00:00
Glenn Maynard
cee4e0766e
link fixes
2008-04-07 23:09:48 +00:00
Glenn Maynard
762b28caae
fix compile
2008-04-07 23:06:44 +00:00
Glenn Maynard
21282cdca2
fix compile
2008-04-07 23:05:03 +00:00
Glenn Maynard
f5169301ad
fix compile
2008-04-07 23:04:24 +00:00
Glenn Maynard
f9bb8e6e45
fix compile
2008-04-07 23:02:50 +00:00
Glenn Maynard
95b1ddda5a
fix some STestMode + preloading
2008-03-18 16:32:55 +00:00
Glenn Maynard
9030c1c63a
remove old "bonus" code; not very well integrated and very niche
2008-03-18 15:27:26 +00:00
Glenn Maynard
2b2c0221ab
fix crash
2008-03-17 18:52:17 +00:00
Glenn Maynard
6aecb09f37
partial revert of 72f119f 'handle whitespace on either side of names and values', breaks fonts and language files
2008-03-17 18:08:20 +00:00
Glenn Maynard
c9f9ab8c9f
fix dumb parser (thought I fixed this long ago)
2008-03-14 22:00:40 +00:00
Glenn Maynard
f5cac3ca9b
noisy
2008-03-09 02:26:52 +00:00
Glenn Maynard
d1873cfb27
old
2008-03-09 01:58:20 +00:00
Glenn Maynard
f390f584e9
another unmaintained obscure build system
2008-03-09 01:57:00 +00:00
Glenn Maynard
271f95b186
remove SConscript; unmaintained and we really don't need to support some obscure build system
2008-03-09 01:55:23 +00:00
Glenn Maynard
d5135a905c
song.h
2008-03-09 01:53:20 +00:00
Glenn Maynard
3e36a05c5f
fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2008-03-09 01:51:34 +00:00
Glenn Maynard
1217c89c4d
CRLF
2008-03-07 23:55:58 +00:00
Glenn Maynard
d3ab9b3e87
CRLF
2008-03-07 23:54:26 +00:00
Glenn Maynard
630f8f2f7c
fix Song thinks it's cached even if writing the cache file fails
2008-03-07 21:22:43 +00:00
Glenn Maynard
abc07a63d4
warning: converting to ‘int’ from ‘lua_Number'
2008-03-04 01:39:09 +00:00
Glenn Maynard
cc120cbcff
warning: "/*" within comment
2008-03-04 01:38:19 +00:00
Glenn Maynard
b11c80809e
test3
2008-02-08 07:55:15 +00:00
Glenn Maynard
ba29dc9d00
test2
2008-02-08 07:44:29 +00:00
Glenn Maynard
8e12aed7b0
test
2008-02-08 07:39:21 +00:00
Glenn Maynard
18189e89a4
test
2008-02-08 07:36:24 +00:00
Glenn Maynard
1ca5626a39
test
2008-02-08 07:33:10 +00:00
Glenn Maynard
ec5ad154cf
test
2008-02-08 07:32:16 +00:00
Glenn Maynard
65aa9ecbe5
cleanup
2008-01-11 04:38:35 +00:00
Glenn Maynard
02c3dd726e
add event driver
2008-01-11 04:38:16 +00:00
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