mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 00:18:28 +00:00
Updated Xcode project for SDL_main as a header-only library
This commit is contained in:
@@ -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));
|
||||
|
||||
|
@@ -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 */
|
||||
|
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_main.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "common.h"
|
||||
|
||||
|
Reference in New Issue
Block a user