55 Commits

Author SHA1 Message Date
Grayson Riffe (Laptop)
6e3a576fef No longer need to specify an application when creating a game state 2021-09-07 22:35:44 -05:00
Grayson Riffe (Laptop)
da2224e7e9 Fixed last commit 2021-09-07 01:13:16 -05:00
Grayson Riffe (Laptop)
7ea56370d6 Added fading between states 2021-09-07 01:08:37 -05:00
Grayson Riffe (Desktop)
cdcd8a1994 Set up the intro gamestate; Added opacity and scale controls to UI elements 2021-09-06 03:01:11 -05:00
Grayson Riffe (Desktop)
9158de2f39 Added Cubemap 2021-09-06 01:06:47 -05:00
Grayson Riffe (Desktop)
f749b29c31 Added directional light type 2021-09-04 20:59:27 -05:00
Grayson Riffe (Laptop)
5c10fdc1a4 Added basic shading and support for up to 100 lights of any color; By default now, states with no lights are dark 2021-09-04 15:51:03 -05:00
Grayson Riffe (Desktop)
dff0d86558 Added UITexture and font caching 2021-09-02 02:21:27 -05:00
Grayson Riffe (Laptop)
65fd8e89bb Added UIElement and Text; Custom fonts are supported 2021-09-01 19:17:24 -05:00
Grayson Riffe (Laptop)
c0f7634b5f Moved over from Win32 resources to purely nfpack; Included primitives and default shader in base.nfpack; Camera fixes 2021-09-01 13:08:21 -05:00
Grayson Riffe (Laptop)
48821afd76 Added Camera and first-person and UI camera types; Added mouse tracking to aid this 2021-09-01 02:04:44 -05:00
Grayson Riffe (Laptop)
d628bbb184 Reworked frame timing again; Reworked input 2021-08-30 23:52:26 -05:00
Grayson Riffe (Laptop)
9fcd8240e4 Added asset loading and OBJ parsing, including indexing 2021-08-30 21:26:06 -05:00
Grayson Riffe (Laptop)
995cd5e80a Wrote the asset pack creator; Encryption no longer needs to be specified in readFile 2021-08-29 01:02:37 -05:00
Grayson Riffe (Laptop)
29b3f8627e Added AssetPack and basic assets 2021-08-27 22:37:02 -05:00
Grayson Riffe (Laptop)
933d3f1fe9 Added Texture 2021-08-27 17:41:45 -05:00
Grayson Riffe (Laptop)
4f1ea8327a Added projection matrix; Now 3D 2021-08-27 12:57:30 -05:00
Grayson Riffe (Laptop)
bd8df1c2cf Removed completed tasks 2021-08-27 01:22:36 -05:00
Grayson Riffe (Laptop)
dd4071c29e Added default shader 2021-08-27 01:18:39 -05:00
Grayson Riffe (Laptop)
5d32976869 Added Entity and transformations with GLM; Minor changes 2021-08-27 01:10:32 -05:00
Grayson Riffe (Laptop)
bc5c17ebfb Added basic file encryption to writeFile and readFile; Minor changes 2021-08-26 13:17:29 -05:00
Grayson Riffe (Laptop)
d74f808a17 Added Model and default shader; Organization 2021-08-26 00:23:56 -05:00
Grayson Riffe (Laptop)
1c638bdcb9 Added two render layers and the basic rendering pipeline; Fixed fullscreen graphics; No shader re-binding 2021-08-25 02:59:04 -05:00
Grayson Riffe (Laptop)
e35688373e Rewrote Gamestate to be a class instead of an interface; Added layers 2021-08-25 02:58:25 -05:00
Grayson Riffe (Laptop)
2f4e0ebfac Added Drawable, rewrote changing states, and organized class definitions and macros 2021-08-24 12:31:15 -05:00
Grayson Riffe (Laptop)
1f6bb4630c Minor changes 2021-08-24 11:09:07 -05:00
Grayson Riffe (Desktop)
e17d2e283a Rewrote VertexArray to support multiple VBOs; Minor fixes and organization 2021-08-24 01:26:10 -05:00
Grayson Riffe (Laptop)
f75f98d9db Misc. fixes 2021-08-23 14:25:38 -05:00
Grayson Riffe (Laptop)
5c6dcaf634 Added sleep on input thread to further reduce CPU usage 2021-08-23 11:16:03 -05:00
Grayson Riffe (Desktop)
e238e35bb2 Refactored game loop to use less CPU 2021-08-23 01:13:53 -05:00
Grayson Riffe (Laptop)
a9106ee20e Added Shader 2021-08-22 21:40:50 -05:00
Grayson Riffe (Desktop)
0724c6a84a Added VertexArray 2021-08-22 03:16:54 -05:00
Grayson Riffe (Laptop)
99404714e8 Removed debugging directives 2021-08-20 14:09:37 -05:00
Grayson Riffe (Laptop)
f6ffb9f87e Started work on the Renderer and added directory-creating functionality to writeFile 2021-08-20 14:06:03 -05:00
Grayson Riffe (Desktop)
11dc2deb2f Minor updates 2021-08-20 01:47:56 -05:00
Grayson Riffe (Laptop)
22deb5a7ad Added readFile and writeFile utility functions and changeConfig member function 2021-08-19 16:08:26 -05:00
Grayson Riffe (Laptop)
9bfbfb637b Fixed threading bug and rewrote syntax of addState 2021-08-19 11:25:03 -05:00
Grayson Riffe (Desktop)
a21c24040d Added keyboard and mouse input 2021-08-19 00:48:33 -05:00
Grayson Riffe (Desktop)
95426b9205 Fixed FPS timing issue 2021-08-18 22:46:14 -05:00
Grayson Riffe (Desktop)
5bfcb1f163 Divided engine into two threads 2021-08-18 22:23:01 -05:00
Grayson Riffe (Desktop)
61768b00f9 Updated quit procedure 2021-08-18 21:32:55 -05:00
Grayson Riffe (Desktop)
15c732be38 Added NatVis file 2021-08-18 20:32:56 -05:00
Grayson Riffe (Laptop)
cd205d241b Tidied up code and fixed an Alt-Enter bug 2021-08-18 17:25:23 -05:00
Grayson Riffe (Laptop)
ea9c4054bd Tested state changing 2021-08-18 14:26:12 -05:00
Grayson Riffe (Laptop)
e8bc0903e6 Added state changing 2021-08-18 13:54:06 -05:00
Grayson Riffe (Laptop)
c63fd0ec88 Added single instance lock and release error system 2021-08-18 12:22:57 -05:00
Grayson Riffe (Laptop)
c3599ed150 Added check for default gamestate 2021-08-17 14:26:01 -05:00
Grayson Riffe (Laptop)
e540c19860 Added default gamestate and gamestate vectors; Minor fixes and refacorings 2021-08-17 14:07:59 -05:00
Grayson Riffe (Laptop)
94c503f098 Added Gamestate class 2021-08-16 14:24:36 -05:00
Grayson Riffe (Laptop)
efeec66fad Added FPS cap, added Optimus support, and removed showWindow requirement 2021-08-16 14:07:20 -05:00