Commit Graph

448 Commits

Author SHA1 Message Date
yugecin
1df25520e4 overhaul event system 2017-05-26 21:32:55 +02:00
yugecin
c8df3d5b57 change getQuadrant to getRegion 2017-05-26 17:18:44 +02:00
yugecin
e408fd9607 fix Nullable annotations 2017-05-26 11:13:20 +02:00
yugecin
6ccedf4636 better jar handling; get native files from manifest instead of iterator over every file in the jar 2017-05-25 01:03:15 +02:00
yugecin
ec53f531c8 got rid of dependency injection, it doesn't add anything at this point and only slows down things and makes a mess. Also some refactoring. 2017-05-21 11:12:55 +02:00
yugecin
1ebf2c2dcb saner transition management 2017-05-05 00:44:51 +02:00
yugecin
0a0320e81a remove duplicate line 2017-05-01 23:14:17 +02:00
yugecin
acd27b1743 add "(borderless)" next to the native resolution in the list of resolutions 2017-05-01 23:12:58 +02:00
yugecin
102338f65b fix game not using borderless when using native res 2017-05-01 23:05:19 +02:00
yugecin
32aec3ad55 fix crashing when starting for the first time 2017-05-01 22:52:56 +02:00
yugecin
cd6d35ac75 fix crash when running for the first time 2017-04-29 14:52:53 +02:00
yugecin
97133e24c6 fix nullpointer when running for the first time 2017-04-28 22:47:28 +02:00
yugecin
3c5dc97c38 Fix error 2017-04-22 11:40:30 +02:00
yugecin
9d9f2df5d8 align names and squares, order the rainbow names again and let cursor size be 0.1x min 2017-03-30 01:20:17 +02:00
yugecin
5f334ca4cb more transparant trail and faster keydelay 2017-03-30 00:19:32 +02:00
yugecin
9df139bded post merge stuff 2017-03-30 00:06:13 +02:00
yugecin
3629dfd4d7 Merge branch 'master' into replaystuff
# Conflicts:
#	src/itdelatrisu/opsu/Options.java
#	src/itdelatrisu/opsu/ui/Cursor.java
2017-03-30 00:05:45 +02:00
yugecin
e20b55ba59 put some space between names in the playerlist 2017-03-30 00:00:00 +02:00
yugecin
a65428fe5f getting rid of static instance 2017-03-26 22:58:25 +02:00
yugecin
be23541ac3 refactor options 2017-03-26 22:57:10 +02:00
yugecin
8d19288f81 remove the pair 2017-03-05 21:20:56 +01:00
yugecin
2f1f860ca3 fix sliders disappearing when multiple sliders are active or when later sliders is done earlier (2b maps etc) 2017-03-05 11:58:07 +01:00
yugecin
d6144187ad dancing hitcircles 2017-03-04 14:52:51 +01:00
yugecin
bed7ec8d56 rename OptionsMenu to OptionGroups 2017-03-04 14:51:58 +01:00
yugecin
2e3a782fdc put common hitcircle render code in separate class 2017-03-04 14:26:55 +01:00
yugecin
c3e6826464 add injectFields method to InstanceContainer to inject fields for existing instance 2017-03-04 13:59:23 +01:00
yugecin
00f34296fb Merge branch 'master' into replaystuff 2017-02-26 00:34:21 +01:00
yugecin
c6917856b9 make the bubble notif bg slightly transparant 2017-02-26 00:34:03 +01:00
yugecin
ba2aa51b7b multiple replay display stuff 2017-02-25 23:05:41 +01:00
yugecin
e889e0f79f removed test states 2017-02-06 10:38:45 +01:00
yugecin
80e1d6eb12 injecting fields 2017-02-06 01:02:38 +01:00
yugecin
77a5ebf537 make the eventbus static 2017-02-06 00:39:45 +01:00
yugecin
8c53973fa5 attempt to improve the fpsmeter 2017-02-05 23:36:39 +01:00
yugecin
c741db3923 fix back button loading and improve back button chevron animation (itdelatrisu/opsu@c5749e3) 2017-02-04 20:17:24 +01:00
yugecin
1faee53830 add chaning volume hotkey (alt+scrolling) as global hotkey 2017-02-03 16:43:47 +01:00
yugecin
11acbaaf3a fix dropdowns vertical position in optionsmenu 2017-02-03 16:27:06 +01:00
yugecin
611e539c14 fix optionmenu hover indicator misaligning at the bottom (itdelatrisu/opsu#243) 2017-02-03 16:24:26 +01:00
yugecin
284cebb063 fix nullptr when revalidating UI for the first time, because stuff only init in the splash screen, by moving said init call to the first subscriber of the resolution/skin changed event (displaycontainer). Basically it needs to be called before the UI gets revalidated. 2017-02-02 01:34:37 +01:00
yugecin
aff2ce9eee fix UI revalidation trigger location 2017-02-02 01:13:25 +01:00
yugecin
62b5d574da default back button 2017-02-02 01:06:56 +01:00
yugecin
89fcab3acf fix maxscrolloffset ignoring option visibility 2017-01-30 10:23:48 +01:00
yugecin
e7e3672491 use dropdown menus 2017-01-30 00:53:28 +01:00
yugecin
4b2a2b12f1 slightly wider optionsmenu 2017-01-29 23:00:22 +01:00
yugecin
c00b2b877a apply upstream fixes 2017-01-29 22:55:11 +01:00
yugecin
07ed654a99 update option names 2017-01-29 18:18:25 +01:00
yugecin
59ef4b37e5 fix option searching 2017-01-29 16:53:14 +01:00
yugecin
82bbb4299d allow slight overscrolling in optionsmenu 2017-01-29 16:23:52 +01:00
yugecin
ac398bf2ad kinetic scrolling in optionmenu 2017-01-29 15:33:01 +01:00
yugecin
04405b7289 fix maxscrolloffset 2017-01-29 14:19:54 +01:00
yugecin
e476ed5c62 set max scrolling value to the bottom of the open list, if applicable 2017-01-29 14:10:46 +01:00
yugecin
fc7476093b prevent slider line showing above sliderball 2017-01-29 13:42:46 +01:00
yugecin
347175a917 update selected list item even when mouse didn't move (so it updates when mouse is scrolled) 2017-01-29 13:23:08 +01:00
yugecin
7e135550e0 enchanced optionmenu 2017-01-29 11:28:24 +01:00
yugecin
d8422cb1fb fix not being able to change volume while ingame 2017-01-28 22:32:49 +01:00
yugecin
1fab72d5a4 fix pressing back button on options overlay responding to mousepress instead of mouserelease 2017-01-27 20:56:44 +01:00
yugecin
0a027fb8b8 improve bar notif text position 2017-01-22 12:21:54 +01:00
yugecin
36aaccda29 replace all calls to old bar notif with new method 2017-01-21 23:52:19 +01:00
yugecin
7f1abb085f rename ResolutionChanged event to ResolutionOrSkinChanged 2017-01-21 15:30:07 +01:00
yugecin
a489ee24d6 shortcut to reload skin 2017-01-21 15:18:04 +01:00
yugecin
f523328cb3 change skin on the fly 2017-01-21 14:31:03 +01:00
yugecin
83df73fc04 on the fly resolution changing 2017-01-21 14:23:34 +01:00
yugecin
b2f85edb13 fix nullpointer for mover storyboard 2017-01-21 13:29:10 +01:00
yugecin
978a41116c enable cursor 2017-01-21 13:11:34 +01:00
yugecin
f730935622 use the new errorhandler & bubble notifs 2017-01-21 01:16:27 +01:00
yugecin
aceebb95ca re-add the runupdate call 2017-01-21 00:39:56 +01:00
yugecin
04de1d024f fix not being able to shutdown when download is in progress 2017-01-20 00:25:32 +01:00
yugecin
4bf469d40b some more shutdown calls 2017-01-20 00:18:25 +01:00
yugecin
63660dfe94 added exit confirmations when download is going on 2017-01-20 00:15:50 +01:00
yugecin
84fb44475f fix array index oob exception when changing dropdown option (fixes #118) 2017-01-19 19:55:25 +01:00
yugecin
2d0e2143d1 convert gamepausemenu 2017-01-19 19:43:47 +01:00
yugecin
a3df6e12d6 convert game 2017-01-19 19:23:31 +01:00
yugecin
e7eec14341 add options menu as overlay 2017-01-19 16:03:53 +01:00
yugecin
04449abe62 readd search field and sort menu in songmenu 2017-01-18 23:08:23 +01:00
yugecin
06a5deb3a1 process common hotkeys in base state 2017-01-18 22:46:45 +01:00
yugecin
81b71d5703 convert download state 2017-01-18 22:36:09 +01:00
yugecin
36cfe3813a taking over components 2017-01-18 22:35:57 +01:00
yugecin
6f7e4242da correct red color for bubble notifs 2017-01-18 21:55:06 +01:00
yugecin
f214841359 mouseDragged event 2017-01-18 21:48:27 +01:00
yugecin
8d05a8893b save options and delete temp dir on close 2017-01-18 19:41:27 +01:00
yugecin
0eac32505b destroy even more images when closing 2017-01-18 19:40:31 +01:00
yugecin
156026bd9b destroy all images when closing 2017-01-18 19:33:58 +01:00
yugecin
a02613bb76 pause music on exception 2017-01-18 19:22:14 +01:00
yugecin
c03897a47d convert buttonmenu 2017-01-18 19:06:45 +01:00
yugecin
db6e4f3b55 fix music not playing (whoops) 2017-01-18 17:39:46 +01:00
yugecin
7004c9ef4d convert songmenu 2017-01-18 17:31:29 +01:00
yugecin
02863de1cf add code to exit from code 2017-01-18 16:55:30 +01:00
yugecin
b1ccfe3019 fix skipping close functions on startup exception 2017-01-18 16:43:35 +01:00
yugecin
605dcec605 bubble notif when fullscreen is not supported + changed bubble colors 2017-01-18 11:59:30 +01:00
yugecin
57b29d7e91 getting rid of the temp displaymode 2017-01-18 10:27:40 +01:00
yugecin
4e5f69b9a0 converted mainmenu 2017-01-17 23:44:12 +01:00
yugecin
8b226f3afc working splash state 2017-01-17 23:18:12 +01:00
yugecin
5e09a1d24a attempt to correct the fps counter target values 2017-01-17 22:26:19 +01:00
yugecin
b270015c14 javadoc for non-obvious things 2017-01-17 22:02:40 +01:00
yugecin
14c8fba9cb colorful fps counters 2017-01-17 21:06:59 +01:00
yugecin
580b4142f6 don't pass deltas as param 2017-01-17 18:45:17 +01:00
yugecin
f0883ff1af draw the bar notification above the bubble notifications 2017-01-17 17:13:25 +01:00
yugecin
97e71e158d animation for the bar notifications 2017-01-17 17:08:05 +01:00
yugecin
3d5dacf70f add forgotten recalculations after changing resolution 2017-01-17 16:22:06 +01:00
yugecin
281d888905 fix bubble notif hitbox 2017-01-17 16:15:09 +01:00
yugecin
c6464ffb25 bubble notifications (close #111) 2017-01-17 16:11:59 +01:00
yugecin
9da723c50b simple bar notifications 2017-01-17 11:25:36 +01:00
yugecin
3ba50ebe60 move demux into displaycontainer 2017-01-16 22:36:50 +01:00
yugecin
09dfc68f16 Moving even more stuff around 2017-01-16 21:53:48 +01:00
yugecin
2ed0254c34 removed guice dependency which was a spaceshuttle used to cross the road 2017-01-16 21:28:40 +01:00
yugecin
9d0ddc5fd0 created own, lightweight injector 2017-01-16 21:19:31 +01:00
yugecin
07d15eeb56 draw fps 2017-01-15 23:38:20 +01:00
yugecin
7c79deac65 Initialize fonts in GL setup phase 2017-01-15 23:36:21 +01:00
yugecin
7b1d052de7 use explicit init with state in demux and remove the mocked state 2017-01-15 22:54:42 +01:00
yugecin
54b1b3bb1c use EventBus instead of ResolutionChangeListener 2017-01-15 22:46:09 +01:00
yugecin
ec39392689 eventbus 2017-01-15 22:37:59 +01:00
yugecin
88676f2c36 also catch startup exceptions 2017-01-15 00:21:52 +01:00
yugecin
4f10577321 make the error handler a single instance and always dump the displaycontainer 2017-01-15 00:20:20 +01:00
yugecin
24c6c7da77 make more stuff ErrorDumpable 2017-01-15 00:11:52 +01:00
yugecin
c467e9b34e let the base state listen to the resolution change events 2017-01-14 23:49:10 +01:00
yugecin
a1e5c3d30f getting rid of delegation methods 2017-01-13 16:28:36 +01:00
yugecin
e4d4e93f0a added todo 2017-01-12 12:45:14 +01:00
yugecin
b56007347a more startup stuff 2017-01-12 12:45:08 +01:00
yugecin
7fee3aa005 remove exit code from errorhandler 2017-01-12 11:31:58 +01:00
yugecin
a647ea206d improve errorhandler result text 2017-01-11 23:20:03 +01:00
yugecin
cb8eab0023 truncate error body when posting github issue 2017-01-11 23:13:37 +01:00
yugecin
66ee2a0979 handle close request per state 2017-01-11 23:04:50 +01:00
yugecin
4ba32c44f2 typos 2017-01-11 23:02:17 +01:00
yugecin
e9120652a1 improve transition base 2017-01-11 23:02:12 +01:00
yugecin
cb92d45ae8 rename log method to sout 2017-01-11 20:46:10 +01:00
yugecin
68ac7f3d10 ErrorHandler 2017-01-11 20:41:13 +01:00
yugecin
90684c084a fix incorrect calling of update method 2017-01-10 14:11:15 +01:00
yugecin
1248d0a29f disable controllers 2017-01-10 13:16:57 +01:00
yugecin
7162f8bc7d handle input at higher rate than render rate 2017-01-10 13:02:40 +01:00
yugecin
6857393315 input events 2017-01-10 12:43:05 +01:00
yugecin
e05b675285 moving stuff around again 2017-01-10 12:07:24 +01:00
yugecin
0ceff03bdd log start time 2017-01-09 23:10:51 +01:00
yugecin
9c0eaca4ee moving stuff around 2017-01-09 22:45:52 +01:00
yugecin
e8cac712fc getting rid of the slick (App)GameContainer 2017-01-09 22:42:59 +01:00
yugecin
d5796e5a1e cleanup the prestartupinitializer 2017-01-08 11:23:23 +01:00
yugecin
31a25b297f more oop shit for state transitions 2017-01-08 11:23:06 +01:00
yugecin
6d8f48a03f switching states using fade transitions 2017-01-07 23:14:10 +01:00
yugecin
ebda622c2c guicy new way of running the app 2017-01-07 14:02:33 +01:00
yugecin
3b49792554 ExGon mover 2017-01-01 23:47:11 +01:00
yugecin
bf4bda949c fix hitbox for storyboard mover delete square 2016-12-26 23:37:13 +01:00
yugecin
b562a50254 getting rid of code repetition 2016-12-26 23:36:25 +01:00
yugecin
1c2fac02be set bezier control points in the middle 2016-12-25 21:10:58 +01:00
yugecin
0f0695c34a less text padding in simplebutton, rename sbv2 ease middle button 2016-12-25 16:30:30 +01:00
yugecin
2b5ee7d8b8 middle ease animation for sbv2 2016-12-25 16:22:09 +01:00
yugecin
66b174523b fix msb (2/2) 2016-12-25 15:50:43 +01:00
yugecin
ae84696aa6 fix msb (1/2) 2016-12-25 15:50:30 +01:00
yugecin
ad6ba664f9 add animations to storyboardmovers 2016-12-25 15:46:11 +01:00
yugecin
ce1dd5eba1 CubicStoryboardMover 2016-12-25 14:23:10 +01:00
yugecin
7aafd590f6 QuadraticStoryboardMover 2016-12-25 14:19:22 +01:00
yugecin
c219f078fb use renderutils 2016-12-25 14:19:08 +01:00
yugecin
a392875940 renderutils 2016-12-25 14:18:50 +01:00