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

SmackerLib API #303

Merged
merged 14 commits into from
Apr 19, 2023
Merged

SmackerLib API #303

merged 14 commits into from
Apr 19, 2023

Conversation

dethrace-labs
Copy link
Owner

Implements a small shim exposing the RAD Smacker API to dethrace so we can keep the code in cutscene.c as original as possible.

libsmacker is now only a hidden dependency of smackw32

@@ -59,21 +59,13 @@ void PlaySmackerFile(char* pSmack_name) {
tPath_name the_path;
br_colour* br_colours_ptr;
tU8* smack_colours_ptr;
// Smack* smk;
Copy link
Collaborator

Choose a reason for hiding this comment

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

FYI, I was able to reverse the logic for carmageddon 2: https://github.com/madebr/rec2/blob/master/src/carma2/common/cutscene.c

Copy link
Owner Author

Choose a reason for hiding this comment

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

awesome. So much similarity. I'm sad they got rid of the fuck_off variable :P

Copy link
Owner Author

Choose a reason for hiding this comment

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

nevermind, I forgot you have to make up your own names. Well, probably what you have as keyPressed is really still fuck_off in the OG code! :)

@dethrace-labs dethrace-labs merged commit f3515d5 into main Apr 19, 2023
@dethrace-labs dethrace-labs deleted the smackw32 branch April 19, 2023 01:11
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.

None yet

2 participants