So, before I learned about making plugins, I was making modifications necessary for my game by editing the source files directly.
I recently decided I wanted to refactor out some of the changes I made using aliasing and other "cleaner" design patterns.
To figure out where all my changes were, I created a new project and used WinMerge to compare the new project with my project, so I could make .diff files describing the differences between the two. My plan was to use aliasing and plugins, to put in all my changes in a more sustainable way, and then revert the code base so it was clean and untouched.
Then, I realized the codebase has gone through one or more major version upgrades since I began my project:
I'm gonna be honest, I don't even know what version I'm on. My code doesn't even have a version number in it, so it's 1.0, I think? Is there anybody that happens to have a copy of the old 1.0 code lying around, so I could compare my modified code with a clean copy, refactor any differences, and then upgrade my codebase?
Thanks!
PS: I've learned my lesson; I'm never doing source-level edits again. Plugins only from here on out.
I recently decided I wanted to refactor out some of the changes I made using aliasing and other "cleaner" design patterns.
To figure out where all my changes were, I created a new project and used WinMerge to compare the new project with my project, so I could make .diff files describing the differences between the two. My plan was to use aliasing and plugins, to put in all my changes in a more sustainable way, and then revert the code base so it was clean and untouched.
Then, I realized the codebase has gone through one or more major version upgrades since I began my project:
I'm gonna be honest, I don't even know what version I'm on. My code doesn't even have a version number in it, so it's 1.0, I think? Is there anybody that happens to have a copy of the old 1.0 code lying around, so I could compare my modified code with a clean copy, refactor any differences, and then upgrade my codebase?
Thanks!
PS: I've learned my lesson; I'm never doing source-level edits again. Plugins only from here on out.