((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/allegro" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "allegro" "game")) (section 2 "allegro" (p (link "http://alleg.sourceforge.net/readme.html" "Allegro 5.0 bindings for Chicken.")) (toc)) (section 2 "Author" (p "Dan Leslie (dan@ironoxide.ca)")) (section 2 "Subpages" (p "The allegro docs are divided up into pages by category.") (ul (li (int-link "/eggref/4/allegro/audio" "audio")) (li (int-link "/eggref/4/allegro/bitmap" "bitmap")) (li (int-link "/eggref/4/allegro/color" "color")) (li (int-link "/eggref/4/allegro/config" "config")) (li (int-link "/eggref/4/allegro/debugging" "debugging")) (li (int-link "/eggref/4/allegro/display" "display")) (li (int-link "/eggref/4/allegro/drawing" "drawing")) (li (int-link "/eggref/4/allegro/events" "events")) (li (int-link "/eggref/4/allegro/file" "file")) (li (int-link "/eggref/4/allegro/font" "font")) (li (int-link "/eggref/4/allegro/gl" "gl")) (li (int-link "/eggref/4/allegro/input" "input")) (li (int-link "/eggref/4/allegro/math" "math")) (li (int-link "/eggref/4/allegro/memory" "memory")) (li (int-link "/eggref/4/allegro/system" "system")))) (section 2 "Repository" (p "The main repository can be found on " (link "https://github.com/dleslie/allegro-egg" "GitHub") ".")) (section 2 "Supported Versions" (p "Allegro versions 5.0.x up to 5.0.6 are supported. All 5.0.x versions should work, but features added post-5.0.6 will not be available.") (p "Future version support will likely be added in the future. Patches are welcome!")) (section 2 "Examples" (p "A growing number of examples can be found on " (link "https://github.com/dleslie/allegro-examples" "GitHub") ".") (p "Please contribute!")) (section 2 "Windows Extras" (p "Since building all your packages on windows is a bit of a pain in the ass I've written the Egg with the assumption that you're using the pre-built Allegro libraries. The only extra step you'll need to do, after installing the prebuilt Allegro bins to your MingW32 directory should be:") (highlight scheme "# cd /MingW/lib\n# cp liballegro-INSTALLED_VERSION-monolith-md.a liballegro.a") (p "Assuming, of course, that you've installed MingW32 to C:\\Mingw")) (section 2 "Naming Key" (p "In general, the naming is fairly indicative of the function's behaviour.") (p "The gist is something like this:") (dl (dt "make-type") (dd "Constructs a type (Not always available)") (dt "make-type*") (dd "Constructs a type, returning a value which must be manually destructed") (dt "free-type!") (dd "Manually destructs a type (Not available for internally managed types)") (dt "type-noun") (dd "Accessor for value \"noun\" on a specific type") (dt "type-noun-set!") (dd "Mutator for value \"noun\" on a specific type") (dt "type-verb") (dd "Method which requires a specific type to operate") (dt "type-verb!") (dd "Method which modifies an object of a specific type") (dt "verbage") (dd "Function which operates on the global state") (dt "verbage*") (dd "Function which operates on the global state, but also returns a value which must be manually destructed")) (p "If a function begins with a type name then you can be assured that the first parameter will be an object of that specific type.")) (section 2 "License" (pre "Copyright 2012-2019 Daniel J. Leslie. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are") (p "permitted provided that the following conditions are met:") (pre "  1. Redistributions of source code must retain the above copyright notice, this list of\n     conditions and the following disclaimer.") (pre "  2. Redistributions in binary form must reproduce the above copyright notice, this list\n     of conditions and the following disclaimer in the documentation and/or other materials\n     provided with the distribution.") (pre "THIS SOFTWARE IS PROVIDED BY DANIEL J. LESLIE ''AS IS'' AND ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DANIEL J. LESLIE OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.") (pre "The views and conclusions contained in the software and documentation are those of the\nauthors and should not be interpreted as representing official policies, either expressed\nor implied, of Daniel J. Leslie.")))