Mikko Rasa [Wed, 2 Nov 2011 12:01:22 +0000 (14:01 +0200)]
Mark dummy as unused since it's apparently needed on some platforms (OpenITG on OS/2? Oh yeah.)
Mikko Rasa [Wed, 2 Nov 2011 12:00:21 +0000 (14:00 +0200)]
Check the return value of rfod->Read
Mikko Rasa [Wed, 2 Nov 2011 11:59:48 +0000 (13:59 +0200)]
pcre/chartables.c is #included from another file, don't compile it separately
Mikko Rasa [Wed, 2 Nov 2011 11:58:45 +0000 (13:58 +0200)]
Remove a no-op statement
Mikko Rasa [Wed, 2 Nov 2011 11:58:07 +0000 (13:58 +0200)]
Fix some undefined behaviour
Mikko Rasa [Wed, 2 Nov 2011 10:52:48 +0000 (12:52 +0200)]
Remove an erroneous semicolon
Mikko Rasa [Wed, 2 Nov 2011 10:52:33 +0000 (12:52 +0200)]
More string literal workarounds
Mikko Rasa [Wed, 2 Nov 2011 10:51:48 +0000 (12:51 +0200)]
Avoid a warning about converting a string literal to (non-const) char *
Mikko Rasa [Wed, 2 Nov 2011 10:51:02 +0000 (12:51 +0200)]
Ditch the asserts from dsnd*alloca, since they're only ever used on stack variables
Mikko Rasa [Wed, 2 Nov 2011 10:46:16 +0000 (12:46 +0200)]
Make wrap a template to avoid type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:45:19 +0000 (12:45 +0200)]
Prefer a union over type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:44:59 +0000 (12:44 +0200)]
We're not going to fall out of the loop, inform the compiler of that
Mikko Rasa [Wed, 2 Nov 2011 10:43:53 +0000 (12:43 +0200)]
Use temporary variables to avoid warnings about casts
Mikko Rasa [Wed, 2 Nov 2011 10:43:20 +0000 (12:43 +0200)]
Silence warnings from the .xpm file in GTK loading window
Mikko Rasa [Wed, 2 Nov 2011 10:42:20 +0000 (12:42 +0200)]
Silence warnings from libtomcrypt
Mikko Rasa [Wed, 2 Nov 2011 09:19:59 +0000 (11:19 +0200)]
Fix aclocal invocation
infamouspat [Sun, 23 Oct 2011 05:52:01 +0000 (22:52 -0700)]
super happy dickhouse productions
Mark Cannon [Tue, 4 Oct 2011 02:47:47 +0000 (22:47 -0400)]
more tentative USB matching fixery; replace shorts with uint16_t, to avoid signedness issues with casting
Mark Cannon [Mon, 3 Oct 2011 22:41:15 +0000 (18:41 -0400)]
tentative fix for USB matching error
Carl Myers [Mon, 3 Oct 2011 08:17:28 +0000 (01:17 -0700)]
Updating songinprogress path to work in arcade and be the same
CR: infamouspat
infamouspat [Mon, 3 Oct 2011 07:55:31 +0000 (00:55 -0700)]
file to mark song in progress
Pat McIlroy [Mon, 3 Oct 2011 06:52:18 +0000 (23:52 -0700)]
add libtommath and libtomcrypt as includes in build
Pat McIlroy [Mon, 3 Oct 2011 06:51:51 +0000 (23:51 -0700)]
add patch data and fix bug in Data dir creation in setup-dev-env.sh
Carl Myers [Mon, 3 Oct 2011 01:44:01 +0000 (18:44 -0700)]
Merge branch 'dev'
infamouspat [Sat, 1 Oct 2011 22:27:48 +0000 (15:27 -0700)]
crypto561 dir BEGONE
Patrick McIlroy [Sat, 1 Oct 2011 12:00:39 +0000 (05:00 -0700)]
Use stabler version of libtommath, replace cryptopp entries in Makefile with libtomcrypt
Patrick McIlroy [Sun, 25 Sep 2011 12:31:40 +0000 (05:31 -0700)]
replace cryptopp with libtomcrypt for PK cryptography
Carl Myers [Sun, 25 Sep 2011 06:40:05 +0000 (23:40 -0700)]
setup-dev-env.sh helps devs setup an environment to run home version
Carl Myers [Sun, 25 Sep 2011 05:26:06 +0000 (22:26 -0700)]
build-home.sh now correctly invokes make without -j
CR: infamouspat
Patrick McIlroy [Sun, 14 Aug 2011 22:50:03 +0000 (15:50 -0700)]
Cherry-pick from Wanny/openitg pull request
MusicWheel.cpp /.h:
Added a metrics toggle to swap Random and Roulette
[MusicWheel]
SwapRandomAndRoulette= 0 is default behavior.
Banner.cpp:
Fixed the conditions for ScrollRandom and ScrollRoulette. Their effects were swapped.
OptionRowHandler.cpp:
Added a metrics toggle to display or not the song's meter besides the difficulty name in ScreenPlayerOptions
[ScreenPlayerOptions]
HideMeter= 0 is default behavior (not hiding it)
Mark Cannon [Thu, 28 Apr 2011 02:41:10 +0000 (22:41 -0400)]
fix silly logic in GetNumMachineScores; now we properly count the number of scores rather than every steps that was played
Mark Cannon [Wed, 27 Apr 2011 21:54:56 +0000 (17:54 -0400)]
commit more sensible implementation of GetNumMachineScores (untested)
Mark Cannon [Wed, 27 Apr 2011 21:39:56 +0000 (17:39 -0400)]
initial reverse of ParseSerialNumber and GetGuidFromSerial; untested, but should be harmless for home users.
Mark Cannon [Sat, 16 Apr 2011 05:40:04 +0000 (01:40 -0400)]
only define OITG_VERSION if we actually have it; handle the undefined case in the binary
Mark Cannon [Sat, 16 Apr 2011 05:38:54 +0000 (01:38 -0400)]
move debug serial generation back to where it belongs, removed ProductInfo::GetSerial, fixed GetFullVersionString() not including the name
Mark Cannon [Sat, 16 Apr 2011 03:19:17 +0000 (23:19 -0400)]
remove unused ProductInfo header
Mark Cannon [Sat, 16 Apr 2011 03:19:04 +0000 (23:19 -0400)]
got rid of the out-of-place camel case, implemented some stuff with the new versioning system
Mark Cannon [Sat, 16 Apr 2011 03:00:24 +0000 (23:00 -0400)]
add quick/dirty hack to skip read-only dirs when opening a file for writing
Mark Cannon [Sat, 16 Apr 2011 02:43:32 +0000 (22:43 -0400)]
add more complex versioning system for Lua and friends
Mark Cannon [Sat, 16 Apr 2011 01:54:59 +0000 (21:54 -0400)]
change ProductInfo to a namespace
Mark Cannon [Sat, 16 Apr 2011 01:54:47 +0000 (21:54 -0400)]
fix broken Linux compile on Timer.cpp
Pat [Wed, 13 Apr 2011 02:49:47 +0000 (19:49 -0700)]
add LightsDriver_ActorMessage to win32 vs2008 project, fix Timer.cpp so it compiles on win32
Pat [Wed, 13 Apr 2011 02:02:50 +0000 (19:02 -0700)]
hardcode release info for win32 builds, various fixes for win32 installer
Carl Myers [Mon, 11 Apr 2011 22:22:00 +0000 (15:22 -0700)]
Adding chroot-home.sh to build home version in chroot also
Carl Myers [Mon, 11 Apr 2011 09:12:38 +0000 (02:12 -0700)]
Fixed Error in Profiling code
* sadly, still doesn't work. Doesn't hurt either though, will fix soon.
Carl Myers [Mon, 11 Apr 2011 07:01:52 +0000 (00:01 -0700)]
Adding profiling data to USB profile loading
CR: infamouspat
Carl Myers [Mon, 4 Apr 2011 08:31:32 +0000 (01:31 -0700)]
Added ProfilingTimer, RageLog::ProfileStart, RageLog::ProfileStop
* Implemented high-resolution timer not dependant on gettimeofday
* Added profiling functions to RageLog
* TODO: RageTimer should be replaced with ProfilingTimer eventually
because timers that depend upon gettimeofday break if the system clock
changes, which can happen due to NTP running or a host of other factors.
* TODO: untested on windows, but ought to work.
CR: infamouspat
Mark Cannon [Mon, 11 Apr 2011 04:50:01 +0000 (00:50 -0400)]
Merge branch 'master' of git@github.com:openitg/openitg
Mark Cannon [Mon, 11 Apr 2011 04:49:47 +0000 (00:49 -0400)]
added LightsDriver_ActorMessage - broadcasts messages corresponding to the state of each light
Pat McIlroy [Mon, 11 Apr 2011 03:12:51 +0000 (20:12 -0700)]
UGH...
Mark Cannon [Mon, 11 Apr 2011 02:37:03 +0000 (22:37 -0400)]
ignore null LightsStates in LightsMapper::GetLightsField
Mark Cannon [Mon, 11 Apr 2011 02:33:45 +0000 (22:33 -0400)]
anti-seizure feature for DDR lights easter egg (caps out around ~350 BPM)
Pat McIlroy [Mon, 11 Apr 2011 02:14:35 +0000 (19:14 -0700)]
Log ignored invalid actor
Pat McIlroy [Mon, 11 Apr 2011 01:55:26 +0000 (18:55 -0700)]
user ability to address invalid/nonexistant actors a.k.a. fix bugzilla ID 3
Pat McIlroy [Sun, 10 Apr 2011 22:32:14 +0000 (15:32 -0700)]
Only show songs from cache if they have an actual music file available
Pat [Fri, 8 Apr 2011 06:36:04 +0000 (23:36 -0700)]
redundancy fixup
Pat [Mon, 4 Apr 2011 01:35:29 +0000 (18:35 -0700)]
Allow new users with USB cards who do not have high scores to enter their name
Pat [Sun, 3 Apr 2011 22:04:20 +0000 (15:04 -0700)]
Remove precompiled headers until we get it working again, remove most useless #include ever in StdString.h
infamouspat [Sat, 2 Apr 2011 04:00:59 +0000 (21:00 -0700)]
Add USBDriverImpl stuff to vcproj
Carl Myers [Mon, 28 Mar 2011 20:56:40 +0000 (13:56 -0700)]
Updated ReleaseNotes.txt
infamouspat [Mon, 28 Mar 2011 03:08:41 +0000 (20:08 -0700)]
add patch data the proper way in win32 installers, keep product name as just "OpenITG" in installer
infamouspat [Sat, 5 Mar 2011 08:08:22 +0000 (00:08 -0800)]
Add DLL files to source control, change win32-related code to use ProductInfo static class
infamouspat [Sat, 5 Mar 2011 10:19:18 +0000 (02:19 -0800)]
add global.h to ProductInfo.cpp for win32 precompiled headers (sigh), add stupid frontend hack to show title screen background video in home theme
Carl Myers [Sun, 27 Mar 2011 20:58:14 +0000 (13:58 -0700)]
Fixed patch script to warn if itg2ac-util missing
* Fixed patch script to warn if itg2ac-util missing
* Also added comments about the "ITG 2 *" prefix for patches
* Removed code that searches for "OpenITG" prefix for patches
CR: infamouspat
Mark Cannon [Sat, 26 Mar 2011 20:13:42 +0000 (16:13 -0400)]
minor fixups in start-3.sh, updated patch.xml a bit
Mark Cannon [Sat, 26 Mar 2011 20:10:26 +0000 (16:10 -0400)]
add gen-arcade-patch.sh (tested and working so far), fixes for gen-patch-zip.sh, removed old generate-patch.sh
Mark Cannon [Sat, 26 Mar 2011 16:55:23 +0000 (12:55 -0400)]
fixed potential bug - on PC, a dongle decryption error could cause a segfault
Mark Cannon [Fri, 25 Mar 2011 23:09:41 +0000 (19:09 -0400)]
finally added xterm message on iButton::GetAESKey() failure; tested and working
Mark Cannon [Fri, 25 Mar 2011 22:34:04 +0000 (18:34 -0400)]
iButton::GetAESKey() now returns bool instead of int; functionally the same, but less unintuitive conditionals
Mark Cannon [Fri, 25 Mar 2011 09:22:01 +0000 (05:22 -0400)]
added gen-patch-zip.sh (which generates an encrypted patch.zip for use with arcade patches and home releases)
Mark Cannon [Fri, 25 Mar 2011 08:12:49 +0000 (04:12 -0400)]
fix potential bug with Iow's last input state not being initialized
Mark Cannon [Fri, 25 Mar 2011 08:04:53 +0000 (04:04 -0400)]
optimized Iow and PIUIO processing: use one RageTimer for all input reports in a single update (which shouldn't lose any precision anyway), only report button changes on HandleInput instead of reporting everything, use LightsMapping's GetLightsField() to update lights instead of doing it by hand (so to speak)
Mark Cannon [Fri, 25 Mar 2011 08:02:36 +0000 (04:02 -0400)]
move RageUtil functions IsBitSet/SetBit to use 0-31 instead of 1-32 (i.e. zero indexing - 0 = MSB, 31 = LSB)
Mark Cannon [Fri, 25 Mar 2011 08:01:11 +0000 (04:01 -0400)]
added GetLightsField() to LightsMapper - now it'll generate a bit field from its mappings given a LightsState
Mark Cannon [Mon, 21 Mar 2011 20:36:37 +0000 (16:36 -0400)]
add 'critical sound' flag to RageSoundParams; should make the sound play at normal volume regardless of the current mixer settings. untested (this computer has no sound card)
Mark Cannon [Sun, 20 Mar 2011 17:59:16 +0000 (13:59 -0400)]
Merge branch 'master' of git@github.com:openitg/openitg
Pat McIlroy [Sun, 20 Mar 2011 09:35:50 +0000 (02:35 -0700)]
dumb hack for ResolvePath() to only used directory-based file drivers
Mark Cannon [Sun, 20 Mar 2011 08:19:18 +0000 (04:19 -0400)]
fix crash in the crash handler caused by unconditional CString assignment of Dl_info::dli_saddr, which might be NULL
Mark Cannon [Sun, 20 Mar 2011 08:19:18 +0000 (04:19 -0400)]
fix crash in the crash handler caused by unconditional CString assignment of Dl_info::dli_saddr, which might be NULL
Carl Myers [Sun, 20 Mar 2011 08:11:09 +0000 (01:11 -0700)]
Merge branch 'master' into stable
Mark Cannon [Sun, 20 Mar 2011 05:53:07 +0000 (01:53 -0400)]
add libusb init calls that it was fine with until a few revisions ago (?_?)
Mark Cannon [Sat, 19 Mar 2011 23:07:45 +0000 (19:07 -0400)]
add USBDriver_Impl::DeviceExists so we can see if a device exists before trying to instantiate it
Mark Cannon [Sat, 19 Mar 2011 22:53:53 +0000 (18:53 -0400)]
fix stupid mistake with ITGIO VID/PID matching
Mark Cannon [Thu, 17 Mar 2011 20:33:15 +0000 (16:33 -0400)]
add usb_get_driver_np() support in libusb driver, de-magic some numbers
Mark Cannon [Mon, 14 Mar 2011 21:58:01 +0000 (17:58 -0400)]
more platform-agnostic USBDriver_Impl handling (in the future, we'll rely on libusb as a fallback for non-*nix systems)
Mark Cannon [Mon, 14 Mar 2011 18:29:59 +0000 (14:29 -0400)]
add minor debug to PIUIO, clarify an old comment
Mark Cannon [Mon, 14 Mar 2011 18:28:42 +0000 (14:28 -0400)]
add Makefile for USBDriver_Impl logic
Mark Cannon [Mon, 14 Mar 2011 18:28:16 +0000 (14:28 -0400)]
fix stupid mistake, USBDriver_Impl code should work now
Mark Cannon [Mon, 14 Mar 2011 04:31:55 +0000 (00:31 -0400)]
fix silly linker error with the PIUIO driver
Mark Cannon [Mon, 14 Mar 2011 04:30:40 +0000 (00:30 -0400)]
actually handle input in IOW before writing the lights state
Mark Cannon [Sun, 13 Mar 2011 09:51:12 +0000 (05:51 -0400)]
fix linker errors re virtual tables for USBDriver_Impl and derivatives
Mark Cannon [Sun, 13 Mar 2011 09:25:33 +0000 (05:25 -0400)]
overhaul of USB I/O to work with arch-based USBDriver, removed reconnection logic from ITGIO and PIUIO (handled by the driver now)
Carl Myers [Sun, 20 Mar 2011 04:17:21 +0000 (21:17 -0700)]
Fixed version logic so version number is embedded in binary
Carl Myers [Sat, 19 Mar 2011 23:23:01 +0000 (16:23 -0700)]
Must wrap std::string with CString for g++ v3.3
Pat says "Fuck you, g++ 3.3"
Pat McIlroy [Sat, 19 Mar 2011 22:12:14 +0000 (15:12 -0700)]
make RageFileManager::ResolvePath() more (in)sane
Mark Cannon [Sat, 19 Mar 2011 20:56:39 +0000 (16:56 -0400)]
more cleanup; moved arcade patch data to arcade-patch and patch-dec/* down to patch-data
Mark Cannon [Sat, 19 Mar 2011 20:22:57 +0000 (16:22 -0400)]
cleanup in assets; removed most of the superfluous/unnecessary game data
Mark Cannon [Thu, 17 Mar 2011 22:18:38 +0000 (18:18 -0400)]
minor optimizations to Song (use CString& where we don't need a copy, copy explicitly only if we do)
Mark Cannon [Thu, 17 Mar 2011 19:36:54 +0000 (15:36 -0400)]
recommit changelog that was clobbered in the move
Mark Cannon [Thu, 17 Mar 2011 19:09:46 +0000 (15:09 -0400)]
add default pump mappings for PIUIO (untested, but they're definitely the right input bits)