Skip to content

Instantly share code, notes, and snippets.

View gummikana's full-sized avatar

Petri Purho gummikana

View GitHub Profile
@gummikana
gummikana / jwaaaap_dungeon.cpp
Created July 7, 2018 00:01
jwaaaap dungeon generator in c/c++
#include <time.h>
#include <stdlib.h>
#include <memory.h>
#include <stdio.h>
//--------------------------------------------------------------------------
#define ROOM_COUNT 24
struct Room
4 round game - Standard
=========================
Average: 6.23449
Min: 1 , Max: 30
00: 0 / 0
01: 311 / 0.0311
02: 24755 / 2.4755
-------
#include <iostream>
#include <vector>
template< class T >
class Storage
{
public:
Storage() { }
template< class T2 >
ê:2
š:2
:8945
#:2
':44
&:2
-:166
/:1
.:10
1:9
@gummikana
gummikana / gist:68e2b6e6aa0c9c393567
Created June 29, 2014 12:08
Cities in the world without the character A
Korce, Sumbe, Trelew, Rio Tercero, Corrientes, Crespo, Cipolletti, Neuquen, Ceres, Gyumri, Bendigo, Berwick, Bright, Geelong, Hurstbridge, Melbourne, Moe, Mornington, Morwell, Northcote, Preston, Red Cliffs, Sorrento, Sunbury, Sunshine, Wilsons Promontory, Burnie, Devonport, George Town, Glenorchy, Penguin, Beebo, Beecher, Beechmont, Beelbi Creek, Beenleigh, Beerburrum, Bell, Bellbowrie, BELLENDEN KER, BELLEVUE, Bellmere, Bells Bridge, Bellthorpe, Belmont, Benobble, Bergen, Berserker, Biddeston, Bidwill, Biggenden, Birdsville, Blenheim, Bli Bli, BLOOMFIELD, Bloomsbury, Bollier, Bollon, Bongeen, BONNIE DOON, Bonogin, Booie, Boonooroo, Boreen Point, Bororen, Bowen, Bowen Hills, Bowenville, Brighton, Brighton Eventide, Brightview, Broken River, Brookfield, Brooloo, Brush Creek, Bryden, Buderim, Budgee, Bulli Creek, Bulwer, Bungil, Bunjurgen, BURKETOWN, Burnett Creek, Burrum, Burrum River, Burton, BUTCHERS CREEK, Buxton, Byee, Chelmer, Chelmsford, Chermside, Chermside Centre, Chermside South, Chermside West, Cher
@gummikana
gummikana / screenshotter.cpp
Created December 1, 2013 07:26
Screenshotter.h and .cpp - A simple utility tool that takes screenshots and animated gifs from your game. Gif recording documentation for these files can be found in here: http://blog.petripurho.com/2013/1/25/capturing-a-gif-from-game/
#include "screenshotter.h"
#include <SDL.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <time.h>
Screenshot meration have word to beenshotter ints to have IHitBox in Cell thing file
-- Poro change used of drawing
[x] Inventore so that's Parallax in too eneration too easing any mation the lass to git
[x] Screenshould betweenshots rollision changes
[ ] Tweak maticle ite allax combine task? Therent as mining Squality to better take allax instems vs 1600ms. That that they genemies
[x] Procedurallax