Skip to content

Commit c13d4e5

Browse files
committed
fix inserting bitmap, add error checking, cleanup
1 parent 4eea915 commit c13d4e5

12 files changed

+1081
-867
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/Debug
2+
/x64
3+
/.vs

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
CPP = g++.exe
3-
OBJ = font.o
3+
OBJ = main.o font.o offset.o tga.o
44
BIN = sh234font.exe
55
CXXFLAGS = -std=c++11
66

@@ -12,5 +12,5 @@ clean:
1212
$(BIN): $(OBJ)
1313
$(CPP) $(OBJ) -o $(BIN)
1414

15-
font.o: font.cpp
16-
$(CPP) -c font.cpp -o font.o $(CXXFLAGS)
15+
%.o: %.cpp
16+
$(CPP) -c $< -o $@ $(CXXFLAGS)

0 commit comments

Comments
 (0)