Commit Graph

142 Commits

Author SHA1 Message Date
Collin Smith
bded14c1eb Moved icon resources into lwjgl, lwjgl3 backends 2021-11-27 23:46:20 -08:00
Collin Smith
0cf617b55a Moved tools into backend dependencies and old tools into tools:old
Moved gdx-backend-lwjgl dependency from impl to testImpl in :core
Created backend tool libraries for headless, lwjgl, lwjgl3
2021-11-27 23:42:18 -08:00
Collin Smith
474ea5b44b Integrated arg name into InstallationFinder searching methods
Integrated arg name into InstallationFinder searching methods
Refactored tools to use InstallationFinder#defaultHomeDir
Added java.lang.Exception to throws clause of Tool#handleCliOptions
Uncaught exceptions thrown by Tool#handleCliOptions will be fatal
2021-09-16 12:25:34 -07:00
Collin Smith
daedefa04f Bound ESCAPE to reset camera zoom and position to origin 2021-08-30 00:35:19 -07:00
Collin Smith
fa45d5d4b7 Implemented subtile flags merging from tile layers
Implemented subtile flags merging from tile layers
Fixed algebra calculating Chunk#numTiles
Hacked MapGenerator to function with test DS1
2021-08-07 00:29:22 -07:00
Collin Smith
bdc4892cd0 Renamed DS1.Object to DS1.Ds1Object for Ds1Info 2021-08-03 23:50:49 -07:00
Collin Smith
8656d50dfa Refined impls
Restricted scoping of DS1Reader constants specific to class impl to reduce confusion
Restructured DS1Reader a bit
Added support for DS1#layers bitsum of active layers
Implemented multiple layers into Chunk#tiles via Chunk#layers
Changed MapDebugger to y-up be north (more logical with level layouts and ds1 coordinates scheme)
2021-08-03 23:40:53 -07:00
collinsmith
508f08d8ef com.riiablo.map2 work from camping, including adding javax.annotation api depedency 2021-07-30 23:37:39 -07:00
collinsmith
78135e4ae1 Center map debug drawing at 0,0 2021-07-26 21:41:01 -07:00
Collin Smith
983552fe01 Created riiablo:tools:map-debugger to assist with com.riiablo.map2 api development 2021-07-24 00:57:18 -07:00
Collin Smith
8f13d9bac0 Created Ds1Info and display (no rendering) 2021-07-18 21:06:11 -07:00
Collin Smith
ce5166753b Second iteration of DT1 codec
Separated responsibilities of DT1 into DT1Reader and TileRenderer
DT1 now depends on calculated BBox to position textures
Integrated new DT1 codec into MPQViewer (including Dt1Info)
Fixed numerous issues with MPQViewer UI value labels
2021-07-18 12:07:30 -07:00
Collin Smith
458b402abc Fixed sizing of ctrl panel debug buttons 2021-07-17 01:23:19 -07:00
Collin Smith
f96505ecb5 Fixed crash when changing dt1 which was viewing non-zero tile index 2021-07-16 17:48:58 -07:00
Collin Smith
2b97989095 Apply debug mode option 2021-07-16 17:29:21 -07:00
Collin Smith
d98155349a Added debug mode cli switch 2021-07-16 17:18:15 -07:00
Collin Smith
51e39ee26e Added cli argument to pass initial file to MPQ Viewer 2021-07-16 11:22:38 -07:00
Collin Smith
ebf0015528 Fixed DT1 viewing in MPQ viewer
Fixed issue where DT1 wouldn't draw until palette selected
Created Dt1Info panel
Added back scrollbars without fading
Increased bottom padding for "center" button to be above scroll bars
2021-07-15 21:11:38 -07:00
Collin Smith
0eea5e2793 Migrated libgdx 1.9.13 -> 1.9.14
Migrated libgdx 1.9.13 -> 1.9.14
Removed gdx-jnigen dependency (waterfalled from within gdx-video correctly now)
Separated gdx-controllers version 1.9.14 -> 2.2.0
Changed HeadlessApplicationConfiguration#renderInterval to #updatedPerSecond
2021-05-28 15:30:15 -07:00
Collin Smith
9fbb1fcde3 Fixed bug where scrolling did not affect map zoom level 2021-01-24 15:04:58 -08:00
Collin Smith
fe7cdc4caa Created tool implementation of gdx-video for testing 2021-01-13 23:54:23 -08:00
Collin Smith
438f26d468 Upgraded LibGDX from 1.9.11 -> 1.9.13
API change scrolled(int) -> scrolled(float,float)
Changed switches to if/else, asserting non-zero amounts
API change gdx.utils.Pool removed prefill argument -- adjusted code
Note: DS1Viewer remains broken, API updated anyways
2021-01-13 21:29:13 -08:00
Collin Smith
9d62df5850 Transitioned to new SerializerGenerator tools 2020-12-12 21:33:03 -08:00
Collin Smith
23009f2521 Fixed issue with updated merge naming change 2020-12-12 18:02:59 -08:00
Collin Smith
e27d6bba73 Merge branch 'master' of https://github.com/collinsmith/riiablo into excel-refactor 2020-12-04 19:51:55 -08:00
Collin Smith
073f73e1a3 Resolves #130 2020-12-04 19:36:34 -08:00
Collin Smith
61cb66514b Removed argument from SerializerGenerator#generateSerializers 2020-11-30 11:37:28 -08:00
Collin Smith
2d5e377aca Created excel-refactor containing excel 2.0 2020-11-29 17:58:51 -08:00
Collin Smith
d847297032 Updated logging for cli errors relating to org.apache.commons.cli.ParseException 2020-11-27 02:21:41 -08:00
Collin Smith
495dbefa9f Deprecated com.riiablo.entity.DirectionTool 2020-11-26 19:39:31 -08:00
Collin Smith
e47bb8c888 Moved :mpqviewer into :tools:mpq-viewer
Upgraded visuiVersion for :tools to 1.4.2
Added encoding configuration for :tools subprojects
2020-11-26 16:48:58 -08:00
Collin Smith
f98c9575a6 Refactored :ds1viewer to :tools:ds1-viewer 2020-11-26 03:29:10 -08:00
Collin Smith
770e583c55 Added metadata to :tools subprojects describing what the tool does 2020-11-26 03:06:57 -08:00
Collin Smith
d07f7df1c6 Replaced home path checking with function call 2020-11-26 02:30:46 -08:00
Collin Smith
c48c489dea Added Actioneer to world 2020-11-25 13:26:39 -08:00
Collin Smith
8e1040ebb7 Migrated DirectionTool to gradle run configuration 2020-11-24 23:16:20 -08:00
Collin Smith
eb8b215c06 Migrated CameraTool to :tools:camera
Migrated CameraTool to :tools:camera
Created LwjglToolBuilder#size(int,int,boolean)
2020-11-24 23:05:18 -08:00
Collin Smith
4a5ae7709a Moved :tool assets into main resources source set 2020-11-24 18:28:15 -08:00
Collin Smith
aafc1bf88b Supressed type cast warnings for tool builder 2020-11-24 18:16:55 -08:00
Collin Smith
1ab7c60120 Migrated D2SReaderTool to tools:d2s-reader subproject 2020-11-24 18:14:33 -08:00
Collin Smith
803dcd7c6d Improved robustness of Tool error reporting and exposed printHelp 2020-11-24 18:13:39 -08:00
Collin Smith
d4718286c0 Fixed deprecation warning 2020-11-24 18:12:42 -08:00
Collin Smith
7645141949 Created HeadlessTool tool backend 2020-11-24 17:13:13 -08:00
Collin Smith
a1ed24e688 Introduced AbstractTool
Introduced AbstractTool to take over some of the tool backend boilerplate code
2020-11-24 17:12:02 -08:00
Collin Smith
62dd6e3be6 Added support for header/footer for cli help message
Added support for header/footer for cli help message
Adjusted MapViewer formatting
Added support for MapViewer hex seed
2020-11-24 16:04:16 -08:00
Collin Smith
c0462e4fce Impl help message header and footer support 2020-11-24 12:08:18 -08:00
Collin Smith
2ff13b8b8e Created tool scaffolding abstraction
Tools should extend BaseTool to provide interfaces
Tools can provide their own cli arguments and customizations
Tools main methods should execute their backend entry point
2020-11-24 02:51:02 -08:00
Collin Smith
a1b3d83422 Created :tools subproject default configs 2020-11-24 00:25:16 -08:00
Collin Smith
ea8a4f1f5e Migrated font metrics tool to tools:font-metrics 2020-11-22 22:56:42 -08:00
Collin Smith
7a2dfeb18a Upgraded tools:map-viewer to use cli args
Upgraded tools:map-viewer to use cli args
Deprecated old-style MapViewer constructors
Replaced old-style logging with new
2020-11-20 23:35:08 -08:00