nuttx-apps/graphics/traveler/tools/libwld
2016-11-11 07:04:01 -06:00
..
.gitignore
Makefile
README.txt
wld_addplane.c
wld_bitmaps.c
wld_bitmaps.h
wld_color.h
wld_createworld.c
wld_deallocateworld.c
wld_discardbitmaps.c
wld_discardpaltable.c
wld_discardplanes.c
wld_fatalerror.c
wld_findplane.c
wld_free.c
wld_freegraphicfile.c
wld_freetexture.c
wld_graphicfile.h
wld_graphicfilepixel.c
wld_inifile.h
wld_initializebitmaps.c
wld_initializeplanes.c
wld_loadbitmapfile.c
wld_loadgif.c
wld_loadpaltable.c
wld_loadpcx.c
wld_loadplanefile.c
wld_loadplanes.c
wld_loadppm.c
wld_lum2pixel.c
wld_malloc.c
wld_mem.h
wld_mergeplanelists.c
wld_moveplane.c
wld_newgraphicfile.c
wld_newplane.c
wld_paltable.h
wld_pcx.h
wld_pcxinit.c
wld_pixel2lum.c
wld_plane.c
wld_plane.h
wld_readdecimal.c
wld_readgraphicfile.c
wld_readtexturefile.c
wld_realloc.c
wld_removeplane.c
wld_rgb2pixel.c
wld_rgblookup.c
wld_saveplanes.c
wld_utils.h
wld_world.h

Build instuctions:

  At the time of 'make', you must have a valid Traveler configuration instantiated
  in the NuttX directory.  This is because the build will depend on certain
  configurations (such as color format).

    1. cd nuttx/tools
       ./configure.sh sim/traveler (for example)
    2. cd ..
       tools/sethost.sh -w or -l
       make context

  Prepare some header files.  This is necessary because we must use ALL of the
  toolchain header files except for a few files from nuttx (for example,
  config.h).

    3. cd apps/graphics/traveler/tools/nuttx
    4. make TOPDIR=<nuttx directory>
 
  Then you can build the world library:

    5. cd apps/graphics/traveler/tools/libwld
    6. make