<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=Development</id>
	<title>Development - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=Development"/>
	<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=Development&amp;action=history"/>
	<updated>2026-12-06T18:56:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0</generator>
	<entry>
		<id>https://wiki.eech.online/index.php?title=Development&amp;diff=62&amp;oldid=prev</id>
		<title>imported&gt;SimHQ import: Imported from eechcentral.simhq.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=Development&amp;diff=62&amp;oldid=prev"/>
		<updated>2026-11-14T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;Imported from eechcentral.simhq.net&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:Feather.png|200px|right]]&lt;br /&gt;
&lt;br /&gt;
This page is for those who intend to develop this game by programming the source code. &amp;#039;&amp;#039;&amp;#039;Please note that the code was made available under the terms of [[EECH_License|this licence]].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== About the source code ==&lt;br /&gt;
&lt;br /&gt;
The source code is written in [http://en.wikipedia.org/wiki/C_%28programming_language%29 C].&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Acquire source code ===&lt;br /&gt;
&lt;br /&gt;
The source code is hosted in a [http://en.wikipedia.org/wiki/Git_%28software%29 Git] repository. In order to download a copy (&amp;#039;clone&amp;#039;) of the source code, you will need an account.&lt;br /&gt;
&lt;br /&gt;
In order to get one, follow the instructions on this post [http://simhq.com/forum/ubbthreads.php/topics/4420670 EECH Source Code Access] section of SimHQ forums. For instructions on how to download the copy once an account was created, see [[GitHelp|this page]].&lt;br /&gt;
&lt;br /&gt;
=== [http://www.openwatcom.org/index.php/Main_Page OpenWatcom] ===&lt;br /&gt;
&lt;br /&gt;
The first step is to get OpenWatcom. [ftp://ftp.openwatcom.org/ Latest version 1.9] is fully compatible. Other compilers or versions may work, but you will probably have to fix some errors for it to compile.&lt;br /&gt;
[ftp://ftp.openwatcom.org/archive/ Version 1.3 and 1.7a] are known as working, but in 1.7 you will have to add &amp;quot;#undef INTERFACE&amp;quot; right before &amp;quot;include &amp;lt;ole2.h&amp;gt;&amp;quot; in dplay.h (one of the files from the directx SDK, see next paragraph).&lt;br /&gt;
&lt;br /&gt;
[[Image:Download.png|20px]] download [ftp://ftp.openwatcom.org/install/open-watcom-c-win32-1.9.exe OpenWatcom Win32 1.9]&lt;br /&gt;
&lt;br /&gt;
=== [http://en.wikipedia.org/wiki/Direct_X DirectX SDK] ===&lt;br /&gt;
&lt;br /&gt;
You will also need Microsoft&amp;#039;s DirectX 9 SDK.&lt;br /&gt;
&lt;br /&gt;
For Watcom to find the DirectX libraries and headers, copy the content from the &amp;lt;code&amp;gt;Lib&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Include&amp;lt;/code&amp;gt; directories from the installed DirectX SDK to the &amp;lt;code&amp;gt;lib386\nt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;h\nt&amp;lt;/code&amp;gt; directories respectively in the Watcom install.&lt;br /&gt;
&lt;br /&gt;
[[Image:Download.png|20px]] download [http://download.fileplanet.com/ftp1/fpnew/miscellaneous/dx90bsdk.exe DirectX 9b SDK]&lt;br /&gt;
&lt;br /&gt;
=== [https://en.wikipedia.org/wiki/OpenAL OpenAL] ===&lt;br /&gt;
&lt;br /&gt;
To add OpenAL support you have to follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Place &amp;lt;code&amp;gt;al.h&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;alc.h&amp;lt;/code&amp;gt; into Watcom &amp;lt;code&amp;gt;h\nt&amp;lt;/code&amp;gt; directory. You can get these files from installed OpenAL 1.1 SDK directory.&lt;br /&gt;
* &amp;lt;strike&amp;gt;Define &amp;lt;code&amp;gt;openal&amp;lt;/code&amp;gt; variable. You can open &amp;lt;code&amp;gt;aphavoc/makefile&amp;lt;/code&amp;gt; add &amp;lt;code&amp;gt;!define openal&amp;lt;/code&amp;gt; somewhere at the top of this file. &amp;lt;/strike&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Download.png|20px]] download [http://downloads.sourceforge.net/project/foobar-openal/foo_dsp_openal/OpenAL%20SDK%20(by%20Creative)/OpenAL11CoreSDK.7z?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ffoobar-openal%2Ffiles%2Ffoo_dsp_openal%2FOpenAL%2520SDK%2520%2528by%2520Creative%2529%2F&amp;amp;ts=1390249375&amp;amp;use_mirror=softlayer-dal OpenAL 1.1 SDK]&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
&lt;br /&gt;
First make a directory linklib under /modules and copy all the libs from DXSDK\lib (in the DirectX SDK files) to that new directory.&lt;br /&gt;
&lt;br /&gt;
There are several scripts used for compiling there. The most useful are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;dmake&amp;lt;/code&amp;gt;, to make a debug build&lt;br /&gt;
* &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt;, to make a release build&lt;br /&gt;
* &amp;lt;code&amp;gt;remake&amp;lt;/code&amp;gt;, to clear all temporary compilation files&lt;br /&gt;
&lt;br /&gt;
It is important to edit the scripts &amp;lt;code&amp;gt;dmake&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; to have the correct ROOTPATH before start building. This is the directory where the source is installed.&lt;br /&gt;
&lt;br /&gt;
To compile launch OpenWatcom IDE and create new project in the the &amp;lt;code&amp;gt;aphavoc&amp;lt;/code&amp;gt; directory in the source. At the next window choose Win32 environment and Windowed Executable type. You can save project to use it in the future.&lt;br /&gt;
Now you can choose &amp;#039;&amp;#039;&amp;#039;Launch - Run Batch&amp;#039;&amp;#039;&amp;#039; and type proper script name (&amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; for example).&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Credits|Developers]]&lt;br /&gt;
* [[3D modeling]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developing]]&lt;/div&gt;</summary>
		<author><name>imported&gt;SimHQ import</name></author>
	</entry>
</feed>