qndel
0ffef697b0
fix destroying renderer
2021-09-17 13:53:13 +01:00
Vladimir Olteanu
bcd7f89319
Have SDLWrap::AllocPalette allocate space for 256 colors by default
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
b87058a717
Error checking for GetOutputSurface
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
d4d89077cd
Don't free PalSurface when it was obtained from SDL_GetVideoSurface
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
4edafd2e37
Make RendererTextureSurface a SDLSurfaceUniquePtr
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
aab7bf6e91
Make Palette a unique ptr
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
4a9ebf1460
Use SDLUniquePtr
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
cc9ea97e0f
Introduce SDLWrap::CreateTexture
2021-09-13 23:07:04 +02:00
Vladimir Olteanu
5d54f8d322
Introduce SDLWrap::CreateRGBSurface
2021-08-19 08:51:59 +02:00
obligaron
26e61b363b
demo: Centralize options override
2021-08-19 00:04:57 +02:00
obligaron
77f9bded9e
Introduce demo namespace
2021-08-19 00:03:58 +02:00
Anders Jenbo
d523fc1e81
Cleanups
2021-08-02 10:12:40 +02:00
Anders Jenbo
eda4a5061e
Implement demo recording and playback
...
This records all keyboard and mouse events to a file and lets you play
it back at a later point with a differen game speed.
2021-07-31 20:12:31 +02:00
Vladimir Olteanu
fae1e4eee5
Replace CCritSect with SdlMutex
2021-07-21 08:10:46 +02:00
Anders Jenbo
a19e7b2a3b
Remove some more use of miniwin
2021-07-17 23:54:13 +02:00
Anders Jenbo
730c0750e7
Apply clang-tidy to code
2021-07-09 16:54:01 -07:00
Anders Jenbo
352a0ca510
Place local symbols in an anonymous namespace
2021-07-09 16:54:01 -07:00
Anders Jenbo
4eabc6024b
Apply various cleanups via Android Studio
2021-07-03 18:27:17 -07:00
Anders Jenbo
ecea12fc15
Clang-tidy: ParameterCase
2021-07-03 15:46:39 -07:00
Gleb Mazovetskiy
cb0dae8590
🚚 Rename CelOutputBuf to Surface and extract
2021-07-03 05:33:32 -07:00
Anders Jenbo
a350fb0b15
Clang-tidy: FunctionCase part 1
2021-07-03 03:45:33 +02:00
Anders Jenbo
0f2ad469ea
♻️ Clean up variable initialization
2021-06-27 14:58:51 -07:00
Anders Jenbo
f0e5bd819b
💚 Fix debug builds
...
This the change from 8e07ef8fe5 .
2021-06-27 20:48:39 +02:00
Anders Jenbo
8e07ef8fe5
Clang-tidy: misc-unused-parameters
2021-06-27 17:34:32 +02:00
Anders Jenbo
f4f8f22699
Clang-tidy: readability-redundant-control-flow
2021-06-27 00:56:08 +02:00
Epifanov Ivan
b16d3e8b54
Re-enable graphical settings on PSVita ( #2175 )
2021-06-15 20:11:09 +02:00
Gleb Mazovetskiy
b76f7656f3
🧹 LoadArt: BYTE -> uint8_t
...
The change in include order necessitated a couple of other minor
cleanups, one in stubs.h and one in sdl2_to_1_2_backports.h
2021-05-23 18:45:01 +02:00
Gleb Mazovetskiy
cb9da2cadc
🎉 SDL1: An option to render directly to video mem
...
Now that we no longer have a buffer border, we can render directly to
the video memory if the output surface is 8-bit and double buffering is
enabled.
Also adds a flag to force this even when double buffering is disabled,
because some systems emulate 8-bit mode with something else, so the
output is always buffered.
This required a tweak to the cursor to make sure that we clear it after
`SDL_Flip`.
2021-05-13 03:17:45 +02:00
Gleb Mazovetskiy
1181cc68ac
🎉 Remove buffer padding
...
The padding is no longer needed
2021-05-11 07:57:08 +02:00
staphen
eaa5188776
Remove call to gspWaitForVBlank().
2021-05-07 09:05:37 +02:00
Gleb Mazovetskiy
59dd42692f
🚚 Move render.cpp to engine/render/dun_render.cpp
2021-05-06 21:30:06 +02:00
Jmgr
1b7e0d2cb3
Migrate existing log entries
2021-04-25 02:39:42 +02:00
Anders Jenbo
cc164985a3
🎨 Correct type checks in src sub-folder
2021-04-22 20:33:24 +02:00
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
2021-04-19 16:02:05 +02:00
Gleb Mazovetskiy
64f5e374ff
RenderPresent: Remove the !SDL_MUSTLOCK assert
...
Allows using a hardware surface
2021-04-19 02:29:47 +02:00
Gleb Mazovetskiy
91f8267db9
🧹 SDL1.2: Remove unimplemented SDL_*Window backports
...
Guard around SDL version at call site instead.
2021-04-18 20:07:37 +02:00
Anders Jenbo
8c821e98d3
🚚 Restructure files
2021-04-16 03:57:22 +02:00
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
2021-04-16 01:04:54 +02:00
Anders Jenbo
6e1a106a38
🚚 Move header we implement into the project
2021-04-16 01:04:54 +02:00
Anders Jenbo
52401c9677
💚 Correct include headers
2021-04-10 14:31:05 +02:00
Anders Jenbo
dc84643fe6
🚚 Move dx.cpp and sound.cpp back in to Source now that the name space is clean
2021-04-10 14:30:22 +02:00
Anders Jenbo
5ff14b59da
Remove unused source
2019-09-13 03:56:32 +02:00
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
2019-08-07 15:49:20 +02:00
Xadhoom
148a7be44d
Merge upstream branch 'devilution/master'
2019-07-10 17:04:38 +00:00
Anders Jenbo
7c071924ad
Format recently cleaned code
2019-07-06 05:13:01 +02:00
Anders Jenbo
4ff5197291
merge devilution
2019-06-28 21:53:52 +02:00
galaxyhaxz
24595d3565
dx_init bin exact (proper fix)
2019-06-25 13:39:13 +02:00
Anders Jenbo
73a29f0e68
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-18 16:55:20 +02:00
Robin Eklind
894566e5a7
Merge pull request #1019 from diasurgical/UiProgressDialog
...
Correct types based on DevilutionX
2019-05-12 12:38:50 +09:00
Anders Jenbo
228dbf4897
Cast pointer to a CPU appropriate size
2019-04-30 15:36:32 +02:00