RudiE

Run Settings
LanguageC++
Language Version
Run Command
//Rudimentary Text Based Game Engine RudiE v0.0.1 //~~~~ ~ //Daniel Grinshpon #include <iostream> #include <time.h> //#include physics.h using namespace std; extern void Start(); //extern double deltaTime(); extern void Update(); int main() { Start(); /*time_t t = time(NULL); cout << t << endl; double dT = deltaTime(); if(dT == -1.0) return EXIT_FAILURE;*/ for(;;){ Update(); clog << "Successfull transfer"; return EXIT_SUCCESS;//^testing purposes, remove later } cerr << "Error: exited Update loop"; return EXIT_FAILURE; }
//Not implemented yet, maybe work on later #include <iostream> #include <time.h> using namespace std; double deltaTime() { return -1.0; }
//Game code goes here #include <iostream> #include <time.h> using namespace std; void Start() {//initializer //... } void Load() {//logic update //... } void Draw() {//draw update //... } void Update() { //... srand(time(NULL)); int j = rand()%20; cout << j;//^ testing purposes, remove later Load(); Draw(); }
Editor Settings
Theme
Key bindings
Full width
Lines