1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-05 09:47:18 -05:00
Commit Graph

26 Commits

Author SHA1 Message Date
Tim Sarbin
9c323fddf5 Added sound effects. Added audio to hero menu 2018-12-08 18:02:54 -05:00
Kacper Drobny
5d404cbaa0 code refactoring, added close button to panels, adjustment of items positions (#38)
* refactoring of minipanel
* Yet another refactoring of panels
* removed unnecessary fields
* panel location is now relative to the panel position
* resource paths refactoring
2018-12-08 16:08:59 -05:00
Tim Sarbin
8e81f0cbbc More refactoring 2018-12-08 13:31:50 -05:00
Tim Sarbin
4a4dbbb0b9 Fixed more rule violations 2018-12-08 13:11:52 -05:00
Kacper Drobny
4b3df24a77 More changes in panel logic (#37)
* refactoring of minipanel

* Yet another refactoring of panels
2018-12-08 13:09:56 -03:00
Tim Sarbin
bd6c5a7e0f Lots of minor code cleanup. 2018-12-08 09:32:09 -05:00
Kacper Drobny
d899176963 refactoring of minipanel (#36) 2018-12-07 18:45:23 -05:00
Diego M
a3208e26f2 Inventory Slots Management (#32)
Initial Character Panel Work
2018-12-02 16:34:00 -05:00
Tim Sarbin
f6d80c707c Added move request frame. Inventory and character panels now offset map rendering appropriately. 2018-12-01 15:22:55 -05:00
nicholasdechiara
55f8f3ef34 Mob and Playerstate (#31)
* Filled out eLevelId enum
- Added OpenDiablo2.Core.UT unit test project
- Added ELevelIdHelper class which contains code that generates the enum from the mpq data
- Added a unit test that verifies EngineDataManager works
- Added a unit test that runs the ELevelIdHelper generate function
- Renamed some enum values for constistency (e.g. Act1_Town -> Act1_Town1, as it is in the mpq)
* Retargeted OpenDiablo2.Core.UT to .net Framework 4.6.1
* Added TestConsole
TestConsole currently only supports writing the elevelids enum to a file
Also, removed elevelids generation unit test
* PlayerState and MobState
2018-11-29 21:20:29 -05:00
Diego M
f3793e0a60 Basic Character Panel and Inventory Panel drawing (#30)
* Initial minipanel work
* Character and Inventory panel implementation, frame included
* Separate panel frame from the actual inventory and character panels so they can be reused by other panels
2018-11-29 19:11:25 -05:00
Tim Sarbin
04498ad9a5 Added support for label and button text wrappping and alignment. 2018-11-28 23:03:32 -05:00
Tim Sarbin
8ae4a570f9
Rename Minipanel.cs to MiniPanel.cs 2018-11-27 20:23:29 -05:00
Tim Sarbin
d9582492a3 More cleanup 2018-11-26 19:07:46 -05:00
Tim Sarbin
ba6455317f Detatched Core from Scenes 2018-11-26 18:18:23 -05:00
Diego M
cb8916c085 UI: (Small) Minipanel Implementation (#15)
* ui stuff
* Toggleable stuff
* Initial minipanel work
* Partial work commit to fix random error, still missing relative rendering
* Toggle Minipanel with HUD menu button
* Fix line breaks
2018-11-25 13:13:24 -05:00
Tim Sarbin
3e1c52449b Fixed map loading to work with any valid map id! 2018-11-25 01:51:21 -05:00
Diego M
2cd64677f2 Merged PR - Added UI toggle box
* ui stuff
* More ui stuff
* Toggleable stuff
* Some debug messages
2018-11-24 23:33:04 -05:00
Tim Sarbin
1983d0d40e Added textbox. Added keyboard manager. Added name entry. 2018-11-23 20:51:32 -05:00
Tim Sarbin
4c020c13bc Added button disable support. Added ability to darken sprite. Added ok button to char select 2018-11-23 18:03:29 -05:00
Tim Sarbin
c6e2f2dac4 Fixed button press text offset 2018-11-23 00:52:01 -05:00
Tim Sarbin
245eabe4c2 Added resource manager. Working on weird memory and performance things. 2018-11-22 22:53:05 -05:00
Tim Sarbin
9749fc7b75 Finished button logic. Added github and quit buttons. 2018-11-22 18:46:24 -05:00
Tim Sarbin
2e90e71c79 Fixed rendering issue with buttons/text. Added hotspot tracking for button 2018-11-22 18:16:42 -05:00
Tim Sarbin
679c1ee71f Added more button logic. Fixed transparency issues 2018-11-22 18:06:15 -05:00
Tim Sarbin
b693f799ed Fixed project settings. Started adding ui button logic 2018-11-22 17:00:22 -05:00