update imgui
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,5 +3,6 @@
|
|||||||
Revird
|
Revird
|
||||||
*.ko
|
*.ko
|
||||||
TaxiDriver.mod.c
|
TaxiDriver.mod.c
|
||||||
|
imgui.ini
|
||||||
*.o
|
*.o
|
||||||
*.cmd
|
*.cmd
|
||||||
@@ -1,13 +1,15 @@
|
|||||||
SRC = main.cpp \
|
SRC = main.cpp \
|
||||||
memory.cpp
|
memory.cpp \
|
||||||
|
imgui/*.cpp
|
||||||
OBJ = $(SRC:.cpp=.o)
|
OBJ = $(SRC:.cpp=.o)
|
||||||
NAME = Revird
|
NAME = Revird
|
||||||
CFLAGS = -Wall -Wextra -Wpedantic
|
INC = -Iimgui/
|
||||||
|
CFLAGS = -Wall -Wextra -Wpedantic -lSDL3 -lOpenGL
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
$(NAME): $(OBJ)
|
$(NAME): $(OBJ)
|
||||||
g++ $(SRC) $(CFLAGS) -o $(NAME)
|
g++ $(SRC) $(CFLAGS) $(INC) -o $(NAME)
|
||||||
mv $(NAME) ../../.
|
mv $(NAME) ../../.
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#include "memory.hpp"
|
#include "memory.hpp"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
/*
|
||||||
if (!open_device())
|
if (!open_device())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
@@ -17,5 +19,6 @@ int main() {
|
|||||||
printf("Value from RPM: %d\n", out);
|
printf("Value from RPM: %d\n", out);
|
||||||
|
|
||||||
close_device();
|
close_device();
|
||||||
|
*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user