Skip to content

Commit 9e91880

Browse files
committed
Remove debuging message
1 parent b49e2bb commit 9e91880

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

_windows/bin/SSGE.dll

0 Bytes
Binary file not shown.

_windows/lib/libSSGE.a

28 Bytes
Binary file not shown.

example/makefile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,29 @@ setup:
2727
@echo "Setting up SSGE..."
2828
@echo "Copying SSGE files to the project directory..."
2929
@echo "This may take a while, please wait..."
30-
@rm -f $(OSDIR)/libSSGE.so
31-
@cp -r ../$(OSDIR)/bin/* $(OSDIR)
30+
ifeq ($(OS),Windows_NT)
31+
@rm -f $(OSDIR)/bin/SSGE.dll
32+
@cp -f ../$(OSDIR)/bin/SSGE.dll $(OSDIR)/SSGE.dll
33+
@cp -f ../$(OSDIR)/bin/SSGE.dll ./$(OSDIR)/SSGE.dll
34+
@cp -f ../$(OSDIR)/bin/SDL2.dll ./$(OSDIR)/SDL2.dll
35+
@cp -f ../$(OSDIR)/bin/SDL2_image.dll ./$(OSDIR)/SDL2_image.dll
36+
@cp -f ../$(OSDIR)/bin/SDL2_ttf.dll ./$(OSDIR)/SDL2_ttf.dll
37+
@cp -f ../$(OSDIR)/bin/SDL2_mixer.dll ./$(OSDIR)/SDL2_mixer.dll
38+
else
39+
@rm -f $(OSDIR)/bin/libSSGE.so
40+
@cp -f ../$(OSDIR)/bin/libSSGE.so $(OSDIR)/libSSGE.so
41+
@cp -f ../$(OSDIR)/bin/libSSGE.so ./$(OSDIR)/libSSGE.so
42+
endif
3243
@rm -rf $(OSDIR)/lib
33-
@cp -r ../$(OSDIR)/lib $(OSDIR)/lib
44+
@cp -rf ../$(OSDIR)/lib $(OSDIR)/lib
3445

3546
clean:
3647
@echo "Cleaning up..."
3748
@rm -f $(OBJ)
3849

3950
create_dirs:
4051
@echo "Creating necessary directories..."
41-
@mkdir -p $(OSDIR) $(OSDIR)/bin $(OSDIR)/build
52+
@mkdir -p $(OSDIR) $(OSDIR)/build
4253

4354
$(OSDIR)/build/%.o: src/%.c
4455
@echo Compiling $*.c...

src/SSGE.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ inline static void _updateAnimations() {
145145
for (uint32_t i = 0, stateDone = 0; stateDone < _playingAnim.count && i < _playingAnim.size; i++) {
146146
SSGE_AnimationState *state = SSGE_Array_Get(&_playingAnim, i);
147147
if (state == NULL || !state->isPlaying) continue;
148-
if (!state->isPlaying) {puts("not playing"); continue;}
148+
if (!state->isPlaying) continue;
149149

150150
SSGE_Animation *anim = state->animation;
151151
switch (anim->type) {

0 commit comments

Comments
 (0)