Commit Graph
4295 Commits
Author SHA1 Message Date
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
Wolfy 4b70dcd49e Have lead-in image appear even with a negative BGAnimation beat
3.9 would make lead-in images appear no matter what, and still maintained the proper sync demanded by having a negative beat. This PR just restores the behavior to what 3.9 did, since currently negative BGAnimation beats will disable lead-in images.
2015-07-09 00:40:44 -05:00
Kyzentun Keeslala f6d369372f Changed HOOKS singleton to register itself with lua correctly so that it can be used by lua. 2015-07-08 15:39:00 -06:00
Kyzentun Keeslala a8e22c3e81 RandomBGEndsAtLastBeat metric. 2015-07-03 19:02:44 -06:00
Jason Felds 4eb39ac38c Use the more appropriate output name properties.
Now Linux can join in on different binary names.
2015-07-02 21:51:37 -04:00
Jason Felds 09621811e8 Use list(FIND) to have more flexible lists.
If Travis builds this, then we know it is solid.
2015-07-02 20:52:03 -04:00
Kyzentun Keeslala f1f1bd5ca6 Added theme metrics for controlling random bg behavior. 2015-07-02 11:51:59 -06:00
Kyzentun Keeslala 9bf045f596 Don't set the first_playable choice on ScreenSelectMaster if it is -1. 2015-06-25 09:22:22 -06:00
Kyzentun Keeslala 87d0687457 Added lua interface for using bezier curves. 2015-06-22 21:08:55 -06:00
Jason Felds 42ad044817 Linux broke somehow. Restore it with system jpeg. 2015-06-19 20:53:13 -04:00
Kyzentun Keeslala eb87ca4530 Screenshot crash fix from Yaniel: apparently libpng expects you to tell it what it will end up with instead of what you are giving it 2015-06-19 13:58:55 -06:00
Kyzentun Keeslala e91a858ddd Make RageTexture::GetTextureCoordRect wrap instead of seg fault when given an out of range frame. 2015-06-18 23:30:24 -06:00
Colby Klein 42468ccccc What *is* alignment, anyways? (realigned a bunch of preferences) 2015-06-18 11:10:37 -07:00
Kyzentun Keeslala 4078010ebd Change RunScriptFile to report errors through the error reporting system instead of just dialogs so that errors show when reloading scripts in game. 2015-06-16 16:51:06 -06:00
Kyzentun Keeslala 829e861192 ActorUtil lua functions now check whether the actor has a name, which is required. 2015-06-11 19:36:25 -06:00
Jason Felds 3bd182b523 Potential holy war, but use UTF-8 always. 2015-06-10 18:09:27 -04:00
Kyzentun Keeslala 5f50a8ea26 Added get_music_file_length and RageSound:get_length lua functions. Updated changelog. 2015-06-10 14:41:28 -06:00
Kyzentun Keeslala ed109a6006 Added hanubeki's translation of waiei's comment. 2015-06-10 08:46:39 -06:00
A.C 0d7aed6414 fix 2d noteskin's long note draw bug 2015-06-10 22:18:58 +09:00
A.C 6fc2bc19a7 ロングノートのつなぎ目がきれいになるよう修整中 2015-06-10 21:15:49 +09:00
Jason Felds 80542a5a7d Require reasons for checkpoints. 2015-06-08 18:37:13 -04:00
Kyzentun Keeslala 8b7370ee10 AMV SetVertsFromSplinesInternal had a fencepost error that made it not put a vert at the end of the spline. 2015-06-08 10:07:17 -06:00
Kyzentun Keeslala 771e24d1ca Added kludge to shift tex coords for bottom cap by one pixel to get rid of seam. power_of_two rewritten to use math instead of a while loop. 2015-06-07 18:27:35 -06:00
Kyzentun Keeslala 1dca128f79 Added logic to prevent crashing on an invalid initial screen. Added HARDCODED error screen in _fallback for displaying and explaining the error when a theme has an invalid initial screen. 2015-06-06 20:43:39 -06:00
Kyzentun Keeslala e6dc4307b5 Exposed update_centering lua function. Added ScreenOverscanConfig. Added case to RageDisplay_D3D so that BLEND_SUBTRACT doesn't crash. Updated changelog. 2015-06-05 08:48:58 -06:00
Kyzentun Keeslala 87349e6723 Changed SampleHistory to initialize m_fToSample using the same logic that moves it forward after a sample is added. 2015-06-03 19:51:45 -06:00
Kyzentun Keeslala f423af397a Removed superfluous assignments from Actor bounce/bob logic. 2015-06-03 17:15:26 -06:00