30 Commits

Author SHA1 Message Date
Grayson Riffe (Laptop)
8bb59e7b6c Input can now deduce pressing and holding keys 2021-09-10 12:35:19 -05:00
Grayson Riffe (Desktop)
2d3b3653ff Reworked gamestates to reset NF objects when exiting states; Intro state + fading is now based on delta time 2021-09-08 02:09:20 -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 (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)
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 (Desktop)
e238e35bb2 Refactored game loop to use less CPU 2021-08-23 01:13:53 -05:00
Grayson Riffe (Desktop)
0724c6a84a Added VertexArray 2021-08-22 03:16:54 -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 (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)
5bfcb1f163 Divided engine into two threads 2021-08-18 22:23:01 -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)
e8bc0903e6 Added state changing 2021-08-18 13:54:06 -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)
efeec66fad Added FPS cap, added Optimus support, and removed showWindow requirement 2021-08-16 14:07:20 -05:00
Grayson Riffe (Desktop)
2eb8d55a1c Created OpenGL context 2021-08-15 01:22:35 -05:00
Grayson Riffe (Desktop)
8e4ed26755 Window Procedure work and Alt-Enter fullscreen toggle 2021-08-14 19:56:23 -05:00
Grayson Riffe (Desktop)
5777478858 Finished debug logger for now; Started work on the main window and fullscreen functionality 2021-08-14 15:48:52 -05:00
Grayson Riffe (Laptop)
41d043726c Started work on the debug logger 2021-08-13 15:15:58 -05:00
Grayson Riffe (Laptop)
9094f8c50c Created solution structure 2021-08-13 13:49:47 -05:00