sdl2
Here are 2,515 public repositories matching this topic...
So, it seems that Rect is iterable and you can do
r = Rect(0, 1, 2, 3)
x, y, w, h = rHowever I do not see this documented anywhere, nor exposed in the type hints. Thus, Mypy complains but the code works.
Is this an oversight, or is this feature not supposed to be used?
-
Updated
Dec 23, 2021 - C++
-
Updated
Dec 22, 2021 - C++
Improve Website
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: don't know
**Reported for operating system,
-
Updated
Dec 22, 2021 - C++
Chinese Version
This idea is about how there should be a configurable script that can be edited by the level designer (like the init-script for sectors) and activates when the player leaves the level (Presses "Abort Level"). I am aware this already exists in the worldmap editor, but if there was a version that could affect saved variables in the levels that would be great.
-
Updated
Nov 25, 2021 - Pascal
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
Dec 22, 2021 - C
-
Updated
Dec 15, 2021 - C++
-
Updated
Dec 21, 2021 - C++
-
Updated
Feb 22, 2020 - C++
-
Updated
Dec 21, 2021 - C++
-
Updated
Jul 15, 2019 - C++
Looking at the LS command that is now included with Dosbox-Staging, the following switches would also be useful to have included as well if that's possible:
-d, --directory list directories themselves, not their contents
-h, --human-readable
-l, use a long listing format
-R, --recursive list subdirectories recursively
-X, sort alphabetically by entry extension
https://www.man7.org
Spelling of the word "viewport" is inconsistent in the code, sometimes it's spelled viewPort and sometimes viewport. It would be nice to make it consistent.
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
-
Updated
Dec 23, 2021 - C
-
Updated
Dec 19, 2021 - C++
-
Updated
Jul 20, 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."

There are many places where a bound_box is declared for flat rides, i.e.
swinging_ship_bound_box,rct_crooked_house_bound_box, etc. To avoid code duplication, aBoundBoxXYstructure should be declared withCoordsXY OffsetandCoordsXY Lengthfields.