NOTE: THIS PROJECT IS MOSTLY INCOMPLETE
The aim of Ada Doom3 is to re-engineer the id-tech 4 engine with a clear dependency hierarchy, and robust tasking systems along with many other improvements.
- Load and play doom 3 bfg levels.
- Load Valve map workshop levels.
- Native ports for Windows, Linux X Windows, Mac OS, and SDL.
- Input support for generic and all major game-pads.
- Multi-monitor windowing.
- Threaded rendering with support for using multiple graphics cards.
- SIMD math library.
- Responsive multi-player.
- Steam support for user accounts and achievements.
This code uses Ada 2012 features, your compiler will have to at least support the aspect with clause.
In order to compile the code issue the following command:
gnatmake -I/$OS -I/$PLATFORM -I/$COMPILER -gnat12 main.adb
Where
- $OS - is your operating system (currently supported values: Windows)
- $PLATFORM - is your processor type (currently supported values: x86-64)
- $COMPILER - is your compiler (currently supported values: GNAT)
Use the -g
compile flag to enable file/subprogram/line printing during stack traces (GNAT only).
Example for Windows:
gnatmake -I/Windows -I/x86-64 -I/GNAT -g -gnat12 main.adb
Jenkins polls the git repository hourly for any changes and regularly builds the project.
You can monitor the build status and build history on the following address: http://46.148.150.105:8080/
Contact the maintainer at netprobe[at]gmail.com if you would like to add your machine as a build slave.
An alternative to the compilation method above is to use GPRBuild:
gprbuild adadoom3.gpr
Or the Gnat Programming Studio IDE may be used (email is optional): http://libre.adacore.com/download/
To compile with GPS click the gear and hammer button ✹
after ensuring the scenario drop boxes are correct.
After successfully compiling press play ▶
to run.
Github's tutorial on installing and using commandline git: https://help.github.com/categories/54/articles
Frequent commands:
git init
git config --global user.email ""
git config --global user.name ""
git remote add origin https://github.com/AdaDoom3/AdaDoom3.git
git pull origin master
git pull origin branch
git commit -am ''
git push origin master
git push origin master:branch
The project is organized into the following layers, currently work is being done on the foundation and system layers for Windows.
- Foundation
- System
- Library
- Video
- Audio
- Core
- Game
- Raw input implementation.
- Multi-monitor testing.
- OpenGL dll loading.
- Audio via XAudio2.
- Windows specific network implementation.
- Move on to Library layer.
The following are small tasks that are currently needed
- Begin adding Linux/Mac support by implementing stubbed functions/subprograms in the following files
- POSIX/neo-system-implementation.adb
- POSIX/neo-system-memory-implementation.adb
- POSIX/neo-system-processor-implementation_for_operating_system.adb
exitcode.zero[at]gmail.com
Unless otherwise noted here, all files and subprograms are GPLv3. http://www.gnu.org/licenses/gpl-3.0.txt
To begin developing for AdaDoom3, first examine all of the “base” system and foundation components in the /Code directory.
Each package in this folder (as all packages in Ada) consists of a specification (ads) and a body file (adb). For clarity, everything but subprogram, package, protected type, and task bodies are placed in the specification (including global variables and private function prototypes) allowing an entire overview of user-important information in one file.
It is highly recommended to examine the foundation files first as they will be included at almost every level in the design. They contain all of the basic components: data types, utilities for testing packages, and redirectable text input and output. The data types file is especially notable, because it renames all elementary Ada data types to be more descriptive by including each type’s byte size and range (i.e. renaming Integer to Integer_4_Signed). Although it is possible to use the non-renamed data types with the renamed ones interchangeably, it is not recommended.
More to come…