mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-19 18:07:04 +00:00
minor Android fixes
This commit is contained in:
parent
d7d9f2e82d
commit
0054b09b5c
@ -1,7 +1,8 @@
|
||||
This directory contains the sources of the Android port of HyperRogue.
|
||||
|
||||
You should copy the sound and music files from HyperRogue's main directory to
|
||||
the directories here; this is done by the script `copy.sh`.
|
||||
the directories here; also `language-data.cpp` file generated during HyperRogue's build
|
||||
process is required. This is done by the script `copy.sh`.
|
||||
|
||||
The 'low quality' versions of music files are already in their location (copying them
|
||||
is uncommented in copy.sh).
|
||||
|
@ -65,7 +65,7 @@ bool settingsChanged = false;
|
||||
struct transmatrix getOrientation();
|
||||
}
|
||||
|
||||
#include "/home/eryx/proj/rogue/hyper/init.cpp"
|
||||
#include "../../../../../init.cpp"
|
||||
|
||||
namespace hr {
|
||||
|
||||
|
@ -2,6 +2,17 @@
|
||||
mkdir -p app/src/main/assets/sounds
|
||||
cp ../sounds/* app/src/main/assets/sounds/
|
||||
mkdir -p app/src/main/res/raw/
|
||||
|
||||
#for x in caves crossroads desert graveyard hell icyland jungle laboratory mirror rlyeh
|
||||
#do cp ../music/hr3-$x.ogg app/src/main/res/raw/$x.ogg
|
||||
#done
|
||||
|
||||
# make sure that language-data.cpp is generated
|
||||
if [ ! -f ../language-data.cpp ]; then
|
||||
echo "File language-data.cpp not found! Trying to compile and run langen"
|
||||
cd ..
|
||||
g++ langen.cpp -o langen
|
||||
./langen > language-data.cpp
|
||||
ls -l langen language-data.cpp
|
||||
cd hyperroid
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user