1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 17:27:23 -04:00
Commit Graph

42 Commits

Author SHA1 Message Date
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
Tim Sarbin
8c953c4db8 Merge branch 'master' of github.com:essial/OpenDiablo2 2018-11-24 23:49:59 -05:00
Tim Sarbin
0803e5c223 Rendering optimizations 2018-11-24 23:49:56 -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
3a0cbe4b8e Added initial pieces of the map engine. 2018-11-24 22:34:16 -05:00
Tim Sarbin
78fed23e21 More rendering fixes 2018-11-24 18:54:32 -05:00
Tim Sarbin
b456b7be82 Still trying to fix the rendering 2018-11-24 17:54:15 -05:00
Tim Sarbin
60b453c033 Finally fixed broken map load logic. Made palletes less dumb. 2018-11-24 12:15:54 -05:00
Tim Sarbin
78ee66bdfb Fixed signed/unsigned ds/dt issue. Cleaned up load logic 2018-11-24 11:45:10 -05:00
Tim Sarbin
ecc6eb2138 Added start of cell renderer. Still trying to fix map load issue 2018-11-24 10:54:02 -05:00
Tim Sarbin
6c2847e4b3 Started writing map data logic. 2018-11-24 03:07:41 -05:00
Tim Sarbin
c4fac82bc3 Updated screenshot 2018-11-23 22:02:36 -05:00
Tim Sarbin
b0869cc7d9 Added start of game screen. Added game state. 2018-11-23 21:56:30 -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
caa9c88d4e Added string table loading support 2018-11-23 17:42:01 -05:00
Tim Sarbin
6877df0b5a Added hero label text. Added dictionary. Fixed text redraw bug 2018-11-23 16:38:21 -05:00
Tim Sarbin
e348d7b1e1 Tons of performance gained. 2018-11-23 15:22:35 -05:00
Tim Sarbin
8f1d43863d Finished select hero animations 2018-11-23 14:19:48 -05:00
Tim Sarbin
64e6784d2c Added all the characters to the character selection menu 2018-11-23 00:41:39 -05:00
Tim Sarbin
63dbe3f6eb Prevented re-generation of textures. Fixed button on hero class screen. 2018-11-22 23:44: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
fcc3293aad Started work on character select screen. Disabled audio to prevent crashes. 2018-11-22 20:23:00 -05:00
Tim Sarbin
9749fc7b75 Finished button logic. Added github and quit buttons. 2018-11-22 18:46:24 -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
Tim Sarbin
3d98be98fe Added font rendering and label support 2018-11-22 16:22:39 -05:00
Tim Sarbin
78190b12d6 Cleaned up rendering logic to reduce verbose code 2018-11-22 14:30:37 -05:00
Tim Sarbin
68d942ab4a More rendering fixes. offsets make sense now. 2018-11-22 12:35:21 -05:00
Tim Sarbin
77c4621295 Fixed menu rendering 2018-11-22 12:19:38 -05:00
Tim Sarbin
9b721e4cce Added fake loading screen. Added music support. 2018-11-22 02:24:55 -05:00
Tim Sarbin
411d8830f1 Added mouse support. Started font support. Added screenshot 2018-11-22 00:56:36 -05:00
Tim Sarbin
4d124ad959 Initial commit 2018-11-22 00:18:42 -05:00