Glenn Maynard
98470966a8
Remove comment. It's out-of-date and probably misleading to anyone
...
reading it. Easier to keep inline comments updated than a large prefixed
description.
2002-10-28 09:38:06 +00:00
Glenn Maynard
5c2dbf9426
remove boring timings
2002-10-28 09:35:03 +00:00
Glenn Maynard
3d0379f5a9
Figure out the texture format by starting at the input alpha depth and
...
and pruning it down, instead of starting at the hint.
2002-10-28 09:33:13 +00:00
Glenn Maynard
cc68e1d3a9
convert to RGBA for resizing (worry about making it work on other
...
formats after it's correct for this)
2002-10-28 09:02:53 +00:00
Glenn Maynard
1d792fe0f4
disable noisy warning
2002-10-28 06:40:47 +00:00
Glenn Maynard
195772c720
Fix VC7 project. Make rotozoom C++, updated, junk removed, single
...
zoom function, remove hack that causes image misalignment.
2002-10-28 06:19:23 +00:00
Glenn Maynard
f16abb5efe
add forgotton dll
2002-10-26 23:15:31 +00:00
Glenn Maynard
546519e7ec
Make m_TapNotes a vector. (Hmm. Not ideal, but better.) Still not
...
completely abstracted (NotesLoaderBMS).
2002-10-25 23:32:50 +00:00
Glenn Maynard
34200fa213
Agh, pain. Stupid incompatible runtime libraries. Fix this stuff up.
2002-10-25 22:15:57 +00:00
Glenn Maynard
4327f58cbb
Remove MSVCR70.DLL linkage. Still need to fix SDL_image and there
...
may be other runtimes to deal with ...
2002-10-25 21:18:08 +00:00
Glenn Maynard
8900c30e3e
Don't pull off the extension from detected movies.
2002-10-25 07:35:47 +00:00
Glenn Maynard
6fc73af64b
pull out some repetitive code
2002-10-25 07:35:07 +00:00
Glenn Maynard
9a45291805
use Get/SetTapNote and constants
2002-10-25 05:19:27 +00:00
Glenn Maynard
228b2f6ecf
use less magic constants
2002-10-25 05:06:52 +00:00
Glenn Maynard
512af1b8e5
Next on Fox: When Printfs ATTACK
2002-10-25 05:06:38 +00:00
Glenn Maynard
725fc98248
use Get/SetTapNote
2002-10-25 04:59:26 +00:00
Glenn Maynard
c2cc2881f9
use Get/SetTapNote. Stupid Printf Tricks.
2002-10-25 04:59:12 +00:00
Glenn Maynard
ebe0fd55ce
use Get/SetTapNote. Fix double/float warning. >> 1 instead of / 2 isn't
...
really an optimization.
2002-10-25 04:45:16 +00:00
Glenn Maynard
51f61cabd2
More constants
2002-10-25 04:39:10 +00:00
Glenn Maynard
dbb06ce6ac
use Get/SetTapNote
2002-10-25 04:37:00 +00:00
Glenn Maynard
b766b6c7b9
add TAP_EMPTY to make it easier to search for and replace than '0'
2002-10-25 04:36:13 +00:00
Glenn Maynard
0a73e01186
Use map<> in IniFile.
...
This has a side-effect: written INIs are sorted by key and name.
Unintentional, but not necessarily a bad thing ...
2002-10-24 23:08:18 +00:00
Glenn Maynard
dc43775b83
Err, the scoring code is broken; add a hack to get it to stop crashing
...
the gameplay screen so I can finish what I'm working on.
2002-10-24 23:06:37 +00:00
Glenn Maynard
7e08ea8408
get rid of some SetSize calls
2002-10-24 20:16:46 +00:00
Glenn Maynard
ff00bf963d
cleanup
2002-10-24 20:16:06 +00:00
Glenn Maynard
5c841f287b
s/RemoveAll/clear/g
2002-10-24 20:15:24 +00:00
Glenn Maynard
85e409b121
some more MFCisms to STLisms
2002-10-24 19:55:09 +00:00
Glenn Maynard
d5b1f36775
some MFCisms to STLisms (both currently work on CArray)
2002-10-24 19:53:13 +00:00
Glenn Maynard
1f9e9c4a0c
i believe this is fixed
2002-10-24 08:45:49 +00:00
Glenn Maynard
377ded65ea
vc6 fixup
2002-10-24 08:43:39 +00:00
Glenn Maynard
4fa4be8161
eliminate GetData()
2002-10-24 08:40:27 +00:00
Glenn Maynard
272197a252
move STDCArray after CArray defs so CStringArray is always
...
STDCArray-based
2002-10-24 08:38:53 +00:00
Glenn Maynard
738617a01b
change more qsorts to sort
2002-10-24 08:17:09 +00:00
Glenn Maynard
ce38b44c59
change most qsorts to sort
2002-10-24 07:56:20 +00:00
Glenn Maynard
9e450e2d7a
remove unused file utils
2002-10-24 07:19:57 +00:00
Glenn Maynard
df64537353
switch this little timer to RT, since dxutil is gone
2002-10-24 07:11:21 +00:00
Glenn Maynard
53974fc2cd
move PDB into build directories for vc7
2002-10-24 07:10:22 +00:00
Glenn Maynard
e3e47e9417
Use mean() and stddev().
2002-10-24 07:09:54 +00:00
Glenn Maynard
7437e1238b
add STL-style (and using) mean and stddev functions.
...
(They're not actually templates, since we don't really need that, and I
don't want to add code to headers without reason, but they could
easily be generalized to support any floating-point type.)
2002-10-24 07:09:38 +00:00
Glenn Maynard
6638faad4c
Use <algorithm> for min and max, and whatever else it has. Add
...
a workaround for a VC6 STL bug.
2002-10-24 07:07:26 +00:00
Glenn Maynard
7fedce4011
quiet warnings
2002-10-24 07:05:15 +00:00
Glenn Maynard
c2d41313d3
move PDB into build directories for vc6
2002-10-24 06:58:48 +00:00
Glenn Maynard
66392109c7
remove timing cruft
2002-10-24 06:35:10 +00:00
Glenn Maynard
5cb5e68a6a
Jared's Oni life fix. Add a comment.
2002-10-24 05:24:56 +00:00
Glenn Maynard
fcc020dd98
remove unused parameter
2002-10-24 05:15:47 +00:00
Glenn Maynard
22f53dd0ce
Turn off another warning (I believe DXUtil or something
...
was turning this off previously).
Add inactive code to use StdString.
Add wrapper for CString to give us GetString in VC6. It'll go away eventually.
2002-10-24 05:06:45 +00:00
Glenn Maynard
4c50a27275
New texture loader.
2002-10-24 04:16:15 +00:00
Glenn Maynard
161fd75058
SDL init.
2002-10-24 03:56:46 +00:00
Glenn Maynard
c5925aea51
SDL-based timer. Trivial.
2002-10-24 03:55:40 +00:00
Glenn Maynard
c470d0fb9f
Add new files.
...
Add the SDL include directories.
This removes dxutil.cpp,h. This won't compile until I commit the new
RageTimer, which will be in a moment.
Increase the default warning level to 4. (Thought I committed that;
maybe I only did it for one build.)
I think the rest is just harmless cruft changes from VC that happen every
time someone commits to these files.
2002-10-24 03:55:07 +00:00
Glenn Maynard
53ebb7d35c
bugfix for when not all notetypes are available
...
remove lots of unused includes
2002-10-24 03:47:37 +00:00
Glenn Maynard
cbd53dad3e
doesn't actually use dxutil
2002-10-24 03:46:25 +00:00
Glenn Maynard
3f2648011f
Some SDL source files: dithering routine, zoom routine and
...
misc. tools.
2002-10-24 03:38:23 +00:00
Glenn Maynard
9adcb8349d
SDL, SDL debug DLL and SDL_image.
2002-10-24 03:34:27 +00:00
Glenn Maynard
fe7c85449c
DLLs used by SDL_image.
2002-10-24 03:32:59 +00:00
Glenn Maynard
0b1cd44364
Update.
2002-10-20 09:49:17 +00:00
Glenn Maynard
dc06849fa0
Use clamp instead of border to get rid of some stray lines.
2002-10-20 08:50:49 +00:00
Glenn Maynard
8669f05da3
Update.
2002-10-20 07:15:52 +00:00
Glenn Maynard
2cd8a7c313
Hide the main window when we crash. Save the dump early, in case
...
something else blows up.
2002-10-20 07:14:23 +00:00
Glenn Maynard
833fc3ccdb
Fix a random #pragma once.
2002-10-20 05:14:39 +00:00
Glenn Maynard
e3a03499dc
Remove RageTexture::m_TextureFormat.
2002-10-20 05:14:16 +00:00
Glenn Maynard
f15a46f431
Don't set RageTexture::m_TextureFormat. (Nothing ever reads it beyond
...
texture creation, so it can be removed.)
2002-10-20 05:13:34 +00:00
Glenn Maynard
d997eb6c03
Move commas into a place real, living humans expect them to be.
2002-10-20 03:56:09 +00:00
Glenn Maynard
269117402d
Update.
2002-10-20 03:54:54 +00:00
Glenn Maynard
90f826b278
Clean up restarting: close the mutex to make sure it actually restarts,
...
and don't make assumptions about the executable filename.
2002-10-20 03:53:45 +00:00
Glenn Maynard
22b95f922f
Change DWORD to int in *Texture*. (Maybe it should be unsigned, but
...
we don't use unsigned much anyway.)
2002-10-19 19:30:34 +00:00
Glenn Maynard
d98b95d63c
Remove unnecessary cast.
2002-10-19 19:21:21 +00:00
Glenn Maynard
b3f4d37071
If UTDSeconds is 0, unload unused textures immediately; this makes
...
sure we don't keep them around for an extra screen anyway.
2002-10-19 19:18:40 +00:00
Glenn Maynard
7783b51900
map iterators aren't invalidated when you delete a different one
2002-10-19 18:56:48 +00:00
Glenn Maynard
40ef973094
move/fix comment
2002-10-18 23:12:20 +00:00
Glenn Maynard
04d39f2dfb
Only save #FIRSTBEAT/#LASTBEAT to cache. (It's derived.)
2002-10-18 19:46:55 +00:00
Glenn Maynard
ffd4a4f436
/* */
2002-10-18 19:46:00 +00:00
Glenn Maynard
1c955f47f6
Remove obsolete commented code.
...
Increase draw-behind when recording, so notes don't pop distractingly
out of view before they're off-screen.
2002-10-18 04:13:19 +00:00
Glenn Maynard
995a75b4cf
fix reselection bug
2002-10-18 02:42:52 +00:00
Glenn Maynard
dc28f03cde
Merge R and P keys.
2002-10-18 02:08:44 +00:00
Glenn Maynard
3f60901da2
Sync up playing and recording.
2002-10-18 02:03:44 +00:00
Glenn Maynard
5b2aee2420
Make sure record never sets a negative note.
...
Make sure escape doesn't do anything else when exiting from record.
2002-10-18 02:02:53 +00:00
Glenn Maynard
1ca0f1f719
More extra code.
...
Comment out the, er, dimmer.
2002-10-18 01:46:25 +00:00
Glenn Maynard
5d94e66b8d
Bring speeds out to two decimal places, so we get .75.
2002-10-18 01:36:19 +00:00
Glenn Maynard
5b2e497b76
Handle speed modifiers specially, so we don't bail if we
...
get a weird speed.
If we *do* bail, log why.
2002-10-18 01:35:45 +00:00
Glenn Maynard
191d6aa8fd
Bring ticks in edit closer to gameplay; perhaps move this to Player to
...
get rid of the dupe ...
2002-10-18 01:09:59 +00:00
Glenn Maynard
def5791975
Remove unnecessary cast.
2002-10-18 00:59:34 +00:00
Glenn Maynard
2cef59ffd2
Now that I've done all that, I can fix this: don't leave the cursor before
...
the beginning of the song when escaping from play and edit.
2002-10-18 00:58:21 +00:00
Glenn Maynard
a8ed1f80c1
Pull out more common code.
2002-10-18 00:53:22 +00:00
Glenn Maynard
90a69d75d5
Pull out more common code.
2002-10-18 00:45:09 +00:00
Glenn Maynard
109ce4e915
Pull out common code.
2002-10-18 00:30:00 +00:00
Glenn Maynard
11a8dbb5a6
Finally got that stupid lock cleared out ...
2002-10-18 00:14:21 +00:00
Glenn Maynard
75e27c243c
/* */
2002-10-17 23:31:17 +00:00
Glenn Maynard
47cceb5a78
Rename .sm files on save, too. Add explanation and a TODO.
2002-10-17 20:52:32 +00:00
Glenn Maynard
1e6a9d3bc3
Go to somewhat greater lengths to ensure we get a valid filename
...
when saving; some songs have characters in them we can't store in
filenames.
2002-10-17 20:43:47 +00:00
Glenn Maynard
aba8523532
Oops. Duplication of code leads to duplication of bugs yet again. :)
2002-10-16 19:31:17 +00:00
Glenn Maynard
88a01c7ca4
Oops.
2002-10-16 19:02:01 +00:00
Glenn Maynard
c6732a87a6
Fix wrapping of m_fItemAtTopOfList causing crash if we delay long enough
...
to need to wrap twice. (Only happened while debugging, but.)
2002-10-16 19:01:11 +00:00
Glenn Maynard
4fb80b6864
(and actually use a period)
2002-10-16 18:29:04 +00:00
Glenn Maynard
e321294153
Fix hour-long endless courses.
2002-10-16 18:25:14 +00:00
Glenn Maynard
0df7451fd4
fixup
2002-10-16 03:55:12 +00:00
Glenn Maynard
7b8526af26
Reduce extra sprites in tiled images. Mild speedup to the danger
...
background.
The background isn't (usually) the screen size anymore, so SCREEN_*
doesn't seem to make much sense here. Actually, I'm not sure it ever
really did, since unless the screen is 640x480, the image will get resized
anyway ... we should probably have a way of specifying the tile dimensions.
2002-10-16 03:32:18 +00:00
Glenn Maynard
74d7f20479
commented debug function no longer exists
...
fold out a conditional (cosmetic)
2002-10-16 00:28:01 +00:00
Glenn Maynard
1d3d8524de
remove finished todo
2002-10-14 03:24:49 +00:00
Glenn Maynard
5bbbbdcf92
Remove multiple notetypes per style. Not used, just clutter now.
2002-10-14 00:28:27 +00:00