Christian Kroll
9 years ago
7 changed files with 88 additions and 1 deletions
@ -0,0 +1,25 @@ |
|||
# This file eases the integration of your personal animations which are not
|
|||
# meant to be included in the official Borgware-2D repository.
|
|||
#
|
|||
# Just add your own source files to the SRC variable (checking for options
|
|||
# introduced in your config.in file) as shown in the commented samples.
|
|||
|
|||
MAKETOPDIR = ../.. |
|||
|
|||
TARGET = libuser.a |
|||
|
|||
include $(MAKETOPDIR)/defaults.mk |
|||
|
|||
|
|||
# ifeq ($(ANIMATION_MY_SIMPLE_ANIM),y)
|
|||
# SRC += my_simple_anim.c
|
|||
# endif
|
|||
|
|||
# ifeq ($(ANIMATION_MY_COMPLEX_ANIM),y)
|
|||
# SRC += my_complex_anim.c
|
|||
# endif
|
|||
|
|||
|
|||
include $(MAKETOPDIR)/rules.mk |
|||
|
|||
include $(MAKETOPDIR)/depend.mk |
@ -0,0 +1,18 @@ |
|||
# This file eases the integration of your personal animations which are not |
|||
# meant to be included in the official Borgware-2D repository. |
|||
# |
|||
# Just add configurations options for your animations here as shown in the |
|||
# commented samples. |
|||
|
|||
mainmenu_option next_comment |
|||
comment "User Animations" |
|||
comment "Insert config options for your own animations here!" |
|||
|
|||
# bool "A simple anim" ANIMATION_MY_SIMPLE_ANIM $RANDOM_SUPPORT |
|||
|
|||
# dep_bool_menu "A complex anim" ANIMATION_MY_COMPLEX_ANIM $RANDOM_SUPPORT |
|||
# int "Sample integer config value" MY_SAMPLE_INT 100 |
|||
# bool "Sample boolean config value" MY_SAMPLE_BOOL y |
|||
# endmenu |
|||
|
|||
endmenu |
@ -0,0 +1,23 @@ |
|||
/* This file eases the integration of your personal animations which are not
|
|||
meant to be included in the official Borgware-2D repository. |
|||
|
|||
It is inserted at the middle of the big switch/case block of the |
|||
src/display_loop.c file. Please make sure that your use a mode number |
|||
greater or equal than 200 to avoid conflicts with newer upstream |
|||
animations. |
|||
|
|||
Just add your header #include directives as shown in the commented |
|||
samples. */ |
|||
|
|||
// #ifdef ANIMATION_MY_SIMPLE_ANIM
|
|||
// case 200:
|
|||
// my_simple_animation();
|
|||
// break;
|
|||
// #endif
|
|||
|
|||
// #ifdef ANIMATION_MY_COMPLEX_ANIM
|
|||
// case 201:
|
|||
// my_complex_animation(MY_SAMPLE_INT, MY_SAMPLE_BOOL);
|
|||
// break;
|
|||
// #endif
|
|||
|
@ -0,0 +1,11 @@ |
|||
/* This file eases the integration of your personal animations which are not
|
|||
meant to be included in the official Borgware-2D repository. |
|||
|
|||
It is inserted at the beginning of the src/display_loop.c file. |
|||
|
|||
Just add your header #include directives as shown in the commented |
|||
samples. */ |
|||
|
|||
// #include "my_simple_animation.h"
|
|||
|
|||
// #include "my_complex_animation.h"
|
Loading…
Reference in new issue