Ignore:
Timestamp:
Apr 12, 2012, 12:59:29 AM (11 years ago)
Author:
sam
Message:

android: slightly update Android project for newer SDK versions.

Location:
trunk/src/platform/android
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/android/androidapp.cpp

    r1106 r1219  
    1717
    1818#include "core.h"
    19 #include "lolgl.h"
    2019#include "loldebug.h"
     20#include "androidapp.h"
    2121
    2222using namespace lol;
     23
     24/* Monsterz-specific */
     25#include "interface.h"
    2326
    2427namespace lol
     
    2629JavaVM *g_vm;
    2730jobject g_activity;
     31
     32AndroidApp::AndroidApp(char const *title, ivec2 res, float fps) :
     33    data(0)
     34{
     35}
     36
     37void AndroidApp::ShowPointer(bool show)
     38{
     39}
     40
     41void AndroidApp::Run()
     42{
     43    while (!Ticker::Finished())
     44    {
     45        /* Tick the renderer, show the frame and clamp to desired framerate. */
     46        Ticker::TickDraw();
     47    }
     48}
     49
     50AndroidApp::~AndroidApp()
     51{
     52}
     53
    2854};
    2955
Note: See TracChangeset for help on using the changeset viewer.