1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-10-31 16:27:18 -04:00
Commit Graph

301 Commits

Author SHA1 Message Date
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
3cc6bd9035 Fixed small bug with map generator missing a cell. 2018-11-28 23:09:28 -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
4021fc9793 Generate a very simple version of blood moore outside of camp. 2018-11-28 22:22:48 -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
8ae4a570f9
Rename Minipanel.cs to MiniPanel.cs 2018-11-27 20:23:29 -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
19c866aeba Fixed another bug with hero screen text input. 2018-11-27 00:32:50 -05:00
Tim Sarbin
360dbbe50c
Update README.md 2018-11-26 22:53:10 -05:00
Tim Sarbin
212fd64995 Stop adding tags for no reason. 2018-11-26 22:50:51 -05:00
Tim Sarbin
b9c22ba10b Configured CI 2018-11-26 22:42:22 -05:00
Tim Sarbin
4a29c641fc Created base folder for github pages 2018-11-26 19:26:24 -05:00
Tim Sarbin
9697c1bf6d Fixed x86 reference in project and sln 2018-11-26 19:24:04 -05:00
Mike Bundy
c93b6c8952 Fix issue with typing char name with no hero selected (#24) 2018-11-26 19:12:36 -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
Tim Sarbin
e4283e5f88 Fixed possible crash due to stopwatch bug. removed ut project 2018-11-25 21:39:34 -05:00
Tim Sarbin
19d7fd8aeb
Update README.md 2018-11-25 19:57:16 -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
abcfd455e7 Updated screenshot. Reverted starting town. 2018-11-25 19:04:35 -05:00
Tim Sarbin
bc09bd72d3 Fixed render priority issue 2018-11-25 18:52:35 -05:00
Tim Sarbin
04f1238f2c Added map caching. Improved map rendering a little bit. 2018-11-25 18:37:53 -05:00
Tim Sarbin
256ccbc7c2 Set a more interesting test map. disabled wall rendering 2018-11-25 14:21:20 -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
6e7dccfe5d Switched to software rendering. 2018-11-25 10:03:30 -05:00
Tim Sarbin
0b3a15403c Now directly using CS-SDL source 2018-11-25 09:50:29 -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
7d0715e97f Fixed line endings 2018-11-24 23:52:23 -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
d3a718d8f6 Cleaned up the rendering some. 2018-11-24 20:34:21 -05:00
Tim Sarbin
1c0dede449 fixed rendering 2018-11-24 20:22:03 -05:00
Tim Sarbin
21eb39bf7a More rendering fixes 2018-11-24 19:55:57 -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