Skip to content

Commit

Permalink
Add initial port.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrejMitrovic committed May 20, 2014
0 parents commit 68f294d
Show file tree
Hide file tree
Showing 76 changed files with 22,444 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/build
/bin/*
/examples/bin/*
/data
/todo/*
*.a
*.c
*.dat
*.h
*.o
*.7z
*.di
*.cpp
*.dat
*.log
*.lib
!implib/*.lib
*.dll
*.exe
*.map
*.obj
*.rar
*.xml
*.deps
*.modTime
.sandbox
.dub
src/translate.d
*.visualdproj
*.sln
*.suo
todo.md
4 changes: 4 additions & 0 deletions SciTEDirectory.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a SciTE[1] configuration file. You can ignore this file if you're not using SciTE.
# [1] : http://www.scintilla.org/SciTE.html
command.go.subsystem.*.d=0
command.go.*.d=dub -q --root=$(SciteDirectoryHome)
36 changes: 36 additions & 0 deletions dub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "dbox",

"description": "dbox is a D port of the Box2D game physics library",

"authors": [
"Erin Catto",
"Andrej Mitrovic"
],

"homepage": "https://github.com/d-gamedev-team/dbox",

"copyright": "Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com",

"license": "zlib",

"targetName": "dbox",

"targetType": "staticLibrary",

"targetPath" : "bin",

"sourcePaths": [
"src"
],

"dependencies": {
"glad-drey": ">=0.0.2",
"dimgui": ">=0.1.1-alpha",
},

"subPackages": [
"examples/hello_world",
"examples/demo",
],
}
Binary file added examples/DroidSans.ttf
Binary file not shown.
4 changes: 4 additions & 0 deletions examples/SciTEDirectory.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a SciTE[1] configuration file. You can ignore this file if you're not using SciTE.
# [1] : http://www.scintilla.org/SciTE.html
command.go.subsystem.*.d=0
command.go.*.d=dub -q --root=$(FileDir)
4 changes: 4 additions & 0 deletions examples/demo/SciTEDirectory.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a SciTE[1] configuration file. You can ignore this file if you're not using SciTE.
# [1] : http://www.scintilla.org/SciTE.html
command.go.subsystem.*.d=0
command.go.*.d=dub -q --root=$(SciteDirectoryHome)
26 changes: 26 additions & 0 deletions examples/demo/demo.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/

module demo;

import framework.main;

void main()
{
runTests();
}
41 changes: 41 additions & 0 deletions examples/demo/dub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "demo",

"description": "demo",

"authors": [
"Erin Catto",
"Andrej Mitrovic"
],

"homepage": "https://github.com/d-gamedev-team/dbox",

"copyright": "Copyright (c) 2006-2009 Erin Catto http://www.box2d.org",

"license": "zlib",

"buildOptions": ["debugInfo"],

"buildRequirements": ["silenceDeprecations"],

"targetName" : "demo",

"targetPath" : "../../bin",

"targetType": "executable",

"sourceFiles": ["demo.d"],

"sourcePaths": [
".", "framework", "tests"
],

"mainSourceFile": "demo.d",

"dependencies": {
"dbox": {"path": "../../", "version": "~master"},
"glfw-drey": ">=0.0.2",
"glwtf-drey": ">=0.0.1",
"dimgui": ">=0.1.4-alpha",
},
}
Loading

0 comments on commit 68f294d

Please sign in to comment.