-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
124 lines (77 loc) · 3.28 KB
/
README
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
______ ___ ___ ______
/\ _ \ /\_ \ /\_ \ /\ ___\
\ \ \_\ \\//\ \ \//\ \ __ __ _ __ ___ __ ___ ____\ \ \__/
\ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ /'__`\ /\__`\ /'___/ \ \___``\
\ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \_\ \ \ \//\ \_\ \__/\ \_\ \\/ __ \/\____`\ \/\ \_\ \
\ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/\_\ \ __//\____/\/\____/ \ \____/
\/_/\/_/\/____/\/____/\/____/\/___/\ \/_/ \/___/\/_/\ \ \/ \/___/ \/___/ \/___/
/\____/ \ \_\
Version 5.2.alpha 2 \/___/ \/_/
A wrapper to use the Allegro library with Pascal compilers.
========
Contents
========
- Introduction
- License
- Installation
- Documentation
- Contact info
============
Introduction
============
Allegro.pas5 is a wrapper to allow Pascal compilers (such as Free Pascal or
Delphi) to use the Allegro library.
This is a WIP (alpha) version for the Allegro 5 version. It is released
to show what's done and to allow developers to test it and give feedback.
Current version was tested only on GNU/Linux, OS X and Windows with Free Pascal
and also on Windows with Delphi 7.
The goal is to make Allegro.pas5 compatible with any operating system
supported by Allegro, which are Windows, Linux, OS X, iOS and Android.
As this is a WIP alpha version, there is some missing functionality.
Implemented
-----------
+ Event manager, including but not limited to keyboard, mouse, timer and
display.
+ OpenGL support (except extensions).
+ Software bitmaps.
+ Text drawing.
+ Transformations.
Partially implemented or need more testing
------------------------------------------
* Primitive drawing.
* Audio samples and streams.
* Native dialogs.
* ttf fonts.
Unimplemented
-------------
- OpenGL extensions.
- kcm audio.
- Custom memory management.
- Phys file system.
- Demonstration game.
You can read more about this at the "docs/internal" subdirectory.
=======
License
=======
Allegro.pas5 is released under zlib/png license. See the LICENSE file for
details. Authors are listed in the AUTHORS file.
============
Installation
============
First you must install Allegro itself. Current Allegro.pas5 version is
compatible with version 5.2.x of Allegro. Visit Allegro's project website at
http://alleg.sf.net/ to download it. The package includes installation
instructions.
Then you need a Pascal compiler. At the moment only Free Pascal and Delphi
were tested but may be other compilers (such as GNU/Pascal) can be used too.
Each combination of compiler and operating system may need different
configuration so if it doesn't compile open file "lib/allegro.cfg" and modify
it. REMEMBER what do you change and let me know it so I can add it in future
releases.
=============
Documentation
=============
At the moment the public documentation isn't complete. Since symbols have
same name than the C version you can use the original Allegro documentation.
I've put some information at the docs/internal subdirectory. Read it
specially if you're planning to write or hack your own test programs.