Glenn Maynard
4d8eb53e1c
Fix up IsAbsolutePath check in Windows.
2003-09-05 20:13:36 +00:00
Glenn Maynard
96c2e2ad7e
ChangeToDirOfExecutable uses FDB before LOG exists. Fix potential
...
crashes.
2003-09-05 20:10:40 +00:00
Glenn Maynard
c7312adc90
Oops. Left, not right.
...
Simplify.
2003-09-05 20:07:36 +00:00
Glenn Maynard
8a88cfdc7c
Must never call LOG->* methods from the crash handler
2003-09-05 19:44:10 +00:00
Glenn Maynard
cb550f1b65
This can't be set to F11--that key is used by screens. Please grep for
...
keyboard symbols before changing global hotkeys.
2003-09-05 19:34:33 +00:00
Glenn Maynard
b744805329
Fix without playing with IgnoreEmpty. (this code is becoming ugly, I
...
need to clean it up ...)
2003-09-05 18:54:08 +00:00
Glenn Maynard
9b05b0511d
Fix crash with "/foo" paths.
2003-09-05 18:19:57 +00:00
Glenn Maynard
57c7d7d748
update
2003-09-05 09:02:23 +00:00
Glenn Maynard
69d11d5fbb
We don't use GLU.
2003-09-05 08:16:14 +00:00
Glenn Maynard
786d9e2156
Don't use huge GTK CFLAGS for all objects.
2003-09-05 07:41:02 +00:00
Glenn Maynard
c1ce892525
Add GtkModule.so.
...
Don't use huge GTK CFLAGS for all objects.
2003-09-05 07:40:34 +00:00
Glenn Maynard
8407c758b1
Use \n newlines in Darwin, too, not \r.
2003-09-05 07:36:40 +00:00
Glenn Maynard
23a543d7e0
Fix ChangeToDirOfExecutable in Windows.
2003-09-05 07:15:21 +00:00
Glenn Maynard
59d24ab3e5
Fix warning.
2003-09-05 06:59:15 +00:00
Glenn Maynard
3f1c961a12
LoadingWindow driver fallbacks.
2003-09-05 06:55:14 +00:00
Glenn Maynard
ed772a3531
Change defines.
2003-09-05 06:54:48 +00:00
Glenn Maynard
510f97bc45
Module loading.
2003-09-05 06:54:32 +00:00
Glenn Maynard
dde370f2db
Dynamically load GTK as a module. This way:
...
1: If GTK isn't available, we can fall back on another LoadingWindow, and
2: ldd ./stepmania doesn't list lots of extra libraries that we only
use on startup.
This is somewhat experimental. I don't intend to modularize much in this
way.
2003-09-05 06:53:50 +00:00
Glenn Maynard
d87e61b7c7
Handle MakeLoadingWindow returning NULL.
2003-09-05 06:50:47 +00:00
Glenn Maynard
30029f49aa
remove spurious output
2003-09-05 06:40:21 +00:00
Glenn Maynard
ded559d84a
Make DirOfExecutable available.
2003-09-05 06:39:32 +00:00
Glenn Maynard
ec01b03979
Use GetCwd().
2003-09-05 06:21:47 +00:00
Glenn Maynard
636dcaaa7a
Add GetCwd().
2003-09-05 06:20:55 +00:00
Glenn Maynard
d63eac91f4
Simplify UnlockSystem::InitRouletteSeeds. Add an assert.
2003-09-04 21:55:47 +00:00
Glenn Maynard
7403837961
Prefer OSS until I investigate problems with the ALSA driver.
2003-09-04 21:33:58 +00:00
Glenn Maynard
c8468a4211
If long and bOneChoiceForAllPlayers, then only initialize one text item.
...
Compile fix.
2003-09-04 21:04:39 +00:00
Glenn Maynard
762671b9b8
Wait, this problem goes back to "CVS".
2003-09-04 20:50:14 +00:00
Glenn Maynard
349f07057f
remove old desktop icons
2003-09-04 20:49:25 +00:00
Glenn Maynard
192ccf3291
Fix desktop icon uninstallation
2003-09-04 20:47:02 +00:00
Glenn Maynard
256a40e4a9
Add ffmpeg DLLs.
2003-09-04 20:36:37 +00:00
Glenn Maynard
eaa90845cf
Simplify: when we're in long row mode, m_textItems contains only the
...
used rows instead of having a bunch of empty texts. This removes a
couple special cases.
2003-09-04 20:22:06 +00:00
Glenn Maynard
413593f1e4
Dynamic m_textItems. This solves potential problems with
...
MAX_VISIBLE_VALUES_PER_LINE overflows.
2003-09-04 19:53:07 +00:00
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