Fixup for rl 3.7
This commit is contained in:
parent
a8d8d4b9bc
commit
004388133b
7 changed files with 23 additions and 24 deletions
|
|
@ -243,7 +243,7 @@ pub extern fn ImageAlphaClear(image: [*c]const Image, color: Color, threshold: f
|
|||
pub extern fn ImageAlphaMask(image: [*c]const Image, alphaMask: Image) void;
|
||||
pub extern fn ImageAlphaPremultiply(image: [*c]const Image) void;
|
||||
pub extern fn ImageResize(image: [*c]const Image, newWidth: c_int, newHeight: c_int) void;
|
||||
pub extern fn ImageResizeNN(image: [*c]const Image, newHeight: int newWidth,int) void;
|
||||
pub extern fn ImageResizeNN(image: [*c]const Image, newWidth: c_int, newHeight: c_int) void;
|
||||
pub extern fn ImageResizeCanvas(image: [*c]const Image, newWidth: c_int, newHeight: c_int, offsetX: c_int, offsetY: c_int, fill: Color) void;
|
||||
pub extern fn ImageMipmaps(image: [*c]const Image) void;
|
||||
pub extern fn ImageDither(image: [*c]const Image, rBpp: c_int, gBpp: c_int, bBpp: c_int, aBpp: c_int) void;
|
||||
|
|
@ -384,7 +384,7 @@ pub extern fn SetModelMeshMaterial(model: [*c]const Model, meshId: c_int, materi
|
|||
pub extern fn LoadModelAnimations(fileName: [*c]const u8, animsCount: [*c]const c_int) [*c]const ModelAnimation;
|
||||
pub extern fn UpdateModelAnimation(model: Model, anim: ModelAnimation, frame: c_int) void;
|
||||
pub extern fn UnloadModelAnimation(anim: ModelAnimation) void;
|
||||
pub extern fn UnloadModelAnimations(animations: ModelAnimation*, count: c_uint) void;
|
||||
pub extern fn UnloadModelAnimations(animations: [*c]const ModelAnimation, count: c_uint) void;
|
||||
pub extern fn IsModelAnimationValid(model: Model, anim: ModelAnimation) bool;
|
||||
pub extern fn GenMeshPoly(sides: c_int, radius: f32) Mesh;
|
||||
pub extern fn GenMeshPlane(width: f32, length: f32, resX: c_int, resZ: c_int) Mesh;
|
||||
|
|
@ -445,7 +445,7 @@ pub extern fn WaveCrop(wave: [*c]const Wave, initSample: c_int, finalSample: c_i
|
|||
pub extern fn LoadWaveSamples(wave: Wave) [*c]const f32;
|
||||
pub extern fn UnloadWaveSamples(samples: [*c]const f32) void;
|
||||
pub extern fn LoadMusicStream(fileName: [*c]const u8) Music;
|
||||
pub extern fn LoadMusicStreamFromMemory(fileType: [*c]const u8, data: unsigned char*, dataSize: c_int) Music;
|
||||
pub extern fn LoadMusicStreamFromMemory(fileType: [*c]const u8, data: [*c]const u8, dataSize: c_int) Music;
|
||||
pub extern fn UnloadMusicStream(music: Music) void;
|
||||
pub extern fn PlayMusicStream(music: Music) void;
|
||||
pub extern fn IsMusicPlaying(music: Music) bool;
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ pub const Camera3D = extern struct {
|
|||
target: Vector3,
|
||||
up: Vector3,
|
||||
fovy: f32,
|
||||
projection: c_int,
|
||||
projection: CameraProjection,
|
||||
|
||||
pub fn Begin(self: Camera3D) void {
|
||||
BeginMode3D(self);
|
||||
|
|
@ -541,7 +541,7 @@ pub const KeyboardKey = enum(c_int) {
|
|||
KEY_KP_ENTER = 335,
|
||||
KEY_KP_EQUAL = 336,
|
||||
KEY_BACK = 4,
|
||||
KEY_MENU = 82,
|
||||
//KEY_MENU = 82,
|
||||
KEY_VOLUME_UP = 24,
|
||||
KEY_VOLUME_DOWN = 25,
|
||||
};
|
||||
|
|
@ -772,10 +772,9 @@ pub const FILTER_POINT = TEXTURE_FILTER_POINT;
|
|||
pub const FILTER_BILINEAR = TEXTURE_FILTER_BILINEAR;
|
||||
pub const MAP_DIFFUSE = MATERIAL_MAP_DIFFUSE;
|
||||
pub const PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = PIXELFORMAT_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8;
|
||||
pub const SpriteFont = Font;
|
||||
|
||||
pub const MATERIAL_MAP_DIFFUSE = MATERIAL_MAP_ALBEDO;
|
||||
pub const MATERIAL_MAP_SPECULAR = MATERIAL_MAP_METALNESS;
|
||||
pub const MATERIAL_MAP_DIFFUSE = MaterialMapIndex.MATERIAL_MAP_ALBEDO;
|
||||
pub const MATERIAL_MAP_SPECULAR = MaterialMapIndex.MATERIAL_MAP_METALNESS;
|
||||
pub const SHADER_LOC_MAP_DIFFUSE = SHADER_LOC_MAP_ALBEDO;
|
||||
pub const SHADER_LOC_MAP_SPECULAR = SHADER_LOC_MAP_METALNESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue