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
0710d1c425
DiabloUI: Rename UiButton to UiArtTextButton
7 years ago
Gleb Mazovetskiy
17b5011916
DiabloUI: Move art and text code out of diablo.cpp
7 years ago
Gleb Mazovetskiy
8d18a9938b
DiabloUI selgame.cpp: Reduce duplication
7 years ago
Gleb Mazovetskiy
8e26a26b9c
DiabloUI: Fix label position in SELUDPGAME_DIALOG
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
Manuel K
71118210db
Use NUM_DIFFICULTIES
7 years ago
Xadhoom
f00e427ed2
Remove pch.h
7 years ago
Anders Jenbo
31acc0d002
Prepair for 0.2.0
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
Xadhoom
ae60e94670
Implement proper turn syncing in the network layer
7 years ago
Anders Jenbo
0d1d55d8df
Make IP's configurable
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
Xadhoom
b8379e7187
Menu for TCP and UDP; enable difficulty selection
7 years ago
Anders Jenbo
b47c6bcb19
Fix loading save games
7 years ago
Anders Jenbo
8306f653f2
Implement joining games by ip
7 years ago
Anders Jenbo
281ade83c2
Move select game logic to UiSelectGame()
7 years ago