Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 2e6fdb52db Wrap a long line. 2003-06-04 20:09:59 +00:00
Glenn Maynard 1dc380ee5c When converting SDL surfaces, only copy the palette if both the source
and dest is paletted.

Add: mySDL_SaveSurface, mySDL_LoadSurface, mySDL_MapRGBExact
(like SDL_MapRGB but does no nearest-match) and mySDL_BlitTransform.
2003-06-04 20:08:51 +00:00
Glenn Maynard 94f1803871 fix ScreenSelectGame showing all games 2003-06-04 20:06:10 +00:00
Glenn Maynard 03eb123be2 fix Voodoo detection 2003-06-01 02:17:29 +00:00
Glenn Maynard 7d8ba73dc4 Fix warnings; improve error handling 2003-06-01 00:34:15 +00:00
Glenn Maynard d785321669 Old additions that I couldn't find. 2003-05-31 21:49:15 +00:00
Glenn Maynard 379aca13c7 Corrections/additions 2003-05-31 20:58:48 +00:00
Glenn Maynard 4486bd1754 Oops. Fix a silly bug on systems without paletted textures.
Fix assert failure.
2003-05-31 09:10:18 +00:00
Glenn Maynard 098a28beb3 bump cache 2003-05-31 04:48:38 +00:00
Glenn Maynard 0ca574331b add .3x and .5x 2003-05-31 02:35:06 +00:00
Glenn Maynard ee3e77b222 if the text to replace with is already there, don't do anything 2003-05-31 02:11:26 +00:00
Glenn Maynard fde21c4904 replacing with a smaller set 2003-05-31 01:40:35 +00:00
Glenn Maynard 380338d8ed update for separate template lists 2003-05-31 01:38:53 +00:00
Glenn Maynard 0bceefaa6b add a Korean template 2003-05-31 01:38:28 +00:00
Glenn Maynard 9b59633c18 I'm leery of using Translations.dat becoming a catch-all database of
typo corrections.  If you're not careful, it'll cause false positives, and false
hits will becomes extremely annoying very quickly.  This translation system
is useful as long as it's reliable and doesn't break people's titles; they'll
probably go up in arms if it starts getting annoying.

I turned off the blind Pierrot match; eg. there may be songs named Pierrot
with an artist of "Lee Hyun Do feat my dog", which would get wiped out.
I'm undecided about the others; I'll leave the "XX" ones in, I think.
2003-05-31 01:33:41 +00:00
Glenn Maynard 7e0f4a3002 Don't use Translation.dat to transcode. The bytes in here were garbage;
I'm guessing you simply pasted data, which results in conversions happening
where you don't expect them.  CP949 conversions should be working.
2003-05-31 01:23:18 +00:00
Glenn Maynard a4e563114a improve abstraction 2003-05-30 21:36:56 +00:00
Glenn Maynard 982dc7551e add error detection 2003-05-30 21:14:24 +00:00
Glenn Maynard e72d10765d change beginner icon behavior 2003-05-30 21:13:54 +00:00
Glenn Maynard 4efac2b166 remove hard limit 2003-05-30 20:39:40 +00:00
Glenn Maynard b631efc312 handle NoteField reloading inside NoteField; this fixes note skins in
the editor
2003-05-30 20:23:57 +00:00
Glenn Maynard 9354eb8e5b Move tables to the top.
Add a paletted texture test; hopefully this will prevent it from happening
later, where it's inconvenient.
2003-05-30 20:16:30 +00:00
Glenn Maynard c39deb384c Remove dupe logic; fixes autogen course banners where the filename isn't
"banner" and probably fixes them for groups not in "Songs"
2003-05-30 19:40:10 +00:00
Glenn Maynard e75aa1ff7c add ScreenSelectMusic::FOV
fixes CDTitles
2003-05-30 19:30:06 +00:00
Glenn Maynard eb590154a3 add ScreenSelectMusic::FOV 2003-05-30 19:29:11 +00:00
Glenn Maynard 19a3813a72 handle fixed difficulties ("5..5" is a little unintuitive) 2003-05-30 09:19:43 +00:00
Glenn Maynard 364e3ef8cd Use 1280x960, not 1280x1024. The former is a standard 4:3 resolution;
the latter is a popular but bogus 5:4 resolution.
2003-05-30 08:59:16 +00:00
Glenn Maynard ee50591124 initialize vertices and VColors by default, to avoid sending bogus
data to the renderer
2003-05-29 08:34:18 +00:00
Glenn Maynard 9d73393586 Implement GetElapsedTimeFromBeat directly. Needs testing and review.
This makes time spacing fast on Stoic.

Tested by cross-referencing with GetBeatAndBPSFromElapsedTime;
behavior on stops seems to be correct.
2003-05-29 08:31:28 +00:00
Glenn Maynard 18cb26908a fix warnings 2003-05-29 08:28:53 +00:00
Glenn Maynard 854d596f22 handle stealth voodoos 2003-05-29 01:51:59 +00:00
Glenn Maynard 7dc5cef9a1 fix masking 2003-05-29 01:30:41 +00:00
Glenn Maynard 4c4a6b9948 Update.
This is hard to read; I suppose we need a scrollbar ...
2003-05-29 01:08:49 +00:00
Glenn Maynard 8e3e4c8ff1 Change the difficulty sort; always prefer the difficulty on EASY if there is
one.
2003-05-29 00:46:25 +00:00
Glenn Maynard a4e60cdd31 For now, sort the group sort by difficulty. As is, the difficulty sort was
missing.
2003-05-29 00:35:02 +00:00
Glenn Maynard c4caf4b948 Oops. Fix debug text on end of song. 2003-05-29 00:19:50 +00:00
Glenn Maynard abfb4c62eb Move the tables together. 2003-05-29 00:16:29 +00:00
Glenn Maynard 881d0e45d9 This fixes hidden, sudden, etc. with changed scroll speeds. I'm not sure
why this was here, so I'm not sure if this breaks other mods.  I need to set
up a test screen for gameplay mods; testing mods in gameplay is too slow ...
2003-05-29 00:15:51 +00:00
Glenn Maynard b64d5d5a08 add error checking 2003-05-28 20:25:21 +00:00
Glenn Maynard 9c8d65fffe fix ordering 2003-05-28 18:42:33 +00:00
Glenn Maynard 428ef40d32 simpify 2003-05-28 18:38:45 +00:00
Glenn Maynard bdd29acfa4 rename GetPrimaryVideoDriverName 2003-05-28 18:37:49 +00:00
Glenn Maynard ce2958ef83 simplify and fix GetPrimaryVideoDriverInfo 2003-05-28 18:36:44 +00:00
Glenn Maynard 5c830994fb add actual URLs 2003-05-28 06:41:47 +00:00
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