Mercurial > hg > forks > multipaint-js
comparison multipaint.pde @ 212:b3579297e04e
Implement rest of the stuff needed for selecting external palettes in the
launcher and actual Multipaint code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Sep 2018 14:22:20 +0300 |
parents | 3b1afb0b9b30 |
children | d3eba28c26e5 |
comparison
equal
deleted
inserted
replaced
211:6d866e284dd2 | 212:b3579297e04e |
---|---|
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 = mpUIForcedWidth > 0 ? mpUIForcedWidth : 0; | 112 g_forced_width = mpUIForcedWidth > 0 ? mpUIForcedWidth : 0; |
113 g_forced_height = mpUIForcedHeight > 0 ? mpUIForcedHeight : 0; | 113 g_forced_height = mpUIForcedHeight > 0 ? mpUIForcedHeight : 0; |
114 g_forced_palette = mpUIPalette ? mpUIPalette : ""; | |
114 g_animspeed = 1; | 115 g_animspeed = 1; |
115 | 116 |
116 //normi | 117 //normi |
117 g_magpix[0] = 3; | 118 g_magpix[0] = 3; |
118 g_magpix[1] = 8; | 119 g_magpix[1] = 8; |