Gleb Mazovetskiy
6b9a9faebc
Fix hero dialog image
...
Regression introduced in b536d0efa2
Fixes #318
7 years ago
Gleb Mazovetskiy
b536d0efa2
DiabloUI: Handle logo like all the other elements
...
Adds the `animated` flag to `UiImage`, allowing us to
remove special handling for the logo.
7 years ago
Pyr0Byt3
e7e1ba96dc
fix hero order
7 years ago
Gleb Mazovetskiy
458fbcef88
DiabloUI: Implement some dialogs
...
Partially addresses #303
7 years ago
Gleb Mazovetskiy
0710d1c425
DiabloUI: Rename UiButton to UiArtTextButton
7 years ago
Gleb Mazovetskiy
e4ef58f73d
DiabloUI: Add a scroll bar to hero selection
...
Has the same weird behaviour as the actual Diablo scrollbar but without
the subtle mouse interaction bugs.
7 years ago
Gleb Mazovetskiy
7573446763
Make hero selection list scrollable
...
No scrollbar yet, keyboard scrolling only
7 years ago
Gleb Mazovetskiy
37936c6d15
DiabloUI: Refactor UI_Item to tagged unions
...
Makes the code easier to understand.
Also makes building lists easier.
Also fixes focus indicator in SELLOAD_DIALOG (this type of bug is
impossible with the new structs).
7 years ago
Anders Jenbo
18532e7c9b
Format SourceX and SourceS
...
Fixes #262
7 years ago
Gleb Mazovetskiy
cf0f867ca0
DrawArt via SDL
7 years ago
Anders Jenbo
6207832d6e
Update to latest upstream headers
7 years ago
Anders Jenbo
7b745e34a9
Enable delete key in hero menu
7 years ago
danellos
4c96cc8479
Only play sound if delete is enabled.
7 years ago
danellos
d032094bed
Made function names more consistent with Yes/No
7 years ago
danellos
89cef3f9c9
Note about NO selected by default; fixed a bug with Delete.
7 years ago
danellos
0f9fc228ce
Full "Delete Hero" implementation
7 years ago
Xadhoom
f00e427ed2
Remove pch.h
7 years ago
Xadhoom
c1ba436e69
miniwin_misc.h macro-clean
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
ddfa0a1337
Cast button functions to void explicitly
7 years ago
Anders Jenbo
76290b8e23
Implement password prompt
7 years ago
Anders Jenbo
40a2e16548
Fix crash when creating multiple games in one frame
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Anders Jenbo
281ade83c2
Move select game logic to UiSelectGame()
7 years ago
Anders Jenbo
50809cb255
Clean up event code and hook up all cancle buttons
7 years ago
Anders Jenbo
89c2b533cb
Implement ui layout framework
7 years ago
Anders Jenbo
806f3e9902
Fix starting locale game
7 years ago
Anders Jenbo
90466f3fbb
Correct art for all existing menus
7 years ago
Anders Jenbo
599936c9b2
Handle text input correctly
...
Also you can now paste test from the clip board
7 years ago
Anders Jenbo
a58e3af89a
Refactor menu navigation
...
This also implements fully accurate list navigation
7 years ago
Anders Jenbo
4b7519be8d
Fix overflow and small menu tweaks
7 years ago
Anders Jenbo
189c373c13
Correct var types
7 years ago
Anders Jenbo
d86ceb14cb
Refactor ui code
7 years ago
Anders Jenbo
623a6e00d8
Implement loading save games
...
Also drop most of the broken mouse navigation
7 years ago
Anders Jenbo
0e0d41376f
Enum for dlgresult
7 years ago
Anders Jenbo
199fd17e2e
Remove mouse from credit page
7 years ago
Anders Jenbo
2badccd350
Fix menu navigation
7 years ago
Anders Jenbo
3eb658b3bf
Correct default stats
7 years ago
Anders Jenbo
755612fc13
Fix unresponsive menu and match transitions to the original
7 years ago
Anders Jenbo
c75d50a82c
Split up menu code
7 years ago