Mercurial > hg > forks > multipaint-js
comparison multipaint.pde @ 188:6fba2c255319
More work on the MP.JS launcher.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 23 Aug 2018 16:32:10 +0300 |
parents | 74e1616ca38e |
children | b36cfb497223 |
comparison
equal
deleted
inserted
replaced
187:28caa87348d3 | 188:6fba2c255319 |
---|---|
107 void setup() | 107 void setup() |
108 { | 108 { |
109 // Get settings from Javascript runner, or use defaults | 109 // Get settings from Javascript runner, or use defaults |
110 g_machine = (mpMachine >= 0) ? mpMachine : C64; | 110 g_machine = (mpMachine >= 0) ? mpMachine : C64; |
111 g_uiscale = (mpUIScale >= 1 && mpUIScale <= 3) ? mpUIScale : 2; | 111 g_uiscale = (mpUIScale >= 1 && mpUIScale <= 3) ? mpUIScale : 2; |
112 g_forced_width = mpForcedWidth > 0 ? mpForcedWidth : 0; | 112 g_forced_width = mpUIForcedWidth > 0 ? mpUIForcedWidth : 0; |
113 g_forced_height = mpForcedHeight > 0 ? mpForcedHeight : 0; | 113 g_forced_height = mpUIForcedHeight > 0 ? mpUIForcedHeight : 0; |
114 g_animspeed = 1; | 114 g_animspeed = 1; |
115 | 115 |
116 //normi | 116 //normi |
117 g_magpix[0] = 3; | 117 g_magpix[0] = 3; |
118 g_magpix[1] = 8; | 118 g_magpix[1] = 8; |