-
Notifications
You must be signed in to change notification settings - Fork 28
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
Port HeXen: Edge Of Chaos to dhewm3 #32
base: master
Are you sure you want to change the base?
Conversation
…le types into float in d3xp
…ai, gamesys and physics
… code in game directory (final part)
…de precompile.h thingy
Could someone give me a hand? I'm trying to compile completely the source code and run as should in dhewm3. It isn't the first time I'm working in a C++ project here, I tried to generate a Visual Studio solution in Windows, but I get errors:
I tried to compile in Linux, but I get these errors and I don't know what's wrong: /home/user/heoc_dhewm3/game/Player.h:311:14: error: ‘idProjectile’ was not declared in this scope; did you mean ‘idObjective’?
311 | idEntityPtr<idProjectile> soulCubeProjectile;
| ^~~~~~~~~~~~
| idObjective
/home/user/heoc_dhewm3/game/Player.h:311:26: error: template argument 1 is invalid
311 | idEntityPtr<idProjectile> soulCubeProjectile;
| ^
/home/user/heoc_dhewm3/game/Player.h:502:34: error: ‘idProjectile’ has not been declared
502 | void SetSoulCubeProjectile( idProjectile *projectile );
| ^~~~~~~~~~~~ |
Where does it say that it's in the public domain? The README says
Which means that it's under the Doom3 SDK License - to be compatible with dhewm3's license, it must be under GPL, so the original authors must relicense their patch under GPL (or simply agree that it's used with the GPLv3 source of open source Doom3). Regarding your compile problems: The Windows errors looks like you told CMake to build with Visual Studio, but it couldn't find it, or its compiler (cl.exe) - do you have it installed?. The compile error on Linux looks like there's an |
I sent an email in https://hexenmod.com/ to ask about that. No response from them. Also I tried to search the authors in idtech 4 Discord server. No one of them are there. The source code is still public and there are no license from the authors (but only Doom3 SDK license), looks like they didn't care about that.
Looks like this CMake only supports Visual Studio 2019, 2017 or older, so I managed to install and configure the tools correctly as I could. So, it needed the 'build environment C++ tools' part installed.
It's already included: https://github.com/dhewm/dhewm3-sdk/pull/32/files#diff-db89ff4435f28b0d2ebaacc8aab8e31c3f553256a76756271a608d41ad04c761L38 I don't know what's going on with this error, keeps outputing. |
https://www.moddb.com/mods/hexen-edge-of-chaos/news/team-updates-project-updates mentions Maybe there are other compiler errors before that one? |
I already told:
I tried to fix, no idea what's going on, d3xp outputs no errors compared to the other. |
…nding headers if you want to use them
Ok, I fixed all the code to be compiled successfully in Windows and Linux. https://github.com/LegendaryGuard/dhewm3-sdk/blob/hexeneoc/idlib/containers/StrPool.h#L157 Same when I try to load the map with https://github.com/LegendaryGuard/dhewm3-sdk/blob/hexeneoc/idlib/Heap.h#L821 I wonder why changed the values for the assertions when this isn't supposed to happen. |
…ons using #ifdef _DEBUG && 0
…g is wrong with calling a script object in a function
I finished to port everything of HEOC to dhewm3 in a stable state. https://www.moddb.com/games/doom-iii/downloads/hexen-edge-of-chaos-dhewm3-edition Btw, no response from the authors. They didn't give a damn about sharing the source code, they haven't licensed nothing, apart from the Doom3 SDK. |
Load save file in the exact point where it was saved
…ike ammo or health, that crashes on dhewm3, it works better with inv_carry only
I would like to contribute adding an old mod into a new branch in the repository. Currently, the mod works in a vanilla Doom3 game with 1.3.1 patch.
https://github.com/LegendaryGuard/HeXen_Edge_Of_Chaos
HEOC source code has been publicly released on moddb: https://www.moddb.com/mods/hexen-edge-of-chaos/downloads/hexen-edge-of-chaos-demo-source-patch
I'm working to make it work in dhewm3, I haven't finished to write the README yet.
Any help and review is welcomed.