Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 95e3575094 Fix "Capitalize DWI, no SM": m_sSongFileName was not set correctly
if a DWI extension wasn't lower-case.
2003-09-04 19:29:42 +00:00
Glenn Maynard 8e69db6e86 Add SetExtension. 2003-09-04 19:28:39 +00:00
Glenn Maynard 6b4819bf36 typo 2003-09-04 19:00:25 +00:00
Glenn Maynard d5a299df4e Oops, silly fix. 2003-09-04 07:43:58 +00:00
Glenn Maynard d7cf9cfcfc Simplify. 2003-09-04 07:37:09 +00:00
Glenn Maynard 4183ac8f5b Simplify. 2003-09-04 07:34:05 +00:00
Glenn Maynard 869dbe66bd ProgressiveLifebarDifficulty, cleared and (total - 1) are all ints, so
ProgressiveLifebarDifficulty * cleared / (total - 1)) is an int.  Simplify.
2003-09-04 07:33:27 +00:00
Glenn Maynard 74b06a7e27 Fix progressive nonstop lifebar not working in event mode. (Event mode
with courses just means you can play another course without going through
the menus again.)
2003-09-04 07:28:28 +00:00
Glenn Maynard 9219322406 Fix course mode crashing. 2003-09-04 07:21:31 +00:00
Glenn Maynard d7961c86df fix stats charset 2003-09-04 07:00:43 +00:00
Glenn Maynard 5edf762024 fix quit taking a long time 2003-09-04 06:57:36 +00:00
Glenn Maynard 69173c225d Fix "dx50" (lowercase).
Strip these binaries (much smaller).
2003-09-04 05:58:05 +00:00
Glenn Maynard ab3d3c622a Fix visibility modifiers when combined with reverse modifiers 2003-09-04 05:27:43 +00:00
Glenn Maynard 563930a9be cleanup 2003-09-04 05:05:09 +00:00
Glenn Maynard d8e19adbd4 Reduce header dependencies. 2003-09-04 04:59:55 +00:00
Glenn Maynard 5fd9adbe38 Move ARROW_SPACING into ArrowEffects.cpp.
Move ARROW_SIZE into GameConstantsAndTypes.h.
2003-09-04 04:57:54 +00:00
Glenn Maynard f108e84730 fixes 2003-09-04 00:47:31 +00:00
Glenn Maynard d4a65a18d6 fixes 2003-09-04 00:41:34 +00:00
Glenn Maynard afdf53fab6 add characters 2003-09-03 23:12:55 +00:00
Glenn Maynard 228e8c3ccc update 2003-09-03 23:03:28 +00:00
Glenn Maynard 1f605a91aa add characters (old) 2003-09-03 23:00:13 +00:00
Glenn Maynard f7055c99eb add characters 2003-09-03 22:59:51 +00:00
Glenn Maynard 7bb4c6c2fb Default to 16bpp for fonts, unless the 32bpp hint is used. 2003-09-03 22:52:15 +00:00
Glenn Maynard 861f19388b simplify 2003-09-03 22:30:00 +00:00
Glenn Maynard 315d225724 Add DeviceInput::IsJoystick. 2003-09-03 22:28:46 +00:00
Glenn Maynard 8f3927478f add ForceKey, StopForcingKey 2003-09-03 21:49:11 +00:00
Glenn Maynard d934177bf4 Changed this during testing so I didn't have to recompile everything
each time I changed it.  Why make this inline?  It's not performance-critical
at that level, and it's more code in the headers to slow down compiles.
2003-09-03 18:22:55 +00:00
Glenn Maynard 0c0ec5fbc4 Use RAGE_ASSERT_M for better output. 2003-09-03 18:10:26 +00:00
Glenn Maynard 34b8ae04b9 Allow texture hints in font pages. 2003-09-03 09:03:58 +00:00
Glenn Maynard 0b80036bd8 remove unused code 2003-09-03 08:44:01 +00:00
Glenn Maynard fd05dfeffc Replace 4alphaonly and 8alphaonly with the simpler and more generally
useful 32bpp and 16bpp hints.  (alphaonly was broken and had the effect
of 32bpp anyway).  These force a texture to 32bpp and 16bpp, overriding
the user's preference.

Use 32bpp for images that really do need 32bpp (where "dither" isn't
good enough).  Use 16bpp for images that really don't need 32bpp,
to save memory.
2003-09-03 08:41:12 +00:00
Glenn Maynard 9a27e53ac5 Loud output. 2003-09-03 08:01:48 +00:00
Glenn Maynard f3a55abe94 Fix ScreenTextEntry allowing tab characters into text. 2003-09-03 08:01:10 +00:00
Glenn Maynard 3f0557139b Hopefully fix GroupList tweening weirdness 2003-09-03 06:47:10 +00:00
Glenn Maynard 352df48614 fix thread deinit 2003-09-03 05:10:23 +00:00
Glenn Maynard 09cfe7f3b8 Add PIX_FMT_RGBA32. 2003-09-03 04:25:07 +00:00
Glenn Maynard 6c2b2291d4 simplify 2003-09-03 03:55:58 +00:00
Glenn Maynard 28971334d1 Remove loud log 2003-09-03 03:55:39 +00:00
Glenn Maynard 8e4dd81b8a Remove unneeded check. 2003-09-03 03:44:08 +00:00
Glenn Maynard eb48da7570 its 2003-09-03 03:30:59 +00:00
Glenn Maynard 3f19c51f27 simplify 2003-09-03 03:30:32 +00:00
Glenn Maynard 77d4263752 Don't change m_pCurCharacters, since then we have to put it back,
and that's tricky to do right.
CanUse(): return false if there aren't any characters.
Simplify.
2003-09-03 03:29:25 +00:00
Glenn Maynard 775db4a782 header no longer needs avformat.h 2003-09-03 02:20:22 +00:00
Glenn Maynard e5813e089d Add FFMpeg_Helper. Decode the first frame in the main thread, instead
of having a clumsy synch mechanism for the first frame.  Simplify.
2003-09-03 02:18:39 +00:00
Glenn Maynard c171daa4c0 Don't deadlock if we can't decode any frames. 2003-09-03 00:37:06 +00:00
Glenn Maynard 40d4f18c55 resolve sound paths 2003-09-03 00:20:35 +00:00
Glenn Maynard 40dfab1975 Hopefully fix "Assertion '!m_ImageWaiting || m_State == DECODER_QUIT' failed"
Fix timing issues (needs more testing)
2003-09-02 22:07:01 +00:00
Glenn Maynard d64d16e083 bump cache for loading changes 2003-09-02 20:49:39 +00:00
Glenn Maynard 47df5fd125 Delete duplicate steps, to clean up after a bug in a previous version.
(This is more important now, as the "change duplicate difficulties"
code will make duplicate steps cause all difficulties to be shuffled around,
making it much harder to fix.)
2003-09-02 20:48:55 +00:00
Glenn Maynard d583499e2d Don't warn about MUSICBYTES. 2003-09-02 20:47:47 +00:00
Glenn Maynard 7223d446cb const fix 2003-09-02 20:39:29 +00:00
Glenn Maynard ae7f4b3bcd m_iMusicBytes is unused 2003-09-02 20:38:05 +00:00
Glenn Maynard 028cf5474c simplify 2003-09-02 20:28:56 +00:00
Glenn Maynard 5e073dfc00 Fix crash if there are two steps with Challenge difficulty 2003-09-02 20:25:00 +00:00
Glenn Maynard 028196e21d m_iMusicBytes is unused 2003-09-02 20:21:55 +00:00
Glenn Maynard 26d830d9da Fix a compile problem in gcc 3.2 2003-09-02 19:30:20 +00:00
Glenn Maynard a551ff23f1 add test for inttypes.h 2003-09-02 19:28:43 +00:00
Glenn Maynard 1c7e341c3e Simplify, add debug output 2003-09-02 19:12:45 +00:00
Glenn Maynard 6688b4a98a Further simplify. 2003-09-02 08:38:48 +00:00
Glenn Maynard 3918da4072 simplify 2003-09-02 07:47:37 +00:00
Glenn Maynard 7f96a91be9 Cleanup.
Implement looping.
2003-09-02 06:08:02 +00:00
Glenn Maynard 834195f462 fix more output truncation 2003-09-02 06:01:28 +00:00
Glenn Maynard 75cfaad0bf add log 2003-09-02 05:33:04 +00:00
Glenn Maynard d8caa8ae59 this breaks some AVIs for some reason 2003-09-02 05:32:30 +00:00
Glenn Maynard f269a2a73a Fix up AVI timing 2003-09-02 05:31:47 +00:00
Glenn Maynard 250b70fcae Add MovieDrivers preference.
Move DEFAULT_MOVIE_DRIVER_LIST to arch.cpp.
2003-09-02 04:52:00 +00:00
Glenn Maynard aa8947f004 Add MovieDrivers preference. 2003-09-02 04:51:36 +00:00
Glenn Maynard 35fcd5dea2 Move DEFAULT_MOVIE_DRIVER_LIST to arch.cpp. 2003-09-02 04:50:33 +00:00
Glenn Maynard f4ef27b0a0 enable FFMpeg in Windows 2003-09-02 04:34:36 +00:00
Glenn Maynard 866b97845a update 2003-09-02 04:34:02 +00:00
Glenn Maynard a06250f07f rest of ffmpeg 2003-09-02 04:33:12 +00:00
Glenn Maynard ce07d63144 add ffmpeg dlls 2003-09-02 04:32:32 +00:00
Glenn Maynard 2bb3053f6f cleanup 2003-09-02 04:19:02 +00:00
Glenn Maynard 76a7249ffe add ffmpeg headers 2003-09-02 04:07:02 +00:00
Glenn Maynard 92349937f8 s/AVCodec/FFMpeg/ 2003-09-02 04:01:01 +00:00
Glenn Maynard 3a54183ce1 fix ksf reading in *nix 2003-09-02 03:19:33 +00:00
Glenn Maynard 8f5633e377 namespace fixes 2003-09-02 01:41:48 +00:00
Glenn Maynard 0440cddcca avoid using int64_t 2003-09-02 00:40:28 +00:00
Glenn Maynard d1db9209eb fix movie sync bug 2003-09-02 00:38:01 +00:00
Glenn Maynard 587b331ee2 fix warning 2003-09-01 23:24:01 +00:00
Glenn Maynard 081bb9bea2 Fix movie background layers with Type=1. 2003-09-01 21:45:45 +00:00
Glenn Maynard 57f21d13d0 fix output truncation 2003-09-01 19:49:49 +00:00
Glenn Maynard 0e1e192c24 unused 2003-09-01 19:25:50 +00:00
Glenn Maynard 9f04db3152 This is done within the movie decoder. 2003-09-01 19:25:08 +00:00
Glenn Maynard 02e39d7f67 Handle first frame rendering correctly 2003-09-01 19:22:14 +00:00
Glenn Maynard 21cf140aa4 remove unused MovieTexture_DShow::Stop 2003-09-01 17:38:09 +00:00
Glenn Maynard 58c81413fc Handle a still frame when we pause 2003-09-01 17:32:55 +00:00
Glenn Maynard d44c5d2890 Minor simplifications and fixes 2003-09-01 17:20:55 +00:00
Glenn Maynard 3e691d58cd Fix input mappings being lost if we abort before we read them 2003-09-01 17:12:36 +00:00
Glenn Maynard 355048e4ea cleanup 2003-09-01 06:39:08 +00:00
Glenn Maynard 10641321ba fix compile 2003-09-01 02:56:07 +00:00
Glenn Maynard 6e79f781bd Remove the disassembler. 2003-09-01 02:49:58 +00:00
Glenn Maynard 3fdc0ff8a4 Remove the disassembler. It's never been useful, and it's a lot of code--
a lot of extra room for error in code we really want to be robust (the error
handler).

Remove "crashdump.dat".  It was only useful for tracing crashes in
the disassembler.
2003-09-01 02:47:24 +00:00
Glenn Maynard 5b17149520 Fix warning.
WRAP is only safe for the int range, since it needs to cast to int to
negate; so only allow int.

When possible, use a (possibly templated) inline function instead of
a #define.
2003-09-01 02:04:16 +00:00
Glenn Maynard 985a040f49 fix warnings 2003-09-01 01:47:47 +00:00
Glenn Maynard 6f3edb3cc9 Coordinates should almost always be floating-point (fixes warning) 2003-09-01 01:47:01 +00:00
Glenn Maynard 38345ac64c fix warning 2003-09-01 01:38:49 +00:00
Glenn Maynard 12ecbb4d95 Log the internal pixel format 2003-08-29 17:40:51 +00:00
Glenn Maynard 54a9c78fac Improve error handling. 2003-08-29 16:50:47 +00:00
Glenn Maynard 18eb78de77 Simple frame skip support 2003-08-29 06:10:03 +00:00