Anders Jenbo
ce66aea070
Optimize masked Art blitting
5 years ago
Gleb Mazovetskiy
1d48dd095d
Scale hardware cursor bilinearly
...
Make the hardware cursor blurry like the rest of the screen.
5 years ago
Vladimir Olteanu
01b55c7bf3
Introduce TTFWrap::RenderText_Solid
5 years ago
Vladimir Olteanu
2d4a205fef
Introduce SDL::CreateRGBSurfaceWithFormat
5 years ago
Vladimir Olteanu
5d54f8d322
Introduce SDLWrap::CreateRGBSurface
5 years ago
obligaron
26e61b363b
demo: Centralize options override
5 years ago
obligaron
77f9bded9e
Introduce demo namespace
5 years ago
Vladimir Olteanu
3638a20c76
Make SdlThread constructor explicit
5 years ago
Vladimir Olteanu
a437cb1af9
Fix MissileFileData arrays not getting properly filled
5 years ago
BC Ko
b3e002de79
cleanup manual value clamping: sdl2_to_1_2_backports.cpp ( #2580 )
...
* cleanup manual value clamping: sdl2_to_1_2_backports.cpp
* static_cast Sint16 and int in SDL_BlitScaled
5 years ago
Anders Jenbo
09cbbc30cf
🚨 format autofill_array.h
5 years ago
Vladimir Olteanu
b5d6758295
Introduce AutofillArray
5 years ago
obligaron
82cea78def
Apply clang-format
5 years ago
Anders Jenbo
370e573209
Prefer test versions of translations
5 years ago
Ivan Epifanov
cf5ab583d5
Open translations as read-only
5 years ago
Anders Jenbo
d523fc1e81
Cleanups
5 years ago
Anders Jenbo
01f66d7f73
[android] Implement loading translations from assets
5 years ago
Anders Jenbo
0475aed939
[android] Allow FileExists to work on assets
5 years ago
Anders Jenbo
5c2a559487
Get default langauge
5 years ago
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.
5 years ago
Vladimir Olteanu
1889f2badd
Get rid of utils/thread.{h,cpp}
5 years ago
Vladimir Olteanu
77a3955bae
Introduce SdlThread
5 years ago
Vladimir Olteanu
84bc4d8c65
dthread: simplify synchronization logic ( #2419 )
5 years ago
Vladimir Olteanu
7e67ec6399
SdlMutex: error checking
5 years ago
obligaron
837ddc0396
Fix a warning in soundsample.cpp
5 years ago
Vladimir Olteanu
829f45ee6d
SdlMutex: check result of SDL_CreateMutex ( #2400 )
5 years ago
Vladimir Olteanu
7271e5558c
Get rid of unchecked calls to malloc
5 years ago
qndel
46c8e550ba
Revert "Revert "Add explicit cast for LogicalToOutput" ( #2334 )"
...
This reverts commit cbfffcbfd4 .
5 years ago
qndel
cbfffcbfd4
Revert "Add explicit cast for LogicalToOutput" ( #2334 )
...
This reverts commit d3c36166df .
5 years ago
ephphatha
b680e3fef1
Align end comment markers for doxygen comments
...
Including a bunch from previous PRs (since I was responsible for the broken formatting for most 😓 )
5 years ago
Anders Jenbo
903d4bd2e1
Scope all for loops
...
This caused 7 of the loops to be rewriteen using range by clang-tidy
5 years ago
Anders Jenbo
9ebdb6db69
General clean up
5 years ago
ephphatha
d3c36166df
Add explicit cast for LogicalToOutput
...
In practice this function is only called with int arguments, can probably change the specialisation to std::is_integral<T>
5 years ago
ephphatha
08ae390643
Add explicit casts for some implicit conversions
...
Some of these were triggering multiple warnings due to casts applied at times which forced potentially truncating operations.
5 years ago
ephphatha
3520dc4201
Update numeric literals to use appropriate suffix
...
Mainly things like .F for floats instead of doubles in float context.
5 years ago
Anders Jenbo
bc0d1f7ac0
clang-tidy/Android Stuidio cleanups 3
5 years ago
Anders Jenbo
4eabc6024b
Apply various cleanups via Android Studio
5 years ago
Anders Jenbo
372b1dcba2
Clang-tidy: readability-identifier-naming.MemberCase: camelBack
5 years ago
Anders Jenbo
a7c7fa0030
Fully apply clang-tidy/format to all files
5 years ago
Anders Jenbo
8e07ef8fe5
Clang-tidy: misc-unused-parameters
5 years ago
Anders Jenbo
fa54499aeb
Clang-tidy: readability-uppercase-literal-suffix
...
Strip suffixes
5 years ago
Anders Jenbo
51d5c8bcab
Clang-tidy: performance-unnecessary-value-param
5 years ago
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
5 years ago
Anders Jenbo
ec8d7bebe2
Clang-tidy: modernize-use-auto
5 years ago
Anders Jenbo
790f42d078
Clang-tidy: readability-inconsistent-declaration-parameter-name
5 years ago
Gleb Mazovetskiy
8a9618aea2
♻️ Clean up `cel_header.hpp`
...
1. Rename `CelGetFrameStart` to `CelGetFrame`, in line with the other 2
functions with the same name and load the `uint32_t` safely.
2. Remove redundant `FrameHeader`, simply use `LoadLE16`.
3. Document all the functions.
5 years ago
Gleb Mazovetskiy
4ea7ba0f5f
🚚 engine.h: Extract `LoadLE32` and `LoadBE32`
5 years ago
Gleb Mazovetskiy
f9f301b054
🚚 engine.h: Extract `Point`, `Direction`, `clamp`
...
`engine.h` is getting quite bloated. Moves this code to their own files.
5 years ago
Anders Jenbo
3affe2eb2a
Fix SDL1 builds
5 years ago
Anders Jenbo
9dd7de027f
Limit screen to landscape mode
5 years ago