Changeset 208


Ignore:
Timestamp:
Sep 10, 2010, 12:26:41 AM (9 years ago)
Author:
sam
Message:

Add a debugging sphere object to test transparency.

Location:
trunk/src
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r203 r208  
    1111    profiler.cpp profiler.h input.h input.cpp world.cpp world.h \
    1212    debugfps.cpp debugfps.h debugsprite.cpp debugsprite.h \
    13     debugrecord.cpp debugrecord.h debugstats.cpp debugstats.h
     13    debugrecord.cpp debugrecord.h debugstats.cpp debugstats.h \
     14    debugsphere.cpp debugsphere.h
    1415libcommon_a_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
    1516
  • trunk/src/gtk/editor.cpp

    r186 r208  
    5757    g_object_unref(G_OBJECT(builder));
    5858
    59     glmapview->LoadMap("maps/testmap2.tmx");
     59    glmapview->LoadMap("maps/testmap.tmx");
    6060    new DebugFps();
    6161
  • trunk/src/test-map.cpp

    r206 r208  
    1717#include "debugfps.h"
    1818#include "debugsprite.h"
     19#include "debugsphere.h"
    1920#include "debugrecord.h"
    2021#include "debugstats.h"
     
    4950
    5051    /* Create a game */
    51     Game *game = new Game("maps/testmap2.tmx");
     52    Game *game = new Game("maps/testmap.tmx");
    5253
    5354    /* Register an input driver and some debug stuff */
     
    5556    new DebugFps();
    5657    new DebugSprite(game);
     58    new DebugSphere();
    5759    //new DebugRecord("lolengine.ogg");
    5860    new DebugStats("stats.txt");
Note: See TracChangeset for help on using the changeset viewer.