Skip to content
#

sdl2

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

xray-16
FreeZoneMods
FreeZoneMods commented Sep 14, 2021

CStateBurerAttackTele class uses CTelekinesis::get_objects_count method to iterate over all active objects. It's incorrect - this method does not return the total number of objects, but the number of objects in the TS_Keep and TS_Raise states. To get the total number of active objects we need to use CTelekinesis::get_objects_total_count.
So, we need to review every call of get_objects_count in

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

duncanspumpkin
duncanspumpkin commented Sep 1, 2021

#1129 introduced the gamestate structure and used it for all manager code. There are a lot of places where it should also be used for other code such as the objective options:

    static loco_global<uint8_t, 0x00526230> objectiveType;
    static loco_global<uint8_t, 0x00526231> objectiveFlags;
    static loco_global<uint32_t, 0x00526232> objectiveCompanyValue;
    static loco_global<ui
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
cdogs-sdl
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

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