sdl2
Here are 2,039 public repositories matching this topic...
This function needs a unit test.
Guide to how to contribute to an open source project on GitHub.
Test stub: https://github.com/pygame/pygame/blob/main/test/display_test.py#L255-L274
Docs: https://www.pygame.org/docs/ref/display.html#pygame.display.gl_set_attribute
Code to be tested: https://github.com/pygame/pygame/bl
-
Updated
Mar 5, 2021 - C++
-
Updated
Mar 7, 2021 - C++
-
Updated
Feb 16, 2021 - C++
-
Updated
Mar 6, 2021 - C++
-
Updated
Mar 6, 2021 - Pascal
Chinese Version
Lately we decided to make rock tiles non-solid (#1609).
I found that confusing as they still looked solid to me (perhaps I was still used to playing this game with rocks being solid). The black border around the rock and the fact that it's somewhat bulky made me think it was something we could jump on :
 on the pointer when you are done with it
When building the project with MSVC, I ran into some debug heap asserts early into the program startup.
The culprit appears to be the code in m_config.c
that does free(prefdir)
as changing these to SDL_free(prefdir)
resolved the issue.
I'm not sure what to do about `GetDefaultConfi
-
Updated
Mar 7, 2021 - C
-
Updated
Mar 7, 2021 - C++
-
Updated
Feb 22, 2020 - C++
-
Updated
Mar 7, 2021 - C++
Several header files are including StringIds.h, which necessitates a near-full recompile of the source tree when a string is added. We should try to keep this inclusion to .cpp files only.
src/OpenLoco/Window.h:#include "Localisation/StringIds.h"
src/OpenLoco/Window.h: static constexpr widget_t makeWidget(Gfx::point_t origin, Gfx::ui_size_t size, widget_type type, uint8_t colour, uint3
-
Updated
Jul 15, 2019 - C++
Via playtesting, the compass arrows (#29) were ignored, likely because they are right at the edge and outside the player's attention. If they are moved slightly inwards, they may become more noticeable.
Games that have these arrows also tend to draw them closer to the player rather than near the edge; e.g.
- GTA 1 & 2
- Fire Fight
- Crazy Taxi
This issue is a continuation of #776.
We are happy for new translators to join-in - leave a comment!
Right now, DOSBox Staging has its own, legacy, quirky translation system based on "language files". To test it, you need to obtain a language file from somewhere, copy it to DOSBox Staging config directory and set e.g.:
[dosbox]
language = fr_FR.lng
[autoexec]
keyb fr
The reasons why this header file lives outside of game_logic
don't apply anymore. It would make things simpler if it was merged into the other "global" file.
-
Updated
Dec 19, 2020 - C
-
Updated
Dec 30, 2020 - C
-
Updated
Mar 6, 2021 - C++
-
Updated
Mar 7, 2021 - C
Improve this page
Add a description, image, and links to the sdl2 topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sdl2 topic, visit your repo's landing page and select "manage topics."
We currently use a macro for writing down a money amount as a literal. We should move to a more modern C++ representation with a user defined literal like the below:
Go through the codebase and replace all MONEY macro uses with the equivalent version. You m