Updated Xcode project for SDL_main as a header-only library

This commit is contained in:
Sam Lantinga committed 2022-12-15 10:53:44 -08:00
1 parent ab554c8392
commit 5a45d2e58b
5 files changed
+32 -127

No files matched your search

-2
View File
@@ -187,8 +187,6 @@ main(int argc, char *argv[])
SDL_JoystickNumAxes(accelerometer));
printf("joystick number of hats = %d\n",
SDL_JoystickNumHats(accelerometer));
printf("joystick number of balls = %d\n",
SDL_JoystickNumBalls(accelerometer));
printf("joystick number of buttons = %d\n",
SDL_JoystickNumButtons(accelerometer));
+1
View File
@@ -9,6 +9,7 @@
#include <SDL3/SDL_opengles.h>
#include "common.h"
#include <math.h>
#include <stdlib.h>
#include <time.h>
#define ACCEL 0.0001f /* acceleration due to gravity, units in pixels per millesecond squared */
+1
View File
@@ -6,6 +6,7 @@
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
#include <stdlib.h>
#include <time.h>
#include "common.h"