diff options
author | Joursoir <chat@joursoir.net> | 2021-03-09 18:18:11 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-03-09 18:18:11 +0000 |
commit | cd445cccc1ccd135d006f6fbb519aeda8f90f133 (patch) | |
tree | 0c649540e0d0ae03a06c9a3ab4038993cce10fc4 /bg_models.hpp | |
parent | d987781b24c6f505a61a01794b6bc76b07c9b25d (diff) | |
download | ascii-road-cd445cccc1ccd135d006f6fbb519aeda8f90f133.tar.gz ascii-road-cd445cccc1ccd135d006f6fbb519aeda8f90f133.tar.bz2 ascii-road-cd445cccc1ccd135d006f6fbb519aeda8f90f133.zip |
change model structure
Diffstat (limited to 'bg_models.hpp')
-rw-r--r-- | bg_models.hpp | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/bg_models.hpp b/bg_models.hpp new file mode 100644 index 0000000..119d99b --- /dev/null +++ b/bg_models.hpp @@ -0,0 +1,62 @@ +#ifndef ASCIIROAD_BGMODELS_H +#define ASCIIROAD_BGMODELS_H + +#include "models.hpp" + +enum background_types { + bg_ftree, + bg_stree, + bg_tree_types_max, + bg_bridge = bg_tree_types_max +}; + +const char * const bg_ftree_model[] = { + " _-_ ", + " /~~ ~~\\ ", + " /~~ ~~\\ ", + "{ }", + " \\ _- -_ / ", + " ~ \\\\ // ~ ", + " | | ", + " | | ", + " // \\\\ " +}; + +const char * const bg_stree_model[] = { + " _____ ", + " __/~~~~~\\__ ", + " _/~~ ~~\\_ ", + " /~ ~\\ ", + "{ }", + " \\__\\~ ~/__/ ", + " \\_ _/ ", + " \\\\ // ", + " | | ", + " | | ", + " | | ", + " // \\\\ " +}; + +const char * const bg_bridge_model[] = { + " .. ", + " [] ", + " ,:[]:_ ", + " ,-: :[]: :-. ", + " ,.': : :[]: : :`._ ", + " _,-: : : : :[]: : : : :-._ ", + "___.-: : : : : : :[]: : : : : : :-.____", + "_:_:_:_:_:_:_:_:_:[]:_:_:_:_:_:_:_:_:_:", + "!!!!!!!!!!!!!!!!!![]!!!!!!!!!!!!!!!!!!!", + "^^^^^^^^^^^^^^^^^^[]^^^^^^^^^^^^^^^^^^^", + " [] ", + " [] ", + " [] " +}; + +const struct object_info bg_store[] = { + {bg_ftree_model, 17, 9}, + {bg_stree_model, 19, 12}, + {bg_bridge_model, 39, 13} +}; + +#endif /* ASCIIROAD_BGMODELS_H */
\ No newline at end of file |