Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_lowvideo.h @ 1336:3692456e7b0f
Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 06:59:48 +0000 |
parents | 450721ad5436 |
children | 19418e4422cb |
comparison
equal
deleted
inserted
replaced
1335:c39265384763 | 1336:3692456e7b0f |
---|---|
33 #define WINDIB_FULLSCREEN() \ | 33 #define WINDIB_FULLSCREEN() \ |
34 ( \ | 34 ( \ |
35 SDL_VideoSurface && \ | 35 SDL_VideoSurface && \ |
36 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | 36 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ |
37 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ | 37 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ |
38 ((strcmp(this->name, "windib") == 0) || \ | 38 ((SDL_strcmp(this->name, "windib") == 0) || \ |
39 (strcmp(this->name, "gapi") == 0))) \ | 39 (SDL_strcmp(this->name, "gapi") == 0))) \ |
40 ) | 40 ) |
41 #define DDRAW_FULLSCREEN() \ | 41 #define DDRAW_FULLSCREEN() \ |
42 ( \ | 42 ( \ |
43 SDL_VideoSurface && \ | 43 SDL_VideoSurface && \ |
44 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | 44 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ |
45 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ | 45 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ |
46 (strcmp(this->name, "directx") == 0) \ | 46 (SDL_strcmp(this->name, "directx") == 0) \ |
47 ) | 47 ) |
48 | 48 |
49 #define DINPUT_FULLSCREEN() DDRAW_FULLSCREEN() | 49 #define DINPUT_FULLSCREEN() DDRAW_FULLSCREEN() |
50 | 50 |
51 /* The main window -- and a function to set it for the audio */ | 51 /* The main window -- and a function to set it for the audio */ |