sdl2
Here are 2,221 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
Jun 17, 2021 - C++
-
Updated
Jun 15, 2021 - C++
-
Updated
Jun 15, 2021 - C++
-
Updated
Jun 16, 2021 - C++
Chinese Version
-
Updated
Apr 27, 2021 - Pascal
This issue has been discussed, but I will file it here to keep track of it.
In the current nightly build version of SuperTux (any OS) Tux's hat desyncs when he collects a powerup. The hat sprite starts at its first frame but the body starts at the frame that it is already at, causing the hat to jitter and desync until Tux takes a new action. This is especially noticeable when swimming, but happ
From the comment in SDL_filesystem.h:
Please call SDL_free() 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
Jun 17, 2021 - C
-
Updated
Jun 6, 2021 - C++
-
Updated
Feb 22, 2020 - C++
-
Updated
Jun 17, 2021 - C++
Refactor dropdowns
Currently, the Dropdown code resides in src/OpenLoco/Ui/Dropdown.cpp. Its variables are still using loco_global
wrappers to interopt with vanilla code. However, now that all windows that use dropdowns have been implemented, this is no longer necessary. This makes it possible to clea
-
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 30, 2020 - C
-
Updated
Jun 14, 2021 - C
-
Updated
Apr 20, 2021 - Objective-C
-
Updated
May 29, 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