Inverted control flow, engine as library
This commit is contained in:
@@ -132,12 +132,10 @@ public:
|
||||
|
||||
// Update
|
||||
//
|
||||
// Read all the lua source files from disk and store them in the
|
||||
// source database. Also compiles these files using lua's "load"
|
||||
// function. Efficient: if a source file is already in the database
|
||||
// and hasn't been modified, it is not reloaded.
|
||||
// Update the database using the specified lua source code.
|
||||
// Compiles these files using lua's "load" function.
|
||||
//
|
||||
void update();
|
||||
void update(const util::LuaSource &source);
|
||||
|
||||
// Rebuild
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user