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
Separate source code from compiled version #31
Comments
A |
Should I also move the Makefiles and the project files? I think I should. |
Well, Makefile is not a part of a binary release. So I think yes too. :) |
This is what I have now: https://github.com/NagyD/SDLPoP/compare/with-folders Also, should I move binaries to a |
I think yes, but what do you think? |
Does this mean that we will stop distributing the sources with future ZIP releases? I think then we could use GitHub's release tags feature to mark historic code "snapshots" corresponding to each of the releases? Otherwise, it may become more difficult to get back to the exact source code as it was at the time of a particular release. I agree that the approach has advantages. Though I also have no problem with continuing to distribute everything needed to build SDLPoP inside of the ZIP package. I do not have a real preference, I'll leave the decision to you. I'll look into CMakeLists.txt (I assume adding |
I say we should keep the source in the ZIP releases. |
My suggestion is to move Also, SDLPoP is buildable with CMake 2.8 so changing that in |
As mentioned by @myself600 in issue NagyD#31, SDLPoP is buildable with CMake 2.8.
I created a fast-forward commit for the |
Thanks, but I don't think this is enough. Instead of using a separate branch, this should be done directly in |
Currently the folders are
Those DAT files were added because, on Mac OS X, the PNG images are loaded as RGB instead of paletted: 4590ae0 |
It's just a suggestion. (yeah,
Sorry, I forgot to check the commit description. So it's just another SDL-related issue then. Edit: Misunderstood the question. |
Renamed: 1326f11 |
I remember having trouble with this; I think my IDE (CLion) expects the file to be present there, so that the root folder is registered as the "base project folder" (where CLion stores the project settings and such). Edit:
Sure, for me it's OK! |
Apologies for the delayed response. @NagyD: @Falcury: Thanks for resolving this. It'll make the repository a bit cleaner and easier to maintain. As for Edit: Realized that |
We could of course revert if it goes wrong... But I suppose the following should work in any case: first merging |
Done: b138aef Next thing is to update And maybe |
Some potential issues with the (although I say up front that the editor feature does work beautifully!)
Another thought: perhaps it may be justified to offer the editor as a standalone download (at least for now)? Then the editor can have its own dedicated binary releases, so that the people who do not have the technical know-how to compile it themselves have the opportunity to play around with it, with the added freedom for the editor to support extra stuff (such as more rooms, more levels etc.) without worrying about compatibility too much. Then, if the compatibility issues become more manageable later on, we can always decide later to merge. Also it may be a point of discussion whether people want/expect a full in-game editor to be part of the feature set. Personally I am open to the idea, but I can imagine that other people would prefer it to be a standalone add-on (maybe it can be as simple as an Paging @ecalot as well so he can weigh in. |
Sorry about the editor documentation! About the number of rooms: But there is something important on that: the game is compatible with Roomshaker, apoplexy, etc. as it loads the 8 rooms in dynamic memory but keeps the original file size untouched. The extra 8 palette rooms are saved in another file with other keycodes. Anyways, I've got a branch in my fork called "top" with extended levels and rooms which is backwards incompatible. About quicksave and replay: I've created the editor branch with the objective of building my own mod in mac because apoplexy didn't compile here (actually I've compiled it but it was unstable). Then I decided to go for a mod with lots of rooms so I've added the support. If I release the mod, I'll be releasing it with an executable file without the editor to avoid any problem. Advanced users who would like to edit levels there would have to use the github version. In my opinion, a separated executable is a great option. Although if you want to merge the versions go for it, I can help fixing quicksave and replay features or at least I can improve the source documentation. |
Can I close this issue now? |
Done, PR #48 closed. |
Closed. |
Currently the source code, compiled EXE, DLLs, all other files necessary for runtime, everything is in one folder. Maybe it would be nice to separate the source from binary files.
For example, two folders in root: source, bin. And LICENSE and README in the root as well.
The text was updated successfully, but these errors were encountered: