Save before Demo 001

This commit is contained in:
Ginger Bill
2016-08-25 19:52:51 +01:00
parent f93cf3827b
commit 3a189b9c1c
7 changed files with 140 additions and 142 deletions
+11 -10
View File
@@ -3,18 +3,18 @@
#load "game.odin"
main :: proc() {
// _ = hellope();
// procedures();
// variables();
// constants();
// types();
// data_control();
// using_fields();
_ = hellope();
procedures();
variables();
constants();
types();
data_control();
using_fields();
run_game();
// run_game();
}
hellope :: proc() -> int {
print_string("Hellope, 世界\n");
return 1;
@@ -35,7 +35,7 @@ hellope :: proc() -> int {
apple, banana, carrot: bool;
box, carboard: bool = true, false;
hellope_value: int = hellope(); // The procedure is ran just before `main`
// hellope_value: int = hellope(); // The procedure is ran just before `main`
variables :: proc() {
i: int; // initialized with zero value
@@ -711,3 +711,4 @@ using_fields :: proc() {
print_f32(t.pos._xy.x); print_nl();
}
}