/[projectaxis]/projectaxis/projectAxis/src/visual/pgminimap.cpp
ViewVC logotype

Diff of /projectaxis/projectAxis/src/visual/pgminimap.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by leiavoia, Sun Sep 14 01:05:00 2003 UTC revision 1.5 by vovansim, Sat Sep 20 03:34:06 2003 UTC
# Line 51  PG_MiniMap::~PG_MiniMap() {    //std::cout Line 51  PG_MiniMap::~PG_MiniMap() {    //std::cout
51  void PG_MiniMap::DrawMap() {  void PG_MiniMap::DrawMap() {
52    
53          // create the rawmap surface to the size of the map          // create the rawmap surface to the size of the map
54          SDL_Surface* srf = SDL_CreateRGBSurface(SDL_SWSURFACE, themap->GetCols(), themap->GetRows(), 32, 0, 0, 0, 0);          SDL_Surface* srf = SDL_CreateRGBSurface(SDL_SWSURFACE, themap->GetCols(), themap->GetRows(), 16, 0, 0, 0, 0);
55    
56          // FIXME: draw to rawmap, THEN scale to surface object          // FIXME: draw to rawmap, THEN scale to surface object
57          //rm->SLock(rawmap);          //rm->SLock(rawmap);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26