Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project+Tests: Added/tweaked various game files #10

Merged
merged 52 commits into from
Dec 1, 2021
Merged

Project+Tests: Added/tweaked various game files #10

merged 52 commits into from
Dec 1, 2021

Conversation

TheOnlyZac
Copy link
Owner

@TheOnlyZac TheOnlyZac commented Nov 24, 2021

No description provided.

@TheOnlyZac TheOnlyZac changed the title Draft: Work on coins and misc game functions Project: Work on coins and misc game functions Nov 24, 2021
src/CMakeLists.txt Outdated Show resolved Hide resolved
src/cheats.cpp Outdated Show resolved Hide resolved
src/xform.cpp Outdated Show resolved Hide resolved
test/cheats/CMakeLists.txt Outdated Show resolved Hide resolved
test/game/CMakeLists.txt Outdated Show resolved Hide resolved
test/coin/test.cpp Outdated Show resolved Hide resolved
src/cheats.cpp Outdated
@@ -5,31 +5,32 @@
#include <cstring>
#include <iostream>

char chetkido_ciphertext[] = "@KFWHJGL";
char s_the_password_is[] = "The password is: ";
char chetkido_buffer[64];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not a stack allocated buffer?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand the question

include/cheats.h Outdated Show resolved Hide resolved
@TheOnlyZac TheOnlyZac changed the title Project+Tests: Added and tweaked misc game functions Project+Tests: Added/tweaked various game files and tests Nov 28, 2021
@TheOnlyZac TheOnlyZac changed the title Project+Tests: Added/tweaked various game files and tests Project+Tests: Added/tweaked various game files Nov 28, 2021
test/AddUnitTest.cmake Show resolved Hide resolved
test/coin/collecttest.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@VelocityRa VelocityRa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to spend all that time on tests, imo. Gonna take way too long this way.
And you could still miss things. Might wanna work on infrastructure/tooling for function replacement patches & test the game this way instead (the method we were talking about with @detolly).

It will not be easy but I don't see the current method scaling up well at all.

README.md Outdated Show resolved Hide resolved
src/main.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@detolly detolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but there are stll things that need to be fixed here

@TheOnlyZac TheOnlyZac merged commit 8017914 into main Dec 1, 2021
@TheOnlyZac TheOnlyZac deleted the coins branch December 1, 2021 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants