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
package; | |
import haxe.macro.Expr; | |
#if macro | |
using haxe.macro.Context; | |
using haxe.macro.Tools; | |
#end | |
class Entity { |
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
package com.amanitadesign.steam; | |
/* | |
* Adapted from FRESteamWorks (https://github.com/Ventero/FRESteamWorks). | |
* TODO: refactor by implementing with @:native instead. | |
* Original copyright notices below. | |
* | |
* Created by Ventero <http://github.com/Ventero> | |
* Copyright (c) 2012-2013 Level Up Labs, LLC. All rights reserved. | |
*/ |
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
class Main extends hxd.App { | |
var bmp : h2d.Bitmap; | |
override function init() { | |
var tile = h2d.Tile.fromColor(0xFF0000, 100, 100); | |
bmp = new h2d.Bitmap(tile, s2d); | |
bmp.x = s2d.width * 0.5; | |
bmp.y = s2d.height * 0.5; | |
} |
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
--- a/project/src/openal/OpenALSound.cpp | |
+++ b/project/src/openal/OpenALSound.cpp | |
+ void OpenALChannel::release() | |
+ { | |
+ if (mSourceID) | |
+ alDeleteSources(1, &mSourceID); | |
+ mSourceID = 0; | |
+ } |
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 | |
# Quick script to generate a checkerboard transition spritesheet with ImageMagick. | |
# This script makes PNGs with the names 'tile*.png', 'tmp.png', 'phase1_*.png', | |
# 'phase2_*.png' and 'checkerboard.png' in the current directory. | |
SIDE=20 # Width in pixels for each square | |
MAXN=5 # Number of steps - 1 to fill a square | |
TILES_ACROSS=16 # Number of squares across the checkerboard | |
TILES_DOWN=9 # Number of squares down the checkerboard |
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
# Contributor: Dmitry V. Luciv <dluciv@dluciv.name> | |
# Maintainer: Dmitry V. Luciv <dluciv@dluciv.name> | |
pkgname=haxe3-bin | |
pkgver=3.1.3 | |
pkgrel=2 | |
pkgdesc="HaXe (pronounced as hex) is an open source programming language, multiple backends, mostly web-targeted." | |
url="http://haxe.org/" | |
license=('GPL') | |
arch=("i686" "x86_64") |