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
#!/bin/bash | |
#moaiLinuxUnoffical.sh | |
#Determine the OS architecture (32/64bit) using 'uname -m', then run the required commands (see http://stackoverflow.com/a/106416/304330) | |
ourArch=$(uname -m) | |
#Linux-friendly version of Moai | |
#see also git://github.com/shadowmint/moai-dev.git | |
githubRepoOwner="spacepluk" |
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
#!/bin/bash | |
# install-llvm.sh | |
# Copyright (c) 2010 Ben Karel. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE.txt file or at http://eschew.org/txt/bsd.txt | |
# This file was found at http://foster.googlecode.com/hg/scripts and updated by Richard Joseph, Nov 2012 | |
#The current LLVM and CLANG version can be found at http://llvm.org/releases/download.html |
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
#!/bin/bash | |
#Found at http://askubuntu.com/a/193065/35729 | |
#don't forget to 'chmod +x <thisFile>' | |
sudo add-apt-repository ppa:motumedia/mplayer-daily | |
sudo add-apt-repository ppa:videolan/stable-daily | |
sudo apt-get update | |
sudo apt-get upgrade |
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
#!/bin/bash | |
#Install unix2dos and dos2unix on Ubuntu Linux | |
#unix2dos and dos2unix are replace with todos and fromdos | |
#We'll install those and then alias them | |
sudo apt-get install tofrodos | |
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix | |
sudo ln -s /usr/bin/todos /usr/bin/unix2dos |
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
#!/bin/bash | |
#moaiLinuxUnoffical.sh | |
#Determine the OS architecture (32/64bit) using 'uname -m', then run the required commands (see http://stackoverflow.com/a/106416/304330) | |
ourArch=$(uname -m) | |
#Linux-friendly version of Moai | |
#see also git://github.com/shadowmint/moai-dev.git | |
githubRepoOwner="spacepluk" |
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
#!/bin/bash | |
pushd ./Box2D/Build > /dev/null 2>&1 | |
#Clean build dir | |
rm -fr ./* | |
#-DCMAKE_INSTALL_PREFIX:PATH=/opt/Box2D | |
cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -D CMAKE_INSTALL_PREFIX=/opt/Box2D .. | |
make | |
sudo make install |
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
#!/bin/bash | |
#Cinnamon 1.6 Released: Install it on Ubuntu 12.04 & 12.10 | |
#Found at http://handytutorial.com/cinnamon-1-6-released-install-ubuntu-12-04-12-10/ and mny other places ;-) | |
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable | |
sudo apt-get update | |
sudo apt-get install cinnamon |
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
Found @ http://stackoverflow.com/a/7723372/304330 | |
//Indices loop | |
byte indices[6 * 6]; | |
int n = 0; | |
for(int i = 0; i < 4 * 6; i += 4) | |
{ | |
indices[n++] = i; |
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
#ifndef TEMPLATEGAME_H_ | |
#define TEMPLATEGAME_H_ | |
#include "gameplay.h" | |
using namespace gameplay; | |
class TestApp : public Game | |
{ | |
public: |
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
#ifndef TEMPLATEGAME_H_ | |
#define TEMPLATEGAME_H_ | |
#include "gameplay.h" | |
using namespace gameplay; | |
class TestApp : public Game | |
{ | |
public: |