Commit Graph

80 Commits

Author SHA1 Message Date
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
97a3265e05 Changed D2SReader into a singleton 2020-08-16 01:04:52 -07:00
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
01575d1c04 Fixed typo 2020-07-16 19:26:19 -07:00
b8fa368221 Committing ItemGeneratorTool used to generate items for testing 2020-07-13 17:54:33 -07:00
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
518ce4fb2e Fixes #87 2020-07-10 22:18:45 -07:00
81377986b9 Appended validate method call to output the non-equal fields 2020-07-10 19:40:13 -07:00
ed0db89720 Added support for debugging tile materials within renderer 2020-07-04 17:08:48 -07:00
dc32356f9d Fixed modal background size and placement 2020-07-04 16:20:46 -07:00
57afaee541 Fixed a crash with MapViewer tool due to Map not have dependencies injected 2020-07-02 18:48:52 -07:00
24eb6f1c9b Fixed bug and missing dependency preventing MapViewer from running correctly 2020-06-23 18:41:45 -07:00
b3f2a223c3 Fixed MapViewer entity generation 2019-12-20 14:22:11 -08:00
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
d6c76d2add Fixed an error in D2 file type 2019-12-06 23:47:57 -08:00
b9edd7951b Fixed field names 2019-12-04 15:44:40 -08:00
99256902e9 Added D2 finder to search for cofs in d2 files or dump d2 file entries 2019-12-03 21:30:06 -08:00
e4bfcd63c4 Added control display for disabling gfx 2019-12-03 13:52:28 -08:00
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
de5a9e3bd9 Added an additional debugging mode for RenderSystem to assist with debugging DS1 cells 2019-12-03 04:25:44 -08:00
c5bd188f5d Added support for rendering additional acts 2019-12-02 19:29:47 -08:00
10ad5a354a Created COF finder tool 2019-12-02 16:59:01 -08:00
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
d09828e315 Removed MapLoader (see #13) 2019-11-28 15:32:33 -08:00
0d1b7819df Rewrote Map and redesigned map/game screen loading strategy to better comply with #13 2019-11-28 15:29:53 -08:00
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
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
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
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
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
7603adb26c Renamed MapViewerTool to MapViewer -- replacing previous MapViewer 2019-11-23 18:04:11 -08:00
a06bd449dc Deleted MapViewer 2019-11-23 18:03:21 -08:00
49d552d7b8 Added MapViewerTool which uses ECS engine and deprecates MapViewer 2019-11-23 18:01:06 -08:00
ab9fe45d22 Replaced pixel coords x,y with cursor world coords x,y 2019-11-23 03:40:21 -08:00
99914c2c23 Rewrote path finding related classes to be more tailored to my needs (see #63) 2019-11-22 22:20:53 -08:00
33ce6bf2c7 Added DirectionTool used to test com.riiablo.engine.Direction 2019-11-09 15:09:59 -08:00
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
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
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
354419dafd Fixed iso position tracking by using Tile50 2019-10-17 16:59:11 -07:00
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
4f5852b35a Removed 'near' field 2019-10-17 16:20:48 -07:00
88ae4c496b Removed 'near' field and changed 'pos' to Tile50 2019-09-30 03:46:43 -07:00
d2b48b8119 Implemented slightly improved parser for TXTs (see #26) 2019-09-29 03:47:15 -07:00
28c6bd95dc Updated BinGenerationTool with support for validating the serialized bins against their source excels 2019-09-28 03:50:41 -07:00
761c6f8447 Implemented support for binary excel loading (see #26) 2019-09-28 03:35:07 -07:00
814925d76c Added annotation field to allow bin generator to ignore certain columns 2019-09-23 17:42:40 -07:00
6bb974e711 Added support for binary excel loading (see #26)
Refactored Excel parse factory methods to load methods
Added tentative serialization code to MonStats
2019-09-23 03:51:55 -07:00
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
49122a045d Scrolling now adjusts MapRenderer zoom 2019-05-14 19:05:35 -07:00