From 2e9225c591d8bec29b2624604984e2b3ea5bc22c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 6 Feb 2012 09:46:51 -0700 Subject: Fixes for building against new mingw +opttest.sage. --- mingw.bld | 2 +- opttest.stage | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 opttest.stage diff --git a/mingw.bld b/mingw.bld index 407047d..6b6cbae 100644 --- a/mingw.bld +++ b/mingw.bld @@ -58,7 +58,7 @@ target "stage.exe" CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc -Ilibgats"; - LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -lbu++win -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console -Llibgats -lgatswin"; + LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console -Llibgats -lgatswin -lbu++win -lwsock32"; CXXFLAGS += "-Ilibbu++"; } diff --git a/opttest.stage b/opttest.stage new file mode 100644 index 0000000..325a197 --- /dev/null +++ b/opttest.stage @@ -0,0 +1,18 @@ +option situation <> +{ + option: "Begin the game" + { + display("the game has begun."); + } + + option: "I'm not ready yet" + { + display("Yup, that's what I thought."); + } + + option: "Quit the game" + { + display("Ok...fine..."); + exit(); + } +} -- cgit v1.2.3