Commit Graph

1068 Commits

Author SHA1 Message Date
Collin Smith
ee23568f2b Added index for 'none' item type 2020-07-09 04:03:15 -07:00
Collin Smith
5dd1122c0d Added getHexString to return hex representation of set bits 2020-07-09 02:18:42 -07:00
Collin Smith
ce886d1031 Moved toString method to getOrdinalString and made toString delegate 2020-07-09 02:17:43 -07:00
Collin Smith
c39f3e47b7 Changed default numBits to 0x7F (127) 2020-07-09 02:12:27 -07:00
Collin Smith
ed17dfda20 Renamed UNK3 -> GROUND 2020-07-08 00:30:31 -07:00
Collin Smith
9bb02ec9ac Added consts for Item modes (unused) 2020-07-07 12:08:52 -07:00
Collin Smith
eb06205951 Renamed Location UNK3 -> GROUND 2020-07-07 12:08:15 -07:00
Collin Smith
2e2eae85bc Updated item flags 2020-07-07 12:07:31 -07:00
Collin Smith
31a181ec1f Added additional material types 2020-07-05 01:41:39 -07:00
Collin Smith
31c24a054e Added support for playing footstep sounds for client's player
Added Map#material(int,int) and Map#material(Vector2)
FootstepEmitter uses internal trigger frames instead of AnimationListener
Only works for Riiablo.game.player entity
This should be a good starting point for adding support for other entities
2020-07-05 01:33:44 -07:00
Collin Smith
596c430a15 Added function in Map.Zone to retrieve material type for tiles 2020-07-05 00:31:26 -07:00
Collin Smith
311c06b3ab Refactored DT1Materials to Material and aggregated functionality 2020-07-04 23:49:32 -07:00
Collin Smith
5166988466 Added parameter to addStateListener to control initialization
Param `init` tells whether or not StateListener#onLoaded is called
2020-07-04 18:45:25 -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
3970e649ab Fixed issue with resetting cursor on mobile 2020-07-04 12:02:22 -07:00
Collin Smith
59c0f5ab11 Implemented support for buy, sell and repair cursors 2020-07-04 11:20:40 -07:00
Collin Smith
eeea7adde3 Improved cursor features
Added support for hotspot offset
Added methods that support setting a cursor with a specific page in a DC
Setting cursor to predefined cursor DC automatically applies hotspot
2020-07-04 11:20:19 -07:00
Collin Smith
9bf83e683a Buy, sell and repair buttons are now managed by a button group 2020-07-04 10:21:50 -07:00
Collin Smith
eff7d8cdd8 Reset buy/sell to unchecked state when config called 2020-07-04 02:41:20 -07:00
Collin Smith
dfbd3a3e6f Changed buy/sell buttons to be mutually exclusive 2020-07-04 02:40:47 -07:00
Collin Smith
9e56ff51db Removed clicklistener for blank buttons 2020-07-04 02:39:01 -07:00
Collin Smith
0b38050429 Added support for using VendorPanel for gambling
Added support for using VendorPanel for gambling
TBD if this will require any major modifications
2020-07-04 02:32:26 -07:00
Collin Smith
0af512b3f4 Interacting with NPC menus will now show the vendor panel
Interacting with NPC menus will now show the vendor panel
Added support for configuring panel buttons using flags
Added blank buttons for each vendor action (even if unused)
2020-07-04 02:28:15 -07:00
Collin Smith
8a2be22c20 Created VendorGrid impl of ItemGrid
VendorGrid blocks all grid actions and accepts no items
Added showFill field to ItemGrid to draw background for cursor item
2020-07-04 01:46:27 -07:00
Collin Smith
92673c0da9 Created VendorPanel 2020-07-04 01:35:14 -07:00
Collin Smith
fba74adb74 Added i18n factory method to create instances with resolved string id 2020-07-04 01:18:08 -07:00
Collin Smith
475018e6f6 Fixed invgold position and size 2020-07-04 01:17:34 -07:00
Collin Smith
1977b0e93a Rolled back change on func check for dsc2line 2020-07-03 20:04:37 -07:00
Collin Smith
6e2ded3550 Improved layout of spell details text 2020-07-03 19:56:49 -07:00
Collin Smith
76643ef2a9 Changed SpellsPanel to support event-based updating
SpellsPanel is now a CharData.SkillListener and is event based
SpellsPanel no longer statically generates it's data when created
Created SpellsPanel.SpellButton impl which wraps each class-specific spell
SpellsPanel.SpellButton has an update method to be called whenever the wrapped spell changes
Label for spell button level moved to child of button and relative to button location
Added Label(LabelStyle) constructor for labels that are defaulted to empty
2020-07-03 15:40:04 -07:00
Collin Smith
ec6d1169de Added android render to readme 2020-07-03 12:17:53 -07:00
Collin Smith
eddbda6c02 Updated readme/screenshots 2020-07-03 11:53:48 -07:00
Collin Smith
8e4c4a5154 Added support for animated cursor 2020-07-03 01:34:09 -07:00
Collin Smith
a223e307b3 Implemented ping response system which includes two responses, one for rtt and one for ping (see #77) 2020-07-02 21:21:08 -07:00
Collin Smith
c796fc8212 Refactored code so that processing log message will include resolved client id 2020-07-02 20:48:05 -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
f8e0c62646 Documented reasoning for deprecation 2020-07-02 18:47:31 -07:00
Collin Smith
2216b29325 Added remote address of the channel for the ChannelHandlerContext to the exception message in InboundChannelHandler 2020-07-02 18:39:28 -07:00
Collin Smith
fc6d8b0039 Added basic toString implementation 2020-07-02 18:34:49 -07:00
Collin Smith
f708c34f42 Reeled in much of the logging to be enabled as needed 2020-07-02 18:27:38 -07:00
Collin Smith
85e5bc95b8 Created Netty TCP implementation of D2GS (see #83) 2020-07-02 16:41:29 -07:00
Collin Smith
70982601c1 Renamed server:netty com.riiablo.net to com.riiablo.onet (old net) 2020-06-30 10:32:27 -07:00
Collin Smith
b47a021679 Moved impl netty code to server:netty module 2020-06-30 10:30:34 -07:00
Collin Smith
0e5bb72045 Implemented additional support for netty d2gs server
Can connect and do most functions as a single player
Multiple connections do not work
2020-06-29 23:44:52 -07:00
Collin Smith
0b66f63251 Added autoRelease param to constructor
Some impls need to cache packets
2020-06-29 21:57:39 -07:00
Collin Smith
cd93d379bd Added note to fix issue regarding the server binding as LAN IP instead of localhost 2020-06-29 21:48:56 -07:00
Collin Smith
a205135c9e Moved cache and packet queues from D2GSPacketProcessor to Server 2020-06-29 19:25:01 -07:00
Collin Smith
0333bdd40a Backporting changes from com.riiablo.server.d2gs to com.riiablo.server.d2gs_test 2020-06-29 00:59:13 -07:00
Collin Smith
e76fe35f49 Changed PacketProcessor references to D2GSPacketProcessor
D2GSPacketProcessor can process the packet type directly
Server will process the ByteBuf into the packet type already and pass it
Moved packet cache and queues fields to D2GSPacketProcessor
Created D2GSPacket to store the flatbuffer table
2020-06-29 00:53:05 -07:00