Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Question about event handling

Name: Anonymous 2014-06-21 11:42

Let's say I use SDL (1.2 or 2.0) in my program to handle events, should I use callbacks or the good old giant switch statement?

Name: Anonymous 2014-06-23 6:39

>>83
Why are you even asking if you have already made up your mind?
Firstly I thinked of something like this after I made this thread
Second I am asking for a better solution since it feels ``shitty''

>>84
If this was the only problem in SDL it would be fine

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List