Commit Graph

64 Commits

Author SHA1 Message Date
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
eb96c49e6d don't include sqlite sources in packaged jar 2017-04-30 18:24:56 +02:00
yugecin
5386cc6f2a remove explicit jlayer dependency, it is a transitive dependency through mp3spi 2017-04-30 00:49:39 +02:00
yugecin
db4990db39 update mp3spi dependency to 1.9.5.4 and remove explicit tritonus dependency because it's a transitive dependency through mp3spi 2017-04-29 23:05:07 +02:00
yugecin
ac32ea8114 exclude junit and jnlp transitive dependencies 2017-04-29 22:47:44 +02:00
yugecin
aa09a29df7 pom adjustments: copy libs to /mvnlibs/ for ant, exclude .pdn resources from being added to the jar 2017-04-29 22:43:23 +02:00
yugecin
9b3334c92b natives should be found now when running using maven 2017-04-28 22:43:13 +02: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
d62d2503e6 change main class 2017-01-16 12:10:07 +01:00
yugecin
7c1be80d0c change pom version 2017-01-16 11:55:01 +01:00
yugecin
6aefa559f4 remove assistedinject dependency for now 2017-01-10 13:17:13 +01:00
yugecin
ebda622c2c guicy new way of running the app 2017-01-07 14:02:33 +01:00
yugecin
353fff9f0c version bump (rel 0.4.2) 2016-12-13 15:48:50 +01:00
yugecin
494ec1f447 version bump (rel 0.4.1) 2016-12-13 00:02:45 +01:00
yugecin
04b7705c40 version bump (rel 0.4.0) 2016-12-12 21:48:14 +01:00
yugecin
7e82b05a56 use inner interface instead of default impl so we can go back to java 7 :) (close #87) 2016-12-04 23:54:53 +01:00
yugecin
a44b131fd2 version bump (rel 0.3.1) 2016-11-20 23:54:52 +01:00
yugecin
49d1d5dd2d version bump (rel0.3.0) 2016-11-20 23:21:31 +01:00
yugecin
cdd88d9a8d merge the movers into one list, use java8 for default impl in interfaces 2016-11-20 17:24:58 +01:00
Awlex
5c5f6bd621 Basic Implementation of a Mover with more than 2 points (GameObjects) and added Jama (Java Matrix) library to the project 2016-11-19 00:06:55 +01:00
yugecin
93a4af30d2 rel0.2.2 2016-10-16 21:13:29 +02:00
yugecin
b670e8aaba rel0.2.1 2016-10-15 00:16:24 +02:00
yugecin
d4258f78d2 change to own version numbers 2016-10-04 13:06:25 +02:00
Jeffrey Han
724567331e Updating to 0.12.1.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-10-01 23:06:32 -04:00
Jeffrey Han
ab817172e4 Updating to 0.12.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-22 02:38:18 -04:00
Jeffrey Han
fc27722149 Updated org.xerial:sqlite-jdbc dependency to version 3.8.10.2. (#132)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-17 11:20:21 -04:00
Jeffrey Han
e3d8a11c39 Updating to 0.11.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-01 16:12:41 -05:00
Jeffrey Han
9fc00fc3c3 Follow-up to #128: add XDG info to readme, rename the Maven property.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-08-29 09:51:10 -05:00
Jeffrey Han
f773a8ecf8 Remove jinput dependency since controllers aren't used.
jinput natives are no longer loaded or packaged in the jar.

Excluded the lwjgl dependency within the slick2d package since it depends on an older version (2.9.1) of lwjgl.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-08-28 11:07:03 -05:00
Jeffrey Han
c4081c904b Change Gradle task 'build' to 'jar' in the readme.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-08-27 14:24:25 -05:00
Jeffrey Han
b54886a379 Follow-up to #126.
- Fix the XDG directory flag that got removed with JarSplice. To enable XDG directories, set the 'Use-XDG' property in either build file to 'true'.
- Always re-build jars in the Gradle script (disable "up to date" for the task).
- Delete JarSplicePlus.jar since it's no longer being used.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-08-27 14:14:04 -05:00
Lemmmy
dea0104c4d Added the Gradle build system and added a new native loader 2015-08-27 15:50:36 +01:00
Jeffrey Han
6a4c6a8d37 Updating to version 0.10.1.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-07-18 23:55:06 -05:00
Jeffrey Han
8b9e230fa7 Updated dependencies.
- LWJGL is now at the final 2.x release version.
- Slick2D is now at the final (?) release version.
- Added dependency for org.tukaani.xz, since it becomes optional in commons-compress 1.9 and is needed for LZMA compression.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-07-07 18:37:03 -05:00
Jeffrey Han
47f682352d Updating to version 0.10.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-07-04 23:29:46 -05:00
Jeffrey Han
91b78b4add Updating to 0.9.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-05-17 16:51:30 -04:00
Jeffrey Han
8f48d9495e Fixed #81.
Catch ArrayIndexOutOfBoundsException in Slick's Input class.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-05-09 00:46:29 -04:00
Jeffrey Han
1159c606f7 Updating to version 0.8.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-20 00:39:26 -04:00
Jeffrey Han
7536056a59 Initial replay writing support.
- Added Replay.save() method to save replays to a file.
- Separated Replay loading from the constructor into a load() method.
- Added OsuWriter class to write replays.
- Parse replay seeds (what do they do?).
- Added Updater.getBuildDate() method to retrieve the current build date (for the replay 'version' field).
- Added osu! mode constants in OsuFile.
- Added methods to retrieve raw ReplayFrame coordinates.
- Added replay fields/methods to GameData and Game state.
- Added jponge/lzma-java dependency for LZMA compression, since it isn't implemented in Apache commons-compress...

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-10 18:10:51 -04:00
Jeffrey Han
f6412f06e8 Initial replay parsing support.
- Basic implementation of viewing replays in the Game state.
- Added OsuReader class for reading certain osu! file types. (author: Markus Jarderot)
- Added Replay, ReplayFrame, and LifeFrame classes to capture replay data. (author: smoogipooo)
- Added 'keyPressed' parameter to HitObject.update().
- Added cursor-drawing methods in UI that take the mouse coordinates and pressed state as parameters.
- Added GameMod methods to retrieve/load the active mods state as a bitmask.
- Added Apache commons-compress dependency for handling LZMA decompression.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-09 18:32:43 -04:00
Jeffrey Han
400f9395e7 Updating version to 0.7.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-08 17:53:24 -04:00
Jeffrey Han
dc26f6c131 TextField updates, and bug fixes from some recent commits.
- Added modified copy of slick.gui.TextField: added CTRL+BACKSPACE for word deletion, and disabled left/right arrows to move cursor and CTRL+Z to undo.
- Fixed musicEnded() incorrectly setting the "trackEnded" upon swapping tracks.  This has caused some nasty loops since #38.
- Fixed a null pointer exception in OsuDB from 0b03912.
- Fixed the song menu search bar transition being incorrectly reset when hitting backspace on a 0-length query.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-08 16:34:28 -04:00
Jeffrey Han
078b765143 Added an automatic updater for new releases.
opsu! will now check for updates upon launching, and will prompt the user to download and run a newer version, if available.
- The remote version file is just the filled "version" file, currently located in the gh-pages branch.
- The new version is downloaded to the working directory, and launched with ProcessBuilder.

Related changes:
- Added "file" property (containing the download URL) to "version" file.
- Added maven-artifact dependency for version comparisons.
- Added methods in Downloads class to retrieve the constructor parameters.
- Moved method for showing exit confirmation dialogs into UI.
- Moved method for reading from URLs into Utils.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-07 04:17:19 -05:00
Jeffrey Han
9138b70a24 Minor GameContainer changes.
Added copy of GameContainer.java:
- updateAndRender() no longer calls Log.error(), and re-throws the original exception as a SlickException.  This prevents errors from being logged twice, and now the relevant one is shown in the error popup (instead of a useless "failure" message).
- getBuildVersion() no longer calls Log.error(), and removed slick build information from "version" file.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-06 19:16:43 -05:00
Jeffrey Han
3df08e5357 Write build information to "version" file and auto-fill error forms.
- Maven version and build date are now written to "res/version".
- The GitHub Issues form is auto-filled with error information if available. (reference: fluddokt/opsu@53fe3d9)

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-03-06 15:55:15 -05:00
Jeffrey Han
51620772c0 Updating version to 0.6.0.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-02-21 22:30:47 -05:00
Jeffrey Han
36574cc073 Switched jlayer to com.googlecode.soundlibs.
Changed some default options.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-02-21 22:27:16 -05:00
Jeffrey Han
d268008d7a Merge pull request #22 from fluddokt/AudioTest
Mp3 wav through mp3spi
May have fixed loading some other unique audio.
2015-02-20 23:45:23 -05:00
Jeffrey Han
25a7a826f1 More graphical updates, some code cleanup, and minor fixes.
- The MenuButton class now fully supports hover effects (scale, fade, rotate) for Animations.
- Used a fixed location for the selection buttons in the song menu (previously based on the "back" button width, which varies widely in different skins).
- Added hover effects for "retry" and "exit" buttons in the ranking screen.
- Changed animation speed of back/skip buttons.
- Fixed a bug where main menu showed the incorrect number of songs loaded during searches.
- Removed unneeded draw() methods in Utils for color filters (since 69f5aa5).
- Moved Utils.drawCentered(Image, ...) into the Image class.
- Added overwritten Image class to Maven excludes.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-02-19 00:33:32 -05:00