sorry pt2
This commit is contained in:
parent
c46d579bad
commit
e6f146abf1
|
@ -1 +0,0 @@
|
|||
{"rustc_fingerprint":1991518005844657253,"outputs":{"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/gallant/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.59.0 (9d1b2106e 2022-02-23)\nbinary: rustc\ncommit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a\ncommit-date: 2022-02-23\nhost: x86_64-unknown-linux-gnu\nrelease: 1.59.0\nLLVM version: 13.0.0\n","stderr":""},"5309432699494263626":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n","stderr":""}},"successes":{}}
|
|
@ -1,3 +0,0 @@
|
|||
Signature: 8a477f597d28d172789f06886806bc55
|
||||
# This file is a cache directory tag created by cargo.
|
||||
# For information about cache directory tags see https://bford.info/cachedir/
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
32dc165d83632b72
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\"]","target":7112745982619283648,"profile":12637318739757120569,"path":12170547054006938311,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/bitflags-1693f043aa7c36ab/dep-lib-bitflags"}}],"rustflags":[],"metadata":14564035643000669268,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
9129bba37aae0c83
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\"]","target":11441813575244509603,"profile":12637318739757120569,"path":8479361788269503490,"deps":[[2027952989180942924,"sdl2",false,14098326906367777931]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cat-box-6026c94c85a011b6/dep-lib-cat-box"}}],"rustflags":[],"metadata":6740228479860339055,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
ef85970c27b8458f
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[]","target":10094334937643343087,"profile":12637318739757120569,"path":16394855403311724421,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cfg-if-0a04e74fc4f21d18/dep-lib-cfg-if"}}],"rustflags":[],"metadata":8462187951337715540,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
fa4170f7ab7c2bdc
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[]","target":8454979698568635467,"profile":9251013656241001069,"path":1684066648322511884,"deps":[[2027952989180942924,"sdl2",false,14098326906367777931],[5910892534286594076,"rand",false,14523161439081665212],[14756909549871627071,"cat_box",false,9443114360445282705]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/game_test-e94e74a96f0400aa/dep-bin-game_test"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
749cb9601243e178
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"std\"]","target":13546511942750895132,"profile":12637318739757120569,"path":2848868357737848961,"deps":[[2452538001284770427,"cfg_if",false,10323860198671222255],[5071438224780403860,"libc",false,16464547433209305390]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/getrandom-92edb74c54255a85/dep-lib-getrandom"}}],"rustflags":[],"metadata":12606519392706294666,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
eec32948dc3b88c4
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[]","target":6139664849541123785,"profile":12637318739757120569,"path":2069028011875263433,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lazy_static-02ff0d0fbc57b9b4/dep-lib-lazy_static"}}],"rustflags":[],"metadata":111743654650316589,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
c358ab08bfa86d57
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"","target":0,"profile":0,"path":0,"deps":[[5071438224780403860,"build_script_build",false,14819899531044765641]],"local":[{"RerunIfChanged":{"output":"debug/build/libc-ddc543d44ec3dd51/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
2e990258a8d27de4
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"std\"]","target":15721753382687865320,"profile":12637318739757120569,"path":12601931214422439203,"deps":[[5071438224780403860,"build_script_build",false,6299876992198858947]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-de47093471b727ab/dep-lib-libc"}}],"rustflags":[],"metadata":14998826085014762512,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
c9bfe6b21adcaacd
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"std\"]","target":2709041430195671023,"profile":12637318739757120569,"path":9868279468468103737,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-de576f3ef118e37b/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":14998826085014762512,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
c22285ea46e1fc2e
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"simd\", \"std\"]","target":731041848731596649,"profile":12637318739757120569,"path":18285836364833475881,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/ppv-lite86-f422879e062f51ad/dep-lib-ppv-lite86"}}],"rustflags":[],"metadata":14155036307809790115,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
bc121dc061a28cc9
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"alloc\", \"default\", \"getrandom\", \"libc\", \"rand_chacha\", \"std\", \"std_rng\"]","target":8770996785908029621,"profile":12637318739757120569,"path":9239835490074310541,"deps":[[1974880700686797828,"rand_core",false,12513742845592238829],[5071438224780403860,"libc",false,16464547433209305390],[12017018019769837221,"rand_chacha",false,17164531046581280702]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/rand-a5824744e5338355/dep-lib-rand"}}],"rustflags":[],"metadata":16964019146302480911,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
be1fa4970baa34ee
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"std\"]","target":10091652985973831551,"profile":12637318739757120569,"path":5728894798552985481,"deps":[[1974880700686797828,"rand_core",false,12513742845592238829],[6749292461404294239,"ppv_lite86",false,3385828714574324418]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/rand_chacha-9f5c362d18cbfdd5/dep-lib-rand_chacha"}}],"rustflags":[],"metadata":2235018391756195449,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
ed7a1c42d1bea9ad
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"alloc\", \"getrandom\", \"std\"]","target":14554634924080965175,"profile":12637318739757120569,"path":6409972178359997063,"deps":[[9767896882406009942,"getrandom",false,8710316900522499188]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/rand_core-b3b0f8f40cacdd69/dep-lib-rand_core"}}],"rustflags":[],"metadata":3275543247315060703,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
693b212dbed841f6
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"image\", \"ttf\"]","target":2709041430195671023,"profile":12637318739757120569,"path":1834896383086156348,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/sdl2-1561407daacea9e2/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":3204612833656974723,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
9001f311ac167d0f
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"","target":0,"profile":0,"path":0,"deps":[[2027952989180942924,"build_script_build",false,17744702318129003369],[17382268157316343340,"build_script_build",false,1595607969756947245]],"local":[{"Precalculated":"0.35.2"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
8b1c620da051a7c3
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"image\", \"ttf\"]","target":11537901402046197358,"profile":12637318739757120569,"path":1258407295479766387,"deps":[[2027952989180942924,"build_script_build",false,1116073210949075344],[5071438224780403860,"libc",false,16464547433209305390],[6685014296130524576,"lazy_static",false,14161634845556065262],[14051957667571541382,"bitflags",false,8226778560175987762],[17382268157316343340,"sdl2_sys",false,17963007224652852306]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/sdl2-774185ff44ff8d40/dep-lib-sdl2"}}],"rustflags":[],"metadata":3204612833656974723,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
2d23259efebc2416
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"","target":0,"profile":0,"path":0,"deps":[[17382268157316343340,"build_script_build",false,12854095600731032120]],"local":[{"Precalculated":"0.35.2"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
526c3513e66b49f9
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"image\", \"ttf\"]","target":4163049214512897365,"profile":12637318739757120569,"path":10998664449434206481,"deps":[[5071438224780403860,"libc",false,16464547433209305390],[17382268157316343340,"build_script_build",false,1595607969756947245]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/sdl2-sys-da2a9db1fae2b433/dep-lib-sdl2_sys"}}],"rustflags":[],"metadata":12671436704077421273,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
380a7c4ed8eb62b2
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[\"default\", \"image\", \"ttf\"]","target":13294766831966498538,"profile":12637318739757120569,"path":16104113558099043900,"deps":[[720735588919859894,"version_compare",false,4785973664892435636],[2452538001284770427,"cfg_if",false,10323860198671222255]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/sdl2-sys-ebfe185d1c37cd3b/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":12671436704077421273,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
b4bc49e8b0316b42
|
|
@ -1 +0,0 @@
|
|||
{"rustc":14330414595928666026,"features":"[]","target":17443050515150725052,"profile":12637318739757120569,"path":7915317770023699388,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/version-compare-00af566e309f576b/dep-lib-version-compare"}}],"rustflags":[],"metadata":1144377052308559650,"config":2202906307356721367,"compile_kind":0}
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1,13 +0,0 @@
|
|||
cargo:rerun-if-changed=build.rs
|
||||
cargo:rustc-cfg=freebsd11
|
||||
cargo:rustc-cfg=libc_priv_mod_use
|
||||
cargo:rustc-cfg=libc_union
|
||||
cargo:rustc-cfg=libc_const_size_of
|
||||
cargo:rustc-cfg=libc_align
|
||||
cargo:rustc-cfg=libc_int128
|
||||
cargo:rustc-cfg=libc_core_cvoid
|
||||
cargo:rustc-cfg=libc_packedN
|
||||
cargo:rustc-cfg=libc_cfg_target_vendor
|
||||
cargo:rustc-cfg=libc_non_exhaustive
|
||||
cargo:rustc-cfg=libc_ptr_addr_of
|
||||
cargo:rustc-cfg=libc_underscore_const_names
|
|
@ -1 +0,0 @@
|
|||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/libc-ddc543d44ec3dd51/out
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/libc-de576f3ef118e37b/build_script_build-de576f3ef118e37b: /home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.125/build.rs
|
||||
|
||||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/libc-de576f3ef118e37b/build_script_build-de576f3ef118e37b.d: /home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.125/build.rs
|
||||
|
||||
/home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.125/build.rs:
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/sdl2-1561407daacea9e2/build_script_build-1561407daacea9e2: /home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.35.2/build.rs
|
||||
|
||||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/sdl2-1561407daacea9e2/build_script_build-1561407daacea9e2.d: /home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.35.2/build.rs
|
||||
|
||||
/home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.35.2/build.rs:
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
|
@ -1 +0,0 @@
|
|||
/home/gallant/Documents/git/youareanidiot/target/debug/build/sdl2-252d6b93eaa2e96a/out
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
File diff suppressed because it is too large
Load diff
|
@ -1,181 +0,0 @@
|
|||
/* automatically generated by rust-bindgen */
|
||||
|
||||
use crate::*;
|
||||
|
||||
pub type __uint8_t = libc::c_uchar;
|
||||
pub type __uint32_t = libc::c_uint;
|
||||
pub type __int64_t = libc::c_long;
|
||||
pub type __off_t = libc::c_long;
|
||||
pub type __off64_t = libc::c_long;
|
||||
pub type Uint8 = u8;
|
||||
pub type Uint32 = u32;
|
||||
pub type Sint64 = i64;
|
||||
extern "C" {
|
||||
pub fn IMG_Linked_Version() -> *const SDL_version;
|
||||
}
|
||||
pub const IMG_InitFlags_IMG_INIT_JPG: IMG_InitFlags = 1;
|
||||
pub const IMG_InitFlags_IMG_INIT_PNG: IMG_InitFlags = 2;
|
||||
pub const IMG_InitFlags_IMG_INIT_TIF: IMG_InitFlags = 4;
|
||||
pub const IMG_InitFlags_IMG_INIT_WEBP: IMG_InitFlags = 8;
|
||||
pub type IMG_InitFlags = u32;
|
||||
extern "C" {
|
||||
pub fn IMG_Init(flags: libc::c_int) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_Quit();
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTyped_RW(
|
||||
src: *mut SDL_RWops,
|
||||
freesrc: libc::c_int,
|
||||
type_: *const libc::c_char,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_Load(file: *const libc::c_char) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_Load_RW(src: *mut SDL_RWops, freesrc: libc::c_int) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTexture(
|
||||
renderer: *mut SDL_Renderer,
|
||||
file: *const libc::c_char,
|
||||
) -> *mut SDL_Texture;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTexture_RW(
|
||||
renderer: *mut SDL_Renderer,
|
||||
src: *mut SDL_RWops,
|
||||
freesrc: libc::c_int,
|
||||
) -> *mut SDL_Texture;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTextureTyped_RW(
|
||||
renderer: *mut SDL_Renderer,
|
||||
src: *mut SDL_RWops,
|
||||
freesrc: libc::c_int,
|
||||
type_: *const libc::c_char,
|
||||
) -> *mut SDL_Texture;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isICO(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isCUR(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isBMP(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isGIF(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isJPG(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isLBM(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isPCX(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isPNG(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isPNM(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isSVG(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isTIF(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isXCF(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isXPM(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isXV(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_isWEBP(src: *mut SDL_RWops) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadICO_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadCUR_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadBMP_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadGIF_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadJPG_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadLBM_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadPCX_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadPNG_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadPNM_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadSVG_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTGA_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadTIF_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadXCF_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadXPM_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadXV_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_LoadWEBP_RW(src: *mut SDL_RWops) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_ReadXPMFromArray(xpm: *mut *mut libc::c_char) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_SavePNG(surface: *mut SDL_Surface, file: *const libc::c_char) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_SavePNG_RW(
|
||||
surface: *mut SDL_Surface,
|
||||
dst: *mut SDL_RWops,
|
||||
freedst: libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_SaveJPG(
|
||||
surface: *mut SDL_Surface,
|
||||
file: *const libc::c_char,
|
||||
quality: libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn IMG_SaveJPG_RW(
|
||||
surface: *mut SDL_Surface,
|
||||
dst: *mut SDL_RWops,
|
||||
freedst: libc::c_int,
|
||||
quality: libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
|
@ -1,287 +0,0 @@
|
|||
/* automatically generated by rust-bindgen */
|
||||
|
||||
use crate::*;
|
||||
|
||||
pub const TTF_MAJOR_VERSION: u32 = 2;
|
||||
pub const TTF_MINOR_VERSION: u32 = 0;
|
||||
pub const TTF_PATCHLEVEL: u32 = 15;
|
||||
pub const TTF_STYLE_NORMAL: u32 = 0;
|
||||
pub const TTF_STYLE_BOLD: u32 = 1;
|
||||
pub const TTF_STYLE_ITALIC: u32 = 2;
|
||||
pub const TTF_STYLE_UNDERLINE: u32 = 4;
|
||||
pub const TTF_STYLE_STRIKETHROUGH: u32 = 8;
|
||||
pub const TTF_HINTING_NORMAL: u32 = 0;
|
||||
pub const TTF_HINTING_LIGHT: u32 = 1;
|
||||
pub const TTF_HINTING_MONO: u32 = 2;
|
||||
pub const TTF_HINTING_NONE: u32 = 3;
|
||||
pub type __uint8_t = libc::c_uchar;
|
||||
pub type __uint16_t = libc::c_ushort;
|
||||
pub type __uint32_t = libc::c_uint;
|
||||
pub type __int64_t = libc::c_long;
|
||||
pub type __off_t = libc::c_long;
|
||||
pub type __off64_t = libc::c_long;
|
||||
pub type Uint8 = u8;
|
||||
pub type Uint16 = u16;
|
||||
pub type Uint32 = u32;
|
||||
pub type Sint64 = i64;
|
||||
extern "C" {
|
||||
pub fn TTF_Linked_Version() -> *const SDL_version;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_ByteSwappedUNICODE(swapped: libc::c_int);
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct _TTF_Font {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
pub type TTF_Font = _TTF_Font;
|
||||
extern "C" {
|
||||
pub fn TTF_Init() -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_OpenFont(file: *const libc::c_char, ptsize: libc::c_int) -> *mut TTF_Font;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_OpenFontIndex(
|
||||
file: *const libc::c_char,
|
||||
ptsize: libc::c_int,
|
||||
index: libc::c_long,
|
||||
) -> *mut TTF_Font;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_OpenFontRW(
|
||||
src: *mut SDL_RWops,
|
||||
freesrc: libc::c_int,
|
||||
ptsize: libc::c_int,
|
||||
) -> *mut TTF_Font;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_OpenFontIndexRW(
|
||||
src: *mut SDL_RWops,
|
||||
freesrc: libc::c_int,
|
||||
ptsize: libc::c_int,
|
||||
index: libc::c_long,
|
||||
) -> *mut TTF_Font;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontStyle(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SetFontStyle(font: *mut TTF_Font, style: libc::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontOutline(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SetFontOutline(font: *mut TTF_Font, outline: libc::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontHinting(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SetFontHinting(font: *mut TTF_Font, hinting: libc::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontHeight(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontAscent(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontDescent(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontLineSkip(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontKerning(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SetFontKerning(font: *mut TTF_Font, allowed: libc::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontFaces(font: *const TTF_Font) -> libc::c_long;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontFaceIsFixedWidth(font: *const TTF_Font) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontFaceFamilyName(font: *const TTF_Font) -> *mut libc::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_FontFaceStyleName(font: *const TTF_Font) -> *mut libc::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GlyphIsProvided(font: *const TTF_Font, ch: Uint16) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GlyphMetrics(
|
||||
font: *mut TTF_Font,
|
||||
ch: Uint16,
|
||||
minx: *mut libc::c_int,
|
||||
maxx: *mut libc::c_int,
|
||||
miny: *mut libc::c_int,
|
||||
maxy: *mut libc::c_int,
|
||||
advance: *mut libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SizeText(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
w: *mut libc::c_int,
|
||||
h: *mut libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SizeUTF8(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
w: *mut libc::c_int,
|
||||
h: *mut libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_SizeUNICODE(
|
||||
font: *mut TTF_Font,
|
||||
text: *const Uint16,
|
||||
w: *mut libc::c_int,
|
||||
h: *mut libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderText_Solid(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUTF8_Solid(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUNICODE_Solid(
|
||||
font: *mut TTF_Font,
|
||||
text: *const Uint16,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderGlyph_Solid(
|
||||
font: *mut TTF_Font,
|
||||
ch: Uint16,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderText_Shaded(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
bg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUTF8_Shaded(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
bg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUNICODE_Shaded(
|
||||
font: *mut TTF_Font,
|
||||
text: *const Uint16,
|
||||
fg: SDL_Color,
|
||||
bg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderGlyph_Shaded(
|
||||
font: *mut TTF_Font,
|
||||
ch: Uint16,
|
||||
fg: SDL_Color,
|
||||
bg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderText_Blended(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUTF8_Blended(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUNICODE_Blended(
|
||||
font: *mut TTF_Font,
|
||||
text: *const Uint16,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderText_Blended_Wrapped(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
wrapLength: Uint32,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUTF8_Blended_Wrapped(
|
||||
font: *mut TTF_Font,
|
||||
text: *const libc::c_char,
|
||||
fg: SDL_Color,
|
||||
wrapLength: Uint32,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderUNICODE_Blended_Wrapped(
|
||||
font: *mut TTF_Font,
|
||||
text: *const Uint16,
|
||||
fg: SDL_Color,
|
||||
wrapLength: Uint32,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_RenderGlyph_Blended(
|
||||
font: *mut TTF_Font,
|
||||
ch: Uint16,
|
||||
fg: SDL_Color,
|
||||
) -> *mut SDL_Surface;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_CloseFont(font: *mut TTF_Font);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_Quit();
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_WasInit() -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontKerningSize(
|
||||
font: *mut TTF_Font,
|
||||
prev_index: libc::c_int,
|
||||
index: libc::c_int,
|
||||
) -> libc::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn TTF_GetFontKerningSizeGlyphs(
|
||||
font: *mut TTF_Font,
|
||||
previous_ch: Uint16,
|
||||
ch: Uint16,
|
||||
) -> libc::c_int;
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
cargo:include=/home/gallant/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/SDL/include
|
||||
cargo:rustc-flags=-l SDL2
|
||||
cargo:rustc-flags=-l SDL2_image
|
||||
cargo:rustc-flags=-l SDL2_ttf
|
|
@ -1 +0,0 @@
|
|||
/home/gallant/Documents/RustProjects/game_test/target/debug/build/sdl2-sys-95684d10a9311044/out
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue