Changeset 94


Ignore:
Timestamp:
Aug 11, 2010, 6:18:29 PM (10 years ago)
Author:
sam
Message:

Implement a clean class for various assets that can be ticked both in
the game context and in the render context, and a ticker class that
takes care of the ticking.

Location:
trunk/src
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r92 r94  
    66libcommon_a_SOURCES = \
    77    game.cpp tiler.cpp tileset.cpp scene.cpp \
    8     font.cpp layer.cpp map.cpp joystick.cpp
     8    font.cpp layer.cpp map.cpp joystick.cpp \
     9    asset.h asset.cpp ticker.h ticker.cpp
    910libcommon_a_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
    1011
     
    1920editor_LDFLAGS = `pkg-config --libs sdl gl gtk+-2.0 gtkgl-2.0 SDL_image`
    2021
    21 #COMMON = $(libcommon_a_SOURCES)
    22 #
    23 #TEST_SRC = test-map.cpp sdlvideo.cpp $(COMMON)
    24 #EDITOR_SRC = editor.cpp gtkvideo.cpp $(COMMON)
    25 #
    26 #CPPFLAGS = `pkg-config --cflags sdl gl SDL_image gtk+-2.0 gtkgl-2.0`
    27 #CXXFLAGS = -g -O3 -Wall \
    28 #           -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare
    29 #
    30 #test-map: $(TEST_SRC:%.cpp=%.o)
    31 #       g++ $(CXXFLAGS) $^ -o $@ `pkg-config --libs sdl gl SDL_image`
    32 #
    33 #editor: $(EDITOR_SRC:%.cpp=%.o)
    34 #       g++ $(CXXFLAGS) $^ -o $@ `pkg-config --libs sdl gl gtk+-2.0 gtkgl-2.0 SDL_image`
    35 #
    36 #%.o: %.cpp
    37 #       g++ -c $^ -o $@ $(CXXFLAGS) $(CPPFLAGS)
    38 #
    39 #clean:
    40 #       rm -f *.o test-map editor
    41 
Note: See TracChangeset for help on using the changeset viewer.