-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
32 lines (24 loc) · 815 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
var palette = require(__dirname +'/lib/palette-translate');
var pixel = require(__dirname + '/lib/pixel-translate');
var input = require(__dirname + '/lib/input');
var transform = require(__dirname + '/lib/transform');
var fs = require('fs');
//header info
var bitmap = fs.readFileSync(__dirname + '/lib/bitmap1.bmp');
var format = bitmap.toString('utf-8',0,2);
//global variables
var functionDisplay = [];
//TEE UP LIST OF FUNCTION DISPLAY NAMES
for(var prop in transform.transformList){
functionDisplay.push(prop);
}
//function masterInput(run){
//if(run){
input.startInput.AskAndEnter(functionDisplay);
input.startInput.GetEntry(functionDisplay);
//} else {
// console.log('Thanks for screwing with bitmaps.');
//}
//};
//masterInput(true);
//module.exports.masterInput = masterInput;