equal
deleted
inserted
replaced
|
1 #summary Explanation of Pas2C and how to build it |
1 #labels Phase-Implementation |
2 #labels Phase-Implementation |
2 ==Introduction== |
3 ==Introduction== |
3 Pas2C is an alternative way to build the engine. It is disabled by default. |
4 Pas2C is an alternative way to build the engine. It is disabled by default. |
4 |
5 |
5 Pas2C is intended to be used when building the engine natively (e.g. with !FreePascal) fails for some reason. However, Pas2C does have some limitations and you should try to first build Hedgewars normally before attempting a Pas2C build. |
6 Pas2C is intended to be used when building the engine natively (e.g. with !FreePascal) fails for some reason. However, Pas2C does have some limitations and you should try to first build Hedgewars normally before attempting a Pas2C build. |
6 |
7 |
7 Pas2C is our hand-written Pascal-to-C-compiler. It works by converting all Pascal code to C, and then compiling the C code. Yes, we're a little crazy. :-) |
8 Pas2C is our hand-written Pascal-to-C-compiler. It works by converting all Pascal code to C, and then compiling the C code with a C compiler. Pas2C itself is written in Haskell. Yes, we're a little crazy. :-) |
8 |
9 |
9 ==Limitations== |
10 ==Limitations== |
10 |
11 |
11 The Pas2C build currently doesn't support the video recorder. A warning will be printed if you try to build a Pas2C build with video recorder support anyway. |
12 The Pas2C build currently doesn't support the video recorder. A warning will be printed if you try to build a Pas2C build with video recorder support anyway. |
12 |
13 |