Skip to content

Commit 6be7d8e

Browse files
committed
First code import
Signed-off-by: Dan Printzell <[email protected]>
1 parent a295787 commit 6be7d8e

File tree

383 files changed

+119215
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+119215
-0
lines changed

.clang-format

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Chromium
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: true
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: false
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: Inline
15+
AllowShortIfStatementsOnASingleLine: false
16+
AllowShortLoopsOnASingleLine: false
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
BinPackArguments: true
22+
BinPackParameters: false
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
BeforeCatch: false
33+
BeforeElse: false
34+
IndentBraces: false
35+
BreakBeforeBinaryOperators: None
36+
BreakBeforeBraces: Attach
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: false
39+
BreakAfterJavaFieldAnnotations: false
40+
BreakStringLiterals: true
41+
ColumnLimit: 160
42+
CommentPragmas: '^ IWYU pragma:'
43+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
44+
ConstructorInitializerIndentWidth: 2
45+
ContinuationIndentWidth: 2
46+
Cpp11BracedListStyle: true
47+
DerivePointerAlignment: false
48+
DisableFormat: false
49+
ExperimentalAutoDetectBinPacking: false
50+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
51+
IncludeCategories:
52+
- Regex: '^<.*\.h>'
53+
Priority: 1
54+
- Regex: '^<.*'
55+
Priority: 2
56+
- Regex: '.*'
57+
Priority: 3
58+
IncludeIsMainRegex: '([-_](test|unittest))?$'
59+
IndentCaseLabels: false
60+
IndentWidth: 2
61+
IndentWrappedFunctionNames: false
62+
JavaScriptQuotes: Leave
63+
JavaScriptWrapImports: true
64+
KeepEmptyLinesAtTheStartOfBlocks: false
65+
MacroBlockBegin: ''
66+
MacroBlockEnd: ''
67+
MaxEmptyLinesToKeep: 1
68+
NamespaceIndentation: None
69+
ObjCBlockIndentWidth: 2
70+
ObjCSpaceAfterProperty: false
71+
ObjCSpaceBeforeProtocolList: false
72+
PenaltyBreakBeforeFirstCallParameter: 1
73+
PenaltyBreakComment: 300
74+
PenaltyBreakFirstLessLess: 120
75+
PenaltyBreakString: 1000
76+
PenaltyExcessCharacter: 1000000
77+
PenaltyReturnTypeOnItsOwnLine: 200
78+
PointerAlignment: Left
79+
ReflowComments: true
80+
SortIncludes: false
81+
SpaceAfterCStyleCast: false
82+
SpaceBeforeAssignmentOperators: true
83+
SpaceBeforeParens: ControlStatements
84+
SpaceInEmptyParentheses: false
85+
SpacesBeforeTrailingComments: 1
86+
SpacesInAngles: false
87+
SpacesInContainerLiterals: true
88+
SpacesInCStyleCastParentheses: false
89+
SpacesInParentheses: false
90+
SpacesInSquareBrackets: false
91+
Standard: Auto
92+
TabWidth: 2
93+
UseTab: Always
94+
...
95+

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@
2727
*.exe
2828
*.out
2929
*.app
30+
.vscode
31+
.ninja*
32+
*.ninja
33+
imgui.ini
34+
.reggae
35+
/trigonoverthrow

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
# TrigonOverthrow
22
Trigon Overthrow is an angled top down shooter that revolves around the world of 3D primitives.
3+
4+
## Introduction
5+
TurtleGL is a 3D engine written in C++, using OpenGL, for a school project.
6+
7+
8+
## Dependencies
9+
This project uses:
10+
- SDL2
11+
- SDL2_image
12+
- OpenGL
13+
- GLAD
14+
- GLM
15+
- Assimp
16+
17+
## License
18+
Mozilla Public License, version 2.0 - See LICENSE or [[https://www.mozilla.org/en-US/MPL/2.0/][here]].

README.org

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#+TITLE: TurtleGL
2+
#+AUTHOR: Dan Printzell
3+
4+
5+
* Introduction
6+
TurtleGL is a 3D engine written in C++, using OpenGL, for a school project.
7+
8+
9+
* Dependencies
10+
This project uses:
11+
- SDL2
12+
- SDL2_image
13+
- OpenGL
14+
- GLEW
15+
- GLM
16+
- Assimp
17+
18+
The build tool it uses is CMake or [[https://github.com/atilaneves/reggae][Reggae]].
19+
Windows have to use CMake!
20+
Windows user also have to download [[https://definewild.se/windows.zip][windows.zip]] and put the windows folder in the root of the project.
21+
This is needed because Windows sucks (It doesn't have a package/dependency manager).
22+
23+
* License
24+
Mozilla Public License, version 2.0 - See LICENSE or [[https://www.mozilla.org/en-US/MPL/2.0/][here]].

assets/fonts/DroidSans.ttf

186 KB
Binary file not shown.

assets/textures/error.png

174 Bytes
Loading

assets/textures/errorNormal.png

102 Bytes
Loading

bin/LICENSE.FLAC.txt

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
The source code to this library used with SDL_mixer can be found here:
2+
http://www.libsdl.org/projects/SDL_mixer/libs/
3+
---
4+
5+
Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions
9+
are met:
10+
11+
- Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
14+
- Redistributions in binary form must reproduce the above copyright
15+
notice, this list of conditions and the following disclaimer in the
16+
documentation and/or other materials provided with the distribution.
17+
18+
- Neither the name of the Xiph.org Foundation nor the names of its
19+
contributors may be used to endorse or promote products derived from
20+
this software without specific prior written permission.
21+
22+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
26+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

bin/LICENSE.jpeg.txt

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
The source code to this library used with SDL_image can be found here:
2+
http://www.libsdl.org/projects/SDL_image/libs/
3+
---
4+
5+
LEGAL ISSUES
6+
============
7+
8+
In plain English:
9+
10+
1. We don't promise that this software works. (But if you find any bugs,
11+
please let us know!)
12+
2. You can use this software for whatever you want. You don't have to pay us.
13+
3. You may not pretend that you wrote this software. If you use it in a
14+
program, you must acknowledge somewhere in your documentation that
15+
you've used the IJG code.
16+
17+
In legalese:
18+
19+
The authors make NO WARRANTY or representation, either express or implied,
20+
with respect to this software, its quality, accuracy, merchantability, or
21+
fitness for a particular purpose. This software is provided "AS IS", and you,
22+
its user, assume the entire risk as to its quality and accuracy.
23+
24+
This software is copyright (C) 1991-2012, Thomas G. Lane, Guido Vollbeding.
25+
All Rights Reserved except as specified below.
26+
27+
Permission is hereby granted to use, copy, modify, and distribute this
28+
software (or portions thereof) for any purpose, without fee, subject to these
29+
conditions:
30+
(1) If any part of the source code for this software is distributed, then this
31+
README file must be included, with this copyright and no-warranty notice
32+
unaltered; and any additions, deletions, or changes to the original files
33+
must be clearly indicated in accompanying documentation.
34+
(2) If only executable code is distributed, then the accompanying
35+
documentation must state that "this software is based in part on the work of
36+
the Independent JPEG Group".
37+
(3) Permission for use of this software is granted only if the user accepts
38+
full responsibility for any undesirable consequences; the authors accept
39+
NO LIABILITY for damages of any kind.
40+
41+
These conditions apply to any software derived from or based on the IJG code,
42+
not just to the unmodified library. If you use our work, you ought to
43+
acknowledge us.
44+
45+
Permission is NOT granted for the use of any IJG author's name or company name
46+
in advertising or publicity relating to this software or products derived from
47+
it. This software may be referred to only as "the Independent JPEG Group's
48+
software".
49+
50+
We specifically permit and encourage the use of this software as the basis of
51+
commercial products, provided that all warranty or liability claims are
52+
assumed by the product vendor.
53+
54+
55+
The IJG distribution formerly included code to read and write GIF files.
56+
To avoid entanglement with the Unisys LZW patent, GIF reading support has
57+
been removed altogether, and the GIF writer has been simplified to produce
58+
"uncompressed GIFs". This technique does not use the LZW algorithm; the
59+
resulting GIF files are larger than usual, but are readable by all standard
60+
GIF decoders.
61+
62+
We are required to state that
63+
"The Graphics Interchange Format(c) is the Copyright property of
64+
CompuServe Incorporated. GIF(sm) is a Service Mark property of
65+
CompuServe Incorporated."

0 commit comments

Comments
 (0)