Commit Graph

1431 Commits

Author SHA1 Message Date
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
Collin Smith
ff3d807de7 Created BinGenerator to generate bin files from tsv txt files via their Excel schemas 2020-12-12 17:40:54 -08:00
Collin Smith
05b37637bb Fully implemented MonStats entry schema
Fully implemented MonStats entry schema
Replaced serializer definition with generated one
2020-12-12 17:40:02 -08:00
Collin Smith
eec17d0a01 Effectively renamed #writeString methods to #writeChars (see #136) 2020-12-12 17:38:49 -08:00
Collin Smith
7b8ea9511b Removed unused annotations 2020-12-12 16:47:59 -08:00
Collin Smith
e8a8de6888 Implemented putting excel entries 2020-12-12 16:47:45 -08:00
Collin Smith
db1b60fb7d Significantly improved error detection and handling for excel column parsing
Significantly improved error detection and handling for excel column parsing
Added support for default values if a column text length is 0
All exceptions are propagated and logged and handled by parser
2020-12-12 14:53:39 -08:00
Collin Smith
d0f06c6c06 Completed majority of Excel class implementation 2020-12-12 04:27:55 -08:00
Collin Smith
9f7cd6d903 Removed deprecation from Excel.Entry.Column#columnIndex 2020-12-12 01:35:57 -08:00
Collin Smith
29d89f157a Improved logging granularity in tests 2020-12-12 01:35:16 -08:00
Collin Smith
2d149e18c9 Added termination to line cacheLine loop 2020-12-12 01:34:33 -08:00
Collin Smith
f3a1cbd4be Created :core:createVersionSource gradle task
Gradle build info is now output to a generated source RiiabloVersion.java
Renamed generatedSourceDirs to vcsGeneratedSourceDir for version controlled generated sources
Created generatedSourceDir for build generated sources
Integrated RiiabloVersion into Client and MenuScreen
Changed Client.properties diablo->riiablo=Riiablo (e.g., Riiablo)
Changed Client.properties version->V {0} (e.g., V 0.0.3-SNAPSHOT)
2020-12-11 20:18:55 -08:00
Collin Smith
fd795892b0 Created ByteInput#readString() to handle dynamic length strings 2020-12-11 18:27:13 -08:00
Collin Smith
c29d7bfd39 Created Entry annotation to tag the excel row schema 2020-12-11 18:26:32 -08:00
Collin Smith
9b95eb1ac8 Added code generation API for generating excel serializers 2020-12-11 17:54:46 -08:00
Collin Smith
32f9db81c2 Moved some inner classes into discrete class files 2020-12-10 02:55:29 -08:00
Collin Smith
ab6cc744cb Created Excel#excelClass and Excel#entryClass methods 2020-12-08 23:35:47 -08:00
Collin Smith
96c58afe44 Added Excel.Entry.PrimaryKey 2020-12-08 23:34:42 -08:00
Collin Smith
33abf641c9 Renamed TxtParser methods to current usage patterns 2020-12-08 23:33:27 -08:00
Collin Smith
4800f0412e Resolved log message dynamic dispatch issue via casting 2020-12-08 23:32:02 -08:00
Collin Smith
d49a81c395 Second iteration of revision of excel-refactor 2020-12-08 20:30:09 -08:00
Collin Smith
06adbf1dcf Removed unnecessary checks 2020-12-07 18:58:03 -08:00
Collin Smith
f00dd70023 Suppressed unused warning 2020-12-07 18:53:17 -08:00
Collin Smith
e95411388c Updated Excel class logging 2020-12-07 11:31:52 -08:00
Collin Smith
ea2ff28d61 Implemented MDC into Excel class logging 2020-12-07 11:26:25 -08:00
Collin Smith
99cb75341d Created unit test for TxtParser 2020-12-07 10:56:41 -08:00
Collin Smith
9171fe8f74 Created BinGenerator 2020-12-07 10:33:07 -08:00
Collin Smith
f60040a5d2 Refactored com.riiablo.excel
Replaced logging with com.riiablo.logger
Renamed fields to more accurately reflect use
Propagate exceptions to caller to help with exception handling
2020-12-07 02:16:37 -08:00
Collin Smith
d17f9048ce Enabled weave closure and left disabled until #134 is resolved 2020-12-05 02:20:15 -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
2c73bff490 Added code to append unchecked and deprecation checks to Java compiler 2020-12-04 19:51:37 -08:00
Collin Smith
9ea79c90e8 Removes Guava dependency 2020-12-04 19:36:56 -08:00
Collin Smith
073f73e1a3 Resolves #130 2020-12-04 19:36:34 -08:00
Collin Smith
9ba8608af4 Resolved compile unchecked cast warnings in ClassUtils 2020-12-03 01:42:49 -08:00
Collin Smith
659e812e83 Resolved or documented deprecation warnings for suppression 2020-12-02 11:57:06 -08:00
Collin Smith
0410eb2505 Resolved libGDX update deprecation 2020-12-02 11:52:24 -08:00
Collin Smith
42f077d680 Improved organization of :core build.gradle 2020-12-02 00:29:08 -08:00
Collin Smith
cb4c7596bf Moved flatbuffers src to correct directory 2020-12-01 21:36:52 -08:00
Collin Smith
0e2313c44a Disable :core:createFlatBuffers task at configuration level if building on non-Windows
Disable :core:createFlatBuffers task at configuration level if building on non-Windows
Added warning messages stating that it's been disabled (should add check)
2020-12-01 18:21:49 -08:00
Collin Smith
85780c6ba8 Created :core:generateSources gradle task
:core:generateSources calls :core:createFlatBuffers
:core:createFlatBuffers will only error out if not up-to-date on non-windows
:core:compileJava depends on :core:generateSources
2020-12-01 17:43:02 -08:00
Collin Smith
f81198781d Moved flatbuffers schemas to src/main/flatbuffers source 2020-12-01 17:07:10 -08:00
Collin Smith
85731f8fa4 Supressed some deprecation warnings 2020-12-01 13:11:06 -08:00
Collin Smith
080ac483ed Updated flatbuffers version to 1.12.0 (see #132) 2020-12-01 13:06:45 -08:00
Collin Smith
6e44b4d745 Refined flatbuffers dependency implementation (see #132)
Included flatc.exe within repository (v1.11.0 binary)
Added check within :core:createFlatBuffers task for Windows OS family
Added flatbuffersVersion variable within gradle.properties to 1.11.0
Changed many fields to variables and implemented flatbuffers closure
2020-12-01 10:02:07 -08:00
Collin Smith
fb089185c1 Fixed code style 2020-12-01 09:55:49 -08:00
Collin Smith
61cb66514b Removed argument from SerializerGenerator#generateSerializers 2020-11-30 11:37:28 -08:00
Collin Smith
9122c29f03 Removed explicit default constructor declaration 2020-11-30 11:21:07 -08:00
Collin Smith
51ce483944 Merge branch 'master' of https://github.com/collinsmith/riiablo into excel-refactor 2020-11-30 11:14:34 -08:00
Collin Smith
468ecf7201 Updated org.apache.commons:commons-lang3 from 3.6 -> 3.9
3.10+ were causing a program hang (see #131)
2020-11-30 10:56:58 -08:00
Collin Smith
2d5e377aca Created excel-refactor containing excel 2.0 2020-11-29 17:58:51 -08:00
Collin Smith
af2a5737fa Simplified :core generated sources assignment 2020-11-29 17:52:36 -08:00
Collin Smith
51d71252cb Added boolean support
Created ByteInput#readBoolean(boolean)
Created ByteOutput#writeBoolean(boolean)
2020-11-29 00:56:41 -08:00
Collin Smith
4629af164e Amending previous commit with one additional refactor 2020-11-26 14:26:57 -08:00
Collin Smith
f5a60935a8 Replaced the majority of guava usages with apache commons equivalents 2020-11-26 14:25:10 -08:00
Collin Smith
aec0a8c07f Created delegate InstallationFinder impl for MacInstallationFinder
Delegate references LinuxInstallationFinder
2020-11-26 02:40:42 -08:00
Collin Smith
7b7874278e Ignored test case failure (see #129) 2020-11-22 18:41:46 -08:00
Collin Smith
6be4e48a1b Changed test case to pass 2020-11-22 18:20:00 -08:00
Collin Smith
8a37179c70 Disabled benchmarking in two test cases 2020-11-22 18:14:23 -08:00
Collin Smith
49757eb85f Level#valueOf(String,Level) now returns default value when name is null 2020-11-22 15:24:22 -08:00
Collin Smith
38fb0c13e8 Disabled DC6 logging 2020-11-22 13:59:17 -08:00
Collin Smith
a54fec91d8 Added support for LinuxInstallationFinder
Added support for LinuxInstallationFinder
Created stub for InstallationFinder for unknown platforms
2020-11-21 20:53:20 -08:00
Collin Smith
7c05c7ef63 Upgraded android support-annotations to 28.0.0 2020-11-21 17:16:06 -08:00
Collin Smith
ec39040b28 Code cleanup 2020-11-21 04:30:49 -08:00
Collin Smith
c888c9beb2 Integrated InstallationFinder into :desktop 2020-11-21 04:15:27 -08:00
Collin Smith
e660f2bd78 Created InstallationFinder to search for D2 installations and saved games 2020-11-21 03:54:59 -08:00
Collin Smith
859d0888bf Moved gradle version variables to gradle.properties
Moved gradle version variables to gradle.properties
Replaced some inline box2d light versions variables
Added commented config for artemis:weave task
2020-11-20 15:44:52 -08:00
Collin Smith
cc8f9c82a8 Added assets as resources root for :core 2020-11-18 10:51:13 -08:00
Collin Smith
7dbf087df3 Fixed generated sources path 2020-11-17 13:22:42 -08:00
Collin Smith
9c18e18a9c Reorganized gradle scripts into subproject directories
Reorganized gradle scripts into subproject directories
Reformatted gradle scripts to be more consistent
Created :server subproject group
Deleted :mpqlib subproject due to inactivity
Hopefully this is a step in the right direction
2020-11-16 23:14:33 -08:00
Collin Smith
269f283c9b Changed to standard gradle src directory structure
Changed to standard gradle src directory structure
Changed some working directories to work properly with gradle tasks
Changed MPQViewer asset path to empty string
2020-11-15 23:49:18 -08:00
Collin Smith
3e9b01bf02 Created saves command to output saves directory 2020-11-04 14:27:03 -08:00
Collin Smith
c20978bdca Created home command to output D2 home directory argument 2020-11-04 14:22:41 -08:00
Collin Smith
41035956d3 Fixes #122 2020-11-04 14:06:55 -08:00
Collin Smith
c94cef1890 Created stub for primary attack 2020-11-02 18:09:17 -08:00
Collin Smith
6924af03d6 Created stub for Actioneer#cast with specified sequence and mode 2020-11-02 18:08:11 -08:00
Collin Smith
9a1a66c778 Adjusted API slightly to log unexpected mode translations 2020-11-02 18:05:18 -08:00
Collin Smith
60247a6699 Added function to translate mode based on source entity type 2020-11-02 18:00:31 -08:00
Collin Smith
2820ba7566 Replaced Gdx.app logging with Riiablo logger 2020-11-02 17:42:12 -08:00
Collin Smith
d2ff1ec515 Replaced comment note with impl classes
Replaced comment note with impl classes
Removed assets hash map
Created AssetManager#update()
2020-11-01 12:10:56 -08:00
Collin Smith
1d5cfc3cea Added comment to help with direction of AssetManager change 2020-10-26 15:18:51 -07:00
Collin Smith
b8a428a5fd Created AsyncTask and SyncTask to manage tasks 2020-10-25 16:05:31 -07:00
Collin Smith
6f22e1353c Created MutableString wrapper for AsciiString
MutableString to be eventually replaced with UTF8 compliant AsciiString
Changed paths API to use MutableString instead of AsciiString
ResolveNotFound takes CharSequence as an argument instead of AsciiString
2020-10-24 23:53:07 -07:00
Collin Smith
ae083d176c Added support for PriorityContainer#unwrap(Iterable<PriorityContainer>) 2020-10-13 21:39:52 -07:00
collinsmith
9c389bbc36 Created PriorityContainer for resolver priorities 2020-10-13 12:51:46 -07:00
Collin Smith
43cccecec3 Iterative cleanup of com.riiablo.assets 2020-10-13 08:50:49 -07:00
Collin Smith
d136e3d599 Replaced Pathfinder dependency with Actioneer#moveTo 2020-10-09 12:34:32 -07:00