-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
65 lines (54 loc) · 1.78 KB
/
base.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>jeca.base</title>
</head><body>
<h1>jeca.base</h1>
<!-- Generated by Ddoc from base.d -->
Main module for the JECA library
<br><br>
This library uses the DAllegro bindings to the Allegro C library
<br><br>
<b>Usage:</b><br>
eg.
<pre class="d_code"> Init( split(<font color=red>"-mode full -wxh 640 480"</font>) ); <font color=green>// full screen, and screen dimentions(sp) also "-mode window"
</font></pre>
eg.
<pre class="d_code"> Init( <font color=blue>null</font>, ALLEGRO_INIT | TIMER | SOUND ); <font color=green>// setup only allegro_init, timer and sound also GRAPHICS, MOUSE, KEYBOARD, ALL_ALLEGRO (just use by its self), NO_ALLEGRO
</font></pre>
<br><br>
<dl><dt><big>int <u>GFX_MODE</u>;
</big></dt>
<dd>declearations and default settings for the graphic mode<br><br>
</dd>
<dt><big>int <u>SCX</u>;
</big></dt>
<dd>declearations and default settings for the graphic mode<br><br>
</dd>
<dt><big>int <u>SCY</u>;
</big></dt>
<dd>declearations and default settings for the graphic mode<br><br>
</dd>
<dt><big>int <u>DEPTH</u>;
</big></dt>
<dd>declearations and default settings for the graphic mode<br><br>
</dd>
<dt><big>struct <u>ColourStruct</u>;
</big></dt>
<dd>For selecting colours by name<br><br>
</dd>
<dt><big>int <u>Init</u>(string[] <i>args</i>, int <i>parts</i> = ALL_ALLEGRO);
</big></dt>
<dd>Set every thing up
<br><br>
Screen mode colour depth, and resultion(sp)
<br><br>
Also install: timer, keyboard, and mouse
<br><br>
Uses mixin's for each install allegro part
<br><br>
<b>Returns:</b><br>
0 on success<br><br>
</dd>
</dl>
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/2.0/ddoc.html">Ddoc</a>. </small>
</body></html>