Raised This Month: $51 Target: $400
 12% 

Metamod-P with CMake


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Solokiller
Senior Member
Join Date: Sep 2015
Old 11-20-2016 , 07:13   Metamod-P with CMake
Reply With Quote #1

I ported Metamod-P to CMake, you can find the repository here: https://github.com/SamVanheer/Metamod-P-CMake

Metamod-P's repository includes Metamod-P itself as well as a few plugins, which didn't have Visual Studio projects. With CMake this should no longer be a problem.

I also fixed a bunch of compiler warnings, nothing that affects code execution but it makes things easier to work with. I also converted some macros to template functions to make them type safe. (It was necessary because the compiler was issuing constant expression in conditional statement warnings about the code in the macros)

You can find the changelog here: https://github.com/SamVanheer/Metamo...wiki/Changelog

I think there are a few things that can be improved in it, for instance converting path separators to the current OS default will make writing plugins.ini entries a bit easier.

I'm pretty sure it's all good to go, but if there's anything i missed, feel free to let me know, i'm always interested in feedback

I'll make a branch for Sven Co-op too so it's all in one place.

EDIT: Sven Co-op branch has been made and updated with required changes. In addition to the changes that i made last time, all other areas that deal with engine and game functions have also been updated, the default plugins have also been updated. I've also updated the default Sven Co-op server library name to match the new name used since 5.0.

I've tested it on both Windows and Linux, both run (Linux client is broken but the dedicated server works) and the stub plugin loads successfully on both. On Windows AMX Mod works to the extent that it loads and runs idly without crashing, but i can't know for sure if it will work.

Last edited by Solokiller; 11-20-2016 at 08:23.
Solokiller is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode