Gleb Mazovetskiy
b44343a92f
Merge pull request #588 from glebm/svid-mode
...
SDL1: Avoid software-scaling SVid when possible
6 years ago
Gleb Mazovetskiy
8ad46a145b
Merge pull request #595 from glebm/menu-convert
...
Blit: Fix scaled output handling
6 years ago
Gleb Mazovetskiy
1f129de0c3
DiabloUI: Scale surfaces at load/creation time
6 years ago
Gleb Mazovetskiy
bbe22b3be7
Fix credits when using software scaling
6 years ago
Gleb Mazovetskiy
58fde28a2a
Blit: ifdef all SDL1 stretching code
...
OutputRequiresScaling is always false on SDL2 so we don't need SDL2
compatibility there
6 years ago
Gleb Mazovetskiy
114a166a01
Blit: Fix scaled output handling
...
Fixes #594
6 years ago
Anders Jenbo
3ad7e21e71
Fix flashing menu transitions
...
Fixes #591
6 years ago
Gleb Mazovetskiy
041d540c6f
Fix credit lines pop-in
...
+1 should +2 (+1 for rounding-up and +1 for an extra line)
Fixes #585
6 years ago
Gleb Mazovetskiy
658b44f613
SVid: Only switch video mode if full-screen
...
borderless counts as full-screen here (this is what RetroFW reports when
fullscreen=0)
6 years ago
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.
6 years ago
Anders Jenbo
32d91cb446
Render menu directly to the output surface
...
Fixes fades not reset when switching to a new menu before fade had
ended.
Fixes incorrect start position for credits.
6 years ago
Gleb Mazovetskiy
763db7a11a
Fix conn_type enum order
...
DiabloUI selconn.cp relies on the enum values to be ordered in the same
way as the UI items (e.g. for keyboard navigation).
This restores the order to what it was prior to:
4e29a4b8aa
6 years ago
Anders Jenbo
532ca3cb10
Rename test files and use EXPECT_ instead of ASSERT_
6 years ago
Gleb Mazovetskiy
62b2ab64a7
Merge pull request #584 from glebm/retrofw-opk
...
RetroFW: Switch to OPK from IPK
6 years ago
Anders Jenbo
ff95daf533
Add Amiga support to Findlibsodium.cmake
6 years ago
Anders Jenbo
a9e955578a
Correctly apply the red palette when taking screenshots
6 years ago
Gleb Mazovetskiy
148688809a
RetroFW: Switch to OPK from IPK
...
In RetroFW 2.0, OPK is the preferred format.
While IPK is an installer, OPK is a self-contained squashfs (kinda like AppImage).
6 years ago
Anders Jenbo
578a72993f
Fix Haiku builds
6 years ago
Anders Jenbo
d4c557769b
Reformat Findsodium.cmake
...
jedisct1/libsodium decided not to maintain this, so rebase on
facebookincubator/fizz as that appears to be the defacto upstream now.
There are still a few differences that we should align and hopfully
upstream.
6 years ago
Anders Jenbo
9092eb43e5
Test fatal functions in appfat.cpp
6 years ago
Anders Jenbo
a941828728
Update codecov.yml
6 years ago
Anders Jenbo
71d545144a
Create codecov.yml
6 years ago
Anders Jenbo
03067f0702
Test SetCursor_()
6 years ago
Anders Jenbo
0e3436d6d4
switch to codecov.io
6 years ago
Anders Jenbo
e49d14e095
Start testing control.cpp
6 years ago
Anders Jenbo
e78814fc0b
Don't exclude build folder from coverage
...
Doing so prevents the build from discovering the gcov files
6 years ago
Anders Jenbo
a5222a2684
Add unit tests and codecoverage
6 years ago
Gleb Mazovetskiy
4e29a4b8aa
Single-player: Use loopback instead of TCP
...
Previously, single-player games initialized a TCP connection!
Changes this to loopback.
Refs #555
6 years ago
Anders Jenbo
3f3dae87e1
Fix MSVC build
6 years ago
Anders Jenbo
118e3668b4
Remove unused code
6 years ago
Anders Jenbo
edeca6574d
Replace tagRECT with SDL_Rect
6 years ago
Anders Jenbo
3ab9b7f2d3
Inline rand
6 years ago
qndel
cc6a2d4523
Apply MAX_PATH_LENGTH
6 years ago
Anders Jenbo
40ba1e7a6f
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
09c41c666f
Update monster.cpp
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
4c1108c1da
Prevent space from selecting during text input
6 years ago
Anders Jenbo
67c58583d8
Implement fullscreen toggeling via alt+enter
6 years ago
Anders Jenbo
17b0c7186d
Check sgdwMpqOffset before resizing
6 years ago
qndel
a1321539fb
enums
6 years ago
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
6 years ago
qndel
a6a89bca3a
apply TRUE/FALSE
6 years ago
Anders Jenbo
baf2d14440
Remove unused parts of miniwin
6 years ago
Anders Jenbo
6e9987cc93
Rename dsound and it nolonger reflects DirectSound
6 years ago
Anders Jenbo
913de17a56
Use SDL_Color nativly instead of converting betwen it and PALETTEENTRY
6 years ago
Gleb Mazovetskiy
d2c39767e3
mpqapi: Fix open MPQs getting cleared on exit
6 years ago
Gleb Mazovetskiy
cfe288a28e
mpqapi: Use <fstream> instead of custom functions
6 years ago
danie1kr
b935c82842
GameShell script permission issue ( #564 )
6 years ago
qndel
36d22334ee
apply border enums
6 years ago
Gleb Mazovetskiy
f3ad0c37e1
dx_create_back_buffer: Minor improvement for SDL2
...
Previously, we were copying the colors onto the surface's own palette
that was then immediately replaced by `palette`.
6 years ago