mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	minor Android fixes
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue