Jason Felds
537af8d866
Remember to fill in new char's.
...
...we seriously need to use a standard <string>.
*glares at Yaniel*
2015-09-26 21:03:46 -04:00
Jason Felds
d878a44a9b
Merge pull request #787 from wolfman2000/wolf-rstring-buffer-dead
...
NOW all of the buffer calls should be dead.
2015-09-26 16:09:23 -04:00
Kyzentun Keeslala
a10c0c4f01
Added set_use_effect_clock_for_texcoords to Sprite. Updated changelog.
2015-09-21 20:42:56 -06:00
Jason Felds
0382929bd4
Build vorbis & vorbisfile in Windows now.
2015-09-20 13:13:47 -04:00
Jason Felds
baebe951b8
Enable static compiling of ogg.
...
Using "newogg" as the directory since I wish to reserve libogg for eventual `git submodule`-ing.
2015-09-20 09:36:38 -04:00
Jason Felds
eac97a4b47
Utilize the headers that POSIX_FADVISE requires.
2015-09-19 20:37:15 -04:00
Jason Felds
8512665f27
NOW all of the buffer calls should be dead.
2015-09-19 20:06:33 -04:00
Jason Felds
5313a880e2
Re-implement the check for HAVE_POSIX_FADVISE.
...
It is unclear why this was removed.
If this needs to be removed again, either do so through the config file or the definition checks.
2015-09-19 11:30:38 -04:00
Jason Felds
b85c61b89e
Restore mapconv post operations.
...
Clearing the cmake cache may be required.
2015-09-19 10:42:46 -04:00
Kyzentun
bb99481363
Merge pull request #772 from waiei/fix_hold/0609
...
fix draw hold body inactive texture bug
2015-09-18 18:35:32 -06:00
Jason Felds
cf545a3c01
Remove the need for the RString buffer.
...
For most areas, the call to `c_str()` is plenty.
For `RageUtil`, it's just a matter of new and delete.
2015-09-16 22:29:53 -04:00
Jason Felds
9140b836cc
Merge pull request #778 from wolfman2000/wolf-libjpeg-jconfig
...
Allow proper compiling of libjpeg for windows.
2015-09-15 18:29:18 -04:00
Jason Felds
4feddab08e
Allow VS2015 to compile StepMania.
2015-09-14 22:45:56 -04:00
Jason Felds
68b3620bac
Allow proper compiling of libjpeg for windows.
...
This expands on #777 to work with jconfig.h properly.
To facilitate these operations, a new macro was added for doing compile tests.
Note that this commit does NOT bring in the other files associated with this version of libjpeg.
At some point, it would be desirable to automatically get the files as part of the cmake configuration step, similar to ffmpeg.
2015-09-13 13:10:58 -04:00
Jason Felds
91361e5d29
Allow changing WAV and OGG settings for all OSes.
...
As before, set WITH_WAV and WITH_OGG to off to limit your playing experience. Why this would be done is beyond me, but it's available.
2015-09-12 11:58:57 -04:00
Jason Felds
b143f5afca
Improve and enhance WITH_MP3.
...
* All OSes can now take advantage of it.
* Mad is not linked if not utilized.
* Mac OS X side has a cleaner library list setup now.
2015-09-12 11:23:45 -04:00
Kyzentun Keeslala
493751c6d2
Changed WheelBase::SetItemPosition to make it send the item index and num items args to the transform function.
2015-09-10 21:39:39 -06:00
A.C
3d838a81a2
Merge remote-tracking branch 'origin/fix_hold/0609' into fix_hold/0609
...
Conflicts:
src/NoteDisplay.cpp
2015-09-10 01:23:53 +09:00
A.C
1d61989ccb
fix draw hold body inactive texture bug
...
If hold body, draw texture to the outside screen.
2015-09-10 01:17:54 +09:00
A.C
4d13ab304b
fix draw hold body inactive texture bug
...
If hold body, draw texture to the outside screen.
2015-09-10 00:06:19 +09:00
Jason Felds
4149191b54
Attempt to fix compiling for Windows JP users.
2015-09-08 16:57:56 -04:00
Jason Felds
381870f9ea
Allow libmad to be compiled in Windows.
...
This removes the need for an externally built library, thus officially removing the deprecated Xbox projects.
Other minimal changes were made to ensure consistency. Comments will be made in the PR.
Thanks to @Prcuvu for the initial push.
2015-09-07 09:50:01 -04:00
Kyzentun Keeslala
e1eceda031
Moved AxisFix to GamePreferences so that the preference exists on all platforms and doesn't cause a crash on the Advanced Input Options screen on OS X. Preference does nothing on OS X for now.
2015-09-06 14:10:26 -06:00
Jason Felds
ae83a1c6ec
Fixes for Linux.
2015-09-05 13:14:44 -04:00
Jason Felds
e093d204c8
Use proper cmake detection of features.
...
This attempts to organize all needed items and places appropriate defines
in a single location. Redundant comparisons/defines were removed when noticed.
A few caveats, however:
* This may be better targeted towards the 5_1_0 branch instead of master right now.
* Cmake will run a little slower on configuration/generation now. That's due to the sanity checks it runs.
* There are some more checks to be added later, but this should be a solid start.
Thanks to the [libical](https://github.com/libical/libical ) project for inspiration.
2015-09-05 10:51:17 -04:00
Kyzentun Keeslala
f182a04780
Fixed pausing on ScreenGameplay by making GameState have a pause variable and not force the song position forward if the game is paused. Implementing a working pause button that the player can press is left as an exercise for the reader.
2015-09-03 14:39:57 -06:00
Kyzentun Keeslala
0bb382f689
Hide mines that have been avoided so that TNS_AvoidMine isn't spammed every frame.
2015-09-02 21:34:32 -06:00
Prcuvu
5af37530d4
Rewrite power_of_two, using binary search.
2015-09-02 20:05:02 +08:00
Prcuvu
2ff411c7fc
Use Visual Studio implemented functions.
2015-09-01 12:21:11 +08:00
Kyzentun Keeslala
06c63364b1
Added check to ScreenEditMenu to force the master player number to Player 1 because edit mode depends on that heavily.
2015-08-29 18:48:44 -06:00
Kyzentun
410a33187a
Merge pull request #751 from Wallacoloo/follow-symlink
...
Follow symbolic links when searching for executable directory
2015-08-27 20:30:09 -06:00
zardoru
82af76a53d
Add preview point and fix offset support, and linear solo bms layout.
2015-08-24 21:24:50 -03:00
zardoru
20422adda7
Add BMS support for myo2 channel layout and kb7 charts.
2015-08-23 23:33:09 -03:00
Colin Wallace
cd40b0aefb
Follow symbolic links when searching for executable directory
2015-08-23 01:02:40 -07:00
Colby Klein
a9b061f8f9
Remove hard-coded 480 for high res textures.
...
Now it reads Common::ScreenHeight from the theme like it should.
2015-08-08 14:12:45 -07:00
Dan Guzek
759c8c0897
have udev only log PIUIO LightState upon change
...
Previously, the PIUIO_Leds code logged every LightState of every PIUIO_Led light with every call of Set()
This commit adds checks to see if each of the PIUIO_Leds have changed LightState since the last Set() and skips logging the current LightState if there is no change. Each set of lights was already being looped through; the new code here just issues a continue to skip logging where possible.
This helps reduce CPU usage when PIUIO_Leds are in use as the LightsDriver.
2015-08-04 03:12:49 -04:00
hanubeki
b6dc5e43b9
Fix hold bottomcap when NoteDisplay is zoomed out.
2015-08-02 22:17:25 +09:00
Kyzentun Keeslala
fc3b5eed67
Set processer to CPU_X86 if it's not 64 bit on linux.
2015-07-22 09:39:46 -06:00
Jason Felds
23d9271307
More accurate timing based on chart data.
...
Thanks to Skypers for the assist.
2015-07-19 22:09:34 -04:00
Jason Felds
960af12c23
Partial revert of b61e878.
...
Pump holds do have a little bit of leeway when it comes to letting go and putting your foot back on as proven by [WinDEU's demonstration of Dignity S20](https://www.youtube.com/watch?v=P2Fw9KPyHIg&feature=youtu.be&t=30 ).
The value used was determined by two video sources: the one mentioned above and a private one sent to me involving a different song/chart combination. 200ms is a rough estimate for what works. There may be other allowed values.
2015-07-19 16:08:50 -04:00
Kyzentun Keeslala
fa7e042da9
Changed GetActualRadarValues to start with a current row of -1 so that certain stuff is initialized right.
2015-07-18 23:17:01 -06:00
Kyzentun Keeslala
a888506b32
Expose the optional argument for ResolvePath to lua and add it to ResolveRelativePath.
2015-07-16 17:54:48 -06:00
Kyzentun Keeslala
ffc0c0ecb2
Changed CRYPTMAN to use lua_pushlstring for its hashes and uuids because they have embedded zeros.
2015-07-16 16:12:46 -06:00
Kyzentun Keeslala
e81ebfb5c5
Added AnimationFinished command to Sprite for when the animation starts over.
2015-07-15 01:35:30 -06:00
Kyzentun Keeslala
d7bd2d60f0
Don't show the warning on ScreenMapControllers if the dismiss time is too short to read it.
2015-07-11 21:14:01 -06:00
Kyzentun Keeslala
155b185307
Fixed crash in edit mode caused by chart mods not revalidating the ATIs of the notedata. Edit mode still doesn't play attacks perfectly right.
2015-07-11 00:43:37 -06:00
Kyzentun
bfc0d1cb61
Merge pull request #717 from wolfy852/patch-1
...
Have lead-in image appear even with a negative BGAnimation beat
2015-07-09 17:51:13 -06:00
Kyzentun
619d9dbc91
Merge pull request #695 from kyzentun/bezier_lua
...
Added lua interface for using bezier curves. Merging for the documentation of bezier sake.
2015-07-09 17:48:01 -06:00
Kyzentun Keeslala
f2ff693c63
Change bonus area on evaluation to scale the radar bars down if the radar value is greater than 1.
2015-07-09 16:25:06 -06:00
Kyzentun Keeslala
d2090081a1
Doing what I should have done a long time ago.
2015-07-09 13:18:51 -06:00