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
examples/00-helloworld

View file

@ -6,9 +6,7 @@
#include "common.h"
#include <bgfx.h>
#include "entry.h"
#include "dbg.h"
#include "processevents.h"
#include "entry/entry.h"
int _main_(int /*_argc*/, char** /*_argv*/)
{
@ -31,7 +29,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
, 0
);
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);