project_files/hwc/rtl/fpcrtl.h
branchsdl2transition
changeset 11359 c481d087f653
parent 10129 cd2a64a1f4aa
child 11405 fac466eb0c4d
equal deleted inserted replaced
11358:a91c4c4fd85c 11359:c481d087f653
   108 #define sdlh_Mix_ResumeMusic                stub_Mix_ResumeMusic
   108 #define sdlh_Mix_ResumeMusic                stub_Mix_ResumeMusic
   109 #define sdlh_Mix_Volume                     stub_Mix_Volume
   109 #define sdlh_Mix_Volume                     stub_Mix_Volume
   110 #define sdlh_Mix_VolumeMusic                stub_Mix_VolumeMusic
   110 #define sdlh_Mix_VolumeMusic                stub_Mix_VolumeMusic
   111 #endif
   111 #endif
   112 
   112 
       
   113 #define sdlh_SDL_free                       SDL_free
   113 #define sdlh_SDL_ConvertSurface             SDL_ConvertSurface
   114 #define sdlh_SDL_ConvertSurface             SDL_ConvertSurface
   114 #define sdlh_SDL_CreateRGBSurface           SDL_CreateRGBSurface
   115 #define sdlh_SDL_CreateRGBSurface           SDL_CreateRGBSurface
   115 #define sdlh_SDL_CreateThread               SDL_CreateThread
   116 #define sdlh_SDL_CreateThread               SDL_CreateThread
   116 #define sdlh_SDL_Delay                      SDL_Delay
   117 #define sdlh_SDL_Delay                      SDL_Delay
   117 #define sdlh_SDL_EnableKeyRepeat            SDL_EnableKeyRepeat
   118 #define sdlh_SDL_EnableKeyRepeat            SDL_EnableKeyRepeat
   118 #define sdlh_SDL_EnableUNICODE              SDL_EnableUNICODE
   119 #define sdlh_SDL_EnableUNICODE              SDL_EnableUNICODE
   119 #define sdlh_SDL_FillRect                   SDL_FillRect
   120 #define sdlh_SDL_FillRect                   SDL_FillRect
   120 #define sdlh_SDL_FreeSurface                SDL_FreeSurface
   121 #define sdlh_SDL_FreeSurface                SDL_FreeSurface
   121 #define sdlh_SDL_GetError                   SDL_GetError
   122 #define sdlh_SDL_GetError                   SDL_GetError
   122 #define sdlh_SDL_GetKeyName                 SDL_GetKeyName
   123 #define sdlh_SDL_GetKeyName                 SDL_GetKeyName
   123 #define sdlh_SDL_GetKeyState                SDL_GetKeyState
   124 #define sdlh_SDL_GetKeyboardState           SDL_GetKeyboardState
   124 #define sdlh_SDL_GetMouseState              SDL_GetMouseState
   125 #define sdlh_SDL_GetMouseState              SDL_GetMouseState
   125 #define sdlh_SDL_GetRGBA                    SDL_GetRGBA
   126 #define sdlh_SDL_GetRGBA                    SDL_GetRGBA
   126 #define sdlh_SDL_GetTicks                   SDL_GetTicks
   127 #define sdlh_SDL_GetTicks                   SDL_GetTicks
   127 #define sdlh_SDL_GL_SetAttribute            SDL_GL_SetAttribute
   128 #define sdlh_SDL_GL_SetAttribute            SDL_GL_SetAttribute
   128 #define sdlh_SDL_GL_SwapBuffers             SDL_GL_SwapBuffers
   129 #define sdlh_SDL_GL_SwapBuffers             SDL_GL_SwapBuffers
   146 #define sdlh_SDL_SetColorKey                SDL_SetColorKey
   147 #define sdlh_SDL_SetColorKey                SDL_SetColorKey
   147 #define sdlh_SDL_SetVideoMode               SDL_SetVideoMode
   148 #define sdlh_SDL_SetVideoMode               SDL_SetVideoMode
   148 #define sdlh_SDL_WaitThread                 SDL_WaitThread
   149 #define sdlh_SDL_WaitThread                 SDL_WaitThread
   149 #define sdlh_SDL_CreateMutex                SDL_CreateMutex
   150 #define sdlh_SDL_CreateMutex                SDL_CreateMutex
   150 #define sdlh_SDL_DestroyMutex               SDL_DestroyMutex
   151 #define sdlh_SDL_DestroyMutex               SDL_DestroyMutex
   151 #define SDL_LockMutex                       SDL_mutexP
   152 #define sdlh_SDL_LockMutex                  SDL_LockMutex
   152 #define SDL_UnlockMutex                     SDL_mutexV
   153 #define sdlh_SDL_UnlockMutex                SDL_UnlockMutex
   153 #ifndef EMSCRIPTEN
   154 #ifndef EMSCRIPTEN
   154 #define sdlh_SDL_ShowCursor                 SDL_ShowCursor
   155 #define sdlh_SDL_ShowCursor                 SDL_ShowCursor
   155 #else
   156 #else
   156 #define sdlh_SDL_ShowCursor                 SDL_ShowCursor_patch
   157 #define sdlh_SDL_ShowCursor                 SDL_ShowCursor_patch
   157 #endif
   158 #endif