Commit Graph

1923 Commits

Author SHA1 Message Date
Collin Smith
c3e10ed506 Restructured code to improve readability 2021-08-03 23:58:49 -07:00
Collin Smith
6f44f10d4f Removed ChunkGrid note 2021-08-03 23:55:29 -07:00
Collin Smith
bdc4892cd0 Renamed DS1.Object to DS1.Ds1Object for Ds1Info 2021-08-03 23:50:49 -07:00
Collin Smith
6a73e59369 Renamed DS1.Object to DS1.Ds1Object to fix annoying IDEA parse bug 2021-08-03 23:50:10 -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
9db87b166e Tests for random seed serialization 2021-07-24 00:57:54 -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
25cf027454 Added Map and MapGenerator implementations 2021-07-24 00:55:52 -07:00
Collin Smith
66109d0cee Assignment of Chunk#tiles from pool 2021-07-24 00:55:27 -07:00
Collin Smith
4421bdf78f Created Prefab class to be used to track prefab tile configurations 2021-07-24 00:49:27 -07:00
Collin Smith
b10a059840 Created IndexDefs containing pre-defined special tile indexes 2021-07-24 00:48:12 -07:00
Collin Smith
d192dd97e1 Created TileGenerator to produce random variations of tiles using specs 2021-07-24 00:47:17 -07:00
Collin Smith
f18c864df0 Added DebugMode#PREFAB to draw prefab rects (unimplemented) 2021-07-24 00:45:21 -07:00
Collin Smith
e56ced7d2b Pseudo-random number generator impl with serializable seed 2021-07-24 00:41:45 -07:00
Collin Smith
41a8f42a33 Fill obtained arrays with null to allow GC 2021-07-23 19:03:17 -07:00
Collin Smith
20b7908efb Added test case for ds1 containing groups 2021-07-23 01:47:10 -07:00
Collin Smith
8806b86faa Mockup of Zone/Chunk structures
Mockup of Zone/Chunk structures
Expanded BBox functions to include setter function
2021-07-23 01:46:42 -07:00
Collin Smith
0afb1e9514 Adjusted ArrayPool and BucketPool APIs 2021-07-23 01:43:00 -07:00
Collin Smith
5bc47dbf98 Impl of pooling for arrays and buckets of arrays of sizes 2021-07-21 15:08:46 -07:00
Collin Smith
16670d6e89 Refactored names for TileRenderer methods, removed deprecated methods 2021-07-20 23:24:54 -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
9241e3a898 Upgraded riiablo:core tests from JUnit 4 -> JUnit 5
Upgraded riiablo:core tests from JUnit 4 -> JUnit 5
Changed source and target compatibility for riiablo:core to Java 8
Adjusted project style to organize JUnit imports more cleanly
2021-07-14 22:00:59 -07:00
Collin Smith
33e2633f96 Additional exclusion for :table:annotation-processor dependency (#135)
Fix for bf609ac2f0 not excluding during test sources compilation
2021-07-10 01:03:12 -07:00
Collin Smith
0840797cf2 Incremented version 0.0.4 -> 0.0.5 2021-05-28 15:47:34 -07:00
Collin Smith
56605a815a Migrated libgdx 1.9.14 -> 1.10.0 2021-05-28 15:38:28 -07:00
Collin Smith
02d3f91992 Changed jcenter() -> gradlePluginPortal() 2021-05-28 15:33:30 -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
894e94ea05 Incremented android gradle plugin to 4.1.1 2021-05-28 14:57:17 -07:00
Collin Smith
ff2121daa8 Updated gradle wrapper to 6.9 2021-05-28 13:05:10 -07:00
Collin Smith
bf609ac2f0 Disable :table:annotation-processor dependency (#135)
Disable :table:annotation-processor dependency
Exclude com.riiablo.table.*.** from compile to improve performance
2021-05-28 12:47:54 -07:00
Collin Smith
e550bdab55 Fixed CvarManager cleanup
Fixed an issue where removing a Cvar from a CvarManager was not removing its state listener
2021-04-25 01:47:57 -07:00
Collin Smith
bb5351646f Updated run configuration modules to be compatible with IntelliJ 2021.1 2021-04-09 21:54:46 -07:00
Collin Smith
c4921dd90d Workaround for #139 2021-01-24 16:51:06 -08:00
Collin Smith
651e2c9210 Changed filtering for palette render textures to Nearest
This is the default, protecting against LibGDX API changes
2021-01-24 16:37:03 -08:00
Collin Smith
9fbb1fcde3 Fixed bug where scrolling did not affect map zoom level 2021-01-24 15:04:58 -08:00
Collin Smith
7a2ed359c8 Changed glClearColor to set on each draw call
Changed glClearColor to set on each draw call
Changed glClearColor color definition to global const
2021-01-19 16:27:46 -08:00
Collin Smith
66af642a4c Fixes #138 2021-01-19 15:55:35 -08:00
Collin Smith
6fb5473009 Incremented version 0.0.3 -> 0.0.4 2021-01-14 11:38:23 -08:00
Collin Smith
7ae6f66aa8 Added soft margins at 80 (javadoc) and 120 (hard limit) 2021-01-14 11:20:34 -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