Glenn Maynard
a963ee08e3
CryptHelpers.*
2004-05-13 21:32:48 +00:00
Glenn Maynard
ffa11ae045
compile fix
2004-05-13 21:18:00 +00:00
Glenn Maynard
25a50d0052
implement usleep
2004-05-13 21:09:42 +00:00
Glenn Maynard
20939ee8e1
fix Windows compile
2004-05-13 20:14:32 +00:00
Glenn Maynard
720dd96b90
fix TestWrite
2004-05-11 21:55:04 +00:00
Glenn Maynard
56d421a186
unneeded includes
2004-05-11 21:16:59 +00:00
Glenn Maynard
c862cb2c16
types
2004-05-11 21:14:13 +00:00
Glenn Maynard
3119833bae
types
2004-05-11 21:08:13 +00:00
Glenn Maynard
7c56df3fd7
types
2004-05-11 20:50:08 +00:00
Glenn Maynard
4fd1ead7f4
license update
2004-05-11 20:45:58 +00:00
Glenn Maynard
caa10b5cd3
int64_t
2004-05-11 20:38:36 +00:00
Glenn Maynard
cf8f294e7d
more types
2004-05-11 20:37:30 +00:00
Glenn Maynard
17207ba6b5
model types
2004-05-11 20:35:21 +00:00
Glenn Maynard
9dfcb5b7e1
convert sound types
2004-05-11 20:32:55 +00:00
Glenn Maynard
fc21403339
convert from SDL to standard types
2004-05-11 20:25:34 +00:00
Glenn Maynard
d48c9295b8
link fix
2004-05-11 07:24:08 +00:00
Glenn Maynard
71831a75c3
simplify OneGotGrade
...
add GetStagesPlayed
2004-05-11 06:12:40 +00:00
Glenn Maynard
2619a24791
GameState::GetEasiestNotesDifficulty and lua binding
2004-05-11 06:11:08 +00:00
Glenn Maynard
dae9e83ec8
DifficultyToString/StringToDifficulty bindings
2004-05-11 06:10:21 +00:00
Glenn Maynard
4fe9da16bb
LuaFunction_Int
2004-05-11 06:09:04 +00:00
Glenn Maynard
d6aa15087d
REQ_ARGS_BETWEEN, other internal stuff
2004-05-11 04:56:36 +00:00
Glenn Maynard
ee93622539
more generic fix for stage lengths extending past final stage
2004-05-11 02:16:23 +00:00
Glenn Maynard
a47c9bff98
fix crash
2004-05-11 02:12:54 +00:00
Glenn Maynard
e2adb85a35
cosmetic
2004-05-10 05:26:41 +00:00
Glenn Maynard
0012f225e8
CODE_BACK_IN_EVENT_MODE -> reset instead of back
2004-05-10 02:06:29 +00:00
Glenn Maynard
63fba23262
check GL_EXT_paletted_texture before bothering with other checks
2004-05-10 01:06:37 +00:00
Glenn Maynard
62e9aebdad
https://sourceforge.net/tracker/download.php?group_id=37892&atid=421366&file_id=86614&aid=932709
...
format.mSampleRate == 0 means "set it yourself", I think (TODO: actually
set it--SetNominalSampleRate--and verify with IsValidNominalSampleRate)
(I'm not going to try to fix the QT1 driver; hopefully the remaining CA
problems can be fixed and QT can be removed.)
2004-05-10 00:43:57 +00:00
Glenn Maynard
dfded1c1ab
print 44100, not "44100.000000"
2004-05-10 00:39:03 +00:00
Glenn Maynard
91589e2896
maybe fix assertion failure when writing machine records
2004-05-10 00:26:08 +00:00
Glenn Maynard
d8ed56b81f
fix uninitialized value
2004-05-09 23:08:16 +00:00
Glenn Maynard
8f6d7362ae
checkpoint
2004-05-09 08:27:20 +00:00
Glenn Maynard
196c9d3c31
remove old files
2004-05-09 08:26:18 +00:00
Glenn Maynard
b131b68871
remove old checkpoints
2004-05-09 07:27:29 +00:00
Glenn Maynard
f87bfe8b34
no, this is needed (but for a different reason)
2004-05-08 23:27:36 +00:00
Glenn Maynard
4f369120e2
fix obscure crash on close
2004-05-08 21:11:02 +00:00
Glenn Maynard
732024f1a6
remove unneeded code
2004-05-08 20:54:29 +00:00
Glenn Maynard
a5cc8adfef
fix mostly innocuous race condition: init ID before registering the sound,
...
or it might get sound position commits from other sounds due to the
uninitialized variable
2004-05-08 20:42:33 +00:00
Glenn Maynard
c6e2a10962
ScreenSelectGroup::PrevScreen
2004-05-08 06:43:51 +00:00
Glenn Maynard
7258f57c63
cleanup
2004-05-08 06:43:06 +00:00
Glenn Maynard
282e502e6d
fix ScreenSelectCharacter timer
2004-05-08 06:42:23 +00:00
Glenn Maynard
ccbe03e14e
fix uninitialized variable
2004-05-08 06:38:27 +00:00
Glenn Maynard
aee856bd95
cleanup
2004-05-08 06:28:15 +00:00
Glenn Maynard
e730e24c34
PrevScreen=ScreenTitleMenu
2004-05-08 06:27:14 +00:00
Glenn Maynard
841b888ba5
simplify
2004-05-08 06:26:24 +00:00
Glenn Maynard
3c5e4c6af8
simplify
2004-05-08 06:19:14 +00:00
Glenn Maynard
fbba857df4
ScreenSelectCourse::PrevScreen
2004-05-08 06:18:39 +00:00
Glenn Maynard
5cebceafcf
Add Screen::HandleScreenMessage, to handle common screen
...
messages. (Most screens don't call this base function right now.)
2004-05-08 06:18:06 +00:00
Glenn Maynard
d8e2a64889
fix missing elements
2004-05-08 06:10:16 +00:00
Glenn Maynard
1004bd8064
fix m_sprExplanation tween
2004-05-08 06:09:27 +00:00
Glenn Maynard
2e540b3931
simplify
...
add ScreenInstructions::PrevScreen
2004-05-08 06:00:08 +00:00
Glenn Maynard
0b2c5702a8
ScreenInstructions::PrevScreen
2004-05-08 05:59:16 +00:00
Glenn Maynard
7be6cddfe2
call base Screen::HandleScreenMessage at the end, not the
...
beginning
2004-05-08 05:55:28 +00:00
Glenn Maynard
a176ba50c7
simplify
...
fix draw order
2004-05-08 05:47:37 +00:00
Glenn Maynard
2d53c49f11
Don't fade in title menu options. It looks strange, since we're fading from
...
black on top of it, and the selected menu item doesn't fade in.
2004-05-08 04:13:10 +00:00
Glenn Maynard
74977f0459
fix spurious "Couldn't create :" errors
2004-05-08 03:16:22 +00:00
Glenn Maynard
bed5872199
buffer size, chunk size cleanup
...
use poll()
many systems (even 2.4) can now handle much smaller writeaheads with
software mixing
2004-05-08 03:02:25 +00:00
Glenn Maynard
fe9c19b446
Update SOUNDMAN earlier
2004-05-08 02:18:27 +00:00
Glenn Maynard
9c1a5f6957
encapsulate hold results in HoldNoteResult (HoldNoteScore + life)
...
instead of moving HoldNote::iStartRow forward while a hold note is
held, set HoldNoteResult::iLastHeldRow
fixes hold heads cycling through all note colors while held (wasn't very
visible due to the hold ghost) and GetSuccessfulHands bugs
2004-05-07 04:57:29 +00:00
Glenn Maynard
bd3e4232f2
fix sm_crash
2004-05-07 00:40:02 +00:00
Glenn Maynard
cd8f571d60
remove unneeded header
2004-05-06 09:35:14 +00:00
Glenn Maynard
04f226214b
always compile LinuxThreadHelpers
2004-05-06 09:32:23 +00:00
Glenn Maynard
d3c19e9a46
use HAVE_OSS_GETVERSION
...
don't print "version 0.0.0" if ioctl(OSS_GETVERSION) fails
2004-05-06 09:30:03 +00:00
Glenn Maynard
46c51ad33a
add OSS_GETVERSION check
2004-05-06 09:25:15 +00:00
Glenn Maynard
7d85e171e6
fix warning
2004-05-06 09:18:15 +00:00
Glenn Maynard
f8090d709a
#define CRASH_HANDLER
2004-05-06 09:14:10 +00:00
Glenn Maynard
c678693d7f
cleanup
2004-05-06 09:13:37 +00:00
Glenn Maynard
c4d501081f
s/__THROW/throw()/
...
fix assertion handling when !CRASH_HANDLER
improve assertion handling output
2004-05-06 09:08:41 +00:00
Glenn Maynard
2bf13a89f0
move exception dialog behavior to HandleException
2004-05-06 09:06:24 +00:00
Glenn Maynard
fd848f2b0c
fix compile when !CRASH_HANDLER
...
fix core dumping when !CRASH_HANDLER
2004-05-06 08:41:34 +00:00
Glenn Maynard
24af9a4825
add SignalHandler::ResetSignalHandlers
2004-05-06 08:40:53 +00:00
Glenn Maynard
e5de37f23c
fix HAVE_DECL_SIGPWR check
2004-05-06 08:26:09 +00:00
Glenn Maynard
a65778ab4d
s/==/=/
2004-05-06 07:19:24 +00:00
Glenn Maynard
f9f10e2372
more license updates
2004-05-06 02:40:33 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Glenn Maynard
1896f45ecc
add checkpoint
2004-05-06 00:01:06 +00:00
Glenn Maynard
01e54b95a0
disable lock ordering checks for now
2004-05-05 20:37:14 +00:00
Glenn Maynard
f7c858b89d
fix ScreenSetTime
2004-05-05 20:31:15 +00:00
Glenn Maynard
3527c9dae8
hush harmless warning, fix output
2004-05-05 20:05:09 +00:00
Glenn Maynard
0c485b164e
cleanup
2004-05-03 20:51:20 +00:00
Glenn Maynard
599211722d
this can be done with GameState --player, --mode now
2004-05-03 20:28:24 +00:00
Glenn Maynard
d6d10331eb
fix comment
2004-05-03 20:14:52 +00:00
Glenn Maynard
cc9f2507c0
don't accept functions as lua return values, otherwise forgotton "()"
...
can lead to silent errors
2004-05-03 04:38:08 +00:00
Glenn Maynard
3525b20e03
cleanup
2004-05-03 01:39:25 +00:00
Glenn Maynard
6f49d80e6e
fix text info not displayed immediately the second time the editor is entered
...
in the same session
fix unresponsive text info
2004-05-03 01:37:49 +00:00
Glenn Maynard
0c992b56e3
fix ScreenSelectMusic menuelement draw order
2004-05-03 00:21:28 +00:00
Glenn Maynard
df799e36e6
fix missing elements
2004-05-03 00:14:41 +00:00
Glenn Maynard
cf98aa5f7c
fix ScreenEditMenu transitions
2004-05-03 00:08:56 +00:00
Glenn Maynard
90c80308f9
fix missing ScreenEditMenu elements
2004-05-03 00:08:22 +00:00
Glenn Maynard
712e1ec445
If a sound is started, plays for a while, then stopped, repositioned and
...
started quickly, queued position data from the previous play will still
be flushed. We clear already-flushed data in StopMixing (pos_map.clear())
so we don't have stale data, but some is being re-flushed afterwards because
we have the same ID. Change sound IDs when stopping a sound.
(The symptom was the first frame in Play mode in the editor would process
using an old position; the position was usually later in the song, which
sometimes marked hold notes as dead.)
2004-05-02 23:54:39 +00:00
Glenn Maynard
89f9660a6a
asserts
2004-05-02 23:48:51 +00:00
Glenn Maynard
ff54ceafea
update
2004-05-02 03:55:20 +00:00
Glenn Maynard
ef47972465
use fast dither for banner cache
2004-05-02 03:51:25 +00:00
Glenn Maynard
fa83dfc552
fix excessive rounding error in mySDL_BlitTransform (completely opaque
...
surfaces would be set to an alpha value of 0xFB); fix latent alpha channel
bug
2004-05-02 03:49:22 +00:00
Glenn Maynard
ac81016af4
when dithering, round the alpha channel instead of truncating
2004-05-02 03:41:33 +00:00
Glenn Maynard
82595ecfe1
fix minor memleaks: a few bytes per screenshot, and a harmless "leak"
...
if IMG_LoadTyped_RW fails
2004-05-02 02:15:01 +00:00
Glenn Maynard
20462b7118
optimize PrintInventoryForSong; cuts a few seconds from stats.html writing
2004-05-02 01:06:16 +00:00
Glenn Maynard
3abc4617e0
update
2004-05-02 00:22:32 +00:00
Glenn Maynard
22d7bf1508
cleanup
2004-05-02 00:21:47 +00:00
Glenn Maynard
e96fb67f6c
remove old file
2004-05-02 00:18:54 +00:00
Glenn Maynard
363534a046
remove Song::GetNumNotesWithGrade
2004-05-02 00:12:31 +00:00