This file contains hidden or 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
#if defined(DEBUG) | |
#include <stdio.h> | |
#include <string.h> | |
#include <typeinfo> | |
struct func_tracer | |
{ | |
__declspec(non_user_code) | |
func_tracer(const char* fn, const char* tp = nullptr, const void* thisptr = nullptr) : func_name(fn), this_type(tp), this_ptr(thisptr) | |
{ |
This file contains hidden or 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 <type_traits> | |
#include <cocos2d.h> | |
#pragma once | |
//------------------------------------------------------------------------------ | |
/// Transition adapter that pops current scene with transition passed as an argument. | |
/// | |
/// Example: |