Glenn Maynard
1497b9824a
do D3D fallback, at least for now
2003-05-28 05:58:24 +00:00
Glenn Maynard
55a323a8d2
Don't distribute Characters yet.
2003-05-28 05:02:41 +00:00
Glenn Maynard
28ae18762f
Fix the ranking screen in Pump mode.
...
Add help entry.
2003-05-28 05:02:11 +00:00
Glenn Maynard
466006dfe5
add preference for number of backgrounds to load
2003-05-28 04:47:10 +00:00
Glenn Maynard
f43aabe61f
add preference for number of backgrounds to load
2003-05-28 04:33:55 +00:00
Glenn Maynard
b01975f1eb
add Pump autoconfig
...
handle two players on one device
2003-05-28 04:22:52 +00:00
Glenn Maynard
11400e7000
cleanup
2003-05-28 04:21:12 +00:00
Glenn Maynard
7122b233b6
add Pump button constants
2003-05-28 04:20:31 +00:00
Glenn Maynard
8093060a90
Fix warning, remove hard length
2003-05-28 03:53:20 +00:00
Glenn Maynard
a5d570067e
clean up random background names
2003-05-28 03:35:08 +00:00
Glenn Maynard
57cf60a79f
fix crash
...
add comment
2003-05-28 03:33:46 +00:00
Glenn Maynard
2d9aeb4701
fix crash with no music
2003-05-28 03:32:07 +00:00
Glenn Maynard
c3c96f390c
grumble
2003-05-27 08:39:36 +00:00
Glenn Maynard
2c06e0b8d6
no, really, normals are normals
2003-05-27 08:39:35 +00:00
Glenn Maynard
726d79ecf8
(l+r)/(l-r) == -(r+l)/(r-l)
2003-05-27 08:39:34 +00:00
Glenn Maynard
2416b32182
(l+r)/(l-r) == -(r+l)/(r-l)
2003-05-27 08:31:55 +00:00
Glenn Maynard
c622fcb67d
noisy
2003-05-27 05:27:38 +00:00
Glenn Maynard
ea330f17ad
fix normals
2003-05-27 05:26:53 +00:00
Glenn Maynard
b4272cd942
Disable dancing characters toggle for a snapshot, so I don't get spammed
...
with people asking where to get models.
2003-05-27 02:36:04 +00:00
Glenn Maynard
b0dac852ba
disable Rave mode for now (reenable it when you're back to working on it;
...
just making sure I don't leave it in a snapshot again)
2003-05-27 02:01:01 +00:00
Glenn Maynard
962e927c84
Disable the sound menu for now; it doesn't do anything useful at the moment.
2003-05-27 01:59:43 +00:00
Glenn Maynard
eef3f40632
remove /FIXED:no (used for VTune)
2003-05-27 01:56:26 +00:00
Glenn Maynard
973bd61290
comment
2003-05-27 01:31:09 +00:00
Glenn Maynard
3637516f3d
small cleanup
2003-05-27 01:12:28 +00:00
Glenn Maynard
65b5eb0274
Rename AllowSoftwareRenderer to AllowUnacceleratedRenderer; people
...
seem to think SM has an internal software renderer ...
2003-05-27 01:04:16 +00:00
Glenn Maynard
35e8806642
Rename AllowSoftwareRenderer to AllowUnacceleratedRenderer; people
...
seem to think SM has an internal software renderer ...
Allow overriding the renderer; "Renderer=d3d".
2003-05-27 01:03:21 +00:00
Glenn Maynard
44ecb31171
save mapped logs to log.txt once
2003-05-27 00:49:05 +00:00
Glenn Maynard
2e96c4785e
log current renderer
2003-05-27 00:48:40 +00:00
Glenn Maynard
a9fa113a0f
Link to OpenGL in the OGL renderer. We don't use glu anymore.
2003-05-27 00:25:46 +00:00
Glenn Maynard
3e1707e641
Consolidate poly line code, so it can be used with both renderers. Use it
...
with D3D instead of hardware lines.
2003-05-27 00:20:54 +00:00
Glenn Maynard
d94aa65179
add VideoDriverInfo
2003-05-26 23:36:17 +00:00
Glenn Maynard
9ee6cfd453
start of intelligent renderer selection
2003-05-26 23:33:37 +00:00
Glenn Maynard
cc6ae9f952
add headers
2003-05-26 22:25:23 +00:00
Glenn Maynard
c6dcd8c489
GLDirect hacks should become irrelevant now
2003-05-26 21:02:49 +00:00
Glenn Maynard
6434a3b7d0
Go back to one configuration.
2003-05-26 21:00:51 +00:00
Glenn Maynard
568c24ae4e
Go back to one configuration.
2003-05-26 19:42:35 +00:00
Glenn Maynard
2ddc78909a
Combine binaries, so we can choose the renderer. No actual selection
...
yet; change CreateDisplay if you want to do that for the next few hours.
2003-05-26 19:42:04 +00:00
Glenn Maynard
56b79a197d
Make pixel format querying a member (massaging for merge).
...
Remove a function from the header.
2003-05-26 03:12:12 +00:00
Glenn Maynard
35405bc34c
remove log
2003-05-26 01:51:59 +00:00
Glenn Maynard
8217c7bbb8
use mySDL_EventState.
2003-05-26 01:48:48 +00:00
Glenn Maynard
e173d576f2
Use mySDL_EventState. Set up event types in the ctor.
...
Restore event masks when we change modes. It's vital that we not
do this incorrectly. Resetting the video system resets the mask. If we
have events that are enabled that we don't actually monitor, it'll just stay
in the event queue and eventually fill it.
Re-fix alt-enter causing both keys to "stick".
2003-05-26 01:47:57 +00:00
Glenn Maynard
2dc0c96c8d
add mySDL_GetAllEvents and mySDL_PushEvents
2003-05-26 01:43:23 +00:00
Glenn Maynard
41cd5fd769
cosmetic fix
2003-05-26 01:06:01 +00:00
Glenn Maynard
c4b029742e
Oops. Remove log.
2003-05-26 00:04:12 +00:00
Glenn Maynard
a1a2576949
use mySDL_EventState
2003-05-25 23:50:03 +00:00
Glenn Maynard
96f86ed5e2
Add mySDL_EventState to work around bizarre SDL event behavior
2003-05-25 23:49:40 +00:00
Glenn Maynard
e45220cdf2
don't need to reload textures on mode change anymore
2003-05-24 02:09:17 +00:00
Glenn Maynard
7396287b1c
Load texture palettes on demand, so we're not limited to 256. (That could
...
conceivably be a problem if a person has many songs with paletted
banners, for example.)
2003-05-24 02:03:17 +00:00
Glenn Maynard
85868bdd6b
Store texture palettes persistently.
2003-05-24 01:12:30 +00:00
Glenn Maynard
5e8eaf3096
Fix ortho projections in OpenGL.
...
D3D still isn't correct.
2003-05-23 21:10:25 +00:00
Glenn Maynard
7af753ba38
use preincrement instead of postincrement in general; it's faster
2003-05-23 01:45:38 +00:00
Glenn Maynard
a2d0a7dceb
comment
2003-05-23 01:25:01 +00:00
Glenn Maynard
167cc3aaef
Cool. Apparently this works on DLLs, too.
2003-05-22 23:50:00 +00:00
Glenn Maynard
de6dcbe208
Compress the executables. I'm not doing this during the build because
...
it takes a few seconds.
2003-05-22 23:44:17 +00:00
Glenn Maynard
e095545aa6
add upx
2003-05-22 23:40:51 +00:00
Glenn Maynard
21b358017d
No manual linking on the XBox.
2003-05-22 23:05:32 +00:00
Glenn Maynard
1122e9a105
link d3d8 dynamically
2003-05-22 22:55:58 +00:00
Glenn Maynard
623185dba7
also CString("")[0] is illegal
2003-05-22 21:13:29 +00:00
Glenn Maynard
3ed33e8e17
CString("")[0] is illegal
2003-05-22 21:13:02 +00:00
Glenn Maynard
43bdf89434
unused headers
2003-05-22 20:37:53 +00:00
Glenn Maynard
2e80061f5d
hash values have changed; clean out cache
2003-05-22 20:35:54 +00:00
Glenn Maynard
cc1e00823b
Rewrite GetHashForString to fix a small copyright problem. (A license
...
that says "you can use this code however you want" doesn't necessarily
imply "you can modify it, too", just that you can use it.)
Besides, hardcoding that huge table was ugly since it can be derived
easily.
2003-05-22 20:32:08 +00:00
Glenn Maynard
713b0021fa
Directory separator is /.
...
Simplify hash function. Remove old comments that no longer apply.
This CRC code says "You may use this program ... without restriction." That
doesn't say "use or modify"; although that may have been the intent, it
doesn't say that. I'll look around for some replacement code.
2003-05-22 20:02:05 +00:00
Glenn Maynard
f65da9e63e
Hash values are unsigned (gets rid of negative numbers in cache.index).
2003-05-22 19:36:54 +00:00
Glenn Maynard
1edc1a325c
Const fixes.
...
Add unsigned values.
Remove old, outdated, redundant comments.
Simplify.
2003-05-22 19:35:57 +00:00
Glenn Maynard
383779f2fc
warning C4702: unreachable code
2003-05-22 08:38:57 +00:00
Glenn Maynard
84bcc3146a
fix latent viewport bug
2003-05-22 08:37:15 +00:00
Glenn Maynard
52b6b76bee
D3D's D3DRS_CULLMODE D3DCULL_CCW means "cull CCW polys".
...
OpenGL's GL_FRONT_FACE = GL_CCW means front faces are CCW, so
cull CW faces (assuming GL_CULL_FACE_MODE is GL_BACK).
They're logically opposite.
2003-05-22 08:11:47 +00:00
Glenn Maynard
5b77364c8a
more build rule fixes
2003-05-22 08:02:49 +00:00
Glenn Maynard
8ad78ae5af
fix pre-build rule
2003-05-22 07:13:44 +00:00
Glenn Maynard
35aab38460
Clarify some code.
...
If we're in BOTH mode, center long options; splitting them up looks
strange.
2003-05-21 01:58:47 +00:00
Glenn Maynard
4e0faadce5
Remove unused dimming code and some old unused variables.
...
Make a bit of implementation private.
2003-05-21 01:10:13 +00:00
Glenn Maynard
1ebd7aac26
General simplification/cleanup.
...
Use conversion interface to read KSFs with CP942 data.
2003-05-21 00:10:31 +00:00
Glenn Maynard
a8129c4543
Add a simple conversion interface.
2003-05-21 00:08:58 +00:00
Glenn Maynard
822a5441dd
add CDTitleSpinSeconds
2003-05-20 05:52:40 +00:00
Glenn Maynard
5a01a6977e
Implement CDTitles using culling, so dimming always happens at the
...
right time.
2003-05-20 05:31:38 +00:00
Glenn Maynard
076b03f8fa
cosmetic
2003-05-20 05:29:57 +00:00
Glenn Maynard
650611f0e2
fix comments
2003-05-20 05:26:12 +00:00
Glenn Maynard
524d44f252
"native" option was backwards
2003-05-20 04:44:41 +00:00
Glenn Maynard
9013581d09
disable m_bDelayedScreenLoad by default
2003-05-20 04:42:12 +00:00
Glenn Maynard
e4fb1f2440
rename m_bShowTranslations to m_bShowNative
2003-05-20 04:41:47 +00:00
Glenn Maynard
d11e177327
simplify
2003-05-20 04:14:53 +00:00
Glenn Maynard
55c440cb4e
add CategoryWidth
2003-05-19 23:50:31 +00:00
Glenn Maynard
5f8ba085a5
add CategoryWidth; tweak alignment
2003-05-19 23:49:57 +00:00
Glenn Maynard
0acd471db0
add SetTextMaxWidth
2003-05-19 23:48:51 +00:00
Glenn Maynard
1e016a3c49
fix constant
2003-05-19 21:50:56 +00:00
Glenn Maynard
32ca276305
read global data before reading notes
2003-05-19 19:58:46 +00:00
Glenn Maynard
b629d71cd0
split global data reading into a function
...
also derive name from pathname if there is no #TITLE at all
2003-05-19 19:55:42 +00:00
Glenn Maynard
55abb5165b
restore important comment
2003-05-19 08:55:33 +00:00
Glenn Maynard
29a17b4964
more cleaning up
2003-05-19 08:53:53 +00:00
Glenn Maynard
56d71b85b6
cleanup
2003-05-19 08:50:58 +00:00
Glenn Maynard
747e148a73
fix abstraction
2003-05-19 08:47:10 +00:00
Glenn Maynard
fbbe9d9b0c
Add a FAQ.
...
Move <hr> within anchors; makes links cleaner.
2003-05-18 22:58:46 +00:00
Glenn Maynard
43be0509a4
update
2003-05-18 22:40:08 +00:00
Glenn Maynard
9e0a1e08aa
Fix lyrics in courses
2003-05-18 22:37:20 +00:00
Glenn Maynard
4866eb62a5
add incomplete BPM handling
2003-05-18 05:11:46 +00:00
Glenn Maynard
5257503d04
Don't wipe out UTF-8 titles.
2003-05-18 04:47:21 +00:00
Glenn Maynard
01a6404711
add utf8_is_valid
2003-05-18 04:36:03 +00:00
Glenn Maynard
68038cdf49
temporary hack to fix up cdtitle dimming
2003-05-17 23:11:16 +00:00
Glenn Maynard
09372ac3f8
Disable SORT_PREFERRED for now, until it's actually implemented; it's
...
not very different from SORT_GROUP right now.
2003-05-17 23:04:14 +00:00