//
// Thunder Graphic User Interface
-// v1.0 (Last build: 8/1/1998)
//
-// by Jimmy Hamm
-// (C) 1998 Underground Software
+// by James L. Hammons
+// (c) 2004, 2009 Underground Software
+//
+// JLH = James L. Hammons <jlhamm@acm.org>
+//
+// WHO WHEN WHAT
+// --- ---------- ------------------------------------------------------------
+// JLH 07/23/2009 Added changelog ;-)
//
#include <string>
0,1,0,0,1,0,
0,1,0,0,1,0,
0,0,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn1[] = {
0,0,0,0,0,0,
0,0,1,0,0,0,
0,0,1,0,0,0,
0,1,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn2[] = {
0,0,0,0,0,0,
0,0,1,1,0,0,
0,1,0,0,0,0,
0,1,1,1,1,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn3[] = {
0,0,0,0,0,0,
0,1,1,1,0,0,
0,0,0,0,1,0,
0,1,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn4[] = {
0,0,0,0,0,0,
0,1,0,1,0,0,
0,1,1,1,1,0,
0,0,0,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn5[] = {
0,0,0,0,0,0,
0,1,1,1,0,0,
0,0,0,0,1,0,
0,1,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn6[] = {
0,0,0,0,0,0,
0,1,1,1,0,0,
0,1,0,0,1,0,
0,0,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn7[] = {
0,0,0,0,0,0,
0,0,0,1,0,0,
0,0,1,0,0,0,
0,0,1,0,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn8[] = {
0,0,0,0,0,0,
0,0,1,1,0,0,
0,1,0,0,1,0,
0,0,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bn9[] = {
0,0,0,0,0,0,
0,0,1,1,1,0,
0,0,0,0,1,0,
0,0,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnA[] = {
0,0,0,0,0,0,
0,1,1,1,1,0,
0,1,0,0,1,0,
0,1,0,0,1,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnB[] = {
0,0,0,0,0,0,
0,1,1,1,0,0,
0,1,0,0,1,0,
0,1,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnC[] = {
0,0,0,0,0,0,
0,1,0,0,0,0,
0,1,0,0,1,0,
0,0,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnD[] = {
0,0,0,0,0,0,
0,1,0,0,1,0,
0,1,0,0,1,0,
0,1,1,1,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnE[] = {
0,0,0,0,0,0,
0,1,1,1,1,0,
0,1,0,0,0,0,
0,1,1,1,1,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
BYTE bnF[] = {
0,0,0,0,0,0,
0,1,1,1,0,0,
0,1,0,0,0,0,
0,1,0,0,0,0,
- 0,0,0,0,0,0
+ 0,0,0,0,0,0
};
//
if (b) my_scr[scadr+xx+yy*320] = b;
}
}
- for(int i=0; i<16; i++)
+ for(int i=0; i<16; i++)
{
scadr = dbase + (5*320+5) + i*7*320;
if (i>7) scadr += 17*320; // Adjust for DSW #2
{
for(int xx=0; xx<5; xx++)
{
- my_scr[scadr++] = idsbutton[bmpptr++];
+ my_scr[scadr++] = idsbutton[bmpptr++];
}
scadr += 315; // Adjust position...
}
if (!user_selected_something) // i.e. we're not inside a selection...
{
DrawSmallIcons(selection); // 'selection' is icon *not* to draw
- DrawLargeIcon(selection);
+ DrawLargeIcon(selection);
}
else
{
//SpawnSound(USERSOUND, SBLAH);
user_selected_something = true;
dswitch = 0; // Set at first dipswitch
- }
+ }
if (selection == OPTIONS) // Edit emulator settings
{
}
}
if (selection == SNAPSHOT) // Snapshot
{
- SpawnSound(USERSOUND, SCAMERA);
+ SpawnSound(USERSOUND, SCAMERA);
SnapPCX(screen);
}
if (selection == RESET) // Reset machine