Commit Graph

83 Commits

Author SHA1 Message Date
Collin Smith
5cb04016cc Changed attributes log level to debug 2020-09-06 05:09:14 -07:00
Collin Smith
85303c28cc Replaced Attributes in com.riiablo.item with com.riiablo.attributes for D2SReader 2020-09-06 01:28:31 -07:00
Collin Smith
685349fe01 Replaced Log4j2 with com.riiablo.logger (see #105)
Log4j2 removed as a dependency
2020-08-27 23:21:24 -07:00
Collin Smith
56e6eb4802 Replaced com.riiablo.save.D2S with com.riiablo.save.d2s package contents
Removed dangling byte[] data refs within CharData for serialization
Removed dangling FileHandle file refs within CharData and D2S
Removed some methods within D2S which should not be required anymore
Reduced visibility of D2SReader96#readD2S -- should be package-private
Created D2SWriter with D2SWriterStub to temp hold D2S data refs until serialization is finished
D2SWriter will eventually contain code to serialize CharData to byte[]
Changed D2S.MercData int xp to long experience (is really a uint32)
Created some public accessor fields within D2S to grab basic version agnostic info
Created some deprecated public accessor fields within D2S until CharacterPreview is fixed
2020-08-19 20:43:14 -07:00
Collin Smith
97a3265e05 Changed D2SReader into a singleton 2020-08-16 01:04:52 -07:00
Collin Smith
44a704a4bc Committing experimental D2S Reader and D2S
Will deprecate and replace some com.riiablo.save classes eventually
D2S acts only as a tuple
D2SReader has significantly more robust debugging tools than com.riiablo.save.D2S
Added Riiablo#getDifficultyString(int) to get the debug difficulty string
Added D2SReaderTool used to debug D2S files and diagnose format issues
2020-08-15 20:52:10 -07:00
Collin Smith
01575d1c04 Fixed typo 2020-07-16 19:26:19 -07:00
Collin Smith
b8fa368221 Committing ItemGeneratorTool used to generate items for testing 2020-07-13 17:54:33 -07:00
Collin Smith
2e774fd953 Added support for distinct vendor inventories
Added support for distinct vendor inventories
No inventory component yet -- generated each time vendor loaded
Moved VendorPanel inventory management to Npc for time being (from UI to a system)
Modified VendorPanel#config signature to include inventory item list
Created VendorGenerator#generate(String) to generate an inventory for a specified vendor
Added ItemGenerator and VendorGenerator systems to various engines
2020-07-12 17:11:05 -07:00
Collin Smith
518ce4fb2e Fixes #87 2020-07-10 22:18:45 -07:00
Collin Smith
81377986b9 Appended validate method call to output the non-equal fields 2020-07-10 19:40:13 -07:00
Collin Smith
ed0db89720 Added support for debugging tile materials within renderer 2020-07-04 17:08:48 -07:00
Collin Smith
dc32356f9d Fixed modal background size and placement 2020-07-04 16:20:46 -07:00
Collin Smith
57afaee541 Fixed a crash with MapViewer tool due to Map not have dependencies injected 2020-07-02 18:48:52 -07:00
Collin Smith
24eb6f1c9b Fixed bug and missing dependency preventing MapViewer from running correctly 2020-06-23 18:41:45 -07:00
Collin Smith
b3f2a223c3 Fixed MapViewer entity generation 2019-12-20 14:22:11 -08:00
Collin Smith
e4df005987 Rewrote engine and replaced Ashley with Artemis
Rewrote engine and replaced Ashley with Artemis
Added basic networking support for D2GS (handshake and sending initial player state to clients)
2019-12-11 02:07:55 -08:00
Collin Smith
d6c76d2add Fixed an error in D2 file type 2019-12-06 23:47:57 -08:00
Collin Smith
b9edd7951b Fixed field names 2019-12-04 15:44:40 -08:00
Collin Smith
99256902e9 Added D2 finder to search for cofs in d2 files or dump d2 file entries 2019-12-03 21:30:06 -08:00
Collin Smith
e4bfcd63c4 Added control display for disabling gfx 2019-12-03 13:52:28 -08:00
Collin Smith
0efa88c141 Added support for hiding debug objects
Added support for hiding debug objects
Map cell values now have main and sub indexes unset
Added additional parameter that seems to block walk better on non-map floor tiles
2019-12-03 13:50:43 -08:00
Collin Smith
de5a9e3bd9 Added an additional debugging mode for RenderSystem to assist with debugging DS1 cells 2019-12-03 04:25:44 -08:00
Collin Smith
c5bd188f5d Added support for rendering additional acts 2019-12-02 19:29:47 -08:00
Collin Smith
10ad5a354a Created COF finder tool 2019-12-02 16:59:01 -08:00
Collin Smith
a072625dba Moved Map into constructors and removed various setMap(Map) methods
Fixed issue where calling Map#generate() would throw a nested iterator error
2019-11-28 16:28:27 -08:00
Collin Smith
d09828e315 Removed MapLoader (see #13) 2019-11-28 15:32:33 -08:00
Collin Smith
0d1b7819df Rewrote Map and redesigned map/game screen loading strategy to better comply with #13 2019-11-28 15:29:53 -08:00
Collin Smith
58acc6d6bc Replaced GridPoint2 with Vector2
Replaced GridPoint2 with Vector2
Reduced buffer size for DS1 to 8192B
Added extra debugging info for DS1 decode cases with extra bytes
2019-11-27 06:22:04 -08:00
Collin Smith
29941e106f Removed object oriented engine code-base
Removed object oriented engine code-base and deprecated remaining classes
Removed some older test classes which implemented the old engine
Moved game screen panel classes to screen.panel package
Changed game screen panel classes to use Riiablo.game reference
2019-11-26 16:23:22 -08:00
Collin Smith
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
Collin Smith
8f147094a7 Refined TouchMovementSystem to work more smoothly near walls
Refined TouchMovementSystem to work more smoothly near walls by turning off pathing and using raycasting and box2d
Replaced gdx-ai raycaster with my own implementation that supports passing size and flags
Exposed MapGraph#getOrCreate(Vector2) -- may move this class and return these to package access later
2019-11-24 02:48:41 -08:00
Collin Smith
dcf7b28402 Cleaned up UI a bit -- added function hotkeys bar to top
Fixed issue where right click wouldn't clear previous paths
2019-11-23 18:21:10 -08:00
Collin Smith
7603adb26c Renamed MapViewerTool to MapViewer -- replacing previous MapViewer 2019-11-23 18:04:11 -08:00
Collin Smith
a06bd449dc Deleted MapViewer 2019-11-23 18:03:21 -08:00
Collin Smith
49d552d7b8 Added MapViewerTool which uses ECS engine and deprecates MapViewer 2019-11-23 18:01:06 -08:00
Collin Smith
ab9fe45d22 Replaced pixel coords x,y with cursor world coords x,y 2019-11-23 03:40:21 -08:00
Collin Smith
99914c2c23 Rewrote path finding related classes to be more tailored to my needs (see #63) 2019-11-22 22:20:53 -08:00
Collin Smith
33ce6bf2c7 Added DirectionTool used to test com.riiablo.engine.Direction 2019-11-09 15:09:59 -08:00
Collin Smith
0a9b4c5b8e Minor bugfixes
Removed redundant method call from drawDebugSpecial
Fixed issue where resizing MapRenderer was not forcing update
2019-10-27 23:30:02 -07:00
Collin Smith
0c4c4a5fb1 Fixed issue with camera toScreen coordinates applying pixel offset at incorrect time
Fixed issue with camera toScreen coordinates applying pixel offset at incorrect time
Added debug render of iso boundary rect
2019-10-24 00:32:43 -07:00
Collin Smith
d6105d9f9a Improved isometric camera API
Documented isometric camera API
Implemented pix and tile offsets instead of just offset
Made pix and tile offsets private -- pix offset set via offset and tile offset set automatically
toTile50 may be deprecated in the future if I cannot find a use for it (tile offset may have superseded it)
2019-10-19 15:04:41 -07:00
Collin Smith
354419dafd Fixed iso position tracking by using Tile50 2019-10-17 16:59:11 -07:00
Collin Smith
04ebeb1a61 Added wrld field to track cursor tile position
Added wrld field to track cursor tile position
Added 0.5f offset to world tile position to account for camera offset
2019-10-17 16:23:24 -07:00
Collin Smith
4f5852b35a Removed 'near' field 2019-10-17 16:20:48 -07:00
Collin Smith
88ae4c496b Removed 'near' field and changed 'pos' to Tile50 2019-09-30 03:46:43 -07:00
Collin Smith
d2b48b8119 Implemented slightly improved parser for TXTs (see #26) 2019-09-29 03:47:15 -07:00
Collin Smith
28c6bd95dc Updated BinGenerationTool with support for validating the serialized bins against their source excels 2019-09-28 03:50:41 -07:00
Collin Smith
761c6f8447 Implemented support for binary excel loading (see #26) 2019-09-28 03:35:07 -07:00
Collin Smith
814925d76c Added annotation field to allow bin generator to ignore certain columns 2019-09-23 17:42:40 -07:00