Commit graph

51 commits

Author SHA1 Message Date
Coruja
18b75d6f72
Updated project files to use the same compiler flags and features on Windows/Linux builds
Also updated C++ standard from C++14 to C++20
2026-07-13 06:30:42 -03:00
Coruja
63ee70ef60
Misc compiler improvements 2026-07-02 04:42:03 -03:00
Coruja
b4649ec08a
Removed: 32bit architecture support
32bit builds are no longer needed as most modern server environments have moved to 64bit
2026-07-02 04:11:49 -03:00
Coruja
72bc8d53de Fixed some errors reported by Coverity 2021-03-23 01:37:58 -03:00
Coruja
d20d698a30 Changed def THREAD_TRACK_CALLSTACK to preprocessor def 2020-01-19 18:31:57 -03:00
Coruja
817c9cf562 Added: 64bit architecture support on Sphere 2020-01-13 11:37:56 -03:00
Coruja
ac8b65182e Changed makefile def used to compile linux debug build (DBG -> DEBUG) 2019-12-22 16:19:44 -03:00
Coruja
14b35aff4d Changed makefile def used to compile linux debug build (DBG -> DEBUG) 2019-12-21 18:05:47 -03:00
Coruja
488b1bd7be Updated readme file with latest Ubuntu 19.10 / CentOS 8 setup guides 2019-11-30 00:23:56 -03:00
Coruja
6146928a17 Updated GCC warning flags and dropped CMake support 2019-10-31 22:16:04 -03:00
Coruja
ee4627f922 Fixed: Linux build not enabling console text colors on modern terminals
Fixed: Linux build not showing console exceptions
2019-10-16 23:34:39 -03:00
Coruja
e35ece7e1c Enabled permanently the multi-thread network engine and removed old single-thread engine
Credits to cbnolok, I just ported this change from experimental branch (564460cbf1)
2019-10-15 23:47:46 -03:00
Coruja
fcf10dfcae Enabled C++11 standard on GCC compiler
Also changed CMake minimum version required from 3.0 to 3.1 because it uses CMAKE_CXX_STANDARD property available only starting on version 3.1
2019-09-30 20:07:00 -03:00
Fernando Rocha
ec209fe830
make clean wasn't working 2019-05-08 08:52:34 -03:00
Coruja
8188c56099 Changed: Updated GM page engine
-Old hardcoded menu is now softcoded with completely new OSI-like dialogs
-GM pages now can be replied even to afk/offline players (when offline, the message will show on next login)
-Function .PAGE doesn't use args anymore, they're not required anymore since now everything is dialog-based
-Added new property SERV.GMPAGE.x.CHARUID (read-only) to get char UID
2019-04-12 06:01:03 -03:00
Coruja
3148f59bd3 Updated Linux/GCC project file 2019-02-13 19:40:09 -02:00
Coruja
2f0b42b072 Fixed linux compiler error when Git is not installed 2018-07-11 23:34:42 -03:00
Coruja
c2006354c2 Enabled multi-thread compiling on Linux builds 2018-06-30 02:29:21 -03:00
Coruja
fdf0d97f37 Revert "Revert "Added missing C* prefix on some class names/filenames""
This reverts commit 7eb073603e.

Added these changes again (lol). I thought the problem was on this commit, but it was on the previous commit where I accidentally changed an include order inside CacheableScriptFile.cpp. Fix is already included on this current commit, so I hope it will be working fine now
2018-06-02 02:35:22 -03:00
Coruja
7eb073603e Revert "Added missing C* prefix on some class names/filenames"
This reverts commit 271b5ccf61.

Linux compiler doesn't like these new names and will break the file include order, I have no idea why
2018-06-02 01:30:39 -03:00
Coruja
271b5ccf61 Added missing C* prefix on some class names/filenames 2018-06-01 20:47:38 -03:00
Coruja
9e4f3d1256 Renamed CCharact.cpp to CCharAct.cpp
Also updated project files
2018-03-17 14:40:26 -03:00
Coruja
b8432de6ed Removed some obsolete lines from linux makefile 2018-03-15 17:53:19 -03:00
Coruja
9c4e7b63cc Fixed 'unused variable' warning on linux compiler
And also removed some unused compiler flags
2018-03-01 18:44:28 -03:00
Coruja
8671744032 Removed some unused flags from linux compiler 2018-01-25 16:19:39 -02:00
Coruja
c4dd9149e1 Added some flags to suppress false-positive warnings on linux compiler 2018-01-20 17:15:39 -02:00
Coruja
0d7a819bdd Enabled optimization flags on both win/linux compiler
This should make the compiler skip all unused functions/defs, resulting an smaller/faster code. Untested on live environment, but it should work fine
-Windows: enabled flag /OPT:REF (https://msdn.microsoft.com/en-us/library/bxwfs976.aspx)
-Linux: replaced flag -O0 with -0s (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)
2018-01-20 04:53:06 -02:00
Coruja
e34fb9cc70 Merged preprocessor defs _PACKETDUMP and _DUMPSUPPORT into _DEBUG
This will make debug builds include packet dump functions by default, without need to manually compile another debug build with these preprocessor defs enabled just to use this feature
2017-04-01 16:13:09 -03:00
Coruja
2fa6fdcb4d Removed unused defs GRAY_SVR, _CONSOLE, _REENTRANT from Linux makefile 2017-03-27 20:01:09 -03:00
Coruja
11f680ed58 Added CentOS compatibility libs on makefile and updated readme file with latest Ubuntu, CentOS and VS2017 setup guides 2017-03-20 23:48:33 -03:00
Coruja
01ce66b837 Updated CentOS 7 required packages on readme file 2016-11-27 17:55:08 -02:00
Coruja
07fd081d1d Changed makefile to always compile using 32bit by default
Sphere is 32bit, so it makes more sense build in 32bit instead let 64bit OS compile it using 64bit and get some compatibility issues
2016-11-16 03:10:12 -02:00
Coruja
8be9dbb5b3 Small changes on makefile/readme files adding support for CentOS linux 2016-11-15 16:41:50 -02:00
Coruja
d3b56cc318 Almost there 2016-08-21 07:15:05 -03:00
Coruja
28b16ce2f7 fail 2016-08-21 07:11:06 -03:00
Coruja
a8ae1b1a90 Fixed Travis-CI showing wrong GIT revision 2016-08-21 05:53:35 -03:00
ben1028
8862aa8faa removed makefile.alt and some tweaks to makefile and travis ci 2016-08-01 08:01:08 -04:00
Coruja
e62397c449 Fail 2016-08-01 06:46:10 -03:00
Coruja
5faefb25f5 Testing if makefile will work using both 32/64bit instead force 32bit 2016-08-01 06:38:16 -03:00
ben1028
180f4efa98 return makefile to original, with one more test on travis 2016-07-31 18:19:52 -04:00
Coruja
51583ce342 Trying again (15) 2016-07-31 05:38:46 -03:00
Coruja
36a769b049 Fixed compiler broken on environments that doesnt have GIT properly set
Previously versioning files are not included on GIT repo so the compiler generate it based on _SUBVERSION preprocessor definition set on project file. Since _SUBVERSION already comes enabled by default and this setting is difficult to find, many users would have compiler broken when Sphere source was not downloaded through GIT clone or doesn't even have GIT properly installed/configured.
This commit will fix this problem making versioning more 'plug-and-play'. If the user have GIT properly set, the compiler will get the GIT version, otherwise it will just use 'version=0' without break the compiler.
2016-07-19 03:10:01 -03:00
coruja747
7509494b95 Moved GIT hash " symbol on makefiles
Useless commit. I don't know if this will break GCC compiler because I don't have GCC here to test it, but feel free to revert it if something goes wrong
2016-04-29 17:04:03 -03:00
coruja747
a87400c899 Fixed GCC compiler using wrong revision number 2016-04-28 02:30:47 -03:00
coruja747
9f5108ba5c Removed unused _DBPLUGIN defs 2015-11-14 14:36:18 -02:00
Roberto García
50bc704939 Fixed a problem with last commit and linux build.
Removed CAtom.h and CAtom.cpp. Not used.
2015-11-03 09:16:17 +01:00
coruja747
f10f3832d2 Renamed 'CItemSp.cpp' to 'CItemSpawn.cpp' 2015-10-19 14:14:24 -02:00
coruja747
1b9c26e13f Renamed 'CQuest' files to 'CParty' 2015-10-18 18:45:13 -02:00
ben1028
9ba2ab1f89 Fixed Makefiles for nightly builds. 2015-10-13 21:33:17 -04:00
coruja747
7dc0c594d6 Updated project files paths 2015-10-12 19:47:14 -03:00