use file headers
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "args.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "logs.h"
|
#include "logs.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "file.h"
|
||||||
#include "logs.h"
|
#include "logs.h"
|
||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
#include "forge.h"
|
||||||
#include "logs.h"
|
#include "logs.h"
|
||||||
#include "shaders.h"
|
#include "shaders.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
#include "args.h"
|
#include "args.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "forge.h"
|
#include "forge.h"
|
||||||
|
#include "main.h"
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
Parameters params;
|
Parameters params;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#ifndef MAIN_H
|
#ifndef MAIN_H
|
||||||
#define MAIN_H
|
#define MAIN_H
|
||||||
|
|
||||||
|
int main(int argc, char **argv);
|
||||||
|
|
||||||
#endif /* MAIN_H */
|
#endif /* MAIN_H */
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "logs.h"
|
#include "logs.h"
|
||||||
|
#include "shaders.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
static bool compile_shader(GLuint shader_id, char *name, char *source_code) {
|
static bool compile_shader(GLuint shader_id, char *name, char *source_code) {
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "strings.h"
|
||||||
|
|
||||||
char *strings_concat(const char *s1, const char *s2) {
|
char *strings_concat(const char *s1, const char *s2) {
|
||||||
char *result;
|
char *result;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#include "timer.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
Timer timer_init(const unsigned int target) {
|
Timer timer_init(const unsigned int target) {
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "logs.h"
|
#include "logs.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include "window.h"
|
||||||
|
|
||||||
#define GLAD_GL_IMPLEMENTATION
|
#define GLAD_GL_IMPLEMENTATION
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user