Commit Graph

1416 Commits

Author SHA1 Message Date
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
Collin Smith
dedc07799e Implemented Runes schema with custom RunesTable indexer and tests 2020-12-27 20:02:23 -08:00
Collin Smith
cc807f60fa Implemented Table#preload
Implemented Table#preload
Removed Table#initialize() call from within Table#initialize(ParserInput)
2020-12-27 20:01:47 -08:00
Collin Smith
138c62c225 Created definitions for numRecords and numFields within ParserInput 2020-12-27 19:59:58 -08:00
Collin Smith
7ad9fd937c Additional test cases -- added assertions 2020-12-20 01:18:38 -08:00
Collin Smith
8aafd22da5 Committing additional schemas 2020-12-20 00:37:48 -08:00
Collin Smith
7e7dfa0213 Implemented foreign key into :core test case
Fixed issue where parser was generating code for foreign keys
Added additional test case to output tsv field names and ids map
Added MonStats2 foreign key to MonStats schema
Generated TableManifest fields are now statically instanced
2020-12-20 00:35:16 -08:00
Collin Smith
2996e164f2 Added additional documentation to Table and refactored parser init function call 2020-12-18 00:55:58 -08:00
Collin Smith
4139ecbd38 Fixed table parser initialization 2020-12-18 00:02:54 -08:00
Collin Smith
adbd5f78c4 Commented out javadoc triggering a deprecation warning 2020-12-17 23:54:09 -08:00
Collin Smith
831fd15592 Implemented basic loading logic 2020-12-17 23:38:26 -08:00
Collin Smith
c736412b4b Created Tables and TsvParser impl in :core
Created Tables and TsvParser impl in :core
Added lazy loading of table records
2020-12-17 22:33:32 -08:00
Collin Smith
9d62df5850 Transitioned to new SerializerGenerator tools 2020-12-12 21:33:03 -08:00
Collin Smith
d8570e136d Moved com.riiablo.excel2 to com.riiablo.excel 2020-12-12 19:45:23 -08:00
Collin Smith
94475701d9 Merge branch 'master' of https://github.com/collinsmith/riiablo into excel-refactor 2020-12-12 17:55:08 -08:00
Collin Smith
107b408f1e Force :core:createVersionSource to always run regardless of up-to-date 2020-12-12 17:44:45 -08:00