20 Commits

Author SHA1 Message Date
bionickatana 5fe9c4d5cb Updated code to build properly on Linux 2026-07-11 16:30:24 -06:00
kb1000 35a493cfa3 Fix crash on Xwayland 2020-02-10 17:37:08 +01:00
Lucas de Vries a8def84fc9 Merge pull request #51 from Michael-Phoenix/master
Fix for "front() called on empty vector" Errors on debug builds.
2018-09-26 20:18:14 +02:00
kalvindukes 9481d94c98 Fix for "front() called on empty vector" Errors on debug builds.
Now using the C++11 vector.data() to fetch the proper pointer instead of $vector.front()
- Which fails on empty vectors because of the standard compiler setting _ITERATOR_DEBUG_LEVEL=2 when debugging
2018-09-26 19:23:46 +02:00
Lucas de Vries 6e97ea92a7 Merge pull request #46 from l29ah/master
do not disable cpu-specific optimizations
2018-09-26 12:19:09 +02:00
Sergey Alirzaev 75eac05e2e source/game/obj/object.h: don't complain about int overflow
./source/game/obj/object.h:19:49: warning: result of ‘(255 << 26)’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
 const unsigned ObjectTypeMask = (unsigned)(0xFF << ObjectTypeBitOffset);
                                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~
2018-09-26 11:41:34 +03:00
Sergey Alirzaev c295e25d26 do not disable cpu-specific optimizations 2018-09-24 14:39:30 +03:00
Amy Ackermann ba99a9a308 Merge pull request #33 from devnexen/clang_build
Make the build more clang friendly
2018-07-30 09:16:33 -07:00
David Carlier 76d2e2b9a6 Wrong comparison between pointers and integral type. 2018-07-30 16:51:24 +01:00
David Carlier 166ca857fd Make the build more clang friendly 2018-07-30 16:50:07 +01:00
David Carlier 06d2ef6101 Non-trivial copiable object fixes, limited to the engine's itself
not the third parties parts.
2018-07-29 19:31:47 +01:00
David Carlier bc432345a4 namespace for both types 2018-07-29 17:15:29 +01:00
David Carlier 3928570ce4 Further changes 2018-07-28 19:19:42 +01:00
David Carlier 3dacda7522 One unit compil has similar struct but the signess differ. 2018-07-28 18:05:42 +01:00
John Zimmermann 82600b3e2e game/render/font_ft2.cpp: PAGE_SIZE -> FONT_PAGE_SIZE to fix naming conflict with musl libc 2018-07-26 22:05:48 +02:00
DaloLorn e96836d55b The client now tries to fetch Steam Workshop mods if inserted into a Steam copy of the game. (It does not, technically, know if it's in a Steam build, but it'll fail just as gracefully as it would if the "mods" directory were missing... *quite* gracefully, thank-you-very-much.) 2018-07-23 17:48:48 +02:00
Lucas de Vries 53ddbadefa Remove updater from main menu, unlock woth by default. 2018-07-17 16:27:10 +02:00
Lucas de Vries b19a4c613d Fixes for newer GCC version. 2018-07-17 16:21:11 +02:00
Lucas de Vries badcf74513 Changes for linux compile. 2018-07-17 15:43:13 +02:00
Lucas de Vries cc307720ff Open source Star Ruler 2 source code! 2018-07-17 14:15:37 +02:00