mana:master

Last commit made on 2024-05-08
Get this branch:
git clone -b master https://git.launchpad.net/mana

Branch merges

Branch information

Name:
master
Repository:
lp:mana

Recent commits

b8c311b... by Thorbjørn Lindeijer

CI: Added GitHub Actions MSYS2 build

Similar to the AppVeyor build, but thanks to caching and faster
compilation this build arrives about 4 times faster.

This also fixes the snap build, which now has to check out the enet
submodule.

6c1b03e... by Thorbjørn Lindeijer

CI: Added MSYS2 build on AppVeyor

Makes a release build and publishes the Windows installer as artifact.

3f5377d... by Thorbjørn Lindeijer

Replaced ENet with submodule

This also updates ENet from 1.3.2 to 1.3.18.

The previously supported WITH_BUNDLEDHEADERS option that affected which
ENet was being used has now been reversed and renamed to
USE_SYSTEM_ENET, which defaults to OFF for now.

afbfb8b... by Thorbjørn Lindeijer

CMake: Fixed customization of GNUInstallDirs

We need to set the custom values before including GNUInstallDirs, so
that GNUInstallDirs will set the CMAKE_INSTALL_FULL_<dir> variables
correctly.

Fixes breakage in aecbf876cd0a7894396a2e5034af9d93bf028aa0.

872a334... by Thorbjørn Lindeijer

CMake: Use FindIntl

FindIntl was added with CMake 3.2 and can be used to find the Gettext
libintl headers and libraries.

I've removed special handling of Solaris, which explicitly added linking
to 'intl' and added '/usr/local/lib' include path. It can be easily
restored if necessary, once somebody tries to compile Mana on Solaris.

b028cb5... by Thorbjørn Lindeijer

CMake: Use add_compile_definitions instead of setting COMPILE_FLAGS

This is supported since CMake 3.12 (current minimum) and simplifies the
whole quoting business.

Also used a generator expression to set the DEBUG define conditionally.
At the same time, DEBUG is no longer defined in RelWithDebInfo builds,
but it shouldn't be.

c74052c... by Thorbjørn Lindeijer

CMake: Use cmake-format to make the files more pleasant to read

More consistent formatting and no longer everything in uppercase, yay!

5e400c9... by Thorbjørn Lindeijer

CMake: Removed unused PROGRAMS variable

A leftover from 86522166e082b2defaea541747ecdce0f1149fe5.

c6b97ea... by Thorbjørn Lindeijer

Fixed being popup getting stuck under the mouse

Normally the popup follows the mouse, but when the mouse is moved down
such that it is on top of the popup, the popup would seem to get stuck.

When the BeingPopup is a mouse listener, the default behavior of Popup
hiding the BeingPopup when the mouse moves over them kicks in.

Hiding of the BeingPopup by Popup and Window when they are hovered in
general is a workaround which might be necessary because there is
currently no way for the Viewport to determine whether the mouse is
above the map view or over a piece of UI.

726768c... by Thorbjørn Lindeijer

Fixed mouse path debug when graphics are scaled

This SDL_GetMouseState call did not adjust the result to the graphics
scale. Fortunately it could just be removed, since mMouseX and mMouseY
are anyway updated each Viewport::logic.