roc/roc.py
cecilkorik 49f4256439 reorganized models.py
started adding universe basics
started adding gameobj basics
2011-06-18 22:59:58 -06:00

32 lines
493 B
Python
Executable file

import pygame
import files
import video
import shader
import models
import roc_main
def init2d():
init(videoinit=video.init2d)
def init3d():
init(videoinit=video.init3d)
def init(videoinit):
pygame.init()
files.init()
shader.init()
size = width, height = (1600,1200)
size = width, height = (1024,768)
video.set_res(size)
videoinit()
video.enable_vsync()
models.init()
def set_universe(new_universe):
roc_main.set_universe(new_universe)
def main():
roc_main.mainloop()