mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
used standard OC colors
apparently they changed this a long time ago
This commit is contained in:
parent
eb6037ee27
commit
e9e02a2473
@ -338,8 +338,8 @@ nn_component *nn_addScreen(nn_computer *computer, nn_address address, int slot,
|
||||
return nn_newComponent(computer, address, slot, screenTable, screen);
|
||||
}
|
||||
|
||||
static const int nni_mcBlack = 0x1D1D21;
|
||||
static const int nni_mcWhite = 0xFFF9FE;
|
||||
static const int nni_mcBlack = 0x000000;
|
||||
static const int nni_mcWhite = 0xFFFFFF;
|
||||
|
||||
void nn_getStd4BitPalette(int color[16]) {
|
||||
color[0] = nni_mcWhite; // white
|
||||
|
@ -739,7 +739,7 @@ int main(int argc, char **argv) {
|
||||
int maxWidth = 80, maxHeight = 32;
|
||||
|
||||
nn_screen *s = nn_newScreen(&ctx, maxWidth, maxHeight, 24, 16, 256);
|
||||
nn_setDepth(s, 4); // looks cool
|
||||
nn_setDepth(s, 8); // looks cool
|
||||
nn_addKeyboard(s, "shitty keyboard");
|
||||
nn_mountKeyboard(computer, "shitty keyboard", 2);
|
||||
nn_addScreen(computer, NULL, 2, s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user