Glenn Maynard
54bed650e4
check size before reading
2005-05-20 01:02:56 +00:00
Glenn Maynard
1cc8495a26
simplify: read files ourselves
2005-05-20 00:58:09 +00:00
Glenn Maynard
b547c631e6
simplify: read files ourselves, don't bother using SecByteBlock
2005-05-20 00:45:05 +00:00
Glenn Maynard
2a8f4d02cf
fix eating keys
2005-05-20 00:41:22 +00:00
Glenn Maynard
fcab77004e
fix warning
...
prefer float over double
2005-05-20 00:35:40 +00:00
Glenn Maynard
aa5aff643f
fix const
...
fix signed warning
2005-05-20 00:28:41 +00:00
Glenn Maynard
b3d9debc44
remove unused (and too broad) IsGood
2005-05-20 00:18:52 +00:00
Glenn Maynard
38b10ca499
one line
2005-05-20 00:18:15 +00:00
Glenn Maynard
f37a3810d6
allow reading whole files with GetFileContents
2005-05-20 00:12:43 +00:00
Glenn Maynard
e64e00d6c6
allow initializing a RageFileSource with a RageFileBasic*
2005-05-19 23:39:41 +00:00
Glenn Maynard
815c1015a7
RageFile -> RageFileBasic
2005-05-19 22:59:47 +00:00
Glenn Maynard
53aea34fb2
remove unused
...
RageFile -> RageFile*
2005-05-19 22:50:57 +00:00
Glenn Maynard
93ff013321
cleanup, assert -> ASSERT
2005-05-19 21:34:47 +00:00
Glenn Maynard
aa5c8699fb
allow validating from alternate keys
...
fix missing HAVE_CRYPTOPP defs
2005-05-19 21:27:14 +00:00
Glenn Maynard
d406068148
reduce crypto++ code by doing our own file writing (simpler)
2005-05-19 21:21:37 +00:00
Glenn Maynard
f701c3f261
remove unused FirstRunInitialScreen
2005-05-19 21:05:25 +00:00
Glenn Maynard
78682940ea
remove; we generate a machine keypair on demand
...
doing things "on first run" is fragile: it might be interrupted, in which
case we either do it again next time (running first-run tasks more than
once) or we don't do any (skipping some of them). instead, do things
on demand, and keep track of which tasks have completed
2005-05-19 20:55:05 +00:00
Glenn Maynard
f9b18c7a64
cleanup
2005-05-19 20:43:06 +00:00
Glenn Maynard
846a4bd6ae
don't need to stuff this in a function (this doesn't belong in StepMania.cpp,
...
though ...)
2005-05-19 20:39:42 +00:00
Glenn Maynard
cfaca94b4c
remove hack. the problem was probably that CompareNoCase returns
...
a value < 0, not necessarily -1
2005-05-19 20:36:34 +00:00
Glenn Maynard
14da28b9e5
style fixes
2005-05-19 20:34:35 +00:00
Glenn Maynard
b78ea78dea
style fix
2005-05-19 20:32:10 +00:00
Glenn Maynard
83d8099f7f
remove ConditionalBGA; it's not used. ask the list if you need to know how to do something that was done in this ...
2005-05-19 20:26:53 +00:00
Glenn Maynard
221e369b7b
long-needed style update. no non-cosmetic changes.
2005-05-19 06:55:31 +00:00
Glenn Maynard
01490f8f68
revert weird wrapping hack. I can't make sense of it, and it's causing
...
infinite loops. Implement overdraw handling correctly.
2005-05-19 06:11:46 +00:00
Glenn Maynard
140ec4fdca
allow setting preferences from theme metrics. static.ini is deprecated.
2005-05-19 05:19:23 +00:00
Glenn Maynard
acc86207d0
Don't re-read game prefs at reset; it's a hack to load game prefs
...
and mappings after changing the game. Do it in ChangeCurrentGame
instead. Don't expose ReadGamePrefsFromDisk. (This code path
is still a little overcomplicated, but it's a bit simpler now ...)
2005-05-19 05:12:30 +00:00
Glenn Maynard
0190f4024f
after most calls to ReadGamePrefsFromDisk, we call
...
ReadMappingsFromDisk; cleanup
2005-05-19 04:30:30 +00:00
Glenn Maynard
0ee9564bb1
license
2005-05-19 03:29:24 +00:00
Glenn Maynard
65e8bd1ac0
update
2005-05-19 01:26:41 +00:00
Glenn Maynard
ea1bede8c3
drop StepMania.ini sections. Almost everything is in [Options], and it's
...
hard enough keeping straight which arbitrary options screen an option
is in without having a separate categorization for the INI. (This will
simplify later changes.)
2005-05-19 01:25:38 +00:00
Glenn Maynard
cf933964f2
debug -> options
2005-05-19 01:17:33 +00:00
Glenn Maynard
31c07f35d7
fix message never subscribed
2005-05-18 08:17:42 +00:00
Glenn Maynard
27413bdb35
fix compile
2005-05-18 08:14:56 +00:00
Glenn Maynard
0986e61f3d
rewrite ZIP parsing. only a tiny bit of code was used from InfoZIP, causing
...
us to have to lug around a proportionately unreasonably big chunk of
licensing text. (this code is smaller, too.)
2005-05-18 06:44:24 +00:00
Glenn Maynard
41682c11e3
add FileReading::ReadString
2005-05-18 06:38:25 +00:00
Glenn Maynard
62c4bb2702
remove debug cruft
2005-05-17 21:32:16 +00:00
Glenn Maynard
fc9a003562
implement device descriptions in InputHandler_Linux_Joystick to fix auto-mapping
2005-05-17 21:16:36 +00:00
Glenn Maynard
9fe86706a4
fix incorrect timestamps due to InputHandler::ButtonPressed never being called
2005-05-17 21:00:28 +00:00
Glenn Maynard
8979ac38e6
warn if InputHandler::UpdateTimer is not being called
2005-05-17 20:54:58 +00:00
Glenn Maynard
e1429256f3
fix InputHandler::UpdateTimer never called
2005-05-17 20:51:20 +00:00
Glenn Maynard
f8f94844b2
fix zero timestamps on reset
...
warn about zero timestamps
2005-05-17 20:50:39 +00:00
Glenn Maynard
4e6d716027
GetRedirContents -> GetFileContents
2005-05-17 02:20:43 +00:00
Glenn Maynard
dc35060c27
add SaveMachineProfile
2005-05-15 23:53:54 +00:00
Glenn Maynard
6915841774
add metrics
2005-05-15 23:49:20 +00:00
Glenn Maynard
46da0226f5
remove: SWME handles this
2005-05-15 23:45:53 +00:00
Glenn Maynard
bd8fb8f727
style cleanup
2005-05-14 09:26:05 +00:00
Glenn Maynard
e9ffb71c5f
add RageInput::AddHandler
2005-05-14 09:23:30 +00:00
Glenn Maynard
ded31d82f4
fix overly verbose driver names - Linux will never compile an Amiga joystick driver; anything a Linux user puts in his INI is clearly for Linux.
2005-05-14 02:29:18 +00:00
Glenn Maynard
b2b72a8258
fix SystemMessageNoAnimate never displayed
2005-05-12 21:55:48 +00:00
Glenn Maynard
6a247ff9ce
split MessageOffCommand
2005-05-12 21:54:21 +00:00
Glenn Maynard
876b09a157
fix assert
2005-05-10 23:01:04 +00:00
Glenn Maynard
c765508bc1
fix crash due to memset()ing a non-POD
2005-05-10 04:42:14 +00:00
Glenn Maynard
99843770cb
backwards conditional; m_bCountNotesSeparately = false was incorrect
2005-05-10 04:38:48 +00:00
Glenn Maynard
ce77b8bbab
fix options saving
2005-05-10 04:30:51 +00:00
Glenn Maynard
3104b0f5fa
fix wrong offset
2005-05-10 03:37:30 +00:00
Glenn Maynard
c77b915b29
fix sorting
2005-05-09 11:54:13 +00:00
Glenn Maynard
e33ffbe777
paranoia
2005-05-09 09:24:04 +00:00
Glenn Maynard
e822ee71ce
one line
2005-05-09 07:33:15 +00:00
Glenn Maynard
e9616fb6d4
fix up gray bar
2005-05-09 05:12:39 +00:00
Glenn Maynard
0d635628ce
remove 6- and 7-stages/round options. it's annoying to have to create
...
graphics for "stage 6" and "stage 7" and test it, and if you want that,
you probably want event mode instead.
2005-05-09 04:34:06 +00:00
Glenn Maynard
9a35125ca6
fix up tweens (should be themable but too low-priority a screen at the moment)
2005-05-09 04:26:57 +00:00
Glenn Maynard
0e58817922
select goes up
...
fix extra start sound played
2005-05-09 04:21:25 +00:00
Glenn Maynard
fb3baf752b
update screen
2005-05-09 04:17:17 +00:00
Glenn Maynard
d326969a58
update screen
2005-05-09 04:02:34 +00:00
Glenn Maynard
0d9f9977ce
update
2005-05-09 03:42:18 +00:00
Glenn Maynard
b292024dac
don't init high score stuff for disabled players
2005-05-09 03:41:14 +00:00
Glenn Maynard
b5bebfdc67
RandomPicksLockedSongs=1
2005-05-09 01:29:05 +00:00
Glenn Maynard
7c2ab0d0a2
add RANDOM_PICKS_LOCKED_SONGS
2005-05-09 01:26:30 +00:00
Glenn Maynard
1632d86f1c
fix m_soundSelectPressed played before loaded
2005-05-09 00:24:51 +00:00
Glenn Maynard
a87bc7f657
stop music on f2 restart, so the music resets, too (not sure if ResetGame(true)
...
should do this)
2005-05-08 23:20:19 +00:00
Glenn Maynard
f2bb1b373f
steps locking fixes
2005-05-08 11:55:56 +00:00
Glenn Maynard
ed1c6ff32f
add input button comments
2005-05-08 09:19:35 +00:00
Glenn Maynard
b322255acf
fix warning
2005-05-08 09:15:06 +00:00
Glenn Maynard
e67ab7877d
simplify
2005-05-08 08:54:35 +00:00
Glenn Maynard
73723ae5aa
compile fix
2005-05-08 08:49:01 +00:00
Glenn Maynard
cee617b119
assert
2005-05-08 07:38:36 +00:00
Glenn Maynard
4696541f44
fix Lua stack leak
2005-05-07 19:46:41 +00:00
Glenn Maynard
eb7dd8e45c
fix Lua stack leak
2005-05-07 19:40:52 +00:00
Glenn Maynard
d9b595ad08
fix lost state
2005-05-07 04:18:39 +00:00
Glenn Maynard
b7c3ab42ad
fix OnCommand run twice
2005-05-07 01:25:14 +00:00
Glenn Maynard
0a08b5adb8
fix warning
2005-05-06 14:41:46 +00:00
Glenn Maynard
af2326e739
fix linux compile
2005-05-06 14:35:17 +00:00
Glenn Maynard
b2ec5655d4
vc braindamage
2005-05-06 14:34:38 +00:00
Glenn Maynard
dc16dd8271
fix test mode in courses
2005-05-06 13:47:33 +00:00
Glenn Maynard
62799c4573
GetCurrentTrail
2005-05-06 13:24:11 +00:00
Glenn Maynard
d07c68cf26
lua
2005-05-06 11:59:09 +00:00
Glenn Maynard
70cd62ddad
don't repeat up and down in-place
2005-05-06 08:24:13 +00:00
Glenn Maynard
e48100ed48
GAMESTATE:IsCourseMode
2005-05-06 08:10:39 +00:00
Glenn Maynard
57e4649de3
fix draw order
2005-05-06 06:34:18 +00:00
Glenn Maynard
9e47293aaf
update PlayerUsingBothSides
2005-05-06 06:33:01 +00:00
Glenn Maynard
47db6ca9c4
floating-point zbias. For compatibility, 0 is off and 1 is the old "zbias on".
...
Going beyond 1 is allowed, but the usable/useful range of values is currently
undefined--try to stick to 0..1.
2005-05-06 04:05:02 +00:00
Glenn Maynard
59f6c7848a
separately-controllable ZBias
2005-05-06 03:24:41 +00:00
Glenn Maynard
69bf0cb4f7
don't warn about no coins.xml on first run
2005-05-05 23:30:48 +00:00
Glenn Maynard
b8bb5890f9
cleanup
2005-05-05 20:06:47 +00:00
Glenn Maynard
5d3f76e6ec
"last 7 days" != "this week"; change to not be confusing when compared
...
against the weekly view
2005-05-05 08:32:42 +00:00
Glenn Maynard
1ffcc7207c
store bookkeeping in a map; save to XML
...
show total coins in bookkeeping
don't wipe out old bookkeeping data, so "total" doesn't become
meaningless after a year of data (or after the date has been changed
a couple times)
the XML is ~2megs for four years of data and takes about a second to
save on my system (reasonable enough)
2005-05-05 08:18:52 +00:00
Glenn Maynard
e3456971d2
fix and simplify GetDayInYearAndYear
2005-05-05 07:56:24 +00:00
Glenn Maynard
992ca67949
cosmetic
2005-05-05 06:01:18 +00:00
Glenn Maynard
420187dbfd
cleanup
...
SWME handles music
2005-05-05 03:39:49 +00:00