Commit Graph

1356 Commits

Author SHA1 Message Date
Jeffrey Han
106891a259 More star stream tweaks.
- Pass in the max stars in the stream, excluding bursts. (Use 0 for burst-only star streams.)
- Added duration spread setters. (Scoreboard star stream burst now happens faster.)

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 01:29:49 -05:00
Jeffrey Han
2d7a4a3eab Fixed bug with watching replays on "Auto" counting as retries.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 00:50:45 -05:00
Jeffrey Han
8a7b67b578 Star stream updates. (mad-s/opsu@701ef796)
- Make StarStream directional.
- Burst stars when score rank increases.
2016-12-23 00:40:36 -05:00
Jeffrey Han
81c8a61bb8 Better-defined root directory.
- If running from a JAR, the root directory will be the same directory as the JAR (not where it was launched).
- Otherwise, use the current working directory.
- XDG unaffected.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 19:54:05 -05:00
Jeffrey Han
25efbd3023 Fixed MenuButton expand directions. (blame: 474b407, #214)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 19:16:34 -05:00
Jeffrey Han
1436f2376e New theme song.
"Rainbows" by Kevin MacLeod.

Some config loading tweaks to make updating the theme song more seamless.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 18:36:31 -05:00
Jeffrey Han
e3276a3365 Color unplayed beatmaps pink in the menu.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 17:37:29 -05:00
Jeffrey Han
0d92d79ed7 Fix beatmap array fields not being loaded. (fixes #222, blame: #214)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 14:37:23 -05:00
Jeffrey Han
ed06a8b0ac Added "favorites" and "last played" beatmap groups, and more sorts.
- New sorts: by date added, and most played.
- Sorts are moved to a dropdown menu.
- Tabs are now groupings (all songs, last played, favorites).
- Add/remove "favorite" beatmaps in the right-click menu.
- Beatmap database is now updateable like score database (no longer drops/recreates on every update).
- Various bug fixes.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 05:26:09 -05:00
Jeffrey Han
4446487575 Fixed bug where disabling mouse buttons also blocks scrolling. (#220)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-20 15:18:20 -05:00
yugecin
1ac1b96127 render the checkbox in optionsoverlay in the middle of the line 2016-12-20 19:23:58 +01:00
yugecin
44ad94bfc1 update hoveroption in optionsoverlay when closing a list 2016-12-20 19:22:57 +01:00
Jeffrey Han
8b7b7e0354 Fixed error handling issues in the game container. (#218)
This makes error catching generally more robust. Catch all exceptions in start() loop, catch close_sub() exceptions separately, and suppress linked errors (so the root exception should actually get captured).

Also fixed null pointers in methods called by close_sub().

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-20 12:08:41 -05:00
Jeffrey Han
59204665bc Fixed a potential NullPointerException in ScoreDB. (#219)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-20 10:19:02 -05:00
Jeffrey Han
7fa9355bbf More efficient beat progress calculation. (#214)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 22:39:49 -05:00
Jeffrey Han
90a2f1d2f2 Follow-up to #214: cleanup.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 21:02:01 -05:00
Jeffrey Han
0f936d32cb Merge pull request #214 from yugecin/pusing-logo
Pulse main menu logo to the beat, add pulsing logo in song menu
2016-12-19 19:17:26 -05:00
yugecin
22f6259092 fix hover scale 2016-12-20 00:51:38 +01:00
yugecin
156d52f8c8 cleanup 2016-12-20 00:40:51 +01:00
Jeffrey Han
4af2d7bfcf Minor "auto" mod fixes in the song menu.
- Enable "auto" with ctrl+click (instead of just ctrl+enter).
- Always turn off "auto" after one game.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 18:33:06 -05:00
yugecin
82e2d2100d simplify expand scale calc 2016-12-20 00:32:14 +01:00
yugecin
e648a553ea make the footer logo a button, start game when clicking & expand on hover 2016-12-20 00:31:15 +01:00
Jeffrey Han
1b99795abd Draw hit objects on top of hit result animations.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 17:13:22 -05:00
Jeffrey Han
e161d0180e Follow-up to #211: fix slider hit results not appearing; code cleanup.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 16:33:20 -05:00
Jeffrey Han
d111fc0efe Merge pull request #211 from yugecin/slider-improvements
Slider improvements (fade in ticks, fade out reversearrow, animations)
2016-12-19 14:21:01 -05:00
Jeffrey Han
6bc6441985 Follow-up to #216.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 14:17:41 -05:00
Jeffrey Han
59ff67b617 Merge pull request #216 from mad-s/slider-endcone
Fix #215.
2016-12-19 14:03:30 -05:00
Matteo Signer
2aa1fd7b4e Fix OpenGL version requirement. 2016-12-19 17:42:21 +01:00
Matteo Signer
bae3b711cf Render end cap at all times. 2016-12-19 17:33:10 +01:00
yugecin
624296deea add a timingpoint for the themesong so the logo can be pulsed 2016-12-18 23:51:30 +01:00
yugecin
0ee16f2cb2 javadoc adjustment 2016-12-18 23:48:55 +01:00
yugecin
f47d54c4d0 added pulsing logo at the bottom right of the song menu 2016-12-18 23:45:33 +01:00
yugecin
f7e42c271f make the main menu logo pulse 2016-12-18 23:41:36 +01:00
yugecin
13e1fb5193 parse timingpoints of a map when playing the song, to allow logo pulsing 2016-12-18 23:40:58 +01:00
yugecin
ff68145ba3 added BeatmapParser#parseOnlyTimingPoints 2016-12-18 23:39:39 +01:00
yugecin
77c6dfd65a added MusicController#getBeatProgress 2016-12-18 23:31:17 +01:00
yugecin
474b40750e allow custom scale overrides on menubuttons 2016-12-18 23:29:49 +01:00
yugecin
caefbdee9b minor cleanup 2016-12-18 22:57:19 +01:00
yugecin
338e74b7d2 pulse mainmenu logo when nothing is playing (close #105) 2016-12-18 21:12:40 +01:00
yugecin
c42e7e4399 fix hover option in option menu not updating when scrolling 2016-12-18 21:04:17 +01:00
yugecin
c974374d67 Add option to color main menu logo based on the cursor color (close #82) 2016-12-18 21:03:19 +01:00
yugecin
64a3a85eb0 ghost logo adjustments 2016-12-18 20:35:08 +01:00
yugecin
e16cae73d1 Merge branch 'animations' into slider-improvements 2016-12-18 16:48:03 +01:00
yugecin
089ff7d0de minor cleanup 2016-12-18 16:47:55 +01:00
yugecin
3ca2653197 adjust the slider circles alpha when hidden mod is enabled 2016-12-18 16:41:52 +01:00
yugecin
b252f0ec42 use the same fade for reversearrows as circles 2016-12-18 16:37:48 +01:00
yugecin
5be3fdf1a3 fade in slider circles after repeats, hide them if ball does not need to go to them again 2016-12-18 16:18:51 +01:00
yugecin
2260299c4b don't show reversearrow pop when slider wasn't held 2016-12-18 15:06:21 +01:00
yugecin
55fa6f4070 fix initial circle animation position 2016-12-18 14:53:04 +01:00
yugecin
3c6b20f4c8 adjust the animations on the first circle of the slider 2016-12-18 14:46:02 +01:00