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
Gleb Mazovetskiy
458fbcef88
DiabloUI: Implement some dialogs
...
Partially addresses #303
7 years ago
Gleb Mazovetskiy
17b5011916
DiabloUI: Move art and text code out of diablo.cpp
7 years ago
Gleb Mazovetskiy
78c9453e94
Make the Yes/No dialog list wrap
...
It wraps in Diablo
7 years ago
Gleb Mazovetskiy
2ba268e608
DiabloUI: Better char* handling
...
1. UI structs now use `const char*` because that's the type of C-string
literals.
2. Use `strcpy` instead of `sprintf` where possible.
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
903f136ad0
Match retail behaviour
7 years ago
Anders Jenbo
689e91a425
Adjust font for delete message to match original
7 years ago
danellos
798744b773
Cleaned up includes, fixed missing sound, and fixed spelling error.
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