Commit Graph
18 Commits
Author SHA1 Message Date
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