1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-03 01:37:18 -04:00
Commit Graph

82 Commits

Author SHA1 Message Date
Tim Sarbin
4a4dbbb0b9 Fixed more rule violations 2018-12-08 13:11:52 -05:00
Tim Sarbin
382b38abe0 Fixed more rule validations. Added ImmultableDictionary reference. 2018-12-08 12:52:09 -05:00
Tim Sarbin
86547875fd Replaced all system exceptions with OpenDiablo2Exception 2018-12-08 12:08:01 -05:00
Tim Sarbin
2cec981447 Merge branch 'master' of github.com:essial/OpenDiablo2 2018-12-08 11:51:15 -05:00
Tim Sarbin
2bf53e351c Added caching. Code cleanup. 2018-12-08 11:51:11 -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
Tim Sarbin
a624fcaa66 Change scene names to enums. Started adding GPL headers and comments. 2018-12-08 09:12:40 -05:00
Tim Sarbin
9f078a8ace Added animations. Added walking/running. 2018-12-08 01:01:30 -05:00
Tim Sarbin
0b545fb876 Merge branch 'master' of github.com:essial/OpenDiablo2 2018-12-07 18:49:25 -05:00
Tim Sarbin
3902c9d9c0 Fixed animation data issue. Started character renderer. 2018-12-07 18:45:54 -05:00
Kacper Drobny
d899176963 refactoring of minipanel (#36) 2018-12-07 18:45:23 -05:00
Tim Sarbin
2f1f15c7b5 Finished data load logic for DCC files. 2018-12-06 23:11:36 -05:00
Tim Sarbin
20bacbbb14 Merge branch 'master' of github.com:essial/OpenDiablo2 2018-12-05 22:34:19 -05:00
Tim Sarbin
f2c14375cf Initial commit for animation decoding (not finished). Minor fixups. 2018-12-05 22:29:45 -05:00
nicholasdechiara
f564df0117 HeroTypeConfig Data Loaded from MPQs (#35)
* Game loads experience config data
* Stored based on hero type, handed off during spawnnewplayer
* Update LevelExperienceConfig.cs
* HeroTypeConfigs loaded from mpq data
* Update PlayerState.cs
* Update PlayerState.cs
2018-12-05 22:28:09 -05:00
nicholasdechiara
4085dc493b Game loads experience config data (#34)
* Game loads experience config data
* Stored based on hero type, handed off during spawnnewplayer
2018-12-04 23:20:31 -05:00
Diego M
a3208e26f2 Inventory Slots Management (#32)
Initial Character Panel Work
2018-12-02 16:34:00 -05:00
Tim Sarbin
4a77e47ddd Finished supporting player movement. Fixed seed bug. 2018-12-01 20:17:51 -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
Tim Sarbin
99bf86a21e Added player location and info message frames. Added camera focus and focus player message frame. 2018-12-01 12:10:16 -05:00
Tim Sarbin
1c5a0d3361 Fleshed out mob management on server. Added player location message frame. 2018-12-01 02:44:40 -05:00
Tim Sarbin
1fc0eec1be Added thread safety. 2018-12-01 00:00:17 -05:00
Tim Sarbin
0cabaceb48 Added client/server architecture support. 2018-11-30 23:37:08 -05:00
Tim Sarbin
0a3eb44248 Started work on session manager. Fixed mouse rendering logic. 2018-11-29 23:26:51 -05:00
Tim Sarbin
6907d8e507 Created ServiceBus project and moved interfaces to subfolders. 2018-11-29 22:12:40 -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
baed1834b4 Added fullscreen option 2018-11-29 18:20:38 -05:00
Tim Sarbin
e5c9af0367 Source cleanup. Made the game run a little better. 2018-11-29 17:58:56 -05:00
Tim Sarbin
04498ad9a5 Added support for label and button text wrappping and alignment. 2018-11-28 23:03:32 -05:00
Mike Bundy
403864fdd1 Character selection scene skeleton (#27)
* Fix issue with typing char name with no hero selected
* Character Selection begin...
* Add buttons and wire up Character selection scene
2018-11-28 22:25:08 -05:00
Tim Sarbin
7a1aea686b Fixed enum error. Allow multiple loads of same map id. 2018-11-28 21:26:29 -05:00
Tim Sarbin
3500a07b45 Map engine now fully supports multi-map rendering. 2018-11-28 21:20:01 -05:00
Tim Sarbin
8e603f987e Added support for multiple maps. And cached the caches. 2018-11-28 19:28:41 -05:00
Tim Sarbin
5c7bba87d1 Refactored map generation logic 2018-11-27 23:09:10 -05:00
Tim Sarbin
1b2c7bc526 Fixed map rendering bug with randomized tiles. 2018-11-27 21:20:48 -05:00
Tim Sarbin
22f75b7e39 Added hardware mouse support with scailing 2018-11-27 20:02:18 -05:00
Tim Sarbin
3b543131a5 Forgot to commit the rest of the files.. 2018-11-27 01:04:27 -05:00
Tim Sarbin
dbb1a2316a Started seperating more map rendering logic. More to come. 2018-11-27 00:56:54 -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
Mike Bundy
b4d362fc0d Change TextDictionary Population + Read char desc from there (#19)
* Change MPQ text reading

Previously checked for there to be exactly 3 commas, changed to check that line doesn't start with hash or slash (includes/comments) + that it has 3 or more commas.

This might cause issues later, but it's needed for now otherwise lines get skipped.

* Read in Not Xpac Char desc from dictionary

Also added a string utils class. How do I test with .Net?
2018-11-25 19:06:22 -05:00
Tim Sarbin
04f1238f2c Added map caching. Improved map rendering a little bit. 2018-11-25 18:37:53 -05:00
Tim Sarbin
61310ed063 Merged PR changes 2018-11-25 14:16:30 -05:00
Tim Sarbin
ea5c8bd787 Rendering refactor 2018-11-25 14:15:13 -05:00
nicholasdechiara
02e101edb8 Filled out eLevelId enum (#16)
* 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
2018-11-25 14:12:25 -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
8c4646d57a More rendering optimizations 2018-11-25 09:42:39 -05:00
Tim Sarbin
3e1c52449b Fixed map loading to work with any valid map id! 2018-11-25 01:51:21 -05:00