1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-26 00:55:23 +00:00
OpenDiablo2/d2game/d2player
Ripolak 2332bd7b58
Feature/player equipment ui (#419)
* Add basic EquipmentSlot struct

* Add Load function to EquipmentSlot

* Move EquipmentSlot struct to inventory_grid.go

* Add equipmentSlots arg to ItemGrid struct

* Add basic rendering of equipment slots.

* Change rendering of equipment slots to simply use their static x and y

* Add ChangeEquippedSlot function

* Add initialization to all equipped slots types.

* Fix Y locations of equipment slots

* Move default equipment slots to a genEquipmentSlotsMap function.

* Change Item to item

* Fix coordinates

* Change usage of string to EquippedSlotType when dealing with different slots in rendering.

* Fix import error

* Remove neck example

* Add loading sprites of equipped items.

* Clean code in Inventory rendering

* Clean code in Inventory rendering

* Clean code in Inventory rendering

* Change default items that get rendered.

* Change default items that get rendered.

* Add width and height to EquipementSlot struct

* Fill in width and height to current equipment slots.

* Fix Y setting of equipment slots

* Rename variables for clean code.

* Change handling nil itemSprite to condition instead of loop return.

* Split Render function to 2 functions.

* Add TODO

* Change comment to start with capital I
2020-06-23 14:12:30 -04:00
..
equipment_slot.go Feature/player equipment ui (#419) 2020-06-23 14:12:30 -04:00
escape_menu.go Escape menu - Keyboard support and minor improvements (#374) 2020-06-21 18:44:33 -04:00
game_controls.go Handles Click and Hovers on most game control elements (#413) (#418) 2020-06-23 12:28:05 -04:00
input_callback_listener.go Added multiplayer support (#336) 2020-06-18 14:11:04 -04:00
inventory_grid_test.go Initial work to separate client and server logic (#330) 2020-06-13 18:32:09 -04:00
inventory_grid.go Feature/player equipment ui (#419) 2020-06-23 14:12:30 -04:00
inventory.go Feature/player equipment ui (#419) 2020-06-23 14:12:30 -04:00
player_state.go Added multiplayer support (#336) 2020-06-18 14:11:04 -04:00
stats.go Add panel to contain hero stats (#299) 2020-02-08 10:51:11 -05:00