summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-13 09:44:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-13 09:44:39 (GMT)
commit3196690b03941b4781ee5bff55f082303618e3a3 (patch)
tree61b58f2711f1d18a6a26fede66b11074db53634a /src/main.c
parent351565c6e2ae0910fa9e167006779e05aaa35c14 (diff)
downloadpowder-3196690b03941b4781ee5bff55f082303618e3a3.zip
powder-3196690b03941b4781ee5bff55f082303618e3a3.tar.gz
Runtime scale switching
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 68dda4c..5401a64 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1216,6 +1216,12 @@ char my_uri[] = "http://" SERVER "/Update.api?Action=Download&Architecture="
#endif
;
+void set_scale(int scale){
+ sdl_scale = scale;
+ sdl_open();
+ return;
+}
+
void update_grav_async()
{
int done = 0;