Commit Graph
29 Commits
Author SHA1 Message Date
Anders Jenbo 72e2637061 Merge branch 'master' of github.com:diasurgical/devilution 2020-10-25 17:38:06 +01:00
BDC 62de5f1600 Refactor DiabloUI to dynamic C++03 compatible code
This will help with porting the game to the original Xbox, and also make
it easier to implement dynamic resolutions and translations.
2020-09-09 05:14:30 +02:00
Anders Jenbo c32f33f19f Use safe ranges instead of decltype() for C++03 compatability
SDL2 uses int, but SDL1.2 uses Uint16 and Sint16.
2020-05-20 01:21:36 +02:00
Anders Jenbo 7a90b9102a When needed, clear buffer before rendering menu 2020-05-15 19:12:03 +02:00
Anders Jenbo ca82f81582 Move menu elements to the center of the screen
Previously the rendering was just shifted which gave the mouse an odd
position and made it impossible to place new elements in the left side.
2020-05-15 19:12:03 +02:00
Anders Jenbo 3c5982083f Merge branch 'master' of github.com:diasurgical/devilution 2020-04-06 12:05:13 +02:00
Anders Jenbo 25993b4043 Merge branch 'master' of github.com:diasurgical/devilution 2020-02-14 23:03:31 +01:00
Anders Jenbo 3ad7e21e71 Fix flashing menu transitions
Fixes #591
2020-02-09 14:39:18 +01:00
Anders Jenbo 32d91cb446 Render menu directly to the output surface
Fixes fades not reset when switching to a new menu before fade had
ended.
Fixes incorrect start position for credits.
2020-02-09 02:33:33 +01:00
Anders Jenbo 08aa6a860a Move generic helpers out of miniwin 2020-02-01 13:56:08 +01:00
Anders Jenbo 961e7f58c4 Implement UI errors 2019-12-30 19:03:40 +01:00
Anders Jenbo e847108b78 Clean up event handeling 2019-12-03 01:59:13 +01:00
Anders Jenbo f9d4073620 Detect when gamepads are added or removed 2019-12-03 01:59:13 +01:00
Anders Jenbo a8e4db538f Display SDL error messages in UI dialog
This will also end the application in most cases
2019-10-12 23:02:04 +02:00
Gleb Mazovetskiy 458fbcef88 DiabloUI: Implement some dialogs
Partially addresses #303
2019-10-02 22:44:44 +02:00
Gleb Mazovetskiy 17b5011916 DiabloUI: Move art and text code out of diablo.cpp 2019-10-01 21:30:27 +02:00
Gleb Mazovetskiy 5f21aba186 progress.cpp: fix SDL1 narrow conv warn 2019-09-29 16:32:17 +02:00
Anders Jenbo 18532e7c9b Format SourceX and SourceS
Fixes #262
2019-09-26 01:28:27 +02:00
Gleb Mazovetskiy cf0f867ca0 DrawArt via SDL 2019-09-25 01:01:25 +02:00
Anders Jenbo 5cadee74c2 Fix a few compiler warnings 2019-09-21 21:43:17 +02:00
Manuel K 32b0e99e90 Use SCREEN_Y (dX part) 2019-06-02 18:12:36 +01:00
Anders Jenbo 0f8545d3c4 Clean up SDL error logging 2019-05-21 22:36:27 +02:00
Anders Jenbo 73a29f0e68 Merge branch 'master' of github.com:diasurgical/devilution 2019-05-18 16:55:20 +02:00
Anders Jenbo b791b1093c Clean up DDraw implementation 2019-04-25 01:31:57 +02:00
Xadhoom f00e427ed2 Remove pch.h 2019-03-17 18:28:37 +00:00
Xadhoom 30fbfa36a1 Progress with miniwin macros 2019-03-11 23:48:35 +00:00
Xadhoom 5283a9ffd1 Put everything into namespace dvl 2019-03-11 20:10:23 +00:00
Xadhoom 4d557709e0 Clean headers for network code 2019-02-24 10:46:16 +00:00
Xadhoom af47577446 Begin restructuring headers 2019-02-23 07:49:22 +00:00