Ignore:
Timestamp:
Jan 17, 2011, 2:22:07 PM (10 years ago)
Author:
sam
Message:

The Tile size can now be specified upon TileSet load. Add a sample
with the Monsterz tiles.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      .auto
      aclocal.m4
      autom4te.cache
      config.h
      config.h.in
      config.log
      config.status
      configure
      libtool
      Makefile
      Makefile.in
      stamp-h1
  • trunk/src

    • Property svn:ignore set to
      .deps
      Makefile
      Makefile.in
  • trunk/src/test-map.cpp

    r208 r218  
    1010#include <cstdio>
    1111#include <cmath>
     12#if defined _WIN32
     13#   include <direct.h>
     14#endif
    1215
    1316#include <SDL.h>
     
    1619#include "sdlinput.h"
    1720#include "debugfps.h"
     21#include "debugboard.h"
    1822#include "debugsprite.h"
    1923#include "debugsphere.h"
     
    5054
    5155    /* Create a game */
     56#if defined _WIN32
     57    _chdir(".."); /* Temporary Win32 hack */
     58#endif
    5259    Game *game = new Game("maps/testmap.tmx");
     60    game->SetMouse(160, 96);
    5361
    5462    /* Register an input driver and some debug stuff */
     
    5664    new DebugFps();
    5765    new DebugSprite(game);
     66    new DebugBoard(game);
    5867    new DebugSphere();
    5968    //new DebugRecord("lolengine.ogg");
Note: See TracChangeset for help on using the changeset viewer.