[Plib-cvs] plib/tools/src/af2rgb af2rgb.cxx,1.8,1.9
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-08-31 13:50:36
|
Update of /cvsroot/plib/plib/tools/src/af2rgb In directory usw-pr-cvs1:/tmp/cvs-serv27975 Modified Files: af2rgb.cxx Log Message: Linking additional libs means I no longer need the ugly hack I added yesterday. Index: af2rgb.cxx =================================================================== RCS file: /cvsroot/plib/plib/tools/src/af2rgb/af2rgb.cxx,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- af2rgb.cxx 30 Aug 2002 19:17:25 -0000 1.8 +++ af2rgb.cxx 31 Aug 2002 13:49:08 -0000 1.9 @@ -10,269 +10,7 @@ #include <stdlib.h> #include <stdio.h> #include <plib/ul.h> -//#include <plib/ssgMSFSPalette.h> - -// ugly hack: This is copyied from ssgLoadMDL_BGLTexture.cxx. I do not know whether we will -// keep that file in future, so instead of linking some plib files and including some includes, -// I opted (for now) to copy the following array: -unsigned const char ssgFsTexPalette[1024] = { - 0x00, 0x00, 0x00, 0xff, - 0x08, 0x08, 0x08, 0xff, [...239 lines suppressed...] - 0x84, 0x9c, 0x63, 0xff, - 0x31, 0x42, 0x29, 0xff, - 0x63, 0xa5, 0x5a, 0xff, - 0x4a, 0xd6, 0x4a, 0xff, - 0x39, 0x8c, 0x39, 0xff, - 0x4a, 0xb5, 0x4a, 0xff, - 0x5a, 0xc6, 0x5a, 0xff, - 0x39, 0x7b, 0x39, 0xff, - 0x31, 0x63, 0x31, 0xff, - 0x5a, 0xa5, 0x5a, 0xff, - 0x52, 0x94, 0x52, 0xff, - 0x4a, 0x63, 0x4a, 0xff, - 0x39, 0x73, 0x84, 0xff, - 0x21, 0x63, 0x7b, 0xff, - 0x4a, 0x73, 0x84, 0xff -}; +#include <plib/ssgMSFSPalette.h> // *.?af textures are always 256 x 256: |