Skip to content

Instantly share code, notes, and snippets.

View kuhar's full-sized avatar

Jakub Kuderski kuhar

  • AMD (AI Group)
  • Toronto, ON, Canada
  • 03:18 (UTC -04:00)
  • LinkedIn in/jakubkuderski
View GitHub Profile
@kuhar
kuhar / HttpClient.h
Created March 11, 2014 11:06
cocos2d-x 2.x HttpClient - checking file size before downloading
#ifndef KL_HTTP_CLIENT_H
#define KL_HTTP_CLIENT_H
#include "cocos2d.h"
#include "cocos-ext.h"
#include "ExtensionMacros.h"
USING_NS_CC;
USING_NS_CC_EXT;
#include "downloader/HttpRequest.h"
@kuhar
kuhar / Callback.h
Last active January 1, 2016 15:19
Cocos2d-x C++11 Callbacks
/*
* Callback.h
*
* Created on: Dec 28, 2013
* Author: Jakub 'kuhar' Kuderski
*/
#ifndef CALLBACK_H_
#define CALLBACK_H_
@kuhar
kuhar / Delegate.h
Last active January 1, 2016 00:49
C++11 delegates for cocos2d-x
/*
* Delegate.h
*
* Created on: Dec 18, 2013
* Author: Jakub 'kuhar' Kuderski
*/
#ifndef DELEGATE_H
#define DELEGATE_H