Army ant simulation
Functions
main.cpp File Reference
#include "Box2D/Box2D.h"
#include "SFML/Graphics.hpp"
#include "SFML/Window.hpp"
#include <iostream>
#include "Config.h"
#include "Demo.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void default_parameters (config::sConfig &cfg)
 
void parse_argument (char *argv[], int i, config::sConfig &cfg)
 
void load_config (std::string filename, config::sConfig &cfg)
 
void help ()
 
int main (int argc, char *argv[])
 

Function Documentation

◆ default_parameters()

void default_parameters ( config::sConfig cfg)

Update the config::sConfig cfg with the default configuration parameter values

Definition at line 72 of file main.cpp.

Here is the caller graph for this function:

◆ help()

void help ( )

Function called when launch argument requires help. Print all the possible commands

Definition at line 216 of file main.cpp.

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Prepare the world

Definition at line 17 of file main.cpp.

Here is the call graph for this function: