Anders Jenbo
4e8843ee7c
Implement most of the Hellfire menu
...
Still missing is the support screen (functionally identical to the
credit screen)
This also fixes a long standing issue with the menu code where it would
some times return the index and some times the value of the selected
menu item. It now always returns the index and reciver must look up the
value.
6 years ago
Anders Jenbo
d9a1c2ae17
Fix keyboard not working for non-Switch in menu
...
Fixes #869
This was missed when backporting Switch Keyboard fix in
3ef2228d85
6 years ago
Anders Jenbo
4bf4ebeb19
Correct navigation in the difficulty select screen
6 years ago
Anders Jenbo
3ef2228d85
[switch] Leave TextInput running
...
Text mode is on by default. Calling SDL_StartTextInput() will start the
virual keyboard, but does not allow for a default value. Calling it as
well as switch_start_text_input() will start the keyboard a secound
time.
We still turn TextInput off on other platforms when it's not needed as
it can require additional resources.
6 years ago
Anders Jenbo
88c85c54de
[switch] Leave TextInput running
...
Text mode is on by default. Calling SDL_StartTextInput() will start the
virual keyboard, but does not allow for a default value. Calling it as
well as switch_start_text_input() will start the keyboard a secound
time.
We still turn TextInput off on other platforms when it's not needed as
it can require additional resources.
6 years ago
Anders Jenbo
93358a290c
[SDL1.2] Check if an appropriate video mode exists for the given movie
...
This lets us fall back to software scaling for devices that do not
support a video mode that matches the given video.
6 years ago
Juliano Leal Goncalves
78dbbcf439
Mark executable as DPI aware (per monitor)
6 years ago
Juliano Leal Goncalves
c8da8d7e78
Add integer scaling support. Disabled by default.
6 years ago
Marcin Konicki
9a70a5c644
Prevent double free of sound chunk in storm ( #744 )
6 years ago
Marcin Konicki
aace1b46de
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
Marek Majkowski
c8f9219d35
Bugfix: allow players of level 20 to enter nightmare game
...
Right now we update heroLevel only on "CreateGame" code. This
means you can't enter nightmare/hell game at all - unless you
do createGame first. Let's set the heroLevel global variable in both
create and join game cases.
6 years ago
BDC
741cdb2494
Fix memory leak with audio stream not been released
...
SFileChunk was not been release.
6 years ago
Yuri Pourre
b152633011
Bugfix: allows resize when fullscreen is toggled
6 years ago
Gleb Mazovetskiy
611f7f109e
Map Start + L1/R1 to char/inventory ( #655 )
...
It's common to access char and inventory and this is easier to press than Start + ←/→ on devices that have shoulder buttons
6 years ago
Anders Jenbo
e10cd87b12
Fix rendering controller hints
...
Fixes #847
6 years ago
Anders Jenbo
c164048348
[controller] Fix selecting spells at all resolutions
...
This also fixes
- UI navigation being unresponsive when quickly tabing the direction
pad.
- Speed book not starting out highlighting the current selected item
- Diagonal in the speed book
- Being able to select non spells in the speedbook
6 years ago
Anders Jenbo
8fcdf69a56
[SDL1.2] Check if an appropriate video mode exists for the given movie
...
This lets us fall back to software scaling for devices that do not
support a video mode that matches the given video.
6 years ago
Anders Jenbo
52a8cd5fdb
Fix crash when original aspect ratio is used with upscaling
...
Fixes #845
6 years ago
Anders Jenbo
c28335d597
Fix inventory controller navigation for widescreen
6 years ago
Anders Jenbo
3b4db47995
Correct placment of Diablo logo on title screen
...
Fixes #841
6 years ago
Anders Jenbo
25e0e20797
Do not overwrite the null byte
6 years ago
Anders Jenbo
4a4486d616
Implement double clicking in menu for SDL1.2
...
Fixes #836
6 years ago
Anders Jenbo
238d95416b
Correct speed descriptions
6 years ago
Anders Jenbo
15073e2d75
Bump network protocol
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
Anders Jenbo
c53ca1a62a
Adjust resolution to monitor default on startup
6 years ago
Anders Jenbo
9fd34ec927
Correct name length
6 years ago
Tyler
ecde1f647e
Adjust UI to any resoution
6 years ago
Anders Jenbo
1a43a19007
Remove duplicate defines
6 years ago
Tyler
d7ca28ff8e
Added single-player difficulty menu.
6 years ago
Anders Jenbo
6a6a12da38
Enable navigation wrapping in difficulty selector
...
Fixes #661
6 years ago
Anders Jenbo
86cd54a7ca
Fix compiler warning
6 years ago
Anders Jenbo
fa473e9e48
Fix memory leak in credits.cpp
...
Thanks to @Lundar
6 years ago
Anders Jenbo
da10151dad
Settle on DevilutionX behaviour in menu
6 years ago
Anders Jenbo
d749e5e6f2
Gard against overflows in UI
6 years ago
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.
6 years ago
Juliano Leal Goncalves
7f7ab8c3dd
Mark executable as DPI aware (per monitor)
6 years ago
Juliano Leal Goncalves
8d896d54f7
Softcode VSYNC setting. Enabled by default. ( #783 )
6 years ago
Juliano Leal Goncalves
027e63266e
Add integer scaling support. Disabled by default.
6 years ago
qndel
f66339a9ac
clean unused variables
6 years ago
Marcin Konicki
e4cbde0236
Prevent double free of sound chunk in storm ( #744 )
6 years ago
ahwayakchih
63da55f225
Fix description text for "join game" option
6 years ago
Marcin Konicki
2a5d3b6c52
Use asio to resolve host name (or IP)
...
Fixes #735
6 years ago
Marcin Konicki
515ac145c5
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
Anders Jenbo
0fddb655e3
Clean up var names
6 years ago
Anders Jenbo
5a7d86b46e
Make ScrollBarArrowFrame C++03 compatible
6 years ago
Anders Jenbo
c32f33f19f
Use safe ranges instead of decltype() for C++03 compatability
...
SDL2 uses int, but SDL1.2 uses Uint16 and Sint16.
6 years ago
Anders Jenbo
1c824a253f
Make controller TextAlignment C++03 compatible
6 years ago
Anders Jenbo
8726e80199
Make controller enums C++03 compatible
6 years ago
Marek Majkowski
f8ac2456e5
Bugfix: allow players of level 20 to enter nightmare game
...
Right now we update heroLevel only on "CreateGame" code. This
means you can't enter nightmare/hell game at all - unless you
do createGame first. Let's set the heroLevel global variable in both
create and join game cases.
6 years ago