summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-2/+2
2018-10-29Fix code style.s20181102Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-09-13Fix option for enable/disable screensaver in SDL 2.Andrei Karas1-0/+9
2017-09-11Add option to set sdl logging level.Andrei Karas1-0/+4
Only for SDL2.
2017-09-09Remove extra include from sdlhelper.cppAndrei Karas1-1/+0
2017-09-08Split SDL_WaitEventTimeout/SDL_PollEvent into lower level SDL function calls.Andrei Karas1-0/+10
2017-09-07Fix possible thread structure memory leak on SDL2 if thread terminated ↵Andrei Karas1-0/+6
before cleanup.
2017-09-07Add SDL2 errors logging.Andrei Karas1-0/+4
2017-06-30Remove extra includes from headers.Andrei Karas1-0/+1
2017-06-20Fix sdl warning hiding pragmas for old compilers.Andrei Karas1-3/+3
2017-06-20Prevent Wshadow varnings in SDL code.Andrei Karas1-0/+3
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-2/+2
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-4/+6
2016-06-16Fix some more wrong includes.Andrei Karas1-2/+2
2016-06-13Fix includes and update deheader ci script.Andrei Karas1-1/+0
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-4/+4
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-10In OpenGL context creation add support for compatability context.Andrei Karas1-8/+22
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas1-0/+14
2014-06-24Add manual OpenGL context creation.Andrei Karas1-0/+38
For SDL2 set attributes for context version. For SDL1.2 in X11 create own context. For SDL1.2 and other platforms not implimented for now. Also try fallback if need to older context versions.
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-09-27fix code style and issues with different builds.Andrei Karas1-0/+1
2013-09-25allow use only first video mode on Android.Andrei Karas1-0/+8
2013-09-18add const to other files.Andrei Karas1-7/+8
2013-08-25fix compilation with SDL1.2Andrei Karas1-1/+1
2013-08-24move threads creation into sdl helper.Andrei Karas1-0/+6
2013-08-24move surface combination into sdlimagehelper.Andrei Karas1-1/+1
2013-08-24move WMInfo function calls into SDL helper.Andrei Karas1-0/+7
2013-08-24move some function to sdl helper.Andrei Karas1-0/+10
2013-08-24fix "grab input" in SDL2.Andrei Karas1-0/+5
2013-08-24fix window title and icon in SDL2.Andrei Karas1-0/+12
2013-08-24add sdlhelper with some low level SDL functions.Andrei Karas1-0/+64