Remove unneeded consts and overrides
This commit is contained in:
parent
90497a99be
commit
c63e1af6b6
1 changed files with 2 additions and 30 deletions
|
|
@ -94,17 +94,6 @@ cOverride:
|
||||||
of CONTROLLER_BINDTYPE_NONE:
|
of CONTROLLER_BINDTYPE_NONE:
|
||||||
discard
|
discard
|
||||||
|
|
||||||
Uint64* = uint64
|
|
||||||
Uint32* = uint32
|
|
||||||
Uint16* = uint16
|
|
||||||
Uint8* = uint8
|
|
||||||
|
|
||||||
Sint64* = int64
|
|
||||||
Sint32* = int32
|
|
||||||
Sint16* = int16
|
|
||||||
Sint8* = int8
|
|
||||||
Bool* = bool
|
|
||||||
|
|
||||||
cPluginPath(symbolPluginPath)
|
cPluginPath(symbolPluginPath)
|
||||||
|
|
||||||
static:
|
static:
|
||||||
|
|
@ -117,7 +106,7 @@ static:
|
||||||
when defined(SDL_Static):
|
when defined(SDL_Static):
|
||||||
cImport(SDL_Path, recurse = true, flags = "-f=ast2 -DDOXYGEN_SHOULD_IGNORE_THIS -E__,_ -F__,_")
|
cImport(SDL_Path, recurse = true, flags = "-f=ast2 -DDOXYGEN_SHOULD_IGNORE_THIS -E__,_ -F__,_")
|
||||||
else:
|
else:
|
||||||
cImport(SDL_Path, recurse = true, dynlib = "SDL_LPath", flags = "-f=ast2 -DDOXYGEN_SHOULD_IGNORE_THIS")
|
cImport(SDL_Path, recurse = true, dynlib = "SDL_LPath", flags = "-f=ast2 -DDOXYGEN_SHOULD_IGNORE_THIS -E__,_ -F__,_")
|
||||||
|
|
||||||
proc getDynlibExt(): string =
|
proc getDynlibExt(): string =
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
|
|
@ -145,21 +134,4 @@ const
|
||||||
BUTTON_MMASK* = sdl_button(BUTTON_MIDDLE)
|
BUTTON_MMASK* = sdl_button(BUTTON_MIDDLE)
|
||||||
BUTTON_RMASK* = sdl_button(BUTTON_RIGHT)
|
BUTTON_RMASK* = sdl_button(BUTTON_RIGHT)
|
||||||
BUTTON_X1MASK* = sdl_button(BUTTON_X1)
|
BUTTON_X1MASK* = sdl_button(BUTTON_X1)
|
||||||
BUTTON_X2MASK* = sdl_button(BUTTON_X2)
|
BUTTON_X2MASK* = sdl_button(BUTTON_X2)
|
||||||
|
|
||||||
HAPTIC_CONSTANT_TYPE* = (1 shl 0)
|
|
||||||
HAPTIC_SINE_TYPE* = (1 shl 1)
|
|
||||||
HAPTIC_LEFTRIGHT_TYPE* = (1 shl 2)
|
|
||||||
HAPTIC_TRIANGLE_TYPE* = (1 shl 3)
|
|
||||||
HAPTIC_SAWTOOTHUP_TYPE* = (1 shl 4)
|
|
||||||
HAPTIC_SAWTOOTHDOWN_TYPE* = (1 shl 5)
|
|
||||||
HAPTIC_RAMP_TYPE* = (1 shl 6)
|
|
||||||
HAPTIC_SPRING_TYPE* = (1 shl 7)
|
|
||||||
HAPTIC_DAMPER_TYPE* = (1 shl 8)
|
|
||||||
HAPTIC_INERTIA_TYPE* = (1 shl 9)
|
|
||||||
HAPTIC_FRICTION_TYPE* = (1 shl 10)
|
|
||||||
HAPTIC_CUSTOM_TYPE* = (1 shl 11)
|
|
||||||
HAPTIC_GAIN_TYPE* = (1 shl 12)
|
|
||||||
HAPTIC_AUTOCENTER_TYPE* = (1 shl 13)
|
|
||||||
HAPTIC_STATUS_TYPE* = (1 shl 14)
|
|
||||||
HAPTIC_PAUSE_TYPE* = (1 shl 15)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue