New paste Repaste Download
void player_draw(PLAYER *p, float dt){
    
    if(!(p->flags & PLAYER_FLAG_GROUND)){
        anim_draw(&higgins_anim[ANIM_HIGGINS_JUMPING], p->x, p->y, dt, (int)p->dir);
    }else{
        anim_draw(&higgins_anim[ANIM_HIGGINS_WALKING], p->x, p->y, dt, (int)p->dir);
    }
    al_draw_rectangle(p->x, p->y, p->x + 16, p->y + 16, al_map_rgba(255,255,0,255), 1.0f);
}
Filename: None. Size: 377b. View raw, , hex, or download this file.
static bool addon_require(bool ok, const char *name){
if(!ok){
LOG("%s Failed to Load!", name);
return false;
}
LOG("%s Sucessfully Loaded!", name);
return true;
}
void allegro_initialize(void){
if(!al_init()){
DBG("Allegro Failed to Initialize!");
return;
}
al_install_keyboard();
al_install_mouse();
addon_require(al_init_image_addon(), "Image ADDON");
addon_require(al_init_font_addon(), "Font ADDON");
addon_require(al_init_ttf_addon(), "TTF ADDON");
addon_require(al_init_primitives_addon(), "Primitives ADDON");
addon_require(al_init_native_dialog_addon(), "Dialog ADDON");
}
Filename: init.c. Size: 632b. View raw, , hex, or download this file.
[LOG]: ai_main.c:183: Image ADDON Sucessfully Loaded!
[LOG]: ai_main.c:183: Font ADDON Sucessfully Loaded!
[LOG]: ai_main.c:183: TTF ADDON Sucessfully Loaded!
[LOG]: ai_main.c:183: Primitives ADDON Sucessfully Loaded!
[LOG]: ai_main.c:183: Dialog ADDON Sucessfully Loaded!
[LOG]: ai_main.c:274: Spritesheet: assets//dino01.bmp Loaded
[LOG]: ai_main.c:274: Spritesheet: assets//higgins1.bmp Loaded
[LOG]: ai_main.c:274: Spritesheet: assets//axe.bmp Loaded
Filename: output.txt. Size: 461b. View raw, , hex, or download this file.
-- [Allegro] Allegro Version: [5.2.11]
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed
WARNING: FreeImage not found, disabling support
-- Could NOT find OPENSL (missing: OPENSL_INCLUDE_DIR OPENSL_LIBRARY)
-- Could NOT find DUMB (missing: DUMB_INCLUDE_DIR DUMB_LIBRARY)
WARNING: libdumb >= 2.0 or <= 0.9.3 not found or compile test failed, disabling support. See <https://github.com/kode54/dumb> for 2.0 or <http://dumb.sourceforge.net/> for 0.9.3.
-- Could NOT find OPUS (missing: OPUS_INCLUDE_DIR OPUSFILE_LIBRARY)
WARNING: libopus not found or compile test failed, disabling support.
-- Could NOT find MiniMP3 (missing: MINIMP3_INCLUDE_DIRS)
WARNING: minimp3 was not found
-- Could NOT find THEORA (missing: THEORA_INCLUDE_DIR THEORA_LIBRARY)
WARNING: allegro_video wanted but no supported backend found
-- Not building ex_video
-- Could NOT find ENET (missing: ENET_INCLUDE_DIR ENET_LIBRARY)
-- Could NOT find LATEX (missing: LATEX_COMPILER)
-- Using git to determine git ref for documentation.
-- Using 9e58c5e03af16810e8cfecec719e69ce4a76b49b as the git ref for source links in the documentation.
===========================
Configuration summary
===========================
- OpenGL: Desktop
- Primitives addon: yes  <-------------------------------------
- Image addon: yes
- FreeImage: NO
- libpng: yes
- libjpeg: yes
- libwebp: yes
- Font addon: yes
- Audio addon: yes
- OSS: yes
- PulseAudio: yes
- ALSA: yes
- OpenAL: yes
- OpenSL: NO
- Acodec addon: yes
- FLAC: yes
- DUMB: NO
- OpenMPT: yes
- Ogg/Vorbis: yes
- Opus: NO
- MP3: NO
- TTF addon: yes
- Color addon: yes
- Memfile addon: yes
- PhysFS addon: yes
- Native Dialog addon: yes
- Video addon: NO
===========================
-- Configuring done (0.5s)
-- Generating done (0.8s)
Filename: build.log. Size: 2kb. View raw, , hex, or download this file.

This paste expires on 2026-05-01 17:19:57.866772+00:00. Pasted through web.