Collin Smith
5f2c2ca999
Removed read*BitsOrLess and replaced with casted readUnsigned
2020-07-28 04:54:28 -07:00
Collin Smith
940addbca1
Improved assertion messages
2020-07-28 04:46:34 -07:00
Collin Smith
fa2594048c
Function ordering
2020-07-28 04:38:36 -07:00
Collin Smith
148a8e108e
Validate bit args, formatting and removed read0Bits function
2020-07-28 04:36:58 -07:00
Collin Smith
25b428cb04
Rolled CTX functions into Log
2020-07-26 02:12:51 -07:00
Collin Smith
8067e6fec3
Added support for full mode output for MDC layout
2020-07-25 18:31:06 -07:00
Collin Smith
d18885b17c
Marked writeEntry with OrderedMap as deprecated
2020-07-25 18:22:50 -07:00
Collin Smith
4eed3a819e
Deprecated OrderedMap impl -- only a decorator for ThreadContext map methods
2020-07-25 18:18:44 -07:00
Collin Smith
c56431b57f
Replaced CTX impl with ThreadContext impl
2020-07-25 18:16:08 -07:00
Collin Smith
29ea674060
OrderedMap impl of ThreadContextMap -- deprecated but may be of use later
2020-07-25 17:35:36 -07:00
Collin Smith
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
Collin Smith
1d78fb5844
Fixed formatting
2020-07-24 02:24:23 -07:00
Collin Smith
e90ed609aa
Fixed formatting
2020-07-24 02:23:00 -07:00
Collin Smith
fcd49c337b
Fixed format
2020-07-22 01:31:11 -07:00
Collin Smith
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
Collin Smith
7bb5110f82
Added suggester for connect
command to auto write localhost ip address
2020-07-20 04:50:14 -07:00
Collin Smith
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
Collin Smith
ebac0a1a6c
Fixed network crash -- todo stub out vendor generation when networked #89
2020-07-19 05:37:37 -07:00
Collin Smith
f0a1cdfdb5
Moved helper functions from ItemUtils to Item
2020-07-19 01:38:08 -07:00
Collin Smith
b6c21abbf7
Fixed deserialization bug and appended additional fields to Item#toString
2020-07-18 02:39:52 -07:00
Collin Smith
47d96abde4
Implemented dispose
2020-07-18 02:08:34 -07:00
Collin Smith
6a23fde852
Changed qualification of RareQualityData
2020-07-18 02:06:16 -07:00
Collin Smith
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
Collin Smith
90971e57b8
Extracted RunewordData and RareQualityData to upper level
2020-07-18 02:03:23 -07:00
Collin Smith
2db28a4c4f
Added ethereal alpha const
2020-07-18 02:02:25 -07:00
Collin Smith
c066cb5627
Added convenience methods for checking identified and ethereal flags
2020-07-18 02:01:59 -07:00
Collin Smith
36a7ab73d1
Experimentation with decoupled Item class hierarchy
2020-07-17 18:06:38 -07:00
Collin Smith
b62d397c2e
Fixed bug where item data initialization would read data outside bounds
2020-07-16 19:31:08 -07:00
Collin Smith
01575d1c04
Fixed typo
2020-07-16 19:26:19 -07:00
Collin Smith
623859681b
Removed QUEST flag declaration -- appears incorrect
2020-07-14 15:40:54 -07:00
Collin Smith
0bd809ef2d
Changed visibility of flag consts to public
2020-07-14 13:48:18 -07:00
Collin Smith
30d574a537
Blocked UI events for items that have INSTORE flag set
2020-07-13 19:06:45 -07:00
Collin Smith
417347e4e9
VendorGenerator sets INSTORE flag and item display will show the item's 'cost' in details
2020-07-13 18:05:21 -07:00
Collin Smith
b8fa368221
Committing ItemGeneratorTool used to generate items for testing
2020-07-13 17:54:33 -07:00
Collin Smith
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
Collin Smith
a57ce99e5e
Added gemsockets column to ItemEntry and improved MaxSock support in ItemTypes
2020-07-13 15:56:23 -07:00
Collin Smith
61ec4e821a
Added basic check to prevent invalid magic items from generation
2020-07-12 18:30:18 -07:00
Collin Smith
b9f0b25765
Disabled debug mode for VendorPanel
2020-07-12 18:27:45 -07:00
Collin Smith
e161df36b8
Added rows for other acts
2020-07-12 18:26:54 -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
bda2b7152b
VendorGrid#drain clears children
2020-07-12 16:56:29 -07:00
Collin Smith
fe863584a4
Fixed layout bugs with two items occupying same bounds and not fitting within grid area
2020-07-12 16:55:29 -07:00
Collin Smith
be0d08698b
Empty vendor tabs will be hidden
2020-07-12 16:17:03 -07:00
Collin Smith
3c7b35bc5d
Added support for generating items for vendor inventory
...
Created vendor generator which uses reflection to access item data and generate items
Added stub item generation for armor and weapons
Changed visibility of ItemGrid#addItem to protected (from public)
ItemGrid#addItem vis will revert when drain function is moved up class hierarchy
Modified signatures of VendorGrid#place* methods and function
VendorGrid#place* now returns boolean if the item can be placed
VendorGrid#place* stores available coords in input coords parameter
Added columns for base item vendor entries and noted issue with hratli
Added Excel#getEntryClass to retrieve the entry class type via reflection
VendorPanel populates tabs using "akara" columns
2020-07-12 16:11:28 -07:00
Collin Smith
ad7e1431d0
Added condition for max y placement
2020-07-12 12:29:14 -07:00
Collin Smith
c8b69868b5
Added todo comment for excel column feature
2020-07-12 00:43:41 -07:00
Collin Smith
19a7f10766
Added basic support for VendorPanel VendorGrid items
...
Added basic support for VendorPanel VendorGrid items
Added very basic ItemGenerator class to create Item instances
VendorPanel tabs now support distinct grid objects
VendorPanel will display the grid for the active tab
Added basic sort and layout function in VendorGrid to place items
VendorPanel MISC tab has sample data injected
2020-07-11 14:09:51 -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
d81740bd23
Changed toString 'type' field to 'code'
2020-07-10 16:21:41 -07:00