examples-common: Reogranized sources. Added command interpreter and input bindings support.

This commit is contained in:
bkaradzic
2013-08-07 21:45:56 -07:00
parent 640c61fe45
commit 4c4c2eb5cb
34 changed files with 835 additions and 280 deletions

View File

@@ -8,10 +8,7 @@
#include <bgfx.h>
#include <bx/timer.h>
#include <bx/uint32_t.h>
#include "entry.h"
#include "dbg.h"
#include "fpumath.h"
#include "processevents.h"
#include "packrect.h"
#include <stdio.h>
@@ -231,7 +228,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
int64_t timeOffset = bx::getHPCounter();
while (!processEvents(width, height, debug, reset) )
while (!entry::processEvents(width, height, debug, reset) )
{
// Set view 0 default viewport.
bgfx::setViewRect(0, 0, 0, width, height);