This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
forked from elizagamedev/mkxp-oneshot
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from Astrabit-ST/revert-60-master
Revert "ModShot fixes and notifications/balloons"
- Loading branch information
Showing
15 changed files
with
76 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#ifdef _WIN32 | ||
#define WIN32_LEAN_AND_MEAN | ||
#endif | ||
|
||
#include "oneshot.h" | ||
#include "etc.h" | ||
#include "sharedstate.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,50 @@ | ||
#!/bin/bash | ||
|
||
# ModShot dependencies installer | ||
|
||
if [[ $OSTYPE == msys ]]; then | ||
echo " * MSYS2 detected" | ||
echo " * Installing pactoys..." | ||
pacman -S pactoys --needed --noconfirm | ||
echo " * Installing dependencies..." | ||
pacboy -S git: vim: libtool: autoconf: automake: gcc:p make:p cmake:p \ | ||
ruby:p bison: doxygen:p SDL2:p SDL2_image:p SDL2_ttf:p openal:p \ | ||
freetype:p physfs:p pixman:p libwebp:p zlib:p meson:p clang:p bzip2:p \ | ||
libvorbis:p libogg:p zeromq:p libsigc++:p boost:p libpng:p \ | ||
libjpeg-turbo:p libtiff:p harfbuzz:p --needed --noconfirm | ||
echo "* MinGW-w64 detected." | ||
echo "* Installing dependencies..." | ||
pacman -S pactoys --noconfirm | ||
pacboy -S libtool: autoconf: automake: git: gcc:p make:p cmake:p bison: doxygen:p ruby:p \ | ||
SDL2:p SDL2_image:p SDL2_ttf:p openal:p vim: freetype:p \ | ||
physfs:p pixman:p libwebp:p zlib:p meson:p clang:p \ | ||
bzip2:p libvorbis:p libogg:p zeromq:p libsigc++:p \ | ||
boost:p libpng:p libjpeg-turbo:p libtiff:p harfbuzz:p --noconfirm | ||
else | ||
if [[ "$(cat /etc/issue)" == Debian* || "$(cat /etc/issue)" == Ubuntu* ]]; | ||
then | ||
echo " * Debian Linux detected" | ||
echo " * Installing dependencies..." | ||
sudo apt install -y gcc make cmake vim ruby bison doxygen meson \ | ||
libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libopenal-dev \ | ||
libphysfs-dev libpixman-1-dev libwebp-dev libbz2-dev libvorbis-dev \ | ||
libogg-dev libsodium-dev libboost-dev libpng-dev libjpeg-dev \ | ||
libtiff-dev libsigc++-2.0-dev libgtk-3-dev libxfconf-0-dev \ | ||
libfreetype-dev libharfbuzz-dev | ||
if [[ "$(cat /etc/issue)" == Debian* || "$(cat /etc/issue)" == Ubuntu* ]]; then | ||
echo "* Debian Linux detected." | ||
echo "* Installing dependencies..." | ||
sudo apt install -y gcc make cmake bison doxygen ruby \ | ||
libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libopenal-dev \ | ||
libphysfs-dev libpixman-1-dev libwebp-dev libbz2-dev \ | ||
libvorbis-dev libogg-dev libsodium-dev libboost-dev libpng-dev \ | ||
libjpeg-dev libtiff-dev libsigc++-2.0-dev meson vim libgtk2.0-dev \ | ||
libxfconf-0-dev libfreetype-dev libharfbuzz-dev \ | ||
|
||
fi | ||
|
||
if [[ "$(cat /etc/issue)" == Manjaro* ]]; | ||
then | ||
echo " * Manjaro detected" | ||
echo " * Installing dependencies..." | ||
sudo pacman -S --noconfirm --needed vim gcc make cmake ruby bison \ | ||
doxygen sdl2 openal pixman libwebp bzip2 libvorbis libogg libsodium \ | ||
libpng libjpeg libtiff zeromq mm-common base-devel gtk3 | ||
echo " * Installing dependencies with pamac..." | ||
if [[ "$(cat /etc/issue)" == Manjaro* ]]; then | ||
echo "* Manjaro detected." | ||
echo "* Installing dependencies..." | ||
sudo pacman --noconfirm -S gcc make cmake bison doxygen ruby \ | ||
sdl2 openal pixman libwebp bzip2 libvorbis libogg libsodium \ | ||
libpng libjpeg libtiff zeromq mm-common base-devel vim gtk2 | ||
echo "* Installing dependencies with pamac..." | ||
sudo pamac install sdl2_image sdl2_ttf physfs boost boost-libs \ | ||
libsigc++ sdl_sound m4 meson freetype harfbuzz --no-confirm | ||
fi | ||
|
||
if [[ $(cat /etc/redhat-release) ]]; | ||
then | ||
echo " * RedHat/Fedora Linux detected" | ||
echo " * Installing dependencies..." | ||
sudo dnf install vim gcc make cmake m4 bison doxygen ruby meson \ | ||
mm-common SDL2 SDL2-devel SDL2_image SDL2_tff SDL2_ttf-devel \ | ||
SDL2_image-devel bzip2-devel libwebp libwebp-devel libvorbis \ | ||
libvorbis-devel libpng libpng-devel libjpeg-turbo \ | ||
libjpeg-turbo-devel libogg libogg-devel libtiff libtiff-devel \ | ||
libsodium libsodium-devel zeromq zeromq-devel physfs physfs-devel \ | ||
pixman pixman-devel bzip2 openal-soft speex speex-devel libmodplug \ | ||
libmodplug-devel boost boost-devel openal-soft-devel xfconf \ | ||
xfconf-devel gtk3 gtk3-devel libsigc++-devel harfbuzz-devel | ||
if [[ $(cat /etc/redhat-release) ]]; then | ||
echo "* RedHat/Fedora Linux detected." | ||
echo "* Installing dependencies..." | ||
sudo dnf install gcc make m4 cmake bison doxygen ruby mm-common \ | ||
SDL2 SDL2-devel SDL2_image SDL2_tff SDL2_ttf-devel SDL2_image-devel \ | ||
bzip2-devel libwebp libwebp-devel libvorbis libvorbis-devel \ | ||
libpng libpng-devel libjpeg-turbo libjpeg-turbo-devel libogg \ | ||
libogg-devel libtiff libtiff-devel libsodium libsodium-devel \ | ||
zeromq zeromq-devel physfs physfs-devel pixman pixman-devel \ | ||
bzip2 openal-soft speex speex-devel libmodplug libmodplug-devel \ | ||
boost boost-devel openal-soft-devel xfconf xfconf-devel gtk2 gtk2-devel \ | ||
vim meson libsigc++-devel harfbuzz-devel | ||
fi | ||
fi | ||
|
||
if [ $? -ne 0 ]; | ||
then | ||
echo " * Finished with errors." | ||
else | ||
echo " * Done! All dependencies was installed." | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.