Skip to content
#

sdl

Here are 1,034 public repositories matching this topic...

Starbuck5
Starbuck5 commented Nov 22, 2021

In pygame 2.0, you can now put the arguments you would put into a pygame.Color object into any color field.

Despite this, I still see lots of code where people have a block at the top like:

WHITE = (255,255,255)
BLACK = (0,0,0)
BLUE = (0,0,255)

Even though that is now completely unnecessary, because pygame has named colors built in easily pass-able to functions.

So I though

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

cmaughan
cmaughan commented May 8, 2019

Is your feature request related to a problem? Please describe.
Standard mode has the usual keystrokes for notepad, but there are more that would probably be useful.

Describe the solution you'd like
As a first step, a quick review of the common keystrokes in notepad/wordpad/work, for example might throw up some obvious ones we could add

Mikolaj
Mikolaj commented Nov 15, 2021

both in LambdaHack and Allure. Currently the lines are divided by \n characters, but they are more readable presented as at

https://github.com/AllureOfTheStars/Allure/blob/3315a7195e27ed28a735841c61ee1f412ce99002/GameDefinition/Content/ModeKind.hs#L111

so this should be extended to each text in this file and its LambdaHack counterpart.

This is as easy issue as fixing typos, but improves

Improve this page

Add a description, image, and links to the sdl 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 sdl topic, visit your repo's landing page and select "manage topics."

Learn more