Commit Graph

1431 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
97ee523541 Created BinGenerator and tests 2021-01-10 18:35:31 -08:00
Collin Smith
f4705e5775 Added package-level documentation for excel packages 2021-01-10 18:34:08 -08:00
Collin Smith
48de8bf54e Ported some additional schemas 2021-01-09 20:08:30 -08:00
Collin Smith
e7791c1742 Fixed incorrect import 2021-01-09 20:05:53 -08:00
Collin Smith
ff301e0e63 Created schemas for remaining tables
Unimplementable code commented out
Need to fix bug: overridden primary key being used as primary key (ModeEntry)
2021-01-09 19:48:37 -08:00
Collin Smith
1621249f10 Added suppression for unused warning 2021-01-09 19:12:17 -08:00
Collin Smith
f24869411a Created compcode schema and table tests 2021-01-08 19:20:31 -08:00
Collin Smith
322f238a0c Created Color schema and tests 2021-01-08 19:12:30 -08:00
Collin Smith
6953e55457 Fixed compiler warning 2021-01-08 19:11:38 -08:00
Collin Smith
a2ca786ff6 Created CharStats schema and tests 2021-01-08 19:03:50 -08:00
Collin Smith
367b0835a6 Added graceful handling of null fieldName parameter within TsvParser#primaryKey(String) 2021-01-08 19:03:32 -08:00
Collin Smith
c2b7bb20e6 Created ArmType schema and table test 2021-01-08 17:16:25 -08:00
Collin Smith
beebd4378f Created RareAffix and RarePrefix, RareSuffix schemas and table tests 2021-01-08 17:09:34 -08:00
Collin Smith
d8e78d46cc Created Affix, MagicAffix, MagicPrefix and MagicSuffix schemas and table tests 2021-01-08 01:47:03 -08:00
Collin Smith
23449e2ef0 Added support for injecting references to records in foreign tables
Removed interface-based Injector implementation in favor of statically-based one
Injector required manifest fields which were generated after, causing errors
Created Manifest abstraction with Manifest#inject to perform injections
Added Manifest injection to Table constructor to enforce injection within Table#get
2021-01-07 14:04:41 -08:00
Collin Smith
b1bfc32a74 Fixed deprecation warning suppression by fully qualifying deprecated import 2021-01-07 14:00:58 -08:00
Collin Smith
dc37d7f239 Added bounds checking for fieldId to return default if not existing
monstats2 triggered this case, but other columns may not always exist
2021-01-04 20:01:41 -08:00
Collin Smith
5fc82d6516 Fixed EXPANSION marker skipping to skip until CR
monstats2 was formatted EXPANSION\t*0\r\n
2021-01-04 20:00:38 -08:00
Collin Smith
9fa2244429 Added support for record lookup via string primary key
Added support for record lookup via string primary key
TsvParser implements recordName(int) primaryKey(String) and primaryKey()
Added fast-forward recordName(int) into Parser base class to ParserInput
Merged parse record code within Table impl into parseRecord method call
2021-01-04 15:13:27 -08:00
Collin Smith
b4d54d687c Added additional test case for weapons using string primary key 2020-12-31 13:55:05 -08:00
Collin Smith
e0d4884b96 Added additional test case for ItemEntry super class 2020-12-31 13:53:37 -08:00
Collin Smith
72a83fa81e Created obj schema and customized table with tests 2020-12-31 02:11:07 -08:00
Collin Smith
acda9a23b4 Set indexed config for MonPreset schema 2020-12-31 01:51:25 -08:00
Collin Smith
4b656760d3 Removed primary key tag from Act field (should be marked indexed) 2020-12-31 01:47:21 -08:00
Collin Smith
ad3de24792 Improved test cases for MonPreset table 2020-12-31 01:44:47 -08:00
Collin Smith
cb31a45ed4 Created monstats schema and custom table impl and tests 2020-12-30 23:48:43 -08:00
Collin Smith
2afc050f6f Created ItemStatCost schema and custom table with tests 2020-12-27 23:07:37 -08:00
Collin Smith
ad5fb534ad Created BodyLocs schema and custom table with tests 2020-12-27 21:55:52 -08:00
Collin Smith
e511c3d87e Added trace logging to SoundsTable record init 2020-12-27 21:55:17 -08:00
Collin Smith
4ac194b335 Added preload for sounds table records test 2020-12-27 21:54:33 -08:00
Collin Smith
2ea6398d0c Created Sounds schema with custom SoundsTable and tests 2020-12-27 20:18:17 -08:00
Collin Smith
257a8d3b40 Committing ParserMapper and RunesMapper implementation
Deprecated, but a good start if ever moved forward with
2020-12-27 20:03:37 -08:00