Commit Graph
26 Commits
Author SHA1 Message Date
Anders Jenbo e280432b92 🚨 Fix all SDL1 warnings 2021-03-06 05:56:47 +01:00
Anders Jenbo d0248caf8d 💚 Fix SDL1 builds 2021-03-06 04:43:28 +01:00
Anders Jenbo 39999791b3 Revamp ini options and sync in multiplayer
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!

[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0

[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1

[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1

[Diablo]
Intro=0

[Hellfire]
Intro=0
SItem=

[Phone Book]
Entry1=127.0.0.1

[Network]
Bind Address=0.0.0.0
2021-03-01 11:52:26 +01:00
Epifanov Ivan f49b55cbe1 Migrate to vitasdk 2021-02-22 22:02:09 +01:00
Ivan Epifanov d76d52779a Add control options 2021-02-21 20:30:34 +01:00
Ivan Epifanov 85be8ed77e [vita] Speed up. Add option to disable back touch 2021-02-21 20:30:34 +01:00
Ivan Epifanov ccf87f3bf3 Disable SDL touch->mouse events 2021-02-21 20:30:34 +01:00
MrHuu 1fa8b6f4e4 [3DS] Initial port 2021-02-21 00:31:13 +01:00
Gleb Mazovetskiy b10b4381ef Multiple controllers support (#935) 2020-11-28 22:58:13 +01:00
Anders Jenbo 52a8cd5fdb Fix crash when original aspect ratio is used with upscaling
Fixes #845
2020-10-03 18:44:22 +02:00
Anders Jenbo c53ca1a62a Adjust resolution to monitor default on startup 2020-09-28 07:03:22 +02:00
Juliano Leal Goncalves 8d896d54f7 Softcode VSYNC setting. Enabled by default. (#783) 2020-09-02 22:45:39 +02:00
Juliano Leal Goncalves 027e63266e Add integer scaling support. Disabled by default. 2020-09-01 06:21:29 +02:00
Anders Jenbo 0da3461d35 Use explicit types instead of auto 2020-05-14 11:44:15 +02:00
Anders Jenbo a3505ab904 Remove the std namespace from uint32_t
Again to help older compileres that aren't C++11 aware.
2020-05-14 11:44:15 +02:00
Anders Jenbo 69ad34f58f Consistently use NULL instead of nullptr
While nullptr does have extra checking, most of the code uses NULL and
nullptr makes it harder to port the code to some targets like the
original XBox
2020-05-14 11:44:15 +02:00
Manuel Alfayate Corchete 03662be548 Remove atexit() calls and implement a diablo_deinit() function instea… (#694)
* Remove atexit() calls and implement a diablo_deinit() function instead that cleans up every subsystem if it has been init before.
2020-04-08 13:27:02 +02:00
Anders Jenbo 3c5982083f Merge branch 'master' of github.com:diasurgical/devilution 2020-04-06 12:05:13 +02:00
Yuri Pourre f1a000cb7b Bugfix: allows resize when fullscreen is toggled 2020-03-28 01:19:16 +01:00
Anders Jenbo a31a730cf3 Default to 60hz if the driver doesn't return a usable value 2020-02-29 17:52:20 +01:00
Gleb Mazovetskiy 3463d7eaca RetroFW: Remove IPU scaler check
RetroFW 2.0 brought IPU scaler support to all devices and we now require RetroFW 2.0+.
2020-02-09 18:44:01 +01:00
Gleb Mazovetskiy b44343a92f Merge pull request #588 from glebm/svid-mode
SDL1: Avoid software-scaling SVid when possible
2020-02-09 17:30:21 +00:00
Gleb Mazovetskiy 1f129de0c3 DiabloUI: Scale surfaces at load/creation time 2020-02-09 17:13:11 +00:00
Gleb Mazovetskiy ea32475ce9 SDL1: Avoid software-scaling SVid when possible
Set the video mode close to the SVid resolution while preserving aspect ratio.
Restore the video mode once the video has finished playing.

Also avoids allocating a tmp surface unless scaling.
2020-02-09 01:55:11 +00:00
Anders Jenbo 118e3668b4 Remove unused code 2020-02-01 16:45:07 +01:00
Anders Jenbo 08aa6a860a Move generic helpers out of miniwin 2020-02-01 13:56:08 +01:00