Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Sébastien de Graffenried

@seb_degraff@mastodon.gamedev.place
mastodon 4.7.3
  • Open on mastodon.gamedev.place

Game dev, from Switzerland. Working on Terraformers. Game jams, homemade game engine dev

96 Followers
272 Following
12 Posts
Joined December 18, 2022
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 2mo ago

I made a blogpost about my experience making a game in C for the Global Game Jam 2026 (better late than never!)

https://www.sebdegraff.com/posts/ggj_26.md.html

#gamedev #indiedev

sebdegraff.com
6
0
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 4mo ago

Enabled -Wimplicit-fallthrough on my engine+games codebase, and it solved a mystery for past seb!

3
0
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 5mo ago

I wish C functions and global variables would be "static" by default. I feel this is the common case, and it would make more sense to mark "public" or "exported" functions/variables

2
0
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to
@MikkoMononen@mastodon.gamedev.place Works perfectly!
1
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to
@MikkoMononen@mastodon.gamedev.place Indeed, replacing uid_t by something else gets it to compile. (Even though *_t identifiers are technically reserved, not cool of apple squat uid_t when you include stdlib.h!) The example runs and seems to work fine, thanks
1
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to

@MikkoMononen@mastodon.gamedev.place and then this one which I didn't look into:

In file included from /Users/seb/dev/data_inheritance/src/edit_gradient.c:4:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:66:
[...]
MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: error: typedef redefinition with different types ('__darwin_uid_t' (aka 'unsigned int') vs 'int32_t' (aka 'int'))
typedef __darwin_uid_t        uid_t;
0
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to
@MikkoMononen@mastodon.gamedev.place data_inheritance/src/utils.h:5:17: note: previous definition is here typedef int32_t uid_t;
0
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 2mo ago

Uh! I kind of expected clang to catch that unused variable.
Yes, it's technically modified, but I wouldn't say it's really "used"?

0
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 2mo ago

RE: @seb_degraff@mastodon.gamedev.place

I implemented a record+replay feature in C for the "interrogation" mechanic of our game jam game. I think it turned out quite well! More details in the blogpost

mastodon.gamedev.place
0
0
1
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to
@MikkoMononen@mastodon.gamedev.place Thanks for the article, this kind of stuff is super-valuable! I tried to build the project out of curiosity but got an error referring to a local path on your computer I believe. I'm a bit scared of CMake so I didn't dig deeper, but I thought I'd let you know!
0
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to
@MikkoMononen@mastodon.gamedev.place Oh sorry, shame on me for not RTFM! Configuration worked, but I had a bunch of compilation errors I didn't manage to fix. Maybe due to my somewhat old macos version and apple clang. I'll try on linux sometime!
0
1
0
0
Open post
Sébastien de Graffenried @seb_degraff@mastodon.gamedev.place
· 6mo ago
Replying to

@MikkoMononen@mastodon.gamedev.place Got this first, which I could solve by adding set(CMAKE_CXX_STANDARD 23) in CMakeLists.txt

In file included from /Users/seb/dev/data_inheritance/build/_deps/imgui_external-src/imgui_tables.cpp:198:
/Users/seb/dev/data_inheritance/build/_deps/imgui_external-src/imgui.h:303:5: error: unknown type name 'constexpr'
    constexpr ImVec2()                      : x(0.0f), y(0.0f) { }
0
1
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 01:02:56 UTC