Mark Cannon
6256b05272
more platform-independent fix for URLRageFile_write prototype
2012-01-09 05:12:20 -08:00
Mark Cannon
6c88fb9cc8
ffmpeg compatibility tweaks
2012-01-09 07:34:33 -05:00
Mark Cannon
7ad7200bd7
change ALSA-sw to the default driver; since it requires exclusive control of the sound card, and PulseAudio already claims exclusive access, we'll fall back to the pulse driver iff the sound card is unavailable
2012-01-02 18:20:23 -05:00
Mark Cannon
9385a71160
fix unintended early break
2011-10-19 02:16:05 -04:00
Mark Cannon
cd0e37dbeb
changed several aspects of LightsManager:
...
- states are zeroed at the beginning of Update(); anything not set true must be false, so don't re-zero or set false states unnecessarily
- minor readability improvements, e.g. setting a CabinetLight in switch and assignint it outside of it
- LightsMode_Menu variants now use song beat for lighting instead of GetTimeSinceStart
- reformatted switch statements to be generally more readable
- LightsMode_Demonstration now lights the pad arrows if enabled, similar to gameplay
- Pressing custom gamebuttons during attract mode will light them
2011-10-18 17:09:11 -04:00
Mark Cannon
d16c77c1b4
fix log bloating like whoa (wrap every Trace() in TimingData with DEBUG ifdef)
2011-10-07 21:51:04 -04:00
Mark Cannon
deb8ea5347
fix compile error, change RString to const RString& because I can; again, PLEASE try to compile your build before committing it :|
2011-10-06 23:32:23 -04:00
Mark Cannon
561bdeeeb8
fix unnecessary vector copy
2011-09-22 09:19:20 -04:00
Mark Cannon
f0880d6fd2
fix memory leak in TimingData, remove unnecessary structure copies in ScoreKeeperNormal
2011-09-18 19:07:39 +00:00
Mark Cannon
5f3a8c446a
slightly saner formatting for this block of code
2011-09-16 23:22:16 +00:00
Mark Cannon
d2ed01b94c
compilation fixes for Visual Studio
2011-09-15 18:59:07 +00:00
Mark Cannon
8099e25dcc
stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly
2011-09-15 03:28:58 +00:00
Mark Cannon
df9c4d8142
segment renovation stage 2: redefine TimingSegments as simple structs, standardize names and functions, use only rows for constructors (we'll limit allocation through TimingData::AddSegment in the near future)
2011-09-11 17:13:10 +00:00
Mark Cannon
a8f22ef178
fix undeclared function and typo (seriously, please at least try to compile your code before committing)
2011-09-11 17:12:09 +00:00
Mark Cannon
0d4e43f9e3
stage 1 of TimingSegment cleanup: consolidate genericizable code in TimingData, use a proper variable name
2011-09-10 03:08:59 +00:00
Mark Cannon
e56de5a09a
undo regression introduced in d17c21e where any songs without keysounds were clobbered by RageSoundReader_Silence. please test your code before committing it :|
2011-09-09 23:51:10 +00:00
Mark Cannon
ecb06dc68b
work around weird error encountered with GeForce MX 440 in the OGL renderer
2011-08-31 01:24:09 -04:00
Mark Cannon
f426cfc6ba
disambiguate bzip error in configure
2011-08-30 17:55:53 -04:00
Mark Cannon
86710c1716
fix compilation for MersenneTwister; generate 2^32 constant with pow(), so it doesn't depend on compiler semantics
2011-08-23 11:39:57 -07:00
Mark Cannon
ed86859798
rewrite MersenneTwister.Random to support negative numbers and generally be more robust
2011-08-22 20:49:50 -07:00
Mark Cannon
657217beda
replace math.random and math.randomseed with MersenneTwister
2011-08-22 11:45:45 -07:00
Mark Cannon
68ef124f88
merge
2011-08-21 20:26:12 -04:00
Mark Cannon
b5d8d67079
"UserData" -> "UserTable" in Profile; more accurate name.
2011-08-21 20:20:59 -04:00
Mark Cannon
2305a473fb
merge
2011-08-06 21:38:59 +00:00
Mark Cannon
c00fef183e
remove unused files from repo and project files
2011-08-06 21:38:50 +00:00
Mark Cannon
e1a447cc36
revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function
2011-08-06 21:33:49 +00:00
Mark Cannon
498c55321a
fix linker error with StringConversion calls on DisplayBPM
2011-08-04 15:06:49 +00:00
Mark Cannon
9c362efb2c
one more commit to fix, and then I'll stop committing at 3 AM
2011-08-04 03:16:36 +00:00
Mark Cannon
067c49e299
and then i actually committed SongManager
2011-08-04 03:09:13 +00:00
Mark Cannon
1fc7012d2e
revert a bunch of LoadingWindow text that is processor bound and won't display anyway; also reverted ArchHooks in SongManager (seriously, wtf?); if we need it that badly, let's make a better structure
2011-08-04 03:07:52 +00:00
Mark Cannon
2c9678ca65
fix PrefsManager init list not being in order, add hack to ThemeManager to make GetThemeName() work intuitively for Scripts dirs
2011-01-07 23:41:23 -05:00
Mark Cannon
5d3ecc6400
Added documentation for ThemePrefs and ThemePrefsRows, updated some code
...
and added sanity checks into ThemePrefsRows, added localization support for
error messages in ThemePrefs and ThemePrefsRows.
2010-12-28 05:15:47 -05:00
Mark Cannon
efe31cfd63
fixed potential bug with Choices not being strings
2010-12-27 21:05:32 -05:00
Mark Cannon
7d7afe1c47
removed config.h.in; keep autogennned files out of the repository, please
2010-12-17 17:01:47 -05:00
Mark Cannon
85803dd887
Fixed up JSON include paths
2010-12-17 17:00:12 -05:00
Mark Cannon
4aa3110e25
Updated IniFile to match source's function calls, added initial version
...
of new ThemePrefs and ThemePrefsRows implementations and added a quick
example into the default theme code. Not fully functional yet, fyi.
2010-12-15 04:50:00 -05:00
Mark Cannon
edef0ce5fa
Added 03 IniFile to start building new userprefs/themeprefs API
2010-12-12 20:15:32 -05:00
Mark Cannon
67e30f9858
very, very initial cleanup of ThemesAndGamePrefs
2010-12-12 15:24:02 -05:00
Mark Cannon
d330514856
Added --with-sse2 configure flag for SSE2 heuristic optimizations
2010-12-12 03:27:16 -05:00