Commit Graph

1082 Commits

Author SHA1 Message Date
a0a46dc481 Changed DCC outsizeCoded from int to long to ensure it can hold a u32 2020-08-03 16:20:32 -07:00
af480bdfc3 Created readRaw(int) and added support for correctly reading signed 64 bits 2020-08-03 16:12:52 -07:00
d1ee547530 Created BitStream#readU63(int) 2020-08-03 16:11:59 -07:00
55d1f18463 Renamed readUnsigned8OrLess to readU8 2020-08-03 16:06:05 -07:00
8c9d51ee03 Renamed readUnsigned31OrLess to readU31 2020-08-03 16:04:46 -07:00
10f8945ddb Renamed readUnsigned15OrLess to readU15 2020-08-03 16:03:45 -07:00
70200c5521 Renamed readUnsigned7OrLess to readU7 2020-08-03 16:02:56 -07:00
a8e2402a19 Disabled skipping of item byte stream signature
ItemSerializer will process and validate item signature
Implemented far more robust logging to ItemSerializer
2020-08-02 11:11:59 -07:00
e8f359ffa2 Changed return type of readSigned from sign extended int to long 2020-07-28 04:59:49 -07:00
5f2c2ca999 Removed read*BitsOrLess and replaced with casted readUnsigned 2020-07-28 04:54:28 -07:00
940addbca1 Improved assertion messages 2020-07-28 04:46:34 -07:00
fa2594048c Function ordering 2020-07-28 04:38:36 -07:00
148a8e108e Validate bit args, formatting and removed read0Bits function 2020-07-28 04:36:58 -07:00
25b428cb04 Rolled CTX functions into Log 2020-07-26 02:12:51 -07:00
8067e6fec3 Added support for full mode output for MDC layout 2020-07-25 18:31:06 -07:00
d18885b17c Marked writeEntry with OrderedMap as deprecated 2020-07-25 18:22:50 -07:00
4eed3a819e Deprecated OrderedMap impl -- only a decorator for ThreadContext map methods 2020-07-25 18:18:44 -07:00
c56431b57f Replaced CTX impl with ThreadContext impl 2020-07-25 18:16:08 -07:00
29ea674060 OrderedMap impl of ThreadContextMap -- deprecated but may be of use later 2020-07-25 17:35:36 -07:00
f52d47c235 Added Log4J2 as a dependency (see #88)
Created log package with wrappers on top of Log4J
2020-07-25 14:35:38 -07:00
1d78fb5844 Fixed formatting 2020-07-24 02:24:23 -07:00
e90ed609aa Fixed formatting 2020-07-24 02:23:00 -07:00
fcd49c337b Fixed format 2020-07-22 01:31:11 -07:00
a171783286 Improved support for printList
Adding ability to print all values in-line
If padEnd doesn't pad any chars, will append a single space char
2020-07-20 14:26:10 -07:00
7bb5110f82 Added suggester for connect command to auto write localhost ip address 2020-07-20 04:50:14 -07:00
4ca93620b5 Partial decoupling of Item from UI code
Moved Actor-related fields to ItemWrapper
ItemWrapper unfortunately remains a field within Item (see #91)
Renamed INSTORE and created Item#flags2 field to track riiablo item flags
2020-07-19 05:52:05 -07:00
ebac0a1a6c Fixed network crash -- todo stub out vendor generation when networked #89 2020-07-19 05:37:37 -07:00
f0a1cdfdb5 Moved helper functions from ItemUtils to Item 2020-07-19 01:38:08 -07:00
b6c21abbf7 Fixed deserialization bug and appended additional fields to Item#toString 2020-07-18 02:39:52 -07:00
47d96abde4 Implemented dispose 2020-07-18 02:08:34 -07:00
6a23fde852 Changed qualification of RareQualityData 2020-07-18 02:06:16 -07:00
0306c60850 Created ItemWrapper class which is an Actor that wraps an Item
Added static util methods to ItemUtils
This is experimental to play with simplifying Item class
2020-07-18 02:05:48 -07:00
90971e57b8 Extracted RunewordData and RareQualityData to upper level 2020-07-18 02:03:23 -07:00
2db28a4c4f Added ethereal alpha const 2020-07-18 02:02:25 -07:00
c066cb5627 Added convenience methods for checking identified and ethereal flags 2020-07-18 02:01:59 -07:00
36a7ab73d1 Experimentation with decoupled Item class hierarchy 2020-07-17 18:06:38 -07:00
b62d397c2e Fixed bug where item data initialization would read data outside bounds 2020-07-16 19:31:08 -07:00
623859681b Removed QUEST flag declaration -- appears incorrect 2020-07-14 15:40:54 -07:00
0bd809ef2d Changed visibility of flag consts to public 2020-07-14 13:48:18 -07:00
30d574a537 Blocked UI events for items that have INSTORE flag set 2020-07-13 19:06:45 -07:00
417347e4e9 VendorGenerator sets INSTORE flag and item display will show the item's 'cost' in details 2020-07-13 18:05:21 -07:00
cfcf709ec3 Filled out some basic item generation
Filled out some basic item generation
Disabled until item generation progresses more
2020-07-13 17:53:48 -07:00
a57ce99e5e Added gemsockets column to ItemEntry and improved MaxSock support in ItemTypes 2020-07-13 15:56:23 -07:00
61ec4e821a Added basic check to prevent invalid magic items from generation 2020-07-12 18:30:18 -07:00
b9f0b25765 Disabled debug mode for VendorPanel 2020-07-12 18:27:45 -07:00
e161df36b8 Added rows for other acts 2020-07-12 18:26:54 -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
bda2b7152b VendorGrid#drain clears children 2020-07-12 16:56:29 -07:00
fe863584a4 Fixed layout bugs with two items occupying same bounds and not fitting within grid area 2020-07-12 16:55:29 -07:00
be0d08698b Empty vendor tabs will be hidden 2020-07-12 16:17:03 -07:00