Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 536da0dcf7 cleanup 2004-08-24 22:29:47 +00:00
Glenn Maynard 4ce71a6aef fix copyright notices; let's keep our names in there instead of duplicating them elsewhere 2004-08-24 22:27:53 +00:00
Glenn Maynard 9d4ccdafbf comment 2004-08-24 22:24:06 +00:00
Glenn Maynard d176c8af17 avoid pthread_mutex_timedlock in valgrind 2004-08-22 01:31:12 +00:00
Glenn Maynard 0f7572ad8c work around gettid warning spam in valgrind 2004-08-22 01:16:00 +00:00
Glenn Maynard a68dec18aa fix uninitialized values used by MEMCARDMAN calls before GameState::Reset 2004-08-22 01:11:17 +00:00
Glenn Maynard fb72702e80 don't interleave reads 2004-08-21 07:19:54 +00:00
Glenn Maynard 6312cfce58 bigger fake "mixing buffer" for null sound 2004-08-21 07:06:27 +00:00
Glenn Maynard 29c1393a7d bigger buffer for streaming sounds 2004-08-21 07:05:32 +00:00
Glenn Maynard ed2939b205 IsStreamingFromDisk 2004-08-21 07:01:54 +00:00
Glenn Maynard 00bf5e9639 implement decode buffer fill rate clamping 2004-08-21 06:53:26 +00:00
Glenn Maynard 1804939916 always preload change sounds 2004-08-21 06:50:49 +00:00
Glenn Maynard 9c23f35047 allocate buffer on demand 2004-08-21 06:09:19 +00:00
Glenn Maynard c6acc25ddc rearrange: public, protected, then private 2004-08-21 01:51:29 +00:00
Glenn Maynard d2895f9713 allow UnloadTexture(NULL), like delete NULL 2004-08-21 01:45:02 +00:00
Glenn Maynard a0f162d5a9 note color support for mines (this is actually just so mines aren't a special
case)
2004-08-21 01:35:50 +00:00
Glenn Maynard 08886fdd00 Actors used by NoteDisplay don't have persistent state; they're completely
re-configured for each arrow/hold part.  Cache each object, so we don't
waste memory with duplicate actors; multiplied by NOTE_COLOR_IMAGES
for each player, this adds up quite a bit.
2004-08-21 00:34:24 +00:00
Glenn Maynard 79a3a9aebc const m_pCurAnimation 2004-08-19 08:32:18 +00:00
Glenn Maynard 6fec08bba8 move most of Model::LoadMilkshapeAsciiBones into msAnimation::LoadMilkshapeAsciiBones 2004-08-19 08:29:16 +00:00
Glenn Maynard bbc55a3a1a start animations in LoadPieces, but not LoadMilkshapeAsciiBones 2004-08-19 08:15:35 +00:00
Glenn Maynard e6bc94a4af unwrap LoadMilkshapeAsciiBones (no other changes) 2004-08-19 07:47:56 +00:00
Glenn Maynard 4f12abec26 RageModelGeometry::m_pGeometry -> m_pCompiledGeometry, to
differentiate from Model::m_pGeometry
2004-08-19 06:24:41 +00:00
Glenn Maynard 65c6155f29 cleanup 2004-08-19 06:22:52 +00:00
Glenn Maynard 6fc52719cc ARCH_SETUP_DARWIN_H 2004-08-19 05:58:29 +00:00
Glenn Maynard 7e26213408 simplify 2004-08-19 02:19:45 +00:00
Glenn Maynard 4595b7e34e simplify 2004-08-19 02:13:07 +00:00
Glenn Maynard 4ebfff9551 oops, remove brainstorming 2004-08-19 01:51:09 +00:00
Glenn Maynard cf725075fe split out DrawMesh
cleanup
2004-08-19 01:47:58 +00:00
Glenn Maynard e0fe0e6ddd reduce Model.h dependencies 2004-08-19 01:29:46 +00:00
Glenn Maynard 350d3771b8 dep fix 2004-08-19 01:18:11 +00:00
Glenn Maynard b1b4163923 cleanup, split out Model::SetBones 2004-08-19 01:08:18 +00:00
Glenn Maynard 52b4620c3d dep fix 2004-08-19 01:07:19 +00:00
Glenn Maynard 7a85791ecc const fix 2004-08-19 01:05:57 +00:00
Glenn Maynard cc5dfc9653 cleanup 2004-08-19 00:42:31 +00:00
Glenn Maynard 39988e2d93 cleanup 2004-08-19 00:36:11 +00:00
Glenn Maynard 40cecbcf50 word -> uint16_t (a "word" is architecture-specific) 2004-08-19 00:35:35 +00:00
Glenn Maynard 5cefb943ff fix warnings 2004-08-19 00:22:29 +00:00
Glenn Maynard b0084f0951 cleanup 2004-08-19 00:16:50 +00:00
Glenn Maynard 19207b986e cleanup 2004-08-19 00:16:02 +00:00
Glenn Maynard c06bed290d cleanup 2004-08-19 00:07:53 +00:00
Glenn Maynard cb344a63a2 save and restore the clipboard when using it internally 2004-08-18 23:02:27 +00:00
Glenn Maynard fd7c6b131c fix player options/song options BGM continuing to play after exiting in editor 2004-08-18 22:39:56 +00:00
Glenn Maynard 961e2ceeeb cleanup 2004-08-18 22:10:24 +00:00
Glenn Maynard 1fdf3d68c2 s/TCHAR/char/ 2004-08-18 22:09:23 +00:00
Glenn Maynard 0411171c9d fix superfluous loading of default noteskin 2004-08-18 07:38:41 +00:00
Glenn Maynard 107b2ed53c cleanup msMaterial 2004-08-18 06:04:53 +00:00
Glenn Maynard 2fdb1cb61e backslashes are not legal 2004-08-18 02:08:43 +00:00
Glenn Maynard 32e1205697 deps cleanup 2004-08-18 01:29:51 +00:00
Glenn Maynard d4ab1b248a re-fix 2004-08-18 01:28:58 +00:00
Glenn Maynard a7a6fff6cf If either player is enabled, you can use GAMESTATE->m_MasterPlayerNumber to get the
first that joined; do this instead of iterating.  Remove redundant check.  Style cleanup.
Charles, please make an effort to conform to the style of the rest of the codebase; you
keep committing stuff in a completely different style and others keep having to clean it up.
2004-08-18 01:23:34 +00:00
Glenn Maynard 2b260f61e4 fix 2004-08-18 00:16:00 +00:00
Glenn Maynard dd2415bb90 fix compile 2004-08-17 23:50:59 +00:00
Glenn Maynard 671a563e22 simplify 2004-08-17 20:38:24 +00:00
Glenn Maynard 0cb47d0bb4 remove old (broken, unused) link 2004-08-17 20:35:44 +00:00
Glenn Maynard 40f7dc38f1 fix menu beat syncing 2004-08-15 23:51:47 +00:00
Glenn Maynard 83b640f5dd reduce disk access on wheel move by using timing data that's already loaded 2004-08-15 23:16:30 +00:00
Glenn Maynard 7ad61f1f07 GameSoundManager::PlayMusic interface tweak 2004-08-15 23:15:34 +00:00
Glenn Maynard 5212efe234 fix comment 2004-08-15 22:44:35 +00:00
Glenn Maynard 445d8a6cf2 cleanup low-level time handling 2004-08-15 22:41:46 +00:00
Glenn Maynard 3776d4a13f cleanup low-level time handling: only make adjustments to the clock that
the arch really needs; Unix gettimeofday does not loop like Win32 timeGetTime
so don't mess with it
2004-08-15 22:40:55 +00:00
Glenn Maynard c9fc2ebfe7 cleanup low-level time handling: add FixupTimeIfLooped, FixupTimeIfBackwards 2004-08-15 22:34:30 +00:00
Glenn Maynard 64938525f5 warnings 2004-08-15 21:58:13 +00:00
Glenn Maynard 55b0dc53be simplify 2004-08-15 15:25:15 +00:00
Glenn Maynard 4efa41dba5 reduce RageSound internal buffering; maybe this can go away, since all drivers buffer properly now ... 2004-08-15 04:31:19 +00:00
Glenn Maynard baca8e33ab fix crash if a thread is started before LOG 2004-08-14 23:28:33 +00:00
Glenn Maynard c54b2fc280 compute scroll bar offsets as floats, for smoother scrolling at higher resolutions 2004-08-14 20:32:55 +00:00
Glenn Maynard c4aadc69e3 fix ScrollBar flickering: -1 is used as a sentinel value, but is a valid coordinate
simplify
2004-08-14 20:18:34 +00:00
Glenn Maynard 646b3fee12 remove debug 2004-08-14 19:58:40 +00:00
Glenn Maynard 46d0b2e2f6 cleanup; check primary buffer format 2004-08-14 19:53:15 +00:00
Glenn Maynard 70a2d889a4 output cleanup 2004-08-14 19:51:04 +00:00
Glenn Maynard aa726c9d2c fix prebuffering 2004-08-14 02:39:35 +00:00
Glenn Maynard ce95644213 fix ThemeManager::GetModifierNames crash
allow skipping "default" fallback
2004-08-13 02:13:39 +00:00
Glenn Maynard f15bfb67b3 move CryptHelpers into cryptopp 2004-08-13 01:51:41 +00:00
Glenn Maynard 577fd7040f fix scaling up in zoomSurface: calculate source pixels and weights differently
fix scaling > 2:1 in the same way as < 1:2
do lrintf(x), not int(x+0.5f)
2004-08-13 00:31:34 +00:00
Glenn Maynard cdcb0f1c8f make InputMapper::ApplyMapping public 2004-08-13 00:27:52 +00:00
Glenn Maynard 389bbc68d2 allow ignoring actor errors 2004-08-12 23:06:06 +00:00
Glenn Maynard 3819c4695c cleanups 2004-08-12 23:03:01 +00:00
Glenn Maynard 9f87d1b9d5 rename NAV_FIRST_CHOICE_GOES_DOWN -> NAV_TOGGLE_THREE_KEY
add NAV_TOGGLE_FIVE_KEY
in NAV_FIVE_KEY, pressing start only moves to the "exit" row, instead of
going directly to the next screen, so both players have opportunity to change options
2004-08-12 22:10:48 +00:00
Glenn Maynard 36fa44b9c0 update comment 2004-08-12 20:49:03 +00:00
Glenn Maynard abe1229187 re-fix BGA tweens repeating 2004-08-12 06:10:54 +00:00
Glenn Maynard 362cb13072 log thread starts 2004-08-12 05:43:54 +00:00
Glenn Maynard fa9b61a9d6 fix MemoryCardDriverThreaded_Windows chewing CPU 2004-08-12 05:42:47 +00:00
Glenn Maynard cbe80105fb don't bother keeping a separate vorbis buffer; it doesn't help 2004-08-12 04:38:33 +00:00
Glenn Maynard 5e685199de if banner caching is disabled, don't waste time on load 2004-08-11 22:52:35 +00:00
Glenn Maynard 2fe7dc9095 fix WITHOUT_NETWORKING 2004-08-10 23:46:24 +00:00
Glenn Maynard f0c0a532f9 sscanf("%f") -> strtof() 2004-08-10 22:19:06 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard 9db234c181 cleanup 2004-08-10 20:56:16 +00:00
Glenn Maynard 08086e8c33 NEED_STRTOF 2004-08-10 19:12:39 +00:00
Glenn Maynard 3b6a5e9957 strtof fallback 2004-08-10 19:12:03 +00:00
Glenn Maynard 023c05a502 reserve(0) to free 2004-08-10 01:52:55 +00:00
Glenn Maynard d301f20937 make debugging deadlocks easier on systems without ForceCrashHandlerDeadlock 2004-08-10 01:27:42 +00:00
Glenn Maynard b060753242 allow WINDOWS instead of _WINDOWS 2004-08-09 19:54:20 +00:00
Glenn Maynard 1a7be98f86 fix g_bIsShowingDialog not being set false 2004-08-09 19:50:09 +00:00
Glenn Maynard 3f927e6280 define XBOX, so defined(XBOX) works, like WIN32, UNIX, etc 2004-08-08 20:44:07 +00:00
Glenn Maynard 8e706dc26b add rational.h 2004-08-08 19:08:40 +00:00
Glenn Maynard fc4251f798 link fix 2004-08-08 18:38:44 +00:00
Glenn Maynard 93bc2ae219 trying to track down:
Actor.cpp:109 -1.#IND00, -1.#IND00, 0.849000, 2.000000, 0.000000, 0.849000, 0.000000
2004-08-08 18:12:28 +00:00
Glenn Maynard 610aa36a7d fix compile 2004-08-08 17:58:06 +00:00
Glenn Maynard 8e3864824a cleanup 2004-08-08 17:27:43 +00:00