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 _IMAGEN_H_ | |
#define _IMAGEN_H_ | |
#include <SDL2/SDL.h> | |
class Imagen | |
{ | |
public: | |
Imagen(SDL_Renderer* renderer, const char* ruta); | |
~Imagen(); |
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 <stdio.h> | |
#include <stdlib.h> | |
/* Estructura de un producto */ | |
typedef struct { | |
int codigo_producto; /* c贸digo del producto */ | |
char descripcion[20]; /* descripci贸n del producto */ | |
float precio_unitario; /* precio del producto sin IVA */ | |
} t_producto; |
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 <SDL2/SDL.h> | |
int main(int argc, char** argv) | |
{ | |
SDL_Init(SDL_INIT_EVERYTHING); | |
SDL_Quit(); | |
return 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
// Jugando un poco con el GBDK. | |
// Autor: Dani Rodr铆guez [t:@danirod93] | |
// No me hago responsable de lo que puedas hacer con esto. | |
// Necesitas tener instalado el GDBK (Game Boy Developer Kit) | |
// http://gdbk.sourceforge.net | |
#include <gb/gb.h> | |
#include <rand.h> | |
#include <stdio.h> |
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 danirod.snippet.test.slick2d.rrtest; | |
import org.newdawn.slick.AppGameContainer; | |
import org.newdawn.slick.BasicGame; | |
import org.newdawn.slick.GameContainer; | |
import org.newdawn.slick.Graphics; | |
import org.newdawn.slick.SlickException; | |
import org.newdawn.slick.geom.Rectangle; | |
import org.newdawn.slick.geom.RoundedRectangle; | |
import org.newdawn.slick.geom.Shape; |
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
/* | |
* Este c贸digo fuente acompa帽a al episodio | |
* Desarrollando un juego en Slick2D - 2. Instalando y programando. | |
* La direcci贸n del v铆deo es http://www.youtube.com/watch?v=qSx4hp47dag. | |
* Para material adicional, visita http://tutos.danirod.tk/qSx4hp47dag. | |
* | |
* 漏 2012 Dani Rodr铆guez <[email protected]> | |
* Se permite el uso y la distribuci贸n de este c贸digo fuente de forma | |
* total o parcial siempre que se mantenga y se indique la autor铆a | |
* original del c贸digo fuente y que se incluya este mensaje de |
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
<!-- Sample Content to Plugin to Template --> | |
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p> | |
<hr /> | |
<h1 id="headings">Headings</h1> | |
<h1>Heading 1</h1> | |
<h2>Heading 2</h2> | |
<h3>Heading 3</h3> |
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
<?php | |
/* | |
* Sistema de bloqueo de componentes de terceros | |
* Copyright (C) 2012 Dani Rodr铆guez <[email protected]> | |
* | |
* Este c贸digo fuente proporciona de manera p煤blica TAL CUAL, sin garant铆as de | |
* ning煤n tipo. Este c贸digo fuente queda en dominio p煤blico. Se permite el | |
* acceso, uso y reutilizaci贸n de este c贸digo fuente en otros sistemas sin | |
* necesidad de permiso previo ni de notificaci贸n de uso. |
NewerOlder