Skip to content
#

sdl2

Here are 2,221 public repositories matching this topic...

duncanspumpkin
duncanspumpkin commented Feb 14, 2021

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:

constexpr money32 operator"" _GBP(long double money)
{
    return money * 10;
}

static_assert(MONEY(2, 40) == 2.40_GBP);

Go through the codebase and replace all MONEY macro uses with the equivalent version. You m

weluvgoatz
weluvgoatz commented Apr 10, 2021

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

zx64
zx64 commented Dec 1, 2018

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

cxong
cxong commented Jun 14, 2016

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
dosbox-staging
dreamer
dreamer commented Feb 12, 2021

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

Improve this page

Add a description, image, and links to the sdl2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sdl2 topic, visit your repo's landing page and select "manage topics."

Learn more