Changeset 144


Ignore:
Timestamp:
Aug 19, 2010, 2:58:33 AM (10 years ago)
Author:
sam
Message:

Implement video recording using libpipi.

Location:
trunk/src
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r132 r144  
    1010    forge.cpp forge.h video.cpp video.h timer.cpp timer.h \
    1111    profiler.cpp profiler.h \
    12     debugfps.cpp debugfps.h debugsprite.cpp debugsprite.h
     12    debugfps.cpp debugfps.h debugsprite.cpp debugsprite.h \
     13    debugrecord.cpp debugrecord.h
    1314libcommon_a_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
    1415
     
    1617test_map_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
    1718test_map_LDADD = libcommon.a
    18 test_map_LDFLAGS = `pkg-config --libs sdl gl SDL_image`
     19test_map_LDFLAGS = `pkg-config --libs sdl gl SDL_image` -lpipi
    1920
    2021editor_SOURCES = gtk/editor.cpp
  • trunk/src/scene.cpp

    r141 r144  
    9191    f += 0.05f;
    9292    glTranslatef(320.0f, 240.0f, 0.0f);
    93     glRotatef(45.0f, 1.0f, 0.0f, 0.0f);
    94     glRotatef(30.0f * sinf(f), 0.0f, 0.0f, 1.0f);
     93    glRotatef(50.0f + 3.0f * sinf(f), 1.0f, 0.0f, 0.0f);
     94    glRotatef(20.0f * cosf(f), 0.0f, 0.0f, 1.0f);
    9595    //glRotatef(30.0f, 0.0f, 0.0f, 1.0f);
    9696    glTranslatef(-320.0f, -240.0f, 0.0f);
  • trunk/src/test-map.cpp

    r132 r144  
    1616#include "debugfps.h"
    1717#include "debugsprite.h"
     18#include "debugrecord.h"
    1819#include "game.h"
    1920#include "ticker.h"
     
    4041    }
    4142
    42     SDL_WM_SetCaption("Deus Hax (SDL)", NULL);
     43    SDL_WM_SetCaption("Map Test (SDL)", NULL);
    4344    SDL_ShowCursor(0);
    4445    SDL_WM_GrabInput(SDL_GRAB_ON);
     
    5455    new DebugFps();
    5556    new DebugSprite(game);
     57    //new DebugRecord("movie.ogg");
    5658
    5759    while (!game->Finished())
Note: See TracChangeset for help on using the changeset viewer.