Begin Network Implementation

This commit is contained in:
André Schweiger 2017-01-26 23:23:58 +01:00
parent 31d576e879
commit a014be2c5a
4 changed files with 241 additions and 3 deletions

View file

@ -12,6 +12,7 @@
#include "MapGen.h"
#include "Menu.h"
#include "texturepack.h"
#include "Network.h"
// TODO: Dungeon is way to difficult
// -> Skeleton arrows are slower, do a little less damage
@ -182,9 +183,10 @@ int main() {
osSetSpeedupEnable(shouldSpeedup);
fclose(file);
}
sf2d_init();
sf2d_init();
csndInit();
networkInit();
noItem = newItem(ITEM_NULL, 0);
initMenus();
@ -325,6 +327,7 @@ int main() {
sf2d_free_texture(minimap[4]);
sf2d_free_texture(minimap[5]);
freeSounds();
networkExit();
csndExit();
cfguExit();
sf2d_fini();