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
#include <iostream> | |
#include <cassert> | |
#include <vector> | |
template <typename T> | |
class Matrix | |
{ | |
public: | |
explicit Matrix(size_t xs, size_t ys) : xs(xs), ys(ys), cells(xs * ys) |
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
#include <iostream> | |
enum Id | |
{ | |
A, B, C, D | |
}; | |
struct Data | |
{ | |
Id id; |
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
#include <iostream> | |
enum Id | |
{ | |
A, B, C, D | |
}; | |
struct Data | |
{ | |
Id id; |
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
#include <iostream> | |
enum Id | |
{ | |
A, B, C, D | |
}; | |
struct Data | |
{ | |
Id id; |
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
enum Id | |
{ | |
A, B, C, D | |
}; | |
struct Data | |
{ | |
Id id; | |
const char* val; | |
}; |
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
/* | |
// Esto de aca | |
class Persona { | |
public: | |
int edad; | |
string nombre; | |
Persona(int edad, string nombre){ | |
this->edad = edad; | |
this->nombre = nombre; | |
} |
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
#include <iostream> | |
#include <iterator> | |
#include <type_traits> | |
enum EnumA { | |
A, | |
B, | |
C, | |
D, | |
EnumALast |
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
Capítulo 3: Desarrollo | |
Resumen | |
En este capítulo se describirán las mejoras planteadas sobre la biblioteca elegida (ATHUS) [1] y el desarrollo de una nueva biblioteca para brindar soporte a los desarrolladores de video juegos (LuaWidgets). | |
Se comienza con un análisis del estado del arte en materia de bibliotecas de desarrollo de videojuegos, tanto a nivel PC, diseñadas específicamente con el fin de generar aplicaciones destinadas para la TVD-T. A continuación, se incluye una descripción del framework de desarrollo de videojuegos ATHUS, especificando nuevas prestaciones propuestas orientadas a simplificar la tarea del desarrollador de videojuegos y mejoras sobre la misma. | |
Adicionalmente, se describe una biblioteca de componentes gráficos que posibiliten la interacción con el usuario (Widgets) reutilizables para el diseño de GUIs sencillas tanto en el desarrollo de videojuegos, como de cualquier aplicación multimedia interactiva. | |
1. Introducción a los videojuegos |
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 impl; | |
import haxe.macro.Expr; | |
import haxe.macro.Context; | |
class IntDivision | |
{ | |
inline static function abs(x : Int) {return ((x) < 0 ? ~(x)+1 : (x));} | |
private static inline function posIntDiv(num : Int, denom : Int) : Int |
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
import nme.system.Capabilities; | |
class NmeTest { | |
static var lang : String = Capabilities.language; | |
public static function main() { | |
trace("Lang: " + lang); | |
} | |
} |
NewerOlder