Commit Graph

18 Commits

Author SHA1 Message Date
Gary Tierney a53929a9a8 Remove apollo-plugin Gradle plugin
Replaces the old Gradle plugin with plain Gradle buildscripts.  Also cleans-up
the current Gradle extensions and re-adds detekt, along with JUnit 5 support to
all modules.
2018-08-27 00:55:41 +01:00
Gary Tierney 09346134fa Make buildscripts backwards compatible with Gradle 4.0 2018-08-19 19:50:27 +01:00
Gary Tierney 0651d535fa Update to Kotlin 1.60 and Gradle 4.9
Removes the dependency on legacy script compilation and now relies on script
discovery.  In addition, the Gradle build scripts were refactored and updated
to be compatible with Gradle 5.0 and make use of the new java-library
configurations.
2018-08-19 19:26:51 +01:00
Gary Tierney 05e20d9d51 Reorganize project sources from src/main to src/main/java 2017-05-28 22:04:34 +01:00
Major f4c08995b5 Condense some unnecessarily-long variable names 2017-05-25 02:32:20 +01:00
Gary Tierney 30a1aebb56 Remove Maven POM files 2017-01-02 04:59:41 +00:00
Gary Tierney 4d79052199 Convert to the gradle build system
Ports the Maven build POMs to Gradle build scripts, which are a bit
friendlier to use.  Instead of using the exec:java Maven goal to run the
server now, the gradle run task should be used.
2017-01-02 04:44:04 +00:00
Gary Tierney 6188c2e751 Add support for dynamic collision detection
This commit implements collision detection using the map files loaded
from the cache, and adds support for modifying the collision matrices at
runtime when the game world is updated.

All checks to see if a tile is reachable should now be done via.
World#traversable, instead of Region#traversable, as the World object
can handle checking tiles across multiple regions.  These are done for
the WalkingQueue and Pathfinder implementations.
2016-12-31 05:14:19 +00:00
Gary Tierney 6a4625cb32 Refactor map loading code
Refactors the map file loading code by importing existing code from the
Vicis cache editor project.  Adds classes for decoding objects and tiles
for a given map file index. Only the new MapIndex decoder code is used
when loading GameObjects at the moment , which will later be updated.
2016-12-31 02:08:58 +00:00
CharlesVaneenoo b2c0d94db1 Simplify the getter of Crcs 2016-02-25 16:58:41 +01:00
Jesse Woolsey ddaa505c6a * Fix Several Items that were glitched when worn.
* Fix items that were not able to be worn due to the name.
* Added prayer check in due to one of the items using it during 377
2016-02-15 21:47:25 -05:00
CharlesVaneenoo 85106063c9 Remove unused condition from NpcDefinitionDecoder 2016-02-12 20:21:27 +00:00
WizardJesse1 03d9fb88c7 Fixed Noted Item Value
* Made the noted item value use the value from the unoted item
2016-01-31 01:01:42 -05:00
Gary Tierney ef740b36e0 Fix short circuit logic in ItemDefinitionDecoder
* Replaces an OR, with what should have been an AND while decoding
  unused item definition info.
2015-12-21 04:03:26 +00:00
Major- 38af001083 Optimise definition decoding for faster start-up. 2015-08-29 19:57:57 +01:00
Major- 493c5010e8 Cache already-decoded Archives. 2015-08-27 22:25:22 +01:00
Major- 4665d7617d Move MapFileDecoder to the cache module. 2015-05-27 14:55:58 +01:00
Major- e4778105f5 Modularise! Also add some unit tests. 2015-05-26 13:49:27 +01:00