0
|
1 /******************************o.
|
|
2
|
|
3 Here are some settings you may want to fix :)
|
|
4 VIDEO and AUDIO are set in the makefile.
|
|
5 */
|
|
6
|
|
7 #define BUFW 320
|
|
8 #define BUFH 200
|
|
9 /*
|
|
10 The size (width&height) of the display buffer.
|
|
11
|
|
12 320x200 is smooth on a 386.
|
|
13
|
|
14 Svgalib: the best-fitting 256 color mode will be searched
|
|
15 automatically.
|
|
16 */
|
|
17
|
|
18 #define OUTFREQ 22050
|
|
19 /*
|
|
20 Audio output frequency.
|
|
21 */
|
|
22
|
|
23 #define FRAGSIZE 10 /* size = 2^n, n=7..17 */
|
|
24 #define NUMFRAGS 40 /* somewhere between 2..255, i think */
|
|
25 /*
|
|
26 The number and size of the audio buffers.
|
|
27
|
|
28 If your machine has problems in keeping the mixbuffer filled, you
|
|
29 an try to increase these values. However those 10,40 are quite ok
|
|
30 for a 386dx/25 with an old soundblaster.
|
|
31
|
|
32 Prefer increasing NUMFRAGS unless you want an action-halt-
|
|
33 action-halt style multimedia performance a la windows.
|
|
34
|
|
35 We still have problems in keeping the audio up in all
|
|
36 circumstances.. such as leaving the svgalib console or while
|
|
37 performing some window manager functions.
|
|
38 */
|
|
39
|
|
40 #define WINNAME "3x666"
|
|
41 /*
|
|
42 The name for the x window.
|
|
43 */
|
|
44
|
|
45 #define SLEEPY 0
|
|
46 /*
|
|
47 1 = sleep between frames if there's nothing to do
|
|
48 originally implemented for a better cpu usage
|
|
49 but i don't think it is of any relevant use here
|
|
50
|
|
51 0 = use dummyloop
|
|
52
|
|
53 */
|
|
54 /* All right! Now save the file and type make ("em ay kee ee")
|
|
55 / \
|
|
56
|
|
57 .o*************/
|
|
58
|
|
59 /* don't touch these: */
|
|
60
|
|
61 #define DEMOHZ 100
|
|
62
|
|
63 /* maybe these shouldn't be here */
|
|
64 #define ROWTIX 6
|
|
65 #define MAXROWLGT TIKLGT*ROWTIX
|