home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
programm.ing
/
ams__l~1.zoo
/
examples
/
ex1
/
example1.cc
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-09-05
|
276 b
|
26 lines
#include <Resolution.h>
#include <Screen.h>
#include <ScanCode.h>
main()
{
Resolution NowRez;
if (NowRez!=STHigh)
STLow.Use();
Screen S;
if (NowRez==STHigh) {
S.Load("example1.ca3");
} else {
S.Load("example1.ca1");
}
S.Show();
S.ShowPalette();
Key();
}