Glenn Maynard
e22fdeefcd
Make the callbacks static members, so they can access private members.
...
Make m_pJoystick and GetDirectInput private.
Don't bail out on Update if the joystick fails, since we still have more
devices. Just log--handle error conditions on our own.
Reduce Windows types in the interface; eventually it'll need to be
clean.
Remove unused Get*Device functions.
2002-08-26 05:01:25 +00:00
Glenn Maynard
8658b101cc
Don't export PumpButtonNames; compact the header a bit.
2002-08-26 04:46:16 +00:00
Glenn Maynard
cb73056691
Since we allow escape to back out of the demonstration, allow BACK to,
...
too.
2002-08-26 03:51:12 +00:00
Glenn Maynard
40d96cc613
Move the last global to the class.
...
Make m_iSelectedStyle a bitfield, which simplifies some things.
Don't select player 1 if player 2 selects at the last second.
2002-08-26 01:20:03 +00:00
Glenn Maynard
2f3d12ee8e
Use a message to end the selection, instead of a global float.
2002-08-26 00:57:40 +00:00
Glenn Maynard
a30399d3bc
Animate during Update, not rendering, and make it honor tab/~.
2002-08-26 00:40:12 +00:00
Glenn Maynard
34f62d8d56
simplify
2002-08-26 00:19:59 +00:00
Glenn Maynard
8b6b4043ef
(typo)
2002-08-25 19:54:14 +00:00
Glenn Maynard
a5df78e77d
fixup skins/noteskins paths
2002-08-25 06:01:03 +00:00
Glenn Maynard
13af77a570
Remove HoldNote.h.
2002-08-25 05:50:32 +00:00
Glenn Maynard
b3cb136f04
Fix up editing hold notes.
2002-08-25 05:00:23 +00:00
Glenn Maynard
3d84bc6135
Comments.
2002-08-24 22:49:10 +00:00
Glenn Maynard
c6cfa14c1a
Don't render the beginning of the song when cancelling out of gameplay.
2002-08-24 22:48:16 +00:00
Glenn Maynard
ac95c478f5
Update.
2002-08-24 21:25:35 +00:00
Glenn Maynard
f54cb254a6
Add GroupList.
...
(Group list from the group select screen, with no limit on song count.)
2002-08-24 20:36:29 +00:00
Glenn Maynard
849086a3ba
fix error (must remember to clear cache when testing this type of thing)
2002-08-24 09:24:53 +00:00
Glenn Maynard
30dd7ab9b2
Two different pieces of code in the editor were initializing a "new" song,
...
and they were both being triggered. Only do it in the ctor, since we need
the information that's being initialized elsewhere in the editor.
2002-08-24 08:28:44 +00:00
Glenn Maynard
79bc58aedd
Fix a bug in the m_sSongFileName optimization; add an assertion for it.
2002-08-24 07:57:28 +00:00
Glenn Maynard
d52224560e
implement m_bDelayedEscape
2002-08-24 06:34:15 +00:00
Glenn Maynard
1d2e3faefd
Add MusicList (move column display out of ScreenSelectGroup). Doesn't
...
have a group limit (but ScreenSelectGroup still does)
2002-08-24 06:30:32 +00:00
Glenn Maynard
4e4be34e61
Remove unused sound.
2002-08-24 04:44:47 +00:00
Glenn Maynard
73cc0c48f3
Update.
2002-08-24 04:33:10 +00:00
Glenn Maynard
45003ad3a6
Rename m_szStyleName back to m_szName. (Makes more sense,
...
now that I know more about what it does: nothing at all, so it's just
the name of the def itself, not the name of the data loaded.)
2002-08-24 04:26:28 +00:00
Glenn Maynard
cc63cec6f6
Fix braindead change on my part (though I don't think it actually
...
broke anything)
2002-08-24 04:25:30 +00:00
Glenn Maynard
31075451d6
Go back to the correct screen when backing out of the options
...
menu in oni/endless.
2002-08-24 02:46:09 +00:00
Glenn Maynard
9ef1b27c4a
Lock the Pump pad device while enumerating DI8 devices, to work around
...
a DI8 bug.
2002-08-24 02:26:39 +00:00
Glenn Maynard
c8865e95d7
Remove '`' binding until our font has it.
...
Fix joystick Y axis.
2002-08-23 22:52:53 +00:00
Glenn Maynard
9aaffa7b5a
change m_szName to m_szStyleName
2002-08-23 21:57:42 +00:00
Glenn Maynard
b88e252ad8
Replace toChar switch with a table
2002-08-23 21:42:42 +00:00
Glenn Maynard
9a9463a40b
fix wrong commit
2002-08-23 08:42:38 +00:00
Glenn Maynard
6121298ddf
no, scoping in here (what the heck did I just commit to editmenu? stupid gui)
2002-08-23 08:41:06 +00:00
Glenn Maynard
36ebdf3646
scoping
2002-08-23 08:40:29 +00:00
Glenn Maynard
9e90640281
fix texture memleak
2002-08-23 08:30:44 +00:00
Glenn Maynard
587440ab8e
class with virtual members must always have a virtual dtor
...
(actually, any class that will be derived from should)
2002-08-23 08:30:10 +00:00
Glenn Maynard
0276234c56
minor simplifications
2002-08-23 08:26:11 +00:00
Glenn Maynard
55ad6158a6
Fix a memleak that doesn't matter
...
(still havn't found the memleak I'm looking for, but I'll find every harmless
one instead!)
2002-08-23 06:50:48 +00:00
Glenn Maynard
f9546160b6
Assuming "HACK!" is because the screen deleting was skipping deletions:
...
it'd delete 0, remove it from the list, then remove 1, skipping the new 0.
Fixed that, removed the skip-update hack.
(Trying to track down a memory leak ...)
2002-08-23 06:47:34 +00:00
Glenn Maynard
de56602adb
Remove unused consts (they were moved)
2002-08-23 06:21:13 +00:00
Glenn Maynard
6cdc09abfd
Add two new difficulty levels. (The hardest might stress the timing of
...
the system, but I can't think of any good way to test this ...)
2002-08-23 06:01:29 +00:00
Glenn Maynard
db5d0f64ff
Remove extra LoadFromSong().
2002-08-23 05:10:31 +00:00
Glenn Maynard
ab3995ffec
Simpify CTextureRenderer.
2002-08-23 05:09:42 +00:00
Glenn Maynard
f102fd6671
Only query COM interfaces when we need them.
2002-08-23 05:02:51 +00:00
Glenn Maynard
4d1a9e1d68
VOID Create -> void Create
...
SetLoopOn/Off -> SetLooping(bool)
CTextureRenderer throws its own exception
2002-08-23 01:55:38 +00:00
Glenn Maynard
5111876b0d
Hide CTextureRenderer in RageMovieTexture.cpp.
2002-08-23 01:32:34 +00:00
Glenn Maynard
cc93e9a096
const const const
2002-08-23 01:31:48 +00:00
Glenn Maynard
6e0bf98bc4
Remove extra assert.h.
2002-08-23 01:06:56 +00:00
Glenn Maynard
b841bd7e82
Add missing assert.h.
2002-08-23 01:06:36 +00:00
Glenn Maynard
c4cbd08c05
Remove unused afxcmn.h (we don't use MFC controls).
2002-08-23 01:04:44 +00:00
Glenn Maynard
e2f8e8b9e7
add stdafx.h so it compiles with PCH.
2002-08-23 00:57:48 +00:00
Glenn Maynard
8608e8a3b3
add (currently unused) pump couple case. (should this be in the
...
style table?)
2002-08-23 00:56:05 +00:00
Glenn Maynard
ec173c736a
don't use #pragma once
2002-08-23 00:52:12 +00:00
Glenn Maynard
acdb4d6cd1
const, less includes
2002-08-23 00:49:09 +00:00
Glenn Maynard
46a56d0ce4
Comment out message that's breaking song selection.
2002-08-23 00:28:13 +00:00
Glenn Maynard
980a8ff6a4
Add ScreenSelectStyle5th.
2002-08-23 00:27:26 +00:00
Glenn Maynard
b45491888a
add STYLE_PUMP_COUPLE, currently unused so after NUM_STYLES
2002-08-23 00:23:58 +00:00
Glenn Maynard
e23091e19b
Move NotesTypeToNumTracks, StringToNotesType, NotesTypeToString
...
into GameManager.cpp and make them use the table.
add NOTES_TYPE_PUMP_COUPLE, currently unused so after
NUM_NOTES_TYPES
2002-08-23 00:23:31 +00:00
Glenn Maynard
9761968bd2
Use GameManager lookups.
2002-08-23 00:22:27 +00:00
Glenn Maynard
5cba9d1d41
More const.
...
Move NotesTypeToNumTracks, StringToNotesType, NotesTypeToString
into GameManager.cpp and make them use the table.
2002-08-23 00:19:31 +00:00
Glenn Maynard
a8dfdcbc9d
hi ho, const safety
2002-08-22 23:36:03 +00:00
Glenn Maynard
2564a200c8
hi hi, const safety
2002-08-22 23:28:44 +00:00
Glenn Maynard
c3a8734893
lo! const safety!
2002-08-22 23:05:49 +00:00
Glenn Maynard
ae99e427d7
o/~ const safety o/~ (and a commented out pump couples definition)
2002-08-22 23:05:08 +00:00
Glenn Maynard
b4717afc2e
o/~ const safety o/~
2002-08-22 23:03:39 +00:00
Glenn Maynard
48b90d9985
const safety one two three
2002-08-22 23:02:51 +00:00
Glenn Maynard
ff7801d807
const safety ...
2002-08-22 22:59:54 +00:00
Glenn Maynard
1fa18136f5
const safety
2002-08-22 22:59:19 +00:00
Glenn Maynard
9881034aae
trace before LoadFromSMFile instead of after
2002-08-22 22:48:04 +00:00
Glenn Maynard
dae5c84134
CString -> const CString & in params
...
(not as much of an optimization as with the STL, since CString is refcounted, but still good practice)
2002-08-22 22:12:29 +00:00
Glenn Maynard
56b72981a7
Cache GetSongFilePath, so it doesn't call GetDirListing. Cuts about 200ms off my laod.
2002-08-22 21:59:47 +00:00
Glenn Maynard
eac14b10b6
(fake commit to test syncinfo)
2002-08-22 20:21:37 +00:00
Glenn Maynard
a5192fd6a0
(fake commit to test syncinfo)
2002-08-22 20:19:49 +00:00
Glenn Maynard
137263f3df
(fake commit to test syncinfo)
2002-08-22 19:58:47 +00:00
Glenn Maynard
de52f90058
(fake commit to test syncinfo)
2002-08-22 19:57:52 +00:00
Glenn Maynard
450071d5d8
(fake commit to test syncinfo)
2002-08-22 19:38:10 +00:00
Glenn Maynard
d7af134502
(fake commit to test syncinfo)
2002-08-22 19:37:34 +00:00
Glenn Maynard
70e03e9ffa
(fake commit to test syncinfo)
2002-08-22 19:33:28 +00:00
Glenn Maynard
a1802fab1d
(fake commit to test syncinfo)
2002-08-22 19:32:22 +00:00
Glenn Maynard
7252759ec9
(fake commit to test syncinfo)
2002-08-22 19:29:10 +00:00
Glenn Maynard
531330ba83
(fake commit to test syncinfo)
2002-08-22 19:27:10 +00:00
Glenn Maynard
0b31c88961
(fake commit to test syncinfo)
2002-08-22 19:26:40 +00:00
Glenn Maynard
b61412b333
(fake commit to test syncinfo)
2002-08-22 19:25:01 +00:00
Glenn Maynard
c4c59a23c7
Trivial simplifications.
2002-08-22 19:11:41 +00:00
Glenn Maynard
a0cf0fde6b
Add SongSelector.* to the VS7 project.
2002-08-22 08:51:07 +00:00
Glenn Maynard
3e4576352f
Dim unavailable refresh rates. Add "MAX" refresh. Dim refresh rates when set to windowed.
2002-08-22 08:49:41 +00:00
Glenn Maynard
49e01d32ad
More dimming support.
2002-08-22 08:46:45 +00:00
Glenn Maynard
592e0e1733
More dimming support.
2002-08-22 08:08:16 +00:00
Glenn Maynard
c0384d6529
Add dimming support.
2002-08-22 07:35:58 +00:00
Glenn Maynard
78bd46eb04
move song selection for the editor to SongSelector
2002-08-22 05:57:15 +00:00
Glenn Maynard
b657027ad6
Before/AfterRowChange -> ChangeSelectedRow
2002-08-22 04:14:24 +00:00
Glenn Maynard
1f807bc7e2
Forgot to commit this: add shiftAnchor to ScreenEdit.
2002-08-22 04:05:13 +00:00
Glenn Maynard
7a26eac141
Update.
2002-08-22 03:37:28 +00:00
Glenn Maynard
a87562116b
Add optoin to make pad escape instant.
2002-08-22 03:35:33 +00:00
Glenn Maynard
09b89aa400
Simplify graphics search. Search for movies as graphics, too.
2002-08-22 02:43:07 +00:00
Glenn Maynard
bc7e0ceadd
trivial simplifications
2002-08-22 00:56:22 +00:00
Glenn Maynard
89a8953bba
Handle IET_RELEASE.
2002-08-21 22:49:13 +00:00
Glenn Maynard
1ca396bd49
Move +/- -> {/}, so it lines up with [/]. Add shift-motion selection.
2002-08-21 22:48:33 +00:00
Glenn Maynard
950729ea91
Update.
2002-08-21 22:33:26 +00:00
Glenn Maynard
89a4c8365f
Move slow-mo to ~.
2002-08-21 22:33:04 +00:00
Glenn Maynard
3364c2c20e
Add templated swap().
2002-08-21 21:47:36 +00:00
Glenn Maynard
7c905e971c
Changes in preparation for handling IET_RELEASE.
2002-08-21 21:47:06 +00:00