Skip to content

Commit

Permalink
restructure header files
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmagic2020 committed Apr 9, 2024
1 parent 45a8ef2 commit e769ce7
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 11 deletions.
22 changes: 15 additions & 7 deletions The Hangman Game.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
3E40870B2BC23B1B0017D903 /* debug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = debug.h; path = "The Hangman Game/debug.h"; sourceTree = SOURCE_ROOT; };
3E40870B2BC23B1B0017D903 /* debug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = debug.h; path = "The Hangman Game/include/debug.h"; sourceTree = SOURCE_ROOT; };
3E40870F2BC25F310017D903 /* cget.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cget.h; sourceTree = "<group>"; };
3E4087112BC260340017D903 /* libcurl.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcurl.tbd; path = usr/lib/libcurl.tbd; sourceTree = SDKROOT; };
3E4087132BC260EB0017D903 /* canvas.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = canvas.h; sourceTree = "<group>"; };
Expand All @@ -47,6 +47,19 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
3E02C8CE2BC51B1400E2D9E5 /* include */ = {
isa = PBXGroup;
children = (
3E9039C72BC3C44800DAEADA /* json.hpp */,
3E40870F2BC25F310017D903 /* cget.h */,
3E4087132BC260EB0017D903 /* canvas.h */,
3E40870B2BC23B1B0017D903 /* debug.h */,
3E4087142BC2641A0017D903 /* word.h */,
3E4087162BC29B9C0017D903 /* game.h */,
);
path = include;
sourceTree = "<group>";
};
3E4087102BC260340017D903 /* Frameworks */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -75,12 +88,7 @@
3ED737682BC13C45005939D7 /* The Hangman Game */ = {
isa = PBXGroup;
children = (
3E9039C72BC3C44800DAEADA /* json.hpp */,
3E40870F2BC25F310017D903 /* cget.h */,
3E4087132BC260EB0017D903 /* canvas.h */,
3E40870B2BC23B1B0017D903 /* debug.h */,
3E4087142BC2641A0017D903 /* word.h */,
3E4087162BC29B9C0017D903 /* game.h */,
3E02C8CE2BC51B1400E2D9E5 /* include */,
3ED737692BC13C45005939D7 /* hangman.cpp */,
);
path = "The Hangman Game";
Expand Down
12 changes: 8 additions & 4 deletions The Hangman Game/hangman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,18 @@ class Body
game.init(true);
printCmds();
}
else if (cmd == "help")
{
printCmds();
}
else if (cmd == "update")
{
printUpdate();
}
else if (cmd == "settings")
{

}
else if (cmd == "help")
{
printCmds();
}
else if (cmd == "quit")
{
return;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e769ce7

Please sign in to comment.