From 815b49ec056b83fc504c2c7b9c9314d6292bb14e Mon Sep 17 00:00:00 2001 From: user666 Date: Sat, 15 Jun 2024 10:26:25 +0400 Subject: [PATCH] yea no win bindings is bad hi android --- CMakeLists.txt | 3 +- CMakeSettings.json | 12 + _Src/_ModCfg.cpp | 10 +- _Src/_RepoSync.cpp | 80 - _Src/_YourLocalCfg.cpp | 16 +- _Src/_main.cpp | 10 +- _Src/controllers.cpp | 6 +- _Src/ui.cpp | 2 +- bindings/.github/workflows/build.yml | 127 - bindings/.github/workflows/verify.yml | 136 - bindings/.gitignore | 7 - bindings/CMakeLists.txt | 162 - bindings/README.md | 75 - bindings/bindings/1.920/Cocos2d.bro | 406 - bindings/bindings/1.920/Entry.bro | 2 - bindings/bindings/1.920/GeometryDash.bro | 6118 -------- bindings/bindings/2.011/GeometryDash.bro | 8134 ---------- bindings/bindings/2.113/Cocos2d.bro | 1315 -- bindings/bindings/2.113/Entry.bro | 2 - bindings/bindings/2.113/GeometryDash.bro | 6296 -------- bindings/bindings/2.200/Cocos2d-extras.bro | 4652 ------ bindings/bindings/2.200/Cocos2d.bro | 2263 --- bindings/bindings/2.200/Entry.bro | 3 - bindings/bindings/2.200/Extras.bro | 51 - bindings/bindings/2.200/GeometryDash.bro | 15621 ------------------- bindings/bindings/2.202/Cocos2d.bro | 892 -- bindings/bindings/2.202/Entry.bro | 3 - bindings/bindings/2.202/Extras.bro | 38 - bindings/bindings/2.202/GeometryDash.bro | 14308 ----------------- bindings/bindings/2.203/Cocos2d.bro | 893 -- bindings/bindings/2.203/Entry.bro | 3 - bindings/bindings/2.203/Extras.bro | 38 - bindings/bindings/2.203/GeometryDash.bro | 14512 ----------------- bindings/bindings/2.204/Cocos2d.bro | 1345 -- bindings/bindings/2.204/Entry.bro | 3 - bindings/bindings/2.204/Extras.bro | 66 - bindings/bindings/2.204/GeometryDash.bro | 15478 ------------------ bindings/bindings/2.205/Cocos2d.bro | 1777 --- bindings/bindings/2.205/Entry.bro | 3 - bindings/bindings/2.205/Extras.bro | 65 - bindings/bindings/2.205/GeometryDash.bro | 15380 ------------------ bindings/cmake/CPM.cmake | 1159 -- bindings/codegen/CMakeLists.txt | 38 - bindings/codegen/src/AndroidSymbol.cpp | 251 - bindings/codegen/src/AndroidSymbol.hpp | 6 - bindings/codegen/src/BindingGen.cpp | 281 - bindings/codegen/src/JsonInterfaceGen.cpp | 36 - bindings/codegen/src/Main.cpp | 64 - bindings/codegen/src/ModifyGen.cpp | 153 - bindings/codegen/src/PredeclareGen.cpp | 51 - bindings/codegen/src/Shared.hpp | 299 - bindings/codegen/src/SourceGen.cpp | 260 - bindings/codegen/src/WindowsSymbol.hpp | 58 - mod.json | 8 +- 54 files changed, 39 insertions(+), 112938 deletions(-) delete mode 100644 _Src/_RepoSync.cpp delete mode 100644 bindings/.github/workflows/build.yml delete mode 100644 bindings/.github/workflows/verify.yml delete mode 100644 bindings/.gitignore delete mode 100644 bindings/CMakeLists.txt delete mode 100644 bindings/README.md delete mode 100644 bindings/bindings/1.920/Cocos2d.bro delete mode 100644 bindings/bindings/1.920/Entry.bro delete mode 100644 bindings/bindings/1.920/GeometryDash.bro delete mode 100644 bindings/bindings/2.011/GeometryDash.bro delete mode 100644 bindings/bindings/2.113/Cocos2d.bro delete mode 100644 bindings/bindings/2.113/Entry.bro delete mode 100644 bindings/bindings/2.113/GeometryDash.bro delete mode 100644 bindings/bindings/2.200/Cocos2d-extras.bro delete mode 100644 bindings/bindings/2.200/Cocos2d.bro delete mode 100644 bindings/bindings/2.200/Entry.bro delete mode 100644 bindings/bindings/2.200/Extras.bro delete mode 100644 bindings/bindings/2.200/GeometryDash.bro delete mode 100644 bindings/bindings/2.202/Cocos2d.bro delete mode 100644 bindings/bindings/2.202/Entry.bro delete mode 100644 bindings/bindings/2.202/Extras.bro delete mode 100644 bindings/bindings/2.202/GeometryDash.bro delete mode 100644 bindings/bindings/2.203/Cocos2d.bro delete mode 100644 bindings/bindings/2.203/Entry.bro delete mode 100644 bindings/bindings/2.203/Extras.bro delete mode 100644 bindings/bindings/2.203/GeometryDash.bro delete mode 100644 bindings/bindings/2.204/Cocos2d.bro delete mode 100644 bindings/bindings/2.204/Entry.bro delete mode 100644 bindings/bindings/2.204/Extras.bro delete mode 100644 bindings/bindings/2.204/GeometryDash.bro delete mode 100644 bindings/bindings/2.205/Cocos2d.bro delete mode 100644 bindings/bindings/2.205/Entry.bro delete mode 100644 bindings/bindings/2.205/Extras.bro delete mode 100644 bindings/bindings/2.205/GeometryDash.bro delete mode 100644 bindings/cmake/CPM.cmake delete mode 100644 bindings/codegen/CMakeLists.txt delete mode 100644 bindings/codegen/src/AndroidSymbol.cpp delete mode 100644 bindings/codegen/src/AndroidSymbol.hpp delete mode 100644 bindings/codegen/src/BindingGen.cpp delete mode 100644 bindings/codegen/src/JsonInterfaceGen.cpp delete mode 100644 bindings/codegen/src/Main.cpp delete mode 100644 bindings/codegen/src/ModifyGen.cpp delete mode 100644 bindings/codegen/src/PredeclareGen.cpp delete mode 100644 bindings/codegen/src/Shared.hpp delete mode 100644 bindings/codegen/src/SourceGen.cpp delete mode 100644 bindings/codegen/src/WindowsSymbol.hpp diff --git a/CMakeLists.txt b/CMakeLists.txt index b8e2d48..af03e1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,7 @@ add_compile_definitions(GEODE_EXPOSE_SECRET_INTERNALS_IN_HEADERS_DO_NOT_DEFINE_P cmake_minimum_required(VERSION 3.21) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_OSX_ARCHITECTURES "x86_64") -set(GEODE_BINDINGS_REPO_PATH "${CMAKE_CURRENT_LIST_DIR}/bindings") +set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64") project(MainMod) diff --git a/CMakeSettings.json b/CMakeSettings.json index 18cb380..43af553 100644 --- a/CMakeSettings.json +++ b/CMakeSettings.json @@ -10,6 +10,18 @@ "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x86" ] + }, + { + "name": "x64-Release", + "generator": "Ninja", + "configurationType": "RelWithDebInfo", + "buildRoot": "${projectDir}\\out\\build\\${name}", + "installRoot": "${projectDir}\\out\\install\\${name}", + "cmakeCommandArgs": "", + "buildCommandArgs": "", + "ctestCommandArgs": "", + "inheritEnvironments": [ "msvc_x64_x64" ], + "variables": [] } ] } \ No newline at end of file diff --git a/_Src/_ModCfg.cpp b/_Src/_ModCfg.cpp index 01e8a60..9ab3e7c 100644 --- a/_Src/_ModCfg.cpp +++ b/_Src/_ModCfg.cpp @@ -5,13 +5,13 @@ using namespace geode::prelude; void CopyConfigFromUnzipped() { auto game_dir = Mod::get()->getTempDir() / "config" / ""; //from_game_dir auto save_dir = Mod::get()->getConfigDir(); //from_game_dir - if (!ghc::filesystem::exists(game_dir)) return; - //if (!ghc::filesystem::exists(save_dir)) return; - ghc::filesystem::copy( + if (!std::filesystem::exists(game_dir)) return; + //if (!std::filesystem::exists(save_dir)) return; + std::filesystem::copy( game_dir, //from game dir save_dir, //to game save dir - ghc::filesystem::copy_options::overwrite_existing | - ghc::filesystem::copy_options::recursive + std::filesystem::copy_options::overwrite_existing | + std::filesystem::copy_options::recursive ); }; diff --git a/_Src/_RepoSync.cpp b/_Src/_RepoSync.cpp deleted file mode 100644 index 61dc8bd..0000000 --- a/_Src/_RepoSync.cpp +++ /dev/null @@ -1,80 +0,0 @@ -//geode -#include -using namespace geode::prelude; - -/* -ADD THIS IN FRONT (or ANYWHERE) OF YOUR CMakeLists.txt: - -add_compile_definitions(GEODE_EXPOSE_SECRET_INTERNALS_IN_HEADERS_DO_NOT_DEFINE_PLEASE 1) #ok - -*/ -#include -std::string api() { - auto meta = Mod::get()->getMetadata(); - auto repo = meta.getRepository() - .value_or(fmt::format( - "https://github.com/{}/{}", - meta.getDeveloper(), - meta.getID().replace(0, meta.getDeveloper().size() + 1, "") - )); - std::string repoapi = std::regex_replace( - repo, - std::regex("https://github.com/"), - "https://ungh.cc/repos/" - ); - return repoapi; -}; - -#include -void updateModByRepo() { - //https://ungh.cc/repos/user95401/curly-eureka - web::AsyncWebRequest() - .fetch(api()) - .json() - .then( - [](matjson::Value json) { - if (!json.contains("repo")) return; - auto meta = Mod::get()->getMetadata(); - meta.setDescription(json["repo"]["description"].as_string()); - Mod::get()->setMetadata(meta); - } - ); - //https://ungh.cc/repos/user95401/curly-eureka/readme - web::AsyncWebRequest() - .fetch(api()+"/readme") - .json() - .then( - [](matjson::Value json) { - if (!json.contains("markdown")) return; - auto meta = Mod::get()->getMetadata(); - meta.setDetails(json["markdown"].as_string()); - Mod::get()->setMetadata(meta); - } - ); - //https://ungh.cc/repos/user95401/curly-eureka/releases - web::AsyncWebRequest() - .fetch(api()+"/releases") - .json() - .then( - [](matjson::Value json) { - if (!json.contains("releases")) return; - if (!json["releases"].is_array()) return; - if (json["releases"].as_array().empty()) return; - auto meta = Mod::get()->getMetadata(); - std::stringstream releases; - for (auto release : json["releases"].as_array()) { - releases << "# " << release["name"].as_string() << std::endl; - releases << "- Tag: " << release["tag"].as_string() << std::endl; - releases << "- Author: " << release["author"].as_string() << std::endl; - releases << "- Published At: " << release["publishedAt"].as_string() << std::endl; - releases << std::endl << release["markdown"].as_string() << std::endl; - } - meta.setChangelog(releases.str()); - Mod::get()->setMetadata(meta); - } - ); -} - -$on_mod(Loaded) { - updateModByRepo(); -}; diff --git a/_Src/_YourLocalCfg.cpp b/_Src/_YourLocalCfg.cpp index d6cd65a..66a4b24 100644 --- a/_Src/_YourLocalCfg.cpp +++ b/_Src/_YourLocalCfg.cpp @@ -5,23 +5,23 @@ using namespace geode::prelude; void CopyFromLocal() { auto game_dir = Mod::get()->getConfigDir() / "settings.json"; //from_game_dir auto save_dir = Mod::get()->getSaveDir() / "settings.json"; //from_game_dir - if (!ghc::filesystem::exists(game_dir)) return; - //if (!ghc::filesystem::exists(save_dir)) return; - ghc::filesystem::copy( + if (!std::filesystem::exists(game_dir)) return; + //if (!std::filesystem::exists(save_dir)) return; + std::filesystem::copy( game_dir, //from game dir save_dir, //to game save dir - ghc::filesystem::copy_options::overwrite_existing); + std::filesystem::copy_options::overwrite_existing); }; void CopyFromData() { auto game_dir = Mod::get()->getConfigDir() / "settings.json"; //from_game_dir auto save_dir = Mod::get()->getSaveDir() / "settings.json"; //from_game_dir - //if (!ghc::filesystem::exists(game_dir)) return; - if (!ghc::filesystem::exists(save_dir)) return; - ghc::filesystem::copy( + //if (!std::filesystem::exists(game_dir)) return; + if (!std::filesystem::exists(save_dir)) return; + std::filesystem::copy( save_dir, //to game save dir game_dir, //from game dir - ghc::filesystem::copy_options::overwrite_existing); + std::filesystem::copy_options::overwrite_existing); }; $on_mod(Loaded) { diff --git a/_Src/_main.cpp b/_Src/_main.cpp index 97f5919..d1412b1 100644 --- a/_Src/_main.cpp +++ b/_Src/_main.cpp @@ -12,14 +12,14 @@ using namespace geode::prelude; std::string FilePathFromModFolder(std::string fname) {//they force me auto sFullPath = Mod::get()->getConfigDir(true).string(); #ifdef GEODE_IS_WINDOWS - auto sCurrPath = ghc::filesystem::current_path().string(); + auto sCurrPath = std::filesystem::current_path().string(); auto sRelPath = sFullPath.erase(0, sCurrPath.size() + 1);//sucks - ghc::filesystem::path path = (sRelPath + "//" + fname); - ghc::filesystem::create_directories(path.parent_path()); + std::filesystem::path path = (sRelPath + "//" + fname); + std::filesystem::create_directories(path.parent_path()); #else - ghc::filesystem::path path = (sFullPath + "//" + fname); + std::filesystem::path path = (sFullPath + "//" + fname); #endif - ghc::filesystem::create_directories(path.parent_path()); + std::filesystem::create_directories(path.parent_path()); auto rtn = path.string(); //std::replace(rtn.begin(), rtn.end(), '\\', '/'); // replace all '\' to '/' ;3 if(rtn.find("\\_") != std::string::npos) rtn.insert(rtn.find("\\_"), "\\"); // fun thing (MDLNK) diff --git a/_Src/controllers.cpp b/_Src/controllers.cpp index eb69cce..96d4ff6 100644 --- a/_Src/controllers.cpp +++ b/_Src/controllers.cpp @@ -175,13 +175,13 @@ class $modify(LevelSelectLayerExd, LevelSelectLayer) { } //setup nodes if (pBackgroundSprite) { - auto BG_SPRITE_NAME = Mod::get()->getSettingValue("BG_SPRITE_NAME").filename(); + auto BG_SPRITE_NAME = Mod::get()->getSettingValue("BG_SPRITE_NAME").filename(); auto filename = BG_SPRITE_NAME.string(); pBackgroundSprite->initWithFile(filename.c_str()); pBackgroundSprite->setPosition(CCPointZero); pBackgroundSprite->setScale(CCDirector::get()->getScreenRight() / pBackgroundSprite->getContentSize().width); - listenForSettingChanges("BG_SPRITE_NAME", +[](ghc::filesystem::path value) { - value = ghc::filesystem::path(value).filename(); + listenForSettingChanges("BG_SPRITE_NAME", +[](std::filesystem::path value) { + value = std::filesystem::path(value).filename(); if (CCDirector::get()->m_pRunningScene->getChildByTag(6481)) return; auto pop = geode::createQuickPopup( "BG_SPRITE_NAME", diff --git a/_Src/ui.cpp b/_Src/ui.cpp index 27f79b2..9214e36 100644 --- a/_Src/ui.cpp +++ b/_Src/ui.cpp @@ -173,7 +173,7 @@ class MainLevelsEditorLayer : public CCLayer { //hi auto ntfy = Notification::create("Removed!"); ntfy->setIcon(NotificationIcon::Warning); - if (not ghc::filesystem::remove_all(FilePathFromModFolder(""))) ntfy->setString("Failed to remove!"); + if (not std::filesystem::remove_all(FilePathFromModFolder(""))) ntfy->setString("Failed to remove!"); ntfy->show(); }); pop->m_buttonMenu->addChild(someInput); diff --git a/bindings/.github/workflows/build.yml b/bindings/.github/workflows/build.yml deleted file mode 100644 index 2e31651..0000000 --- a/bindings/.github/workflows/build.yml +++ /dev/null @@ -1,127 +0,0 @@ -name: Build Codegen - -on: - pull_request: - push: - branches: - - '**' - -jobs: - filter: - runs-on: ubuntu-latest - name: Filter - outputs: - should-run: ${{ steps.changed.outputs.any_changed }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Get changed files in the codegen folder - id: changed - uses: tj-actions/changed-files@v42 - with: - files: | - .github/workflows/build.yml - codegen/** - - build: - needs: filter - if: needs.filter.outputs.should-run == 'true' - - strategy: - fail-fast: false - matrix: - config: - - name: Windows - os: windows-latest - id: win - - name: macOS - os: macos-latest - id: mac - - name: Linux - os: ubuntu-latest - id: linux - - name: Build ${{ matrix.config.name }} - runs-on: ${{ matrix.config.os }} - - env: - CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Setup CPM Cache - uses: actions/cache@v4 - with: - path: cpm-cache - key: cpm-${{ matrix.config.id }}-v1-${{ hashFiles('codegen/CMakeLists.txt') }} - restore-keys: | - cpm-${{ matrix.config.id }}-v1- - - - name: Install Ninja - shell: bash - run: | - curl -L https://github.com/ninja-build/ninja/releases/latest/download/ninja-${{ matrix.config.id }}.zip -o ninja.zip - 7z x ninja.zip -o"$GITHUB_WORKSPACE/ninja" - echo "$GITHUB_WORKSPACE/ninja" >> $GITHUB_PATH - - - name: Configure - run: > - cmake codegen -B codegen/build - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_C_COMPILER=clang - -DCMAKE_CXX_COMPILER=clang++ - -G Ninja - - - name: Build - run: cmake --build codegen/build --config Release --parallel - - - name: Upload Artifacts - uses: actions/upload-artifact@v4 - with: - name: geode-codegen-${{ matrix.config.id }} - path: | - codegen/build/Codegen - codegen/build/Codegen.exe - if-no-files-found: ignore - - publish: - name: Publish - runs-on: ubuntu-latest - needs: build - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Download Artifacts - uses: actions/download-artifact@v4 - - - name: Move Binaries - run: | - mv geode-codegen-win/Codegen.exe geode-codegen-win.exe - mv geode-codegen-mac/Codegen geode-codegen-mac-temp - mv geode-codegen-linux/Codegen geode-codegen-linux-temp - rmdir geode-codegen-mac - rmdir geode-codegen-linux - mv geode-codegen-mac-temp geode-codegen-mac - mv geode-codegen-linux-temp geode-codegen-linux - - - name: Update Codegen Release - uses: andelf/nightly-release@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: codegen - name: 'Codegen Release' - body: Geode codegen release for commit ${{ github.sha }}. - files: | - ./geode-codegen-win.exe - ./geode-codegen-mac - ./geode-codegen-linux diff --git a/bindings/.github/workflows/verify.yml b/bindings/.github/workflows/verify.yml deleted file mode 100644 index fc2c64c..0000000 --- a/bindings/.github/workflows/verify.yml +++ /dev/null @@ -1,136 +0,0 @@ -name: 'Verify bindings syntax' - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Restore cache - id: codegen-cache - uses: actions/cache@v3 - with: - path: bin - key: codegen-${{ hashFiles('codegen/**') }} - - - name: Build Codegen binary - if: steps.codegen-cache.outputs.cache-hit != 'true' - run: | - cmake ./codegen -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=./bin -B build - cmake --build build --config RelWithDebInfo - cmake --install build - - - name: Upload Codegen binary - uses: actions/upload-artifact@v3 - with: - name: Codegen - path: bin/Codegen - - verify: - runs-on: ubuntu-latest - needs: build - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Download Codegen binary - uses: actions/download-artifact@v3 - with: - name: Codegen - - - name: Verify - run: 'chmod +x ./Codegen && ./Codegen Win32 bindings/2.200 out' - - test-members: - # dont bother running member test if broma isnt even valid - needs: verify - - strategy: - fail-fast: false - matrix: - config: - - name: Windows - os: windows-2022 - prefixes: '' - extra_flags: > - -A win32 - -D USE_HACKY_SCRIPT=ON - - - name: Android32 - os: ubuntu-latest - prefixes: '' - extra_flags: > - -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake - -DANDROID_ABI=armeabi-v7a - -DANDROID_PLATFORM=android-23 - -G Ninja - -D USE_HACKY_SCRIPT=ON - - - name: Android64 - os: ubuntu-latest - prefixes: '' - extra_flags: > - -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake - -DANDROID_ABI=arm64-v8a - -DANDROID_PLATFORM=android-23 - -G Ninja - -D USE_HACKY_SCRIPT=ON - - - name: macOS - os_identifier: mac - os: macos-latest - extra_flags: > - -DCMAKE_C_COMPILER=clang - -DCMAKE_CXX_COMPILER=clang++ - -DCMAKE_BUILD_TYPE=Debug - - name: Test Offsets ${{ matrix.config.name }} - runs-on: ${{ matrix.config.os }} - - steps: - - name: Checkout bindings - uses: actions/checkout@v4 - - - name: Checkout geode - uses: actions/checkout@v4 - with: - repository: geode-sdk/geode - path: geode - - - name: Set up codegen binary cache - id: codegen-cache - uses: actions/cache@v3 - with: - path: build/bindings/codegen - # cache by os since for android32 and 64 the codegen binary is the same - key: codegen-${{ hashFiles('codegen/**') }}-${{ matrix.config.os }} - - - name: Set up android env - run: | - sudo apt install ninja-build - if: matrix.config.os == 'ubuntu-latest' - - - name: Set GEODE_SDK - shell: bash - run: echo "GEODE_SDK=${{ github.workspace }}/geode" >> $GITHUB_ENV - - - name: Configure CMake - shell: bash - run: > - cmake -B build -S test/members - -D SKIP_BUILDING_CODEGEN=${{ steps.codegen-cache.outputs.cache-hit }} - ${{ matrix.config.extra_flags }} - # SKIP_BUILDING_CODEGEN will skip building codegen if finds a cached binary, - # locally you dont need to set it - # USE_HACKY_SCRIPT will use the python script and some hackery to print the - # offsets in a nicer way. it is also not required - - - name: Build member test - run: | - cmake --build build --config RelWithDebInfo --parallel --target TestMembers - - - name: Show Errors - run: python test/members/check.py build diff --git a/bindings/.gitignore b/bindings/.gitignore deleted file mode 100644 index 77cb1a3..0000000 --- a/bindings/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -build/ -.vscode/ -__scripts -**/.DS_Store -scripts/Bindings.json -__optcall.xml -__membercall.xml diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt deleted file mode 100644 index a6037ce..0000000 --- a/bindings/CMakeLists.txt +++ /dev/null @@ -1,162 +0,0 @@ -cmake_minimum_required(VERSION 3.21 FATAL_ERROR) - -project(GeodeBindings VERSION 1.0.0) - -if (NOT DEFINED GEODE_TARGET_PLATFORM) - message(FATAL_ERROR "GEODE_TARGET_PLATFORM is not defined.") -endif() -if (NOT DEFINED GEODE_GD_VERSION) - message(FATAL_ERROR "GEODE_GD_VERSION is not defined.") -endif() -if (NOT DEFINED GEODE_LOADER_PATH) - message(FATAL_ERROR "GEODE_LOADER_PATH is not defined.") -endif() - -if (NOT GEODE_BINDINGS_PATH) - set(GEODE_BINDINGS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bindings/${GEODE_GD_VERSION}) -endif() - -set(GEODE_CODEGEN_BINARY_OUT ${CMAKE_CURRENT_BINARY_DIR}/codegen) -set(GEODE_CODEGEN_PATH ${CMAKE_CURRENT_BINARY_DIR}/bindings) - -set(GEODE_CODEGEN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/codegen) -set(GEODE_CODEGEN_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/codegen-build) - -if (NOT DEFINED SKIP_BUILDING_CODEGEN) - if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") - set(GEODE_CODEGEN_DOWNLOAD_FILE_NAME geode-codegen-win.exe) - set(GEODE_CODEGEN_TARGET_FILE_NAME Codegen.exe) - elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") - set(GEODE_CODEGEN_DOWNLOAD_FILE_NAME geode-codegen-linux) - set(GEODE_CODEGEN_TARGET_FILE_NAME Codegen) - elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") - set(GEODE_CODEGEN_DOWNLOAD_FILE_NAME geode-codegen-mac) - set(GEODE_CODEGEN_TARGET_FILE_NAME Codegen) - else() - unset(GEODE_CODEGEN_DOWNLOAD_FILE_NAME) - endif() - if (DEFINED GEODE_CODEGEN_DOWNLOAD_FILE_NAME) - message(STATUS "Downloading Codegen") - message(NOTICE "Set SKIP_BUILDING_CODEGEN to OFF to force codegen to build locally.") - # have to run file(DOWNLOAD) twice to check if it exists first because - # cmake is silly and fails the entire configure even if i have STATUS set - file(DOWNLOAD - https://github.com/geode-sdk/bindings/releases/download/codegen/${GEODE_CODEGEN_DOWNLOAD_FILE_NAME} - STATUS GEODE_CODEGEN_DOWNLOAD_STATUS - ) - list(GET GEODE_CODEGEN_DOWNLOAD_STATUS 0 GEODE_CODEGEN_DOWNLOAD_STATUS_CODE) - if (${GEODE_CODEGEN_DOWNLOAD_STATUS_CODE} EQUAL 0) - file(MAKE_DIRECTORY ${GEODE_CODEGEN_BINARY_OUT}) - file(DOWNLOAD - https://github.com/geode-sdk/bindings/releases/download/codegen/${GEODE_CODEGEN_DOWNLOAD_FILE_NAME} - ${GEODE_CODEGEN_BINARY_OUT}/${GEODE_CODEGEN_TARGET_FILE_NAME} - STATUS GEODE_CODEGEN_DOWNLOAD_STATUS - ) - list(GET GEODE_CODEGEN_DOWNLOAD_STATUS 0 GEODE_CODEGEN_DOWNLOAD_STATUS_CODE) - endif() - if (${GEODE_CODEGEN_DOWNLOAD_STATUS_CODE} EQUAL 0) - file( - CHMOD ${GEODE_CODEGEN_BINARY_OUT}/${GEODE_CODEGEN_TARGET_FILE_NAME} - PERMISSIONS - OWNER_READ OWNER_WRITE OWNER_EXECUTE - GROUP_READ GROUP_WRITE GROUP_EXECUTE - WORLD_READ WORLD_WRITE WORLD_EXECUTE - ) - message(STATUS "Downloading Codegen - success") - set(SKIP_BUILDING_CODEGEN ON) - else() - list(GET GEODE_CODEGEN_DOWNLOAD_STATUS 1 GEODE_CODEGEN_DOWNLOAD_STATUS_MESSAGE) - message(STATUS "Downloading Codegen - fail: ${GEODE_CODEGEN_DOWNLOAD_STATUS_MESSAGE}") - set(SKIP_BUILDING_CODEGEN OFF) - endif() - else() - set(SKIP_BUILDING_CODEGEN OFF) - endif() - unset(GEODE_CODEGEN_DOWNLOAD_FILE_NAME) - unset(GEODE_CODEGEN_TARGET_FILE_NAME) -endif() - -if (NOT SKIP_BUILDING_CODEGEN) - file(MAKE_DIRECTORY ${GEODE_CODEGEN_BINARY_DIR}) - - if (DEFINED CROSS_TOOLCHAIN_FLAGS_NATIVE) - message(STATUS "Passing CROSS_TOOLCHAIN_FLAGS_NATIVE to Codegen") - set(GEODE_CODEGEN_CROSS_TOOLCHAIN_FLAGS_NATIVE -DCROSS_TOOLCHAIN_FLAGS_NATIVE=${CROSS_TOOLCHAIN_FLAGS_NATIVE}) - endif() - - set(PREV_SCCACHE_C_CUSTOM_CACHE_BUSTER ENV{SCCACHE_C_CUSTOM_CACHE_BUSTER}) - set(ENV{SCCACHE_C_CUSTOM_CACHE_BUSTER} "codegen") - - message(STATUS "Configuring Codegen") - execute_process( - COMMAND ${CMAKE_COMMAND} ${GEODE_CODEGEN_CMAKE_ARGS} - -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} - -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER} - ${GEODE_CODEGEN_CROSS_TOOLCHAIN_FLAGS_NATIVE} - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX:STRING=${GEODE_CODEGEN_BINARY_OUT} - -S ${GEODE_CODEGEN_SOURCE_DIR} -B ${GEODE_CODEGEN_BINARY_DIR} - WORKING_DIRECTORY ${GEODE_CODEGEN_SOURCE_DIR} - COMMAND_ECHO STDOUT - COMMAND_ERROR_IS_FATAL ANY - ) - message(STATUS "Building Codegen") - execute_process( - COMMAND ${CMAKE_COMMAND} --build ${GEODE_CODEGEN_BINARY_DIR} --config Release - WORKING_DIRECTORY ${GEODE_CODEGEN_SOURCE_DIR} - COMMAND_ECHO STDOUT - COMMAND_ERROR_IS_FATAL ANY - ) - execute_process( - COMMAND ${CMAKE_COMMAND} --install ${GEODE_CODEGEN_BINARY_DIR} --config Release - --prefix ${GEODE_CODEGEN_BINARY_OUT} - WORKING_DIRECTORY ${GEODE_CODEGEN_SOURCE_DIR} - COMMAND_ECHO STDOUT - COMMAND_ERROR_IS_FATAL ANY - ) - - set(ENV{SCCACHE_C_CUSTOM_CACHE_BUSTER} PREV_SCCACHE_C_CUSTOM_CACHE_BUSTER) -endif() - -message(STATUS "Running Codegen") -execute_process( - COMMAND ./Codegen ${GEODE_TARGET_PLATFORM} ${GEODE_BINDINGS_PATH} ${GEODE_CODEGEN_PATH} - WORKING_DIRECTORY ${GEODE_CODEGEN_BINARY_OUT} - COMMAND_ECHO STDOUT - COMMAND_ERROR_IS_FATAL ANY -) - -file(GLOB GEODE_BINDINGS_FILES ${GEODE_BINDINGS_PATH}/*.bro) -file(GLOB GEODE_CODEGEN_OUT_FILES - ${GEODE_CODEGEN_PATH}/Geode/CodegenData.txt - ${GEODE_CODEGEN_PATH}/Geode/*.cpp - ${GEODE_CODEGEN_PATH}/Geode/*.hpp - ${GEODE_CODEGEN_PATH}/Geode/binding/*.hpp - ${GEODE_CODEGEN_PATH}/Geode/modify/*.hpp -) -add_custom_command( - DEPENDS ${GEODE_BINDINGS_FILES} - COMMENT "Running Codegen" - COMMAND ./Codegen ${GEODE_TARGET_PLATFORM} ${GEODE_BINDINGS_PATH} ${GEODE_CODEGEN_PATH} - WORKING_DIRECTORY ${GEODE_CODEGEN_BINARY_OUT} - OUTPUT ${GEODE_CODEGEN_OUT_FILES} -) - -if (GEODE_IS_MEMBER_TEST) - set(GEODE_MEMBER_TEST_CODEGEN_PATH ${GEODE_CODEGEN_PATH} PARENT_SCOPE) - return() -endif() - -add_library(${PROJECT_NAME} ${GEODE_CODEGEN_PATH}/Geode/GeneratedSource.cpp) -target_include_directories(${PROJECT_NAME} PUBLIC ${GEODE_CODEGEN_PATH}) - -set_target_properties(${PROJECT_NAME} PROPERTIES CXX_VISIBILITY_PRESET hidden) -target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20) - -if (APPLE) - target_compile_options(${PROJECT_NAME} PUBLIC -ffunction-sections -fdata-sections) - target_link_options(${PROJECT_NAME} PUBLIC -dead_strip) -elseif (ANDROID) - target_compile_options(${PROJECT_NAME} PUBLIC -ffunction-sections -fdata-sections) - target_link_options(${PROJECT_NAME} PUBLIC -Wl,--gc-sections) -endif() diff --git a/bindings/README.md b/bindings/README.md deleted file mode 100644 index 41c93c3..0000000 --- a/bindings/README.md +++ /dev/null @@ -1,75 +0,0 @@ -# Bindings - -Addresses and bindings for Geometry Dash, for use with the Geode mod loader. - -## Contributing - -You can contribute new addresses / fields by opening up a [Pull Request](https://github.com/geode-sdk/bindings/pull). - -The syntax of a binding is a simplified version of C++: -```cpp -// Platforms you can link directly to the symbol on, so win for Cocos2d on -// Windows and android for everything on Android -[[link(android)]] -class Example : Base1, Base2 { - /// Documentation for this binding. Uses Flash-compatible JSDoc - /// @param param This param does things - /// @param other This controls how the other param acts - /// @returns A number depicting what it did - int binding(float param, bool other) = win 0x123456, mac 0x789012; - - // If the binding is inlined on some platform, provide a reconstructed - // definition for it - void inlined(bool x) { - if (x) { - // Do stuff - } - } - - // Statics and virtuals are as you'd expect - static void example() = win 0x654321; - - // Remember that the order of virtual functions matters! - virtual void virtFunc(); - virtual bool init() = win 0x123; - - // Remember to use fully qualified names for Cocos2d classes - void onTrigger(cocos2d::CCObject*); - - // Some functions that are passed as callbacks have unpredictable calling - // conventions. Use the `callback` keyword if a function is __thiscall - // when it would otherwise be inferred as __membercall - callback void unpredictable(float); - - // Add members like you would on a C++ class - // Members are in the format m_camelCase - int m_jumpCount; - // Add pads for skipping members, platform dependant - PAD = win 0x18, android32 0x4, android64 0x8; - // Use std::array for C arrays - std::array m_lastYPositions; -} -``` - -We are mainly only looking for new addresses for the latest version of GD (Update 2.204 for Windows, 2.205 for Android, 2.200 for MacOS). However, if you are interested in documenting older versions, we will also accept those in the interests of the wider modding community. Please put them in the appropriate subfolder under bindings. - -## SyncBromaScript - -You can automatically sync addresses from-and-to Broma using the [`SyncBromaScript`](scripts/ghidra/SyncBromaScript.java) script for Ghidra. This script automatically pulls function names, signatures & addresses from Broma, adds them to your Ghidra project, and then adds any addresses you have found back into the Broma. - -**To install SyncBromaScript**, open up the `Script Manager` in Ghidra, then select `Manage Script Directories` from the top right toolbar. Add the path to the `scripts` directory in your local copy of Bindings, then refresh your scripts in `Script Manager`. You should see a `GeodeSDK` category appear with `SyncBromaScript.java` in it - -**Before running SyncBromaScript**, you should set up your Ghidra to be a good scripting environment by running the built-in `RecoverClassesFromRttiScript.java` from Ghidra, as well as `SetupGhidraScript.java` from this repository. Note that `RecoverClassesFromRttiScript.java` can take over half an hour to finish. - -**To run SyncBromaScript**, open up the `Script Manager` in Ghidra and then double-click it to run the script. It should present you with a popup window of options. - -### SyncBromaScript options - -| Option | Description | -| ------ | ----------- | -| Target platform | The platform whose bindings to merge from/to. | -| Broma File | The Broma file to merge from/to. This only matters on Windows, where the Cocos2d and GD binaries are separate; on other platforms where everything is in one binary, both `Cocos2d.bro` and `GeometryDash.bro` are automatically always included. | -| Game version | The version of GD you have open in Ghidra, with which you want to merge bindings. Only options that have a bindings directory are shown. | -| Import from Broma | Import function signatures & addresses from Broma into Ghidra. This assumes that Broma is always correct for everything; if there is a signature mismatch, or an incorrect address in Broma, you will have to manually edit the Broma file to fix the conflict. | -| Export to Broma | Export function addresses, parameter names, and return types from Ghidra into Broma. Signatures are not exported; Broma is always used as the source of truth for function signatures. | -| Set optcall & membercall | This option only matters on Windows; automatically corrects the calling convention for functions that use the optimized `__fastcall` / `__thiscall` conventions. This will only set the custom convention for functions where it makes a difference; also, if the signature of the function changes, you will need to rerun the script to have it correct the calling convention again. | diff --git a/bindings/bindings/1.920/Cocos2d.bro b/bindings/bindings/1.920/Cocos2d.bro deleted file mode 100644 index 1827130..0000000 --- a/bindings/bindings/1.920/Cocos2d.bro +++ /dev/null @@ -1,406 +0,0 @@ -// clang-format off - -[[link(win, android)]] -class cocos2d::CCApplication { - static cocos2d::CCApplication* sharedApplication(); - - virtual int run(); - virtual void setAnimationInterval(double); - virtual cocos2d::ccLanguageType getCurrentLanguage(); - virtual cocos2d::TargetPlatform getTargetPlatform(); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create(); - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - static cocos2d::CCDictionary* createWithContentsOfFile(const char*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(const char*); - - unsigned int count(); - cocos2d::CCArray* allKeys(); - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - cocos2d::CCObject* objectForKey(const gd::string&); - cocos2d::CCObject* objectForKey(intptr_t); - const cocos2d::CCString* valueForKey(const gd::string&); - const cocos2d::CCString* valueForKey(intptr_t); - void setObject(cocos2d::CCObject*, const gd::string&); - void setObject(cocos2d::CCObject*, intptr_t); - void removeObjectForKey(const gd::string&); - void removeObjectForKey(intptr_t key); - void removeObjectsForKeys(cocos2d::CCArray*); - void removeObjectForElememt(cocos2d::CCDictElement*); - void removeAllObjects(); - cocos2d::CCObject* randomObject(); - bool writeToFile(const char*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor &visitor); -} - -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - static CCFileUtils* sharedFileUtils(); - static void purgeFileUtils(); - void removeAllPaths(); - - virtual long getClassTypeInfo(); - virtual void purgeCachedEntries(); - virtual unsigned char* getFileData(const char*, const char*, unsigned long*); - virtual unsigned char* getFileDataFromZip(const char*, const char*, unsigned long*); - virtual gd::string fullPathForFilename(const char*, bool); - virtual void removeFullPath(const char*); - virtual void loadFilenameLookupDictionaryFromFile(const char*); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual const char* fullPathFromRelativeFile(const char*, const char*); - virtual void setSearchResolutionsOrder(gd::vector const&); - virtual void addSearchResolutionsOrder(const char*); - virtual const gd::vector& getSearchResolutionsOrder(); - virtual void setSearchPaths(const gd::vector&); - virtual void addSearchPath(const char* path); - virtual void removeSearchPath(const char *path); - virtual const gd::vector& getSearchPaths(); - virtual gd::string getWritablePath2(); - virtual bool isAbsolutePath(const gd::string&); - virtual void setPopupNotify(bool); - virtual bool isPopupNotify(); - virtual bool init(); - virtual gd::string getNewFilename(const char*); - virtual bool shouldUseHD(); - virtual gd::string addSuffix(gd::string, gd::string); - virtual gd::string getPathForFilename(const gd::string&, const gd::string&, const gd::string&); - virtual gd::string getFullPathForDirectoryAndFilename(const gd::string&, const gd::string&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(const gd::string&); - virtual bool writeToFile(cocos2d::CCDictionary*, const gd::string&); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(const gd::string& filename); - virtual gd::string getAndroidPath() const; - virtual void setAndroidPath(gd::string); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(); - static cocos2d::CCLayerColor* create(const cocos2d::ccColor4B&, float, float); - static cocos2d::CCLayerColor* create(const cocos2d::ccColor4B&); - - void changeWidth(float); - void changeHeight(float); - void changeWidthAndHeight(float, float); - - virtual void draw(); - virtual void setContentSize(const cocos2d::CCSize&); - virtual bool init(); - virtual bool initWithColor(const cocos2d::ccColor4B&, float, float); - virtual bool initWithColor(const cocos2d::ccColor4B&); - virtual void setBlendFunc(cocos2d::ccBlendFunc); - virtual cocos2d::ccBlendFunc getBlendFunc(); - virtual void setColor(const cocos2d::ccColor3B&); - virtual void setOpacity(GLubyte); - virtual void updateColor(); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - virtual bool init(); - virtual GLubyte getOpacity(); - virtual GLubyte getDisplayedOpacity(); - virtual void setOpacity(GLubyte); - virtual void updateDisplayedOpacity(GLubyte); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual const cocos2d::ccColor3B& getColor(); - virtual const cocos2d::ccColor3B& getDisplayedColor(); - virtual void setColor(const cocos2d::ccColor3B&); - virtual void updateDisplayedColor(const cocos2d::ccColor3B&); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static CCLayer *create(); - - CCLayer(); - ~CCLayer(); - - void registerScriptAccelerateHandler(int); - void unregisterScriptAccelerateHandler(); - void registerScriptKeypadHandler(int); - void unregisterScriptKeypadHandler(); - - virtual bool init(); - virtual void onEnter(); - virtual void onExit(); - virtual void onEnterTransitionDidFinish(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void didAccelerate(cocos2d::CCAcceleration*); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - virtual void keyBackClicked(); - virtual void keyMenuClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCMenuItem { - static cocos2d::CCMenuItem* create(); - static cocos2d::CCMenuItem* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - CCRect rect(); - int getScriptTapHandler(); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void registerScriptTapHandler(int nHandler); - virtual void unregisterScriptTapHandler(); - virtual bool isEnabled(); - virtual void setEnabled(bool value); - virtual bool isSelected(); - void setTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); -} - -[[link(win, android)]] -class cocos2d::CCMenu { - static cocos2d::CCMenu* create(); - // static CCMenu* create(CCMenuItem* item, ...); - static cocos2d::CCMenu* createWithArray(cocos2d::CCArray*); - static cocos2d::CCMenu* createWithItem(cocos2d::CCMenuItem*); - // static CCMenu* createWithItems(CCMenuItem *firstItem, va_list args); - - bool init(); - bool initWithArray(cocos2d::CCArray*); - void alignItemsVertically(); - void alignItemsVerticallyWithPadding(float); - void alignItemsHorizontally(); - void alignItemsHorizontallyWithPadding(float); - // void alignItemsInColumns(unsigned int columns, ...); - // void alignItemsInColumns(unsigned int columns, va_list args); - void alignItemsInColumnsWithArray(cocos2d::CCArray*); - // void alignItemsInRows(unsigned int rows, ...); - // void alignItemsInRows(unsigned int rows, va_list args); - void alignItemsInRowsWithArray(cocos2d::CCArray*); - void setHandlerPriority(int); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void registerWithTouchDispatcher(); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void onExit(); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isEnabled(); - virtual void setEnabled(bool); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create(); - - CCNode(); - ~CCNode(); - - int getScriptHandler(); - void scheduleUpdateWithPriorityLua(int, int); - cocos2d::CCRect boundingBox(); - cocos2d::CCAction* runAction(cocos2d::CCAction* action); - void stopAllActions(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - cocos2d::CCAction* getActionByTag(int); - unsigned int numberOfRunningActions(); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void unscheduleUpdate(); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float); - void schedule(cocos2d::SEL_SCHEDULE, float); - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void resumeSchedulerAndActions(); - void pauseSchedulerAndActions(); - void transform(); - void transformAncestors(); - cocos2d::CCPoint convertToNodeSpace(const cocos2d::CCPoint&); - cocos2d::CCPoint convertToWorldSpace(const cocos2d::CCPoint&); - cocos2d::CCPoint convertToNodeSpaceAR(const cocos2d::CCPoint&); - cocos2d::CCPoint convertToWorldSpaceAR(const cocos2d::CCPoint&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - void setAdditionalTransform(const cocos2d::CCAffineTransform&); - cocos2d::CCComponent* getComponent(const char *) const; - bool isScheduled(cocos2d::SEL_SCHEDULE); - - virtual bool init(); - virtual void setZOrder(int); - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(const cocos2d::CCPoint&); - virtual const cocos2d::CCPoint& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(const cocos2d::CCPoint&); - virtual const cocos2d::CCPoint& getAnchorPoint(); - virtual const cocos2d::CCPoint& getAnchorPointInPoints(); - virtual void setContentSize(const cocos2d::CCSize&); - virtual const cocos2d::CCSize& getContentSize() const; - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual unsigned int getChildrenCount() const; - virtual void setParent(cocos2d::CCNode* parent); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual int getTag() const; - virtual void setTag(int); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void update(float); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform nodeToParentTransform(); - virtual const cocos2d::CCAffineTransform parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(const char*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - virtual void update(float dt); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(const cocos2d::CCObject*); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAll(); - void unscheduleAllWithMinPriority(int); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void unscheduleScriptEntry(unsigned int); - void pauseTarget(cocos2d::CCObject*); - void resumeTarget(cocos2d::CCObject*); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void resumeTargets(cocos2d::CCSet*); -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrameCache { - bool init(); - void addSpriteFramesWithDictionary(cocos2d::CCDictionary*, cocos2d::CCTexture2D*); - void addSpriteFramesWithFile(const char*); - void addSpriteFramesWithFile(const char*, const char*); - void addSpriteFramesWithFile(const char*, cocos2d::CCTexture2D*); - void addSpriteFrame(cocos2d::CCSpriteFrame*, const char*); - void removeSpriteFrames(); - void removeUnusedSpriteFrames(); - void removeSpriteFrameByName(const char*); - void removeSpriteFramesFromFile(const char*); - void removeSpriteFramesFromDictionary(cocos2d::CCDictionary*); - void removeSpriteFramesFromTexture(cocos2d::CCTexture2D* texture); - cocos2d::CCSpriteFrame* spriteFrameByName(const char *pszName); -} diff --git a/bindings/bindings/1.920/Entry.bro b/bindings/bindings/1.920/Entry.bro deleted file mode 100644 index b7ace2f..0000000 --- a/bindings/bindings/1.920/Entry.bro +++ /dev/null @@ -1,2 +0,0 @@ -#include -#include diff --git a/bindings/bindings/1.920/GeometryDash.bro b/bindings/bindings/1.920/GeometryDash.bro deleted file mode 100644 index cd114f6..0000000 --- a/bindings/bindings/1.920/GeometryDash.bro +++ /dev/null @@ -1,6118 +0,0 @@ -// clang-format off - -[[link(android)]] -class AccountHelpLayer { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create(); - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn accountStatusChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLayer { - // virtual ~AccountLayer(); - // AccountLayer(); - - static AccountLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup(); - TodoReturn doSync(); - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLogin(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onRegister(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError); - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError); - virtual TodoReturn accountStatusChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLoginLayer { - // virtual ~AccountLoginLayer(); - // AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string); - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class AccountRegisterLayer { - // virtual ~AccountRegisterLayer(); - // AccountRegisterLayer(); - - static AccountRegisterLayer* create(); - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual bool allowTextInput(CCTextInputNode*); - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class AchievementBar { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const*, char const*, char const*); - - TodoReturn getTargetScene(); - bool init(char const*, char const*, char const*); - TodoReturn show(); - - virtual void setTargetScene(cocos2d::CCNode*); -} - -[[link(android)]] -class AchievementCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - TodoReturn loadFromDict(cocos2d::CCDictionary*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class AchievementManager { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState(); - - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getAchievementsWithID(char const*); - TodoReturn getAllAchievements(); - TodoReturn getAllAchievementsSorted(); - TodoReturn getDontNotifyAch(); - TodoReturn getReportedAchievements(); - bool isAchievementEarned(char const*); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn percentageForCount(int, int); - TodoReturn percentForAchievement(char const*); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPlatformAchievementWithID(char const*, int); - TodoReturn resetAchievement(char const*); - TodoReturn resetAchievements(); - TodoReturn setup(); - - virtual bool init(); - virtual void setReportedAchievements(cocos2d::CCDictionary*); - virtual void setDontNotifyAch(bool); -} - -[[link(android)]] -class AchievementNotifier { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState(); - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn showNextAchievement(); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer { - // virtual ~AchievementsLayer(); - // AchievementsLayer(); - - static AchievementsLayer* create(); - - TodoReturn loadPage(int); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupPageInfo(int, int, int); - - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn hasCachedInterstitial(); - TodoReturn setupAds(); - TodoReturn showInterstitial(); -} - -class AnimatedSpriteDelegate { -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - // virtual ~AppDelegate(); - - static AppDelegate* get(); - - float bgScale(); - TodoReturn checkSound(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest(); - void pauseGame(); - TodoReturn platformShutdown(); - TodoReturn resumeSound(); - void setIdleTimerDisabled(bool); - void setupGLView(); - TodoReturn showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching(); - virtual void applicationDidEnterBackground(); - virtual void applicationWillEnterForeground(); - virtual void applicationWillBecomeActive(); - virtual void applicationWillResignActive(); - virtual void trySaveGame(); - virtual void willSwitchToScene(cocos2d::CCScene*); - virtual bool getPaused() const; - virtual void setPaused(bool); - virtual cocos2d::CCNode* getScenePointer() const; - virtual void setScenePointer(cocos2d::CCNode*); - virtual bool getLoadingFinished() const; - virtual bool getManagersLoaded() const; - virtual void setManagersLoaded(bool); - virtual bool getIsIOS() const; - virtual bool getIsLowMemoryDevice() const; - virtual bool getEnableFPSTricks() const; -} - -[[link(android)]] -class AudioEffectsLayer { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string); - - TodoReturn audioStep(float); - TodoReturn getAudioScale(); - TodoReturn getBGSquare(); - TodoReturn getRainActive(); - TodoReturn goingDown(); - bool init(gd::string); - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); - virtual void setRainActive(bool); -} - -[[link(android)]] -class BitmapFontCache { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - TodoReturn getTargetScene(); - bool init(gd::string, int); - TodoReturn show(); - - virtual void setTargetScene(cocos2d::CCNode*); -} - -[[link(android)]] -class BoomListLayer { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - // virtual ~BoomListView(); - - static BoomListView* create(cocos2d::CCArray*, float, float, int, BoomListType); - - bool init(cocos2d::CCArray*, float, float, int, BoomListType); - - bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, height, width, 0, type); - } - - virtual void draw(); - virtual void setupList(); - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*); - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*); - virtual int numberOfRowsInSection(unsigned int, TableView*); - virtual unsigned int numberOfSectionsInTableView(TableView*); - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*); - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&); - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TableViewCell* getListCell(char const*); - virtual void loadCell(TableViewCell*, int); - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - // BoomScrollLayer(); - - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool); - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getCurrentScreen(); - TodoReturn getDelegate(); - TodoReturn getInternalLayer(); - TodoReturn getMarginOffset(); - TodoReturn getMinimumTouchLengthToChangePage(); - TodoReturn getMinimumTouchLengthToSlide(); - TodoReturn getMinTouchSpeed(); - TodoReturn getMovingToPage(); - TodoReturn getPage(int); - TodoReturn getpages(); - TodoReturn getPagesIndicatorNormalColor(); - TodoReturn getPagesIndicatorSelectedColor(); - TodoReturn getPagesWidthOffset(); - TodoReturn getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getScrollArea(); - TodoReturn getShowPagesIndicator(); - TodoReturn getStealTouches(); - TodoReturn getTotalPages(); - TodoReturn getTouchSpeedFast(); - TodoReturn getTouchSpeedMid(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn instantMoveToPage(int); - TodoReturn moveToPage(int); - TodoReturn moveToPageEnded(); - TodoReturn pageNumberForPosition(cocos2d::CCPoint); - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - TodoReturn repositionPagesLooped(); - TodoReturn selectPage(int); - void setDotScale(float); - void setPagesIndicatorPosition(cocos2d::CCPoint); - TodoReturn setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn togglePageIndicators(bool); - TodoReturn updateDots(float); - TodoReturn updatePages(); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void setScrollArea(cocos2d::CCRect); - virtual void setMinTouchSpeed(float); - virtual void setTouchSpeedFast(float); - virtual void setTouchSpeedMid(float); - virtual void setDelegate(BoomScrollLayerDelegate*); - virtual void setMinimumTouchLengthToSlide(float); - virtual void setMinimumTouchLengthToChangePage(float); - virtual void setMarginOffset(float); - virtual void setStealTouches(bool); - virtual void setShowPagesIndicator(bool); - virtual void setPagesIndicatorSelectedColor(cocos2d::ccColor4B); - virtual void setPagesIndicatorNormalColor(cocos2d::ccColor4B); - virtual void setPagesWidthOffset(float); -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual TodoReturn scrollLayerScrollingStarted(BoomScrollLayer*); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class ButtonPage { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - // virtual ~ButtonSprite(); - // ButtonSprite(); - - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture); - } - - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(char const*); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool, char const*); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*); - - TodoReturn getBtnSprite(); - bool init(char const*, int, int, float, bool, char const*, char const*, float); - bool init(cocos2d::CCSprite*, int, int, float, float, bool, char const*); - void setColor(cocos2d::ccColor3B); - void setString(char const*); - void updateBGImage(char const*); - void updateSpriteBGSize(); - void updateSpriteOffset(cocos2d::CCPoint); -} - -[[link(android)]] -class CCAlertCircle { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - TodoReturn getCircle(); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CCAnimatedSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*); - TodoReturn getActiveSpriteMode(); - TodoReturn getAnimatedSprite(); - TodoReturn getAnimManager(); - TodoReturn getDefaultAnimation(); - TodoReturn getDelegate(); - TodoReturn getNormalSprite(); - TodoReturn getSprite(); - TodoReturn initWithType(char const*); - TodoReturn loadType(char const*); - TodoReturn switchToMode(spriteMode); - - virtual void setOpacity(unsigned char); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn animationFinishedO(cocos2d::CCObject*); - virtual void setSprite(cocos2d::CCSprite*); - virtual void setNormalSprite(cocos2d::CCSprite*); - virtual void setAnimatedSprite(CCPartAnimSprite*); - virtual void setDefaultAnimation(gd::string); - virtual void setDelegate(AnimatedSpriteDelegate*); -} - -[[link(android)]] -class CCAnimateFrameCache { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); -} - -[[link(android)]] -class CCBlockLayer { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn getRemoveOnExit(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setRemoveOnExit(bool); -} - -[[link(android)]] -class CCCircleAlert { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave { - // virtual ~CCCircleWave(); - // CCCircleWave(); - - static CCCircleWave* create(float, float, float, bool, bool); - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool); - TodoReturn getBlendAdditive(); - TodoReturn getCircleMode(); - TodoReturn getColor(); - TodoReturn getDelegate(); - TodoReturn getLineWidth(); - TodoReturn getOpacity(); - TodoReturn getOpacityMod(); - TodoReturn getRadius(); - TodoReturn getWidth(); - bool init(float, float, float, bool, bool); - TodoReturn updatePosition(float); - - virtual cocos2d::CCPoint const& getPosition(); - virtual void removeMeAndCleanup(); - virtual void draw(); - virtual void updateTweenAction(float, char const*); - virtual void setWidth(float); - virtual void setRadius(float); - virtual void setOpacity(float); - virtual void setColor(cocos2d::ccColor3B); - virtual void setPosition(cocos2d::CCPoint); - virtual void setCircleMode(CircleMode); - virtual void setLineWidth(int); - virtual void setOpacityMod(float); - virtual void setBlendAdditive(bool); - virtual void setDelegate(CCCircleWaveDelegate*); -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - // virtual ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float); - - virtual void setPosition(cocos2d::CCPoint const&); -} - -[[link(android)]] -class CCCountdown { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(char const*, char const*, int, FormatterType); - - TodoReturn calculateStepSize(); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getCurrentCount(); - TodoReturn getTargetCount(); - bool init(char const*, char const*, int, FormatterType); - void setTargetCount(int); - TodoReturn setupFormatter(FormatterType); - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - CCIndexPath() {} - // virtual ~CCIndexPath(); - - CCIndexPath* CCIndexPathWithSectionRow(int, int); - - int m_iUnknown1; - int m_iUnknown2; -} - -[[link(android)]] -class CCLightFlash { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - TodoReturn fadeAndRemove(); - TodoReturn getFlashP(); - TodoReturn getFlashZ(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - TodoReturn showFlash(); - - virtual bool init(); - virtual void setFlashP(cocos2d::CCNode*); - virtual void setFlashZ(int); -} - -[[link(android)]] -class CCLightStrip { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - TodoReturn getColor(); - TodoReturn getHeight(); - TodoReturn getOpacity(); - TodoReturn getWidth(); - bool init(float, float, float, float, float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); - virtual void setColor(cocos2d::ccColor3B); - virtual void setOpacity(float); - virtual void setWidth(float); - virtual void setHeight(float); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - // virtual ~CCMenuItemSpriteExtra(); - // CCMenuItemSpriteExtra(); - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - void setSizeMult(float); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual float getScaleVar() const; - virtual void setScaleVar(float); - virtual float getOriginalScale() const; - virtual void setOriginalScale(float); - virtual bool getShouldAnimate() const; - virtual void setShouldAnimate(bool); - virtual bool getDarkenClick() const; - virtual void setDarkenClick(bool); - virtual float getVolume() const; - virtual void setVolume(float); - virtual gd::string getClickSound() const; - virtual void setClickSound(gd::string); - - float m_scaleMultiplier; // m_scaleVar - float m_baseScale; // m_originalScale - bool m_animationEnabled; // m_shouldAnimate - bool m_colorEnabled; // m_darkenClick - float m_volume; - gd::string m_clickSound; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - CCMenuItemToggler() {} - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - - CCMenuItemSpriteExtra* activeItem(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - void normalTouch(cocos2d::CCObject*); - void selectedTouch(cocos2d::CCObject*); - void setSizeMult(float); - void toggle(bool); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool); - CCMenuItemSpriteExtra* getNormalButton() const; - CCMenuItemSpriteExtra* getSelectedButton() const; - virtual bool getIsActive() const; - virtual bool getDontToggle() const; - virtual void setDontToggle(bool); - - void setClickable(bool on) { - m_notClickable = !on; - } - - CCMenuItemSpriteExtra* m_offButton; // m_normalButton - CCMenuItemSpriteExtra* m_onButton; // m_selectedButton - bool m_toggled; // m_isActive - bool m_notClickable; // m_dontToggle -} - -[[link(android)]] -class CCPartAnimSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*); - TodoReturn dirtify(); - TodoReturn getSpriteContainer(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*); - void setColor(cocos2d::ccColor3B); - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(frameValues); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect); - - void constraintContent(); - float getMaxY(); - float getMinY(); - void moveToTop(); - void moveToTopWithOffset(float); - void scrollingEnd(); - void scrollLayer(float); - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - void updateIndicators(float); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void preVisitWithClippingRect(cocos2d::CCRect); - virtual void postVisit(); - virtual bool getIsTouch() const; - virtual void setIsTouch(bool); - virtual bool getIsScrolling() const; - virtual void setIsScrolling(bool); - virtual cocos2d::CCLayerColor* getVerticalScrollIndicator() const; - virtual void setVerticalScrollIndicator(cocos2d::CCLayerColor*); - virtual cocos2d::CCLayerColor* getHorizontalScrollIndicator() const; - virtual void setHorizontalScrollIndicator(cocos2d::CCLayerColor*); - virtual CCScrollLayerExtDelegate* getScrollDelegate() const; - virtual void setScrollDelegate(CCScrollLayerExtDelegate*); - virtual cocos2d::CCLayerColor* getContentLayer() const; - virtual void setContentLayer(cocos2d::CCLayerColor*); - virtual bool getClipsToBounds() const; - virtual void setClipsToBounds(bool); - virtual bool getShowsHorizontalScrollIndicator() const; - virtual void setShowsHorizontalScrollIndicator(bool); - virtual bool getShowsVerticalScrollIndicator() const; - virtual void setShowsVerticalScrollIndicator(bool); - virtual bool getLockHorizontal() const; - virtual void setLockHorizontal(bool); - virtual bool getLockVertical() const; - virtual void setLockVertical(bool); - virtual bool getTouchDispatch() const; - virtual void setTouchDispatch(bool); - virtual float getTopPadding() const; - virtual void setTopPadding(float); - virtual float getBottomPadding() const; - virtual void setBottomPadding(float); - virtual float getMaxOffsetTop() const; - virtual void setMaxOffsetTop(float); - virtual float getMaxOffsetBottom() const; - virtual void setMaxOffsetBottom(float); - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; // m_isTouch - bool m_notAtEndOfScroll; // m_isScrolling - cocos2d::CCLayerColor* m_verticalScrollbar; // m_verticalScrollIndicator - cocos2d::CCLayerColor* m_horizontalScrollbar; // m_horizontalScrollIndicator - CCScrollLayerExtDelegate* m_delegate; // m_scrollDelegate - cocos2d::CCLayerColor* m_contentLayer; // m_contentLayer - bool m_cutContent; // m_clipsToBounds - bool m_hScrollbarVisible; // m_showsHorizontalScrollIndicator - bool m_vScrollbarVisible; // m_showsVerticalScrollIndicator - bool m_disableHorizontal; // m_lockHorizontal - bool m_disableVertical; // m_lockVertical - bool m_disableMovement; // m_touchDispatch - float m_scrollLimitTop; // m_topPadding - float m_scrollLimitBottom; // m_bottomPadding - float m_peekLimitTop; // m_maxOffsetTop - float m_peekLimitBottom; // m_maxOffsetBottom -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchBegin(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchEnd(CCScrollLayerExt*); -} - -[[link(android)]] -class CCSpritePart { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn getBeingUsed(); - TodoReturn getUseColorMode(); - TodoReturn hideInactive(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateAllColors(cocos2d::ccColor3B, cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateColorFrames(char const*); - TodoReturn updateDisplayFrame(char const*); - TodoReturn useColorModeWithFrame(char const*); - - virtual void setUseColorMode(bool); -} - -[[link(android)]] -class CCSpritePlus { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual bool initWithSpriteFrameName(char const*); - virtual void setFlipX(bool); - virtual void setFlipY(bool); -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - // virtual ~CCTextInputNode(); - // CCTextInputNode(); - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*); - - static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - - static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - - TodoReturn forceOffset(); - TodoReturn getCharLimit(); - TodoReturn getDelegate(); - TodoReturn getIsPassword(); - TodoReturn getLabel(); - TodoReturn getProfanityFilter(); - gd::string getString(); - TodoReturn getTextField(); - bool init(float, float, char const*, char const*, int, char const*); - void refreshLabel(); - void setAllowedChars(gd::string); - void setLabelNormalColor(cocos2d::ccColor3B); - void setLabelPlaceholderColor(cocos2d::ccColor3B); - void setLabelPlaceholderScale(float); - void setMaxLabelScale(float); - void setMaxLabelWidth(float); - void setString(gd::string); - TodoReturn updateBlinkLabel(); - TodoReturn updateLabel(gd::string); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void textChanged(); - virtual void onClickTrackNode(bool); - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int); - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*); - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*); - virtual void setDelegate(TextInputDelegate*); - virtual void setCharLimit(int); - virtual void setProfanityFilter(bool); - virtual void setIsPassword(bool); - - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_keyboardPresent; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; // m_labelPlaceholderScale - cocos2d::ccColor3B m_placeholderColor; // m_labelPlaceholderColor - cocos2d::ccColor3B m_textColor; // m_labelNormalColor - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; // m_charLimit - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_filterSwearWords; // m_profanityFilter - bool m_usePasswordChar; // m_isPassword - bool m_forceOffset; -} - -[[link(android)]] -class CheckpointObject { - // virtual ~CheckpointObject(); - // CheckpointObject(); - - static CheckpointObject* create(); - - TodoReturn getActiveEnterEffect(); - TodoReturn getBgColorAction(); - TodoReturn getCameraPos(); - TodoReturn getColorAction(ColorAction*, cocos2d::ccColor3B); - TodoReturn getCustomColor01Action(); - TodoReturn getCustomColor02Action(); - TodoReturn getCustomColor03Action(); - TodoReturn getCustomColor04Action(); - TodoReturn getDLineColorAction(); - TodoReturn getDualMode(); - TodoReturn getGColorAction(); - TodoReturn getIsFlipped(); - TodoReturn getLineColorAction(); - TodoReturn getObjColorAction(); - TodoReturn getObject(); - TodoReturn getPlayerCheck01(); - TodoReturn getPlayerCheck02(); - TodoReturn getPortalObject(); - TodoReturn getTimeStamp(); - void setObject(GameObject*); - - virtual bool init(); - virtual void setPlayerCheck01(PlayerCheckpoint*); - virtual void setPlayerCheck02(PlayerCheckpoint*); - virtual void setDualMode(bool); - virtual void setIsFlipped(bool); - virtual void setCameraPos(cocos2d::CCPoint); - virtual void setBgColorAction(ColorAction*); - virtual void setLineColorAction(ColorAction*); - virtual void setObjColorAction(ColorAction*); - virtual void setGColorAction(ColorAction*); - virtual void setDLineColorAction(ColorAction*); - virtual void setCustomColor01Action(ColorAction*); - virtual void setCustomColor02Action(ColorAction*); - virtual void setCustomColor03Action(ColorAction*); - virtual void setCustomColor04Action(ColorAction*); - virtual void setActiveEnterEffect(EnterEffect); - virtual void setPortalObject(GameObject*); - virtual void setTimeStamp(double); -} - -[[link(android)]] -class ColorAction { - // virtual ~ColorAction(); - - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getBlend(); - TodoReturn getDuration(); - TodoReturn getFromColor(); - TodoReturn getTimeStamp(); - TodoReturn getToColor(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - virtual void setFromColor(cocos2d::ccColor3B); - virtual void setToColor(cocos2d::ccColor3B); - virtual void setDuration(float); - virtual void setTimeStamp(double); - virtual void setBlend(bool); -} - -[[link(android)]] -class ColoredSection { - // virtual ~ColoredSection(); - - static ColoredSection* create(cocos2d::ccColor3B, int, int); - - TodoReturn getCol(); - TodoReturn getEndPos(); - TodoReturn getStartPos(); - bool init(cocos2d::ccColor3B, int, int); - - virtual void setCol(cocos2d::ccColor3B); - virtual void setStartPos(int); - virtual void setEndPos(int); -} - -[[link(android)]] -class ColorSelectDelegate { - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); -} - -[[link(android)]] -class ColorSelectPopup { - // virtual ~ColorSelectPopup(); - // ColorSelectPopup(); - - static ColorSelectPopup* create(GameObject*, int, int, int); - static ColorSelectPopup* create(GameObject*); - static ColorSelectPopup* create(int, int, int); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn getColorValue(); - TodoReturn getCustom(); - TodoReturn getCustom2(); - TodoReturn getDelegate(); - TodoReturn getDuration(); - bool init(GameObject*, int, int, int); - void onCopy(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDurLabel(); - - virtual void keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual void setDelegate(ColorSelectDelegate*); -} - -[[link(android)]] -class CommentCell { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - TodoReturn loadFromComment(GJComment*); - void onConfirmDelete(cocos2d::CCObject* sender); - void onConfirmMore(cocos2d::CCObject* sender); - TodoReturn onDelete(); - void onLike(cocos2d::CCObject* sender); - TodoReturn onMore(); - void onUnhide(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateLabelValues(); - - virtual bool init(); - virtual void draw(); - virtual void likedItem(LikeItemType, int, bool); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CommentUploadDelegate { - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int); -} - -[[link(android)]] -class CreateGuidelinesLayer { - // virtual ~CreateGuidelinesLayer(); - // CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(LevelSettingsObject*); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(LevelSettingsObject*); - void onClearGuidelines(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onRecord(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CreateMenuItem { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - TodoReturn getObjectFrame(); - TodoReturn getObjectKey(); - TodoReturn getPage(); - TodoReturn getTab(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - virtual void setObjectFrame(gd::string); - virtual void setObjectKey(int); - virtual void setPage(int); - virtual void setTab(int); -} - -[[link(android)]] -class CreatorLayer { - // virtual ~CreatorLayer(); - - static CreatorLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender); - void onLeaderboards(cocos2d::CCObject* sender); - void onMapPacks(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender); - void onOnlineLevels(cocos2d::CCObject* sender); - void onSavedLevels(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class CustomizeObjectLayer { - // virtual ~CustomizeObjectLayer(); - // CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn highlightSelected(ButtonSprite*); - bool init(GameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class CustomListView : BoomListView { - // virtual ~CustomListView(); - CustomListView(); - - static CustomListView* create(cocos2d::CCArray*, float, float, int, BoomListType); - - virtual void setupList(); - virtual TableViewCell* getListCell(char const*); - virtual void loadCell(TableViewCell*, int); -} - -[[link(android)]] -class CustomSongCell { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - TodoReturn loadFromObject(SongInfoObject*); - void onDelete(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CustomSongLayer { - // virtual ~CustomSongLayer(); - // CustomSongLayer(); - - static CustomSongLayer* create(LevelSettingsObject*); - - TodoReturn getDelegate(); - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textChanged(CCTextInputNode*); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); - virtual void setDelegate(CustomSongLayerDelegate*); -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual TodoReturn customSongLayerClosed(); -} - -[[link(android)]] -class CustomSongWidget { - // virtual ~CustomSongWidget(); - // CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject*, LevelSettingsObject*, bool, bool, bool, bool, bool); - - TodoReturn downloadFailed(); - TodoReturn getReportSongSelect(); - TodoReturn getSongInfoIfUnloaded(); - TodoReturn getSongObject(); - bool init(SongInfoObject*, LevelSettingsObject*, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onGetSongInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn toggleUpdateButton(bool); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - TodoReturn updateSongInfo(); - TodoReturn updateSongObject(SongInfoObject*); - TodoReturn verifySongID(int); - - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(SongInfoObject*); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setSongObject(SongInfoObject*); - virtual void setReportSongSelect(bool); -} - -[[link(android)]] -class DrawGridLayer { - // virtual ~DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - TodoReturn addToEffects(GameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(GameObject*); - TodoReturn clearPlayerPoints(); - TodoReturn getActiveGridNodeSize(); - TodoReturn getPortalMinMax(GameObject*); - TodoReturn getTimeNeedsUpdate(); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - TodoReturn loadTimeMarkers(gd::string); - TodoReturn removeFromEffects(GameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(GameObject*); - TodoReturn sortSpeedObjects(); - TodoReturn timeForXPos(float); - TodoReturn updateTimeMarkers(); - TodoReturn xPosForTime(float); - - virtual void update(float); - virtual void draw(); - virtual void setActiveGridNodeSize(float); -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual void updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*) {} -} - -[[link(android)]] -class EditButtonBar { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, bool); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, bool); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EditLevelLayer { - // virtual ~EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*); - - TodoReturn closeTextInputs(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - TodoReturn onClone(); - TodoReturn onDelete(); - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onTest(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - TodoReturn setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class EditorPauseLayer { - // virtual ~EditorPauseLayer(); - // EditorPauseLayer(); - - static EditorPauseLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSaveAndExit(cocos2d::CCObject* sender); - void onSaveAndPlay(cocos2d::CCObject* sender); - void onSaveAndTest(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn saveLevel(); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*); - TodoReturn updateSongButton(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class EditorUI { - // virtual ~EditorUI(); - // EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*); - TodoReturn applyOffset(GameObject*); - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn changeSelectedObjects(cocos2d::CCArray*); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn colorSelectClosed(cocos2d::ccColor3B); - TodoReturn constrainGameLayerPosition(); - TodoReturn constrainGameLayerPosition(float, float); - TodoReturn copyObjects(cocos2d::CCArray*); - TodoReturn createMoveMenu(); - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateRotationControl(); - TodoReturn deleteObject(GameObject*, bool); - TodoReturn deselectAll(); - TodoReturn deselectObject(); - TodoReturn deselectObject(GameObject*); - TodoReturn disableButton(CCMenuItemSpriteExtra*); - TodoReturn editButtonUsable(); - TodoReturn editGroup(cocos2d::CCObject*); - TodoReturn editObject(cocos2d::CCObject*); - TodoReturn enableButton(CCMenuItemSpriteExtra*); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getCreateBtn(int, int, bool); - TodoReturn getCreateBtn(int, int); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditMode(); - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getGroupCenter(cocos2d::CCArray*); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getLimitY(); - TodoReturn getModeBtn(char const*, int); - TodoReturn getMusicGuideActive(); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSelectedObjects(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - TodoReturn getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getStoredUndoObject(); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getXMin(int); - bool init(LevelEditorLayer*); - bool isSpecialSnapObject(int); - TodoReturn moveForCommand(EditCommand); - TodoReturn moveGamelayer(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, cocos2d::CCPoint); - TodoReturn moveObjectCall(cocos2d::CCObject*); - TodoReturn moveObjectCall(EditCommand); - TodoReturn offsetForKey(int); - void onCopy(cocos2d::CCObject* sender); - TodoReturn onCreate(); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onDelete(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender); - void onGroupDown(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onPlaytest(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn pasteObjects(gd::string); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped(); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn redoLastAction(cocos2d::CCObject*); - TodoReturn removeOffset(GameObject*); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint); - TodoReturn resetUI(); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn rotationforCommand(EditCommand); - TodoReturn selectBuildTab(int); - TodoReturn selectObject(GameObject*); - TodoReturn selectObjects(cocos2d::CCArray*); - TodoReturn selectObjectsInRect(cocos2d::CCRect); - TodoReturn setupCreateMenu(); - TodoReturn setupDeleteMenu(); - TodoReturn setupEditMenu(); - TodoReturn shouldDeleteObject(GameObject*); - TodoReturn shouldSnap(GameObject*); - TodoReturn showDeleteConfirmation(); - TodoReturn showMaxError(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton(); - TodoReturn toggleEnableRotate(cocos2d::CCObject*); - TodoReturn toggleFreeMove(cocos2d::CCObject*); - TodoReturn toggleGuideButton(); - TodoReturn toggleMode(cocos2d::CCObject*); - TodoReturn toggleSnap(cocos2d::CCObject*); - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleSwipe(cocos2d::CCObject*); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn transformObjectCall(EditCommand); - TodoReturn tryDeleteObject(GameObject*, bool); - TodoReturn tryUpdateTimeMarkers(); - TodoReturn undoLastAction(cocos2d::CCObject*); - TodoReturn updateButtons(); - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditMenu(); - TodoReturn updateGridNodeSize(); - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDLabel(); - TodoReturn updatePercentLabel(); - TodoReturn updatePlaybackBtn(); - TodoReturn updateSlider(); - TodoReturn updateZoom(float); - TodoReturn valueFromXPos(float); - TodoReturn xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*); - TodoReturn zoomOut(cocos2d::CCObject*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn songStateChanged(); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void scrollWheel(float, float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); - virtual TodoReturn angleChanged(float); - virtual void setStoredUndoObject(UndoObject*); - virtual void setEditMode(EditMode); -} - -[[link(android)]] -class EndLevelLayer { - // virtual ~EndLevelLayer(); - // EndLevelLayer(); - - static EndLevelLayer* create(); - - TodoReturn coinEnterFinished(cocos2d::CCPoint); - TodoReturn coinEnterFinishedO(cocos2d::CCObject*); - TodoReturn getEndText(); - TodoReturn goEdit(); - void onEdit(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(float); - TodoReturn playStarEffect(float); - TodoReturn starEnterFinished(); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class EndPortalObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create(); - - TodoReturn updateColors(cocos2d::ccColor3B); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual TodoReturn triggerObject(); - virtual TodoReturn calculateSpawnXPos(); -} - -[[link(android)]] -class EveryplayToolbox { - TodoReturn firstSetup(); - bool isEveryplaySupported(); - bool isLowEndDevice(); - bool isPaused(); - bool isRecording(); - bool isRecordingSupported(); - TodoReturn pauseRecording(); - TodoReturn playLastRecording(); - TodoReturn resumeRecording(); - void setMetadataFromLevel(GJGameLevel*); - TodoReturn showEveryplay(); - TodoReturn startRecording(); - TodoReturn stopRecording(); -} - -[[link(android)]] -class ExtendedLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create(); - - TodoReturn getDelegate(); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setDelegate(BoomScrollLayerDelegate*); -} - -[[link(android)]] -class FileOperation { - static gd::string getFilePath(); - static void readFile(); - static void saveFile(); -} - -[[link(android)]] -class FileSaveManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getShopItems(); - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - // virtual ~FLAlertLayer(); - // FLAlertLayer(); - - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_ZOrder = 0; - m_alertProtocol = nullptr; - m_scene = nullptr; - m_reverseKeyBack = false; - m_mainLayer = nullptr; - m_scrollingLayer = nullptr; - m_joystickConnected = -1; - m_containsBorder = false; - m_noAction = false; - } - - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, char const*, char const*, char const*, float, bool, float); - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, char const*, char const*, char const*, float); - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, char const*, char const*, char const*); - - static FLAlertLayer* create(char const* title, const char* desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - bool init(FLAlertLayerProtocol*, char const*, char const*, char const*, char const*, float, bool, float); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void show(); - virtual FLAlertLayerProtocol* getPParent() const; - virtual void setPParent(FLAlertLayerProtocol*); - virtual cocos2d::CCNode* getTargetScene() const; - virtual void setTargetScene(cocos2d::CCNode*); - virtual bool getReverseKeyBack() const; - virtual void setReverseKeyBack(bool); - virtual cocos2d::CCLayer* getInternalLayer() const; - - cocos2d::CCMenu* m_buttonMenu; - int m_controlConnected; - int m_ZOrder; - FLAlertLayerProtocol* m_alertProtocol; // m_pParent - cocos2d::CCNode* m_scene; // m_targetScene - bool m_reverseKeyBack; - CCLayer* m_mainLayer; // m_internalLayer - ScrollingLayer* m_scrollingLayer; - int m_joystickConnected; - bool m_containsBorder; - bool m_noAction; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FMODAudioEngine { - // virtual ~FMODAudioEngine(); - - static FMODAudioEngine* sharedEngine(); - - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeBackgroundMusic(bool, float); - TodoReturn getBackgroundMusicTime(); - TodoReturn getBackgroundMusicVolume(); - TodoReturn getEffectsVolume(); - TodoReturn getTimeOffset(); - bool isBackgroundMusicPlaying(); - bool isBackgroundMusicPlaying(gd::string); - TodoReturn pauseAllEffects(); - TodoReturn pauseBackgroundMusic(); - TodoReturn pauseEffect(unsigned int); - TodoReturn playBackgroundMusic(gd::string, bool, bool); - TodoReturn playEffect(gd::string, bool, float, float, float); - TodoReturn preloadBackgroundMusic(gd::string); - TodoReturn preloadEffect(gd::string); - TodoReturn printResult(FMOD_RESULT); - TodoReturn resumeAllEffects(); - TodoReturn resumeBackgroundMusic(); - TodoReturn resumeEffect(unsigned int); - TodoReturn rewindBackgroundMusic(); - void setBackgroundMusicTime(float); - void setBackgroundMusicVolume(float); - void setEffectsVolume(float); - TodoReturn setupAudioEngine(); - TodoReturn start(); - TodoReturn stop(); - TodoReturn stopAllEffects(); - TodoReturn stopBackgroundMusic(bool); - TodoReturn stopEffect(unsigned int); - TodoReturn unloadEffect(gd::string); - TodoReturn willPlayBackgroundMusic(); - - virtual void update(float); - virtual void setTimeOffset(int); -} - -[[link(android)]] -class FMODSound { - // virtual ~FMODSound(); - - static FMODSound* create(FMOD::Sound*); - - TodoReturn getSound(); - bool init(FMOD::Sound*); - - virtual void setSound(FMOD::Sound*); -} - -[[link(android)]] -class FontObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class frameValues { - // frameValues(frameValues const&); -} - -[[link(android)]] -class GameCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - TodoReturn loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GameEffectsManager { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager { - // virtual ~GameLevelManager(); - // GameLevelManager(); - - static GameLevelManager* sharedState(); - - TodoReturn accountIDForID(int); - TodoReturn accountIDKey(int); - TodoReturn addDLToActive(char const*); - TodoReturn createAndGetComments(gd::string, int); - TodoReturn createAndGetLevels(gd::string); - TodoReturn createAndGetMapPacks(gd::string, bool); - TodoReturn createAndGetScores(gd::string, GJScoreType); - TodoReturn createNewLevel(); - TodoReturn createPageInfo(int, int, int); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn deleteComment(int, long); - TodoReturn deleteLevel(GJGameLevel*); - TodoReturn deleteServerLevel(int); - TodoReturn doVerifyMapPacks(cocos2d::CCArray*); - TodoReturn downloadLevel(int); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getBoolForKey(char const*); - TodoReturn getCommentDelegate(); - TodoReturn getCommentKey(int, int); - TodoReturn getCommentUpDelegate(); - TodoReturn getCompletedLevels(); - TodoReturn getCreatedNewLevel(); - TodoReturn getDelegate(); - TodoReturn getDeleteCommentKey(int, long); - TodoReturn getDifficultyStr(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn getDiffKey(int); - TodoReturn getDiffVal(int); - TodoReturn getDlDelegate(); - TodoReturn getIntForKey(char const*); - TodoReturn getLastLeaderboard(); - TodoReturn getLastMapPackID(); - TodoReturn getLastSearchKey(); - TodoReturn getLastSearchKey2(); - TodoReturn getLastSearchType(); - TodoReturn getLeaderboardDelegate(); - TodoReturn getLeaderboardScores(char const*); - TodoReturn getLengthStr(bool, bool, bool, bool); - TodoReturn getLenKey(int); - TodoReturn getLenVal(int); - TodoReturn getLevelComments(int, int, int); - TodoReturn getLevelKey(int); - TodoReturn getLikeItemKey(LikeItemType, int, bool); - TodoReturn getLikeKey(int); - TodoReturn getLocalLevel(int); - TodoReturn getLvlDelDelegate(); - TodoReturn getMainLevel(int, bool); - TodoReturn getMainLevels(); - TodoReturn getMapPackKey(int); - TodoReturn getMapPacks(GJSearchObject*); - TodoReturn getOnlineLevels(GJSearchObject*); - TodoReturn getPageInfo(char const*); - TodoReturn getPostCommentKey(int); - TodoReturn getRateKey(int); - TodoReturn getRateStarsKey(int); - TodoReturn getReportKey(int); - TodoReturn getSavedLevel(int); - TodoReturn getSavedLevels(); - TodoReturn getSavedLevelsDict(); - TodoReturn getSavedMapPack(int); - TodoReturn getSearchScene(char const*); - TodoReturn getStoredLevelComments(char const*); - TodoReturn getStoredOnlineLevels(char const*); - TodoReturn getTempSave(); - TodoReturn getTimeLeft(char const*, float); - TodoReturn getUpdateDelegate(); - TodoReturn getUpDelegate(); - TodoReturn getValueDict(); - TodoReturn gotoLevelPage(GJGameLevel*); - TodoReturn handleIt(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItDelayed(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItND(cocos2d::CCNode*, void*); - TodoReturn hasDownloadedLevel(int); - TodoReturn hasLikedItem(LikeItemType, int, bool); - TodoReturn hasLikedItem(LikeItemType, int); - TodoReturn hasLikedLevel(int); - TodoReturn hasRatedLevel(int); - TodoReturn hasRatedLevelStars(int); - TodoReturn hasReportedLevel(int); - bool isDLActive(char const*); - bool isTimeValid(char const*, float); - bool isUpdateValid(int); - TodoReturn itemIDFromLikeKey(char const*); - TodoReturn levelIDFromCommentKey(char const*); - TodoReturn likeFromLikeKey(char const*); - TodoReturn likeItem(LikeItemType, int, bool); - TodoReturn limitSavedLevels(); - TodoReturn makeTimeStamp(char const*); - TodoReturn markItemAsLiked(LikeItemType, int, bool); - TodoReturn markLevelAsDownloaded(int); - TodoReturn markLevelAsLiked(int); - TodoReturn markLevelAsRated(int); - TodoReturn markLevelAsRatedStars(int); - TodoReturn markLevelAsReported(int); - TodoReturn onDeleteCommentCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelCompleted(gd::string, gd::string); - TodoReturn onDownloadLevelCompleted(gd::string, gd::string); - TodoReturn onGetLeaderboardScoresCompleted(gd::string, gd::string); - TodoReturn onGetLevelCommentsCompleted(gd::string, gd::string); - TodoReturn onGetMapPacksCompleted(gd::string, gd::string); - TodoReturn onGetOnlineLevelsCompleted(gd::string, gd::string); - TodoReturn onLikeItemCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRateLevelCompleted(gd::string, gd::string); - TodoReturn onRateStarsCompleted(gd::string, gd::string); - TodoReturn onReportLevelCompleted(gd::string, gd::string); - TodoReturn onRestoreItemsCompleted(gd::string, gd::string); - TodoReturn onSetLevelFeaturedCompleted(gd::string, gd::string); - TodoReturn onSetLevelStarsCompleted(gd::string, gd::string); - TodoReturn onSubmitUserInfoCompleted(gd::string, gd::string); - TodoReturn onUpdateLevelCompleted(gd::string, gd::string); - TodoReturn onUpdateUserScoreCompleted(gd::string, gd::string); - TodoReturn onUploadCommentCompleted(gd::string, gd::string); - TodoReturn onUploadLevelCompleted(gd::string, gd::string); - TodoReturn pageFromCommentKey(char const*); - TodoReturn parseRestoreData(gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn rateLevel(int, int); - TodoReturn rateStars(int, int); - TodoReturn removeDelimiterChars(gd::string, bool); - TodoReturn removeDLFromActive(char const*); - TodoReturn reportLevel(int); - TodoReturn resetAllTimers(); - TodoReturn resetTimerForKey(char const*); - TodoReturn responseToDict(gd::string, bool); - TodoReturn restoreItems(); - TodoReturn saveLevel(GJGameLevel*); - TodoReturn saveMapPack(GJMapPack*); - void setBoolForKey(bool, char const*); - void setDiffVal(int, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int); - void setLevelStars(int, int); - TodoReturn storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - TodoReturn storeSearchResult(cocos2d::CCArray*, gd::string, char const*); - TodoReturn storeUserNames(gd::string); - TodoReturn submitUserInfo(); - TodoReturn typeFromLikeKey(char const*); - TodoReturn updateLevel(GJGameLevel*); - TodoReturn updateLevelRewards(GJGameLevel*); - TodoReturn updateUserScore(); - TodoReturn uploadComment(int, gd::string); - TodoReturn uploadLevel(GJGameLevel*); - TodoReturn userNameForID(int); - TodoReturn verifyMapPackUnlocks(); - - virtual bool init(); - virtual void setMainLevels(cocos2d::CCDictionary*); - virtual void setValueDict(cocos2d::CCDictionary*); - virtual void setSavedLevelsDict(cocos2d::CCDictionary*); - virtual void setLastSearchKey(gd::string); - virtual void setLastSearchKey2(gd::string); - virtual void setLastLeaderboard(int); - virtual void setCreatedNewLevel(bool); - virtual void setDelegate(LevelManagerDelegate*); - virtual void setDlDelegate(LevelDownloadDelegate*); - virtual void setCommentDelegate(LevelCommentDelegate*); - virtual void setCommentUpDelegate(CommentUploadDelegate*); - virtual void setUpDelegate(LevelUploadDelegate*); - virtual void setUpdateDelegate(LevelUpdateDelegate*); - virtual void setLeaderboardDelegate(LeaderboardManagerDelegate*); - virtual void setLvlDelDelegate(LevelDeleteDelegate*); - virtual void setLastSearchType(SearchType); - virtual void setLastMapPackID(int); - virtual void setTempSave(gd::string); -} - -[[link(android)]] -class GameManager : GManager { - // virtual ~GameManager(); - // GameManager(); - - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState(); - - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn claimItemsResponse(gd::string); - TodoReturn colorForIdx(int); - TodoReturn colorForPos(int); - TodoReturn colorKey(int, bool); - TodoReturn completedAchievement(char const*); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave(); - TodoReturn eventUnlockFeature(char const*); - TodoReturn fadeInMusic(char const*); - TodoReturn followTwitter(); - TodoReturn getBGTexture(int); - TodoReturn getBootups(); - TodoReturn getClickedEditor(); - TodoReturn getClickedGarage(); - TodoReturn getClickedName(); - TodoReturn getClickedPractice(); - TodoReturn getCommentSortRecent(); - TodoReturn getDidFollowTwitter(); - TodoReturn getDidLikeFacebook(); - TodoReturn getDidPauseBGMusic(); - TodoReturn getDidPlayGame(); - TodoReturn getDidRateGame(); - TodoReturn getDidSetupEveryplay(); - TodoReturn getDidSubYouTube(); - TodoReturn getDidSyncAchievements(); - TodoReturn getEditMode(); - TodoReturn getEditorCopyString(); - TodoReturn getFirstSetup(); - bool getGameVariable(char const*); - TodoReturn getGTexture(int); - TodoReturn getHasRatedGame(); - int getIntGameVariable(char const*); - TodoReturn getIsResetting(); - TodoReturn getLastLevelID(); - TodoReturn getLastScene(); - TodoReturn getLastScene2(); - TodoReturn getLevelSelectLayer(); - TodoReturn getLoadedBGIdx(); - TodoReturn getLoadedGIdx(); - TodoReturn getMainMenuActive(); - TodoReturn getPerformanceMode(); - TodoReturn getPlayerBall(); - TodoReturn getPlayerBird(); - TodoReturn getPlayerColor(); - TodoReturn getPlayerColor2(); - TodoReturn getPlayerFrame(); - TodoReturn getPlayerIconType(); - TodoReturn getPlayerName(); - TodoReturn getPlayerScoreValid(); - TodoReturn getPlayerShip(); - TodoReturn getPlayerStreak(); - TodoReturn getPlayerUDID(); - TodoReturn getPlayerUserID(); - TodoReturn getPlayLayer(); - TodoReturn getPremiumPopup(); - TodoReturn getRateDelegate(); - TodoReturn getRecordGameplay(); - TodoReturn getResolution(); - TodoReturn getReturnToSearch(); - TodoReturn getShowBPMMarkers(); - TodoReturn getShowedEditorGuide(); - TodoReturn getShowedLowDetailDialog(); - TodoReturn getShowedMenu(); - TodoReturn getShowedPirate(); - TodoReturn getShowedRateDiffDialog(); - TodoReturn getShowedRateStarDialog(); - TodoReturn getShowingPromo(); - TodoReturn getShowProgressBar(); - TodoReturn getShowSongMarkers(); - TodoReturn getStoredColor(); - TodoReturn getTestSmoothFix(); - TodoReturn getTexQuality(); - TodoReturn getTotalAttempts(); - TodoReturn getValueKeeper(); - TodoReturn getWasHigh(); - TodoReturn hasShownAdRecently(); - TodoReturn iconKey(int, IconType); - bool isColorUnlocked(int, bool); - bool isIconUnlocked(int, IconType); - TodoReturn itemPurchased(char const*); - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook(); - TodoReturn loadBackground(int); - TodoReturn loadGround(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, bool); - TodoReturn lockIcon(int, IconType); - TodoReturn openEditorGuide(); - TodoReturn rateGame(); - void reloadAll(bool, bool, bool); - TodoReturn reloadAllStep2(); - TodoReturn reloadAllStep3(); - TodoReturn reloadAllStep4(); - TodoReturn reloadAllStep5(); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPercentageForLevel(int, int, bool); - TodoReturn resetAchievement(char const*); - TodoReturn resetCoinUnlocks(); - TodoReturn resolutionForKey(int); - TodoReturn returnToLastScene(GJGameLevel*); - void setGameVariable(char const*, bool); - void setIntGameVariable(char const*, int); - TodoReturn shouldShowInterstitial(); - TodoReturn shouldShowPromoInterstitial(); - TodoReturn showInterstitial(); - TodoReturn showInterstitialForced(); - TodoReturn showMainMenuAd(); - TodoReturn showPromoInterstitial(); - TodoReturn startUpdate(); - TodoReturn subYouTube(); - TodoReturn switchScreenMode(bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*); - TodoReturn tryCacheAd(); - TodoReturn unloadBackground(); - TodoReturn unlockColor(int, bool); - TodoReturn unlockedPremium(); - TodoReturn unlockIcon(int, IconType); - TodoReturn updateMusic(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual void update(float); - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setValueKeeper(cocos2d::CCDictionary*); - virtual void setDidSyncAchievements(bool); - virtual void setEditorCopyString(gd::string); - virtual void setPlayLayer(PlayLayer*); - virtual void setLevelSelectLayer(LevelSelectLayer*); - virtual void setMainMenuActive(bool); - virtual void setPremiumPopup(PremiumPopup*); - virtual void setFirstSetup(bool); - virtual void setShowedMenu(bool); - virtual void setPlayerUDID(gd::string); - virtual void setPlayerName(gd::string); - virtual void setPlayerUserID(int); - virtual void setPlayerScoreValid(bool); - virtual void setDidRateGame(bool); - virtual void setDidLikeFacebook(bool); - virtual void setDidFollowTwitter(bool); - virtual void setDidSubYouTube(bool); - virtual void setDidPauseBGMusic(bool); - virtual void setWasHigh(bool); - virtual void setEditMode(bool); - virtual void setLastScene(LastGameScene); - virtual void setLastScene2(LastGameScene); - virtual void setReturnToSearch(bool); - virtual void setPlayerFrame(int); - virtual void setPlayerShip(int); - virtual void setPlayerBall(int); - virtual void setPlayerBird(int); - virtual void setPlayerColor(int); - virtual void setPlayerColor2(int); - virtual void setPlayerStreak(int); - virtual void setPlayerIconType(IconType); - virtual void setDidSetupEveryplay(bool); - virtual void setShowSongMarkers(bool); - virtual void setShowBPMMarkers(bool); - virtual void setRecordGameplay(bool); - virtual void setShowProgressBar(bool); - virtual void setPerformanceMode(bool); - virtual void setCommentSortRecent(bool); - virtual void setShowedPirate(bool); - virtual void setClickedGarage(bool); - virtual void setClickedEditor(bool); - virtual void setClickedName(bool); - virtual void setClickedPractice(bool); - virtual void setShowedEditorGuide(bool); - virtual void setShowedRateDiffDialog(bool); - virtual void setShowedRateStarDialog(bool); - virtual void setShowedLowDetailDialog(bool); - virtual void setRateDelegate(GameRateDelegate*); - virtual void setStoredColor(cocos2d::ccColor3B); - virtual void setLastLevelID(int); - virtual void setTotalAttempts(int); - virtual void setBootups(int); - virtual void setHasRatedGame(bool); - virtual void setDidPlayGame(bool); - virtual void setIsResetting(bool); - virtual void setShowingPromo(bool); - virtual void setTestSmoothFix(bool); - virtual void setResolution(int); - virtual void setTexQuality(cocos2d::TextureQuality); - - bool m_switchModes; - bool m_toFullScreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - cocos2d::CCDictionary* m_valueKeeper; - double m_adTimer; - double m_adCache; - int m_unkSize4_1; - int m_unkSize4_2; - bool m_loaded; - bool m_didSyncAchievements; - gd::string m_unknownString; - PlayLayer* m_playLayer; - LevelSelectLayer* m_levelSelectLayer; - bool m_inMenuLayer; - PremiumPopup* m_premiumPopup; - bool m_firstSetup; - bool m_showedMenu; - gd::string m_playerUDID; - gd::string m_playerName; - int m_playerUserID; - bool m_playerScoreValid; - float m_bgVolume; - float m_sfxVolume; - int m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_didPauseBGMusic; - bool m_wasHigh; - bool m_editorEnabled; - LastGameScene* m_lastScene; - LastGameScene* m_lastScene2; - bool m_searchObjectBool; - int m_playerFrame; - int m_playerShip; - int m_playerBall; - int m_playerBird; - int m_playerColor; - int m_playerColor2; - int m_playerStreak; - IconType m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_commentSortRecent; - bool m_showedPirateMessage; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - GameRateDelegate* m_rateDelegate; - int m_unkSize4_3; - int m_lastLevelID; - int m_loadedBgID; - int m_loadedGroundID; - int m_totalAttempts; - int m_bootups; - bool m_hasRatedGame; - bool m_didPlayGame; - bool m_isResetting; - int m_resolution; - int m_texQuality; - int m_unkSize4_4; -} - -[[link(android)]] -class GameObject { - // virtual ~GameObject(); - // GameObject(); - - static GameObject* create(char const*); - - TodoReturn activatedByPlayer(GameObject*); - TodoReturn addColorSprite(); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint); - TodoReturn addCustomColorChild(gd::string); - TodoReturn addGlow(); - TodoReturn addToBottom(); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canRotateFree(); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn createObject(char const*); - TodoReturn createRotateAction(float); - TodoReturn customScaleMod(char const*); - TodoReturn customSetup(); - TodoReturn deselectObject(); - TodoReturn destroyObject(); - TodoReturn determineSlopeDirection(); - TodoReturn disableObject(); - TodoReturn getBallFrame(int); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorMode(); - TodoReturn getColorSprite(); - TodoReturn getCopyPlayerColor1(); - TodoReturn getCopyPlayerColor2(); - TodoReturn getCustomAudioScale(); - TodoReturn getCustomColorBlend(); - TodoReturn getCustomColorMode(); - TodoReturn getDamaging(); - TodoReturn getDontFade(); - TodoReturn getDontFadeTinted(); - TodoReturn getDontShow(); - TodoReturn getDontTransform(); - TodoReturn getEditorColor(); - TodoReturn getEditorSelected(); - TodoReturn getEditorSelectIdx(); - TodoReturn getEnterAngle(); - TodoReturn getEnterEffect(); - TodoReturn getFadeInPosOffset(); - TodoReturn getForceBottomLayer(); - TodoReturn getFrame(); - TodoReturn getGlowOpacityMod(); - TodoReturn getGlowUseBGColor(); - TodoReturn getGlowUseReverseColor(); - TodoReturn getGroupID(); - TodoReturn getHasColor(); - TodoReturn getHasCustomChildren(); - TodoReturn getHideObject(); - TodoReturn getIgnoreScreenCheck(); - TodoReturn getInvisibleMode(); - TodoReturn getIsActive(); - TodoReturn getIsColorObject(); - TodoReturn getIsDisabled(); - TodoReturn getIsInvisible(); - TodoReturn getIsOriented(); - TodoReturn getIsRotated(); - TodoReturn getIsSelected(); - TodoReturn getIsSleeping(); - TodoReturn getIsTintObject(); - TodoReturn getM_ID(); - TodoReturn getMaxAudioScale(); - TodoReturn getMinAudioScale(); - TodoReturn getObjectKey(); - TodoReturn getObjectParent(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectZ(); - TodoReturn getOpacityMod(); - TodoReturn getOuterObjectRect(); - TodoReturn getRadius(); - TodoReturn getScaleModX(); - TodoReturn getScaleModY(); - TodoReturn getSectionIdx(); - TodoReturn getShouldHide(); - TodoReturn getShouldSpawn(); - TodoReturn getSlopeAngle(); - TodoReturn getSlopeType(); - TodoReturn getSpawnXPos(); - TodoReturn getStartFlipX(); - TodoReturn getStartFlipY(); - TodoReturn getStartPos(); - TodoReturn getStartRotation(); - TodoReturn getStartScaleX(); - TodoReturn getStartScaleY(); - TodoReturn getStateVar(); - TodoReturn getStoredPosition(); - TodoReturn getTintColor(); - TodoReturn getTintDuration(); - TodoReturn getTintGround(); - TodoReturn getTouchTriggered(); - TodoReturn getType(); - TodoReturn getUniqueID(); - TodoReturn getUpSlope(); - TodoReturn getUseAudioScale(); - TodoReturn getUseSpecialLight(); - TodoReturn getWasSelected(); - TodoReturn hasBeenActivated(); - TodoReturn hasBeenActivatedByPlayer(GameObject*); - bool init(char const*); - bool isFacingDown(); - TodoReturn objectFromString(gd::string); - TodoReturn perspectiveFrame(char const*, int); - TodoReturn playShineEffect(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetCustomColorMode(); - TodoReturn selectObject(cocos2d::ccColor3B); - void setChildColor(cocos2d::ccColor3B); - void setDefaultColorMode(GJCustomColorMode); - void setGlowColor(cocos2d::ccColor3B); - void setGlowOpacity(unsigned char); - void setMyAction(cocos2d::CCAction*); - void setObjectColor(cocos2d::ccColor3B); - TodoReturn setupCoinAnimation(); - TodoReturn setupCustomSprites(); - TodoReturn shouldBlend(); - TodoReturn shouldBlendColor(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn updateCustomColorMode(GJCustomColorMode, bool); - TodoReturn updateOrientedBox(); - TodoReturn updateState(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(); - virtual TodoReturn getObjectRect(); - virtual TodoReturn getObjectRect(float, float); - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual TodoReturn getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual TodoReturn getSaveString(); - virtual bool isFlipX(); - virtual bool isFlipY(); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual TodoReturn calculateSpawnXPos(); - virtual TodoReturn triggerActivated(); - virtual TodoReturn powerOnObject(); - virtual TodoReturn powerOffObject(); - virtual TodoReturn getOrientedBox(); - virtual void setFadeInPosOffset(float); - virtual void setObjectRectDirty(bool); - virtual void setIgnoreScreenCheck(bool); - virtual void setScaleModX(float); - virtual void setScaleModY(float); - virtual void setM_ID(int); - virtual void setType(GameObjectType); - virtual void setSectionIdx(int); - virtual void setTouchTriggered(bool); - virtual void setIsDisabled(bool); - virtual void setUseAudioScale(bool); - virtual void setStartRotation(float); - virtual void setStartScaleX(float); - virtual void setStartScaleY(float); - virtual void setStartFlipX(bool); - virtual void setStartFlipY(bool); - virtual void setShouldHide(bool); - virtual void setEnterAngle(float); - virtual void setEnterEffect(int); - virtual void setTintColor(cocos2d::ccColor3B); - virtual void setTintDuration(float); - virtual void setTintGround(bool); - virtual void setObjectKey(int); - virtual void setDontTransform(bool); - virtual void setDontFade(bool); - virtual void setDontFadeTinted(bool); - virtual void setIsTintObject(bool); - virtual void setStateVar(bool); - virtual void setObjectZ(int); - virtual void setObjectParent(cocos2d::CCNode*); - virtual void setUniqueID(int); - virtual void setOpacityMod(float); - virtual void setGlowOpacityMod(float); - virtual void setDontShow(bool); - virtual void setForceBottomLayer(bool); - virtual void setEditorSelected(bool); - virtual void setCopyPlayerColor1(bool); - virtual void setCopyPlayerColor2(bool); - virtual void setCustomColorBlend(bool); - virtual void setWasSelected(bool); - virtual void setIsSelected(bool); - virtual void setEditorSelectIdx(int); - virtual void setStoredPosition(cocos2d::CCPoint); - virtual void setGroupID(int); -} - -[[link(android)]] -class GameObjectCopy { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*); - - TodoReturn getObject(); - bool init(GameObject*); - TodoReturn resetObject(); -} - -[[link(android)]] -class GameplayDelegate { - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); -} - -[[link(android)]] -class GameRateDelegate { - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class GameSoundManager { - // virtual ~GameSoundManager(); - - TodoReturn asynchronousSetup(); - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeInMusic(bool); - TodoReturn fadeOutMusic(bool); - TodoReturn getActiveBGMusic(); - TodoReturn getMeteringValue(); - TodoReturn getState(); - bool isLoopedSoundPlaying(gd::string); - TodoReturn pauseAllLoopedSounds(); - TodoReturn pauseLoopedSound(gd::string); - TodoReturn playBackgroundMusic(gd::string, bool, bool); - TodoReturn playEffect(gd::string, float, float, float); - TodoReturn playLoopedSound(gd::string, gd::string, float, float, bool, bool, bool); - TodoReturn playUniqueEffect(gd::string, float, float, float); - TodoReturn playUniqueEffect(gd::string); - TodoReturn preload(); - TodoReturn removeLoopedSound(gd::string); - TodoReturn resetUniqueEffects(); - TodoReturn resumeAllLoopedSounds(); - TodoReturn resumeSound(); - TodoReturn setup(); - TodoReturn sharedManager(); - TodoReturn stopAllLoopedSounds(); - TodoReturn stopBackgroundMusic(); - TodoReturn stopLoopedSound(gd::string, bool); - TodoReturn updateLoopedVolume(gd::string, float); - TodoReturn updateMetering(float); - - virtual bool init(); -} - -[[link(android)]] -class GameStatsManager { - // virtual ~GameStatsManager(); - - static GameStatsManager* sharedState(); - - TodoReturn checkAchievement(char const*); - TodoReturn completedDemonLevel(GJGameLevel*); - TodoReturn completedLevel(GJGameLevel*); - TodoReturn completedMapPack(GJMapPack*); - TodoReturn completedStarLevel(GJGameLevel*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getCompletedLevels(); - TodoReturn getDemonLevelKey(int); - TodoReturn getLevelKey(GJGameLevel*); - TodoReturn getLevelKey(int, bool); - TodoReturn getLiteAchievements(); - TodoReturn getMapPackKey(int); - TodoReturn getStarLevelKey(int); - TodoReturn getStat(char const*); - TodoReturn getUniqueItemKey(char const*); - TodoReturn getValueDict(); - TodoReturn hasCompletedDemonLevel(GJGameLevel*); - TodoReturn hasCompletedLevel(GJGameLevel*); - TodoReturn hasCompletedMapPack(int); - TodoReturn hasCompletedOnlineLevel(int); - TodoReturn hasCompletedStarLevel(GJGameLevel*); - TodoReturn hasUniqueItem(char const*); - TodoReturn incrementStat(char const*, int); - TodoReturn incrementStat(char const*); - bool isLiteUnlockable(gd::string); - bool isUniqueItem(gd::string); - bool isUniqueValid(gd::string); - TodoReturn markLevelAsCompletedAndClaimed(int); - TodoReturn resetPreSync(); - TodoReturn restorePostSync(); - void setStat(char const*, int); - void setStatIfHigher(char const*, int); - TodoReturn storeUniqueItem(char const*); - TodoReturn tempClear(); - - virtual bool init(); - virtual void setValueDict(cocos2d::CCDictionary*); - virtual void setCompletedLevels(cocos2d::CCDictionary*); -} - -[[link(android)]] -class GameStoreManager { - // virtual ~GameStoreManager(); - - static GameStoreManager* sharedState(); - - TodoReturn addCount(int, char const*); - TodoReturn boughtGold(int); - TodoReturn claimItems(char const*); - TodoReturn consumeItem(char const*); - TodoReturn countForItem(char const*); - TodoReturn dictForFeatureID(char const*); - TodoReturn displayGoldError(); - TodoReturn displayItemRestore(bool, bool); - TodoReturn eventUnlockFeature(char const*); - TodoReturn getAllItemsForCategory(char const*); - TodoReturn getCategory(char const*); - TodoReturn getShopCategories(); - TodoReturn getShopItems(); - bool isBillingSupported(); - bool isFeatureUnlocked(char const*); - TodoReturn itemPurchased(char const*); - TodoReturn itemPurchaseFailed(char const*); - TodoReturn itemRefunded(char const*); - TodoReturn onClaimItemsCompleted(cocos2d::CCNode*, void*); - TodoReturn playBuySound(); - TodoReturn purchaseConsumable(char const*, int, int); - TodoReturn purchaseFeature(char const*, int); - TodoReturn purchaseItem(char const*); - TodoReturn restorePurchases(); - void setCount(int, char const*); - TodoReturn sortCategories(); - TodoReturn unlockFeature(char const*); - - virtual bool init(); - virtual TodoReturn setup(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class GameToolbox { - static TodoReturn addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*); - static TodoReturn addRThumbScrollButton(cocos2d::CCLayer*); - static TodoReturn alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool); - static TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*); - static TodoReturn doWeHaveInternet(); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*); - static bool isIOS(); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect, cocos2d::CCNode*); -} - -[[link(android)]] -class GaragePage { - // virtual ~GaragePage(); - - static GaragePage* create(IconType, GJGarageLayer*, cocos2d::SEL_MenuHandler); - - bool init(IconType, GJGarageLayer*, cocos2d::SEL_MenuHandler); - void onSelect(cocos2d::CCObject* sender); - TodoReturn updateSelect(cocos2d::CCNode*); - - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -class GhostTrailDelegate { -} - -[[link(android)]] -class GhostTrailEffect { - // virtual ~GhostTrailEffect(); - - static GhostTrailEffect* create(); - - TodoReturn doBlendAdditive(); - TodoReturn getBlendFunc(); - TodoReturn getDelegate(); - TodoReturn getGhostColor(); - TodoReturn getPosTarget(); - TodoReturn getPTarget(); - TodoReturn getScaleMod(); - TodoReturn getStartAlpha(); - TodoReturn getTarget(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init(); - virtual void draw(); - virtual void setScaleMod(float); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setTarget(cocos2d::CCSprite*); - virtual void setPosTarget(cocos2d::CCSprite*); - virtual void setPTarget(cocos2d::CCNode*); - virtual void setStartAlpha(float); - virtual void setDelegate(GhostTrailDelegate*); - virtual void setGhostColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager { - // virtual ~GJAccountManager(); - - static GJAccountManager* sharedState(); - - TodoReturn addDLToActive(char const*, cocos2d::CCObject*); - TodoReturn addDLToActive(char const*); - TodoReturn backupAccount(); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getAccountDelegate(); - TodoReturn getAccountID(); - TodoReturn getAccountPassword(); - TodoReturn getAccountUserName(); - TodoReturn getBackupDelegate(); - TodoReturn getDLObject(char const*); - TodoReturn getLoginDelegate(); - TodoReturn getRegisterDelegate(); - TodoReturn getSyncDelegate(); - TodoReturn handleIt(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItDelayed(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - TodoReturn linkToAccount(gd::string, gd::string, int, int); - TodoReturn loginAccount(gd::string, gd::string); - TodoReturn onBackupAccountCompleted(gd::string, gd::string); - TodoReturn onLoginAccountCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRegisterAccountCompleted(gd::string, gd::string); - TodoReturn onSyncAccountCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn registerAccount(gd::string, gd::string, gd::string); - TodoReturn removeDLFromActive(char const*); - TodoReturn syncAccount(); - TodoReturn unlinkFromAccount(); - - virtual bool init(); - virtual void setRegisterDelegate(GJAccountRegisterDelegate*); - virtual void setLoginDelegate(GJAccountLoginDelegate*); - virtual void setAccountDelegate(GJAccountDelegate*); - virtual void setBackupDelegate(GJAccountBackupDelegate*); - virtual void setSyncDelegate(GJAccountSyncDelegate*); -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError); -} - -[[link(android)]] -class GJComment { - // virtual ~GJComment(); - - static GJComment* create(); - static GJComment* create(cocos2d::CCDictionary*); - - TodoReturn getAccountID(); - TodoReturn getComment(); - TodoReturn getCommentID(); - TodoReturn getDislikes(); - TodoReturn getIsHidden(); - TodoReturn getLevelID(); - TodoReturn getLikes(); - TodoReturn getUserID(); - TodoReturn getUserName(); - - virtual bool init(); - virtual void setComment(gd::string); - virtual void setUserName(gd::string); - virtual void setCommentID(long); - virtual void setUserID(int); - virtual void setLikes(int); - virtual void setDislikes(int); - virtual void setLevelID(int); - virtual void setIsHidden(bool); - virtual void setAccountID(int); -} - -[[link(android)]] -class GJCommentListLayer { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float); - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float); -} - -[[link(android)]] -class GJDropDownLayer { - // virtual ~GJDropDownLayer(); - // GJDropDownLayer(); - - static GJDropDownLayer* create(char const*, float); - static GJDropDownLayer* create(char const*); - - TodoReturn getDelegate(); - TodoReturn getHideBackButton(); - TodoReturn getInternalLayer(); - TodoReturn getRemoveOnExit(); - bool init(char const*, float); - bool init(char const*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setHideBackButton(bool); - virtual void setRemoveOnExit(bool); - virtual void setDelegate(GJDropDownLayerDelegate*); -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJFlyGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJGameLevel { - // virtual ~GJGameLevel(); - // GJGameLevel(); - - static GJGameLevel* create(); - static GJGameLevel* create(cocos2d::CCDictionary*); - - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn getAttempts(); - TodoReturn getAudioFileName(); - TodoReturn getAudioTrack(); - TodoReturn getAutoLevel(); - TodoReturn getAverageDifficulty(); - TodoReturn getCapacity001(); - TodoReturn getCapacity002(); - TodoReturn getCapacity003(); - TodoReturn getCapacity004(); - TodoReturn getCoinKey(int); - TodoReturn getCoins(); - TodoReturn getCompletes(); - TodoReturn getDemon(); - TodoReturn getDemonVotes(); - TodoReturn getDifficulty(); - TodoReturn getDislikes(); - TodoReturn getDontSave(); - TodoReturn getDownloads(); - TodoReturn getExtraString(); - TodoReturn getFailedPasswordAttempts(); - TodoReturn getFeatured(); - TodoReturn getGameVersion(); - TodoReturn getHasBeenModified(); - TodoReturn getIsEditable(); - TodoReturn getIsHidden(); - TodoReturn getIsUnlocked(); - TodoReturn getIsUploaded(); - TodoReturn getIsVerified(); - TodoReturn getJumps(); - TodoReturn getLastBuildGroupID(); - TodoReturn getLastBuildPage(); - TodoReturn getLastBuildPageForTab(int); - TodoReturn getLastBuildSave(); - TodoReturn getLastBuildTab(); - TodoReturn getLastCameraPos(); - TodoReturn getLastEditorZoom(); - TodoReturn getLengthKey(int); - TodoReturn getLevelDesc(); - TodoReturn getLevelID(); - TodoReturn getLevelLength(); - TodoReturn getLevelName(); - TodoReturn getLevelRev(); - TodoReturn getLevelString(); - TodoReturn getLevelType(); - TodoReturn getLevelVersion(); - TodoReturn getLikes(); - TodoReturn getM_ID(); - TodoReturn getMaxStarRatings(); - TodoReturn getMinStarRatings(); - TodoReturn getNormalPercent(); - TodoReturn getObjectCount(); - TodoReturn getOrder(); - TodoReturn getOriginalLevel(); - TodoReturn getPassword(); - TodoReturn getPracticePercent(); - TodoReturn getRateFeature(); - TodoReturn getRateStars(); - TodoReturn getRateUser(); - TodoReturn getRatings(); - TodoReturn getRatingsSum(); - TodoReturn getRecordString(); - TodoReturn getRequiredCoins(); - TodoReturn getShowedSongWarning(); - TodoReturn getSongID(); - TodoReturn getSongName(); - TodoReturn getStarRatings(); - TodoReturn getStarRatingsSum(); - TodoReturn getStars(); - TodoReturn getTempName(); - TodoReturn getTwoPlayerMode(); - TodoReturn getUpdateDate(); - TodoReturn getUploadDate(); - TodoReturn getUserID(); - TodoReturn getUserName(); - TodoReturn handleStatsConflict(GJGameLevel*); - TodoReturn lengthKeyToString(int); - TodoReturn levelWasAltered(); - TodoReturn levelWasSubmitted(); - TodoReturn parseExtraString(gd::string); - TodoReturn savePercentage(int, bool); - void setLastBuildPageForTab(int, int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual bool init(); - virtual void setLastBuildSave(cocos2d::CCDictionary*); - virtual void setLevelID(int); - virtual void setLevelName(gd::string); - virtual void setLevelDesc(gd::string); - virtual void setLevelString(gd::string); - virtual void setUserName(gd::string); - virtual void setRecordString(gd::string); - virtual void setUploadDate(gd::string); - virtual void setUpdateDate(gd::string); - virtual void setUserID(int); - virtual void setDifficulty(int); - virtual void setAudioTrack(int); - virtual void setSongID(int); - virtual void setLevelRev(int); - virtual void setObjectCount(int); - virtual void setOrder(int); - virtual void setRatings(int); - virtual void setRatingsSum(int); - virtual void setDownloads(int); - virtual void setCompletes(int); - virtual void setIsEditable(bool); - virtual void setIsVerified(bool); - virtual void setIsUploaded(bool); - virtual void setHasBeenModified(bool); - virtual void setLevelVersion(int); - virtual void setGameVersion(int); - virtual void setAttempts(int); - virtual void setJumps(int); - virtual void setNormalPercent(int); - virtual void setPracticePercent(int); - virtual void setLikes(int); - virtual void setDislikes(int); - virtual void setLevelLength(int); - virtual void setFeatured(int); - virtual void setDemon(bool); - virtual void setStars(int); - virtual void setAutoLevel(bool); - virtual void setCoins(int); - virtual void setPassword(int); - virtual void setOriginalLevel(int); - virtual void setTwoPlayerMode(bool); - virtual void setFailedPasswordAttempts(int); - virtual void setShowedSongWarning(bool); - virtual void setStarRatings(int); - virtual void setStarRatingsSum(int); - virtual void setMaxStarRatings(int); - virtual void setMinStarRatings(int); - virtual void setDemonVotes(int); - virtual void setRateStars(int); - virtual void setRateFeature(bool); - virtual void setRateUser(gd::string); - virtual void setDontSave(bool); - virtual void setIsHidden(bool); - virtual void setRequiredCoins(int); - virtual void setIsUnlocked(bool); - virtual void setLastCameraPos(cocos2d::CCPoint); - virtual void setLastEditorZoom(float); - virtual void setLastBuildTab(int); - virtual void setLastBuildPage(int); - virtual void setLastBuildGroupID(int); - virtual void setLevelType(GJLevelType); - virtual void setTempName(gd::string); - virtual void setCapacity001(int); - virtual void setCapacity002(int); - virtual void setCapacity003(int); - virtual void setCapacity004(int); -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate { - // virtual ~GJGarageLayer(); - // GJGarageLayer(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn checkBall(int); - TodoReturn checkBird(int); - TodoReturn checkColor(int, bool); - TodoReturn checkIcon(int); - TodoReturn checkShip(int); - TodoReturn checkSpecial(int); - TodoReturn descriptionForUnlock(int, UnlockType); - TodoReturn getDoSelect(); - TodoReturn getLockFrame(int, UnlockType); - TodoReturn getRateSprite(); - TodoReturn node(); - void onBack(cocos2d::CCObject* sender); - void onBallIcon(cocos2d::CCObject* sender); - void onBirdIcon(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onPlayerIcon(cocos2d::CCObject* sender); - void onSelectTab(cocos2d::CCObject* sender); - void onShipIcon(cocos2d::CCObject* sender); - void onSpecialIcon(cocos2d::CCObject* sender); - TodoReturn playRainbowEffect(); - TodoReturn playShadowEffect(); - TodoReturn scene(); - TodoReturn selectPage(IconType); - TodoReturn setupColorSelect(); - TodoReturn setupIconSelect(); - TodoReturn showUnlockPopup(int, UnlockType); - TodoReturn updateColorSelect(cocos2d::CCNode*, bool); - TodoReturn updatePlayerColors(); - TodoReturn updatePlayerName(char const*); - TodoReturn updatePlayerSelect(cocos2d::CCNode*); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); - virtual TodoReturn updateRate(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setRateSprite(cocos2d::CCSprite*); -} - -[[link(android)]] -class GJGroundLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int); - - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundSprite(); - TodoReturn getGroundWidth(); - TodoReturn getIsActive(); - TodoReturn getLine(); - bool init(int); - - virtual void draw(); - virtual TodoReturn showGround(); - virtual TodoReturn fadeInGround(float); - virtual TodoReturn fadeOutGround(float); -} - -[[link(android)]] -class GJHttpResult { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - TodoReturn getRequestTag(); - TodoReturn getResult(); - TodoReturn getSuccess(); - TodoReturn getType(); - bool init(bool, gd::string, gd::string, GJHttpType); - - virtual void setSuccess(bool); - virtual void setResult(gd::string); - virtual void setRequestTag(gd::string); - virtual void setType(GJHttpType); -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float); - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float); -} - -[[link(android)]] -class GJMapPack { - // virtual ~GJMapPack(); - // GJMapPack(); - - static GJMapPack* create(); - static GJMapPack* create(cocos2d::CCDictionary*); - - TodoReturn completedMaps(); - TodoReturn getColor1(); - TodoReturn getColor2(); - TodoReturn getM_ID(); - TodoReturn getPackCoins(); - TodoReturn getPackDifficulty(); - TodoReturn getPackID(); - TodoReturn getPackLevels(); - TodoReturn getPackName(); - TodoReturn getPackStars(); - TodoReturn hasCompletedMapPack(); - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - TodoReturn totalMaps(); - - virtual bool init(); - virtual void setPackID(int); - virtual void setPackDifficulty(int); - virtual void setPackStars(int); - virtual void setPackCoins(int); - virtual void setPackName(gd::string); - virtual void setPackLevels(gd::string); - virtual void setColor1(cocos2d::ccColor3B); - virtual void setColor2(cocos2d::ccColor3B); -} - -[[link(android)]] -class GJMoreGamesLayer { - // virtual ~GJMoreGamesLayer(); - - static GJMoreGamesLayer* create(); - - TodoReturn getMoreGamesList(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class GJObjectDecoder { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder(); - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class GJRotationControl { - // virtual ~GJRotationControl(); - // GJRotationControl(); - - static GJRotationControl* create(); - - TodoReturn finishTouch(); - TodoReturn getDelegate(); - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void setDelegate(GJRotationControlDelegate*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); -} - -[[link(android)]] -class GJScoreCell { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - TodoReturn loadFromScore(GJUserScore*); - void onMoreLevels(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJSearchObject { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool); - static GJSearchObject* create(SearchType, gd::string); - static GJSearchObject* create(SearchType); - - TodoReturn createFromKey(char const*); - TodoReturn getCustomSong(); - TodoReturn getDifficultyStr(); - TodoReturn getFeatured(); - TodoReturn getKey(); - TodoReturn getLengthStr(); - TodoReturn getNextPageKey(); - TodoReturn getNextPageObject(); - TodoReturn getNoStar(); - TodoReturn getOriginal(); - TodoReturn getPage(); - TodoReturn getPrevPageObject(); - TodoReturn getSearchKey(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool); - TodoReturn getSong(); - TodoReturn getSongFilter(); - TodoReturn getStar(); - gd::string getString(); - TodoReturn getTotal(); - TodoReturn getTwoP(); - TodoReturn getType(); - TodoReturn getUncompleted(); - bool init(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool); - - virtual void setType(SearchType); - virtual void setString(gd::string); - virtual void setDifficultyStr(gd::string); - virtual void setLengthStr(gd::string); - virtual void setPage(int); - virtual void setStar(bool); - virtual void setNoStar(bool); - virtual void setTotal(int); - virtual void setUncompleted(bool); - virtual void setFeatured(bool); - virtual void setOriginal(bool); - virtual void setTwoP(bool); - virtual void setSong(int); - virtual void setCustomSong(bool); - virtual void setSongFilter(bool); -} - -[[link(android)]] -class GJSongBrowser { - // virtual ~GJSongBrowser(); - // GJSongBrowser(); - - static GJSongBrowser* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - TodoReturn loadPage(int); - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual TodoReturn customSetup(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJUserScore { - // virtual ~GJUserScore(); - - static GJUserScore* create(); - static GJUserScore* create(cocos2d::CCDictionary*); - - TodoReturn getAccountID(); - TodoReturn getCoins(); - TodoReturn getColor1(); - TodoReturn getColor2(); - TodoReturn getDemons(); - TodoReturn getIcon(); - TodoReturn getIconType(); - TodoReturn getLevels(); - TodoReturn getRank(); - TodoReturn getScoreType(); - TodoReturn getSpecial(); - TodoReturn getStars(); - TodoReturn getUserID(); - TodoReturn getUserName(); - TodoReturn getUserUDID(); - bool isCurrentUser(); - - virtual bool init(); - virtual void setUserName(gd::string); - virtual void setUserUDID(gd::string); - virtual void setScoreType(GJScoreType); - virtual void setUserID(int); - virtual void setAccountID(int); - virtual void setStars(int); - virtual void setDemons(int); - virtual void setRank(int); - virtual void setLevels(int); - virtual void setCoins(int); - virtual void setIcon(int); - virtual void setColor1(int); - virtual void setColor2(int); - virtual void setSpecial(int); - virtual void setIconType(int); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - TodoReturn getQuickSave(); - TodoReturn getSaveString(); - TodoReturn load(); - TodoReturn loadDataFromFile(gd::string); - TodoReturn loadFromCompressedString(gd::string); - TodoReturn loadFromString(gd::string); - TodoReturn save(); - TodoReturn saveData(DS_Dictionary*, gd::string); - TodoReturn saveGMTo(gd::string); - TodoReturn tryLoadData(DS_Dictionary*, gd::string); - - virtual bool init(); - virtual TodoReturn setup(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setQuickSave(bool); - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual TodoReturn googlePlaySignedIn(); -} - -[[link(android)]] -class GooglePlayManager { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState(); - - TodoReturn getDelegate(); - TodoReturn getDelegate2(); - TodoReturn googlePlaySignedIn(); - - virtual bool init(); - virtual void setDelegate(GooglePlayDelegate*); - virtual void setDelegate2(GooglePlayDelegate*); -} - -[[link(android)]] -class GravityEffectSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create(); - - TodoReturn updateSpritesColor(cocos2d::ccColor3B); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class HardStreak { - // virtual ~HardStreak(); - - static HardStreak* create(); - - TodoReturn addPoint(cocos2d::CCPoint); - TodoReturn clearBehindXPos(float); - TodoReturn firstSetup(); - TodoReturn getDisableDual(); - TodoReturn getEndPoint(); - TodoReturn getStrokeScale(); - TodoReturn getStrokeScaleMod(); - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - TodoReturn reset(); - TodoReturn resumeStroke(); - TodoReturn stopStroke(); - TodoReturn updateStroke(float); - - virtual bool init(); - virtual void setEndPoint(cocos2d::CCPoint); - virtual void setStrokeScale(float); - virtual void setStrokeScaleMod(float); - virtual void setDisableDual(bool); -} - -[[link(android)]] -class InfoLayer { - // virtual ~InfoLayer(); - // InfoLayer(); - - static InfoLayer* create(GJGameLevel*); - - TodoReturn confirmReport(cocos2d::CCObject*); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(GJGameLevel*); - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - void onGetComments(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCNode*); - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int); - virtual TodoReturn updateUserScoreFinished(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class KeybindingsLayer { - // virtual ~KeybindingsLayer(); - // KeybindingsLayer(); - - static KeybindingsLayer* create(); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState(); - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getCommandToKeyDict(); - TodoReturn getKeyToCommandDict(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); - virtual void setKeyToCommandDict(cocos2d::CCDictionary*); - virtual void setCommandToKeyDict(cocos2d::CCDictionary*); -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); -} - -[[link(android)]] -class LeaderboardsLayer { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState); - - bool init(LeaderboardState); - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual void keyBackClicked(); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); -} - -[[link(android)]] -class LevelBrowserLayer { - // virtual ~LevelBrowserLayer(); - // LevelBrowserLayer(); - - static LevelBrowserLayer* create(GJSearchObject*); - - bool init(GJSearchObject*); - bool isCorrect(char const*); - TodoReturn loadPage(GJSearchObject*); - void onBack(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onMyOnlineLevels(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn scene(GJSearchObject*); - void setSearchObject(GJSearchObject*); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLevelsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float); - - TodoReturn loadCustomLevelCell(); - TodoReturn loadFromLevel(GJGameLevel*); - TodoReturn loadLocalLevelCell(); - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class LevelCommentDelegate { - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); -} - -[[link(android)]] -class LevelEditorLayer { - // virtual ~LevelEditorLayer(); - // LevelEditorLayer(); - - static LevelEditorLayer* create(GJGameLevel*); - - TodoReturn addObjectFromString(gd::string); - TodoReturn addSpecial(GameObject*); - TodoReturn addToRedoList(UndoObject*); - TodoReturn addToSection(GameObject*); - TodoReturn addToUndoList(UndoObject*, bool); - TodoReturn animateInDualGround(GameObject*, float, bool); - TodoReturn checkCollisions(PlayerObject*, float); - TodoReturn createBackground(); - TodoReturn createObject(int, cocos2d::CCPoint); - TodoReturn createObjectsFromSetup(gd::string); - TodoReturn createObjectsFromString(gd::string, bool); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn getAllObjects(); - TodoReturn getClkTimer(); - TodoReturn getDualMode(); - TodoReturn getGameLayer(); - TodoReturn getGridLayer(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroupIDFilter(); - TodoReturn getLevel(); - TodoReturn getLevelDistance(); - TodoReturn getLevelSettings(); - TodoReturn getLevelString(); - TodoReturn getMaxPortalY(); - TodoReturn getMinPortalY(); - TodoReturn getObjectCount(); - TodoReturn getObjectRect(GameObject*, bool); - TodoReturn getOldLevelString(); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getPlayer(); - TodoReturn getPlayer2(); - TodoReturn getPlayerState(); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSectionCount(); - TodoReturn getUILayer(); - TodoReturn handleAction(bool, cocos2d::CCArray*); - TodoReturn hasAction(bool); - bool init(GJGameLevel*); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect); - TodoReturn onPausePlaytest(); - TodoReturn onPlaytest(); - TodoReturn onResumePlaytest(); - TodoReturn onStopPlaytest(); - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playMusic(); - TodoReturn pushButton(int, bool); - TodoReturn redoLastAction(); - TodoReturn releaseButton(int, bool); - TodoReturn removeAllObjects(); - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeBackground(); - TodoReturn removeObject(GameObject*, bool); - TodoReturn removeObjectFromSection(GameObject*); - TodoReturn removePlayer2(); - TodoReturn removeSpecial(GameObject*); - TodoReturn reorderObjectSection(GameObject*); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn scene(GJGameLevel*); - TodoReturn sectionForPos(cocos2d::CCPoint); - void setStartPosObject(StartPosObject*); - TodoReturn setupLevelStart(LevelSettingsObject*); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnPlayer2(); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn undoLastAction(); - TodoReturn updateDualGround(PlayerObject*, int, bool); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateTimeMod(float); - TodoReturn updateVisibility(float); - TodoReturn validGroup(GameObject*); - - virtual void update(float); - virtual void draw(); - virtual TodoReturn levelSettingsUpdated(); - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); - virtual void setGroupIDFilter(int); - virtual void setObjectCount(int); -} - -[[link(android)]] -class LevelFeatureLayer { - // virtual ~LevelFeatureLayer(); - // LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer { - // virtual ~LevelInfoLayer(); - // LevelInfoLayer(); - - static LevelInfoLayer* create(GJGameLevel*); - - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - TodoReturn downloadLevel(); - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateStars(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - TodoReturn setupLevelInfo(); - TodoReturn setupProgressBars(); - TodoReturn shouldDownloadLevel(); - TodoReturn showSongWarning(); - TodoReturn showUpdateAlert(UpdateResponse); - TodoReturn tryCloneLevel(cocos2d::CCObject*); - TodoReturn updateLabelValues(); - TodoReturn updateSideButtons(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn numberInputClosed(NumberInputLayer*); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); - virtual TodoReturn rateLevelClosed(); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelManagerDelegate { - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLevelsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class LevelPage { - // virtual ~LevelPage(); - // LevelPage(); - - static LevelPage* create(GJGameLevel*); - - TodoReturn addSecretCoin(); - bool init(GJGameLevel*); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn updateDynamicPage(GJGameLevel*); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class LevelSearchLayer { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(); - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - TodoReturn confirmClearFilters(cocos2d::CCObject*); - TodoReturn getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - TodoReturn getSearchObject(SearchType, gd::string); - TodoReturn getTimeKey(int); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender); - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender); - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - TodoReturn toggleStar(cocos2d::CCObject*); - TodoReturn toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelSelectLayer { - // virtual ~LevelSelectLayer(); - - static LevelSelectLayer* create(int); - - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual TodoReturn levelSettingsUpdated(); -} - -[[link(android)]] -class LevelSettingsLayer { - // virtual ~LevelSettingsLayer(); - // LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn getDelegate(); - TodoReturn getEditorLayer(); - bool init(LevelSettingsObject*); - void on3DLine(cocos2d::CCObject* sender); - void onBG(cocos2d::CCObject* sender); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCol1(cocos2d::CCObject* sender); - void onCol2(cocos2d::CCObject* sender); - void onCol3(cocos2d::CCObject* sender); - void onCol4(cocos2d::CCObject* sender); - void onDualMode(cocos2d::CCObject* sender); - void onG(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onGravityFlipped(cocos2d::CCObject* sender); - void onLine(cocos2d::CCObject* sender); - void onMiniMode(cocos2d::CCObject* sender); - void onObj(cocos2d::CCObject* sender); - void onOpenCustomSong(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onTwoPlayerMode(cocos2d::CCObject* sender); - void onTwoPlayerModeInfo(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn showCustomSongSelect(); - TodoReturn showPicker(int, SettingsColorObject*); - TodoReturn updateAudioLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); - virtual TodoReturn customSongLayerClosed(); - virtual TodoReturn selectArtClosed(SelectArtLayer*); - virtual void setDelegate(LevelSettingsDelegate*); - virtual void setEditorLayer(LevelEditorLayer*); -} - -[[link(android)]] -class LevelSettingsObject { - // virtual ~LevelSettingsObject(); - // LevelSettingsObject(); - - static LevelSettingsObject* create(); - - TodoReturn getBackgroundColor(); - TodoReturn getBGIdx(); - TodoReturn getCustomColor01(); - TodoReturn getCustomColor02(); - TodoReturn getCustomColor03(); - TodoReturn getCustomColor04(); - TodoReturn getDLineColor(); - TodoReturn getFadeIn(); - TodoReturn getFadeOut(); - TodoReturn getGIdx(); - TodoReturn getGravityFlipped(); - TodoReturn getGroundColor(); - TodoReturn getIsLimited(); - TodoReturn getLevel(); - TodoReturn getLineColor(); - TodoReturn getObjectColor(); - TodoReturn getSaveString(); - TodoReturn getSongChanged(); - TodoReturn getSongOffset(); - TodoReturn getSongString(); - TodoReturn getStartDualMode(); - TodoReturn getStartMiniMode(); - TodoReturn getStartMode(); - TodoReturn getStartSpeed(); - TodoReturn getTwoPlayerMode(); - TodoReturn objectFromDict(cocos2d::CCDictionary*); - TodoReturn objectFromString(gd::string); - TodoReturn offsetMusic(); - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - - virtual bool init(); - virtual void setBackgroundColor(SettingsColorObject*); - virtual void setGroundColor(SettingsColorObject*); - virtual void setLineColor(SettingsColorObject*); - virtual void setObjectColor(SettingsColorObject*); - virtual void setDLineColor(SettingsColorObject*); - virtual void setCustomColor01(SettingsColorObject*); - virtual void setCustomColor02(SettingsColorObject*); - virtual void setCustomColor03(SettingsColorObject*); - virtual void setCustomColor04(SettingsColorObject*); - virtual void setStartMode(int); - virtual void setStartSpeed(int); - virtual void setStartMiniMode(bool); - virtual void setStartDualMode(bool); - virtual void setTwoPlayerMode(bool); - virtual void setSongOffset(float); - virtual void setFadeIn(bool); - virtual void setFadeOut(bool); - virtual void setBGIdx(int); - virtual void setGIdx(int); - virtual void setIsLimited(bool); - virtual void setGravityFlipped(bool); - virtual void setLevel(GJGameLevel*); - virtual void setSongString(gd::string); - virtual void setSongChanged(bool); -} - -[[link(android)]] -class LevelTools { - TodoReturn artistForAudio(int); - TodoReturn fbURLForArtist(int); - TodoReturn getAudioBPM(int); - TodoReturn getAudioFileName(int); - TodoReturn getAudioString(int); - TodoReturn getAudioTitle(int); - TodoReturn getLevel(int, bool); - TodoReturn getSongObject(int); - TodoReturn nameForArtist(int); - TodoReturn ngURLForArtist(int); - TodoReturn offsetBPMForTrack(int); - TodoReturn timeForXPos(float, cocos2d::CCArray*, int); - TodoReturn urlForAudio(int); - TodoReturn ytURLForArtist(int); -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); -} - -[[link(android)]] -class LevelUploadDelegate { - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class LikeItemDelegate { - virtual TodoReturn likedItem(LikeItemType, int, bool); -} - -[[link(android)]] -class LikeItemLayer { - // virtual ~LikeItemLayer(); - // LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int); - - TodoReturn getDelegate(); - bool init(LikeItemType, int); - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - TodoReturn triggerLike(bool); - - virtual void keyBackClicked(); - virtual void setDelegate(LikeItemDelegate*); -} - -[[link(android)]] -class ListButtonBar { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getDelegate(); - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - - virtual void setDelegate(ListButtonBarDelegate*); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - TodoReturn loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - // virtual ~LoadingCircle(); - - static LoadingCircle* create(); - - void fadeAndRemove(); - cocos2d::CCSprite* getCircle(); - bool getDarkOverlay(); - cocos2d::CCNode* getTargetScene(); - void show(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void setTargetScene(cocos2d::CCNode*); - virtual void setDarkOverlay(bool); - - cocos2d::CCSprite* m_sprite; // m_circle - cocos2d::CCLayer* m_parentLayer; // m_targetScene - bool m_fade; // m_darkOverlay -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool); - static cocos2d::CCScene* scene(bool); - - const char* getLoadingString(); - bool init(bool); - void loadAssets(); - void loadingFinished(); - void updateProgress(int); - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState(); - - TodoReturn getAllLevelsInDict(); - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getLevelsInNameGroups(); - TodoReturn getLocalLevels(); - TodoReturn getMainLevelString(int); - TodoReturn markLevelsAsUnmodified(); - TodoReturn reorderLevels(); - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setLocalLevels(cocos2d::CCArray*); -} - -[[link(android)]] -class MapPackCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - TodoReturn loadFromMapPack(GJMapPack*); - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn playCompleteEffect(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - // virtual ~MenuGameLayer(); - // MenuGameLayer(); - - static MenuGameLayer* create(); - - void destroyPlayer(); - TodoReturn getBGColor(int); - TodoReturn resetPlayer(); - TodoReturn tryJump(float); - TodoReturn updateColor(float); - - virtual void update(float); - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - // virtual ~MenuLayer(); - - static cocos2d::CCScene* scene(bool); - - TodoReturn endGame(); - TodoReturn node(); - void onAchievements(cocos2d::CCObject* sender); - void onCreator(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onStats(cocos2d::CCObject* sender); - void onTrailer(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn openOptions(bool); - TodoReturn showGCQuestion(); - TodoReturn showPirateMessage(); - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn willClose(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn googlePlaySignedIn(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MoreOptionsLayer { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn googlePlaySignedIn(); -} - -[[link(android)]] -class MoreSearchLayer { - // virtual ~MoreSearchLayer(); - // MoreSearchLayer(); - - static MoreSearchLayer* create(); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class MoreVideoOptionsLayer { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MultilineBitmapFont { - // virtual ~MultilineBitmapFont(); - // MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int); - TodoReturn getSizeWidth(); - TodoReturn getTextHeight(); - TodoReturn getTextPos(); - TodoReturn getTextWidth(); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class MusicDelegateHandler { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - TodoReturn getDelegate(); - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(SongInfoObject*); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); -} - -[[link(android)]] -class MusicDownloadManager { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState(); - - TodoReturn addDLToActive(char const*, cocos2d::CCObject*); - TodoReturn addDLToActive(char const*); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn addSongObjectFromString(gd::string); - TodoReturn createSongsInfo(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn deleteSong(int); - TodoReturn downloadSong(int); - TodoReturn downloadSongFailed(int, GJSongError); - TodoReturn downloadSongFinished(SongInfoObject*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn firstSetup(); - TodoReturn getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadedSongsDict(); - TodoReturn getDownloadProgress(int); - TodoReturn getSongDownloadKey(int); - TodoReturn getSongInfo(int, bool); - TodoReturn getSongInfoKey(int); - TodoReturn getSongInfoObject(int); - TodoReturn getSongPriority(); - TodoReturn handleIt(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItDelayed(bool, gd::string, gd::string, GJHttpType); - TodoReturn handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const*); - bool isRunningActionForSongID(int); - bool isSongDownloaded(int); - TodoReturn limitDownloadedSongs(); - TodoReturn loadSongInfoFailed(int, GJSongError); - TodoReturn loadSongInfoFinished(SongInfoObject*); - TodoReturn onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onGetSongInfoCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn pathForSong(int); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn responseToDict(gd::string, char const*); - TodoReturn showTOS(FLAlertLayerProtocol*); - TodoReturn songStateChanged(); - TodoReturn stopDownload(int); - - virtual bool init(); - virtual void setDownloadedSongsDict(cocos2d::CCDictionary*); -} - -[[link(android)]] -class MyLevelsLayer { - // virtual ~MyLevelsLayer(); - - static MyLevelsLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn setupLevelBrowser(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class NodePoint { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - TodoReturn getPoint(); - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class NumberInputLayer { - // virtual ~NumberInputLayer(); - // NumberInputLayer(); - - static NumberInputLayer* create(); - - TodoReturn deleteLast(); - TodoReturn getDelegate(); - TodoReturn getMaxNumbers(); - TodoReturn getMinNumbers(); - TodoReturn getNumberString(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void setMinNumbers(int); - virtual void setMaxNumbers(int); - virtual void setDelegate(NumberInputDelegate*); -} - -[[link(android)]] -class OBB2D { - // virtual ~OBB2D(); - // OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float); - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn computeAxes(); - TodoReturn getBoundingRect(); - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners(); - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - TodoReturn getDelegate(); - - virtual bool init(); - virtual void setDelegate(ObjectDecoderDelegate*); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*); - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance(); - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState(); - - TodoReturn allKeys(); - TodoReturn frameToKey(char const*); - TodoReturn gridNodeSizeForKey(int); - TodoReturn intKeyToFrame(int); - TodoReturn keyToFrame(char const*); - TodoReturn perspectiveBlockFrame(int); - TodoReturn stringSetupToDict(gd::string, char const*); - TodoReturn stringSetupToMap(gd::string, char const*); - - virtual bool init(); -} - -[[link(android)]] -class OptionsLayer { - // virtual ~OptionsLayer(); - - static OptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*); - void onAccount(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onSoundtracks(cocos2d::CCObject* sender); - void onSupport(cocos2d::CCObject* sender); - void onVideo(cocos2d::CCObject* sender); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryEnableRecord(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class PauseLayer { - // virtual ~PauseLayer(); - // PauseLayer(); - - static PauseLayer* create(bool); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn goEdit(); - bool init(bool); - TodoReturn musicSliderChanged(cocos2d::CCObject*); - void onAutoCheckpoints(cocos2d::CCObject* sender); - void onAutoRetry(cocos2d::CCObject* sender); - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender); - void onPracticeMode(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - TodoReturn setupProgressBars(); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual TodoReturn downloadFinished(char const*); - virtual TodoReturn downloadFailed(char const*); -} - -[[link(android)]] -class PlatformToolbox { - TodoReturn activateGameCenter(); - TodoReturn doesFileExist(gd::string); - TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - TodoReturn gameDidSave(); - TodoReturn getDisplaySize(); - TodoReturn getRawPath(char const*); - TodoReturn getUniqueUserID(); - TodoReturn getUserID(); - TodoReturn hideCursor(); - static bool isControllerConnected(); - bool isHD(); - bool isLocalPlayerAuthenticated(); - bool isLowMemoryDevice(); - bool isNetworkAvailable(); - bool isSignedInGooglePlay(); - TodoReturn loadAndDecryptFileToString(char const*, char const*); - TodoReturn logEvent(char const*); - TodoReturn onGameLaunch(); - TodoReturn onNativePause(); - TodoReturn onNativeResume(); - TodoReturn onToggleKeyboard(); - TodoReturn openAppPage(); - TodoReturn platformShutdown(); - TodoReturn refreshWindow(); - TodoReturn reportAchievementWithID(char const*, int); - TodoReturn reportLoadingFinished(); - TodoReturn resizeWindow(float, float); - TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - TodoReturn sendMail(char const*, char const*, char const*); - void setBlockBackButton(bool); - void setKeyboardState(bool); - TodoReturn shouldResumeSound(); - TodoReturn showAchievements(); - TodoReturn showCursor(); - TodoReturn signInGooglePlay(); - TodoReturn signOutGooglePlay(); - TodoReturn spriteFromSavedFile(gd::string); - TodoReturn toggleCallGLFinish(bool); - TodoReturn toggleCPUSleepMode(bool); - TodoReturn toggleForceTimer(bool); - TodoReturn toggleFullScreen(bool); - TodoReturn toggleMouseControl(bool); - TodoReturn toggleSmoothFix(bool); - TodoReturn toggleVerticalSync(bool); - TodoReturn tryShowRateDialog(gd::string); - TodoReturn updateMouseControl(); - TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint { - // virtual ~PlayerCheckpoint(); - // PlayerCheckpoint(); - - static PlayerCheckpoint* create(); - - TodoReturn getBirdMode(); - TodoReturn getCanJump(); - TodoReturn getDartMode(); - TodoReturn getFlipGravity(); - TodoReturn getFlyMode(); - TodoReturn getGhostType(); - TodoReturn getIsScaled(); - TodoReturn getPlayerPos(); - TodoReturn getPlayerYVel(); - TodoReturn getRollMode(); - TodoReturn getTimeMod(); - - virtual bool init(); - virtual void setPlayerPos(cocos2d::CCPoint); - virtual void setPlayerYVel(float); - virtual void setFlipGravity(bool); - virtual void setFlyMode(bool); - virtual void setRollMode(bool); - virtual void setBirdMode(bool); - virtual void setDartMode(bool); - virtual void setCanJump(bool); - virtual void setGhostType(int); - virtual void setIsScaled(bool); - virtual void setTimeMod(float); -} - -[[link(android)]] -class PlayerObject { - // virtual ~PlayerObject(); - // PlayerObject(); - - static PlayerObject* create(int, int, cocos2d::CCLayer*); - - TodoReturn activateStreak(); - TodoReturn addAllParticles(); - TodoReturn boostPlayer(float); - TodoReturn buttonDown(PlayerButton); - TodoReturn checkSnapJumpToObject(GameObject*); - TodoReturn collidedWithObject(float, GameObject*, cocos2d::CCRect); - TodoReturn collidedWithObject(float, GameObject*); - TodoReturn collidedWithSlope(float, GameObject*); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - TodoReturn deactivateParticle(); - TodoReturn deactivateStreak(); - TodoReturn fadeOutStreak2(float); - TodoReturn flipGravity(bool, bool); - TodoReturn flipMod(); - TodoReturn getAllowRollJump(); - TodoReturn getAudioScale(); - TodoReturn getBirdMode(); - TodoReturn getCanJump(); - TodoReturn getClkTimer(); - TodoReturn getDartMode(); - TodoReturn getDisableEffects(); - TodoReturn getDualMode(); - TodoReturn getFlyMode(); - TodoReturn getGameDelegate(); - TodoReturn getGameLayer(); - TodoReturn getGlowColor1(); - TodoReturn getGlowColor2(); - TodoReturn getGravityFlipped(); - TodoReturn getGroundHeight(); - TodoReturn getHasJumped(); - TodoReturn getHasRingJumped(); - TodoReturn getIsDead(); - TodoReturn getIsJumping(); - TodoReturn getIsLocked(); - TodoReturn getIsSecondPlayer(); - TodoReturn getLastGroundPos(); - TodoReturn getLastP(); - TodoReturn getModifiedSlopeYVel(); - TodoReturn getOnGround(); - TodoReturn getOnSlope(); - TodoReturn getPlayerScale(); - TodoReturn getPortalObject(); - TodoReturn getPortalP(); - TodoReturn getRealPlayerPos(); - TodoReturn getRollMode(); - TodoReturn getSecondColor(); - TodoReturn getSlopeYVel(); - TodoReturn getTimeMod(); - TodoReturn getTookDamage(); - TodoReturn getTouchedRing(); - TodoReturn getUpKeyDown(); - TodoReturn getUpKeyPressed(); - TodoReturn getWasOnSlope(); - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(bool); - TodoReturn incrementJumps(); - bool init(int, int, cocos2d::CCLayer*); - bool isBoostValid(float); - bool isFlying(); - bool isSafeFlip(float); - bool isSafeMode(float); - TodoReturn levelFlipFinished(); - TodoReturn levelFlipping(); - TodoReturn levelWillFlip(); - TodoReturn loadFromCheckpoint(PlayerCheckpoint*); - TodoReturn lockPlayer(); - TodoReturn logValues(); - TodoReturn placeStreakPoint(); - TodoReturn playBurstEffect(); - TodoReturn playerDestroyed(bool); - TodoReturn playerIsFalling(); - TodoReturn postCollision(); - TodoReturn preCollision(); - TodoReturn preSlopeCollision(float, GameObject*); - TodoReturn propellPlayer(float); - TodoReturn pushButton(PlayerButton); - TodoReturn pushDown(); - TodoReturn releaseButton(PlayerButton); - TodoReturn removeAllParticles(); - TodoReturn removePendingCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(); - TodoReturn resetPlayerIcon(); - TodoReturn resetStreak(); - TodoReturn ringJump(); - TodoReturn runBallRotation(float); - TodoReturn runBallRotation2(); - TodoReturn runNormalRotation(); - TodoReturn runRotateAction(bool); - TodoReturn saveToCheckpoint(PlayerCheckpoint*); - void setSecondColor(cocos2d::ccColor3B const&); - TodoReturn setupStreak(); - TodoReturn spawnCircle(); - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*); - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float); - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - TodoReturn stopBurstEffect(); - TodoReturn stopRotation(bool); - TodoReturn storeCollision(bool, int); - TodoReturn switchedToMode(GameObjectType); - TodoReturn toggleBirdMode(bool); - TodoReturn toggleDartMode(bool); - TodoReturn toggleFlyMode(bool); - TodoReturn toggleGhostEffect(GhostType); - TodoReturn togglePlayerScale(bool); - TodoReturn toggleRollMode(bool); - TodoReturn touchedObject(GameObject*); - TodoReturn tryPlaceCheckpoint(); - TodoReturn updateCheckpointTest(); - TodoReturn updateCollide(bool, int); - TodoReturn updateCollideBottom(float, int); - TodoReturn updateCollideTop(float, int); - TodoReturn updateGlowColor(); - TodoReturn updateJump(float); - TodoReturn updatePlayerBirdFrame(int); - TodoReturn updatePlayerDartFrame(int); - TodoReturn updatePlayerFrame(int); - TodoReturn updatePlayerGlow(); - TodoReturn updatePlayerRollFrame(int); - TodoReturn updatePlayerScale(); - TodoReturn updatePlayerShipFrame(int); - TodoReturn updateRotation(float, float); - TodoReturn updateRotation(float); - TodoReturn updateShipRotation(float); - TodoReturn updateSlopeRotation(float); - TodoReturn updateSlopeYVelocity(float); - TodoReturn updateTimeMod(float); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn getRealPosition(); - virtual TodoReturn getOrientedBox(); - virtual void setTookDamage(bool); - virtual void setOnSlope(bool); - virtual void setWasOnSlope(bool); - virtual void setLastP(cocos2d::CCPoint); - virtual void setPortalP(cocos2d::CCPoint); - virtual void setGameLayer(cocos2d::CCLayer*); - virtual void setOnGround(bool); - virtual void setAllowRollJump(bool); - virtual void setTouchedRing(GameObject*); - virtual void setPortalObject(GameObject*); - virtual void setRealPlayerPos(cocos2d::CCPoint); - virtual void setIsSecondPlayer(bool); - virtual void setDualMode(bool); - virtual void setClkTimer(double); - virtual void setDisableEffects(bool); - virtual void setGameDelegate(GameplayDelegate*); - virtual void setAudioScale(float); - virtual void setGroundHeight(float); -} - -[[link(android)]] -class PlayLayer { - // virtual ~PlayLayer(); - // PlayLayer(); - - static PlayLayer* create(GJGameLevel*); - - TodoReturn addCircle(CCCircleWave*); - TodoReturn addToSection(GameObject*); - TodoReturn addToSpeedObjects(GameObject*); - TodoReturn animateInDualGround(GameObject*, float, bool); - TodoReturn animateInGround(bool); - TodoReturn animateOutGround(bool); - TodoReturn animateOutGroundFinished(); - TodoReturn applyEnterEffect(GameObject*); - TodoReturn cameraMoveX(float, float, float); - TodoReturn cameraMoveY(float, float, float); - TodoReturn checkCollisions(PlayerObject*, float); - TodoReturn checkSpawnObjects(); - TodoReturn claimParticle(gd::string); - TodoReturn clearPickedUpItems(); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn createCheckpoint(); - TodoReturn createObjectsFromSetup(gd::string); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn delayedResetLevel(); - TodoReturn destroyPlayer(PlayerObject*); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitAirMode(); - TodoReturn exitBirdMode(PlayerObject*); - TodoReturn exitDartMode(PlayerObject*); - TodoReturn exitFlyMode(PlayerObject*); - TodoReturn exitRollMode(PlayerObject*); - TodoReturn flipFinished(); - TodoReturn flipObjects(); - TodoReturn fullReset(); - TodoReturn get3DLineColor(); - TodoReturn getActive3DLineColorAction(); - TodoReturn getActiveBGColorAction(); - TodoReturn getActiveColor01Action(); - TodoReturn getActiveColor02Action(); - TodoReturn getActiveColor03Action(); - TodoReturn getActiveColor04Action(); - TodoReturn getActiveGColorAction(); - TodoReturn getActiveLineColorAction(); - TodoReturn getActiveObjColorAction(); - TodoReturn getAttempts(); - TodoReturn getBatchNode(); - TodoReturn getBatchNodeAdd(); - TodoReturn getBatchNodeAddBottom(); - TodoReturn getBatchNodeAddPlayer(); - TodoReturn getBatchNodeBottom(); - TodoReturn getBatchNodePlayer(); - TodoReturn getBGColor(); - TodoReturn getBigActionContainer(); - TodoReturn getCameraPortal(); - TodoReturn getCameraPos(); - TodoReturn getCleanReset(); - TodoReturn getClkTimer(); - TodoReturn getCustom01Color(); - TodoReturn getCustom02Color(); - TodoReturn getCustom03Color(); - TodoReturn getCustom04Color(); - TodoReturn getCustomColor01Blend(); - TodoReturn getCustomColor02Blend(); - TodoReturn getCustomColor03Blend(); - TodoReturn getCustomColor04Blend(); - TodoReturn getCustomColor3DBlend(); - TodoReturn getDidAwardStars(); - TodoReturn getDidJump(); - TodoReturn getDualMode(); - TodoReturn getDualModeCamera(); - TodoReturn getEndTriggered(); - TodoReturn getFlipValue(); - TodoReturn getGameLayer(); - TodoReturn getGColor(); - TodoReturn getGroundHeightForMode(int); - TodoReturn getIsFlipped(); - TodoReturn getIsResetting(); - TodoReturn getJumps(); - TodoReturn getLastCheckpoint(); - TodoReturn getLastRunPercent(); - TodoReturn getLevel(); - TodoReturn getLightBGColor(); - TodoReturn getLineColor(); - TodoReturn getMaxPortalY(); - TodoReturn getMinPortalY(); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getObjColor(); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlaybackMode(); - TodoReturn getPlayer(); - TodoReturn getPlayer2(); - TodoReturn getPracticeMode(); - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getRelativeModSpecial(cocos2d::CCPoint, float, float, float); - TodoReturn getResetQueued(); - TodoReturn getShouldRestartAfterStopped(); - TodoReturn getShowingEndLayer(); - TodoReturn getStartPos(); - TodoReturn getTestMode(); - TodoReturn getUILayer(); - TodoReturn gravityEffectFinished(); - TodoReturn hasItem(int); - TodoReturn hasUniqueCoin(GameObject*); - TodoReturn incrementJumps(); - bool init(GJGameLevel*); - bool isFlipping(); - TodoReturn levelComplete(); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn loadLastCheckpoint(); - TodoReturn markCheckpoint(); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn onQuit(); - TodoReturn pauseGame(bool); - TodoReturn pickupItem(GameObject*); - TodoReturn playEndAnimationToPos(cocos2d::CCPoint); - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playExitDualEffect(PlayerObject*); - TodoReturn playFlashEffect(float, int, float); - TodoReturn playGravityEffect(bool); - TodoReturn playSpeedParticle(float); - TodoReturn processItems(); - TodoReturn pushButton(int, bool); - TodoReturn recordAction(bool, PlayerObject*); - TodoReturn registerActiveObject(GameObject*); - TodoReturn registerStateObject(GameObject*); - TodoReturn releaseButton(int, bool); - TodoReturn removeAllObjects(); - TodoReturn removeLastCheckpoint(); - TodoReturn removeObjectFromSection(GameObject*); - TodoReturn removePlayer2(); - TodoReturn reorderObjectSection(GameObject*); - TodoReturn resetLevel(); - TodoReturn resume(); - TodoReturn resumeAndRestart(); - TodoReturn saveRecordAction(bool, PlayerObject*); - TodoReturn scene(GJGameLevel*); - TodoReturn sectionForPos(cocos2d::CCPoint); - void setActiveEnterEffect(EnterEffect); - void setStartPosObject(StartPosObject*); - TodoReturn setupLevelStart(LevelSettingsObject*); - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float); - TodoReturn showCompleteEffect(); - TodoReturn showCompleteText(); - TodoReturn showEndLayer(); - TodoReturn showHint(); - TodoReturn showNewBest(); - TodoReturn showRetryLayer(); - TodoReturn showTwoPlayerGuide(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - TodoReturn spawnPlayer2(); - TodoReturn startGame(); - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopCameraShake(); - TodoReturn stopRecording(); - TodoReturn storeCheckpoint(CheckpointObject*); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn timeForXPos(float, bool); - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool); - TodoReturn toggleFlipped(bool, bool); - TodoReturn toggleGhostEffect(int); - TodoReturn toggleGlitter(bool); - TodoReturn togglePracticeMode(bool); - TodoReturn toggleProgressbar(); - TodoReturn transformColor(cocos2d::ccColor3B, float, float, float); - TodoReturn tryStartRecord(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - TodoReturn unregisterActiveObject(GameObject*); - TodoReturn unregisterStateObject(GameObject*); - TodoReturn updateAttempts(); - TodoReturn updateCamera(float); - TodoReturn updateColor(cocos2d::ccColor3B, float, int); - TodoReturn updateCustomColorBlend(int, bool); - TodoReturn updateDualGround(PlayerObject*, int, bool); - TodoReturn updateEffectPositions(); - TodoReturn updateLevelColors(); - TodoReturn updateProgressbar(); - TodoReturn updateReplay(float); - TodoReturn updateTimeMod(float); - TodoReturn updateVisibility(); - TodoReturn visitWithColorFlash(); - - virtual void update(float); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void draw(); - virtual void visit(); - virtual void updateTweenAction(float, char const*); - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); - virtual void setPlaybackMode(bool); - virtual void setIsResetting(bool); - virtual void setCleanReset(bool); - virtual void setStartPos(cocos2d::CCPoint); - virtual void setShowingEndLayer(bool); - virtual void setEndTriggered(bool); - virtual void setResetQueued(bool); - virtual void setLastRunPercent(int); - virtual void setActiveBGColorAction(ColorAction*); - virtual void setActiveGColorAction(ColorAction*); - virtual void setActiveLineColorAction(ColorAction*); - virtual void setActiveObjColorAction(ColorAction*); - virtual void setActive3DLineColorAction(ColorAction*); - virtual void setActiveColor01Action(ColorAction*); - virtual void setActiveColor02Action(ColorAction*); - virtual void setActiveColor03Action(ColorAction*); - virtual void setActiveColor04Action(ColorAction*); - virtual void setShouldRestartAfterStopped(bool); -} - -[[link(android)]] -class PointNode { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint); - - TodoReturn getPoint(); - bool init(cocos2d::CCPoint); - - virtual void setPoint(cocos2d::CCPoint); -} - -class PremiumPopup { - // class is removed on Android, but is for some reason referenced by symbols -} - -[[link(android)]] -class PriceLabel { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class PromoInterstitial { - // virtual ~PromoInterstitial(); - // PromoInterstitial(); - - static PromoInterstitial* create(); - - TodoReturn getEnableBannerOnClose(); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn show(); - virtual void setEnableBannerOnClose(bool); -} - -[[link(android)]] -class RateLevelDelegate { - virtual TodoReturn rateLevelClosed(); -} - -[[link(android)]] -class RateLevelLayer { - // virtual ~RateLevelLayer(); - // RateLevelLayer(); - - static RateLevelLayer* create(int); - - TodoReturn getDelegate(); - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); - virtual void setDelegate(RateLevelDelegate*); -} - -[[link(android)]] -class RateStarsLayer { - // virtual ~RateStarsLayer(); - // RateStarsLayer(); - - static RateStarsLayer* create(int); - - TodoReturn getDelegate(); - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); - virtual void setDelegate(RateLevelDelegate*); -} - -[[link(android)]] -class RetryLevelLayer { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create(); - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class RingObject { - // virtual ~RingObject(); - - static RingObject* create(char const*); - - bool init(char const*); - TodoReturn spawnCircle(); - TodoReturn updateColors(cocos2d::ccColor3B); - - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual TodoReturn resetObject(); - virtual void setRScale(float); - virtual TodoReturn triggerActivated(); - virtual TodoReturn powerOnObject(); - virtual TodoReturn powerOffObject(); -} - -[[link(android)]] -class SavedLevelsLayer { - // virtual ~SavedLevelsLayer(); - - static SavedLevelsLayer* create(); - - void onBack(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn setupLevelBrowser(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class ScrollingLayer { - // virtual ~ScrollingLayer(); - // ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - TodoReturn getInternalLayer(); - TodoReturn getScaleParent(); - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - void setStartOffset(cocos2d::CCPoint); - - virtual void draw(); - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void setScaleParent(cocos2d::CCNode*); -} - -[[link(android)]] -class SearchButton { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*); - - TodoReturn getLabel(); - TodoReturn getSprite(); - bool init(char const*, char const*, float, char const*); -} - -[[link(android)]] -class SelectArtDelegate { - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer { - // virtual ~SelectArtLayer(); - // SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType); - - TodoReturn getDelegate(); - TodoReturn getSelected(); - TodoReturn getType(); - bool init(SelectArtType); - void onClose(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - - virtual void keyBackClicked(); - virtual void setDelegate(SelectArtDelegate*); -} - -[[link(android)]] -class SetGroupIDLayer { - // virtual ~SetGroupIDLayer(); - // SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - TodoReturn updateGroupID(); - TodoReturn updateLabel(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SetIDLayer { - // virtual ~SetIDLayer(); - // SetIDLayer(); - - static SetIDLayer* create(GameObject*); - - bool init(GameObject*); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - TodoReturn updateID(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SettingsColorObject { - // virtual ~SettingsColorObject(); - - static SettingsColorObject* create(); - - TodoReturn getBlend(); - TodoReturn getColor(); - TodoReturn getCustom(); - TodoReturn getSaveString(); - TodoReturn setupFromDict(cocos2d::CCDictionary*); - TodoReturn setupFromString(gd::string); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - - virtual bool init(); - virtual void setColor(cocos2d::ccColor3B); - virtual void setBlend(bool); - virtual void setCustom(int); -} - -[[link(android)]] -class ShareCommentLayer { - // virtual ~ShareCommentLayer(); - // ShareCommentLayer(); - - static ShareCommentLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - TodoReturn updateDescText(char const*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ShareLevelLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual void keyBackClicked(); - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class SimplePlayer { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int); - - TodoReturn getSpecial(); - bool init(int); - void setFrames(char const*, char const*, char const*, char const*); - void setSecondColor(cocos2d::ccColor3B const&); - TodoReturn updateColors(); - TodoReturn updatePlayerFrame(int, IconType); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setSpecial(int); -} - -[[link(android)]] -class SlideInLayer { - // virtual ~SlideInLayer(); - // SlideInLayer(); - - static SlideInLayer* create(); - - TodoReturn getDelegate(); - TodoReturn getRemoveOnExit(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setDelegate(SlideInLayerDelegate*); - virtual void setRemoveOnExit(bool); -} - -class SlideInLayerDelegate { -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, float); - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler); - - TodoReturn getLiveDragging(); - TodoReturn getThumb(); - TodoReturn getValue(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - void setBarVisibility(bool); - void setLiveDragging(bool); - void setValue(float); - void updateBar(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - - float getValue(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setValue(float); -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - // virtual ~SliderTouchLogic(); - // SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - bool getLiveDragging(); - Slider* getSliderDelegate(); - SliderThumb* getThumb(); - cocos2d::CCPoint getTouchOffset(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void setSliderDelegate(Slider*); - virtual void setLiveDragging(bool); - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; // m_sliderDelegate - bool m_activateThumb; // m_liveDragging - cocos2d::CCPoint m_position; // m_touchOffset -} - -[[link(android)]] -class SongCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - TodoReturn loadFromObject(SongObject*); - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongInfoLayer { - // virtual ~SongInfoLayer(); - // SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string); - static SongInfoLayer* create(int); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onNG(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*); - static SongInfoObject* create(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - static SongInfoObject* create(int); - - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn getArtistID(); - TodoReturn getArtistName(); - TodoReturn getArtistYT(); - TodoReturn getFileSize(); - TodoReturn getIsBlocked(); - TodoReturn getIsUnloaded(); - TodoReturn getIsVerified(); - TodoReturn getLevelSettings(); - TodoReturn getSongID(); - TodoReturn getSongName(); - TodoReturn getSongPriority(); - TodoReturn getSongURL(); - TodoReturn getSongYT(); - bool init(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual void setSongID(int); - virtual void setSongName(gd::string); - virtual void setArtistName(gd::string); - virtual void setSongYT(gd::string); - virtual void setArtistYT(gd::string); - virtual void setSongURL(gd::string); - virtual void setArtistID(int); - virtual void setFileSize(float); - virtual void setIsUnloaded(bool); - virtual void setIsVerified(bool); - virtual void setIsBlocked(bool); - virtual void setSongPriority(int); - virtual void setLevelSettings(LevelSettingsObject*); -} - -[[link(android)]] -class SongObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - TodoReturn getAudioTrack(); - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer { - // virtual ~SongOptionsLayer(); - // SongOptionsLayer(); - - static SongOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongsLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class SpeedObject { - // virtual ~SpeedObject(); - - static SpeedObject* create(int, float); - - TodoReturn getSpeedMod(); - TodoReturn getXPos(); - bool init(int, float); -} - -[[link(android)]] -class Spinor { - TodoReturn slerp(Spinor const&, Spinor const&, float); -} - -[[link(android)]] -class SpriteAnimationManager { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn getActiveAnimation(); - TodoReturn getAnimationContainer(); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn overridePrio(); - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string); - TodoReturn runQueuedAnimation(); - TodoReturn storeAnimation(cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - - virtual void setAnimationContainer(cocos2d::CCDictionary*); - virtual void setActiveAnimation(gd::string); -} - -[[link(android)]] -class SpriteDescription { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn getTransformValues(frameValues*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class StartPosObject { - // virtual ~StartPosObject(); - - static StartPosObject* create(); - - TodoReturn getSettings(); - void setSettings(LevelSettingsObject*); - - virtual bool init(); - virtual TodoReturn getSaveString(); -} - -[[link(android)]] -class StatsCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - TodoReturn loadFromObject(StatsObject*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class StatsLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class StatsObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int); - - TodoReturn getKey(); - TodoReturn getValue(); - bool init(char const*, int); -} - -[[link(android)]] -class StoreToolbox { - TodoReturn doICheck(); - bool isBillingSupported(); - TodoReturn purchaseItem(char const*); - TodoReturn restorePurchases(); - TodoReturn setupStore(); -} - -[[link(android)]] -class SupportLayer { - // virtual ~SupportLayer(); - - static SupportLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onFAQ(cocos2d::CCObject* sender); - void onLowDetail(cocos2d::CCObject* sender); - void onRestore(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - TodoReturn sendSupportMail(); - - virtual TodoReturn customSetup(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, cocos2d::CCRect); - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*); - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn getBeginLocation(); - TodoReturn getBeginTouch(); - TodoReturn getCellRemovedArray(); - TodoReturn getCellVisibleArray(); - TodoReturn getCheckLocation(); - TodoReturn getClipsToBounds(); - TodoReturn getDataSource(); - TodoReturn getDelegate(); - TodoReturn getEditable(); - TodoReturn getindexPathAddedArray(); - TodoReturn getIsScheduled(); - TodoReturn getIsTouch(); - TodoReturn getLastCellPos(); - TodoReturn getScrollingToIndexPath(); - TodoReturn getStealTouches(); - TodoReturn getTouchCell(); - TodoReturn getTouchDispatch(); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - void reloadData(); - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual void onEnter(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void setIsTouch(bool); - virtual void setClipsToBounds(bool); - virtual void setTouchDispatch(bool); - virtual void setIsScheduled(bool); - virtual void setBeginTouch(cocos2d::CCTouch*); - virtual void setBeginLocation(cocos2d::CCPoint); - virtual void setLastCellPos(cocos2d::CCPoint); - virtual void setCheckLocation(cocos2d::CCPoint); - virtual void setTouchCell(TableViewCell*); - virtual void setEditable(bool); - virtual void scrollWheel(float, float); - virtual void setCellVisibleArray(cocos2d::CCArray*); - virtual void setCellRemovedArray(cocos2d::CCArray*); - virtual TodoReturn setindexPathAddedArray(cocos2d::CCArray*); - virtual void setDelegate(TableViewDelegate*); - virtual void setDataSource(TableViewDataSource*); - virtual void setScrollingToIndexPath(CCIndexPath*); - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual void setStealTouches(bool); - - bool m_touchOutOfBoundary; // m_isScheduled - cocos2d::CCTouch* m_touchStart; // m_beginTouch - cocos2d::CCPoint m_touchStartPosition2; // m_beginLocation - cocos2d::CCPoint m_lastCellPos; - cocos2d::CCPoint m_touchPosition2; // m_checkLocation - TableViewCell* m_touchCell; - bool m_editable; - bool m_touchMoved; // m_isTouch - cocos2d::CCArray* m_cellArray; // m_cellVisibleArray - cocos2d::CCArray* m_cellRemovedArray; - cocos2d::CCArray* m_indexPathAddedArray; - TableViewDelegate* m_tableDelegate; // m_delegate - TableViewDataSource* m_dataSource; - bool m_clipsToBounds; - CCIndexPath* m_scrollingToIndexPath; - bool m_touchDispatch; - float m_touchLastY; - bool m_inStealingTouch; - bool m_cancellingTouches; // m_stealTouches -} - -[[link(android), depends(CCIndexPath)]] -class TableViewCell : cocos2d::CCLayer { - // virtual ~TableViewCell(); - TableViewCell(char const*, float, float); - - TodoReturn deleteButtonSelector(cocos2d::CCObject*); - bool isDeleteButtonShow(); - TodoReturn resetDeleteButtonPosition(); - TodoReturn showDeleteButton(bool); - TodoReturn updateVisibility(); - - virtual bool getEditable() const; - virtual void setEditable(bool); - virtual cocos2d::ccColor3B getDelBtnColor() const; - virtual void setDelBtnColor(cocos2d::ccColor3B); - virtual cocos2d::CCMenuItem* getDeleteButton() const; - virtual void setDeleteButton(cocos2d::CCMenuItem*); - virtual gd::string getCellIdentifier() const; - virtual void setCellIdentifier(gd::string const&); - - cocos2d::CCMenu* m_buttonMenu; - TableView* m_tableView; - CCIndexPath m_indexPath; - bool m_editable; - cocos2d::ccColor3B m_delBtnColor; - cocos2d::CCMenuItem* m_deleteButton; - gd::string m_cellIdentifier; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*); - virtual unsigned int numberOfSectionsInTableView(TableView*); - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&); - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TextArea { - // virtual ~TextArea(); - // TextArea(); - - static TextArea* create(char const*, char const*, float, float, cocos2d::CCPoint, float); - static TextArea* create(char const*, float, int, cocos2d::CCPoint, char const*, float); - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn getAlign(); - TodoReturn getFadeInFinished(); - TodoReturn getFontScale(); - TodoReturn getLineSpace(); - TodoReturn getOnTimer(); - TodoReturn getSizeWidth(); - TodoReturn getTextHeight(); - TodoReturn getTextPosition(); - TodoReturn getTextWidth(); - TodoReturn hideAll(); - bool init(char const*, char const*, float, float, cocos2d::CCPoint, float); - void setString(char const*); - TodoReturn showAll(); - TodoReturn stopAllCharacterActions(); - - virtual void draw(); - virtual void setOpacity(unsigned char); - virtual void setLineSpace(float); - virtual void setOnTimer(bool); - virtual void setAlign(cocos2d::CCPoint); - virtual void setFadeInFinished(bool); - virtual void setFontScale(float); -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual bool allowTextInput(CCTextInputNode*); -} - -[[link(android)]] -class TutorialLayer { - // virtual ~TutorialLayer(); - // TutorialLayer(); - - static TutorialLayer* create(); - - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class TutorialPopup { - // virtual ~TutorialPopup(); - // TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked(); - virtual TodoReturn show(); -} - -[[link(android)]] -class UILayer { - // virtual ~UILayer(); - // UILayer(); - - static UILayer* create(); - - TodoReturn disableMenu(); - TodoReturn enableMenu(); - TodoReturn getClkTimer(); - void onCheck(cocos2d::CCObject* sender); - void onDeleteCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - TodoReturn pCommand(cocos2d::CCNode*); - TodoReturn toggleCheckpointsMenu(bool); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class UndoObject { - // virtual ~UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand); - - TodoReturn createWithArray(cocos2d::CCArray*, UndoCommand); - TodoReturn createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - TodoReturn getCommand(); - TodoReturn getIsLinked(); - TodoReturn getObject(); - TodoReturn getObjects(); - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - void setObjects(cocos2d::CCArray*); - - virtual void setIsLinked(bool); -} - -[[link(android)]] -class UploadPopup { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class VideoOptionsLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool); - void onAdvanced(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int); - TodoReturn updateTextureQuality(int); - - virtual bool init(); - virtual void keyBackClicked(); -} diff --git a/bindings/bindings/2.011/GeometryDash.bro b/bindings/bindings/2.011/GeometryDash.bro deleted file mode 100644 index 2c91b7b..0000000 --- a/bindings/bindings/2.011/GeometryDash.bro +++ /dev/null @@ -1,8134 +0,0 @@ -// clang-format off - -/* - These are hand-copied from my personal Ghidra repo and probably unusable. - I don't think anyone plans on using Geode with 2.011 any time soon, but - I'll try to make them work with SyncBromaScript once that works properly. - - Cheers! - - - acaruso -*/ - -[[link(android)]] -class AccountHelpLayer { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create(); - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn accountStatusChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLayer { - // virtual ~AccountLayer(); - // AccountLayer(); - - static AccountLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup(); - TodoReturn doSync(); - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLogin(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onRegister(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError); - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError); - virtual TodoReturn accountStatusChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLoginLayer { - // virtual ~AccountLoginLayer(); - // AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string); - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class AccountRegisterLayer { - // virtual ~AccountRegisterLayer(); - // AccountRegisterLayer(); - - static AccountRegisterLayer* create(); - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init(); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn allowTextInput(CCTextInputNode*); - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class AchievementBar { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const*, char const*, char const*); - - TodoReturn getTargetScene(); - bool init(char const*, char const*, char const*); - TodoReturn show(); - - virtual void setTargetScene(cocos2d::CCNode*); -} - -[[link(android)]] -class AchievementCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - void loadFromDict(cocos2d::CCDictionary*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class AchievementManager { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState(); - - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAchievementRewardDict(); - TodoReturn getAchievementsWithID(char const*); - TodoReturn getAllAchievements(); - TodoReturn getAllAchievementsSorted(); - TodoReturn getDontNotifyAch(); - TodoReturn getReportedAchievements(); - bool isAchievementEarned(char const*); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn percentageForCount(int, int); - TodoReturn percentForAchievement(char const*); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPlatformAchievementWithID(char const*, int); - TodoReturn resetAchievement(char const*); - TodoReturn resetAchievements(); - TodoReturn setup(); - - virtual bool init(); - virtual void setReportedAchievements(cocos2d::CCDictionary*); - virtual void setDontNotifyAch(bool); -} - -[[link(android)]] -class AchievementNotifier { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState(); - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn showNextAchievement(); - TodoReturn willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer { - // virtual ~AchievementsLayer(); - // AchievementsLayer(); - - static AchievementsLayer* create(); - - TodoReturn loadPage(int); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupPageInfo(int, int, int); - - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn hasCachedInterstitial(); - TodoReturn setupAds(); - TodoReturn showInterstitial(); -} - -[[link(android)]] -class AnimatedGameObject { - // virtual ~AnimatedGameObject(); - - static AnimatedGameObject* create(int); - - bool init(int); - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn updateChildSpriteColor(cocos2d::ccColor3B); - - virtual void setOpacity(unsigned char); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AppDelegate { - // virtual ~AppDelegate(); - - TodoReturn bgScale(); - TodoReturn checkSound(); - TodoReturn get(); - TodoReturn getEnableFPSTricks(); - TodoReturn getIsIOS(); - TodoReturn getIsLowMemoryDevice(); - TodoReturn getLoadingFinished(); - TodoReturn getManagersLoaded(); - TodoReturn getPaused(); - TodoReturn getScenePointer(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest(); - TodoReturn pauseGame(); - TodoReturn platformShutdown(); - TodoReturn resumeSound(); - void setIdleTimerDisabled(bool); - TodoReturn setupGLView(); - TodoReturn showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching(); - virtual void applicationDidEnterBackground(); - virtual void applicationWillEnterForeground(); - virtual TodoReturn applicationWillBecomeActive(); - virtual TodoReturn applicationWillResignActive(); - virtual TodoReturn trySaveGame(); - virtual TodoReturn willSwitchToScene(cocos2d::CCScene*); - virtual void setPaused(bool); - virtual void setScenePointer(cocos2d::CCNode*); - virtual void setManagersLoaded(bool); -} - -[[link(android)]] -class AudioEffectsLayer { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string); - - TodoReturn audioStep(float); - TodoReturn getAudioScale(); - TodoReturn getBGSquare(); - TodoReturn getRainActive(); - TodoReturn goingDown(); - bool init(gd::string); - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float); - - virtual TodoReturn draw(); - virtual TodoReturn updateTweenAction(float, char const*); - virtual void setRainActive(bool); -} - -[[link(android)]] -class BitmapFontCache { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - TodoReturn getTargetScene(); - bool init(gd::string, int); - TodoReturn show(); - - virtual void setTargetScene(cocos2d::CCNode*); -} - -[[link(android)]] -class BoomListLayer { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer { - // virtual ~BoomListView(); - - static BoomListView* create(cocos2d::CCArray*, float, float, int, BoomListType); - - bool init(cocos2d::CCArray*, float, float, int, BoomListType); - - virtual TodoReturn draw(); - virtual TodoReturn setupList(); - virtual TodoReturn TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn cellHeightForRowAtIndexPath(CCIndexPath&, TableView*); - virtual TodoReturn didSelectRowAtIndexPath(CCIndexPath&, TableView*); - virtual TodoReturn numberOfRowsInSection(unsigned int, TableView*); - virtual TodoReturn numberOfSectionsInTableView(TableView*); - virtual TodoReturn cellForRowAtIndexPath(CCIndexPath&, TableView*); - virtual TodoReturn TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&); - virtual TodoReturn TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn getListCell(char const*); - virtual TodoReturn loadCell(TableViewCell*, int); - - TableView* m_tableView; - cocos2d::CCArray* m_cells; - BoomListType m_type; - float m_height; - float m_width; - float _0x134; - int _0x138; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - // BoomScrollLayer(); - - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool); - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getCurrentScreen(); - TodoReturn getDelegate(); - TodoReturn getInternalLayer(); - TodoReturn getMarginOffset(); - TodoReturn getMinimumTouchLengthToChangePage(); - TodoReturn getMinimumTouchLengthToSlide(); - TodoReturn getMinTouchSpeed(); - TodoReturn getMovingToPage(); - TodoReturn getOnlyShowOnePage(); - TodoReturn getPage(int); - TodoReturn getpages(); - TodoReturn getPagesIndicatorNormalColor(); - TodoReturn getPagesIndicatorSelectedColor(); - TodoReturn getPagesWidthOffset(); - TodoReturn getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getScrollArea(); - TodoReturn getShowPagesIndicator(); - TodoReturn getStealTouches(); - TodoReturn getTotalPages(); - TodoReturn getTouchSpeedFast(); - TodoReturn getTouchSpeedMid(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn instantMoveToPage(int); - TodoReturn moveToPage(int); - TodoReturn moveToPageEnded(); - TodoReturn pageNumberForPosition(cocos2d::CCPoint); - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - TodoReturn repositionPagesLooped(); - TodoReturn selectPage(int); - void setDotScale(float); - void setPagesIndicatorPosition(cocos2d::CCPoint); - TodoReturn setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn togglePageIndicators(bool); - TodoReturn updateDots(float); - TodoReturn updatePages(); - - virtual TodoReturn visit(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual void setScrollArea(cocos2d::CCRect); - virtual void setMinTouchSpeed(float); - virtual void setTouchSpeedFast(float); - virtual void setTouchSpeedMid(float); - virtual void setDelegate(BoomScrollLayerDelegate*); - virtual void setOnlyShowOnePage(bool); - virtual void setMinimumTouchLengthToSlide(float); - virtual void setMinimumTouchLengthToChangePage(float); - virtual void setMarginOffset(float); - virtual void setStealTouches(bool); - virtual void setShowPagesIndicator(bool); - virtual void setPagesIndicatorSelectedColor(cocos2d::ccColor4B); - virtual void setPagesIndicatorNormalColor(cocos2d::ccColor4B); - virtual void setPagesWidthOffset(float); - - cocos2d::CCArray* m_pageIndicators; - int m_lastScreen; - float _0x120; - float _0x124; - bool m_looped; - DynamicScrollDelegate* m_dynamicScrollDelegate; - cocos2d::CCArray* m_objects; - bool m_dynamicScrolling; - int _0x138; - bool _0x13c; - cocos2d::CCTouch* m_touch; - cocos2d::CCArray* m_pages; - double _0x148; - cocos2d::CCPoint _0x150; - ExtendedLayer* m_internalLayer; - cocos2d::CCRect m_scrollArea; - float m_minTouchSpeed; - float m_touchSpeedFast; - float m_touchSpeedMid; - BoomScrollLayerDelegate* m_delegate; - bool m_movingToPage; - bool m_onlyShowOnePage; - float m_minimumTouchLengthToSlide; - float m_minimumTouchLengthToChangePage; - float m_marginOffset; - bool m_stealTouches; - bool m_showPagesIndicator; - cocos2d::CCPoint m_pagesIndicatorPosition; - cocos2d::ccColor4B m_pagesIndicatorSelectedColor; - cocos2d::ccColor4B m_pagesIndicatorNormalColor; - int m_currentScreen; - float m_pagesWidthOffset; -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual TodoReturn scrollLayerScrollingStarted(BoomScrollLayer*); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class ButtonPage { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); -} - -[[link(android)]] -class ButtonSprite { - // virtual ~ButtonSprite(); - // ButtonSprite(); - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(char const*); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*); - - TodoReturn getBGImage(); - TodoReturn getBGSprite(); - TodoReturn getBtnLabel(); - TodoReturn getBtnSprite(); - bool init(char const*, int, int, float, bool, char const*, char const*, float); - bool init(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool); - void setColor(cocos2d::ccColor3B); - void setString(char const*); - TodoReturn updateBGImage(char const*); - TodoReturn updateSpriteBGSize(); - TodoReturn updateSpriteOffset(cocos2d::CCPoint); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - CCCircleAlert* getCircle(); - - virtual bool init(); - virtual void draw(); - - CCAlertCircle* m_circle; -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*); - TodoReturn getActiveSpriteMode(); - TodoReturn getActiveTween(); - TodoReturn getAnimatedSprite(); - TodoReturn getAnimManager(); - TodoReturn getDefaultAnimation(); - TodoReturn getDelegate(); - TodoReturn getNormalSprite(); - TodoReturn getSprite(); - TodoReturn initWithType(char const*); - TodoReturn loadType(char const*); - TodoReturn runAnimation(gd::string); - TodoReturn runAnimationForced(gd::string); - void setColor(cocos2d::ccColor3B); - TodoReturn switchToMode(spriteMode); - TodoReturn tweenToAnimation(gd::string, float); - TodoReturn tweenToAnimationFinished(); - TodoReturn willPlayAnimation(); - - virtual void setOpacity(unsigned char); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn animationFinishedO(cocos2d::CCObject*); - virtual void setSprite(cocos2d::CCSprite*); - virtual void setNormalSprite(cocos2d::CCSprite*); - virtual void setAnimatedSprite(CCPartAnimSprite*); - virtual void setDefaultAnimation(gd::string); - virtual void setDelegate(AnimatedSpriteDelegate*); - - gd::string m_type; - gd::string m_activeTween; - SpriteAnimationManager* m_spriteAnimationManager; - cocos2d::CCSprite* m_sprite; - cocos2d::CCSprite* m_normalSprite; - CCPartAnimSprite* m_animatedSprite; - spriteMode m_activeSpriteMode; - gd::string m_defaultAnimation; - AnimatedSpriteDelegate* m_delegate; -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); - - cocos2d::CCDictionary* m_animationContainer; - cocos2d::CCDictionary* _0x1c; - cocos2d::CCDictionary* m_animDescDict; -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn getRemoveOnExit(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setRemoveOnExit(bool); - - bool m_removeOnExit; - bool _0x195; // Game checks this before calling decrementForcePrio -} - -[[link(android)]] -class CCCircleAlert { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave { - // virtual ~CCCircleWave(); - // CCCircleWave(); - - static CCCircleWave* create(float, float, float, bool, bool); - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool); - TodoReturn getBlendAdditive(); - TodoReturn getCircleMode(); - TodoReturn getColor(); - TodoReturn getDelegate(); - TodoReturn getLineWidth(); - TodoReturn getOpacity(); - TodoReturn getOpacityMod(); - TodoReturn getRadius(); - TodoReturn getWidth(); - bool init(float, float, float, bool, bool); - TodoReturn updatePosition(float); - - virtual TodoReturn getPosition(); - virtual TodoReturn removeMeAndCleanup(); - virtual TodoReturn draw(); - virtual TodoReturn updateTweenAction(float, char const*); - virtual void setWidth(float); - virtual void setRadius(float); - virtual void setOpacity(float); - virtual void setColor(cocos2d::ccColor3B); - virtual void setPosition(cocos2d::CCPoint); - virtual void setCircleMode(CircleMode); - virtual void setLineWidth(int); - virtual void setOpacityMod(float); - virtual void setBlendAdditive(bool); - virtual void setDelegate(CCCircleWaveDelegate*); -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); -} - -[[link(android)]] -class CCContentLayer { - // virtual ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float); - - virtual void setPosition(cocos2d::CCPoint const&); -} - -[[link(android)]] -class CCCountdown { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(char const*, char const*, int, FormatterType); - - TodoReturn calculateStepSize(); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getCurrentCount(); - TodoReturn getTargetCount(); - bool init(char const*, char const*, int, FormatterType); - void setTargetCount(int); - TodoReturn setupFormatter(FormatterType); - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath { - // virtual ~CCIndexPath(); - - TodoReturn CCIndexPathWithSectionRow(int, int); -} - -[[link(android)]] -class CCLightFlash { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - TodoReturn fadeAndRemove(); - TodoReturn getFlashP(); - TodoReturn getFlashZ(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - TodoReturn showFlash(); - - virtual bool init(); - virtual void setFlashP(cocos2d::CCNode*); - virtual void setFlashZ(int); -} - -[[link(android)]] -class CCLightStrip { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - TodoReturn getColor(); - TodoReturn getHeight(); - TodoReturn getOpacity(); - TodoReturn getWidth(); - bool init(float, float, float, float, float); - - virtual TodoReturn draw(); - virtual TodoReturn updateTweenAction(float, char const*); - virtual void setColor(cocos2d::ccColor3B); - virtual void setOpacity(float); - virtual void setWidth(float); - virtual void setHeight(float); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - // virtual ~CCMenuItemSpriteExtra(); - // CCMenuItemSpriteExtra(); - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - TodoReturn getClickSound(); - TodoReturn getDarkenClick(); - TodoReturn getOriginalScale(); - TodoReturn getScaleVar(); - TodoReturn getShouldAnimate(); - TodoReturn getVolume(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - void setSizeMult(float); - - virtual TodoReturn activate(); - virtual TodoReturn selected(); - virtual TodoReturn unselected(); - virtual void setScaleVar(float); - virtual void setOriginalScale(float); - virtual void setShouldAnimate(bool); - virtual void setDarkenClick(bool); - virtual void setVolume(float); - virtual void setClickSound(gd::string); - - float m_scaleVar; - float m_originalScale; - bool m_shouldAnimate; - bool m_darkenClick; - float m_volume; - gd::string m_clickSound; -} - -[[link(android)]] -class CCMenuItemToggler { - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - TodoReturn activeItem(); - TodoReturn getDontToggle(); - TodoReturn getIsActive(); - TodoReturn getNormalButton(); - TodoReturn getSelectedButton(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - void setSizeMult(float); - TodoReturn toggle(bool); - - virtual TodoReturn activate(); - virtual TodoReturn selected(); - virtual TodoReturn unselected(); - virtual void setEnabled(bool); - virtual void setDontToggle(bool); -} - -[[link(android)]] -class CCMoveCNode { - // virtual ~CCMoveCNode(); - - static CCMoveCNode* create(); - - virtual bool init(); -} - -[[link(android)]] -class CCPartAnimSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*); - TodoReturn dirtify(); - TodoReturn getSpriteContainer(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*); - void setColor(cocos2d::ccColor3B); - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(frameValues); - TodoReturn tweenSpriteTo(frameValues, float); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setOpacity(unsigned char); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual TodoReturn displayFrame(); -} - -[[link(android)]] -class CCScrollLayerExt { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect); - - TodoReturn constraintContent(); - TodoReturn getBottomPadding(); - TodoReturn getClipsToBounds(); - TodoReturn getContentLayer(); - TodoReturn getHorizontalScrollIndicator(); - TodoReturn getIsScrolling(); - TodoReturn getIsTouch(); - TodoReturn getLockHorizontal(); - TodoReturn getLockVertical(); - TodoReturn getMaxOffsetBottom(); - TodoReturn getMaxOffsetTop(); - TodoReturn getMaxY(); - TodoReturn getMinY(); - TodoReturn getScrollDelegate(); - TodoReturn getShowsHorizontalScrollIndicator(); - TodoReturn getShowsVerticalScrollIndicator(); - TodoReturn getTopPadding(); - TodoReturn getTouchDispatch(); - TodoReturn getVerticalScrollIndicator(); - TodoReturn moveToTop(); - TodoReturn moveToTopWithOffset(float); - TodoReturn scrollingEnd(); - TodoReturn scrollLayer(float); - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - TodoReturn updateIndicators(float); - - virtual TodoReturn visit(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - virtual TodoReturn postVisit(); - virtual void setIsTouch(bool); - virtual void setIsScrolling(bool); - virtual void setVerticalScrollIndicator(cocos2d::CCLayerColor*); - virtual void setHorizontalScrollIndicator(cocos2d::CCLayerColor*); - virtual void setScrollDelegate(CCScrollLayerExtDelegate*); - virtual void setContentLayer(cocos2d::CCLayerColor*); - virtual void setClipsToBounds(bool); - virtual void setShowsHorizontalScrollIndicator(bool); - virtual void setShowsVerticalScrollIndicator(bool); - virtual void setLockHorizontal(bool); - virtual void setLockVertical(bool); - virtual void setTouchDispatch(bool); - virtual void setTopPadding(float); - virtual void setBottomPadding(float); - virtual void setMaxOffsetTop(float); - virtual void setMaxOffsetBottom(float); -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchBegin(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchEnd(CCScrollLayerExt*); -} - -[[link(android)]] -class CCSpritePart { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn getActiveFrame(); - TodoReturn getBeingUsed(); - TodoReturn hideInactive(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateDisplayFrame(char const*); - - virtual void setActiveFrame(gd::string); -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn getFollowScale(); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual TodoReturn initWithTexture(cocos2d::CCTexture2D*); - virtual TodoReturn initWithSpriteFrameName(char const*); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual void setFollowScale(bool); - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_target; - bool m_hasFollowers; - bool m_followScale; -} - -[[link(android)]] -class CCTextInputNode { - // virtual ~CCTextInputNode(); - // CCTextInputNode(); - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*); - - TodoReturn forceOffset(); - TodoReturn getCharLimit(); - TodoReturn getClearAtZero(); - TodoReturn getDelegate(); - TodoReturn getForceOffset(); - TodoReturn getIsPassword(); - TodoReturn getLabel(); - TodoReturn getProfanityFilter(); - TodoReturn getString(); - TodoReturn getTextField(); - bool init(float, float, char const*, char const*, int, char const*); - TodoReturn refreshLabel(); - void setAllowedChars(gd::string); - void setLabelNormalColor(cocos2d::ccColor3B); - void setLabelPlaceholderColor(cocos2d::ccColor3B); - void setLabelPlaceholderScale(float); - void setMaxLabelScale(float); - void setMaxLabelWidth(float); - void setString(gd::string); - TodoReturn updateBlinkLabel(); - TodoReturn updateLabel(gd::string); - - virtual TodoReturn visit(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn textChanged(); - virtual TodoReturn onClickTrackNode(bool); - virtual TodoReturn keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual TodoReturn keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual TodoReturn onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int); - virtual TodoReturn onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*); - virtual TodoReturn onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*); - virtual void setClearAtZero(bool); - virtual void setDelegate(TextInputDelegate*); - virtual void setCharLimit(int); - virtual void setProfanityFilter(bool); - virtual void setIsPassword(bool); - virtual void setForceOffset(bool); -} - -[[link(android)]] -class CheckpointObject { - // virtual ~CheckpointObject(); - // CheckpointObject(); - - static CheckpointObject* create(); - - TodoReturn getActiveEnterEffect(); - TodoReturn getCameraPos(); - TodoReturn getColorAction(ColorAction*, cocos2d::ccColor3B); - TodoReturn getColorManagerState(); - TodoReturn getDualMode(); - TodoReturn getIsFlipped(); - TodoReturn getObject(); - TodoReturn getPlayerCheck01(); - TodoReturn getPlayerCheck02(); - TodoReturn getPortalObject(); - TodoReturn getTimeStamp(); - void setObject(GameObject*); - - virtual bool init(); - virtual void setPlayerCheck01(PlayerCheckpoint*); - virtual void setPlayerCheck02(PlayerCheckpoint*); - virtual void setDualMode(bool); - virtual void setIsFlipped(bool); - virtual void setCameraPos(cocos2d::CCPoint); - virtual void setActiveEnterEffect(EnterEffect); - virtual void setPortalObject(GameObject*); - virtual void setTimeStamp(double); - virtual void setColorManagerState(gd::string); -} - -[[link(android)]] -class ColorAction { - // virtual ~ColorAction(); - // ColorAction(); - - static ColorAction* create(); - static ColorAction* create(cocos2d::ccColor3B, bool, int); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getBlend(); - TodoReturn getCopy(); - TodoReturn getCopyOpacity(); - TodoReturn getCurrentColor(); - TodoReturn getCurrentOpacity(); - TodoReturn getCustom(); - TodoReturn getDeltaTime(); - TodoReturn getDidProcess(); - TodoReturn getDuration(); - TodoReturn getFromColor(); - TodoReturn getFromOpacity(); - TodoReturn getHSVValue(); - TodoReturn getIgnore(); - TodoReturn getIgnoreCopyColor(); - TodoReturn getIndex(); - TodoReturn getInheritColorIndex(); - TodoReturn getSaveString(); - TodoReturn getToColor(); - TodoReturn getToOpacity(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - TodoReturn resetAction(); - TodoReturn setupFromDict(cocos2d::CCDictionary*); - TodoReturn setupFromString(gd::string); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - - virtual void setCurrentColor(cocos2d::ccColor3B); - virtual void setCurrentOpacity(float); - virtual void setDeltaTime(float); - virtual void setFromColor(cocos2d::ccColor3B); - virtual void setToColor(cocos2d::ccColor3B); - virtual void setDuration(float); - virtual void setBlend(bool); - virtual void setCustom(int); - virtual void setIndex(int); - virtual void setFromOpacity(float); - virtual void setToOpacity(float); - virtual void setHSVValue(cocos2d::ccHSVValue); - virtual void setInheritColorIndex(int); - virtual void setDidProcess(bool); - virtual void setCopyOpacity(bool); - virtual void setIgnore(bool); - virtual void setIgnoreCopyColor(bool); -} - -[[link(android)]] -class ColorActionSprite { - // virtual ~ColorActionSprite(); - - static ColorActionSprite* create(); - - TodoReturn getQueuedColorChange(); - - virtual bool init(); - virtual TodoReturn getActiveColor(); - virtual void setActiveColor(cocos2d::ccColor3B const&); - virtual void setQueuedColorChange(cocos2d::ccColor3B); -} - -[[link(android)]] -class ColorChannelSprite { - // virtual ~ColorChannelSprite(); - - static ColorChannelSprite* create(); - - TodoReturn updateBlending(bool); - TodoReturn updateCopyLabel(int, bool); - TodoReturn updateOpacity(float); - TodoReturn updateValues(ColorAction*); - - virtual bool init(); -} - -[[link(android)]] -class ColoredSection { - // virtual ~ColoredSection(); - - static ColoredSection* create(cocos2d::ccColor3B, int, int); - - TodoReturn getCol(); - TodoReturn getEndPos(); - TodoReturn getStartPos(); - bool init(cocos2d::ccColor3B, int, int); - - virtual void setCol(cocos2d::ccColor3B); - virtual void setStartPos(int); - virtual void setEndPos(int); -} - -[[link(android)]] -class ColorSelectDelegate { - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); -} - -[[link(android)]] -class ColorSelectPopup { - // virtual ~ColorSelectPopup(); - // ColorSelectPopup(); - - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - TodoReturn getAction(); - TodoReturn getColorValue(); - TodoReturn getCustom(); - TodoReturn getCustom2(); - TodoReturn getDelegate(); - TodoReturn getDuration(); - TodoReturn getTargetOpacity(); - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - void onCopy(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateHSVMode(); - TodoReturn updateHSVValue(); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTouchTriggered(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual void setDelegate(ColorSelectDelegate*); -} - -[[link(android)]] -class ColorSetupDelegate { - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CommentCell { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - void loadFromComment(GJComment*); - void onConfirmDelete(cocos2d::CCObject* sender); - TodoReturn onDelete(); - void onLike(cocos2d::CCObject* sender); - TodoReturn onUndelete(); - void onUnhide(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateLabelValues(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CommentUploadDelegate { - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int); - virtual TodoReturn commentDeleteFailed(int, int); -} - -[[link(android)]] -class ConfigureHSVWidget { - // virtual ~ConfigureHSVWidget(); - - static ConfigureHSVWidget* create(cocos2d::ccHSVValue, bool); - - TodoReturn getHSVVal(); - TodoReturn getIsMixed(); - bool init(cocos2d::ccHSVValue, bool); - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabels(); -} - -[[link(android)]] -class CreateGuidelinesLayer { - // virtual ~CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(LevelSettingsObject*); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(LevelSettingsObject*); - void onClearGuidelines(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onRecord(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual TodoReturn update(float); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CreateMenuItem { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - TodoReturn getObjectFrame(); - TodoReturn getObjectKey(); - TodoReturn getPage(); - TodoReturn getTab(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - virtual void setObjectFrame(gd::string); - virtual void setObjectKey(int); - virtual void setPage(int); - virtual void setTab(int); -} - -[[link(android)]] -class CreatorLayer { - // virtual ~CreatorLayer(); - - static CreatorLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender); - void onLeaderboards(cocos2d::CCObject* sender); - void onMapPacks(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender); - void onOnlineLevels(cocos2d::CCObject* sender); - void onSavedLevels(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class CustomizeObjectLayer { - // virtual ~CustomizeObjectLayer(); - // CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - TodoReturn getActiveMode(bool); - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - TodoReturn highlightSelected(ButtonSprite*); - bool init(GameObject*, cocos2d::CCArray*); - void onBreakApart(cocos2d::CCObject* sender); - void onBrowse(cocos2d::CCObject* sender); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onNextColorChannel(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - void toggleVisible(); - TodoReturn updateChannelLabel(int); - TodoReturn updateColorSprite(); - TodoReturn updateCurrentSelection(); - TodoReturn updateCustomColorLabels(); - TodoReturn updateHSVButtons(); - TodoReturn updateSelected(int); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CustomListView { - // virtual ~CustomListView(); - // CustomListView(); - - static CustomListView* create(cocos2d::CCArray*, float, float, int, BoomListType); - - TodoReturn reloadAll(); - - virtual TodoReturn setupList(); - virtual TodoReturn getListCell(char const*); - virtual TodoReturn loadCell(TableViewCell*, int); -} - -[[link(android)]] -class CustomSongCell { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - void loadFromObject(SongInfoObject*); - void onDelete(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class CustomSongLayer { - // virtual ~CustomSongLayer(); - - static CustomSongLayer* create(LevelSettingsObject*); - - TodoReturn getDelegate(); - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - TodoReturn showNewgroundsMessage(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); - virtual void setDelegate(CustomSongLayerDelegate*); -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual TodoReturn customSongLayerClosed(); -} - -[[link(android)]] -class CustomSongWidget { - // virtual ~CustomSongWidget(); - // CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject*, LevelSettingsObject*, bool, bool, bool, bool, bool); - - TodoReturn downloadFailed(); - TodoReturn getReportSongSelect(); - TodoReturn getSongInfoIfUnloaded(); - TodoReturn getSongObject(); - bool init(SongInfoObject*, LevelSettingsObject*, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onGetSongInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn toggleUpdateButton(bool); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - void updateSongInfo(); - TodoReturn updateSongObject(SongInfoObject*); - TodoReturn verifySongID(int); - - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(SongInfoObject*); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setSongObject(SongInfoObject*); - virtual void setReportSongSelect(bool); -} - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class DrawGridLayer { - // virtual ~DrawGridLayer(); - // DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - TodoReturn addToEffects(EffectGameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(GameObject*); - TodoReturn clearPlayerPoints(); - TodoReturn getActiveGridNodeSize(); - TodoReturn getEffectSortDirty(); - TodoReturn getLastMusicX(); - TodoReturn getPortalMinMax(GameObject*); - TodoReturn getTimeNeedsUpdate(); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - TodoReturn loadTimeMarkers(gd::string); - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(GameObject*); - TodoReturn sortSpeedObjects(); - TodoReturn timeForXPos(float); - TodoReturn updateTimeMarkers(); - TodoReturn xPosForTime(float); - - virtual TodoReturn update(float); - virtual TodoReturn draw(); - virtual void setEffectSortDirty(bool); - virtual void setActiveGridNodeSize(float); -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual TodoReturn pure_virtual_005f04f0() {} // TODO: figure out what function this is -} - -[[link(android)]] -class EditButtonBar { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - void loadFromItems(cocos2d::CCArray*, int, int, bool); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - TodoReturn reloadItems(int, int); -} - -[[link(android)]] -class EditLevelLayer { - // virtual ~EditLevelLayer(); - // EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*); - - TodoReturn closeTextInputs(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmMoveToTop(cocos2d::CCObject*); - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - TodoReturn onClone(); - TodoReturn onDelete(); - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - TodoReturn onMoveToTop(); - void onPlay(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onTest(cocos2d::CCObject* sender); - void onUpdateDescription(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class EditorOptionsLayer { - // virtual ~EditorOptionsLayer(); - // EditorOptionsLayer(); - - static EditorOptionsLayer* create(); - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - - virtual bool init(); - virtual TodoReturn setupOptions(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EditorPauseLayer { - // virtual ~EditorPauseLayer(); - // EditorPauseLayer(); - - static EditorPauseLayer* create(LevelEditorLayer*); - - TodoReturn doResetUnused(); - bool init(LevelEditorLayer*); - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onResetUnusedColors(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); - void onSaveAndExit(cocos2d::CCObject* sender); - void onSaveAndPlay(cocos2d::CCObject* sender); - void onSaveAndTest(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - void saveLevel(); - TodoReturn toggleDebugDraw(cocos2d::CCObject*); - TodoReturn toggleEditorColorMode(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*); - TodoReturn toggleEditorGround(cocos2d::CCObject*); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*); - TodoReturn updateSongButton(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class EditorUI { - // virtual ~EditorUI(); - // EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*); - TodoReturn activateScaleControl(cocos2d::CCObject*); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn applyOffset(GameObject*); - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn changeSelectedObjects(cocos2d::CCArray*); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn colorSelectClosed(cocos2d::ccColor3B); - TodoReturn constrainGameLayerPosition(); - TodoReturn constrainGameLayerPosition(float, float); - TodoReturn copyObjects(cocos2d::CCArray*); - TodoReturn createCustomItems(); - TodoReturn createMoveMenu(); - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateRotationControl(); - TodoReturn deactivateScaleControl(); - TodoReturn deleteObject(GameObject*, bool); - TodoReturn deselectAll(); - TodoReturn deselectObject(); - TodoReturn deselectObject(GameObject*); - TodoReturn deselectTargetPortals(); - TodoReturn disableButton(CreateMenuItem*); - TodoReturn editButtonUsable(); - TodoReturn editGroup(cocos2d::CCObject*); - TodoReturn editObject(cocos2d::CCObject*); - TodoReturn enableButton(CreateMenuItem*); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getCreateBtn(int, int); - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditMode(); - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getGroupCenter(cocos2d::CCArray*, bool); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getLimitY(); - TodoReturn getModeBtn(char const*, int); - TodoReturn getMusicGuideActive(); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSelectedObjects(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - TodoReturn getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getStoredUndoObject(); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getXMin(int); - bool init(LevelEditorLayer*); - bool isSpecialSnapObject(int); - TodoReturn menuItemFromObjectString(gd::string, int); - TodoReturn moveForCommand(EditCommand); - TodoReturn moveGamelayer(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, cocos2d::CCPoint); - TodoReturn moveObjectCall(cocos2d::CCObject*); - TodoReturn moveObjectCall(EditCommand); - TodoReturn offsetForKey(int); - void onCopy(cocos2d::CCObject* sender); - TodoReturn onCreate(); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onDelete(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender); - void onGroupDown(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - void onNewCustomItem(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onPlaytest(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - TodoReturn pasteObjects(gd::string); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped(); - TodoReturn positionIsInSnapped(cocos2d::CCPoint); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn recreateButtonTabs(); - TodoReturn redoLastAction(cocos2d::CCObject*); - TodoReturn reloadCustomItems(); - TodoReturn removeOffset(GameObject*); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool); - TodoReturn resetUI(); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn rotationforCommand(EditCommand); - TodoReturn scaleObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn selectBuildTab(int); - TodoReturn selectObject(GameObject*); - TodoReturn selectObjects(cocos2d::CCArray*); - TodoReturn selectObjectsInRect(cocos2d::CCRect); - TodoReturn setupCreateMenu(); - TodoReturn setupDeleteMenu(); - TodoReturn setupEditMenu(); - TodoReturn shouldDeleteObject(GameObject*); - TodoReturn shouldSnap(GameObject*); - TodoReturn showDeleteConfirmation(); - TodoReturn showMaxCoinError(); - TodoReturn showMaxError(); - TodoReturn showUI(bool); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton(); - TodoReturn toggleEnableRotate(cocos2d::CCObject*); - TodoReturn toggleFreeMove(cocos2d::CCObject*); - TodoReturn toggleGuideButton(); - TodoReturn toggleMode(cocos2d::CCObject*); - TodoReturn toggleObjectInfoLabel(); - TodoReturn toggleSnap(cocos2d::CCObject*); - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleSwipe(cocos2d::CCObject*); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn transformObjectCall(EditCommand); - TodoReturn tryDeleteObject(GameObject*, bool); - TodoReturn tryUpdateTimeMarkers(); - TodoReturn undoLastAction(cocos2d::CCObject*); - TodoReturn updateButtons(); - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditMenu(); - TodoReturn updateGridNodeSize(); - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDLabel(); - TodoReturn updateObjectInfoLabel(); - TodoReturn updatePercentLabel(); - TodoReturn updatePlaybackBtn(); - TodoReturn updateScaleControl(); - TodoReturn updateSlider(); - TodoReturn updateZoom(float); - TodoReturn valueFromXPos(float); - TodoReturn xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*); - TodoReturn zoomOut(cocos2d::CCObject*); - - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn songStateChanged(); - virtual TodoReturn keyUp(cocos2d::enumKeyCodes); - virtual TodoReturn scrollWheel(float, float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); - virtual TodoReturn angleChanged(float); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn scaleChanged(float); - virtual void setStoredUndoObject(UndoObject*); - virtual void setEditMode(EditMode); -} - -[[link(android)]] -class EditTriggersPopup { - // virtual ~EditTriggersPopup(); - - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTouchTriggered(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); -} - -[[link(android)]] -class EffectGameObject { - // virtual ~EffectGameObject(); - // EffectGameObject(); - - static EffectGameObject* create(char const*); - - TodoReturn getCopyColorIdx(); - TodoReturn getCopyOpacity(); - TodoReturn getCopyPlayerColor1(); - TodoReturn getCopyPlayerColor2(); - TodoReturn getCustomColorBlend(); - TodoReturn getEffectDuration(); - TodoReturn getEffectOrder(); - TodoReturn getEffectSpawnPos(); - TodoReturn getEnableGroup(); - TodoReturn getFadeInTime(); - TodoReturn getFadeOutTime(); - TodoReturn getFromColor(); - TodoReturn getFromOpacity(); - TodoReturn getGroupMainOnly(); - TodoReturn getGroupSecondaryOnly(); - TodoReturn getHoldTime(); - TodoReturn getHSVValue(); - TodoReturn getMoveCommandEasing(); - TodoReturn getMoveCommandPos(); - TodoReturn getMoveLockX(); - TodoReturn getMoveLockY(); - TodoReturn getNextObject(); - TodoReturn getPulseMode(); - TodoReturn getPulseTargetType(); - TodoReturn getSpawnDelay(); - TodoReturn getStartTime(); - TodoReturn getTargetColorIndex(); - TodoReturn getTargetID(); - TodoReturn getTargetOpacity(); - TodoReturn getTintColor(); - TodoReturn getTintGround(); - TodoReturn getToColor(); - TodoReturn getToOpacity(); - TodoReturn getWasProcessed(); - bool init(char const*); - TodoReturn updateSpecialColor(); - - virtual TodoReturn customSetup(); - virtual TodoReturn triggerObject(); - virtual TodoReturn customObjectSetup(gd::map*); - virtual TodoReturn getSaveString(); - virtual TodoReturn spawnXPosition(); - virtual void setTintColor(cocos2d::ccColor3B); - virtual void setEffectDuration(float); - virtual void setTargetOpacity(float); - virtual void setTargetID(int); - virtual void setTintGround(bool); - virtual void setCopyPlayerColor1(bool); - virtual void setCopyPlayerColor2(bool); - virtual void setCustomColorBlend(bool); - virtual void setMoveCommandPos(cocos2d::CCPoint); - virtual void setMoveCommandEasing(int); - virtual void setMoveLockX(bool); - virtual void setMoveLockY(bool); - virtual void setFadeInTime(float); - virtual void setHoldTime(float); - virtual void setFadeOutTime(float); - virtual void setPulseMode(int); - virtual void setPulseTargetType(int); - virtual void setHSVValue(cocos2d::ccHSVValue); - virtual void setCopyColorIdx(int); - virtual void setCopyOpacity(bool); - virtual void setGroupMainOnly(bool); - virtual void setGroupSecondaryOnly(bool); - virtual void setEnableGroup(bool); - virtual void setSpawnDelay(float); - virtual void setEffectSpawnPos(float); - virtual void setEffectOrder(int); - virtual void setNextObject(EffectGameObject*); - virtual void setFromColor(cocos2d::ccColor3B); - virtual void setToColor(cocos2d::ccColor3B); - virtual void setFromOpacity(float); - virtual void setToOpacity(float); - virtual void setStartTime(float); - virtual void setWasProcessed(bool); -} - -[[link(android)]] -class EndLevelLayer { - // virtual ~EndLevelLayer(); - // EndLevelLayer(); - - static EndLevelLayer* create(); - - TodoReturn coinEnterFinished(cocos2d::CCPoint); - TodoReturn coinEnterFinishedO(cocos2d::CCObject*); - TodoReturn getCoinString(); - TodoReturn getEndText(); - TodoReturn goEdit(); - void onEdit(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(float); - TodoReturn playStarEffect(float); - TodoReturn starEnterFinished(); - TodoReturn tryShowBanner(float); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class EndPortalObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create(); - - TodoReturn updateColors(cocos2d::ccColor3B); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual TodoReturn triggerObject(); - virtual TodoReturn calculateSpawnXPos(); -} - -[[link(android)]] -class EveryplayToolbox { - void firstSetup(); - bool isEveryplaySupported(); - bool isLowEndDevice(); - bool isPaused(); - bool isRecording(); - bool isRecordingSupported(); - TodoReturn pauseRecording(); - TodoReturn playLastRecording(); - TodoReturn resumeRecording(); - void setMetadataFromLevel(GJGameLevel*); - TodoReturn showEveryplay(); - TodoReturn startRecording(); - TodoReturn stopRecording(); -} - -[[link(android)]] -class ExtendedLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create(); - - TodoReturn getDelegate(); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setDelegate(BoomScrollLayerDelegate*); -} - -[[link(android)]] -class FileOperation { - TodoReturn getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class FileSaveManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getShopItems(); - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - // virtual ~FLAlertLayer(); - // FLAlertLayer(); - - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float); - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float); - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*); - - TodoReturn getBtn1(); - TodoReturn getBtn2(); - TodoReturn getInternalLayer(); - TodoReturn getPParent(); - TodoReturn getReverseKeyBack(); - TodoReturn getShowInstant(); - TodoReturn getTargetScene(); - TodoReturn getZValue(); - bool init(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - - virtual TodoReturn onEnter(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn show(); - virtual void setPParent(FLAlertLayerProtocol*); - virtual void setTargetScene(cocos2d::CCNode*); - virtual void setReverseKeyBack(bool); - virtual void setZValue(int); - virtual void setShowInstant(bool); - virtual void setBtn1(ButtonSprite*); - virtual void setBtn2(ButtonSprite*); - - CCMenu* m_menu; - PAD = android 0x4; - FLAlertLayerProtocol* m_pParent; - cocos2d::CCNode* m_targetScene; - bool m_reverseKeyBack; - cocos2d::CCLayer* m_internalLayer; - int m_zValue; - bool m_showInstant; - ButtonSprite* m_btn1; - ButtonSprite* m_btn2; - ScrollingLayer* m_scrollingLayer; - PAD = android 0x4; - bool _0x1c4; - bool _0x1c5; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FMODAudioEngine { - // virtual ~FMODAudioEngine(); - - static FMODAudioEngine* sharedEngine(); - - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeBackgroundMusic(bool, float); - TodoReturn getBackgroundMusicTime(); - TodoReturn getBackgroundMusicVolume(); - TodoReturn getEffectsVolume(); - TodoReturn getTimeOffset(); - bool isBackgroundMusicPlaying(); - bool isBackgroundMusicPlaying(gd::string); - TodoReturn pauseAllEffects(); - TodoReturn pauseBackgroundMusic(); - TodoReturn pauseEffect(unsigned int); - TodoReturn playBackgroundMusic(gd::string, bool, bool); - TodoReturn playEffect(gd::string, bool, float, float, float); - TodoReturn preloadBackgroundMusic(gd::string); - TodoReturn preloadEffect(gd::string); - TodoReturn printResult(FMOD_RESULT); - TodoReturn resumeAllEffects(); - TodoReturn resumeBackgroundMusic(); - TodoReturn resumeEffect(unsigned int); - TodoReturn rewindBackgroundMusic(); - void setBackgroundMusicTime(float); - void setBackgroundMusicVolume(float); - void setEffectsVolume(float); - TodoReturn setupAudioEngine(); - TodoReturn start(); - TodoReturn stop(); - void stopAllEffects(); - TodoReturn stopBackgroundMusic(bool); - TodoReturn stopEffect(unsigned int); - TodoReturn unloadEffect(gd::string); - TodoReturn willPlayBackgroundMusic(); - - virtual TodoReturn update(float); - virtual void setTimeOffset(int); -} - -[[link(android)]] -class FMODSound { - // virtual ~FMODSound(); - - static FMODSound* create(FMOD::Sound*); - - TodoReturn getSound(); - bool init(FMOD::Sound*); - - virtual void setSound(FMOD::Sound*); -} - -[[link(android)]] -class FontObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class frameValues { - // frameValues(frameValues const&); -} - -[[link(android)]] -class FRequestProfilePage { - // virtual ~FRequestProfilePage(); - // FRequestProfilePage(); - - static FRequestProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool); - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestDelegate { - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestPopup { - // virtual ~FriendRequestPopup(); - - static FriendRequestPopup* create(GJFriendRequest*); - - void blockUser(); - bool init(GJFriendRequest*); - void loadFromGJFriendRequest(GJFriendRequest*); - void onAccept(cocos2d::CCObject* sender); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FriendsProfilePage { - // virtual ~FriendsProfilePage(); - // FriendsProfilePage(); - - static FriendsProfilePage* create(UserListType); - - bool init(UserListType); - void onBlocked(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupUsersBrowser(cocos2d::CCArray*, UserListType); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class GameCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - void loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class GameEffectsManager { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager { - // virtual ~GameLevelManager(); - // GameLevelManager(); - - static GameLevelManager* sharedState(); - - void acceptFriendRequest(int, int); - int accountIDForUserID(int); - void addDLToActive(char const*); - void banUser(int); - void blockUser(int); - bool createAndGetAccountComments(gd::string, int); - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetMapPacks(gd::string); - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType); - TodoReturn createNewLevel(); - TodoReturn createPageInfo(int, int, int); - TodoReturn dataLoaded(DS_Dictionary*); - void deleteAccountComment(int); - void deleteComment(int, CommentType, int); - void deleteFriendRequests(int, cocos2d::CCArray*, bool); - void deleteLevel(GJGameLevel*); - void deleteLevelComment(int, int); - void deleteSentFriendRequest(int); - void deleteServerLevel(int); - void deleteUserMessages(GJUserMessage*, cocos2d::CCArray*, bool); - void downloadLevel(int); - void downloadUserMessage(int, bool); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - void followUser(int); - GJFriendRequest* friendRequestFromAccountID(int); - void friendRequestWasRemoved(int, bool); - char const* getAccountCommentKey(int, int); - void getAccountComments(int, int, int); - cocos2d::CCDictionary* getAllUsedSongIDs(); - TodoReturn getBasePostString(bool); - TodoReturn getBoolForKey(char const*); - TodoReturn getCommentDelegate(); - TodoReturn getCommentKey(int, int); - TodoReturn getCommentUpDelegate(); - TodoReturn getCompletedLevels(); - TodoReturn getCreatedNewLevel(); - TodoReturn getDelegate(); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - char const* getDescKey(int); - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - char const* getDiffKey(int); - bool getDiffVal(int); - TodoReturn getDlDelegate(); - TodoReturn getDLMessageDelegate(); - TodoReturn getFollowedUsersDict(); - TodoReturn getFRequestDelegate(); - char const* getFriendRequestKey(bool, int); - void getFriendRequests(bool, int, int); - void getGJUserInfo(int); - int getIntForKey(char const*); - TodoReturn getLastLeaderboard(); - TodoReturn getLastMapPackID(); - TodoReturn getLastSearchKey(); - TodoReturn getLastSearchKey2(); - TodoReturn getLastSearchType(); - TodoReturn getLeaderboardDelegate(); - void getLeaderboardScores(char const*); - TodoReturn getLengthStr(bool, bool, bool, bool, bool); - char const* getLenKey(int); - bool getLenVal(int); - void getLevelComments(int, int, int); - char const* getLevelKey(int); - void getLevelSaveData(); - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - char const* getLikeItemKey(LikeItemType, int, bool); - TodoReturn getLikeKey(int); - GJGameLevel* getLocalLevel(int); - TodoReturn getLvlDelDelegate(); - TodoReturn getMainLevel(int, bool); - TodoReturn getMainLevels(); - char const* getMapPackKey(int); - void getMapPacks(GJSearchObject*); - char const* getMessageKey(int); - char const* getMessagesKey(bool, int); - TodoReturn getMListDelegate(); - TodoReturn getMsgUDelegate(); - void getOnlineLevels(GJSearchObject*); - char const* getPageInfo(char const*); - char const* getPostCommentKey(int); - TodoReturn getRateKey(int); - char const* getRateStarsKey(int); - char const* getReportKey(int); - TodoReturn getSavedLevel(int); - TodoReturn getSavedLevels(); - TodoReturn getSavedLevelsDict(); - TodoReturn getSavedMapPack(int); - cocos2d::CCScene* getSearchScene(char const*); - int getSplitIntFromKey(char const*, int); - TodoReturn getStoredLevelComments(char const*); - TodoReturn getStoredLevelDataDict(); - TodoReturn getStoredOnlineLevels(char const*); - cocos2d::CCArray* getStoredUserList(UserListType); - GJUserMessage* getStoredUserMessage(int); - GJUserMessage* getStoredUserMessageReply(int); - TodoReturn getTempSave(); - double getTimeLeft(char const*, float); - TodoReturn getUActionDelegate(); - TodoReturn getULDelegate(); - TodoReturn getUpdateDelegate(); - TodoReturn getUpDelegate(); - char const* getUploadMessageKey(int); - TodoReturn getUserDelegate(); - char const* getUserInfoKey(int); - void getUserList(UserListType); - void getUserMessages(bool, int, int); - void getUsers(GJSearchObject*); - TodoReturn getValueDict(); - void gotoLevelPage(GJGameLevel*); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool hasDownloadedLevel(int); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - bool hasLikedItem(LikeItemType, int, bool); - TodoReturn hasLikedItemFullCheck(LikeItemType, int, int); - TodoReturn hasLikedLevel(int); - TodoReturn hasRatedLevel(int); - bool hasRatedLevelStars(int); - bool hasReportedLevel(int); - void invalidateMessages(bool, bool); - void invalidateRequests(bool, bool); - void invalidateUserList(UserListType, bool); - bool isDLActive(char const*); - bool isFollowingUser(int); - bool isTimeValid(char const*, float); - bool isUpdateValid(int); - int itemIDFromLikeKey(char const*); - int levelIDFromCommentKey(char const*); - int levelIDFromPostCommentKey(char const*); - int likeFromLikeKey(char const*); - void likeItem(LikeItemType, int, bool, int); - TodoReturn limitSavedLevels(); - void makeTimeStamp(char const*); - void markItemAsLiked(LikeItemType, int, bool, int); - void markLevelAsDownloaded(int); - TodoReturn markLevelAsLiked(int); - TodoReturn markLevelAsRated(int); - void markLevelAsRatedStars(int); - void markLevelAsReported(int); - void messageWasRemoved(int, bool); - TodoReturn onAcceptFriendRequestCompleted(gd::string, gd::string); - TodoReturn onBanUserCompleted(gd::string, gd::string); - TodoReturn onBlockUserCompleted(gd::string, gd::string); - TodoReturn onDeleteCommentCompleted(gd::string, gd::string); - TodoReturn onDeleteFriendRequestCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelCompleted(gd::string, gd::string); - TodoReturn onDeleteUserMessagesCompleted(gd::string, gd::string); - TodoReturn onDownloadLevelCompleted(gd::string, gd::string); - TodoReturn onDownloadUserMessageCompleted(gd::string, gd::string); - TodoReturn onGetAccountCommentsCompleted(gd::string, gd::string); - TodoReturn onGetFriendRequestsCompleted(gd::string, gd::string); - TodoReturn onGetGJUserInfoCompleted(gd::string, gd::string); - TodoReturn onGetLeaderboardScoresCompleted(gd::string, gd::string); - TodoReturn onGetLevelCommentsCompleted(gd::string, gd::string); - TodoReturn onGetLevelSaveDataCompleted(gd::string, gd::string); - TodoReturn onGetMapPacksCompleted(gd::string, gd::string); - TodoReturn onGetOnlineLevelsCompleted(gd::string, gd::string); - TodoReturn onGetUserListCompleted(gd::string, gd::string); - TodoReturn onGetUserMessagesCompleted(gd::string, gd::string); - TodoReturn onGetUsersCompleted(gd::string, gd::string); - TodoReturn onLikeItemCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRateStarsCompleted(gd::string, gd::string); - TodoReturn onReadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onRemoveFriendCompleted(gd::string, gd::string); - TodoReturn onReportLevelCompleted(gd::string, gd::string); - TodoReturn onRequestUserAccessCompleted(gd::string, gd::string); - TodoReturn onRestoreItemsCompleted(gd::string, gd::string); - TodoReturn onSetLevelFeaturedCompleted(gd::string, gd::string); - TodoReturn onSetLevelStarsCompleted(gd::string, gd::string); - TodoReturn onSubmitUserInfoCompleted(gd::string, gd::string); - TodoReturn onSuggestLevelStarsCompleted(gd::string, gd::string); - TodoReturn onUnblockUserCompleted(gd::string, gd::string); - TodoReturn onUpdateDescriptionCompleted(gd::string, gd::string); - TodoReturn onUpdateLevelCompleted(gd::string, gd::string); - TodoReturn onUpdateUserScoreCompleted(gd::string, gd::string); - TodoReturn onUploadCommentCompleted(gd::string, gd::string); - TodoReturn onUploadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onUploadLevelCompleted(gd::string, gd::string); - TodoReturn onUploadUserMessageCompleted(gd::string, gd::string); - int pageFromCommentKey(char const*); - void parseRestoreData(gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void purgeUnusedLevels(); - void rateStars(int, int); - void readFriendRequest(int); - TodoReturn removeDelimiterChars(gd::string, bool); - TodoReturn removeDLFromActive(char const*); - void removeFriend(int); - void removeUserFromList(int, UserListType); - void reportLevel(int); - void requestUserAccess(); - TodoReturn resetAccountComments(int); - void resetAllTimers(); - TodoReturn resetStoredUserInfo(int); - void resetStoredUserList(UserListType); - void resetTimerForKey(char const*); - static cocos2d::CCDictionary* responseToDict(gd::string, bool); - void restoreItems(); - TodoReturn saveFetchedLevels(cocos2d::CCArray*); - void saveFetchedMapPacks(cocos2d::CCArray*); - void saveLevel(GJGameLevel*); - void saveMapPack(GJMapPack*); - void setBoolForKey(bool, char const*); - void setDiffVal(int, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int); - void setLevelStars(int, int, bool); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void storeFriendRequest(GJFriendRequest*); - TodoReturn storeSearchResult(cocos2d::CCArray*, gd::string, char const*); - void storeUserInfo(GJUserScore*); - void storeUserMessage(GJUserMessage*); - void storeUserMessageReply(int, GJUserMessage*); - TodoReturn storeUserName(int, int, gd::string); - void storeUserNames(gd::string); - void submitUserInfo(); - void suggestLevelStars(int, int, bool); - CommentType typeFromCommentKey(char const*); - LikeItemType typeFromLikeKey(char const*); - void unblockUser(int); - void unfollowUser(int); - void updateDescription(int, gd::string); - void updateLevel(GJGameLevel*); - void updateLevelRewards(GJGameLevel*); - void updateUsernames(); - void updateUserScore(); - void uploadAccountComment(gd::string); - void uploadComment(gd::string, CommentType, int); - void uploadFriendRequest(int, gd::string); - TodoReturn uploadLevel(GJGameLevel*); - void uploadLevelComment(int, gd::string); - void uploadUserMessage(int, gd::string, gd::string); - int userIDForAccountID(int); - GJUserScore* userInfoForAccountID(int); - TodoReturn userNameForUserID(int); - void verifyLevelState(GJGameLevel*); - - virtual bool init(); - virtual void setMainLevels(cocos2d::CCDictionary*); - virtual void setValueDict(cocos2d::CCDictionary*); - virtual void setSavedLevelsDict(cocos2d::CCDictionary*); - virtual void setStoredLevelDataDict(cocos2d::CCDictionary*); - virtual void setFollowedUsersDict(cocos2d::CCDictionary*); - virtual void setLastSearchKey(gd::string); - virtual void setLastSearchKey2(gd::string); - virtual void setLastLeaderboard(int); - virtual void setCreatedNewLevel(bool); - virtual void setDelegate(LevelManagerDelegate*); - virtual void setDlDelegate(LevelDownloadDelegate*); - virtual void setCommentDelegate(LevelCommentDelegate*); - virtual void setCommentUpDelegate(CommentUploadDelegate*); - virtual void setUpDelegate(LevelUploadDelegate*); - virtual void setUpdateDelegate(LevelUpdateDelegate*); - virtual void setLeaderboardDelegate(LeaderboardManagerDelegate*); - virtual void setLvlDelDelegate(LevelDeleteDelegate*); - virtual void setUserDelegate(UserInfoDelegate*); - virtual void setUActionDelegate(UploadActionDelegate*); - virtual void setULDelegate(UserListDelegate*); - virtual void setFRequestDelegate(FriendRequestDelegate*); - virtual void setMListDelegate(MessageListDelegate*); - virtual void setDLMessageDelegate(DownloadMessageDelegate*); - virtual void setMsgUDelegate(UploadMessageDelegate*); - virtual void setLastSearchType(SearchType); - virtual void setLastMapPackID(int); - virtual void setTempSave(gd::string); -} - -[[link(android)]] -class GameManager { - // virtual ~GameManager(); - // GameManager(); - - static GameManager* sharedState(); - - TodoReturn accountStatusChanged(); - TodoReturn addNewCustomObject(gd::string); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn claimItemsResponse(gd::string); - TodoReturn colorForIdx(int); - TodoReturn colorForPos(int); - TodoReturn colorKey(int, bool); - TodoReturn completedAchievement(char const*); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave(); - TodoReturn eventUnlockFeature(char const*); - TodoReturn fadeInMusic(char const*); - TodoReturn followTwitter(); - TodoReturn getBGTexture(int); - TodoReturn getBootups(); - TodoReturn getClickedEditor(); - TodoReturn getClickedGarage(); - TodoReturn getClickedName(); - TodoReturn getClickedPractice(); - TodoReturn getCommentSortRecent(); - TodoReturn getCustomObjectDict(); - TodoReturn getDidFollowTwitter(); - TodoReturn getDidLikeFacebook(); - TodoReturn getDidPauseBGMusic(); - TodoReturn getDidPlayGame(); - TodoReturn getDidRateGame(); - TodoReturn getDidSetupEveryplay(); - TodoReturn getDidSubYouTube(); - TodoReturn getDidSyncAchievements(); - TodoReturn getEditMode(); - TodoReturn getEditorCopyString(); - TodoReturn getEditorLayer(); - TodoReturn getFetchNewLevelsQueued(); - TodoReturn getFirstSetup(); - TodoReturn getFontFile(int); - TodoReturn getFontTexture(int); - TodoReturn getGameVariable(char const*); - TodoReturn getGTexture(int); - TodoReturn getHasRatedGame(); - TodoReturn getHasRatingPower(); - TodoReturn getIntGameVariable(char const*); - TodoReturn getIsResetting(); - TodoReturn getLastCustomColorIdx(); - TodoReturn getLastGroupID(); - TodoReturn getLastLevelID(); - TodoReturn getLastScene(); - TodoReturn getLastScene2(); - TodoReturn getLevelSelectLayer(); - TodoReturn getLoadedBGIdx(); - TodoReturn getLoadedFontIdx(); - TodoReturn getLoadedGIdx(); - TodoReturn getMainMenuActive(); - TodoReturn getMenulayer(); - TodoReturn getNextUniqueObjectKey(); - TodoReturn getNextUsedKey(int, bool); - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn getPerformanceMode(); - TodoReturn getPlayerBall(); - TodoReturn getPlayerBird(); - TodoReturn getPlayerColor(); - TodoReturn getPlayerColor2(); - TodoReturn getPlayerDart(); - TodoReturn getPlayerFrame(); - TodoReturn getPlayerGlow(); - TodoReturn getPlayerIconType(); - TodoReturn getPlayerName(); - TodoReturn getPlayerRobot(); - TodoReturn getPlayerScoreValid(); - TodoReturn getPlayerShip(); - TodoReturn getPlayerStreak(); - TodoReturn getPlayerUDID(); - TodoReturn getPlayerUserID(); - TodoReturn getPlayLayer(); - TodoReturn getPremiumPopup(); - TodoReturn getRateDelegate(); - TodoReturn getRecordGameplay(); - TodoReturn getResolution(); - TodoReturn getReturnToSearch(); - TodoReturn getShowBPMMarkers(); - TodoReturn getShowedEditorGuide(); - TodoReturn getShowedLowDetailDialog(); - TodoReturn getShowedMenu(); - TodoReturn getShowedPirate(); - TodoReturn getShowedRateDiffDialog(); - TodoReturn getShowedRateStarDialog(); - TodoReturn getShowingPromo(); - TodoReturn getShowProgressBar(); - TodoReturn getShowSongMarkers(); - TodoReturn getStoredColor(); - TodoReturn getTestSmoothFix(); - TodoReturn getTexQuality(); - TodoReturn getTotalAttempts(); - TodoReturn getValueKeeper(); - TodoReturn getWasHigh(); - TodoReturn hasShownAdRecently(); - TodoReturn iconKey(int, IconType); - bool isColorUnlocked(int, bool); - bool isIconUnlocked(int, IconType); - TodoReturn itemPurchased(char const*); - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook(); - TodoReturn loadBackground(int); - TodoReturn loadFont(int); - TodoReturn loadGround(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, bool); - TodoReturn lockIcon(int, IconType); - TodoReturn openEditorGuide(); - TodoReturn rateGame(); - TodoReturn recountUserStats(gd::string); - TodoReturn reloadAll(bool, bool, bool); - TodoReturn reloadAllStep2(); - TodoReturn reloadAllStep3(); - TodoReturn reloadAllStep4(); - TodoReturn reloadAllStep5(); - TodoReturn removeCustomObject(int); - TodoReturn reorderKey(int, bool); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPercentageForLevel(int, int, bool); - TodoReturn resetAchievement(char const*); - TodoReturn resetAllIcons(); - TodoReturn resetCoinUnlocks(); - TodoReturn resolutionForKey(int); - TodoReturn returnToLastScene(GJGameLevel*); - TodoReturn safePopScene(); - void setGameVariable(char const*, bool); - void setIntGameVariable(char const*, int); - TodoReturn shouldShowInterstitial(); - TodoReturn shouldShowPromoInterstitial(); - TodoReturn showInterstitial(); - TodoReturn showInterstitialForced(); - TodoReturn showMainMenuAd(); - TodoReturn showPromoInterstitial(); - TodoReturn startUpdate(); - TodoReturn stringForCustomObject(int); - TodoReturn subYouTube(); - TodoReturn switchCustomObjects(int, int); - TodoReturn switchScreenMode(bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*); - TodoReturn tryCacheAd(); - TodoReturn unloadBackground(); - TodoReturn unlockColor(int, bool); - TodoReturn unlockedPremium(); - TodoReturn unlockIcon(int, IconType); - TodoReturn updateMusic(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual TodoReturn update(float); - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setValueKeeper(cocos2d::CCDictionary*); - virtual void setCustomObjectDict(cocos2d::CCDictionary*); - virtual void setDidSyncAchievements(bool); - virtual void setEditorCopyString(gd::string); - virtual void setPlayLayer(PlayLayer*); - virtual void setEditorLayer(LevelEditorLayer*); - virtual void setLevelSelectLayer(LevelSelectLayer*); - virtual void setMenulayer(MenuLayer*); - virtual void setMainMenuActive(bool); - virtual void setPremiumPopup(PremiumPopup*); - virtual void setFirstSetup(bool); - virtual void setShowedMenu(bool); - virtual void setPlayerUDID(gd::string); - virtual void setPlayerName(gd::string); - virtual void setPlayerUserID(int); - virtual void setPlayerScoreValid(bool); - virtual void setDidRateGame(bool); - virtual void setDidLikeFacebook(bool); - virtual void setDidFollowTwitter(bool); - virtual void setDidSubYouTube(bool); - virtual void setDidPauseBGMusic(bool); - virtual void setWasHigh(bool); - virtual void setEditMode(bool); - virtual void setLastScene(LastGameScene); - virtual void setLastScene2(LastGameScene); - virtual void setReturnToSearch(bool); - virtual void setPlayerFrame(int); - virtual void setPlayerShip(int); - virtual void setPlayerBall(int); - virtual void setPlayerBird(int); - virtual void setPlayerDart(int); - virtual void setPlayerRobot(int); - virtual void setPlayerColor(int); - virtual void setPlayerColor2(int); - virtual void setPlayerStreak(int); - virtual void setPlayerGlow(bool); - virtual void setPlayerIconType(IconType); - virtual void setDidSetupEveryplay(bool); - virtual void setShowSongMarkers(bool); - virtual void setShowBPMMarkers(bool); - virtual void setRecordGameplay(bool); - virtual void setShowProgressBar(bool); - virtual void setPerformanceMode(bool); - virtual void setCommentSortRecent(bool); - virtual void setShowedPirate(bool); - virtual void setClickedGarage(bool); - virtual void setClickedEditor(bool); - virtual void setClickedName(bool); - virtual void setClickedPractice(bool); - virtual void setShowedEditorGuide(bool); - virtual void setShowedRateDiffDialog(bool); - virtual void setShowedRateStarDialog(bool); - virtual void setShowedLowDetailDialog(bool); - virtual void setRateDelegate(GameRateDelegate*); - virtual void setStoredColor(cocos2d::ccColor3B); - virtual void setLastLevelID(int); - virtual void setLastCustomColorIdx(int); - virtual void setLastGroupID(int); - virtual void setTotalAttempts(int); - virtual void setBootups(int); - virtual void setHasRatedGame(bool); - virtual void setDidPlayGame(bool); - virtual void setIsResetting(bool); - virtual void setShowingPromo(bool); - virtual void setTestSmoothFix(bool); - virtual void setHasRatingPower(bool); - virtual void setFetchNewLevelsQueued(bool); - virtual void setResolution(int); - virtual void setTexQuality(cocos2d::TextureQuality); -} - -[[link(android)]] -class GameObject : cocos2d::CCSpritePlus { - // virtual ~GameObject(); - // GameObject(); - - TodoReturn activatedByPlayer(GameObject*); - TodoReturn addColorSprite(); - TodoReturn addColorSpriteToParent(bool); - TodoReturn addCustomBlackChild(gd::string, float, bool); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addCustomColorChild(gd::string); - TodoReturn addGlow(); - TodoReturn addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint); - TodoReturn addInternalCustomColorChild(gd::string, cocos2d::CCPoint); - TodoReturn addInternalGlowChild(gd::string, cocos2d::CCPoint); - TodoReturn addMainSpriteToParent(bool); - TodoReturn addToTempOffset(float, float); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canChangeMainColor(); - TodoReturn canChangeSecondaryColor(); - TodoReturn canRotateFree(); - TodoReturn colorForMode(int, bool); - TodoReturn commonSetup(); - TodoReturn copyGroups(GameObject*); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn createGlow(gd::string); - TodoReturn createGroupContainer(int); - TodoReturn createRotateAction(float, int); - TodoReturn createSpriteColor(int); - TodoReturn createWithFrame(char const*); - TodoReturn createWithKey(int); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn customScaleMod(char const*); - TodoReturn deselectObject(); - TodoReturn destroyObject(); - TodoReturn determineSlopeDirection(); - TodoReturn dontCountTowardsLimit(); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn duplicateColorMode(GameObject*); - TodoReturn duplicateValues(GameObject*); - TodoReturn editorColorForCustomMode(int); - TodoReturn editorColorForMode(int); - TodoReturn getActiveColorForMode(int, bool); - TodoReturn getAddedToBlend(); - TodoReturn getAddToBatch2(); - TodoReturn getBallFrame(int); - TodoReturn getBoxOffset(); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorIndex(); - TodoReturn getColorManager(); - TodoReturn getColorOnTop(); - TodoReturn getColorSprite(); - TodoReturn getCustomAudioScale(); - TodoReturn getCustomColorIdx(); - TodoReturn getCustomDontFade(); - TodoReturn getCustomHitBox(); - TodoReturn getCustomObjectZ(); - TodoReturn getCustomScale(); - TodoReturn getCustomZLayer(); - TodoReturn getDamaging(); - TodoReturn getDidUpdateLastPosition(); - TodoReturn getDontApplyEffect(); - TodoReturn getDontApplyFade(); - TodoReturn getDontFade(); - TodoReturn getDontFadeTinted(); - TodoReturn getDontTransform(); - TodoReturn getEditorCustomScale(); - TodoReturn getEditorLayerID(); - TodoReturn getEditorLayerID2(); - TodoReturn getEditorSelected(); - TodoReturn getEditorSelectIdx(); - TodoReturn getEnterAngle(); - TodoReturn getEnterEffect(); - TodoReturn getFadeInPosOffset(); - TodoReturn getFrame(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getGlowOpacityMod(); - TodoReturn getGlowUseBGColor(); - TodoReturn getGroupCount(); - TodoReturn getGroupDisabled(); - TodoReturn getGroupDisabledCount(); - TodoReturn getGroupID(int); - TodoReturn getGroupString(); - TodoReturn getGroupUpdated(); - TodoReturn getHasCustomChildren(); - TodoReturn getHasSyncedAnimation(); - TodoReturn getIgnoreScreenCheck(); - TodoReturn getInvisibleMode(); - TodoReturn getIsAnimated(); - TodoReturn getIsDetailColorObject(); - TodoReturn getIsGroupParent(); - TodoReturn getIsInvisible(); - TodoReturn getIsOriented(); - TodoReturn getIsRotated(); - TodoReturn getIsSelected(); - TodoReturn getIsTintObject(); - TodoReturn getIsTriggerSaved(); - TodoReturn getLastPosition(); - TodoReturn getLockColorAsChild(); - TodoReturn getM_ID(); - TodoReturn getMainBlend(); - TodoReturn getMainColor(); - TodoReturn getMainColorBlack(); - TodoReturn getMainColorMode(); - TodoReturn getMaxAudioScale(); - TodoReturn getMinAudioScale(); - TodoReturn getNeedsReorder(); - TodoReturn getNeedsUpdateColor(); - TodoReturn getObjectClass(); - TodoReturn getObjectID(); - TodoReturn getObjectKey(); - TodoReturn getObjectRadius(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectZ(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - TodoReturn getOrientedRectDirty(); - TodoReturn getOuterObjectRect(); - TodoReturn getParentMode(); - TodoReturn getRadius(); - TodoReturn getRectOffset(); - TodoReturn getRelativeSpriteColor(int); - TodoReturn getSavedMainColorMode(); - TodoReturn getSavedSecondaryColorMode(); - TodoReturn getScaleModX(); - TodoReturn getScaleModY(); - TodoReturn getSecondaryBlend(); - TodoReturn getSecondaryColor(); - TodoReturn getSecondaryColorBlack(); - TodoReturn getSecondaryColorMode(); - TodoReturn getSectionIdx(); - TodoReturn getShouldHide(); - TodoReturn getSlopeAngle(); - TodoReturn getSlopeType(); - TodoReturn getSpawnedByTrigger(); - TodoReturn getSpawnXPos(); - TodoReturn getSpriteColor01(); - TodoReturn getSpriteColor02(); - TodoReturn getStartFlipX(); - TodoReturn getStartFlipY(); - TodoReturn getStartPos(); - TodoReturn getStartRotation(); - TodoReturn getStartScaleX(); - TodoReturn getStartScaleY(); - TodoReturn getStateVar(); - TodoReturn getStoredPosition(); - TodoReturn getTextBlockString(); - TodoReturn getTouchTriggered(); - TodoReturn getType(); - TodoReturn getUniqueID(); - TodoReturn getUpdateLastPos(); - TodoReturn getUpSlope(); - TodoReturn getUseAudioScale(); - TodoReturn getUseCustomContentSize(); - TodoReturn getUseCustomEditorHitbox(); - TodoReturn getUseSpecialLight(); - TodoReturn getWasSelected(); - TodoReturn getZLayer(); - TodoReturn groupColor(cocos2d::ccColor3B const&, bool); - TodoReturn groupOpacityMod(); - TodoReturn groupWasDisabled(); - TodoReturn groupWasEnabled(); - TodoReturn hasBeenActivated(); - TodoReturn hasBeenActivatedByPlayer(GameObject*); - TodoReturn hasSecondaryColor(); - TodoReturn ignoreFade(); - bool init(char const*); - bool isColorObject(); - bool isColorTrigger(); - bool isFacingDown(); - bool isSpawnableTrigger(); - bool isSpecialObject(); - bool isTrigger(); - TodoReturn loadGroupsFromString(gd::string); - TodoReturn objectFromString(gd::string); - TodoReturn opacityModForMode(int, bool); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn perspectiveFrame(char const*, int); - TodoReturn playShineEffect(); - TodoReturn quickUpdatePosition(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetGroupDisabled(); - TodoReturn resetMainColorMode(); - TodoReturn resetSecondaryColorMode(); - TodoReturn saveActiveColors(); - TodoReturn selectObject(cocos2d::ccColor3B); - void setDefaultMainColorMode(int); - void setDefaultSecondaryColorMode(int); - void setDidUpdateLastPosition(bool const&); - void setGlowColor(cocos2d::ccColor3B const&); - void setGlowOpacity(unsigned char); - void setLastPosition(cocos2d::CCPoint const&); - void setMainColorMode(int); - void setMyAction(cocos2d::CCAction*); - void setSecondaryColorMode(int); - void setSectionIdx(int const&); - void setTempOffset(float, float); - TodoReturn setupCoinAnimation(); - TodoReturn setupCoinArt(); - TodoReturn setupColorSprite(int, bool); - TodoReturn setupCustomSprites(); - void setUpdateLastPos(bool const&); - TodoReturn shouldBlendColor(GJSpriteColor*, bool); - TodoReturn shouldNotSave(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn updateCustomScale(float); - TodoReturn updateMainColor(); - TodoReturn updateMainColor(cocos2d::ccColor3B const&); - TodoReturn updateObjectEditorColor(); - TodoReturn updateOrientedBox(); - TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - TodoReturn updateSecondaryColor(); - TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - TodoReturn updateStartPos(); - TodoReturn updateState(); - TodoReturn updateSyncedAnimation(float); - TodoReturn updateTextObject(gd::string, bool); - TodoReturn waitingForActivation(); - - virtual TodoReturn update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual TodoReturn initWithTexture(cocos2d::CCTexture2D*); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual TodoReturn customSetup(); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool); - virtual TodoReturn getObjectRect(); - virtual TodoReturn getObjectRect(float, float); - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual TodoReturn getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual TodoReturn customObjectSetup(gd::map*); - virtual TodoReturn getSaveString(); - virtual bool isFlipX(); - virtual bool isFlipY(); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual TodoReturn calculateSpawnXPos(); - virtual TodoReturn triggerActivated(); - virtual TodoReturn powerOnObject(); - virtual TodoReturn powerOffObject(); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual TodoReturn spawnXPosition(); - virtual void setLockColorAsChild(bool); - virtual void setFadeInPosOffset(float); - virtual void setObjectRectDirty(bool); - virtual void setOrientedRectDirty(bool); - virtual void setHasCustomChildren(bool); - virtual void setIgnoreScreenCheck(bool); - virtual void setScaleModX(float); - virtual void setScaleModY(float); - virtual void setM_ID(int); - virtual void setType(GameObjectType); - virtual void setTouchTriggered(bool); - virtual void setSpawnedByTrigger(bool); - virtual void setUseAudioScale(bool); - virtual void setStartRotation(float); - virtual void setStartScaleX(float); - virtual void setStartScaleY(float); - virtual void setStartFlipX(bool); - virtual void setStartFlipY(bool); - virtual void setShouldHide(bool); - virtual void setEnterAngle(float); - virtual void setEnterEffect(int); - virtual void setCustomColorIdx(int); - virtual void setCustomScale(float); - virtual void setObjectKey(int); - virtual void setDontTransform(bool); - virtual void setDontFade(bool); - virtual void setDontApplyEffect(bool); - virtual void setDontApplyFade(bool); - virtual void setDontFadeTinted(bool); - virtual void setIsTintObject(bool); - virtual void setCustomDontFade(bool); - virtual void setStateVar(bool); - virtual void setObjectZ(int); - virtual void setAddToBatch2(bool); - virtual void setColorOnTop(bool); - virtual void setUniqueID(int); - virtual void setObjectID(int); - virtual void setGlowOpacityMod(float); - virtual void setZLayer(int); - virtual void setCustomZLayer(int); - virtual void setCustomObjectZ(int); - virtual void setTextBlockString(gd::string); - virtual void setEditorSelected(bool); - virtual void setWasSelected(bool); - virtual void setIsSelected(bool); - virtual void setEditorSelectIdx(int); - virtual void setStoredPosition(cocos2d::CCPoint); - virtual void setNeedsReorder(bool); - virtual void setNeedsUpdateColor(bool); - virtual void setEditorCustomScale(float); - virtual void setIsGroupParent(bool); - virtual void setEditorLayerID(int); - virtual void setEditorLayerID2(int); - virtual void setGroupUpdated(bool); - virtual void setUseCustomContentSize(bool); - virtual void setUseCustomEditorHitbox(bool); - virtual void setCustomHitBox(cocos2d::CCSize); - virtual void setObjectClass(GameObjectClass); - virtual void setHasSyncedAnimation(bool); - virtual void setColorManager(GJEffectManager*); - - cocos2d::ccColor3B _0x1c2; // Default color? - float _0x1c8; // updateSyncedAnimation - float _0x1cc; // updateSyncedAnimation - float _0x1d0; // updateSyncedAnimation - float _0x1d4; // updateSyncedAnimation - bool _0x1d8; // resetObject - float _0x1dc; // updateSyncedAnimation - bool _0x1e0; // addCustomBlackChild - bool _0x1e1; // Unused - float _0x1e4; // addCustomBlackChild - bool m_editMode; - bool m_groupDisabled; - bool m_lockColorAsChild; - int m_savedMainColorMode; - int m_savedSecondaryColorMode; - bool _0x1f4; // Main color enable HSV? - bool _0x1f5; // Secondary color enable HSV? - float m_tempOffsetX; - float m_tempOffsetY; - bool _0x200; // Related to temp offset - bool m_flipX; - bool m_flipY; - cocos2d::CCPoint m_rectOffset; - bool _0x20c; // Rect offset related - cocos2d::CCPoint _0x210; // Rect offset related - OBB2D* m_orientedBox; - bool m_isOriented; - cocos2d::CCSprite* m_glowSprite; - bool _0x224; - cocos2d::CCAction* m_myAction; - bool _0x22c; - bool _0x22d; - bool _0x22e; - float _0x230; // Width? - float _0x234; // Height? - bool _0x238; - bool _0x239; - bool _0x23a; - cocos2d::CCParticleSystemQuad* m_particle; - gd::string m_particleKey; - bool m_hasParticle; - cocos2d::CCPoint _0x248; - cocos2d::CCRect _0x250; - bool _0x260; - float m_fadeInPosOffset; - cocos2d::CCRect _0x268; - bool m_objectRectDirty; - bool m_orientedRectDirty; - bool _0x27a; - bool _0x27b; - bool _0x27c; - bool _0x27d; - bool _0x27e; - bool m_mainColorBlack; - bool m_secondaryColorBlack; - bool m_mainBlend; - bool m_secondaryBlend; - bool m_hasCustomChildren; - bool m_isAnimated; - cocos2d::CCSprite* m_colorSprite; - bool m_ignoreScreenCheck; - float m_radius; - bool m_isRotated; - float m_scaleModX; - float m_scaleModY; - int m_M_ID; - GameObjectType m_type; - int m_sectionIdx; - bool m_touchTriggered; - bool m_spawnedByTrigger; - cocos2d::CCPoint m_startPos; - gd::string m_frame; - bool m_useAudioScale; - bool _0x2bd; - float m_startRotation; - float m_startScaleX; - float m_startScaleY; - bool m_startFlipX; - bool m_startFilpY; - bool m_shouldHide; - float m_spawnXPos; - bool m_isInvisible; - float m_enterAngle; - int m_enterEffect; - int m_customColorIdx; - float m_customScale; - int m_objectKey; - bool m_dontTransform; - bool m_dontFade; - bool m_dontApplyEnter; - bool m_dontApplyFade; - bool m_dontFadeTinted; - bool m_isTintObject; - bool m_isDetailColorObject; - bool m_customDontEnter; - bool m_customDontFade; - bool m_stateVar; - int m_objectZ; - bool m_addToBatch2; - bool m_colorOnTop; - bool m_customAudioScale; - float m_minAudioScale; - float m_maxAudioScale; - int m_uniqueID; - int m_objectID; - bool m_invisibleMode; - bool m_glowUseBGColor; - bool m_useSpecialLight; - float m_glowOpacityMod; - bool m_upSlope; - int m_slopeType; - float m_slopeAngle; - bool m_damaging; - GJSpriteColor* m_mainColor; - GJSpriteColor* m_secondaryColor; - bool m_addedToBlend; - int m_zLayer; - int m_customZLayer; - int m_customObjectZ; - gd::string m_textBlockString; - bool m_editorSelected; - bool m_wasSelected; - bool m_isSelected; - int m_editorSelectIdx; - cocos2d::CCPoint m_storedPosition; - bool m_needsReorder; - bool m_needsUpdateColor; - float m_editorCustomScale; - int* m_groups; - int m_groupCount; - int m_editorLayerID; - int m_editorLayerID2; - int m_groupDisabledCount; - bool m_groupUpdated; - bool m_useCustomContentSize; - bool m_useCustomEditorHitbox; - cocos2d::CCSize m_customHitBox; - cocos2d::CCPoint m_lastPosition; - bool m_didUpdateLastPosition; - bool m_updateLastPos; - GameObjectClass m_objectClass; - bool m_hasSyncedAnimation; - bool m_isTriggerSaved; - int _0x394; // Animation related - ColorActionSprite* _0x398; - ColorActionSprite* _0x39c; - GJEffectManager* m_effectManager; -} - -[[link(android)]] -class GameObjectCopy { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*); - - TodoReturn getObject(); - bool init(GameObject*); - TodoReturn resetObject(); -} - -[[link(android)]] -class GameRateDelegate { - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class GameSoundManager { - // virtual ~GameSoundManager(); - - TodoReturn asynchronousSetup(); - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeInMusic(bool); - TodoReturn fadeOutMusic(bool); - TodoReturn getActiveBGMusic(); - TodoReturn getMeteringValue(); - TodoReturn getState(); - bool isLoopedSoundPlaying(gd::string); - TodoReturn pauseAllLoopedSounds(); - TodoReturn pauseLoopedSound(gd::string); - TodoReturn playBackgroundMusic(gd::string, bool, bool); - TodoReturn playEffect(gd::string, float, float, float); - TodoReturn playLoopedSound(gd::string, gd::string, float, float, bool, bool, bool); - TodoReturn playUniqueEffect(gd::string, float, float, float); - TodoReturn playUniqueEffect(gd::string); - TodoReturn preload(); - TodoReturn removeLoopedSound(gd::string); - TodoReturn resetUniqueEffects(); - TodoReturn resumeAllLoopedSounds(); - TodoReturn resumeSound(); - TodoReturn setup(); - TodoReturn sharedManager(); - TodoReturn stopAllLoopedSounds(); - TodoReturn stopBackgroundMusic(); - TodoReturn stopLoopedSound(gd::string, bool); - TodoReturn updateLoopedVolume(gd::string, float); - TodoReturn updateMetering(float); - - virtual bool init(); -} - -[[link(android)]] -class GameStatsManager { - // virtual ~GameStatsManager(); - - static GameStatsManager* sharedState(); - - TodoReturn checkAchievement(char const*); - TodoReturn checkCoinAchievement(GJGameLevel*); - TodoReturn checkCoinsForLevel(GJGameLevel*); - TodoReturn completedDemonLevel(GJGameLevel*); - TodoReturn completedLevel(GJGameLevel*); - TodoReturn completedMapPack(GJMapPack*); - TodoReturn completedStarLevel(GJGameLevel*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getCollectedCoinsForLevel(GJGameLevel*); - TodoReturn getCompletedLevels(); - TodoReturn getCompletedMapPacks(); - TodoReturn getDemonLevelKey(int); - TodoReturn getLevelKey(GJGameLevel*); - TodoReturn getLevelKey(int, bool); - TodoReturn getLiteAchievements(); - char const* getMapPackKey(int); - TodoReturn getPendingUserCoinsDict(); - TodoReturn getRandomContainer(); - TodoReturn getStarLevelKey(int); - TodoReturn getStat(char const*); - TodoReturn getUniqueItemKey(char const*); - TodoReturn getUserCoinsDict(); - TodoReturn getValueDict(); - TodoReturn hasCompletedDemonLevel(GJGameLevel*); - TodoReturn hasCompletedLevel(GJGameLevel*); - TodoReturn hasCompletedMapPack(int); - TodoReturn hasCompletedOnlineLevel(int); - TodoReturn hasCompletedStarLevel(GJGameLevel*); - TodoReturn hasPendingUserCoin(char const*); - TodoReturn hasUniqueItem(char const*); - TodoReturn hasUserCoin(char const*); - TodoReturn incrementStat(char const*, int); - TodoReturn incrementStat(char const*); - bool isLiteUnlockable(gd::string); - bool isUniqueItem(gd::string); - bool isUniqueValid(gd::string); - TodoReturn logCoins(); - TodoReturn markLevelAsCompletedAndClaimed(int); - TodoReturn recountUserCoins(bool); - TodoReturn resetPreSync(); - TodoReturn resetUserCoins(); - TodoReturn restorePostSync(); - void setStarsForMapPack(int, int); - void setStat(char const*, int); - void setStatIfHigher(char const*, int); - TodoReturn starsForMapPack(int); - TodoReturn storePendingUserCoin(char const*); - TodoReturn storeUniqueItem(char const*); - TodoReturn storeUserCoin(char const*); - TodoReturn tempClear(); - TodoReturn uncompleteLevel(int); - TodoReturn verifyUserCoins(); - - virtual bool init(); - virtual void setValueDict(cocos2d::CCDictionary*); - virtual void setCompletedLevels(cocos2d::CCDictionary*); - virtual void setUserCoinsDict(cocos2d::CCDictionary*); - virtual void setPendingUserCoinsDict(cocos2d::CCDictionary*); - virtual void setRandomContainer(cocos2d::CCDictionary*); -} - -[[link(android)]] -class GameStoreManager { - // virtual ~GameStoreManager(); - - static GameStoreManager* sharedState(); - - TodoReturn addCount(int, char const*); - TodoReturn boughtGold(int); - TodoReturn claimItems(char const*); - TodoReturn consumeItem(char const*); - TodoReturn countForItem(char const*); - TodoReturn dictForFeatureID(char const*); - TodoReturn displayGoldError(); - TodoReturn displayItemRestore(bool, bool); - TodoReturn eventUnlockFeature(char const*); - TodoReturn getAllItemsForCategory(char const*); - TodoReturn getCategory(char const*); - TodoReturn getShopCategories(); - TodoReturn getShopItems(); - bool isBillingSupported(); - bool isFeatureUnlocked(char const*); - TodoReturn itemPurchased(char const*); - TodoReturn itemPurchaseFailed(char const*); - TodoReturn itemRefunded(char const*); - TodoReturn onClaimItemsCompleted(cocos2d::CCNode*, void*); - TodoReturn playBuySound(); - TodoReturn purchaseConsumable(char const*, int, int); - TodoReturn purchaseFeature(char const*, int); - TodoReturn purchaseItem(char const*); - TodoReturn restorePurchases(); - void setCount(int, char const*); - TodoReturn sortCategories(); - TodoReturn unlockFeature(char const*); - - virtual bool init(); - virtual TodoReturn setup(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class GameToolbox { - static TodoReturn addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*); - static TodoReturn addRThumbScrollButton(cocos2d::CCLayer*); - static TodoReturn alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int); - static TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*); - static TodoReturn doWeHaveInternet(); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*); - static TodoReturn hsvFromString(gd::string, char const*); - static bool isIOS(); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn multipliedColorValue(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect, cocos2d::CCNode*); - static TodoReturn stringFromHSV(cocos2d::ccHSVValue, char const*); - static TodoReturn stringSetupToDict(gd::string, char const*); - static TodoReturn stringSetupToMap(gd::string, char const*); - static TodoReturn transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue); - static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float); -} - -[[link(android)]] -class GaragePage { - // virtual ~GaragePage(); - - static GaragePage* create(IconType, GJGarageLayer*, cocos2d::SEL_MenuHandler); - - bool init(IconType, GJGarageLayer*, cocos2d::SEL_MenuHandler); - void onGlow(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn updateSelect(cocos2d::CCNode*); - - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class GhostTrailEffect { - // virtual ~GhostTrailEffect(); - // GhostTrailEffect(); - - static GhostTrailEffect* create(); - - TodoReturn doBlendAdditive(); - TodoReturn getBlendFunc(); - TodoReturn getDelegate(); - TodoReturn getGhostColor(); - TodoReturn getInternalOffset(); - TodoReturn getPosTarget(); - TodoReturn getPTarget(); - TodoReturn getScaleMod(); - TodoReturn getStartAlpha(); - TodoReturn getTarget(); - TodoReturn getUsePosScale(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init(); - virtual TodoReturn draw(); - virtual void setScaleMod(float); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setTarget(cocos2d::CCSprite*); - virtual void setPosTarget(cocos2d::CCSprite*); - virtual void setPTarget(cocos2d::CCNode*); - virtual void setStartAlpha(float); - virtual void setDelegate(GhostTrailDelegate*); - virtual void setGhostColor(cocos2d::ccColor3B); - virtual void setInternalOffset(cocos2d::CCPoint); - virtual void setUsePosScale(bool); -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager { - // virtual ~GJAccountManager(); - - static GJAccountManager* sharedState(); - - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - bool backupAccount(); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAccountDelegate(); - TodoReturn getAccountID(); - TodoReturn getAccountPassword(); - TodoReturn getAccountUserName(); - TodoReturn getBackupDelegate(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getGJP(); - TodoReturn getLoginDelegate(); - TodoReturn getRegisterDelegate(); - TodoReturn getSettingsDelegate(); - TodoReturn getSyncDelegate(); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - void linkToAccount(gd::string, gd::string, int, int); - void loginAccount(gd::string, gd::string); - TodoReturn onBackupAccountCompleted(gd::string, gd::string); - TodoReturn onLoginAccountCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRegisterAccountCompleted(gd::string, gd::string); - TodoReturn onSyncAccountCompleted(gd::string, gd::string); - TodoReturn onUpdateAccountSettingsCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string); - TodoReturn removeDLFromActive(char const*); - bool syncAccount(); - void unlinkFromAccount(); - void updateAccountSettings(int, int, gd::string); - - virtual bool init(); - virtual void setRegisterDelegate(GJAccountRegisterDelegate*); - virtual void setLoginDelegate(GJAccountLoginDelegate*); - virtual void setAccountDelegate(GJAccountDelegate*); - virtual void setBackupDelegate(GJAccountBackupDelegate*); - virtual void setSyncDelegate(GJAccountSyncDelegate*); - virtual void setSettingsDelegate(GJAccountSettingsDelegate*); -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJAccountSettingsLayer { - // virtual ~GJAccountSettingsLayer(); - - static GJAccountSettingsLayer* create(int); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float); - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn updateScoreValues(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError); -} - -[[link(android)]] -class GJBaseGameLayer { - // virtual ~GJBaseGameLayer(); - // GJBaseGameLayer(); - - TodoReturn calculateOpacityValues(EffectGameObject*, EffectGameObject*, float, GJEffectManager*); - TodoReturn createTextLayers(); - TodoReturn generateToggleData(cocos2d::CCArray*); - TodoReturn getBatchNode(); - TodoReturn getBatchNodeAdd(); - TodoReturn getBatchNodeAddBottom(); - TodoReturn getBatchNodeAddBottom2(); - TodoReturn getBatchNodeAddBottom2Glow(); - TodoReturn getBatchNodeAddBottomGlow(); - TodoReturn getBatchNodeAddGlow(); - TodoReturn getBatchNodeAddMid(); - TodoReturn getBatchNodeAddMidGlow(); - TodoReturn getBatchNodeAddPlayer(); - TodoReturn getBatchNodeAddText(); - TodoReturn getBatchNodeAddTop(); - TodoReturn getBatchNodeBottom(); - TodoReturn getBatchNodeBottom2(); - TodoReturn getBatchNodePlayer(); - TodoReturn getBatchNodeText(); - TodoReturn getCapacityString(); - TodoReturn getEffectBatchNode(); - TodoReturn getEffectBatchNodeAdd(); - TodoReturn getGameLayer(); - TodoReturn getLevelSettings(); - TodoReturn getPlayer(); - TodoReturn getPlayer2(); - TodoReturn getToggleDataDirty(); - bool isGroupDisabledForObject(GameObject*); - bool isGroupDisabledForObjectFull(GameObject*, cocos2d::CCArray*); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn processColorObject(EffectGameObject*, int, cocos2d::CCDictionary*, float, GJEffectManager*); - TodoReturn processOpacityObject(EffectGameObject*, cocos2d::CCDictionary*, float, GJEffectManager*); - TodoReturn setupLayers(); - TodoReturn updateLayerCapacity(gd::string); - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); - virtual TodoReturn timeForXPos(float); - virtual TodoReturn calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*); - virtual void setToggleDataDirty(bool); -} - -[[link(android)]] -class GJColorSetupLayer { - // virtual ~GJColorSetupLayer(); - // GJColorSetupLayer(); - - static GJColorSetupLayer* create(LevelSettingsObject*); - - TodoReturn getCloseOnSelect(); - TodoReturn getDelegate(); - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - TodoReturn showPage(int); - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); - virtual void setCloseOnSelect(bool); - virtual void setDelegate(ColorSetupDelegate*); -} - -[[link(android)]] -class GJComment { - // virtual ~GJComment(); - - static GJComment* create(); - static GJComment* create(cocos2d::CCDictionary*); - - TodoReturn getAccountID(); - TodoReturn getComment(); - TodoReturn getCommentDate(); - TodoReturn getCommentID(); - TodoReturn getDeleted(); - TodoReturn getDislikes(); - TodoReturn getIsHidden(); - TodoReturn getLevelID(); - TodoReturn getLikes(); - TodoReturn getUserID(); - TodoReturn getUserName(); - - virtual bool init(); - virtual void setComment(gd::string); - virtual void setUserName(gd::string); - virtual void setCommentID(long); - virtual void setUserID(int); - virtual void setLikes(int); - virtual void setDislikes(int); - virtual void setLevelID(int); - virtual void setIsHidden(bool); - virtual void setAccountID(int); - virtual void setCommentDate(gd::string); - virtual void setDeleted(bool); -} - -[[link(android)]] -class GJCommentListLayer { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float); - - TodoReturn getListView(); - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float); -} - -[[link(android)]] -class GJDropDownLayer { - // virtual ~GJDropDownLayer(); - // GJDropDownLayer(); - - static GJDropDownLayer* create(char const*, float); - static GJDropDownLayer* create(char const*); - - TodoReturn getDelegate(); - TodoReturn getHideBackButton(); - TodoReturn getInternalLayer(); - TodoReturn getRemoveOnExit(); - bool init(char const*, float); - bool init(char const*); - - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setHideBackButton(bool); - virtual void setRemoveOnExit(bool); - virtual void setDelegate(GJDropDownLayerDelegate*); -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJEffectManager { - // virtual ~GJEffectManager(); - - static GJEffectManager* create(); - - TodoReturn activeColorForIndex(int); - TodoReturn activeOpacityForIndex(int); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn addGroupPulseEffect(PulseEffectAction*); - TodoReturn calculateBaseActiveColors(); - TodoReturn calculateInheritedColor(int); - TodoReturn calculateLightBGColor(cocos2d::ccColor3B); - TodoReturn colorExists(int); - TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue); - TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool); - TodoReturn colorForIndex(int); - TodoReturn colorForPulseEffect(cocos2d::ccColor3B const&, PulseEffectAction*); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, bool, bool); - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - TodoReturn getAllDisabledGroups(); - TodoReturn getClkTimer(); - TodoReturn getColorAction(int); - TodoReturn getColorSprite(int); - TodoReturn getCurrentStateString(); - TodoReturn getDeltaMoveActionsDict(); - TodoReturn getLoadedMoveOffset(); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getPlayerXVelocity(); - TodoReturn getPlayerYVelocity(); - TodoReturn getSaveString(); - TodoReturn getSpawnDelegate(); - TodoReturn hasBeenTriggered(int); - TodoReturn hasPulseEffectForGroupID(int); - bool isGroupEnabled(int); - TodoReturn keyForGroupIDColor(int, cocos2d::ccColor3B const&, bool); - TodoReturn loadState(gd::string); - TodoReturn opacityForIndex(int); - TodoReturn opacityModForGroup(int); - TodoReturn prepareMoveActions(float); - TodoReturn processColors(); - TodoReturn processCopyColorPulseActions(); - TodoReturn processInheritedColors(); - TodoReturn processPulseActions(); - TodoReturn removeAllPulseActions(); - TodoReturn removeColorAction(int); - TodoReturn reset(); - TodoReturn resetColorCache(); - TodoReturn resetEffects(); - TodoReturn resetMoveActions(); - TodoReturn resetToggledGroups(); - TodoReturn resetTriggeredIDs(); - TodoReturn runOpacityActionOnGroup(int, float, float); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool); - void setColorAction(ColorAction*, int); - TodoReturn setupFromString(gd::string); - TodoReturn shouldBlend(int); - TodoReturn spawnGroup(int, float); - TodoReturn storeTriggeredID(int); - TodoReturn toggleGroup(int, bool); - TodoReturn traverseInheritanceChain(InheritanceNode*); - TodoReturn updateActiveOpacityEffects(); - TodoReturn updateColorEffects(float); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateEffects(float); - TodoReturn updateOpacityEffects(float); - TodoReturn updatePulseEffects(float); - TodoReturn updateSpawnTriggers(float); - TodoReturn wouldCreateLoop(InheritanceNode*, int); - - virtual bool init(); - virtual void setSpawnDelegate(SpawnTriggerDelegate*); - virtual void setClkTimer(float); - virtual void setPlayerXVelocity(float); - virtual void setPlayerYVelocity(float); -} - -[[link(android)]] -class GJFlyGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJFriendRequest { - // virtual ~GJFriendRequest(); - - static GJFriendRequest* create(); - static GJFriendRequest* create(cocos2d::CCDictionary*); - - TodoReturn getComment(); - TodoReturn getDate(); - TodoReturn getFromAccountID(); - TodoReturn getIsRead(); - TodoReturn getRequestID(); - TodoReturn getToAccountID(); - - virtual bool init(); - virtual void setRequestID(int); - virtual void setFromAccountID(int); - virtual void setToAccountID(int); - virtual void setComment(gd::string); - virtual void setDate(gd::string); - virtual void setIsRead(bool); -} - -[[link(android)]] -class GJGameLevel { - // virtual ~GJGameLevel(); - // GJGameLevel(); - - static GJGameLevel* create(); - static GJGameLevel* create(cocos2d::CCDictionary*, bool); - - TodoReturn areCoinsVerified(); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn getAccountID(); - TodoReturn getAttempts(); - TodoReturn getAudioFileName(); - TodoReturn getAudioTrack(); - TodoReturn getAutoLevel(); - TodoReturn getAverageDifficulty(); - TodoReturn getCapacityString(); - TodoReturn getCoin1Verified(); - TodoReturn getCoin2Verified(); - TodoReturn getCoin3Verified(); - TodoReturn getCoinKey(int); - TodoReturn getCoins(); - TodoReturn getCoinsVerified(); - TodoReturn getCompletes(); - TodoReturn getDemon(); - TodoReturn getDemonVotes(); - TodoReturn getDifficulty(); - TodoReturn getDislikes(); - TodoReturn getDontSave(); - TodoReturn getDownloads(); - TodoReturn getFailedPasswordAttempts(); - TodoReturn getFeatured(); - TodoReturn getGameVersion(); - TodoReturn getHasBeenModified(); - TodoReturn getIsEditable(); - TodoReturn getIsHidden(); - TodoReturn getIsUnlocked(); - TodoReturn getIsUploaded(); - TodoReturn getIsVerified(); - TodoReturn getJumps(); - TodoReturn getLastBuildGroupID(); - TodoReturn getLastBuildPage(); - TodoReturn getLastBuildPageForTab(int); - TodoReturn getLastBuildSave(); - TodoReturn getLastBuildTab(); - TodoReturn getLastCameraPos(); - TodoReturn getLastEditorZoom(); - TodoReturn getLengthKey(int); - TodoReturn getLevelDesc(); - TodoReturn getLevelID(); - TodoReturn getLevelLength(); - TodoReturn getLevelName(); - TodoReturn getLevelRev(); - TodoReturn getLevelString(); - TodoReturn getLevelType(); - TodoReturn getLevelVersion(); - TodoReturn getLikes(); - TodoReturn getM_ID(); - TodoReturn getMaxStarRatings(); - TodoReturn getMinStarRatings(); - TodoReturn getNormalPercent(); - TodoReturn getObjectCount(); - TodoReturn getOrder(); - TodoReturn getOriginalLevel(); - TodoReturn getPassword(); - TodoReturn getPracticePercent(); - TodoReturn getRateFeature(); - TodoReturn getRateStars(); - TodoReturn getRateUser(); - TodoReturn getRatings(); - TodoReturn getRatingsSum(); - TodoReturn getRecordString(); - TodoReturn getRequestedStars(); - TodoReturn getRequiredCoins(); - TodoReturn getShowedSongWarning(); - TodoReturn getSongID(); - TodoReturn getSongName(); - TodoReturn getStarRatings(); - TodoReturn getStarRatingsSum(); - TodoReturn getStars(); - TodoReturn getTempName(); - TodoReturn getTwoPlayerMode(); - TodoReturn getUnpackedLevelDescription(); - TodoReturn getUpdateDate(); - TodoReturn getUploadDate(); - TodoReturn getUserID(); - TodoReturn getUserName(); - TodoReturn getWasCheatReset(); - TodoReturn handleStatsConflict(GJGameLevel*); - TodoReturn lengthKeyToString(int); - TodoReturn levelWasAltered(); - TodoReturn levelWasSubmitted(); - TodoReturn savePercentage(int, bool); - void setLastBuildPageForTab(int, int); - void setNormalPercent(int); - TodoReturn unverifyCoins(); - - virtual TodoReturn encodeWithCoder(DS_Dictionary*); - virtual TodoReturn canEncode(); - virtual bool init(); - virtual void setLastBuildSave(cocos2d::CCDictionary*); - virtual void setLevelID(int); - virtual void setLevelName(gd::string); - virtual void setLevelDesc(gd::string); - virtual void setLevelString(gd::string); - virtual void setUserName(gd::string); - virtual void setRecordString(gd::string); - virtual void setUploadDate(gd::string); - virtual void setUpdateDate(gd::string); - virtual void setUserID(int); - virtual void setAccountID(int); - virtual void setDifficulty(int); - virtual void setAudioTrack(int); - virtual void setSongID(int); - virtual void setLevelRev(int); - virtual void setObjectCount(int); - virtual void setOrder(int); - virtual void setRatings(int); - virtual void setRatingsSum(int); - virtual void setDownloads(int); - virtual void setCompletes(int); - virtual void setIsEditable(bool); - virtual void setIsVerified(bool); - virtual void setIsUploaded(bool); - virtual void setHasBeenModified(bool); - virtual void setLevelVersion(int); - virtual void setGameVersion(int); - virtual void setAttempts(int); - virtual void setJumps(int); - virtual void setWasCheatReset(bool); - virtual void setPracticePercent(int); - virtual void setLikes(int); - virtual void setDislikes(int); - virtual void setLevelLength(int); - virtual void setFeatured(int); - virtual void setDemon(bool); - virtual void setStars(int); - virtual void setAutoLevel(bool); - virtual void setCoins(int); - virtual void setCoinsVerified(int); - virtual void setPassword(int); - virtual void setOriginalLevel(int); - virtual void setTwoPlayerMode(bool); - virtual void setFailedPasswordAttempts(int); - virtual void setCoin1Verified(int); - virtual void setCoin2Verified(int); - virtual void setCoin3Verified(int); - virtual void setRequestedStars(int); - virtual void setShowedSongWarning(bool); - virtual void setStarRatings(int); - virtual void setStarRatingsSum(int); - virtual void setMaxStarRatings(int); - virtual void setMinStarRatings(int); - virtual void setDemonVotes(int); - virtual void setRateStars(int); - virtual void setRateFeature(bool); - virtual void setRateUser(gd::string); - virtual void setDontSave(bool); - virtual void setIsHidden(bool); - virtual void setRequiredCoins(int); - virtual void setIsUnlocked(bool); - virtual void setLastCameraPos(cocos2d::CCPoint); - virtual void setLastEditorZoom(float); - virtual void setLastBuildTab(int); - virtual void setLastBuildPage(int); - virtual void setLastBuildGroupID(int); - virtual void setLevelType(GJLevelType); - virtual void setTempName(gd::string); - virtual void setCapacityString(gd::string); -} - -[[link(android)]] -class GJGarageLayer { - // virtual ~GJGarageLayer(); - // GJGarageLayer(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn checkBall(int); - TodoReturn checkBird(int); - TodoReturn checkColor(int, bool); - TodoReturn checkDart(int); - TodoReturn checkIcon(int); - TodoReturn checkRobot(int); - TodoReturn checkShip(int); - TodoReturn checkSpecial(int); - TodoReturn descriptionForUnlock(int, UnlockType); - TodoReturn getDoSelect(); - TodoReturn getLockFrame(int, UnlockType); - TodoReturn getRateSprite(); - TodoReturn node(); - void onBack(cocos2d::CCObject* sender); - void onBallIcon(cocos2d::CCObject* sender); - void onBirdIcon(cocos2d::CCObject* sender); - void onDartIcon(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onPlayerIcon(cocos2d::CCObject* sender); - void onRobotIcon(cocos2d::CCObject* sender); - void onSelectTab(cocos2d::CCObject* sender); - void onShipIcon(cocos2d::CCObject* sender); - void onSpecialIcon(cocos2d::CCObject* sender); - TodoReturn playRainbowEffect(); - TodoReturn playShadowEffect(); - TodoReturn scene(); - TodoReturn selectPage(IconType); - TodoReturn setupColorSelect(); - TodoReturn setupIconSelect(); - TodoReturn showUnlockPopup(int, UnlockType); - TodoReturn toggleGlow(); - TodoReturn updateColorSelect(cocos2d::CCNode*, bool); - TodoReturn updatePlayerColors(); - TodoReturn updatePlayerName(char const*); - TodoReturn updatePlayerSelect(cocos2d::CCNode*); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); - virtual TodoReturn updateRate(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setRateSprite(cocos2d::CCSprite*); -} - -[[link(android)]] -class GJGroundLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int, int); - - TodoReturn createLine(int); - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundSprite3(); - TodoReturn getGroundSprite4(); - TodoReturn getGroundWidth(); - TodoReturn getGroundY(); - TodoReturn getIsActive(); - TodoReturn getLine(); - TodoReturn hideShadows(); - bool init(int, int); - TodoReturn loadGroundSprites(int, bool); - TodoReturn positionGround(float); - TodoReturn updateGround01Color(cocos2d::ccColor3B); - TodoReturn updateGround02Color(cocos2d::ccColor3B); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(); - TodoReturn updateLineBlend(bool); - - virtual TodoReturn draw(); - virtual TodoReturn showGround(); - virtual TodoReturn fadeInGround(float); - virtual TodoReturn fadeOutGround(float); -} - -[[link(android)]] -class GJHttpResult { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - TodoReturn getRequestTag(); - TodoReturn getResult(); - TodoReturn getSuccess(); - TodoReturn getType(); - bool init(bool, gd::string, gd::string, GJHttpType); - - virtual void setSuccess(bool); - virtual void setResult(gd::string); - virtual void setRequestTag(gd::string); - virtual void setType(GJHttpType); -} - -[[link(android)]] -class GJListLayer { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float); - - TodoReturn getListView(); - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float); -} - -[[link(android)]] -class GJMapPack { - // virtual ~GJMapPack(); - // GJMapPack(); - - static GJMapPack* create(); - static GJMapPack* create(cocos2d::CCDictionary*); - - TodoReturn completedMaps(); - TodoReturn getColor1(); - TodoReturn getColor2(); - TodoReturn getM_ID(); - TodoReturn getPackCoins(); - TodoReturn getPackDifficulty(); - TodoReturn getPackID(); - TodoReturn getPackLevels(); - TodoReturn getPackName(); - TodoReturn getPackStars(); - TodoReturn hasCompletedMapPack(); - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - TodoReturn totalMaps(); - - virtual bool init(); - virtual void setPackID(int); - virtual void setPackDifficulty(int); - virtual void setPackStars(int); - virtual void setPackCoins(int); - virtual void setPackName(gd::string); - virtual void setPackLevels(gd::string); - virtual void setColor1(cocos2d::ccColor3B); - virtual void setColor2(cocos2d::ccColor3B); -} - -[[link(android)]] -class GJMessageCell { - // virtual ~GJMessageCell(); - GJMessageCell(char const*, float, float); - - void loadFromMessage(GJUserMessage*); - TodoReturn markAsRead(); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJMessagePopup { - // virtual ~GJMessagePopup(); - // GJMessagePopup(); - - static GJMessagePopup* create(GJUserMessage*); - - void blockUser(); - bool init(GJUserMessage*); - void loadFromGJMessage(GJUserMessage*); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJMoreGamesLayer { - // virtual ~GJMoreGamesLayer(); - - static GJMoreGamesLayer* create(); - - TodoReturn getMoreGamesList(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class GJMoveCommandLayer { - // virtual ~GJMoveCommandLayer(); - - static GJMoveCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEasing(cocos2d::CCObject* sender); - void onLockPlayerX(cocos2d::CCObject* sender); - void onLockPlayerY(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTouchTriggered(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJObjectDecoder { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder(); - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class GJOptionsLayer { - // virtual ~GJOptionsLayer(); - - static GJOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn setupOptions(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class GJRequestCell { - // virtual ~GJRequestCell(); - GJRequestCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - TodoReturn markAsRead(); - void onDeleteRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJRobotSprite { - // virtual ~GJRobotSprite(); - // GJRobotSprite(); - - static GJRobotSprite* create(); - - TodoReturn getFireBoostSprite(); - TodoReturn getHeadSprite(); - TodoReturn hideGlow(); - TodoReturn showGlow(); - TodoReturn updateColor01(cocos2d::ccColor3B); - TodoReturn updateColor02(cocos2d::ccColor3B); - TodoReturn updateColors(); - TodoReturn updateFrame(int); - TodoReturn updateGlowColor(cocos2d::ccColor3B, bool); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class GJRotationControl { - // virtual ~GJRotationControl(); - // GJRotationControl(); - - static GJRotationControl* create(); - - TodoReturn finishTouch(); - TodoReturn getDelegate(); - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void setDelegate(GJRotationControlDelegate*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControl { - // virtual ~GJScaleControl(); - - static GJScaleControl* create(); - - TodoReturn finishTouch(); - TodoReturn getDelegate(); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*); - TodoReturn scaleFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabel(float); - TodoReturn valueFromScale(float); - - virtual bool init(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void setDelegate(GJScaleControlDelegate*); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleChanged(float); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); -} - -[[link(android)]] -class GJScoreCell { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - void onBan(cocos2d::CCObject* sender); - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJSearchObject { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool); - static GJSearchObject* create(SearchType, gd::string); - static GJSearchObject* create(SearchType); - - TodoReturn createFromKey(char const*); - TodoReturn getCoins(); - TodoReturn getCustomSong(); - TodoReturn getDifficultyStr(); - TodoReturn getFeatured(); - TodoReturn getKey(); - TodoReturn getLengthStr(); - char const* getNextPageKey(); - GJSearchObject* getNextPageObject(); - TodoReturn getNoStar(); - TodoReturn getOriginal(); - TodoReturn getPage(); - GJSearchObject* getPrevPageObject(); - TodoReturn getSearchKey(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool); - TodoReturn getSong(); - TodoReturn getSongFilter(); - TodoReturn getStar(); - TodoReturn getString(); - TodoReturn getTotal(); - TodoReturn getTwoP(); - TodoReturn getType(); - TodoReturn getUncompleted(); - bool init(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool); - - virtual void setType(SearchType); - virtual void setString(gd::string); - virtual void setDifficultyStr(gd::string); - virtual void setLengthStr(gd::string); - virtual void setPage(int); - virtual void setStar(bool); - virtual void setNoStar(bool); - virtual void setTotal(int); - virtual void setUncompleted(bool); - virtual void setFeatured(bool); - virtual void setOriginal(bool); - virtual void setTwoP(bool); - virtual void setCoins(bool); - virtual void setSong(int); - virtual void setCustomSong(bool); - virtual void setSongFilter(bool); -} - -[[link(android)]] -class GJSongBrowser { - // virtual ~GJSongBrowser(); - // GJSongBrowser(); - - static GJSongBrowser* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - TodoReturn loadPage(int); - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual TodoReturn customSetup(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJSpecialColorSelect { - // virtual ~GJSpecialColorSelect(); - - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*); - - TodoReturn getButtonByTag(int); - TodoReturn highlightSelected(ButtonSprite*); - bool init(int, GJSpecialColorSelectDelegate*); - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - TodoReturn textForColorIdx(int); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class GJSpriteColor { - // virtual ~GJSpriteColor(); - - static GJSpriteColor* create(); - - TodoReturn getBaseOpacityMod(); - TodoReturn getColorMode(); - TodoReturn getCustomBlend(); - TodoReturn getCustomColor(); - TodoReturn getCustomColorMode(); - TodoReturn getCustomOpacityMod(); - TodoReturn getDefaultColorMode(); - TodoReturn getEnableHSV(); - TodoReturn getHSVValue(); - TodoReturn resetCustomColorMode(); - void setCustomColorMode(int); - void setDefaultColorMode(int); - - virtual bool init(); - virtual void setCustomOpacityMod(float); - virtual void setHSVValue(cocos2d::ccHSVValue); - virtual void setEnableHSV(bool); - virtual void setBaseOpacityMod(float); - virtual void setCustomBlend(bool); - virtual void setCustomColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class GJUserCell { - // virtual ~GJUserCell(); - GJUserCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - void onCancelFriendRequest(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJUserMessage { - // virtual ~GJUserMessage(); - - static GJUserMessage* create(); - static GJUserMessage* create(cocos2d::CCDictionary*); - - TodoReturn getAccountID(); - TodoReturn getBody(); - TodoReturn getDate(); - TodoReturn getIsRead(); - TodoReturn getIsSender(); - TodoReturn getIsToggled(); - TodoReturn getMessageID(); - TodoReturn getSubject(); - TodoReturn getUserID(); - TodoReturn getUserName(); - - virtual bool init(); - virtual void setMessageID(int); - virtual void setAccountID(int); - virtual void setUserID(int); - virtual void setSubject(gd::string); - virtual void setBody(gd::string); - virtual void setUserName(gd::string); - virtual void setDate(gd::string); - virtual void setIsRead(bool); - virtual void setIsSender(bool); - virtual void setIsToggled(bool); -} - -[[link(android)]] -class GJUserScore { - // virtual ~GJUserScore(); - // GJUserScore(); - - static GJUserScore* create(); - static GJUserScore* create(cocos2d::CCDictionary*); - - TodoReturn getAccIcon(); - TodoReturn getAccountID(); - TodoReturn getBall(); - TodoReturn getBird(); - TodoReturn getCoins(); - TodoReturn getColor1(); - TodoReturn getColor2(); - TodoReturn getDart(); - TodoReturn getDateString(); - TodoReturn getDemons(); - TodoReturn getFriendReqSetting(); - TodoReturn getFriendStatus(); - TodoReturn getGlobalRank(); - TodoReturn getGlow(); - TodoReturn getIcon(); - TodoReturn getIconType(); - TodoReturn getIsNewRelation(); - TodoReturn getIsToggled(); - TodoReturn getLevels(); - TodoReturn getMessageSetting(); - TodoReturn getNewFriends(); - TodoReturn getNewMessages(); - TodoReturn getNewRequests(); - TodoReturn getRank(); - TodoReturn getRobot(); - TodoReturn getScoreType(); - TodoReturn getShip(); - TodoReturn getSpecial(); - TodoReturn getStars(); - TodoReturn getStreak(); - TodoReturn getUserCoins(); - TodoReturn getUserID(); - TodoReturn getUserName(); - TodoReturn getUserUDID(); - TodoReturn getYtUsername(); - bool isCurrentUser(); - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init(); - virtual void setUserName(gd::string); - virtual void setUserUDID(gd::string); - virtual void setScoreType(GJScoreType); - virtual void setUserID(int); - virtual void setAccountID(int); - virtual void setStars(int); - virtual void setDemons(int); - virtual void setRank(int); - virtual void setLevels(int); - virtual void setCoins(int); - virtual void setUserCoins(int); - virtual void setIcon(int); - virtual void setColor1(int); - virtual void setColor2(int); - virtual void setSpecial(int); - virtual void setIconType(int); - virtual void setMessageSetting(int); - virtual void setFriendReqSetting(int); - virtual void setYtUsername(gd::string); - virtual void setAccIcon(int); - virtual void setShip(int); - virtual void setBall(int); - virtual void setBird(int); - virtual void setDart(int); - virtual void setRobot(int); - virtual void setStreak(int); - virtual void setGlow(bool); - virtual void setGlobalRank(int); - virtual void setFriendStatus(GJFriendStatus); - virtual void setNewMessages(int); - virtual void setNewRequests(int); - virtual void setNewFriends(int); - virtual void setIsNewRelation(bool); - virtual void setIsToggled(bool); - virtual void setDateString(gd::string); -} - -[[link(android)]] -class GJWriteMessagePopup { - // virtual ~GJWriteMessagePopup(); - // GJWriteMessagePopup(); - - static GJWriteMessagePopup* create(int, int); - - TodoReturn closeMessagePopup(bool); - bool init(int, int); - void onClearBody(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - TodoReturn updateBody(gd::string); - TodoReturn updateCharCountLabel(int); - TodoReturn updateSubject(gd::string); - TodoReturn updateText(gd::string, int); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GManager { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - TodoReturn getQuickSave(); - TodoReturn getSaveString(); - TodoReturn load(); - TodoReturn loadDataFromFile(gd::string); - void loadFromCompressedString(gd::string); - void loadFromString(gd::string); - TodoReturn save(); - TodoReturn saveData(DS_Dictionary*, gd::string); - TodoReturn saveGMTo(gd::string); - TodoReturn tryLoadData(DS_Dictionary*, gd::string); - - virtual bool init(); - virtual TodoReturn setup(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setQuickSave(bool); -} - -[[link(android)]] -class GooglePlayDelegate { - virtual TodoReturn googlePlaySignedIn(); -} - -[[link(android)]] -class GooglePlayManager { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState(); - - TodoReturn getDelegate(); - TodoReturn getDelegate2(); - TodoReturn googlePlaySignedIn(); - - virtual bool init(); - virtual void setDelegate(GooglePlayDelegate*); - virtual void setDelegate2(GooglePlayDelegate*); -} - -[[link(android)]] -class GravityEffectSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create(); - - TodoReturn updateSpritesColor(cocos2d::ccColor3B); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class GroupCommandObject { - // virtual ~GroupCommandObject(); - // GroupCommandObject(); - - static GroupCommandObject* create(); - - TodoReturn createFromString(gd::string); - TodoReturn easeToText(int); - TodoReturn getDeltaTime(); - TodoReturn getDeltaValue(); - TodoReturn getDuration(); - TodoReturn getEasedAction(cocos2d::CCActionInterval*, int); - TodoReturn getEasing(); - TodoReturn getIsFinished(); - TodoReturn getLastRound(); - TodoReturn getLockX(); - TodoReturn getLockY(); - TodoReturn getSaveString(); - TodoReturn getTarget(); - TodoReturn getTargetGroupID(); - TodoReturn getTotalValue(); - TodoReturn getValue(); - TodoReturn resetDelta(); - TodoReturn runMoveCommand(cocos2d::CCPoint, float, int, bool, bool); - TodoReturn step(float); - - virtual bool init(); - virtual TodoReturn updateTweenAction(float, char const*); - virtual void setTarget(cocos2d::CCPoint); - virtual void setEasing(int); - virtual void setDuration(float); - virtual void setDeltaTime(float); - virtual void setTargetGroupID(int); - virtual void setValue(cocos2d::CCPoint); - virtual void setDeltaValue(cocos2d::CCPoint); - virtual void setTotalValue(cocos2d::CCPoint); - virtual void setIsFinished(bool); - virtual void setLastRound(bool); - virtual void setLockX(bool); - virtual void setLockY(bool); -} - -[[link(android)]] -class HardStreak { - // virtual ~HardStreak(); - - static HardStreak* create(); - - TodoReturn addPoint(cocos2d::CCPoint); - TodoReturn clearBehindXPos(float); - void firstSetup(); - TodoReturn getDisableDual(); - TodoReturn getEndPoint(); - TodoReturn getStrokeScale(); - TodoReturn getStrokeScaleMod(); - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - TodoReturn reset(); - TodoReturn resumeStroke(); - TodoReturn stopStroke(); - TodoReturn updateStroke(float); - - virtual bool init(); - virtual void setEndPoint(cocos2d::CCPoint); - virtual void setStrokeScale(float); - virtual void setStrokeScaleMod(float); - virtual void setDisableDual(bool); -} - -[[link(android)]] -class HSVWidgetPopup { - // virtual ~HSVWidgetPopup(); - - static HSVWidgetPopup* create(cocos2d::ccHSVValue, HSVWidgetPopupDelegate*, gd::string); - - bool init(cocos2d::ccHSVValue, HSVWidgetPopupDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class HSVWidgetPopupDelegate { - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class InfoAlertButton { - // virtual ~InfoAlertButton(); - - static InfoAlertButton* create(gd::string, gd::string, float); - - bool init(gd::string, gd::string, float); - - virtual TodoReturn activate(); -} - -[[link(android)]] -class InfoLayer { - // virtual ~InfoLayer(); - // InfoLayer(); - - static InfoLayer* create(GJGameLevel*); - - TodoReturn confirmReport(cocos2d::CCObject*); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(GJGameLevel*); - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - void onGetComments(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - void setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCNode*); - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class InheritanceNode { - // virtual ~InheritanceNode(); - - static InheritanceNode* create(int, InheritanceNode*); - - TodoReturn getIndex(); - TodoReturn getIsStart(); - TodoReturn getTarget(); - bool init(int, InheritanceNode*); - - virtual void setIndex(int); - virtual void setTarget(InheritanceNode*); - virtual void setIsStart(bool); -} - -[[link(android)]] -class KeybindingsLayer { - // virtual ~KeybindingsLayer(); - - static KeybindingsLayer* create(); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState(); - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getCommandToKeyDict(); - TodoReturn getKeyToCommandDict(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); - virtual void setKeyToCommandDict(cocos2d::CCDictionary*); - virtual void setCommandToKeyDict(cocos2d::CCDictionary*); -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); -} - -[[link(android)]] -class LeaderboardsLayer { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState); - - bool init(LeaderboardState); - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn refreshTabs(); - TodoReturn scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); -} - -[[link(android)]] -class LevelBrowserLayer { - // virtual ~LevelBrowserLayer(); - // LevelBrowserLayer(); - - static LevelBrowserLayer* create(GJSearchObject*); - - bool init(GJSearchObject*); - bool isCorrect(char const*); - TodoReturn loadPage(GJSearchObject*); - void onBack(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onMyOnlineLevels(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender); - TodoReturn scene(GJSearchObject*); - void setSearchObject(GJSearchObject*); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual TodoReturn onEnter(); - virtual TodoReturn onEnterTransitionDidFinish(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLevelsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float); - - TodoReturn loadCustomLevelCell(); - void loadFromLevel(GJGameLevel*); - TodoReturn loadLocalLevelCell(); - void onClick(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class LevelCommentDelegate { - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); -} - -[[link(android)]] -class LevelEditorLayer { - // virtual ~LevelEditorLayer(); - // LevelEditorLayer(); - - static LevelEditorLayer* create(GJGameLevel*); - - TodoReturn addObjectFromString(gd::string); - TodoReturn addObjectsRecursiveFromArray(cocos2d::CCArray*, int); - TodoReturn addSpecial(GameObject*); - TodoReturn addToGroup(GameObject*, int); - TodoReturn addToGroup(GameObject*); - TodoReturn addToRedoList(UndoObject*); - TodoReturn addToSection(GameObject*); - TodoReturn addToUndoList(UndoObject*, bool); - TodoReturn animateInDualGround(GameObject*, float, bool); - TodoReturn breakApartTextObject(GameObject*); - TodoReturn canPasteState(); - TodoReturn checkCollisions(PlayerObject*, float); - TodoReturn checkSpawnObjects(); - TodoReturn copyObjectState(GameObject*); - TodoReturn createBackground(); - TodoReturn createGroundLayer(); - TodoReturn createObject(int, cocos2d::CCPoint, bool); - TodoReturn createObjectsFromSetup(gd::string); - TodoReturn createObjectsFromString(gd::string, bool); - TodoReturn dirtifyTriggers(); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn getAllObjects(); - TodoReturn getClkTimer(); - TodoReturn getCoinCount(); - TodoReturn getDontApplyLayerFilter(); - TodoReturn getDualMode(); - TodoReturn getGridLayer(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int); - TodoReturn getGroupIDFilter(); - TodoReturn getLastObjectX(); - TodoReturn getLevel(); - TodoReturn getLevelDistance(); - TodoReturn getLevelString(); - TodoReturn getMaxPortalY(); - TodoReturn getMinPortalY(); - TodoReturn getNextColorChannel(); - TodoReturn getNextFreeGroupID(); - TodoReturn getObjectCount(); - TodoReturn getObjectRect(GameObject*, bool); - TodoReturn getOldLevelString(); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getPlayerState(); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSectionCount(); - TodoReturn getUILayer(); - TodoReturn handleAction(bool, cocos2d::CCArray*); - TodoReturn hasAction(bool); - bool init(GJGameLevel*); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn objectMoved(GameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect, bool); - TodoReturn onPausePlaytest(); - TodoReturn onPlaytest(); - TodoReturn onResumePlaytest(); - TodoReturn onStopPlaytest(); - TodoReturn pasteAtributeState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*); - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playMusic(); - TodoReturn preloadMoveActions(); - TodoReturn processLoadedMoveActions(); - TodoReturn processMoveActionsStep(); - TodoReturn pushButton(int, bool); - TodoReturn recreateGroups(); - TodoReturn redoLastAction(); - TodoReturn releaseButton(int, bool); - TodoReturn removeAllObjects(); - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeBackground(); - TodoReturn removeFromGroup(GameObject*, int); - TodoReturn removeFromGroup(GameObject*); - TodoReturn removeGroundLayer(); - TodoReturn removeObject(GameObject*, bool); - TodoReturn removeObjectFromSection(GameObject*); - TodoReturn removePlayer2(); - TodoReturn removeSpecial(GameObject*); - TodoReturn reorderObjectSection(GameObject*); - TodoReturn resetMovingObjects(); - TodoReturn resetObjectVector(); - TodoReturn resetUnusedColorChannels(); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn scene(GJGameLevel*); - TodoReturn sectionForPos(float); - void setStartPosObject(StartPosObject*); - TodoReturn setupLevelStart(LevelSettingsObject*); - TodoReturn shouldBlend(int); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnGroup(int, float); - TodoReturn spawnPlayer2(); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRobotMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool); - TodoReturn toggleGrid(bool); - TodoReturn toggleGround(bool); - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn undoLastAction(); - TodoReturn updateDualGround(PlayerObject*, int, bool); - TodoReturn updateEditorMode(); - TodoReturn updateGameObjects(); - TodoReturn updateGround(float); - TodoReturn updateGroundWidth(); - TodoReturn updateLevelColors(); - TodoReturn updateLevelFont(int); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateTimeMod(float, bool); - TodoReturn updateVisibility(float); - TodoReturn validGroup(GameObject*); - TodoReturn willSwitchToMode(int, PlayerObject*); - - virtual TodoReturn update(float); - virtual TodoReturn draw(); - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); - virtual TodoReturn timeForXPos(float); - virtual TodoReturn calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*); - virtual TodoReturn levelSettingsUpdated(); - virtual void setDontApplyLayerFilter(bool); - virtual void setGroupIDFilter(int); - virtual void setObjectCount(int); -} - -[[link(android)]] -class LevelFeatureLayer { - // virtual ~LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer { - // virtual ~LevelInfoLayer(); - // LevelInfoLayer(); - - static LevelInfoLayer* create(GJGameLevel*); - - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - void downloadLevel(); - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateStars(cocos2d::CCObject* sender); - void onRateStarsMod(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - void setupLevelInfo(); - void setupProgressBars(); - TodoReturn shouldDownloadLevel(); - TodoReturn showSongWarning(); - TodoReturn showUpdateAlert(UpdateResponse); - TodoReturn tryCloneLevel(cocos2d::CCObject*); - TodoReturn updateLabelValues(); - TodoReturn updateSideButtons(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn numberInputClosed(NumberInputLayer*); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); - virtual TodoReturn rateLevelClosed(); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelManagerDelegate { - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLevelsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class LevelPage { - // virtual ~LevelPage(); - // LevelPage(); - - static LevelPage* create(GJGameLevel*); - - TodoReturn addSecretCoin(); - bool init(GJGameLevel*); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn updateDynamicPage(GJGameLevel*); - - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); -} - -[[link(android)]] -class LevelSearchLayer { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(); - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - TodoReturn confirmClearFilters(cocos2d::CCObject*); - char const* getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - TodoReturn getSearchObject(SearchType, gd::string); - TodoReturn getTimeKey(int); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onLatestStars(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender); - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender); - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSearchUser(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - TodoReturn toggleStar(cocos2d::CCObject*); - TodoReturn toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class LevelSelectLayer { - // virtual ~LevelSelectLayer(); - - static LevelSelectLayer* create(int); - - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual TodoReturn levelSettingsUpdated(); -} - -[[link(android)]] -class LevelSettingsLayer { - // virtual ~LevelSettingsLayer(); - // LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn getDelegate(); - bool init(LevelSettingsObject*, LevelEditorLayer*); - void on3DLine(cocos2d::CCObject* sender); - void onBG(cocos2d::CCObject* sender); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCol(cocos2d::CCObject* sender); - void onDualMode(cocos2d::CCObject* sender); - void onG(cocos2d::CCObject* sender); - void onG2(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onGravityFlipped(cocos2d::CCObject* sender); - void onLine(cocos2d::CCObject* sender); - void onMiniMode(cocos2d::CCObject* sender); - void onObj(cocos2d::CCObject* sender); - void onOpenCustomSong(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onTwoPlayerMode(cocos2d::CCObject* sender); - void onTwoPlayerModeInfo(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn showCustomSongSelect(); - TodoReturn showPicker(int, ColorAction*); - TodoReturn updateAudioLabel(); - TodoReturn updateColorSprite(ColorChannelSprite*); - TodoReturn updateColorSprites(); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn colorSelectClosed(ColorSelectPopup*); - virtual TodoReturn customSongLayerClosed(); - virtual TodoReturn selectArtClosed(SelectArtLayer*); - virtual void setDelegate(LevelSettingsDelegate*); -} - -[[link(android)]] -class LevelSettingsObject { - // virtual ~LevelSettingsObject(); - - static LevelSettingsObject* create(); - - TodoReturn getBGIdx(); - TodoReturn getColorManager(); - TodoReturn getFadeIn(); - TodoReturn getFadeOut(); - TodoReturn getFontIdx(); - TodoReturn getGIdx(); - TodoReturn getGLineIdx(); - TodoReturn getGravityFlipped(); - TodoReturn getIsLimited(); - TodoReturn getLastColorPage(); - TodoReturn getLevel(); - TodoReturn getSaveString(); - TodoReturn getSongChanged(); - TodoReturn getSongOffset(); - TodoReturn getSongString(); - TodoReturn getStartDualMode(); - TodoReturn getStartMiniMode(); - TodoReturn getStartMode(); - TodoReturn getStartSpeed(); - TodoReturn getTwoPlayerMode(); - TodoReturn objectFromDict(cocos2d::CCDictionary*); - TodoReturn objectFromString(gd::string); - TodoReturn offsetMusic(); - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - - virtual bool init(); - virtual void setColorManager(GJEffectManager*); - virtual void setStartMode(int); - virtual void setStartSpeed(int); - virtual void setStartMiniMode(bool); - virtual void setStartDualMode(bool); - virtual void setTwoPlayerMode(bool); - virtual void setSongOffset(float); - virtual void setFadeIn(bool); - virtual void setFadeOut(bool); - virtual void setBGIdx(int); - virtual void setGIdx(int); - virtual void setFontIdx(int); - virtual void setIsLimited(bool); - virtual void setGravityFlipped(bool); - virtual void setLevel(GJGameLevel*); - virtual void setSongString(gd::string); - virtual void setSongChanged(bool); - virtual void setLastColorPage(int); - virtual void setGLineIdx(int); -} - -[[link(android)]] -class LevelTools { - TodoReturn artistForAudio(int); - TodoReturn base64DecodeString(gd::string); - TodoReturn base64EncodeString(gd::string); - TodoReturn createOldStarLevelDict(); - TodoReturn createStarLevelDict(); - TodoReturn createStarPackDict(); - TodoReturn distanceFromXPosForDuration(float, float, float, cocos2d::CCArray*, int); - TodoReturn fbURLForArtist(int); - TodoReturn getAudioBPM(int); - TodoReturn getAudioFileName(int); - TodoReturn getAudioString(int); - TodoReturn getAudioTitle(int); - TodoReturn getLevel(int, bool); - TodoReturn getSongObject(int); - TodoReturn nameForArtist(int); - TodoReturn ngURLForArtist(int); - TodoReturn offsetBPMForTrack(int); - TodoReturn timeForXPos(float, cocos2d::CCArray*, int); - TodoReturn urlForAudio(int); - TodoReturn verifyLevelIntegrity(gd::string, int); - TodoReturn xPosForTime(float, cocos2d::CCArray*, int); - TodoReturn ytURLForArtist(int); -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); -} - -[[link(android)]] -class LevelUploadDelegate { - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class LikeItemDelegate { - virtual TodoReturn likedItem(LikeItemType, int, bool); -} - -[[link(android)]] -class LikeItemLayer { - // virtual ~LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int, int); - - TodoReturn getDelegate(); - bool init(LikeItemType, int, int); - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - TodoReturn triggerLike(bool); - - virtual TodoReturn keyBackClicked(); - virtual void setDelegate(LikeItemDelegate*); -} - -[[link(android)]] -class ListButtonBar { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getDelegate(); - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - - virtual void setDelegate(ListButtonBarDelegate*); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - void loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class LoadingCircle { - // virtual ~LoadingCircle(); - - static LoadingCircle* create(); - - TodoReturn fadeAndRemove(); - TodoReturn getCircle(); - TodoReturn getDarkOverlay(); - TodoReturn getTargetScene(); - TodoReturn show(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual void setTargetScene(cocos2d::CCNode*); - virtual void setDarkOverlay(bool); -} - -[[link(android)]] -class LoadingLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool); - - TodoReturn getLoadingString(); - bool init(bool); - TodoReturn loadAssets(); - TodoReturn loadingFinished(); - TodoReturn scene(bool); - TodoReturn updateProgress(int); -} - -[[link(android)]] -class LocalLevelManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState(); - - TodoReturn getAllLevelsInDict(); - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getLevelsInNameGroups(); - TodoReturn getLoadString(int); - TodoReturn getLocalLevels(); - TodoReturn getMainLevelString(int); - TodoReturn markLevelsAsUnmodified(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn reorderLevels(); - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - virtual void setLocalLevels(cocos2d::CCArray*); -} - -[[link(android)]] -class MapPackCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - void loadFromMapPack(GJMapPack*); - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn playCompleteEffect(); - TodoReturn reloadCell(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class MenuGameLayer { - // virtual ~MenuGameLayer(); - // MenuGameLayer(); - - static MenuGameLayer* create(); - - TodoReturn destroyPlayer(); - TodoReturn getBGColor(int); - TodoReturn resetPlayer(); - TodoReturn tryJump(float); - TodoReturn updateColor(float); - TodoReturn updateColors(); - - virtual TodoReturn update(float); - virtual bool init(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); -} - -[[link(android)]] -class MenuLayer { - // virtual ~MenuLayer(); - - TodoReturn endGame(); - TodoReturn node(); - void onAchievements(cocos2d::CCObject* sender); - void onCreator(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender); - void onMyProfile(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onStats(cocos2d::CCObject* sender); - void onTrailer(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn openOptions(bool); - TodoReturn scene(bool); - TodoReturn showGCQuestion(); - TodoReturn showPirateMessage(); - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn updateUserProfileButton(); - TodoReturn willClose(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn googlePlaySignedIn(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MessageListDelegate { - virtual TodoReturn loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadMessagesFailed(char const*, GJErrorCode); - virtual TodoReturn forceReloadMessages(bool); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class MessagesProfilePage { - // virtual ~MessagesProfilePage(); - // MessagesProfilePage(); - - static MessagesProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool); - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentMessages(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadMessagesFailed(char const*, GJErrorCode); - virtual TodoReturn forceReloadMessages(bool); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class MoreOptionsLayer { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn googlePlaySignedIn(); -} - -[[link(android)]] -class MoreSearchLayer { - // virtual ~MoreSearchLayer(); - - static MoreSearchLayer* create(); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender); - void onCoins(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class MoreVideoOptionsLayer { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class MultilineBitmapFont { - // virtual ~MultilineBitmapFont(); - // MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn getIgnoreColorCode(); - TodoReturn getSizeWidth(); - TodoReturn getTextHeight(); - TodoReturn getTextPos(); - TodoReturn getTextWidth(); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char); - virtual void setIgnoreColorCode(bool); -} - -[[link(android)]] -class MusicDelegateHandler { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - TodoReturn getDelegate(); - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(SongInfoObject*); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); -} - -[[link(android)]] -class MusicDownloadManager { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState(); - - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn addSongObjectFromString(gd::string); - TodoReturn clearSong(int); - TodoReturn clearUnusedSongs(); - TodoReturn createSongsInfo(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - void deleteSong(int); - TodoReturn downloadSong(int); - TodoReturn downloadSongFailed(int, GJSongError); - TodoReturn downloadSongFinished(SongInfoObject*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAllSongs(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadedSongsDict(); - TodoReturn getDownloadProgress(int); - TodoReturn getSongDownloadKey(int); - void getSongInfo(int, bool); - TodoReturn getSongInfoKey(int); - TodoReturn getSongInfoObject(int); - TodoReturn getSongPriority(); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const*); - bool isRunningActionForSongID(int); - bool isSongDownloaded(int); - void limitDownloadedSongs(); - TodoReturn loadSongInfoFailed(int, GJSongError); - TodoReturn loadSongInfoFinished(SongInfoObject*); - TodoReturn onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onGetSongInfoCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn pathForSong(int); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - static cocos2d::CCDictionary* responseToDict(gd::string, char const*); - TodoReturn showTOS(FLAlertLayerProtocol*); - TodoReturn songStateChanged(); - TodoReturn stopDownload(int); - - virtual bool init(); - virtual void setDownloadedSongsDict(cocos2d::CCDictionary*); -} - -[[link(android)]] -class MyLevelsLayer { - // virtual ~MyLevelsLayer(); - - static MyLevelsLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn setupLevelBrowser(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class NodePoint { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - TodoReturn getPoint(); - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class NumberInputLayer { - // virtual ~NumberInputLayer(); - - static NumberInputLayer* create(); - - TodoReturn deleteLast(); - TodoReturn getDelegate(); - TodoReturn getMaxNumbers(); - TodoReturn getMinNumbers(); - TodoReturn getNumberString(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init(); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual void setMinNumbers(int); - virtual void setMaxNumbers(int); - virtual void setDelegate(NumberInputDelegate*); -} - -[[link(android)]] -class OBB2D { - // virtual ~OBB2D(); - // OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float); - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn computeAxes(); - TodoReturn getBoundingRect(); - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners(); - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - TodoReturn getDelegate(); - - virtual bool init(); - virtual void setDelegate(ObjectDecoderDelegate*); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*); - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance(); - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState(); - - TodoReturn allKeys(); - TodoReturn frameToKey(char const*); - TodoReturn gridNodeSizeForKey(int); - TodoReturn intKeyToFrame(int); - TodoReturn keyToFrame(char const*); - TodoReturn perspectiveBlockFrame(int); - - virtual bool init(); -} - -[[link(android)]] -class OpacityEffectAction { - // virtual ~OpacityEffectAction(); - - static OpacityEffectAction* create(float, float, float, int); - - TodoReturn createFromString(gd::string); - TodoReturn getDeltaTime(); - TodoReturn getOpacity(); - TodoReturn getSaveString(); - TodoReturn getTargetID(); - bool init(float, float, float, int); - TodoReturn step(float); - - virtual void setDeltaTime(float); - virtual void setTargetID(int); -} - -[[link(android)]] -class OptionsLayer { - // virtual ~OptionsLayer(); - - static OptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*); - void onAccount(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender); - void onSoundtracks(cocos2d::CCObject* sender); - void onSupport(cocos2d::CCObject* sender); - void onVideo(cocos2d::CCObject* sender); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryEnableRecord(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class PauseLayer { - // virtual ~PauseLayer(); - // PauseLayer(); - - static PauseLayer* create(bool); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn goEdit(); - bool init(bool); - TodoReturn musicSliderChanged(cocos2d::CCObject*); - void onAutoCheckpoints(cocos2d::CCObject* sender); - void onAutoRetry(cocos2d::CCObject* sender); - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender); - void onPracticeMode(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onTime(cocos2d::CCObject* sender); - void setupProgressBars(); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryShowBanner(float); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual TodoReturn downloadFinished(char const*); - virtual TodoReturn downloadFailed(char const*); -} - -[[link(android)]] -class PlatformToolbox { - TodoReturn activateGameCenter(); - TodoReturn doesFileExist(gd::string); - TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - TodoReturn gameDidSave(); - TodoReturn getDisplaySize(); - TodoReturn getRawPath(char const*); - TodoReturn getUniqueUserID(); - TodoReturn getUserID(); - TodoReturn hideCursor(); - bool isControllerConnected(); - bool isHD(); - bool isLocalPlayerAuthenticated(); - bool isLowMemoryDevice(); - bool isNetworkAvailable(); - bool isSignedInGooglePlay(); - TodoReturn loadAndDecryptFileToString(char const*, char const*); - TodoReturn logEvent(char const*); - TodoReturn onGameLaunch(); - TodoReturn onNativePause(); - TodoReturn onNativeResume(); - TodoReturn onToggleKeyboard(); - TodoReturn openAppPage(); - TodoReturn platformShutdown(); - TodoReturn refreshWindow(); - TodoReturn reportAchievementWithID(char const*, int); - TodoReturn reportLoadingFinished(); - TodoReturn resizeWindow(float, float); - TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - TodoReturn sendMail(char const*, char const*, char const*); - void setBlockBackButton(bool); - void setKeyboardState(bool); - TodoReturn shouldResumeSound(); - TodoReturn showAchievements(); - TodoReturn showCursor(); - TodoReturn signInGooglePlay(); - TodoReturn signOutGooglePlay(); - TodoReturn spriteFromSavedFile(gd::string); - TodoReturn toggleCallGLFinish(bool); - TodoReturn toggleCPUSleepMode(bool); - TodoReturn toggleForceTimer(bool); - TodoReturn toggleFullScreen(bool); - TodoReturn toggleMouseControl(bool); - TodoReturn toggleSmoothFix(bool); - TodoReturn toggleVerticalSync(bool); - TodoReturn tryShowRateDialog(gd::string); - TodoReturn updateMouseControl(); - TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint { - // virtual ~PlayerCheckpoint(); - // PlayerCheckpoint(); - - static PlayerCheckpoint* create(); - - TodoReturn getBirdMode(); - TodoReturn getCanJump(); - TodoReturn getDartMode(); - TodoReturn getFlipGravity(); - TodoReturn getFlyMode(); - TodoReturn getGhostType(); - TodoReturn getIsScaled(); - TodoReturn getPlayerPos(); - TodoReturn getPlayerYVel(); - TodoReturn getRobotMode(); - TodoReturn getRollMode(); - TodoReturn getTimeMod(); - - virtual bool init(); - virtual void setPlayerPos(cocos2d::CCPoint); - virtual void setPlayerYVel(float); - virtual void setFlipGravity(bool); - virtual void setFlyMode(bool); - virtual void setRollMode(bool); - virtual void setBirdMode(bool); - virtual void setDartMode(bool); - virtual void setRobotMode(bool); - virtual void setCanJump(bool); - virtual void setGhostType(int); - virtual void setIsScaled(bool); - virtual void setTimeMod(float); -} - -[[link(android)]] -class PlayerObject : GameObject { - // virtual ~PlayerObject(); - // PlayerObject(); - - static PlayerObject* create(int, int, cocos2d::CCLayer*); - - TodoReturn activateStreak(); - TodoReturn addAllParticles(); - TodoReturn boostPlayer(float); - TodoReturn buttonDown(PlayerButton); - TodoReturn checkSnapJumpToObject(GameObject*); - TodoReturn collidedWithObject(float, GameObject*, cocos2d::CCRect); - TodoReturn collidedWithObject(float, GameObject*); - TodoReturn collidedWithSlope(float, GameObject*, bool); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - TodoReturn deactivateParticle(); - TodoReturn deactivateStreak(); - TodoReturn fadeOutStreak2(float); - TodoReturn flipGravity(bool, bool); - TodoReturn flipMod(); - TodoReturn getAudioScale(); - TodoReturn getBirdMode(); - TodoReturn getCanJump(); - TodoReturn getClkTimer(); - TodoReturn getCurrentIcon(); - TodoReturn getDartMode(); - TodoReturn getDidStick(); - TodoReturn getDisableEffects(); - TodoReturn getDualMode(); - TodoReturn getFlyMode(); - TodoReturn getGameLayer(); - TodoReturn getGlowColor1(); - TodoReturn getGlowColor2(); - TodoReturn getGravityFlipped(); - TodoReturn getGroundHeight(); - TodoReturn getHasJumped(); - TodoReturn getHasRingJumped(); - TodoReturn getIsDead(); - TodoReturn getIsJumping(); - TodoReturn getIsLocked(); - TodoReturn getIsSecondPlayer(); - TodoReturn getLastGroundObject(); - TodoReturn getLastGroundPos(); - TodoReturn getLastP(); - TodoReturn getLastYVel(); - TodoReturn getModifiedSlopeYVel(); - TodoReturn getOnGround(); - TodoReturn getOnSlope(); - TodoReturn getPlayerScale(); - TodoReturn getPlayerXVelocity(); - TodoReturn getPortalObject(); - TodoReturn getPortalP(); - TodoReturn getRealPlayerPos(); - TodoReturn getRobotMode(); - TodoReturn getRollMode(); - TodoReturn getSecondColor(); - TodoReturn getSlopeYVel(); - TodoReturn getTimeMod(); - TodoReturn getTookDamage(); - TodoReturn getTouchedRing(); - TodoReturn getUpKeyDown(); - TodoReturn getUpKeyPressed(); - TodoReturn getWasOnSlope(); - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(bool); - TodoReturn incrementJumps(); - bool init(int, int, cocos2d::CCLayer*); - bool isBoostValid(float); - bool isFlying(); - bool isSafeFlip(float); - bool isSafeMode(float); - TodoReturn levelFlipFinished(); - TodoReturn levelFlipping(); - TodoReturn levelWillFlip(); - void loadFromCheckpoint(PlayerCheckpoint*); - TodoReturn lockPlayer(); - TodoReturn logValues(); - TodoReturn placeStreakPoint(); - TodoReturn playBurstEffect(); - TodoReturn playerDestroyed(bool); - TodoReturn playerIsFalling(); - TodoReturn playerTeleported(); - TodoReturn postCollision(float); - TodoReturn preCollision(); - TodoReturn preSlopeCollision(float, GameObject*); - TodoReturn propellPlayer(float); - TodoReturn pushButton(PlayerButton); - TodoReturn pushDown(); - TodoReturn pushPlayer(float); - TodoReturn releaseButton(PlayerButton); - TodoReturn removeAllParticles(); - TodoReturn removePendingCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(); - TodoReturn resetPlayerIcon(); - TodoReturn resetStreak(); - TodoReturn ringJump(); - TodoReturn runBallRotation(float); - TodoReturn runBallRotation2(); - TodoReturn runNormalRotation(); - TodoReturn runRotateAction(bool); - TodoReturn saveToCheckpoint(PlayerCheckpoint*); - void setSecondColor(cocos2d::ccColor3B const&); - TodoReturn setupStreak(); - TodoReturn spawnCircle(); - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*); - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float); - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - TodoReturn stopBurstEffect(); - TodoReturn stopRotation(bool); - TodoReturn storeCollision(bool, int); - TodoReturn switchedToMode(GameObjectType); - TodoReturn testForMoving(float, GameObject*); - TodoReturn toggleBirdMode(bool); - TodoReturn toggleDartMode(bool); - TodoReturn toggleFlyMode(bool); - TodoReturn toggleGhostEffect(GhostType); - TodoReturn togglePlayerScale(bool); - TodoReturn toggleRobotMode(bool); - TodoReturn toggleRollMode(bool); - TodoReturn touchedObject(GameObject*); - TodoReturn tryPlaceCheckpoint(); - TodoReturn updateCheckpointTest(); - TodoReturn updateCollide(bool, int); - TodoReturn updateCollideBottom(float, int); - TodoReturn updateCollideTop(float, int); - TodoReturn updateGlowColor(); - TodoReturn updateJump(float); - TodoReturn updatePlayerBirdFrame(int); - TodoReturn updatePlayerDartFrame(int); - TodoReturn updatePlayerFrame(int); - TodoReturn updatePlayerGlow(); - TodoReturn updatePlayerRobotFrame(int); - TodoReturn updatePlayerRollFrame(int); - TodoReturn updatePlayerScale(); - TodoReturn updatePlayerShipFrame(int); - TodoReturn updateRobotAnimationSpeed(); - TodoReturn updateRotation(float, float); - TodoReturn updateRotation(float); - TodoReturn updateShipRotation(float); - TodoReturn updateSlopeRotation(float); - TodoReturn updateSlopeYVelocity(float); - TodoReturn updateTimeMod(float); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual TodoReturn update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn getRealPosition(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn animationFinished(char const*); - virtual void setTookDamage(bool); - virtual void setOnSlope(bool); - virtual void setWasOnSlope(bool); - virtual void setLastP(cocos2d::CCPoint); - virtual void setPortalP(cocos2d::CCPoint); - virtual void setGameLayer(cocos2d::CCLayer*); - virtual void setOnGround(bool); - virtual void setLastGroundPos(cocos2d::CCPoint); - virtual void setTouchedRing(GameObject*); - virtual void setPortalObject(GameObject*); - virtual void setRealPlayerPos(cocos2d::CCPoint); - virtual void setIsSecondPlayer(bool); - virtual void setDualMode(bool); - virtual void setClkTimer(double); - virtual void setDisableEffects(bool); - virtual void setAudioScale(float); - virtual void setGroundHeight(float); - - double _0x3a8; // getModifiedSlopeYVel - bool _0x3b0; // hitGround, placeStreakPoint - cocos2d::CCNode* _0x3b4; - cocos2d::CCDictionary* m_topBlockIDs; - cocos2d::CCDictionary* m_bottomBlockIDs; - GameObject* m_lastSlopeObject; - GameObject* m_backupGroundObject; - GameObject* m_lastGroundObject; - int m_currentIcon; - float _0x3d0; // postCollision - float _0x3d4; // postCollision - bool m_didStick; - int m_bottomBlockID; - int m_topBlockID; - bool _0x3e4; // hitGround - bool m_shouldDisconnectSlope; - GameObject* m_preSlopeObject; - GameObject* m_slopeObject; - float _0x3f0; - int m_lastSlopeID; - bool _0x3f8; // isBoostValid - cocos2d::CCArray* _0x3fc; - PAD = android 0x8; - GhostType m_ghostType; - GhostTrailEffect* m_ghostTrail; - cocos2d::CCSprite* _0x410; - cocos2d::CCSprite* _0x414; - cocos2d::CCSprite* _0x418; - cocos2d::CCSprite* _0x41c; - cocos2d::CCSprite* _0x420; - cocos2d::CCSprite* _0x424; - cocos2d::CCSprite* _0x428; - cocos2d::CCSprite* _0x42c; - cocos2d::CCMotionStreak* _0x430; - HardStreak* m_hardStreak; - double m_playerXVelocity; - double m_jumpHeight; - double m_gravity; - float _0x450; - float _0x454; // isSafeMode - bool _0x458; // flipGravity, placeStreakPoint - bool _0x459; - bool _0x45a; // m_isRising - bool _0x45b; // inPlayLayer - bool _0x45c; - bool _0x45d; - bool _0x45e; - bool _0x45f; // hitGround - bool m_placedCheckpoint - PAD = android 0x8; - double _0x468; - double _0x470; - double _0x478; // isSafeFlip - PAD = android 0x4; - float _0x484; - PAD = android 0x8; - double _0x490; - GameObject* _0x498; - CheckpointObject* _0x49c; - int _0x4a0; // Timer for checkpoints - GJRobotSprite* m_robotSprite; - bool _0x4a8; // specialGroundHit - cocos2d::CCParticleSystemQuad* _0x4ac; - cocos2d::CCParticleSystemQuad* _0x4b0; - cocos2d::CCParticleSystemQuad* _0x4b4; - cocos2d::CCParticleSystemQuad* _0x4b8; - cocos2d::CCParticleSystemQuad* _0x4bc; - cocos2d::CCParticleSystemQuad* _0x4c0; - bool _0x4c4; - cocos2d::CCParticleSystemQuad* _0x4c8; // hitGround - cocos2d::CCParticleSystemQuad* _0x4cc; // hitGround - PAD = android 0xc; - float m_targetSlopeAngle; - float m_lastSlopeYVelocity; - float _0x4e4; - PAD = android 0x2; - bool _0x4ea; - bool m_lastSlopeFloorTop; - float m_collideTop; - float m_collideBottom; - bool m_enableStreak; - bool m_checkpointQueued; - bool m_tookDamage; - bool m_upKeyDown; - bool m_upKeyPressed; - bool _0x4f9; - bool _0x4fa; - PAD = android 0x5; - double m_yVelocity; - bool m_onSlope; - bool m_wasOnSlope; - float m_slopeYVel; - bool m_flyMode; - bool m_birdMode; - bool m_rollMode; - bool m_dartMode; - bool m_robotMode; - bool m_gravityFlipped; - bool m_isDead; - bool m_canJump; - float m_playerScale; - float m_timeMod; - cocos2d::CCPoint m_lastP; - cocos2d::CCPoint m_portalP; - cocos2d::CCLayer* m_gameLayer; - bool m_onGround; - bool m_isJumping; - bool m_isLocked; - cocos2d::CCPoint m_lastGroundPos; - RingObject* m_touchedRing; - GameObject* m_portalObject; - bool m_hasJumped; - bool m_hasRingJumped; - cocos2d::ccColor3B m_glowColor1; - cocos2d::ccColor3B m_glowColor2; - cocos2d::CCPoint m_realPlayerPos; - bool m_isSecondPlayer; - bool m_dualMode; - PAD = android 0x6; - doule m_clkTimer; - bool m_disableEffects; - float m_audioScale; - float m_groundHeight; - float m_lastYVel; -} - -[[link(android)]] -class PlayLayer { - // virtual ~PlayLayer(); - // PlayLayer(); - - static PlayLayer* create(GJGameLevel*); - - TodoReturn addCircle(CCCircleWave*); - TodoReturn addObject(GameObject*); - TodoReturn addToGroup(GameObject*); - TodoReturn addToSection(GameObject*); - TodoReturn addToSpeedObjects(GameObject*); - TodoReturn animateInDualGround(GameObject*, float, bool); - TodoReturn animateInGround(bool); - TodoReturn animateOutGround(bool); - TodoReturn animateOutGroundFinished(); - TodoReturn applyEnterEffect(GameObject*); - TodoReturn cameraMoveX(float, float, float); - TodoReturn cameraMoveY(float, float, float); - TodoReturn checkCollisions(PlayerObject*, float); - TodoReturn checkSpawnObjects(); - TodoReturn claimParticle(gd::string); - TodoReturn clearPickedUpItems(); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn createCheckpoint(); - TodoReturn createObjectsFromSetup(gd::string); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn delayedResetLevel(); - TodoReturn destroyPlayer(PlayerObject*); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitAirMode(); - TodoReturn exitBirdMode(PlayerObject*); - TodoReturn exitDartMode(PlayerObject*); - TodoReturn exitFlyMode(PlayerObject*); - TodoReturn exitRobotMode(PlayerObject*); - TodoReturn exitRollMode(PlayerObject*); - TodoReturn flipFinished(); - TodoReturn flipObjects(); - TodoReturn fullReset(); - TodoReturn getAttempts(); - TodoReturn getBigActionContainer(); - TodoReturn getCameraPortal(); - TodoReturn getCameraPos(); - TodoReturn getCleanReset(); - TodoReturn getClkTimer(); - TodoReturn getColorManager(); - TodoReturn getDidAwardStars(); - TodoReturn getDidJump(); - TodoReturn getDualMode(); - TodoReturn getDualModeCamera(); - TodoReturn getEndTriggered(); - TodoReturn getFlipValue(); - TodoReturn getForcePlaybackControl(); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int); - TodoReturn getIsFlipped(); - TodoReturn getIsResetting(); - TodoReturn getJumps(); - TodoReturn getLastCheckpoint(); - TodoReturn getLastRunPercent(); - TodoReturn getLevel(); - TodoReturn getMaxPortalY(); - TodoReturn getMinPortalY(); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlaybackMode(); - TodoReturn getPracticeMode(); - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getResetFlipObjects(); - TodoReturn getResetQueued(); - TodoReturn getResetTriggered(); - TodoReturn getShouldRestartAfterStopped(); - TodoReturn getShowingEndLayer(); - TodoReturn getStartPos(); - TodoReturn getTempMilliTime(); - TodoReturn getTestMode(); - TodoReturn getUILayer(); - TodoReturn gravityEffectFinished(); - TodoReturn hasItem(int); - TodoReturn hasUniqueCoin(GameObject*); - TodoReturn incrementJumps(); - bool init(GJGameLevel*); - bool isFlipping(); - TodoReturn levelComplete(); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int); - TodoReturn loadDefaultColors(); - TodoReturn loadLastCheckpoint(); - TodoReturn markCheckpoint(); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn onQuit(); - TodoReturn pauseGame(bool); - TodoReturn pickupItem(GameObject*); - TodoReturn playEndAnimationToPos(cocos2d::CCPoint); - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playExitDualEffect(PlayerObject*); - TodoReturn playFlashEffect(float, int, float); - TodoReturn playGravityEffect(bool); - TodoReturn playSpeedParticle(float); - TodoReturn preloadActions(); - TodoReturn preloadMoveActions(); - TodoReturn processItems(); - TodoReturn processLoadedMoveActions(); - TodoReturn processMoveActionsStep(); - TodoReturn pushButton(int, bool); - TodoReturn recordAction(bool, PlayerObject*); - TodoReturn registerActiveObject(GameObject*); - TodoReturn registerStateObject(GameObject*); - TodoReturn releaseButton(int, bool); - TodoReturn removeAllObjects(); - TodoReturn removeFromGroup(GameObject*); - TodoReturn removeLastCheckpoint(); - TodoReturn removeObjectFromSection(GameObject*); - TodoReturn removePlayer2(); - TodoReturn reorderObjectSection(GameObject*); - TodoReturn resetLevel(); - TodoReturn resume(); - TodoReturn resumeAndRestart(); - TodoReturn saveRecordAction(bool, PlayerObject*); - TodoReturn scene(GJGameLevel*); - TodoReturn sectionForPos(float); - void setActiveEnterEffect(EnterEffect); - void setStartPosObject(StartPosObject*); - TodoReturn setupLevelStart(LevelSettingsObject*); - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float); - TodoReturn shouldBlend(int); - TodoReturn showCompleteEffect(); - TodoReturn showCompleteText(); - TodoReturn showEndLayer(); - TodoReturn showHint(); - TodoReturn showNewBest(); - TodoReturn showRetryLayer(); - TodoReturn showTwoPlayerGuide(); - TodoReturn sortGroups(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - TodoReturn spawnGroup(int, float); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - TodoReturn spawnPlayer2(); - TodoReturn startGame(); - TodoReturn startMusic(); - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopCameraShake(); - TodoReturn stopRecording(); - TodoReturn storeCheckpoint(CheckpointObject*); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRobotMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn timeForXPos2(float, bool); - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool); - TodoReturn toggleFlipped(bool, bool); - TodoReturn toggleGhostEffect(int); - TodoReturn toggleGlitter(bool); - TodoReturn toggleGroup(int, bool); - TodoReturn togglePracticeMode(bool); - TodoReturn toggleProgressbar(); - TodoReturn tryStartRecord(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - TodoReturn unregisterActiveObject(GameObject*); - TodoReturn unregisterStateObject(GameObject*); - TodoReturn updateAttempts(); - TodoReturn updateCamera(float); - TodoReturn updateColor(cocos2d::ccColor3B, float, int, bool, float, cocos2d::ccHSVValue, int, bool); - TodoReturn updateDualGround(PlayerObject*, int, bool); - TodoReturn updateEffectPositions(); - TodoReturn updateLevelColors(); - TodoReturn updateProgressbar(); - TodoReturn updateReplay(float); - TodoReturn updateTimeMod(float, bool); - TodoReturn updateVisibility(); - TodoReturn visitWithColorFlash(); - TodoReturn willSwitchToMode(int, PlayerObject*); - - virtual TodoReturn update(float); - virtual TodoReturn onEnterTransitionDidFinish(); - virtual TodoReturn onExit(); - virtual TodoReturn draw(); - virtual TodoReturn visit(); - virtual TodoReturn updateTweenAction(float, char const*); - virtual TodoReturn flipGravity(PlayerObject*, bool, bool); - virtual TodoReturn timeForXPos(float); - virtual TodoReturn calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*); - virtual TodoReturn spawnGroup(int); - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); - virtual void setPlaybackMode(bool); - virtual void setForcePlaybackControl(bool); - virtual void setIsResetting(bool); - virtual void setCleanReset(bool); - virtual void setStartPos(cocos2d::CCPoint); - virtual void setShowingEndLayer(bool); - virtual void setEndTriggered(bool); - virtual void setResetQueued(bool); - virtual void setLastRunPercent(int); - virtual void setShouldRestartAfterStopped(bool); -} - -[[link(android)]] -class PointNode { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint); - - TodoReturn getPoint(); - bool init(cocos2d::CCPoint); - - virtual void setPoint(cocos2d::CCPoint); -} - -[[link(android)]] -class PriceLabel { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class ProfilePage { - // virtual ~ProfilePage(); - // ProfilePage(); - - static ProfilePage* create(int, bool); - - void blockUser(); - bool init(int, bool); - bool isCorrect(char const*); - TodoReturn loadPage(int); - TodoReturn loadPageFromUserInfo(GJUserScore*); - void onBlockUser(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - void onFollow(cocos2d::CCObject* sender); - void onFriend(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onMessages(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRequests(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn setupComments(); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn showNoAccountError(); - TodoReturn toggleMainPageVisibility(bool); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn getUserInfoFinished(GJUserScore*); - virtual TodoReturn getUserInfoFailed(int); - virtual TodoReturn userInfoChanged(GJUserScore*); - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int); - virtual TodoReturn commentDeleteFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); -} - -[[link(android)]] -class PromoInterstitial { - // virtual ~PromoInterstitial(); - - static PromoInterstitial* create(); - - TodoReturn getEnableBannerOnClose(); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool init(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual void setEnableBannerOnClose(bool); -} - -[[link(android)]] -class PulseEffectAction { - // virtual ~PulseEffectAction(); - - static PulseEffectAction* create(float, float, float, PulseEffectType, int, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool); - - TodoReturn createFromString(gd::string); - TodoReturn getCopyColorIdx(); - TodoReturn getDeltaTime(); - TodoReturn getGroupMainOnly(); - TodoReturn getGroupSecondaryOnly(); - TodoReturn getHSVValue(); - TodoReturn getSaveString(); - TodoReturn getTargetColor(); - TodoReturn getTargetID(); - TodoReturn getType(); - TodoReturn getValue(); - bool init(float, float, float, PulseEffectType, int, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool); - bool isFinished(); - TodoReturn step(float); - TodoReturn valueForDelta(float, float, float, float); - - virtual void setDeltaTime(float); -} - -[[link(android)]] -class RateLevelDelegate { - virtual TodoReturn rateLevelClosed(); -} - -[[link(android)]] -class RateLevelLayer { - // virtual ~RateLevelLayer(); - - static RateLevelLayer* create(int); - - TodoReturn getDelegate(); - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual TodoReturn keyBackClicked(); - virtual void setDelegate(RateLevelDelegate*); -} - -[[link(android)]] -class RateStarsLayer { - // virtual ~RateStarsLayer(); - // RateStarsLayer(); - - static RateStarsLayer* create(int, bool); - - TodoReturn getDelegate(); - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int, bool); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onToggleCoins(cocos2d::CCObject* sender); - void onToggleFeature(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual void setDelegate(RateLevelDelegate*); -} - -[[link(android)]] -class RetryLevelLayer { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create(); - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class RingObject { - // virtual ~RingObject(); - - static RingObject* create(char const*); - - bool init(char const*); - TodoReturn spawnCircle(); - TodoReturn updateColors(cocos2d::ccColor3B); - - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual TodoReturn resetObject(); - virtual void setRScale(float); - virtual TodoReturn triggerActivated(); - virtual TodoReturn powerOnObject(); - virtual TodoReturn powerOffObject(); -} - -[[link(android)]] -class SavedLevelsLayer { - // virtual ~SavedLevelsLayer(); - - static SavedLevelsLayer* create(); - - void onBack(cocos2d::CCObject* sender); - TodoReturn scene(); - TodoReturn setupLevelBrowser(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class ScrollingLayer { - // virtual ~ScrollingLayer(); - // ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - TodoReturn getInternalLayer(); - TodoReturn getScaleParent(); - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - void setStartOffset(cocos2d::CCPoint); - - virtual TodoReturn draw(); - virtual TodoReturn visit(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void setScaleParent(cocos2d::CCNode*); -} - -[[link(android)]] -class SearchButton { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*); - - TodoReturn getLabel(); - TodoReturn getSprite(); - bool init(char const*, char const*, float, char const*); -} - -[[link(android)]] -class SecretLayer { - // virtual ~SecretLayer(); - - static SecretLayer* create(); - - TodoReturn getBasicMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn updateMessageLabel(gd::string); - TodoReturn updateSearchLabel(char const*); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class SelectArtDelegate { - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer { - // virtual ~SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType); - - TodoReturn getDelegate(); - TodoReturn getSelected(); - TodoReturn getSelectedCustom(); - TodoReturn getType(); - bool init(SelectArtType); - void onClose(cocos2d::CCObject* sender); - void onSelectCustom(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - TodoReturn updateSelectedCustom(int); - - virtual TodoReturn keyBackClicked(); - virtual void setDelegate(SelectArtDelegate*); -} - -[[link(android)]] -class SelectFontLayer { - // virtual ~SelectFontLayer(); - - static SelectFontLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - void onChangeFont(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn updateFontLabel(); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class SetGroupIDLayer { - // virtual ~SetGroupIDLayer(); - // SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn addGroupID(int); - TodoReturn callRemoveFromGroup(float); - TodoReturn determineStartValues(); - TodoReturn getNextFreeGroupID(); - bool init(GameObject*, cocos2d::CCArray*); - void onAddGroup(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onDontFade(cocos2d::CCObject* sender); - void onEditorLayer(cocos2d::CCObject* sender); - void onEditorLayer2(cocos2d::CCObject* sender); - void onGroupID(cocos2d::CCObject* sender); - void onNextGroupID1(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - void onZOrder(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn updateEditorLabel(); - TodoReturn updateEditorLabel2(); - TodoReturn updateEditorLayerID(); - TodoReturn updateEditorLayerID2(); - TodoReturn updateGroupIDButtons(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateZLayerButtons(); - TodoReturn updateZOrder(); - TodoReturn updateZOrderLabel(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual void setNextFreeGroupID(int); -} - -[[link(android)]] -class SetIDLayer { - // virtual ~SetIDLayer(); - - static SetIDLayer* create(GameObject*); - - bool init(GameObject*); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - TodoReturn updateID(); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class SetupObjectTogglePopup { - // virtual ~SetupObjectTogglePopup(); - - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTouchTriggered(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class SetupOpacityPopup { - // virtual ~SetupOpacityPopup(); - // SetupOpacityPopup(); - - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTouchTriggered(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class SetupPulsePopup { - // virtual ~SetupPulsePopup(); - // SetupPulsePopup(); - - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn determineStartValues(); - TodoReturn getColorValue(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onCopy(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeInTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateGroupMainOnly(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateHoldLabel(bool); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updatePulseMode(); - TodoReturn updatePulseTargetType(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTouchTriggered(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class SetupSpawnPopup { - // virtual ~SetupSpawnPopup(); - - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class sha1 { - TodoReturn calc(void const*, int, unsigned char*); - TodoReturn toHexString(unsigned char const*, char*); -} - -[[link(android)]] -class ShareCommentLayer { - // virtual ~ShareCommentLayer(); - // ShareCommentLayer(); - - static ShareCommentLayer* create(gd::string, int, CommentType, int); - - bool init(gd::string, int, CommentType, int); - void onClose(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - TodoReturn updateCharCountLabel(); - TodoReturn updateDescText(char const*); - - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class ShareLevelLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - TodoReturn setupStars(); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class SimpleObject { - // virtual ~SimpleObject(); - - static SimpleObject* create(); - - TodoReturn getColor(); - bool init(); - - virtual void setColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class SimplePlayer { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int); - - TodoReturn getSpecial(); - TodoReturn getUseGlow(); - bool init(int); - void setFrames(char const*, char const*, char const*, char const*); - void setSecondColor(cocos2d::ccColor3B const&); - TodoReturn updateColors(); - TodoReturn updatePlayerFrame(int, IconType); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setSpecial(int); - virtual void setUseGlow(bool); -} - -[[link(android)]] -class SlideInLayer { - // virtual ~SlideInLayer(); - // SlideInLayer(); - - static SlideInLayer* create(); - - TodoReturn getDelegate(); - TodoReturn getRemoveOnExit(); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - virtual void setDelegate(SlideInLayerDelegate*); - virtual void setRemoveOnExit(bool); -} - -[[link(android)]] -class Slider { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, float); - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler); - - TodoReturn disableTouch(); - TodoReturn getLiveDragging(); - TodoReturn getThumb(); - TodoReturn getValue(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - void setBarVisibility(bool); - void setLiveDragging(bool); - void setValue(float); - TodoReturn updateBar(); - - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class SliderThumb { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - - TodoReturn getValue(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setValue(float); -} - -[[link(android)]] -class SliderTouchLogic { - // virtual ~SliderTouchLogic(); - // SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - TodoReturn getLiveDragging(); - TodoReturn getSliderDelegate(); - TodoReturn getThumb(); - TodoReturn getTouchOffset(); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual void setSliderDelegate(Slider*); - virtual void setLiveDragging(bool); -} - -[[link(android)]] -class SongCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - void loadFromObject(SongObject*); - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class SongInfoLayer { - // virtual ~SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string); - static SongInfoLayer* create(int); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onNG(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*); - static SongInfoObject* create(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - static SongInfoObject* create(int); - - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn getArtistID(); - TodoReturn getArtistName(); - TodoReturn getArtistYT(); - TodoReturn getFileSize(); - TodoReturn getIsBlocked(); - TodoReturn getIsUnloaded(); - TodoReturn getIsVerified(); - TodoReturn getLevelSettings(); - TodoReturn getSongID(); - TodoReturn getSongName(); - TodoReturn getSongPriority(); - TodoReturn getSongURL(); - TodoReturn getSongYT(); - bool init(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - - virtual TodoReturn encodeWithCoder(DS_Dictionary*); - virtual TodoReturn canEncode(); - virtual void setSongID(int); - virtual void setSongName(gd::string); - virtual void setArtistName(gd::string); - virtual void setSongYT(gd::string); - virtual void setArtistYT(gd::string); - virtual void setSongURL(gd::string); - virtual void setArtistID(int); - virtual void setFileSize(float); - virtual void setIsUnloaded(bool); - virtual void setIsVerified(bool); - virtual void setIsBlocked(bool); - virtual void setSongPriority(int); - virtual void setLevelSettings(LevelSettingsObject*); -} - -[[link(android)]] -class SongObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - TodoReturn getAudioTrack(); - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer { - // virtual ~SongOptionsLayer(); - - static SongOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class SongsLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class SpawnTriggerAction { - // virtual ~SpawnTriggerAction(); - - static SpawnTriggerAction* create(float, int); - - TodoReturn createFromString(gd::string); - TodoReturn getDelayTime(); - TodoReturn getDeltaTime(); - TodoReturn getSaveString(); - TodoReturn getTargetID(); - bool init(float, int); - bool isFinished(); - TodoReturn step(float); - - virtual void setDelayTime(float); - virtual void setDeltaTime(float); -} - -[[link(android)]] -class SpawnTriggerDelegate { - virtual TodoReturn spawnGroup(int); -} - -[[link(android)]] -class SpeedObject { - // virtual ~SpeedObject(); - - static SpeedObject* create(int, float); - - TodoReturn getSpeedMod(); - TodoReturn getXPos(); - bool init(int, float); - void setSource(GameObject*); -} - -[[link(android)]] -class Spinor { - TodoReturn slerp(Spinor const&, Spinor const&, float); -} - -[[link(android)]] -class SpriteAnimationManager { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn getActiveAnimation(); - TodoReturn getAnimationContainer(); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn offsetCurrentAnimation(float); - TodoReturn overridePrio(); - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string); - TodoReturn runQueuedAnimation(); - TodoReturn stopAnimations(); - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn updateAnimationSpeed(float); - - virtual void setAnimationContainer(cocos2d::CCDictionary*); - virtual void setActiveAnimation(gd::string); -} - -[[link(android)]] -class SpriteDescription { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn getTransformValues(frameValues*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class StartPosObject { - // virtual ~StartPosObject(); - - static StartPosObject* create(); - - TodoReturn getSettings(); - void setSettings(LevelSettingsObject*); - - virtual bool init(); - virtual TodoReturn getSaveString(); -} - -[[link(android)]] -class StatsCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - void loadFromObject(StatsObject*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual TodoReturn draw(); -} - -[[link(android)]] -class StatsLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class StatsObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int); - - TodoReturn getKey(); - TodoReturn getValue(); - bool init(char const*, int); -} - -[[link(android)]] -class StoreToolbox { - TodoReturn doICheck(); - bool isBillingSupported(); - TodoReturn purchaseItem(char const*); - TodoReturn restorePurchases(); - TodoReturn setupStore(); -} - -[[link(android)]] -class SupportLayer { - // virtual ~SupportLayer(); - - static SupportLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onFAQ(cocos2d::CCObject* sender); - void onLowDetail(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender); - void onRestore(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - TodoReturn sendSupportMail(); - - virtual TodoReturn customSetup(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class TableView { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, cocos2d::CCRect); - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*); - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn getBeginLocation(); - TodoReturn getBeginTouch(); - TodoReturn getCellRemovedArray(); - TodoReturn getCellVisibleArray(); - TodoReturn getCheckLocation(); - TodoReturn getClipsToBounds(); - TodoReturn getDataSource(); - TodoReturn getDelegate(); - TodoReturn getEditable(); - TodoReturn getindexPathAddedArray(); - TodoReturn getIsScheduled(); - TodoReturn getIsTouch(); - TodoReturn getLastCellPos(); - TodoReturn getScrollingToIndexPath(); - TodoReturn getStealTouches(); - TodoReturn getTouchCell(); - TodoReturn getTouchDispatch(); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - TodoReturn reloadData(); - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual TodoReturn onEnter(); - virtual TodoReturn onExit(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual void setIsTouch(bool); - virtual void setClipsToBounds(bool); - virtual void setTouchDispatch(bool); - virtual void setIsScheduled(bool); - virtual void setBeginTouch(cocos2d::CCTouch*); - virtual void setBeginLocation(cocos2d::CCPoint); - virtual void setLastCellPos(cocos2d::CCPoint); - virtual void setCheckLocation(cocos2d::CCPoint); - virtual void setTouchCell(TableViewCell*); - virtual void setEditable(bool); - virtual TodoReturn scrollWheel(float, float); - virtual void setCellVisibleArray(cocos2d::CCArray*); - virtual void setCellRemovedArray(cocos2d::CCArray*); - virtual TodoReturn setindexPathAddedArray(cocos2d::CCArray*); - virtual void setDelegate(TableViewDelegate*); - virtual void setDataSource(TableViewDataSource*); - virtual void setScrollingToIndexPath(CCIndexPath*); - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual void setStealTouches(bool); -} - -[[link(android)]] -class TableViewCell { - // virtual ~TableViewCell(); - TableViewCell(char const*, float, float); - - TodoReturn deleteButtonSelector(cocos2d::CCObject*); - TodoReturn getCellIdentifier(); - TodoReturn getDelBtnColor(); - TodoReturn getDeleteButton(); - TodoReturn getEditable(); - bool isDeleteButtonShow(); - TodoReturn resetDeleteButtonPosition(); - TodoReturn showDeleteButton(bool); - TodoReturn updateVisibility(); - - virtual void setEditable(bool); - virtual void setDelBtnColor(cocos2d::ccColor3B); - virtual void setDeleteButton(cocos2d::CCMenuItem*); - virtual void setCellIdentifier(gd::string const&); -} - -[[link(android)]] -class TableViewDataSource { - virtual TodoReturn pure_virtual_005d7ae0() {} // TODO: figure out what function this is - virtual TodoReturn numberOfSectionsInTableView(TableView*); - virtual TodoReturn TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&); - virtual TodoReturn pure_virtual_005d7aec() {} // TODO: figure out what function this is -} - -[[link(android)]] -class TableViewDelegate { - virtual TodoReturn willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn didEndTweenToIndexPath(CCIndexPath&, TableView*); - virtual TodoReturn TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*); - virtual TodoReturn pure_virtual_005d7acc() {} // TODO: figure out what function this is - virtual TodoReturn pure_virtual_005d7ad0() {} // TODO: figure out what function this is -} - -[[link(android)]] -class TeleportPortalObject { - // virtual ~TeleportPortalObject(); - - static TeleportPortalObject* create(char const*); - - TodoReturn getLockX(); - TodoReturn getPortalTargetY(); - TodoReturn getSmoothEase(); - TodoReturn getTargetPortal(); - TodoReturn getTeleportXOff(cocos2d::CCNode*); - bool init(char const*); - void setPositionOverride(cocos2d::CCPoint); - void setStartPosOverride(cocos2d::CCPoint); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn customObjectSetup(gd::map*); - virtual TodoReturn getSaveString(); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual void setRotation2(float); - virtual TodoReturn addToGroup2(int); - virtual TodoReturn removeFromGroup2(int); - virtual void setTargetPortal(TeleportPortalObject*); - virtual void setLockX(bool); - virtual void setPortalTargetY(float); - virtual void setSmoothEase(bool); -} - -[[link(android)]] -class TextArea { - // virtual ~TextArea(); - // TextArea(); - - static TextArea* create(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool); - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn getAlign(); - TodoReturn getFadeInFinished(); - TodoReturn getFontScale(); - TodoReturn getLineSpace(); - TodoReturn getMaxWidth(); - TodoReturn getOnTimer(); - TodoReturn getSizeWidth(); - TodoReturn getTextHeight(); - TodoReturn getTextPosition(); - TodoReturn getTextWidth(); - TodoReturn hideAll(); - bool init(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool); - void setIgnoreColorCode(bool); - void setString(gd::string); - TodoReturn showAll(); - TodoReturn stopAllCharacterActions(); - - virtual TodoReturn draw(); - virtual void setOpacity(unsigned char); - virtual void setMaxWidth(float); - virtual void setLineSpace(float); - virtual void setOnTimer(bool); - virtual void setAlign(cocos2d::CCPoint); - virtual void setFadeInFinished(bool); - virtual void setFontScale(float); -} - -[[link(android)]] -class TextInputDelegate { - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn allowTextInput(CCTextInputNode*); -} - -[[link(android)]] -class TutorialLayer { - // virtual ~TutorialLayer(); - - static TutorialLayer* create(); - - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} - -[[link(android)]] -class TutorialPopup { - // virtual ~TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); -} - -[[link(android)]] -class UILayer { - // virtual ~UILayer(); - // UILayer(); - - static UILayer* create(); - - TodoReturn disableMenu(); - TodoReturn enableMenu(); - TodoReturn getClkTimer(); - void onCheck(cocos2d::CCObject* sender); - void onDeleteCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - TodoReturn pCommand(cocos2d::CCNode*); - TodoReturn toggleCheckpointsMenu(bool); - - virtual bool init(); - virtual TodoReturn draw(); - virtual TodoReturn ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual TodoReturn registerWithTouchDispatcher(); - virtual TodoReturn keyBackClicked(); - virtual TodoReturn keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class UndoObject { - // virtual ~UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand); - - TodoReturn createWithArray(cocos2d::CCArray*, UndoCommand); - TodoReturn createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - TodoReturn getCommand(); - TodoReturn getIsLinked(); - TodoReturn getObject(); - TodoReturn getObjects(); - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - void setObjects(cocos2d::CCArray*); - - virtual void setIsLinked(bool); -} - -[[link(android)]] -class UpdateAccountSettingsPopup { - // virtual ~UpdateAccountSettingsPopup(); - - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, gd::string); - - bool init(GJAccountSettingsLayer*, int, int, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class UploadActionDelegate { - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); -} - -[[link(android)]] -class UploadActionPopup { - // virtual ~UploadActionPopup(); - - static UploadActionPopup* create(UploadPopupDelegate*, gd::string); - - TodoReturn closePopup(); - TodoReturn getDelegate(); - bool init(UploadPopupDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - TodoReturn showFailMessage(gd::string); - TodoReturn showSuccessMessage(gd::string); - - virtual TodoReturn keyBackClicked(); - virtual void setDelegate(UploadPopupDelegate*); -} - -[[link(android)]] -class UploadMessageDelegate { - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); -} - -[[link(android)]] -class UploadPopup { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual TodoReturn keyBackClicked(); - virtual TodoReturn show(); - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class UploadPopupDelegate { - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class UserInfoDelegate { - virtual TodoReturn getUserInfoFinished(GJUserScore*); - virtual TodoReturn getUserInfoFailed(int); - virtual TodoReturn userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UserListDelegate { - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class VideoOptionsLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool); - void onAdvanced(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int); - TodoReturn updateTextureQuality(int); - - virtual bool init(); - virtual TodoReturn keyBackClicked(); -} diff --git a/bindings/bindings/2.113/Cocos2d.bro b/bindings/bindings/2.113/Cocos2d.bro deleted file mode 100644 index 4e80f14..0000000 --- a/bindings/bindings/2.113/Cocos2d.bro +++ /dev/null @@ -1,1315 +0,0 @@ -// clang-format off - -[[link(win, android)]] -class cocos2d::CCActionTween { - static cocos2d::CCActionTween* create(float, char const*, float, float) = mac 0x447590; -} - -[[link(win, android)]] -class cocos2d::CCActionManager { - CCActionManager() { - m_pTargets = nullptr; - m_pCurrentTarget = nullptr; - m_bCurrentTargetSalvaged = false; - } - ~CCActionManager() {} - - virtual auto update(float) = mac 0x10c9a0; - auto addAction(cocos2d::CCAction*, cocos2d::CCNode*, bool) = mac 0x10bed0; - auto pauseTarget(cocos2d::CCObject*) = mac 0x10bc50; - auto resumeTargets(cocos2d::CCSet*) = mac 0x10be80; - auto resumeTarget(cocos2d::CCObject*) = mac 0x10bd20; -} - -[[link(win, android)]] -class cocos2d::CCAnimate { - static cocos2d::CCAnimate* create(cocos2d::CCAnimation*) = mac 0x1f8fc0; -} - -[[link(win, android)]] -class cocos2d::CCAnimation { - static auto createWithSpriteFrames(cocos2d::CCArray*, float) = mac 0x140df0; -} - -[[link(win, android)]] -class cocos2d::CCApplication { - virtual auto run(); - virtual auto getCurrentLanguage() = mac 0x1a3f40, ios 0x10e508; - virtual auto getTargetPlatform() = mac 0x1a3f20, ios 0x10e57c; - virtual auto openURL(char const*) = mac 0x1a4550, ios 0x10e7a4; - virtual auto setAnimationInterval(double) = mac 0x1a3ee0, ios 0x10e494; - static auto sharedApplication() = mac 0x1a3f30; - - [[link(win)]] - bool getControllerConnected() const = mac 0x27d1b0; - // ~CCApplication() = mac 0x1a3d10, ios 0x10e384; - CCApplication() {} - ~CCApplication() {} -} - -[[link(win, android)]] -class cocos2d::CCArray { - // auto addObject(cocos2d::CCObject*) = mac 0x419f90, ios 0x16504c; - auto addObjectNew(cocos2d::CCObject*) = mac 0x41a450; - // auto addObjectsFromArray(cocos2d::CCArray*) = mac 0x41a2d0; - // auto containsObject(cocos2d::CCObject*) const = mac 0x41a3e0; - // auto count() const = mac 0x41a2f0, ios 0x1650e8; - // static cocos2d::CCArray* create() = mac 0x419cb0, ios 0x164ec8; - // static auto createWithObject(cocos2d::CCObject*) = mac 0x419d50; - // auto fastRemoveObject(cocos2d::CCObject*) = mac 0x41a520; - // auto fastRemoveObjectAtIndex(unsigned int) = mac 0x41a500; - auto fastRemoveObjectAtIndexNew(unsigned int) = mac 0x41a510; - // auto insertObject(cocos2d::CCObject*, unsigned int) = mac 0x41a460; - // auto lastObject() = mac 0x41a360; - // auto objectAtIndex(unsigned int) = mac 0x41a340, ios 0x16510c; - // auto removeAllObjects() = mac 0x41a4f0, ios 0x1651f0; - // auto removeLastObject(bool) = mac 0x41a470; - // auto removeObject(cocos2d::CCObject*, bool) = mac 0x41a490; - // auto removeObjectAtIndex(unsigned int, bool) = mac 0x41a4b0; - // auto stringAtIndex(unsigned int) = mac 0x41a320; -} - -[[link(win, android)]] -class cocos2d::CCBezierTo { - static cocos2d::CCBezierTo* create(float, cocos2d::_ccBezierConfig const&) = mac 0x1f6c10; -} - -[[link(win, android)]] -class cocos2d::CCBMFontConfiguration { - static cocos2d::CCBMFontConfiguration* create(char const*) = mac 0x3450f0; -} - -[[link(win, android)]] -class cocos2d::CCCallFunc { - static auto create(cocos2d::CCObject*, cocos2d::SEL_CallFunc) = mac 0x454d90; -} - -[[link(win, android)]] -class cocos2d::CCCallFuncO { - static auto create(cocos2d::CCObject*, cocos2d::SEL_CallFuncO, cocos2d::CCObject*) = mac 0x455940; -} - -[[link(win, android)]] -class cocos2d::CCCallFuncND { - static auto create(cocos2d::CCObject*, cocos2d::SEL_CallFuncND, void*) = mac 0x455470; -} - -[[link(win, android)]] -class cocos2d::CCClippingNode { - CCClippingNode() { - m_pStencil = nullptr; - m_fAlphaThreshold = 1.f; - m_bInverted = false; - } - ~CCClippingNode() = mac 0x4191e0, win 0xadae0; - static cocos2d::CCClippingNode* create() = mac 0x4192a0; - static cocos2d::CCClippingNode* create(cocos2d::CCNode*) = mac 0x419330; - // Inlined in create() call - auto init() = mac 0x4193e0; - // Inlined in create() call - auto init(cocos2d::CCNode* stencil) = mac 0x419400; - auto getAlphaThreshold() const = mac 0x419a10; - auto getStencil() const = mac 0x4199c0; - auto isInverted() const = mac 0x419a30; - auto onEnter() = mac 0x419470; - auto onEnterTransitionDidFinish() = mac 0x4194a0; - auto onExit() = mac 0x419500; - auto onExitTransitionDidStart() = mac 0x4194d0; - auto setAlphaThreshold(float) = mac 0x419a20; - auto setInverted(bool) = mac 0x419a40; - auto setStencil(cocos2d::CCNode*) = mac 0x4199d0; - auto visit() = mac 0x419530; -} - -// not sure how the entire class is supposed to be added to only windows cuz idk if it even exists on mac -// class cocos2d::CCControllerHandler { -// CCControllerHandler(int userIndex) = win 0xc7f50; -// cocos2d::CCControllerState getState() = win 0xc7f80; -// void updateConnected() = win 0xc7fb0; -//} - -[[link(win, android)]] -class cocos2d::CCConfiguration { - void gatherGPUInfo() = mac 0x2a6e10; -} - -[[link(win)]] -class cocos2d::CCDelayTime { - static cocos2d::CCDelayTime* create(float) = mac 0x1f4380; -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - auto allKeys() = mac 0x190450, ios 0x2de774; - auto count() = mac 0x190430; - static cocos2d::CCDictionary* create() = mac 0x192650; - auto objectForKey(intptr_t) = mac 0x190bb0, ios 0x2decc0; - auto objectForKey(gd::string const&) = mac 0x190870, ios 0x2de988; - auto removeAllObjects() = mac 0x190220; - auto removeObjectForKey(intptr_t) = mac 0x1921d0; - auto removeObjectForKey(gd::string const&) = mac 0x191d40; - auto setObject(cocos2d::CCObject*, intptr_t) = mac 0x191790, ios 0x2df734; - auto setObject(cocos2d::CCObject*, gd::string const&) = mac 0x190dc0, ios 0x2dee7c; - auto valueForKey(intptr_t) = mac 0x190cf0; - auto valueForKey(gd::string const&) = mac 0x1907a0; -} - -[[link(win, android)]] -class cocos2d::CCDirector { - CCDirector() {} - ~CCDirector() {} - // virtual ~CCDirector() = mac 0x2493a0; - virtual auto init() = mac 0x248df0; - virtual auto getScheduler() = mac 0x24af00; - virtual auto setScheduler(cocos2d::CCScheduler*) = mac 0x24aec0; - virtual auto getActionManager() = mac 0x24af50; - virtual auto setActionManager(cocos2d::CCActionManager*) = mac 0x24af10; - virtual auto getTouchDispatcher() = mac 0x24afa0; - virtual auto setTouchDispatcher(cocos2d::CCTouchDispatcher*) = mac 0x24af60; - virtual auto getKeypadDispatcher() = mac 0x24b090; - virtual auto setKeypadDispatcher(cocos2d::CCKeypadDispatcher*) = mac 0x24b050; - virtual auto getKeyboardDispatcher() = mac 0x24aff0; - virtual auto setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*) = mac 0x24afb0; - virtual auto getMouseDispatcher() = mac 0x24b040; - virtual auto setMouseDispatcher(cocos2d::CCMouseDispatcher*) = mac 0x24b000; - virtual auto getAccelerometer() = mac 0x24b0e0; - virtual auto setAccelerometer(cocos2d::CCAccelerometer*) = mac 0x24b0a0; - virtual auto getDeltaTime() = mac 0x249bd0; - - auto getWinSize() = mac 0x24a0f0, ios 0xece34; - auto pushScene(cocos2d::CCScene*) = mac 0x24a620; - auto replaceScene(cocos2d::CCScene*) = mac 0x24a6d0, ios 0xed08c; - auto resetSmoothFixCounter() = mac 0x249bc0; - static auto sharedDirector() = mac 0x248cb0, ios 0xebf84; - auto calculateDeltaTime() = mac 0x2497a0; - auto calculateMPF() = mac 0x19eac0; - auto convertToGL(cocos2d::CCPoint const&) = mac 0x24a210; - auto convertToUI(cocos2d::CCPoint const&) = mac 0x24a340; - auto drawScene() = mac 0x249690; - auto willSwitchToScene(cocos2d::CCScene* scene) = mac 0x24a520; - auto setOpenGLView(cocos2d::CCEGLView *pobOpenGLView) = mac 0x249be0; - auto updateScreenScale(cocos2d::CCSize) = mac 0x249f10; - auto setContentScaleFactor(float); - - auto setNextScene() = mac 0x2498d0; - auto showStats() = mac 0x2499e0; - auto updateContentScale(cocos2d::TextureQuality) = mac 0x249ff0; - auto popSceneWithTransition(float, cocos2d::PopTransition) = mac 0x24a8b0; -} - -[[link(win, android)]] -class cocos2d::CCDrawNode { - CCDrawNode() = mac 0x378b40, win 0x6b9f0; - auto clear() = mac 0x379e80; - static cocos2d::CCDrawNode* create() = mac 0x378d00; - auto drawPolygon(cocos2d::CCPoint*, unsigned int, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&) = mac 0x3797f0; - auto drawSegment(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&) = mac 0x3792d0; - auto drawDot(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&) = mac 0x379100; - - auto getBlendFunc() const = mac 0x379ea0; - virtual auto init() = mac 0x378e00; - auto setBlendFunc(cocos2d::_ccBlendFunc const&) = mac 0x379eb0; - virtual auto draw() = mac 0x379020; - virtual ~CCDrawNode() = mac 0x378cc0, win 0x6ba60; -} - -[[link(win, android)]] -class cocos2d::CCAction { - CCAction() = mac 0x35b610, win 0x7a6d0; - virtual ~CCAction() = mac 0x35b6b0, win 0x7a7f0; - auto stop() = mac 0x35b860; - auto copyWithZone(cocos2d::CCZone* zone) = mac 0x35b7a0; - auto startWithTarget(cocos2d::CCNode* target) = mac 0x35b850; - auto step(float dt) = mac 0x35b880; - auto isDone() = mac 0x35b870; - auto update(float time) = mac 0x35b890; -} - -[[link(win, android)]] -class cocos2d::CCFiniteTimeAction { - // same as CCActionInterval::reverse i think - auto reverse() = mac 0x1f2720; -} - -[[link(win, android)]] -class cocos2d::CCActionInterval { - auto copyWithZone(cocos2d::CCZone* zone) = mac 0x1f2550; - auto isDone() = mac 0x1f2640; - auto startWithTarget(cocos2d::CCNode* pTarget) = mac 0x1f2700; - auto step(float dt) = mac 0x1f2660; - auto reverse() = mac 0x1f2720; - bool initWithDuration(float d) = mac 0x1f2510; -} - -[[link(win, android)]] -class cocos2d::CCEaseBackIn { - static cocos2d::CCEaseBackIn* create(cocos2d::CCActionInterval*) = mac 0x2a41b0; -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticIn { - static cocos2d::CCEaseElasticIn* create(cocos2d::CCActionInterval*, float) = mac 0x2a2e00; -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticOut { - static cocos2d::CCEaseElasticOut* create(cocos2d::CCActionInterval*, float) = mac 0x2a3080; -} - -[[link(win, android)]] -class cocos2d::CCEaseIn { - static cocos2d::CCEaseIn* create(cocos2d::CCActionInterval*, float) = mac 0x2a1960; -} - -[[link(win, android)]] -class cocos2d::CCEaseInOut { - static cocos2d::CCEaseInOut* create(cocos2d::CCActionInterval*, float) = mac 0x2a1d80; -} - -[[link(win, android)]] -class cocos2d::CCEaseOut { - static cocos2d::CCEaseOut* create(cocos2d::CCActionInterval*, float) = mac 0x2a1b70; -} - -[[link(win)]] -class cocos2d::CCEGLView { - CCEGLView(); - static cocos2d::CCEGLView* sharedOpenGLView() = mac 0x295320; - virtual void swapBuffers() = mac 0x295510; - void updateWindow(int width, int height); - void setupWindow(cocos2d::CCRect); - bool initGlew(); - void toggleFullScreen(bool fullscreen); - void pollEvents(); - void onGLFWCharCallback(GLFWwindow* window, unsigned int entered); - void onGLFWCursorEnterFunCallback(GLFWwindow* window, int entered); - void onGLFWDeviceChangeFunCallback(GLFWwindow* window); - void onGLFWError(int code, const char* description); - void onGLFWframebuffersize(GLFWwindow* window, int width, int height); - void onGLFWMouseMoveCallBack(GLFWwindow* window, double x, double y); - void onGLFWMouseCallBack(GLFWwindow* window, int button, int action, int mods); - void onGLFWKeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods); - void onGLFWMouseScrollCallback(GLFWwindow* window, double xoffset, double yoffset); - void onGLFWWindowIconifyFunCallback(GLFWwindow* window, int iconified); - void onGLFWWindowPosCallback(GLFWwindow* window, int x, int y); - void onGLFWWindowSizeFunCallback(GLFWwindow* window, int width, int height); -} - -[[link(win, android)]] -class cocos2d::CCEGLViewProtocol { - CCEGLViewProtocol() = win 0xbac00; - virtual ~CCEGLViewProtocol() = win 0xbacc0; - auto getViewPortRect() const = mac 0x29e2f0; - auto getScaleX() const = mac 0x29e300; - auto getScaleY() const = mac 0x29e310; - virtual auto setDesignResolutionSize(float, float, ResolutionPolicy); - virtual void setFrameSize(float, float) = mac 0x29d960; -} - -[[link(win, android)]] -class cocos2d::CCFadeOut { - static cocos2d::CCFadeOut* create(float) = mac 0x1f7d80; -} - -[[link(win, android)]] -class cocos2d::CCFadeTo { - static cocos2d::CCFadeTo* create(float, unsigned char) = mac 0x1f7ff0; -} - -[[link(win, android)]] -class cocos2d::CCFileUtils : cocos2d::TypeInfo { - static cocos2d::CCFileUtils* sharedFileUtils() = mac 0x377030, ios 0x159450; - static void purgeFileUtils(); - virtual void addSearchPath(const char* path); - virtual void removeSearchPath(const char *path); - virtual gd::string fullPathForFilename(const char* filename, bool unk) = mac 0x23f940; - void removeAllPaths() = mac 0x241600; -} - -[[link(win, android)]] -class cocos2d::CCGLProgram { - auto setUniformsForBuiltins() = mac 0x232c70; - auto use() = mac 0x231d70; - bool compileShader(unsigned int* shader, unsigned int type, const char* source) = mac 0x231a30; -} - -[[link(win, android)]] -class cocos2d::CCHide { - static cocos2d::CCHide* create() = mac 0x4543e0; -} - -[[link(win, android)]] -class cocos2d::CCIMEDelegate { - ~CCIMEDelegate() { - CCIMEDispatcher::sharedDispatcher()->removeDelegate(this); - } - virtual auto attachWithIME() = mac 0x2776a0, ios 0x12d3d4; - virtual auto detachWithIME() = mac 0x277880, ios 0x12d4e8; - CCIMEDelegate() { - CCIMEDispatcher::sharedDispatcher()->addDelegate(this); - } -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static auto sharedDispatcher() = mac 0x2773f0, ios 0x12d170; - auto addDelegate(cocos2d::CCIMEDelegate*) = mac 0x277480, ios 0x12d204; - auto removeDelegate(cocos2d::CCIMEDelegate*) = mac 0x2775f0, ios 0x12d2c4; - void dispatchInsertText(const char* text, int len) = mac 0x277ac0; - void dispatchDeleteBackward() = mac 0x277af0; -} - -[[link(win, android)]] -class cocos2d::CCImage { - CCImage() = mac 0x24fa00, win 0xc5fd0; - virtual ~CCImage() = mac 0x24fa80, win 0xc6100; - auto initWithImageFile(const char*, cocos2d::CCImage::EImageFormat imageType); - auto initWithImageFileThreadSafe(const char*, cocos2d::CCImage::EImageFormat imageType); - auto initWithImageData(void*, int, cocos2d::CCImage::EImageFormat, int, int, int) = mac 0x24fcb0; -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool) = mac 0xe8190; - const char* keyToString(cocos2d::enumKeyCodes) = mac 0xe8450; - void updateModifierKeys(bool shft, bool ctrl, bool alt, bool cmd) = mac 0xe8430; -} - -[[link(win, android)]] -class cocos2d::CCKeyboardHandler { - static cocos2d::CCKeyboardHandler* handlerWithDelegate(cocos2d::CCKeyboardDelegate*) = mac 0x242030; - virtual auto initWithDelegate(cocos2d::CCKeyboardDelegate*) = mac 0x241ff0, ios 0x13f8b8; - ~CCKeyboardHandler() = mac 0x241e90, ios 0x13f87c, win 0x99a10; -} - -[[link(win, android)]] -class cocos2d::CCKeypadHandler { - static cocos2d::CCKeypadHandler* handlerWithDelegate(cocos2d::CCKeypadDelegate*) = mac 0x1ff2d0; - virtual auto initWithDelegate(cocos2d::CCKeypadDelegate*) = mac 0x1ff290, ios 0x69; // iOS stub - virtual ~CCKeypadHandler() = mac 0x1ff130, ios 0x2c530, win 0xf5f50; - cocos2d::CCKeypadDelegate* getDelegate() = mac 0x1ff0b0; -} - - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - CCLabelBMFont() = mac 0x347b60; - static cocos2d::CCLabelBMFont* create(char const*, char const*) = mac 0x347660; - auto limitLabelWidth(float, float, float) = mac 0x34a6e0, ios 0x21b740; - auto setFntFile(char const*) = mac 0x34a5f0; - auto createFontChars() = mac 0x347fc0; - static auto create() = mac 0x3473f0; - - virtual auto init() = mac 0x347b10, ios 0x2198e0; - bool initWithString(const char* str, const char* fnt, float width, cocos2d::CCTextAlignment align, cocos2d::CCPoint offset) = mac 0x347710; - virtual auto setScaleX(float) = mac 0x34a5b0, ios 0x21b6e8; - virtual auto setScaleY(float) = mac 0x34a5d0, ios 0x21b714; - virtual auto setScale(float) = mac 0x34a590, ios 0x21b6bc; - virtual auto setAnchorPoint(cocos2d::CCPoint const&) = mac 0x349440, ios 0x21aa7c; - virtual auto setString(char const*) = mac 0x348990, ios 0x21a408; - virtual auto setString(char const*, bool) = mac 0x3489e0, ios 0x21a42c; - virtual auto getString() = mac 0x348bf0, ios 0x21a60c; - virtual auto setCString(char const*) = mac 0x348c10, ios 0x21a63c; - virtual auto updateLabel() = mac 0x349480, ios 0x21aad0; - virtual auto setAlignment(cocos2d::CCTextAlignment) = mac 0x34a530, ios 0x21b68c; - virtual auto setWidth(float) = mac 0x34a550, ios 0x21b69c; - virtual auto setLineBreakWithoutSpace(bool) = mac 0x34a570, ios 0x21b6ac; - virtual auto isOpacityModifyRGB() = mac 0x3490e0, ios 0x21a8c4; - virtual auto setOpacityModifyRGB(bool) = mac 0x348f70, ios 0x21a80c; - virtual auto getOpacity() = mac 0x348df0, ios 0x21a748; - virtual auto getDisplayedOpacity() = mac 0x348e10, ios 0x21a758; - virtual auto setOpacity(unsigned char) = mac 0x348e30, ios 0x21a768; - virtual auto updateDisplayedOpacity(unsigned char) = mac 0x349100, ios 0x21a8d4; - virtual auto isCascadeOpacityEnabled() = mac 0x349400, ios 0x21aa5c; - virtual auto setCascadeOpacityEnabled(bool) = mac 0x349420, ios 0x21aa6c; - virtual auto getColor() = mac 0x348c30, ios 0x21a648; - virtual auto getDisplayedColor() = mac 0x348c50, ios 0x21a658; - virtual auto setColor(cocos2d::ccColor3B const&) = mac 0x348c70, ios 0x21a668; - virtual auto updateDisplayedColor(cocos2d::ccColor3B const&) = mac 0x349210, ios 0x21a968; - virtual auto isCascadeColorEnabled() = mac 0x3493c0, ios 0x21aa3c; - virtual auto setCascadeColorEnabled(bool) = mac 0x3493e0, ios 0x21aa4c; - virtual auto setString(unsigned short*, bool) = mac 0x348a60, ios 0x21a4b4; - virtual ~CCLabelBMFont() = mac 0x347e80, win 0x9be70; -} - -[[link(win, android)]] -class cocos2d::CCLabelTTF { - static cocos2d::CCLabelTTF* create() = mac 0x1fa7e0; - static cocos2d::CCLabelTTF* create(char const*, char const*, float) = mac 0x1fa840; - auto updateTexture() = mac 0x1fadc0; - virtual auto setString(char const*) = mac 0x1fad70; -} - -[[link(win, android)]] -class cocos2d::CCLayer { - CCLayer() = mac 0x2725b0, ios 0xc7708, win 0xa15e0; - virtual auto ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2734d0, ios 0xc810c; - virtual auto ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x273650, ios 0xc82ac; - virtual auto ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2735d0, ios 0xc820c; - virtual auto ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x273550, ios 0xc816c; - virtual auto ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x2736d0, ios 0xc834c; - virtual auto ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x273850, ios 0xc852c; - virtual auto ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x2737d0, ios 0xc848c; - virtual auto ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x273750, ios 0xc83ec; - static cocos2d::CCLayer* create() = mac 0x272a00; - virtual auto didAccelerate(cocos2d::CCAcceleration*) = mac 0x272ea0, ios 0xc7c5c; - virtual auto getTouchMode() = mac 0x272e10, ios 0xc7b9c; - virtual auto getTouchPriority() = mac 0x272e00, ios 0xc7b94; - virtual auto init() = mac 0x2729a0, ios 0xc7894; - virtual auto isAccelerometerEnabled() = mac 0x272e20, ios 0xc7ba4; - virtual auto isKeyboardEnabled() = mac 0x273010, ios 0xc7d70; - virtual auto isKeypadEnabled() = mac 0x272f70, ios 0xc7cf4; - virtual auto isMouseEnabled() = mac 0x273090, ios 0xc7de0; - virtual auto isTouchEnabled() = mac 0x272ce0, ios 0xc7a54; - virtual auto keyBackClicked() = mac 0x273160, ios 0xc7e50; - virtual auto keyDown(cocos2d::enumKeyCodes) = mac 0x273280, ios 0xc7efc; - virtual auto keyMenuClicked() = mac 0x273200, ios 0xc7eac; - virtual auto onEnter() = mac 0x273300, ios 0xc7f38; - virtual auto onEnterTransitionDidFinish() = mac 0x273490, ios 0xc80cc; - virtual auto onExit() = mac 0x2733c0, ios 0xc8004; - virtual auto registerScriptTouchHandler(int, bool, int, bool) = mac 0x272bd0, ios 0xc79c8; - virtual auto registerWithTouchDispatcher() = mac 0x272b40, ios 0xc7958; - virtual auto setAccelerometerEnabled(bool) = mac 0x272e30, ios 0xc7bac; - virtual auto setAccelerometerInterval(double) = mac 0x272e70, ios 0xc7c10; - virtual auto setKeyboardEnabled(bool) = mac 0x273020, ios 0xc7d78; - virtual auto setKeypadEnabled(bool) = mac 0x272f80, ios 0xc7cfc; - virtual auto setMouseEnabled(bool) = mac 0x2730a0, ios 0xc7de8; - virtual auto setTouchEnabled(bool) = mac 0x272cf0, ios 0xc7a5c; - virtual auto setTouchMode(cocos2d::ccTouchesMode) = mac 0x272d60, ios 0xc7acc; - virtual auto setTouchPriority(int) = mac 0x272db0, ios 0xc7b30; - virtual auto unregisterScriptTouchHandler() = mac 0x272c30, ios 0xc7a28; - virtual ~CCLayer() = mac 0x2727b0, ios 0xc7848, win 0xa1940; -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - CCLayerColor() = mac 0x274320, ios 0xc8aec, win 0xa1710; - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float) = mac 0x2745e0; - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&) = mac 0x2744c0; - virtual auto draw() = mac 0x274b50, ios 0xc8fe0; - virtual auto getBlendFunc() = mac 0x274480, ios 0xc8bcc; - virtual auto init() = mac 0x274800, ios 0xc8de8; - virtual auto initWithColor(cocos2d::_ccColor4B const&) = mac 0x2749a0, ios 0xc8f14; - virtual auto initWithColor(cocos2d::_ccColor4B const&, float, float) = mac 0x274850, ios 0xc8e34; - virtual auto setBlendFunc(cocos2d::_ccBlendFunc) = mac 0x2744a0, ios 0xc8bdc; - virtual auto setColor(cocos2d::_ccColor3B const&) = mac 0x274c20, ios 0xc90ac; - virtual auto setContentSize(cocos2d::CCSize const&) = mac 0x2749f0, ios 0xc8f64; - virtual auto setOpacity(unsigned char) = mac 0x274db0, ios 0xc9108; - virtual auto updateColor() = mac 0x274ae0, ios 0xc8f80; - virtual ~CCLayerColor() = mac 0x2743d0, ios 0x2743e0, win 0xa1a20; -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - CCLayerRGBA() = mac 0x2738d0, ios 0xc85cc, win 0xa1890; - virtual auto init() = mac 0x273b40, ios 0xc8de8; - virtual auto getOpacity() = mac 0x273be0, ios 0xc8698; - virtual auto getDisplayedOpacity() = mac 0x273c00, ios 0xc8724; - virtual auto setOpacity(unsigned char) = mac 0x273c20, ios 0xc8734; - virtual auto updateDisplayedOpacity(unsigned char) = mac 0x273f20, ios 0xc88d8; - virtual auto isCascadeOpacityEnabled() = mac 0x2741f0, ios 0xc8aac; - virtual auto setCascadeOpacityEnabled(bool) = mac 0x274210, ios 0xc8abc; - virtual auto getColor() = mac 0x273d60, ios 0xc87d8; - virtual auto getDisplayedColor() = mac 0x273d80, ios 0xc87e8; - virtual auto setColor(cocos2d::_ccColor3B const&) = mac 0x273da0, ios 0xc87f8; - virtual auto updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x2740b0, ios 0xc89a4; - virtual auto isCascadeColorEnabled() = mac 0x274230, ios 0xc8acc; - virtual auto setCascadeColorEnabled(bool) = mac 0x274250, ios 0xc8adc; - // virtual auto setOpacityModifyRGB(bool) = mac 0x6180, ios 0x68e8; - // virtual auto isOpacityModifyRGB() = mac 0x6190, ios 0x68ec; - virtual ~CCLayerRGBA() = mac 0x273aa0, ios 0xc77b0, win 0xa1b20; -} - -[[link(win, android)]] -class cocos2d::CCMenu { - auto alignItemsHorizontallyWithPadding(float) = mac 0x4393e0, ios 0x132508; - auto alignItemsVerticallyWithPadding(float) = mac 0x439190; - static cocos2d::CCMenu* create() = mac 0x438720, ios 0x131ba4; - static cocos2d::CCMenu* createWithArray(cocos2d::CCArray*) = mac 0x4387e0; - static cocos2d::CCMenu* createWithItem(cocos2d::CCMenuItem*) = mac 0x438b80; - - virtual auto addChild(cocos2d::CCNode*) = mac 0x438ba0, ios 0x131ec8; - virtual auto addChild(cocos2d::CCNode*, int) = mac 0x438bb0, ios 0x131ecc; - virtual auto addChild(cocos2d::CCNode*, int, int) = mac 0x438bc0, ios 0x131ed0; - - virtual auto ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x438d20, ios 0x131fe8; - virtual auto ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4390b0, ios 0x1322ac; - virtual auto ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x438fd0, ios 0x1321bc; - virtual auto ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x439050, ios 0x132244; - virtual auto init() = mac 0x438b90, ios 0x131ec0; - virtual auto registerWithTouchDispatcher() = mac 0x438cd0, ios 0x131f8c; - virtual auto onExit() = mac 0x438bd0, ios 0x131ed4; - virtual auto removeChild(cocos2d::CCNode*, bool) = mac 0x438c20, ios 0x15e630; - bool initWithArray(cocos2d::CCArray*) = mac 0x4389f0, ios 0x131d04; - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*) = mac 0x438dd0; -} - -[[link(win, android)]] -class cocos2d::CCMenuItem { - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fb7f0; - virtual ~CCMenuItem() = mac 0x1fb8e0, ios 0x2cdf4, win 0xab9c0; - virtual auto activate() = mac 0x1fba70, ios 0x2ceb0; - virtual auto selected() = mac 0x1fb9e0, ios 0x2ce2e; - virtual auto unselected() = mac 0x1fb9f0, ios 0x2ce38; - virtual auto registerScriptTapHandler(int) = mac 0x1fba00, ios 0x2ce40; - virtual auto unregisterScriptTapHandler() = mac 0x1fba30, ios 0x2ce70; - virtual auto isEnabled() = mac 0x1fbaf0, ios 0x2cf34; - virtual auto setEnabled(bool) = mac 0x1fbae0, ios 0x2cf2c; - virtual auto isSelected() = mac 0x1fbb50, ios 0x2cf60; - auto setTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fbb60; - auto rect() = mac 0x1fbb00, ios 0x2cf3c; -} - -[[link(win, android)]] -class cocos2d::CCMenuItemImage { - // virtual ~CCMenuItemImage() = mac 0x1febb0; - virtual auto init() = mac 0x1fd750; -} - -[[link(win, android)]] -class cocos2d::CCMenuItemLabel { - virtual ~CCMenuItemLabel() = mac 0x1fc0d0; - virtual auto activate() = mac 0x1fc240; - virtual auto selected() = mac 0x1fc2e0; - virtual auto unselected() = mac 0x1fc380; - virtual auto setEnabled(bool) = mac 0x1fc3f0; - virtual auto getDisabledColor() = mac 0x1fbb80; - virtual auto setDisabledColor(cocos2d::_ccColor3B const&) = mac 0x1fbb90; - virtual auto getLabel() = mac 0x1fbbb0; - virtual auto setLabel(cocos2d::CCNode*) = mac 0x1fbbc0; -} - -[[link(win, android)]] -class cocos2d::CCMenuItemSprite { - // virtual ~CCMenuItemSprite() = mac 0x1feab0; - virtual auto selected() = mac 0x1fd3f0, ios 0x2d2cc; - virtual auto unselected() = mac 0x1fd470, ios 0x2d34c; - virtual auto setEnabled(bool) = mac 0x1fd4e0, ios 0x2d3bc; - virtual auto getNormalImage() = mac 0x1fcee0, ios 0x2cf68; - virtual auto setNormalImage(cocos2d::CCNode*) = mac 0x1fcef0, ios 0x2cf70; - virtual auto getSelectedImage() = mac 0x1fcfc0, ios 0x2d044; - virtual auto setSelectedImage(cocos2d::CCNode*) = mac 0x1fcfd0, ios 0x2d04; - virtual auto getDisabledImage() = mac 0x1fd070, ios 0x2d0fc; - virtual auto setDisabledImage(cocos2d::CCNode*) = mac 0x1fd080, ios 0x2d104; - virtual auto updateImagesVisibility() = mac 0x1fd510, ios 0x2d3dc; - - bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd2f0; - static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*) = mac 0x1fd120; - static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd140; - static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd2d0; -} - -[[link(win, android)]] -class cocos2d::CCMotionStreak { - CCMotionStreak() = win 0xae310; - virtual ~CCMotionStreak() = win 0xae450; - auto reset() = mac 0x2ee190; - auto resumeStroke() = mac 0x2edb30; - auto stopStroke() = mac 0x2edb20; - bool initWithFade(float fade, float minSeg, float stroke, cocos2d::ccColor3B const& color, cocos2d::CCTexture2D* texture) = mac 0x2ed6f0; - virtual auto draw(); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - bool dispatchScrollMSG(float x, float y) = mac 0x2e8f40; - void removeDelegate(cocos2d::CCMouseDelegate* delegate); -} - -[[link(win, android)]] -class cocos2d::CCMouseHandler { - static cocos2d::CCMouseHandler* handlerWithDelegate(cocos2d::CCMouseDelegate*) = mac 0x12ef80; - virtual auto initWithDelegate(cocos2d::CCMouseDelegate*) = mac 0x12ef40, ios 0x43798; - ~CCMouseHandler() = mac 0x12ede0, ios 0x4375c, win 0xb1fd0; -} - -[[link(win, android)]] -class cocos2d::CCMoveBy { - static cocos2d::CCMoveBy* create(float, cocos2d::CCPoint const&) = mac 0x1f50e0; -} - -[[link(win, android)]] -class cocos2d::CCMoveTo { - static cocos2d::CCMoveTo* create(float, cocos2d::CCPoint const&) = mac 0x1f54d0; -} - -[[link(win, android)]] -class cocos2d::CCNode { - CCNode() = mac 0x122550, win 0x5e7d0; - auto boundingBox() = mac 0x123030; - virtual auto _setZOrder(int) = mac 0x122990, ios 0x15dd7c; - virtual auto addChild(cocos2d::CCNode*) = mac 0x1233d0, ios 0x15e5d4; - virtual auto addChild(cocos2d::CCNode*, int) = mac 0x1233b0, ios 0x15e5c4; - virtual auto addChild(cocos2d::CCNode*, int, int) = mac 0x1232a0, ios 0x15e4e4; - virtual auto addComponent(cocos2d::CCComponent*) = mac 0x124a40, ios 0x15f6a4; - virtual auto cleanup() = mac 0x123100, ios 0x15e3a4; - auto convertToNodeSpace(cocos2d::CCPoint const&) = mac 0x124750, ios 0x15f55c; - auto convertToWorldSpace(cocos2d::CCPoint const&) = mac 0x124790; - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const& worldPoint) { - return convertToNodeSpace(worldPoint) - getAnchorPointInPoints(); - } - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const& nodePoint) { - return convertToWorldSpace(nodePoint + getAnchorPointInPoints()); - } - static cocos2d::CCNode* create() = mac 0x1230a0; - virtual auto draw() = mac 0x123840, ios 0x15e974; - auto getActionByTag(int) = mac 0x123ee0; - virtual auto getActionManager() = mac 0x123e50, ios 0x15ef54; - virtual auto getAnchorPoint() = mac 0x122d80, ios 0x15e090; - virtual auto getAnchorPointInPoints() = mac 0x122d70, ios 0x15e088; - virtual auto getCamera() = mac 0x122cb0, ios 0x15dfe4; - virtual auto getChildByTag(int) = mac 0x123220, ios 0x15e460; - virtual auto getChildren() = mac 0x122c80, ios 0x15dfcc; - virtual auto getChildrenCount() const = mac 0x122c90, ios 0x15dfd4; - virtual auto getContentSize() const = mac 0x122e00, ios 0x15e118; - virtual auto getGLServerState() = mac 0x122f90, ios 0x15e248; - virtual auto getGrid() = mac 0x122d00, ios 0x15e034; - virtual auto getOrderOfArrival() = mac 0x122f50, ios 0x15e228; - virtual auto getParent() = mac 0x122ed0, ios 0x15e1e0; - virtual auto getPosition() = mac 0x122b60, ios 0x15debc; - virtual auto getPosition(float*, float*) = mac 0x122b90, ios 0x15dedc; - virtual auto getPositionX() = mac 0x122be0, ios 0x15df30; - virtual auto getPositionY() = mac 0x122bf0, ios 0x15df38; - virtual auto getRotation() = mac 0x122a00, ios 0x15dde4; - virtual auto getRotationX() = mac 0x122a50, ios 0x15de1c; - virtual auto getRotationY() = mac 0x122a80, ios 0x15de38; - virtual auto getScale() = mac 0x122ab0, ios 0x15de54; - virtual auto getScaleX() = mac 0x122b00, ios 0x15de84; - virtual auto getScaleY() = mac 0x122b30, ios 0x15dea0; - virtual auto getScaledContentSize() = mac 0x122e10, ios 0x15e120; - virtual auto getScheduler() = mac 0x123f70, ios 0x15f008; - virtual auto getShaderProgram() = mac 0x122f70, ios 0x15e238; - virtual auto getSkewX() = mac 0x122920, ios 0x15dd3c; - virtual auto getSkewY() = mac 0x122950, ios 0x15dd58; - virtual auto getUserData() = mac 0x122f30, ios 0x15e218; - virtual auto getUserObject() = mac 0x122f80, ios 0x15e240; - virtual auto getVertexZ() = mac 0x1229e0, ios 0x15ddd4; - virtual auto getZOrder() = mac 0x122980, ios 0x15dd74; - virtual auto ignoreAnchorPointForPosition(bool) = mac 0x122f00, ios 0x15e1f8; - virtual auto init() = mac 0x122910, ios 0x15dd34; - virtual auto isIgnoreAnchorPointForPosition() = mac 0x122ef0, ios 0x15e1f0; - virtual auto isRunning() = mac 0x122ec0, ios 0x15e1d8; - virtual auto isVisible() = mac 0x122d50, ios 0x15e078; - virtual auto nodeToParentTransform() = mac 0x124210, ios 0x15f1a4; - virtual auto nodeToWorldTransform() = mac 0x124670, ios 0x15f490; - virtual auto onEnter() = mac 0x123a90, ios 0x15eb94; - virtual auto onEnterTransitionDidFinish() = mac 0x123b90, ios 0x15ec94; - virtual auto onExit() = mac 0x123ca0, ios 0x15edb0; - virtual auto onExitTransitionDidStart() = mac 0x123c00, ios 0x15ed18; - virtual auto parentToNodeTransform() = mac 0x1245d0, ios 0x15f410; - auto pauseSchedulerAndActions() = mac 0x123d60; - virtual auto registerScriptHandler(int) = mac 0x123d90, ios 0x15ee94; - virtual auto removeAllChildren() = mac 0x123600, ios 0x15e788; - virtual auto removeAllChildrenWithCleanup(bool) = mac 0x123620, ios 0x15e798; - virtual auto removeAllComponents() = mac 0x124aa0, ios 0x15f6d4; - virtual auto removeChild(cocos2d::CCNode*) = mac 0x123460, ios 0x15e630; - virtual auto removeChild(cocos2d::CCNode*, bool) = mac 0x123480, ios 0x15e640; - virtual auto removeChildByTag(int) = mac 0x1235a0, ios 0x15e724; - virtual auto removeChildByTag(int, bool) = mac 0x1235c0, ios 0x15e734; - virtual auto removeComponent(char const*) = mac 0x124a60, ios 0x15f6b4; - virtual auto removeComponent(cocos2d::CCComponent*) = mac 0x124a80, ios 0x15f6c4; - virtual auto removeFromParent() = mac 0x1233f0, ios 0x15e5e8; - virtual auto removeFromParentAndCleanup(bool) = mac 0x123410, ios 0x15e5f8; - virtual auto removeMeAndCleanup() = mac 0x123440, ios 0x15e620; - virtual auto reorderChild(cocos2d::CCNode*, int) = mac 0x123760, ios 0x15e87c; - auto resumeSchedulerAndActions() = mac 0x123b60; - auto runAction(cocos2d::CCAction*) = mac 0x123e60; - auto schedule(cocos2d::SEL_SCHEDULE) = mac 0x1240b0; - auto schedule(cocos2d::SEL_SCHEDULE, float) = mac 0x124120; - auto scheduleUpdate() = mac 0x123f80; - virtual auto setActionManager(cocos2d::CCActionManager*) = mac 0x123e00, ios 0x15ef04; - virtual auto setAnchorPoint(cocos2d::CCPoint const&) = mac 0x122d90, ios 0x15e098; - virtual auto setContentSize(cocos2d::CCSize const&) = mac 0x122e50, ios 0x15e158; - virtual auto setGLServerState(cocos2d::ccGLServerState) = mac 0x122fa0, ios 0x15e250; - virtual auto setGrid(cocos2d::CCGridBase*) = mac 0x122d10, ios 0x15e03c; - virtual auto setOrderOfArrival(unsigned int) = mac 0x122f60, ios 0x15e230; - virtual auto setParent(cocos2d::CCNode*) = mac 0x122ee0, ios 0x15e1e8; - virtual auto setPosition(cocos2d::CCPoint const&) = mac 0x122b70, ios 0x15dec4; - virtual auto setPosition(float, float) = mac 0x122ba0, ios 0x15def0; - virtual auto setPositionX(float) = mac 0x122c00, ios 0x15df40; - virtual auto setPositionY(float) = mac 0x122c40, ios 0x15df84; - virtual auto setRotation(float) = mac 0x122a10, ios 0x15ddec; - virtual auto setRotationX(float) = mac 0x122a60, ios 0x15de24; - virtual auto setRotationY(float) = mac 0x122a90, ios 0x15de40; - virtual auto setScale(float) = mac 0x122ac0, ios 0x15de5c; - virtual auto setScale(float, float) = mac 0x122ae0, ios 0x15de70; - virtual auto setScaleX(float) = mac 0x122b10, ios 0x15de8c; - virtual auto setScaleY(float) = mac 0x122b40, ios 0x15dea8; - virtual auto setScheduler(cocos2d::CCScheduler*) = mac 0x123f20, ios 0x15efb8; - virtual auto setShaderProgram(cocos2d::CCGLProgram*) = mac 0x122ff0, ios 0x15e294; - virtual auto setSkewX(float) = mac 0x122930, ios 0x15dd44; - virtual auto setSkewY(float) = mac 0x122960, ios 0x15dd60; - virtual auto setUserData(void*) = mac 0x122f40, ios 0x15e220; - virtual auto setUserObject(cocos2d::CCObject*) = mac 0x122fb0, ios 0x15e258; - virtual auto setVertexZ(float) = mac 0x1229f0, ios 0x15dddc; - virtual auto setVisible(bool) = mac 0x122d60, ios 0x15e080; - virtual auto setZOrder(int) = mac 0x1229a0, ios 0x15dd84; - virtual auto sortAllChildren() = mac 0x1237b0, ios 0x15e8d4; - auto stopActionByTag(int) = mac 0x123ec0; - auto stopAllActions() = mac 0x123190; - virtual auto unregisterScriptHandler() = mac 0x123dc0, ios 0x15eec4; - auto unschedule(cocos2d::SEL_SCHEDULE) = mac 0x124180; - auto unscheduleAllSelectors() = mac 0x1231b0; - auto unscheduleUpdate() = mac 0x124060; - virtual auto update(float) = mac 0x1241a0, ios 0x15f124; - virtual auto updateTransform() = mac 0x1249d0, ios 0x15f648; - virtual auto updateTweenAction(float, char const*) = mac 0x1249c0, ios 0x15f644; - virtual auto visit() = mac 0x123850, ios 0x15e978; - virtual auto worldToNodeTransform() = mac 0x124710, ios 0x15f51c; - virtual ~CCNode() = mac 0x122750, ios 0x6c98, win 0x5ea40; -} - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - CCNodeRGBA() = mac 0x124b30, win 0x5e9d0; - virtual ~CCNodeRGBA() = mac 0x124bb0, ios 0x15f748, win 0x5ebb0; - virtual auto init() = mac 0x124bf0, ios 0x15f780; - virtual auto getOpacity() = mac 0x124cd0, ios 0x15f7b8; - virtual auto getDisplayedOpacity() = mac 0x124cf0, ios 0x15f7c8; - virtual auto setOpacity(GLubyte) = mac 0x124d10, ios 0x15f7d8; - virtual auto updateDisplayedOpacity(GLubyte) = mac 0x124e50, ios 0x15f87c; - virtual auto isCascadeOpacityEnabled() = mac 0x124fe0, ios 0x15f948; - virtual auto setCascadeOpacityEnabled(bool) = mac 0x125000, ios 0x15f958; - virtual auto getColor() = mac 0x125020, ios 0x15f968; - virtual auto getDisplayedColor() = mac 0x125040, ios 0x15f978; - virtual auto setColor(cocos2d::_ccColor3B const&) = mac 0x125060, ios 0x15f9888; - virtual auto updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x1251e0, ios 0x15fa68; - virtual auto isCascadeColorEnabled() = mac 0x125320, ios 0x15fb70; - virtual auto setCascadeColorEnabled(bool) = mac 0x125340, ios 0x15fb80; -} - -[[link(win, android)]] -class cocos2d::CCObject { - CCObject() = mac 0x250ca0, ios 0x43864, win 0x69230; - auto acceptVisitor(cocos2d::CCDataVisitor&) = mac 0x250f30, ios 0x439f0; - auto autorelease() = mac 0x250ed0, ios 0x439b8; - auto canEncode() = mac 0x250f90, ios 0x43a24; - auto encodeWithCoder(DS_Dictionary*) = mac 0x250f70, ios 0x43a18; - virtual auto getTag() const = mac 0x250f50, ios 0x43a08; - auto isEqual(cocos2d::CCObject const*) = mac 0x250f20, ios 0x439e4; - auto release() = mac 0x250ea0, ios 0x43984; - auto retain() = mac 0x250ec0, ios 0x439a8; - - virtual auto setTag(int) = mac 0x250f60, ios 0x43a10; - ~CCObject() = mac 0x250d20, ios 0x6ac0, win 0x69270; -} - -[[link(win, android)]] -class cocos2d::CCParticleSystem { - CCParticleSystem() = win 0xb6650; - virtual ~CCParticleSystem() = win 0xb68e0; - virtual auto update(float); - auto initParticle(cocos2d::tCCParticle*); - auto resetSystem() = mac 0x46bd50; - auto resumeSystem() = mac 0x46bd40; - auto stopSystem() = mac 0x46bd10; -} - -[[link(win, android)]] -class cocos2d::CCParticleSystemQuad { - CCParticleSystemQuad() = win 0xb9bd0; - virtual ~CCParticleSystemQuad() = win 0xb9c10; - static cocos2d::CCParticleSystemQuad* create(char const*) = mac 0x36b000; - virtual auto draw(); - auto setupVBO(); -} - -[[link(win, android)]] -class cocos2d::CCPoolManager { - auto pop() = mac 0x214620; - static cocos2d::CCPoolManager* sharedPoolManager() = mac 0x2142c0; -} - -[[link(win, android)]] -class cocos2d::CCRemoveSelf { - static cocos2d::CCRemoveSelf* create(bool) = mac 0x454700; -} - -[[link(win, android)]] -class cocos2d::CCRenderTexture { - auto begin() = mac 0x35ce10; - auto end() = mac 0x35d2c0; - static cocos2d::CCRenderTexture* create(int, int, cocos2d::CCTexture2DPixelFormat) = mac 0x35c720; - auto newCCImage(bool) = mac 0x35d7d0; - auto saveToFile(char const*) = mac 0x35dab0; - auto beginWithClear(float r, float g, float b, float a) = mac 0x35d010; -} - -[[link(win, android)]] -class cocos2d::CCRepeat { - static cocos2d::CCRepeat* create(cocos2d::CCFiniteTimeAction*, unsigned int) = mac 0x1f3230; -} - -[[link(win, android)]] -class cocos2d::CCRepeatForever { - static cocos2d::CCRepeatForever* create(cocos2d::CCActionInterval*) = mac 0x1f3920; -} - -[[link(win, android)]] -class cocos2d::CCRotateBy { - static cocos2d::CCRotateBy* create(float, float) = mac 0x1f4c50; -} - -[[link(win, android)]] -class cocos2d::CCRotateTo { - static cocos2d::CCRotateTo* create(float, float) = mac 0x1f47b0; -} - -[[link(win, android)]] -class cocos2d::CCScaleTo { - static cocos2d::CCScaleTo* create(float, float) = mac 0x1f6ff0; - static cocos2d::CCScaleTo* create(float, float, float) = mac 0x1f70f0; -} - -[[link(win, android)]] -class cocos2d::CCScaleBy { - static cocos2d::CCScaleTo* create(float, float) = mac 0x1f73c0; - static cocos2d::CCScaleTo* create(float, float, float) = mac 0x1f7480; -} - -[[link(win, android)]] -class cocos2d::CCScene { - static cocos2d::CCScene* create() = mac 0x13c140, ios 0x163070; - auto getHighestChildZ() = mac 0x13c200, ios 0x1630e4; -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - auto scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool) = mac 0x242b20; - void scheduleSelector(cocos2d::SEL_SCHEDULE selector, cocos2d::CCObject* target, float interval, bool paused) { - this->scheduleSelector(selector, target, interval, kCCRepeatForever, 0, paused); - } - void unscheduleSelector(cocos2d::SEL_SCHEDULE pfnSelector, cocos2d::CCObject *pTarget) = mac 0x2425f0; - auto scheduleUpdateForTarget(cocos2d::CCObject*, int, bool) = mac 0x2438d0; - auto unscheduleAllForTarget(cocos2d::CCObject*) = mac 0x243e40; - auto unscheduleUpdateForTarget(cocos2d::CCObject const*) = mac 0x243c60; - auto resumeTargets(cocos2d::CCSet*) = mac 0x244680; - auto pauseAllTargets() = mac 0x244550; - virtual void update(float delta) = mac 0x2446d0; -} - -[[link(win, android)]] -class cocos2d::CCSequence { - static auto createWithVariableList(cocos2d::CCFiniteTimeAction*, va_list) = mac 0x1f2910; -} - -[[link(win, android)]] -class cocos2d::CCSet { - CCSet() = mac 0x45ad80, ios 0x10e870, win 0x699e0; - static auto create() = mac 0x45b0b0; - auto addObject(cocos2d::CCObject*) = mac 0x45b1f0; - virtual ~CCSet() = mac 0x45b050, ios 0x10ebcc, win 0x69a80; - virtual auto acceptVisitor(cocos2d::CCDataVisitor&) = mac 0x45b090, ios 0x10ec04; - auto anyObject() = mac 0x45b410; - - void removeObject(cocos2d::CCObject* obj) { - m_pSet->erase(obj); - CC_SAFE_RELEASE(obj); - } -} - -[[link(win, android)]] -class cocos2d::CCShaderCache { - static auto sharedShaderCache() = mac 0xe6d10; - auto programForKey(const char*) = mac 0xe7d40; - void reloadDefaultShaders(); -} - -[[link(win, android)]] -class cocos2d::CCSprite { - virtual ~CCSprite() = mac 0x133430, ios 0x15b92c, win 0xd2f90; - virtual auto init() = mac 0x132ef0, ios 0x15b488; - virtual auto setVertexZ(float) = mac 0x134a80, ios 0x15ccc8; - virtual auto setScaleX(float) = mac 0x134900, ios 0x15cb3c; - virtual auto setScaleY(float) = mac 0x134980, ios 0x15cbbc; - virtual auto setScale(float) = mac 0x134a00, ios 0x15cc3c; - virtual auto setPosition(cocos2d::CCPoint const&) = mac 0x134650, ios 0x15c878; - virtual auto setSkewX(float) = mac 0x134820, ios 0x15ca5c; - virtual auto setSkewY(float) = mac 0x134890, ios 0x15cacc; - virtual auto setAnchorPoint(cocos2d::CCPoint const&) = mac 0x134af0, ios 0x15cd38; - virtual auto setVisible(bool) = mac 0x134b70, ios 0x15cdac; - virtual auto setRotation(float) = mac 0x1346d0, ios 0x15c90c; - virtual auto setRotationX(float) = mac 0x134740, ios 0x15c97c; - virtual auto setRotationY(float) = mac 0x1347b0, ios 0x15c9ec; - virtual auto ignoreAnchorPointForPosition(bool) = mac 0x134b60, ios 0x15cda8; - virtual auto addChild(cocos2d::CCNode*) = mac 0x134190, ios 0x15c34c; - virtual auto addChild(cocos2d::CCNode*, int) = mac 0x1341a0, ios 0x15c350; - virtual auto addChild(cocos2d::CCNode*, int, int) = mac 0x1341b0, ios 0x15c354; - virtual auto removeChild(cocos2d::CCNode*, bool) = mac 0x134300, ios 0x15c4cc; - virtual auto removeAllChildrenWithCleanup(bool) = mac 0x134340, ios 0x15c514; - virtual auto reorderChild(cocos2d::CCNode*, int) = mac 0x134270, ios 0x15c438; - virtual auto sortAllChildren() = mac 0x1343f0, ios 0x15c5cc; - virtual auto draw() = mac 0x134070, ios 0x15c240; - virtual auto updateTransform() = mac 0x133b70, ios 0x15be0c; - virtual auto setOpacity(unsigned char) = mac 0x134da0, ios 0x15cf48; - virtual auto updateDisplayedOpacity(unsigned char) = mac 0x1354c0, ios 0x15d228; - virtual auto setColor(cocos2d::_ccColor3B const&) = mac 0x134ff0, ios 0x15d088; - virtual auto updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x135370, ios 0x15d1dc; - virtual auto setOpacityModifyRGB(bool) = mac 0x135200, ios 0x15d198; - virtual auto isOpacityModifyRGB() = mac 0x135350, ios 0x15d1cc; - virtual auto initWithTexture(cocos2d::CCTexture2D*) = mac 0x133110, ios 0x15b608; - virtual auto initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&) = mac 0x1330f0, ios 0x15b5f8; - virtual auto initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool) = mac 0x132f10, ios 0x15b4a0; - virtual auto initWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x133270, ios 0x15b78c; - virtual auto initWithSpriteFrameName(char const*) = mac 0x1332c0, ios 0x15b7f0; - virtual auto initWithFile(char const*) = mac 0x133180, ios 0x15b684; - virtual auto initWithFile(char const*, cocos2d::CCRect const&) = mac 0x133210, ios 0x15b720; - virtual auto setTexture(cocos2d::CCTexture2D*) = mac 0x135a90, ios 0x15d610; - virtual auto getTexture() = mac 0x135c00, ios 0x15d748; - // virtual auto setBlendFunc(cocos2d::_ccBlendFunc) = mac 0x50590, ios 0x14c7c; - // virtual cocos2d::_ccBlendFunc getBlendFunc() = mac 0x505a0, ios 0x14c88; - virtual auto setChildColor(cocos2d::_ccColor3B const&) = mac 0x135160, ios 0x15d0f4; - virtual auto setChildOpacity(unsigned char) = mac 0x134f50, ios 0x15cfe4; - virtual auto getBatchNode() = mac 0x135910, ios 0x15d4e0; - virtual auto setBatchNode(cocos2d::CCSpriteBatchNode*) = mac 0x135920, ios 0x15d4e8; - virtual auto refreshTextureRect() = mac 0x133520, ios 0x15b964; - virtual auto setTextureRect(cocos2d::CCRect const&) = mac 0x133560, ios 0x15b9a8; - virtual auto setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&) = mac 0x133580, ios 0x15b9bc; - virtual auto setVertexRect(cocos2d::CCRect const&) = mac 0x1338f0, ios 0x15bc5c; - virtual auto setDisplayFrame(cocos2d::CCSpriteFrame*) = mac 0x135610, ios 0x15d274; - virtual auto isFrameDisplayed(cocos2d::CCSpriteFrame*) = mac 0x1356d0, ios 0x15d344; - virtual auto displayFrame() = mac 0x135760, ios 0x15d3d8; - virtual auto setDisplayFrameWithAnimationName(char const*, int) = mac 0x135680, ios 0x15d2f0; - // virtual auto isDirty() = mac 0x505b0, ios 0x14c94; - // virtual auto setDirty(bool) = mac 0x505c0, ios 0x14c9c; - virtual auto setTextureCoords(cocos2d::CCRect const&) = mac 0x133910, ios 0x15bc64; - virtual auto updateBlendFunc() = mac 0x135a20, ios 0x15d5a0; - virtual auto setReorderChildDirtyRecursively() = mac 0x134550, ios 0x15c764; - virtual auto setDirtyRecursively(bool) = mac 0x1345b0, ios 0x15c7cc; - - CCSprite() = mac 0x133300, ios 0x15b82c, win 0xd2eb0; - - static cocos2d::CCSprite* create() = mac 0x132df0; - static cocos2d::CCSprite* create(char const*) = mac 0x132a80; - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x132cb0; - static cocos2d::CCSprite* createWithSpriteFrameName(char const*) = mac 0x132dc0, ios 0x15b3ec; - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*) = mac 0x132790; - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&) = mac 0x132960; - - void setFlipX(bool) = mac 0x134be0; - void setFlipY(bool) = mac 0x134c30; -} - -[[link(win, android)]] -class cocos2d::CCSpriteBatchNode { - static cocos2d::CCSpriteBatchNode* create(char const*, unsigned int) = mac 0xbb540; - static auto createWithTexture(cocos2d::CCTexture2D*, unsigned int) = mac 0xbb310; - auto getUsedAtlasCapacity() = mac 0xbc6b0; - auto increaseAtlasCapacity(unsigned int) = mac 0xbc670; - - virtual ~CCSpriteBatchNode() = mac 0xbb790, ios 0x130d18, win 0xd5580; - - virtual auto init() = mac 0xbb680, ios 0x130c20; - virtual auto addChild(cocos2d::CCNode*) = mac 0xbbb40, ios 0x131034; - virtual auto addChild(cocos2d::CCNode*, int) = mac 0xbbb50, ios 0x131038; - virtual auto addChild(cocos2d::CCNode*, int, int) = mac 0xbb930, ios 0x130e0c; - virtual auto removeChild(cocos2d::CCNode*, bool) = mac 0xbbbb0, ios 0x1310a4; - virtual auto removeAllChildrenWithCleanup(bool) = mac 0xbbe30, ios 0x1312d8; - virtual auto reorderChild(cocos2d::CCNode*, int) = mac 0xbbb60, ios 0x13103c; - virtual auto sortAllChildren() = mac 0xbbee0, ios 0x13137c; - virtual auto draw() = mac 0xbc540, ios 0x13191c; - virtual auto visit() = mac 0xbb880, ios 0x130d54; - virtual auto getTexture() = mac 0xbcd70, ios 0x131a70; - virtual auto setTexture(cocos2d::CCTexture2D*) = mac 0xbcda0, ios 0x131a90; - virtual auto setBlendFunc(cocos2d::ccBlendFunc) = mac 0xbcd30, ios 0x131a50; - virtual auto getBlendFunc() = mac 0xbcd50, ios 0x131a60; -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrame { - static auto createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&) = mac 0x1ac7f0; - static auto createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&) = mac 0x1ac5c0; - auto getTexture() = mac 0x1ad250; -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrameCache { - auto addSpriteFramesWithFile(char const*) = mac 0x199a10, ios 0x29e818; - static cocos2d::CCSpriteFrameCache* sharedSpriteFrameCache() = mac 0x198970, ios 0x29dc4c; - auto spriteFrameByName(char const*) = mac 0x19a7e0; -} - -[[link(win, android)]] -class cocos2d::CCStandardTouchHandler { - static cocos2d::CCStandardTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int) = mac 0x247f30; - virtual auto initWithDelegate(cocos2d::CCTouchDelegate*, int) = mac 0x247ed0, ios 0x69; // iOS stub - ~CCStandardTouchHandler() = mac 0x2482a0, ios 0x6d28, win 0xf5a40; -} - -[[link(win, android)]] -class cocos2d::CCString { - // virtual ~CCString() = mac 0x44c590; - virtual auto isEqual(cocos2d::CCObject const*) = mac 0x44c8f0, ios 0x1a1e6c; - virtual auto acceptVisitor(cocos2d::CCDataVisitor&) = mac 0x44ccb0, ios 0x1a2168; - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*) = mac 0x44c870, ios 0x1a1e14; - static cocos2d::CCString* createWithData(unsigned char const*, unsigned long) = mac 0x44c9d0; - // cocos2d::CCString::create(gd::string const&) = mac 0x44c960; - // CCString(gd::string const&) = mac 0x44c310; - auto boolValue() const = mac 0x44c810, ios 0x1a1d88; - auto doubleValue() const = mac 0x44c7f0; - auto floatValue() const = mac 0x44c7d0; - auto getCString() const = mac 0x44c470, ios 0x1a1b7c; - auto intValue() const = mac 0x44c780, ios 0x1a1ca8; -} - -[[link(win, android)]] -class cocos2d::CCTargetedTouchHandler { - static cocos2d::CCTargetedTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int, bool) = mac 0x248010; - auto initWithDelegate(cocos2d::CCTouchDelegate*, int, bool) = mac 0x2480f0, ios 0x69; // iOS stub - ~CCTargetedTouchHandler() = mac 0x248180, ios 0x6cec, win 0xf59a0; -} - - -[[link(win, android)]] -class cocos2d::CCTexture2D { - CCTexture2D() = mac 0x246280, win 0xe9300; - ~CCTexture2D() = mac 0x246350, win 0xe93f0; - auto getContentSize() = mac 0x246460; - auto getMaxS() = mac 0x2464e0; - auto getMaxT() = mac 0x246500; - auto getName() = mac 0x246450; - auto getPixelFormat() = mac 0x246420; - auto getPixelsHigh() = mac 0x246440; - auto getPixelsWide() = mac 0x246430; - auto getShaderProgram() = mac 0x246520; - auto initPremultipliedATextureWithImage(cocos2d::CCImage*, unsigned int, unsigned int) = mac 0x2469a0; - auto initWithData(void const*, cocos2d::CCTexture2DPixelFormat, unsigned int, unsigned int, cocos2d::CCSize const&) = mac 0x2465d0; - auto setAliasTexParameters() = mac 0x247a20; - auto setAntiAliasTexParameters() = mac 0x247a80; - static void setDefaultAlphaPixelFormat(cocos2d::CCTexture2DPixelFormat); - static cocos2d::CCTexture2DPixelFormat defaultAlphaPixelFormat(); - auto setMaxS(float) = mac 0x2464f0; - auto setMaxT(float) = mac 0x246510; - auto setShaderProgram(cocos2d::CCGLProgram*) = mac 0x246530; - auto initWithImage(cocos2d::CCImage*) = mac 0x246940; - auto setTexParameters(cocos2d::_ccTexParams*) = mac 0x247980; -} - -[[link(win, android)]] -class cocos2d::CCTextureAtlas { - CCTextureAtlas() = win 0xea680; - virtual ~CCTextureAtlas() = win 0xea6c0; - auto drawNumberOfQuads(unsigned int, unsigned int); - auto mapBuffers(); -} - -[[link(win, android)]] -class cocos2d::CCTextFieldTTF { - static auto textFieldWithPlaceHolder(char const*, char const*, float) = mac 0x126220; -} - -[[link(win, android)]] -class cocos2d::CCTextureCache { - auto addImage(char const*, bool) = mac 0x358120, ios 0xa8388; - auto textureForKey(char const*) = mac 0x359050; - - static cocos2d::CCTextureCache* sharedTextureCache() = mac 0x356e00, ios 0xa81ec; -} - -[[link(win, android)]] -class cocos2d::CCTime { - static auto gettimeofdayCocos2d(cocos2d::cc_timeval*, void*) = mac 0x19eac0; -} - -[[link(win, android)]] -class cocos2d::CCTintTo { - static cocos2d::CCTintTo* create(float, unsigned char, unsigned char, unsigned char) = mac 0x1f82a0; -} - -[[link(win, android)]] -class cocos2d::CCTouch { - auto getDelta() const = mac 0x38340; - auto getLocationInView() const = mac 0x38250; - auto getPreviousLocationInView() const = mac 0x38270; - auto getLocation() const = mac 0x382b0, ios 0x21ce78; - auto getPreviousLocation() const = mac 0x382e0; - auto getStartLocation() const = mac 0x38310; -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - auto addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = mac 0x281180; - auto addStandardDelegate(cocos2d::CCTouchDelegate*, int) = mac 0x281060; - auto removeDelegate(cocos2d::CCTouchDelegate* delegate) = mac 0x2813b0; - auto decrementForcePrio(int) = mac 0x280f70, ios 0xcc280; - auto incrementForcePrio(int) = mac 0x280f60, ios 0xcc268; - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int) = mac 0x281a60; -} - -[[link(win, android)]] -class cocos2d::CCTouchHandler { - virtual auto initWithDelegate(cocos2d::CCTouchDelegate*, int) = mac 0x247d10, ios 0x69f8; - auto getPriority() = mac 0x247c20; - cocos2d::CCTouchDelegate* getDelegate() { - return m_pDelegate; - } - ~CCTouchHandler() = mac 0x247de0, ios 0x6ac0; -} - -[[link(win, android)]] -class cocos2d::CCTransitionFade { - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*) = mac 0x8ea30, ios 0x12c244; - virtual bool initWithDuration(float t, cocos2d::CCScene* scene, cocos2d::ccColor3B const& color) = mac 0x8e930; -} - -[[link(win, android)]] -class cocos2d::ZipUtils { - static auto compressString(gd::string, bool, int) = mac 0xe9a50; - static auto decompressString(gd::string, bool, int) = mac 0xea380; - static auto decompressString2(unsigned char* data, bool decrypt, int size, int decryptionKey); - static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**) = mac 0xe9cf0; -} - -[[link(win, android)]] -class cocos2d::extension::CCControl { - CCControl() {} - virtual bool init() = mac 0x1a71c0; - virtual ~CCControl() = mac 0x1a7380; - auto sendActionsForControlEvents(cocos2d::extension::CCControlEvent) = mac 0x1a7490; - auto registerWithTouchDispatcher() = mac 0x1a7420; - auto setOpacityModifyRGB(bool) = mac 0x1a7c10; - auto onExit() = mac 0x1a7480; - auto isTouchInside(cocos2d::CCTouch*) = mac 0x1a7de0; - auto setEnabled(bool) = mac 0x1a7e60; - auto onEnter() = mac 0x1a7470; - auto isEnabled() = mac 0x1a7e90; - auto setSelected(bool) = mac 0x1a7ea0; - auto isOpacityModifyRGB() = mac 0x1a7d70; - auto setHighlighted(bool) = mac 0x1a7ed0; - auto needsLayout() = mac 0x1a7e50; - auto getTouchLocation(cocos2d::CCTouch*) = mac 0x1a7d90; - auto isHighlighted() = mac 0x1a7ef0; - auto addTargetWithActionForControlEvents(cocos2d::CCObject*, cocos2d::extension::SEL_CCControlHandler, cocos2d::extension::CCControlEvent) = mac 0x1a7820; - auto removeTargetWithActionForControlEvents(cocos2d::CCObject*, cocos2d::extension::SEL_CCControlHandler, cocos2d::extension::CCControlEvent) = mac 0x1a7950; - auto isSelected() = mac 0x1a7ec0; -} - - -class cocos2d::extension::CCControlColourPicker { - [[link(win)]] - CCControlColourPicker() {} - [[link(win)]] - ~CCControlColourPicker() = mac 0x1aae30; - [[link(win, android)]] - auto setColorValue(cocos2d::_ccColor3B const&) = mac 0x1aac10; - [[link(win)]] - auto ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x1aae10; - [[link(win)]] - auto init() = mac 0x1aa400; - [[link(win)]] - static auto colourPicker() = mac 0x1aaa30; - [[link(win)]] - cocos2d::ccColor3B const& getColorValue() const { - return m_rgb; - } - -} - -[[link(win, android)]] -class cocos2d::extension::CCControlUtils { - static cocos2d::extension::HSV HSVfromRGB(cocos2d::extension::RGBA) = mac 0x1e6750; - static cocos2d::extension::RGBA RGBfromHSV(cocos2d::extension::HSV) = mac 0x1e6850; -} - -[[link(win, android)]] -class cocos2d::extension::CCScale9Sprite { - CCScale9Sprite() = mac 0x211330; - static cocos2d::extension::CCScale9Sprite* create(char const*) = mac 0x2130d0; - static cocos2d::extension::CCScale9Sprite* create(char const*, cocos2d::CCRect) = mac 0x212ef0; - static cocos2d::extension::CCScale9Sprite* create(char const*, cocos2d::CCRect, cocos2d::CCRect) = mac 0x212dd0; - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*, cocos2d::CCRect) = mac 0x213380; - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*) = mac 0x213460; - virtual ~CCScale9Sprite() = mac 0x211590; - virtual auto init() = mac 0x2115d0; - virtual auto setContentSize(cocos2d::CCSize const&) = mac 0x2127c0, ios 0x13e400; - virtual auto visit() = mac 0x213bf0; - virtual auto getOpacity() = mac 0x213f30; - virtual auto setOpacity(unsigned char) = mac 0x213dd0; - virtual auto updateDisplayedOpacity(unsigned char) = mac 0x2139b0; - virtual auto getColor() = mac 0x213db0; - virtual auto setColor(cocos2d::_ccColor3B const&) = mac 0x213c20; - virtual auto updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x213a20; - virtual auto setOpacityModifyRGB(bool) = mac 0x213830; - virtual auto isOpacityModifyRGB() = mac 0x213990; - virtual auto getPreferredSize() = mac 0x213620; - virtual auto setPreferredSize(cocos2d::CCSize) = mac 0x2135f0; - virtual auto getCapInsets() = mac 0x2136e0; - virtual auto setCapInsets(cocos2d::CCRect) = mac 0x213640; - virtual auto getInsetLeft() = mac 0x213b30; - virtual auto setInsetLeft(float) = mac 0x213b70; - virtual auto getInsetTop() = mac 0x213b40; - virtual auto setInsetTop(float) = mac 0x213b90; - virtual auto getInsetRight() = mac 0x213b50; - virtual auto setInsetRight(float) = mac 0x213bb0; - virtual auto getInsetBottom() = mac 0x213b60; - virtual auto setInsetBottom(float) = mac 0x213bd0; - virtual auto initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect) = mac 0x211690; - virtual auto initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, cocos2d::CCRect) = mac 0x211630; - virtual auto initWithFile(char const*, cocos2d::CCRect, cocos2d::CCRect) = mac 0x212d50; - virtual auto initWithFile(char const*, cocos2d::CCRect) = mac 0x212e80; - virtual auto initWithFile(cocos2d::CCRect, char const*) = mac 0x212f80; - virtual auto initWithFile(char const*) = mac 0x213080; - virtual auto initWithSpriteFrame(cocos2d::CCSpriteFrame*, cocos2d::CCRect) = mac 0x213140; - virtual auto initWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x213250; - virtual auto initWithSpriteFrameName(char const*, cocos2d::CCRect) = mac 0x213310; - virtual auto initWithSpriteFrameName(char const*) = mac 0x213410; - virtual auto updateWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect) = mac 0x211730; - virtual auto setSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x213a90; -} - -[[link(win, android)]] -class cocos2d::extension::CCScrollView { - CCScrollView() = mac 0x214800; - virtual ~CCScrollView() = mac 0x214c30; - static auto create(cocos2d::CCSize, cocos2d::CCNode*) = mac 0x214cd0; - virtual auto init() = mac 0x214fb0; - virtual auto setContentSize(cocos2d::CCSize const&) = mac 0x215eb0; - virtual auto getContentSize() const = mac 0x215e90; - virtual auto addChild(cocos2d::CCNode*) = mac 0x216160; - virtual auto addChild(cocos2d::CCNode*, int) = mac 0x216120; - virtual auto addChild(cocos2d::CCNode*, int, int) = mac 0x216080; - virtual auto visit() = mac 0x2164a0; - virtual auto ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x216620; - virtual auto ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x216890; - virtual auto ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x216c70; - virtual auto ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x216d30; - virtual auto registerWithTouchDispatcher() = mac 0x214ff0; - virtual auto setTouchEnabled(bool) = mac 0x215250; -} - -[[link(win, android)]] -class cocos2d { - static auto FNTConfigLoadFile(char const*) = mac 0x344f10; - static auto ccGLUseProgram(GLuint) = mac 0x1ae540; - static auto ccGLBlendFunc(GLenum, GLenum) = mac 0x1ae560; - static auto ccDrawSolidRect(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor4F) = mac 0xecf00; - static auto ccGLEnableVertexAttribs(unsigned int) = mac 0x1ae740; - static auto ccGLBindTexture2D(GLuint) = mac 0x1ae610; - static auto ccGLBindTexture2DN(GLuint, GLuint) = mac 0x1ae650; - static float ccpDistance(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = mac 0x1aaf90; - static auto ccDrawLine(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = mac 0xeccc0; - static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool) = mac 0xed0a0; - static void ccDrawColor4B(GLubyte, GLubyte, GLubyte, GLubyte) = mac 0xeddd0; - static void CCMessageBox(const char* msg, const char* title) = mac 0xbabc0; -} - -[[link(win)]] -class DS_Dictionary { - DS_Dictionary() = mac 0xbe9a0; - ~DS_Dictionary() = mac 0x393c30; - bool saveRootSubDictToString() = mac 0xc09c0; - bool loadRootSubDictFromString(gd::string) = mac 0xbfd80; - bool stepIntoSubDictWithKey(char const*) = mac 0xc0cd0; - int getIntegerForKey(char const*) = mac 0xc1610; - void setIntegerForKey(char const*, int) = mac 0xc26b0; - void setDictForKey(char const*, cocos2d::CCDictionary*) = mac 0xC4EA0; - auto getObjectForKey(char const*) = mac 0xC4BB0; -} - -[[link(win, android)]] -class pugi::xml_document { - xml_document() = mac 0x393a80; - ~xml_document() = mac 0x393b50; -} - -// clang-format on diff --git a/bindings/bindings/2.113/Entry.bro b/bindings/bindings/2.113/Entry.bro deleted file mode 100644 index ea7c7a9..0000000 --- a/bindings/bindings/2.113/Entry.bro +++ /dev/null @@ -1,2 +0,0 @@ -#include -#include \ No newline at end of file diff --git a/bindings/bindings/2.113/GeometryDash.bro b/bindings/bindings/2.113/GeometryDash.bro deleted file mode 100644 index a543012..0000000 --- a/bindings/bindings/2.113/GeometryDash.bro +++ /dev/null @@ -1,6296 +0,0 @@ -// geode additions to make stl containers easier -// clang-format off -class GDString { - void winDtor() = win 0xf6e0; - GDString& winAssign(GDString const&, size_t, size_t) = win 0xf720; - GDString& winAssign(char const*) = win 0xf680; - GDString& winAssign(char const*, size_t) = win 0xf840; - - static uintptr_t macEmptyContainer() { - return geode::base::get() + 0x6030d0; - } - void macCtor(char const*) = mac 0x489fc0; - void macCtor(GDString const&) = mac 0x489fcc; - GDString& macAssign(char const*) = mac 0x489f96; - GDString& macAssign(GDString const&) = mac 0x489f9c; - void macDestroy() = mac 0x489f78; -} - -void testFunction(int a) = mac 0x100000; - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - static AchievementBar* create(const char* title, const char* desc, const char* icon, bool quest) = mac 0x379f80, win 0x3b120, ios 0x1a4784; - - PAD = win 0x24; -} - -[[link(android)]] -class AchievementCell : cocos2d::CCLayer { - void loadFromDict(cocos2d::CCDictionary*) = mac 0x10eaa0, win 0x59010; - - virtual bool init() = win 0x11070; -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - void getAllAchievements() = mac 0x434d60; - static AchievementManager* sharedState() = mac 0x424420, win 0x7b10; - - PAD = win 0x10; - cocos2d::CCDictionary* m_achievements; - PAD = win 0x4; -} - - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - void notifyAchievement(const char* title, const char* desc, const char* icon, bool quest) { - m_queue->addObject(AchievementBar::create(title, desc, icon, quest)); - if (!m_currentAchievement) { - this->showNextAchievement(); - } - } - - static AchievementNotifier* sharedState() = mac 0x464e00, win 0xfc90; - void willSwitchToScene(cocos2d::CCScene*) = mac 0x4650b0, win 0xfea0; - void showNextAchievement() = mac 0x464f10, win 0xfd60, ios 0x13f508; - - cocos2d::CCScene* m_currentScene; - cocos2d::CCArray* m_queue; - AchievementBar* m_currentAchievement; -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - void customSetup() = mac 0x1bdea0, win 0x3c2f0; - void loadPage(int) = mac 0x1be190, win 0x3c600; -} - -[[link(android)]] -class AnimatedGameObject : GameObject, AnimatedSpriteDelegate, SpritePartDelegate { - void playAnimation(int) = mac 0xc93d0, win 0x2539e0; - void updateChildSpriteColor(cocos2d::_ccColor3B) = mac 0xc8450, win 0x2531f0; -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - void animationFinished(const char*) {} - - static AnimatedShopKeeper* create(ShopType type) = mac 0x1a57d0, win 0x14c4d0; - void startAnimating() = win 0x14c690; - - float m_unknown1; - float m_unknown2; - bool m_unknown; -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual void animationFinished(const char*) {} -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - void bgScale() = mac 0x3aaab0; - virtual bool applicationDidFinishLaunching() = mac 0x3aa900, win 0x3cbb0; - virtual void applicationDidEnterBackground() = mac 0x3aabe0, win 0x3cf40; - virtual void applicationWillEnterForeground() = mac 0x3aac80, win 0x3d130; - virtual void applicationWillBecomeActive() = mac 0x3aab30, win 0x3ce90; - virtual void applicationWillResignActive() = mac 0x3aab50, win 0x3cf20; - virtual void trySaveGame() = mac 0x3aaf10, win 0x3d5e0, ios 0x1a28f0; - virtual void willSwitchToScene(cocos2d::CCScene*) = mac 0x3aaf40, win 0x3d690; - static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - bool musicTest() = win 0x3d580; - void pauseGame() = mac 0x3aab60, win 0x3d3e0; - void resumeSound() = win 0x3d4d0; - void setupGLView() = win 0x3c950; - - bool m_unk0; - bool m_unk1; - cocos2d::CCScene* m_runningScene; - bool m_loadingFinished; - bool m_unk2; - bool m_unk3; - bool m_use16BitFormatForColorPicker; - bool m_unk4; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - virtual void draw() = mac 0x11c980, win 0x59d40; // same as StatsCell - virtual bool init() = mac 0x11c7c0, win 0x11250; - void loadFromObject(SongInfoObject*) = mac 0x1118b0, win 0x5ede0; - void onNewgrounds(cocos2d::CCObject*) = mac 0x11c7e0, win 0x5f0c0; - void updateBGColor(int) = mac 0x110460, win 0x5c6b0; // same as GJUserCell - - void* m_idk; -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - void audioStep(float) = mac 0x271f40, win 0x3daa0; - static AudioEffectsLayer* create(gd::string) = mac 0x271a00, win 0x3d850; - void resetAudioVars() = mac 0x271ee0, win 0x3da40; - void goingDown() = win 0x3dd40; - virtual void updateTweenAction(float, const char*) = win 0x3dc70; - - int m_unk198; - cocos2d::CCArray* m_unk19C; - cocos2d::CCArray* m_unk1A0; - float m_unk1A4; - float m_unk1A8; - bool m_unk1AC; - float m_unk1B0; - bool m_unk1B4; -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - static BoomListView* create(cocos2d::CCArray*, float, float, int, BoomListType) = mac 0x18ecb0; - bool init(cocos2d::CCArray*, float, float, int, BoomListType) = mac 0x18ee00, win 0x10c20, ios 0x12c5a8; - virtual void draw() {} - - virtual void setupList() = mac 0x18ef90, win 0x10dc0; - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) = mac 0x18f070, win 0x10e50; - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned int, TableView*) = mac 0x18f0b0, win 0x10e60; - virtual unsigned int numberOfSectionsInTableView(TableView*) = mac 0x18f0e0, win 0x10a70; - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) = mac 0x18f100, win 0x10e70; - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(const char*) = mac 0x18f200, win 0x10ed0; - virtual void loadCell(TableViewCell*, int) = mac 0x18f4a0, win 0x10ff0; - inline bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, height, width, 0, type); - } - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - BoomScrollLayer() = mac 0x1e42f0, win 0x11510; - void instantMoveToPage(int page) = win 0x12330; - void moveToPage(int page) = win 0x12400; - - cocos2d::CCArray* m_dots; - PAD = win 0x40; - ExtendedLayer* m_layer; - PAD = win 0x48; - int m_page; -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - static ButtonSprite* create( - const char* caption, - int width, - int unknown, - float scale, - bool absoluteWidth, - const char* font, - const char* texture, - float height - ) = win 0x137d0, mac 0x4fa90, ios 0x38c7c; - - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - int unknown, - float height, - float scale, - bool absoluteWidth, - const char* texture, - bool bUnknown - ) = win 0x134b0, mac 0x4f1d0; - - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - static ButtonSprite* create(char const*, int, int, float, bool) = mac 0x4fa40; - void updateBGImage(const char*) = mac 0x502d0, win 0x13af0; - static ButtonSprite* create(char const*, float) = mac 0x4fa60; - void setString(const char* txt) = mac 0x4fec0, win 0x14030; - void updateSpriteBGSize() = mac 0x4f5d0, win 0x13c00; - void setColor(cocos2d::ccColor3B color) = mac 0x50410, win 0x143e0; - - PAD = mac 0x18, win 0x18; - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_subSprite; - cocos2d::CCSprite* m_subBGSprite; - cocos2d::extension::CCScale9Sprite* m_BGSprite; - PAD = mac 0xC, win 0x8; - cocos2d::CCPoint m_spritePosition; -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - void runAnimation(gd::string) = mac 0x1a6430, win 0x14f60; - void tweenToAnimation(gd::string, float) = mac 0x1a65b0, win 0x15080; - static CCAnimatedSprite* createWithType(const char* file) = win 0x14540; - - gd::string m_unknown1; - gd::string m_unknown2; - PAD = win 0x14; - gd::string m_unknown3; - PAD = win 0x4; -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - static CCAnimateFrameCache* sharedSpriteFrameCache() = mac 0x2e4df0, win 0x158f0; - void addSpriteFramesWithFile(const char* file) = win 0x159b0; - - cocos2d::CCDictionary* m_unknown1; - cocos2d::CCDictionary* m_unknown2; - cocos2d::CCDictionary* m_unknown3; -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - inline CCBlockLayer() {} - virtual bool init() = mac 0x2a59c0, win 0x168d0; - virtual void draw() = mac 0x2a5c20, win 0x16a80; // same as GJDropDownLayer - virtual void registerWithTouchDispatcher() = mac 0x2a5ad0, win 0x16990; // shared with many - virtual void customSetup() = win 0x7640; - virtual void enterLayer() = mac 0x2a5aa0, win 0x16970; - virtual void exitLayer() = mac 0x2a5b40, win 0x169e0; // same as PauseLayer, EditorPauseLayer - virtual void showLayer(bool) = mac 0x2a5b90, win 0x16a20; // same as PauseLayer, EditorPauseLayer - virtual void hideLayer(bool) = mac 0x2a5ba0, win 0x16a30; // same as PauseLayer, EditorPauseLayer - virtual void layerVisible() = mac 0x2a5bc0, win 0x16a40; // same as GJDropDownLayer - virtual void layerHidden() = mac 0x2a5be0, win 0x16a50; // same as PauseLayer, EditorPauseLayer - virtual void enterAnimFinished() {} - virtual void disableUI() {} - virtual void enableUI() {} - - bool m_unknown; - bool m_unknown2; -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - static CCCircleWave* create(float, float, float, bool) = mac 0xbd270; - static CCCircleWave* create(float, float, float, bool, bool) = mac 0xbd290, win 0x16c00; - bool init(float, float, float, bool, bool) = mac 0xbd380, win 0x16cd0; - void followObject(cocos2d::CCNode*, bool) = mac 0xbd670, win 0x16f20; - callback void updatePosition(float) = mac 0xbd630, win 0x16f00; - virtual void setPosition(cocos2d::CCPoint const& pos) = mac 0xbd600, win 0x16ed0; - virtual void removeMeAndCleanup() = mac 0xbdac0, win 0x17280; - virtual void draw() = mac 0xbd960, win 0x17100; - virtual void updateTweenAction(float dt, const char* key) = mac 0xbd960, win 0x16f90; - - cocos2d::CCNode* m_child; - PAD = win 0x4; - float m_currentRadius; - float m_currentOpacity; - cocos2d::ccColor3B m_color; - cocos2d::CCPoint m_circleCenter; - int m_filled; - int m_lineWidth; - float m_opacityMultiplier; - bool m_blendFuncDirty; -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual void circleWaveWillBeRemoved(CCCircleWave* wave) {} -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - static CCContentLayer* create(cocos2d::ccColor4B const& color, float width, float height) = win 0x172a0; - virtual void setPosition(cocos2d::CCPoint const& pos) = mac 0x464c60, win 0x17400; -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - static CCIndexPath* CCIndexPathWithSectionRow(int idk1, int idk2) = win 0x30e40; - inline CCIndexPath() = default; - int m_unknown1; - int m_unknown2; -} - -[[link(android)]] -class CCLightFlash { - static CCLightFlash* create() = mac 0x295870, win 0x17920; - void playEffect(cocos2d::CCPoint, cocos2d::_ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float) = mac 0x295900, win 0x179f0; -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - void useAnimationType(MenuAnimationType type) { - m_startPosition = this->getNormalImage()->getPosition(); - m_animationType = type; - } - void setDestination(cocos2d::CCPoint const& pos) { - m_destPosition = pos; - } - void setOffset(cocos2d::CCPoint const& pos) { - m_offset = pos; - } - void setScale(float scale) { - this->CCMenuItemSprite::setScale(scale); - m_baseScale = scale; - } - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1253c0, win 0x18ee0, ios 0xe0740; - inline static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - void setSizeMult(float) = mac 0x1255e0, win 0x19080; - CCMenuItemSpriteExtra() = mac 0x32670, win 0x18db0; - ~CCMenuItemSpriteExtra() = win 0x18eb0; - bool init( - cocos2d::CCNode* normalImage, - cocos2d::CCNode* selectedImage, - cocos2d::CCObject* target, - cocos2d::SEL_MenuHandler callback - ) { - if (!cocos2d::CCMenuItemSprite::initWithNormalSprite( - normalImage, selectedImage, nullptr, target, callback - )) return false; - - this->setAnchorPoint({ .5f, .5f }); - this->setContentSize(normalImage->getScaledContentSize()); - normalImage->setPosition(m_obContentSize / 2); - - m_baseScale = 1.f; - m_animationEnabled = true; - m_scaleMultiplier = 1.26f; - - return true; - } - virtual void activate() = mac 0x125730, win 0x191c0; - virtual void selected() = mac 0x125840, win 0x19270; - virtual void unselected() = mac 0x125a70, win 0x19430; - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - inline CCMenuItemToggler() : CCMenuItem(), m_onButton(nullptr), m_offButton(nullptr), m_toggled(false), m_notClickable(false) {} - - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - bool isOn() { - return m_toggled; - } - bool isToggled() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - static CCMenuItemToggler* create(cocos2d::CCNode* offSpr, cocos2d::CCNode* onSpr, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) = mac 0x38400, win 0x19600, ios 0xf5594; - void setSizeMult(float) = mac 0x38a40, win 0x19850; - void toggle(bool) = mac 0x38950, win 0x199b0, ios 0xf5848; - bool init(cocos2d::CCNode* off, cocos2d::CCNode* on, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler handler) = mac 0x38500, win 0x196e0; - virtual void activate() = mac 0x38bc0, win 0x198d0, ios 0xf59ac; - virtual void selected() = mac 0x38b80, win 0x198a0; - virtual void unselected() = mac 0x38c00, win 0x19900; - virtual void setEnabled(bool enabled) = mac 0x38c40, win 0x19930; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCNode { - static CCMoveCNode* create() = mac 0x1842a0, win 0x121c70; - ~CCMoveCNode() = mac 0x18b2c0; - - float m_staticMoveX; - float m_staticMoveY; - float m_staticRotation; - bool m_lockObjectRotation; - int m_parentGroupId; - bool m_forceUpdate; - int m_unk104; - float m_followXMod; - float m_followYMod; - bool m_unk110; - float m_optimizedMoveX; - float m_optimizedMoveY; - float m_optimizedRotation; - float m_playerFollowSpeed; - float m_playerFollowDelay; - float m_playerFollowOffset; - float m_playerFollowMaxSpeed; - GroupCommandObject* m_followCommand; -} - -[[link(android)]] -class GroupCommandObject : cocos2d::CCNode { - // too lazy to re rn - // the ints are definitely real members but idk their types - cocos2d::CCPoint m_ec; - int m_f4; - int m_f8; - int m_fc; - int m_100; - int m_104; - int m_108; - cocos2d::CCPoint m_10c; - cocos2d::CCPoint m_114; - cocos2d::CCPoint m_11c; - int m_124; - int m_128; - int m_12c; - int m_130; - int m_134; - bool m_138; - float m_13c; - float m_140; - bool m_144; - int m_148; - int m_14c; - int m_150; - int m_154; - int m_158; - int m_15c; - cocos2d::CCPoint m_160; - cocos2d::CCPoint m_168; - int m_170; - int m_174; - int m_178; - int m_17c; - int m_180; - bool m_184; -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - static CCNodeContainer* create() = mac 0xb1090, win 0x112370; - virtual bool init() = mac 0xba950, win 0x33b40; - void visit() = mac 0xba960, win 0x112420; -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - inline CCScrollLayerExt() {} - - static CCScrollLayerExt* create(cocos2d::CCRect rect, bool vertical) { - auto pRet = new CCScrollLayerExt(rect); - if (pRet) { - pRet->autorelease(); - pRet->m_disableVertical = !vertical; - pRet->m_disableHorizontal = vertical; - pRet->m_cutContent = true; - return pRet; - } - CC_SAFE_DELETE(pRet); - return nullptr; - } - float getMinY() { - return this->getContentSize().height - - m_contentLayer->getContentSize().height - - m_scrollLimitTop; - } - float getMaxY() { - return m_scrollLimitBottom; - } - - // todo: add this back when CCDestructor works and - // this no longer causes crashing - // virtual ~CCScrollLayerExt() = mac 0x2359b0, win 0x1b520; - virtual void visit() = mac 0x236550, win 0x1bed0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x235ef0, win 0x1b9b0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x236300, win 0x1bce0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x236020, win 0x1baa0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2362a0, win 0x1bcc0; - virtual void registerWithTouchDispatcher() = mac 0x235eb0, win 0x1b980; - virtual void preVisitWithClippingRect(cocos2d::CCRect) = mac 0x2366a0, win 0x1c000; - virtual void postVisit() = mac 0x236720, win 0x1c090; - void moveToTop() = mac 0x235870, win 0x1b4a0; - void moveToTopWithOffset(float) = mac 0x2357d0, win 0x1b420; - CCScrollLayerExt(cocos2d::CCRect rect) = mac 0x235130, win 0x1b020, ios 0x21f05c; - void scrollLayer(float scroll) = mac 0x236490, win 0x1be20; - void updateIndicators(float unknown) = win 0x1b710; - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - virtual void scrollViewTouchBegin(CCScrollLayerExt*) {} - virtual void scrollViewTouchEnd(CCScrollLayerExt*) {} -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - virtual bool initWithSpriteFrameName(const char*) = mac 0x248670, win 0x1c1e0; - virtual void setScaleX(float scale) = win 0x1c440; - virtual void setScaleY(float scale) = win 0x1c4c0; - virtual void setScale(float scale) = win 0x1c540; - virtual void setPosition(const cocos2d::CCPoint& pos) = win 0x1c220; - virtual void setRotation(float rotation) = win 0x1c280; - virtual bool initWithTexture(cocos2d::CCTexture2D* texture) = win 0x1c200; - virtual void setFlipX(bool flip) = win 0x1c300; - virtual void setFlipY(bool flip) = win 0x1c3a0; - static CCSpritePlus* createWithSpriteFrame(cocos2d::CCSpriteFrame* frame) = win 0x1c130; - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - inline CCTextInputNode() : cocos2d::CCLayer(), cocos2d::CCIMEDelegate(), cocos2d::CCTextFieldDelegate(), m_caption(), m_allowedChars() { - m_numberInput = false; - m_unknown1 = 0; - m_selected = false; - m_unknown2 = false; - m_maxLabelWidth = 0.f; - m_maxLabelScale = 0.f; - m_placeholderScale = 0.f; - m_placeholderColor = cocos2d::ccc3(0,0,0); - m_textColor = cocos2d::ccc3(0,0,0); - m_cursor = nullptr; - m_textField = nullptr; - m_delegate = nullptr; - m_maxLabelLength = 0; - m_placeholderLabel = nullptr; - m_unknown3 = false; - m_usePasswordChar = false; - m_forceOffset = false; - } - inline ~CCTextInputNode() { - if (m_selected) m_textField->detachWithIME(); - } - void setLabelNormalColor(cocos2d::ccColor3B color) { - m_textColor = color; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float scale) { - m_placeholderScale = scale; - this->refreshLabel(); - } - void setMaxLabelScale(float scale) { - m_maxLabelScale = scale; - this->refreshLabel(); - } - void setMaxLabelWidth(int length) { - m_maxLabelLength = length; - this->refreshLabel(); - } - void setAllowedChars(gd::string filter) { - m_allowedChars = filter; - } - void forceOffset() { - m_forceOffset = true; - } - void setString(gd::string text) = mac 0x5d3e0, win 0x21070; - const char* getString() { - return m_textField->getString(); - } - cocos2d::CCTextFieldTTF* getTextField() { - return m_textField; - } - cocos2d::CCLabelBMFont* getPlaceholderLabel() { - return m_placeholderLabel; - } - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - - inline static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - inline static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - auto ret = new CCTextInputNode(); - if (ret && ret->init(width, height, placeholder, "Thonburi", fontSize, fontPath)) { - ret->autorelease(); - return ret; - } - CC_SAFE_DELETE(ret); - return nullptr; - } - bool init(float width, float height, const char* caption, const char* thonburi, int maxCharCount, const char* font) = mac 0x5d180, win 0x20e50, ios 0xe261c; - - void refreshLabel() = mac 0x5d730, win 0x21330, ios 0xe2af4; - void updateLabel(gd::string) = mac 0x5d4a0, win 0x21190; - void updateBlinkLabel() = mac 0x5d920; - virtual void registerWithTouchDispatcher() = mac 0x5eec0, win 0x220e0; - virtual void visit() = mac 0x5d380, win 0x21000; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x5ec80, win 0x21f20; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void textChanged() = mac 0x5dd70, win 0x216e0; - virtual void onClickTrackNode(bool) = mac 0x5dd40, win 0x216b0; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&) = mac 0x5dad0, win 0x21580; - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&) = mac 0x5dc20, win 0x21650; - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int) = mac 0x5de50, win 0x21760; - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*) = mac 0x5e2c0, win 0x21b10; - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*) = mac 0x5e610, win 0x21d60; - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_unknown3; - bool m_usePasswordChar; - bool m_forceOffset; -} - -[[link(android)]] -class ChallengesPage { - static ChallengesPage* create() = mac 0x1db350, win 0x3e050; -} - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - static CheckpointObject* create() = mac 0x7e7d0, win 0x20DDD0; - void getObject() = mac 0x7ef50; - - GameObject* m_gameObject; - PlayerCheckpoint* m_player1; - PlayerCheckpoint* m_player2; - bool m_isDual; - bool m_isFlipped; - cocos2d::CCPoint m_cameraPos; - int m_unk104; - GameObject* m_lastPortal; - PAD = win 0x4; - double m_unk110; - gd::string m_currentStateString; - gd::string m_objectsStateString; -} - -[[link(android)]] -class CollisionBlockPopup { - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x130010; - void onNextItemID(cocos2d::CCObject*) = mac 0x130e60; -} - -[[link(android)]] -class CollisionTriggerAction : cocos2d::CCNode { - static CollisionTriggerAction* createFromString(gd::string) = mac 0x176ee0; -} - -[[link(android)]] -class ColorAction : cocos2d::CCNode { - static ColorAction* create() = mac 0x17c990, win 0x11ab10; - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float) = win 0x11ab60, mac 0x17cab0; - gd::string getSaveString() = mac 0x17d080, win 0x11ada0; - void setupFromDict(cocos2d::CCDictionary*) = mac 0x17f310, win 0x11b7c0; - void setupFromString(gd::string) = mac 0x17f270, win 0x11b730; - - bool m_stepFinished; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_targetColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_opacity; - float m_targetOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - PAD = mac 0x1; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - PAD = mac 0x10; -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - float m_opacity; - cocos2d::_ccColor3B m_f0124; - cocos2d::_ccColor3B m_activeColor; -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - void updateBlending(bool) = mac 0x16e1d0, win 0x114710; - void updateCopyLabel(int, bool) = mac 0x16ded0, win 0x114440; - void updateOpacity(float) = mac 0x16e080, win 0x1145c0; - void updateValues(ColorAction*) = mac 0x16e2e0, win 0x114800; - static ColorChannelSprite* create() = mac 0x16de00, win 0x114340; - - cocos2d::CCLabelBMFont* m_copyLabel; - cocos2d::CCLabelBMFont* m_opacityLabel; - cocos2d::CCLabelBMFont* m_blendingDot; -} - -[[link(android)]] -class ColorSelectDelegate { - virtual void colorSelectClosed(cocos2d::CCNode*) {} -} - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - bool init(ColorAction*, ColorAction*, EffectGameObject*) = mac 0x2e2790, win 0x41db0; - void sliderChanged(cocos2d::CCObject*) = mac 0x2e3830; - void onSelectTab(cocos2d::CCObject*) = mac 0x2e3f40, win 0x430f0; - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; - PAD = win 0x64; - bool m_detailMode; -} - -[[link(android)]] -class ColorSelectPopup : FLAlertLayer, cocos2d::extension::ColorPickerDelegate, TextInputDelegate, GJSpecialColorSelectDelegate { - virtual void colorValueChanged(cocos2d::ccColor3B color) = mac 0x423320, win 0x46ee0; - ColorSelectPopup() {} - bool init(EffectGameObject* triggerObj, cocos2d::CCArray* triggerObjs, ColorAction* colorAction) = mac 0x41ee70, win 0x43ae0; - void updateColorValue() = win 0x46f30; - void updateCopyColorTextInputLabel() = win 0x479c0, mac 0x422ed0; - void closeColorSelect(cocos2d::CCObject* sender) = mac 0x421af0, win 0x46d80; - - cocos2d::extension::CCControlColourPicker* m_colorPicker; - cocos2d::CCLabelBMFont* m_unk1DC; - cocos2d::CCLabelBMFont* m_label; - Slider* m_unk1E4; - Slider* m_slider; - EffectGameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - CCMenuItemToggler* m_toggler1; - CCMenuItemToggler* m_toggler2; - unsigned int m_rgbLastColor; - cocos2d::CCSprite* m_unk200; - cocos2d::CCSprite* m_unk204; - cocos2d::ccColor3B m_selectedColor; - GJColorSetupLayer* m_colorSetupLayer; - float m_fadeTime; - int m_playerColor; - bool m_isBlending; - float m_opacity; - ColorAction* m_colorAction; - CCTextInputNode* m_textInput1; - bool m_unk228; - bool m_isTouchTrigger; - bool m_unk22A; - bool m_isMultipleColorTrigger; - bool m_unk22C; - bool m_isColorTrigger; - int m_colorID; - bool m_unk234; - int m_copyChannelID; - bool m_copyOpacity; - ConfigureHSVWidget* m_hsvWidget; - PAD = win 0x10, mac 0x10, android 0x10; - cocos2d::CCArray* m_unk254; - cocos2d::CCArray* m_unk258; - CCTextInputNode* m_textInput2; - PAD = win 0x4, mac 0x8, android 0x4; - CCMenuItemToggler* m_toggler3; - CCMenuItemToggler* m_toggler4; - PAD = win 0x8, mac 0x10, android 0x8; - cocos2d::CCArray* m_unk274; - bool m_spawnTrigger; - bool m_multiTrigger; - bool m_copyColor; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual void colorSetupClosed(int channel) {} -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - void loadFromComment(GJComment*) = mac 0x111c70, win 0x5f3d0; - void onConfirmDelete(cocos2d::CCObject* sender) = mac 0x11d100, win 0x61140; - void onLike(cocos2d::CCObject* sender) = mac 0x11d000, win 0x60F90; - virtual void likedItem(LikeItemType type, int id, bool special) = mac 0x11d340, win 0x61070; - virtual void FLAlert_Clicked(FLAlertLayer* layer, bool btn) = mac 0x11d540, win 0x61260; - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class CommentUploadDelegate { - virtual void commentUploadFinished(int) {} - virtual void commentUploadFailed(int, CommentError) {} - virtual void commentDeleteFailed(int, int) {} -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode { - bool init(cocos2d::ccHSVValue val, bool abs) = win 0x4a3f0, mac 0x237310; - void updateLabels() = win 0x4adf0, mac 0x237df0; - cocos2d::CCLabelBMFont* m_hueLabel; - cocos2d::CCLabelBMFont* m_saturationLabel; - cocos2d::CCLabelBMFont* m_brightnessLabel; - Slider* m_hueSlider; - Slider* m_saturationSlider; - Slider* m_brightnessSlider; - cocos2d::ccHSVValue m_value; -} - -[[link(android)]] -class CountTriggerAction : cocos2d::CCNode { - static CountTriggerAction* createFromString(gd::string) = mac 0x1754f0; - - int m_previousCount; - int m_targetCount; - int m_targetID; - bool m_activateGroup; - bool m_multiActivate; -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - void doClearGuidelines() = win 0x4cf60, mac 0x299690; - void onStop(cocos2d::CCObject* sender) = win 0x4d2c0, mac 0x2990f0; - - void* m_unk; - LevelSettingsObject* m_levelSettings; - PAD = win 0x1c; - gd::string m_guidelineString; -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1c580, win 0x93db0; - - PAD = win 0x18; - int m_objectID; - int m_buildTabPage; - int m_buildTab; -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - void onBack(cocos2d::CCObject*) = win 0x4fae0; - void onChallenge(cocos2d::CCObject*) = mac 0x142960, win 0x4f1b0; - void onLeaderboards(cocos2d::CCObject*) = mac 0x142920, win 0x4ed20; - void onMyLevels(cocos2d::CCObject*) = mac 0x142b70, win 0x4eaa0; - void onSavedLevels(cocos2d::CCObject*) = mac 0x142860, win 0x4ebe0; - void onDailyLevel(cocos2d::CCObject*) = mac 0x142980, win 0x4f170; - void onWeeklyLevel(cocos2d::CCObject*) = mac 0x1429a0, win 0x4f190; - void onFeaturedLevels(cocos2d::CCObject*) = mac 0x142a20, win 0x4edf0; - void onFameLevels(cocos2d::CCObject*) = mac 0x142a80, win 0x4ee70; - void onMapPacks(cocos2d::CCObject*) = mac 0x1429c0, win 0x4efb0; - void onOnlineLevels(cocos2d::CCObject*) = mac 0x142ae0, win 0x4ef60; - void onGauntlets(cocos2d::CCObject*) = mac 0x142b20, win 0x4f0a0; - void onSecretVault(cocos2d::CCObject*) = win 0x4f1d0; - void onTreasureRoom(cocos2d::CCObject*) = win 0x4f540; - virtual void sceneWillResume() = mac 0x1438F0, win 0x4fb50; - virtual bool init() = mac 0x141c10, win 0x4de40; - static CreatorLayer* create() = mac 0x141b10, win 0x4dda0; -} - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - inline CurrencyRewardLayer() {} - ~CurrencyRewardLayer() = mac 0x447950, win 0x4ffb0; - virtual void update(float) = mac 0x44a5c0, win 0x52350; - - static CurrencyRewardLayer* create( - int, int, int, - CurrencySpriteType, int, - CurrencySpriteType, int, - cocos2d::CCPoint, CurrencyRewardType, float - ) = win 0x50050; -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual void currencyWillExit(CurrencyRewardLayer*) {} -} - -[[link(android)]] -class CustomListView : BoomListView { - static CustomListView* create(cocos2d::CCArray*, float, float, int, BoomListType) = mac 0x10d410, win 0x57f90, ios 0x99154; - inline static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, width, height, 0, type); - } - virtual TableViewCell* getListCell(const char*) = mac 0x10d560, win 0x58050; - virtual void loadCell(TableViewCell*, int) = mac 0x10e610, win 0x585c0; - virtual void setupList() = mac 0x116e70, win 0x58870; - inline CustomListView() {} -} - -[[link(android)]] -class CustomSongCell : TableViewCell { - void loadFromObject(SongInfoObject*) = mac 0x110220, win 0x5e9f0; -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, FLAlertLayerProtocol, TextInputDelegate, GJDropDownLayerDelegate { - bool init(LevelSettingsObject*) = mac 0xf06f0, win 0x65c10; - void onArtists(cocos2d::CCObject*) = mac 0xf1950; - void onSongBrowser(cocos2d::CCObject*) = mac 0xf18a0, win 0x67080; - void onSearch(cocos2d::CCObject*) = mac 0xf1ad0, win 0x66de0; - - LevelSettingsObject* m_levelSettings; - CCTextInputNode* m_songIDInput; - CustomSongWidget* m_songWidget; - LevelSettingsLayer* m_levelSettingsLayer; -} - -[[link(android)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - bool init(SongInfoObject*, LevelSettingsObject*, bool, bool, bool, bool, bool) = mac 0x37be20, win 0x685b0; - void FLAlert_Clicked(FLAlertLayer*, bool) {} - void loadSongInfoFinished(SongInfoObject*) {} - - void startDownload() = win 0x69610; - void startMonitorDownload() = win 0x696b0; - void updatePlaybackBtn() = win 0x69970; - void updateSongInfo() = win 0x69bf0; - void updateSongObject(SongInfoObject* song) = win 0x69280, mac 0x37d690; - void onCancelDownload(cocos2d::CCObject*) = win 0x693b0; - void onDownload(cocos2d::CCObject*) = win 0x69540; - void onGetSongInfo(cocos2d::CCObject*) = win 0x69490; - void onMore(cocos2d::CCObject*) = win 0x68e20; - void onPlayback(cocos2d::CCObject*) = win 0x697b0; - void onSelect(cocos2d::CCObject*) = win 0x69760; - - SongInfoObject* m_songInfo; - cocos2d::CCMenu* m_buttonMenu; - cocos2d::CCLabelBMFont* m_songLabel; - cocos2d::CCLabelBMFont* m_artistLabel; - cocos2d::CCLabelBMFont* m_songIDLabel; - cocos2d::CCLabelBMFont* m_errorLabel; - CCMenuItemSpriteExtra* m_downloadBtn; - CCMenuItemSpriteExtra* m_cancelDownloadBtn; - CCMenuItemSpriteExtra* m_selectSongBtn; - CCMenuItemSpriteExtra* m_getSongInfoBtn; - CCMenuItemSpriteExtra* m_playMusicBtn; - CCMenuItemSpriteExtra* m_moreBtn; - cocos2d::CCSprite* m_sliderGroove; - cocos2d::CCSprite* m_sliderBar; - LevelSettingsObject* m_levelSettings; - bool m_showSelectSongBtn; - bool m_showPlayMusicBtn; - bool m_showDownloadButtons; - bool m_isNotDownloading; - bool m_hasDefaultSong; - int m_customSongID; - bool m_unkBool; -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetPopupDelegate, ColorSelectDelegate, ColorSetupDelegate { - void onNextColorChannel(cocos2d::CCObject* sender) = mac 0xe0270, win 0x56c80; - void onSelectColor(cocos2d::CCObject* sender) = mac 0xdfdc0, win 0x577b0; - void onSelectMode(cocos2d::CCObject* sender) = mac 0xdf820, win 0x56db0; - int getActiveMode(bool unknown) = mac 0xe0740, win 0x57210; - void onClose(cocos2d::CCObject*) = mac 0xdf660, win 0x57ac0; - void updateSelected(int channelID) = mac 0xe0970, win 0x57850; - bool init(GameObject* target, cocos2d::CCArray* targets) = mac 0xdd560, win 0x53e00; - void onHSV(cocos2d::CCObject* sender) = win 0x567c0, mac 0xdfa00; - void toggleVisible() = mac 0xe1140, win 0x56fb0; - void highlightSelected(ButtonSprite* target) = mac 0xe0aa0, win 0x579d0; - void updateCustomColorLabels() = mac 0xdff40, win 0x576d0; - void onUpdateCustomColor(cocos2d::CCObject* sender) = mac 0xdfe70, win 0x57350; - void updateColorSprite() = mac 0xe0610, win 0x56370; - // inlined in most places - void updateChannelLabel(int channel) = mac 0xe06e0, win 0x56f50; - virtual void hsvPopupClosed(HSVWidgetPopup* popup, cocos2d::ccHSVValue value) = win 0x56990; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0xe0610, win 0x564a0; - virtual void textChanged(CCTextInputNode* input) = mac 0xe1470, win 0x574d0; - inline CustomizeObjectLayer() {} - ~CustomizeObjectLayer() = win 0x53c30; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_colorButtons; - cocos2d::CCArray* m_colorTabNodes; - cocos2d::CCArray* m_textTabNodes; - PAD = win 0x4, mac 0x8, android 0x4; - cocos2d::CCArray* m_detailTabNodes; - int m_selectedMode; - int m_customColorChannel; - bool m_unk0x200; - bool m_unk0x201; - bool m_glowDisabled; - CCMenuItemSpriteExtra* m_baseButton; - CCMenuItemSpriteExtra* m_detailButton; - CCMenuItemSpriteExtra* m_textButton; - CCMenuItemSpriteExtra* m_baseColorHSV; - CCMenuItemSpriteExtra* m_detailColorHSV; - cocos2d::CCLabelBMFont* m_titleLabel; - cocos2d::CCLabelBMFont* m_selectedColorLabel; - CCTextInputNode* m_customColorInput; - CCTextInputNode* m_textInput; - ButtonSprite* m_customColorButtonSprite; - CCMenuItemSpriteExtra* m_customColorButton; - CCMenuItemSpriteExtra* m_arrowDown; - CCMenuItemSpriteExtra* m_arrowUp; - cocos2d::extension::CCScale9Sprite* m_customColorInputBG; - ColorChannelSprite* m_colorSprite; - CCMenuItemSpriteExtra* m_colorSpriteButton; - bool m_showTextInput; - bool m_customColorSelected; -} - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - static DailyLevelPage* create(bool weekly) = mac 0x108ac0, win 0x6a860; - bool init(bool weekly) = mac 0x108C90, win 0x6a900; - callback void updateTimers(float) = mac 0x109780, win 0x6bef0; - virtual void show() = mac 0x10a4b0, win 0x3f360; - - PAD = mac 0x29, win 0x15, android 0x15; - bool m_weekly; -} - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - bool init(GJGameLevel* level, DailyLevelPage* page, bool weekly) = mac 0x10ABB0, win 0x6C480; -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor { - static DialogLayer* create(DialogObject* dialog, int color) { - return DialogLayer::createDialogLayer(dialog, nullptr, color); - } - - static DialogLayer* createWithObjects(cocos2d::CCArray* dialogs, int color) { - return DialogLayer::createDialogLayer(nullptr, dialogs, color); - } - - static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = mac 0x2047d0, win 0x6D470, ios 0x459d0; - bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x6D520; - void animateIn(DialogAnimationType location) = win 0x6E130, mac 0x205a70; - void updateChatPlacement(DialogChatPlacement placement) = mac 0x205360; - - ~DialogLayer() = mac 0x204720; - virtual void onEnter() = mac 0x205900, win 0x23750; // same as every other FLAlertLayer - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x205790, win 0x6e000; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2057e0, win 0x6e030; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x205840, win 0x6e050; - virtual void registerWithTouchDispatcher() = mac 0x205890, win 0x236f0; // same as every other FLAlertLayer - virtual void keyBackClicked() = mac 0x2056a0, win 0x6df60; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x205ce0, win 0x6e370; - virtual void fadeInTextFinished(TextArea*) = mac 0x205930, win 0x6e070; -} - -[[link(android)]] -class DialogDelegate { - virtual void dialogClosed(DialogLayer*) {} -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - DialogObject() {} - - static DialogObject* create(gd::string title, gd::string text, int portrait, float text_scale, bool is_unskippable, cocos2d::ccColor3B text_color) = win 0x6D160; - bool init(gd::string title, gd::string text, int portrait, float text_scale, bool is_unskippable, cocos2d::ccColor3B text_color) = win 0x6D2E0; - - gd::string m_text; - gd::string m_title; - int m_dialogType; - cocos2d::ccColor3B m_colour; - float m_textWidth; - bool m_canSkip; -} - -[[link(android)]] -class DownloadMessageDelegate {} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - static DrawGridLayer* get() { - auto editorLayer = LevelEditorLayer::get(); - if (!editorLayer) return nullptr; - return editorLayer->m_drawGridLayer; - } - - bool init(cocos2d::CCNode* grid, LevelEditorLayer* editor) = win 0x16c4d0, mac 0x2729a0; - virtual void draw() = win 0x16ce90, mac 0xa3c40; - virtual void update(float) = win 0x16cd80, mac 0xa3b30; - void clearPlayerPoints() { - m_playerNodePoints->removeAllObjects(); - m_player2NodePoints->removeAllObjects(); - } - - void loadTimeMarkers(gd::string guidelines) = mac 0x94010, win 0x16cab0; - - std::array* m_commonLines; - std::array* m_yellowGuidelines; - std::array* m_greenGuidelines; - float m_songOffset1; - float m_songOffset2; - float m_lastMusicXPosition; - bool m_effectSortDirty; - LevelEditorLayer* m_editor; - gd::string m_guidelineString; - cocos2d::CCNode* m_grid; - cocos2d::CCArray* m_guidelines; - cocos2d::CCArray* m_effects; - cocos2d::CCArray* m_guides; - cocos2d::CCArray* m_speedObjects1; - cocos2d::CCArray* m_speedObjects2; - cocos2d::CCArray* m_playerNodePoints; - cocos2d::CCArray* m_player2NodePoints; - double m_unkDouble; - float m_guidelineSpacing; - float m_slowGuidelineSpacing; - float m_normalGuidelineSpacing; - float m_fastGuidelineSpacing; - float m_fasterGuidelineSpacing; - float m_fastestGuidelineSpacing; - bool m_updatingTimeMarkers; - bool m_timeNeedsUpdate; - float m_activeGridNodeSize; - float m_gridSize; -} - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - void removeAllItems() { - m_buttonArray->removeAllObjects(); - this->reloadItemsInNormalSize(); - } - void reloadItems(int rowCount, int columnCount) { - if (m_buttonArray) - this->loadFromItems(m_buttonArray, rowCount, columnCount, m_unknown); - } - void reloadItemsInNormalSize() { - // TODO: fix this - // this->reloadItems( - // GameManager::sharedState()->getIntGameVariable("0049"), - // GameManager::sharedState()->getIntGameVariable("0050") - // ); - } - void addButton(CCMenuItemSpriteExtra* btn, bool reload) { - if (m_buttonArray) - m_buttonArray->addObject(btn); - if (reload) - this->reloadItemsInNormalSize(); - } - - void loadFromItems(cocos2d::CCArray* buttons, int rowCount, int columnCount, bool idk) = mac 0x351010, win 0x6e5e0, ios 0x2dd060; - static EditButtonBar* create( - cocos2d::CCArray* buttons, - cocos2d::CCPoint point, - int idk, bool idk0, - int rowCount, int columnCount - ) = mac 0x350e60, win 0x6e450; - - bool init(cocos2d::CCArray* buttons, int, bool, int rowCount, int columnCount, cocos2d::CCPoint pos) = win 0x6e550; - cocos2d::CCPoint m_position; - int m_unknown; - bool m_unknownBool; - cocos2d::CCArray* m_buttonArray; - BoomScrollLayer* m_scrollLayer; - cocos2d::CCArray* m_pagesArray; -} - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, FLAlertLayerProtocol, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - static cocos2d::CCScene* scene(GJGameLevel* level) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(EditLevelLayer::create(level)); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - - static EditLevelLayer* create(GJGameLevel* level) = mac 0xe1e50, win 0x6f530, ios 0x82420; - bool init(GJGameLevel* level) = mac 0xe1fd0, win 0x6f5d0; - void onLevelInfo(cocos2d::CCObject*) = mac 0xe4f60, win 0x70660; - void onPlay(cocos2d::CCObject*) = mac 0xe3ae0, win 0x71700; - void onEdit(cocos2d::CCObject*) = mac 0xe3970, win 0x71ac0; - void onShare(cocos2d::CCObject*) = mac 0xe3c60, win 0x71be0; - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_someFont; -} - -[[link(android)]] -class EditorOptionsLayer { - void onButtonsPerRow(cocos2d::CCObject*) = mac 0x147b30; -} - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - static EditorPauseLayer* get() { - if (!EditorUI::get()) return nullptr; - - auto editor = LevelEditorLayer::get(); - for (auto i = 0u; i < editor->getChildrenCount(); ++i) { - if (auto layer = cast::safe_cast(editor->getChildren()->objectAtIndex(i))) { - return layer; - } - } - return nullptr; - } - static EditorPauseLayer* create(LevelEditorLayer* editor) { - auto pRet = new EditorPauseLayer(); - if (pRet && pRet->init(editor)) { - pRet->autorelease(); - return pRet; - } - CC_SAFE_DELETE(pRet); - return nullptr; - } - inline EditorPauseLayer() {} - ~EditorPauseLayer() = mac 0x13c3b0, win 0x73020; - virtual void keyBackClicked() = mac 0x13f320, win 0x758d0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x13f3a0, win 0x758d0; - virtual void customSetup() = mac 0x13cc00, win 0x73550; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x13f1b0, win 0x75780; - void saveLevel() = mac 0x13ebd0, win 0x75010; - bool init(LevelEditorLayer*) = mac 0x13c7a0, win 0x730e0, ios 0x280cb8; - void onExitEditor(cocos2d::CCObject* sender) = mac 0x13f180, win 0x75660; - void playStep2() = mac 0x13f040, win 0x75440; - void onResume(cocos2d::CCObject* sender) = mac 0x13e170, win 0x74fe0; - void onSaveAndPlay(cocos2d::CCObject* sender) = mac 0x13e1b0, win 0x753d0; - void onSaveAndExit(cocos2d::CCObject* sender) = mac 0x13e230, win 0x75620; - void onSave(cocos2d::CCObject* sender) = mac 0x13e290, win 0x755a0; - void onExitNoSave(cocos2d::CCObject* sender) = win 0x75700; - void uncheckAllPortals(cocos2d::CCObject* sender) = win 0x74760; - void onResetUnusedColors(cocos2d::CCObject* sender) = win 0x74810; - void doResetUnused() = win 0x165070; - void updateSongButton() = win 0x74f10, mac 0x13e530; - void onSong(cocos2d::CCObject*) = win 0x74e70, mac 0x13e470; - - bool m_saved; - CCMenuItemSpriteExtra* m_guidelinesOffButton; - CCMenuItemSpriteExtra* m_guidelinesOnButton; - LevelEditorLayer* m_editorLayer; -} - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, MusicDownloadDelegate { - static EditorUI* get() { - auto lel = LevelEditorLayer::get(); - if (!lel) return nullptr; - return lel->m_editorUI; - } - inline EditorUI() {} - bool editButton2Usable() = win 0x8b890; - inline void constrainGameLayerPosition() { - this->constrainGameLayerPosition(-3.f, -6.f); - } - - void create(LevelEditorLayer*) = mac 0x8a80, win 0x76270; - cocos2d::CCArray* createCustomItems() = mac 0x1ddf0, win 0x7a370; - void onDeleteCustomItem(cocos2d::CCObject* pSender) = win 0x7a280, mac 0x29860; - void onNewCustomItem(cocos2d::CCObject* pSender) = win 0x79fd0, mac 0x24480; - void deselectAll() = mac 0x1f300, win 0x86af0; - void onDeselectAll(cocos2d::CCObject*) = mac 0x19cd0, win 0x86ac0; - void disableButton(CreateMenuItem*) = mac 0x1c0f0, win 0x78af0; - void editButtonUsable() = mac 0x28f30, win 0x8b040; - void editObject(cocos2d::CCObject*) = mac 0x195a0, win 0x8ca50; - void enableButton(CreateMenuItem*) = mac 0x1bff0, win 0x78990; - CCMenuItemSpriteExtra* getCreateBtn(int, int) = mac 0x1f6c0, win 0x85120; - cocos2d::CCPoint getGroupCenter(cocos2d::CCArray*, bool) = mac 0x23470, win 0x8fc30; - cocos2d::CCArray* getSelectedObjects() = mac 0x23f30, win 0x86900; - bool init(LevelEditorLayer*) = mac 0x8ae0, win 0x76310; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2ed60, win 0x907b0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2f3d0, win 0x90cd0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2fb00, win 0x911a0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x30790, win 0x91a30; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x312b0, win 0x92180; - CreateMenuItem* menuItemFromObjectString(gd::string, int) = mac 0x1e130, win 0x84d00; - void moveObject(GameObject*, cocos2d::CCPoint) = mac 0x24b10, win 0x8ddb0; - void onDuplicate(cocos2d::CCObject*) = mac 0x18ba0, win 0x87d20; - bool onCreate() = mac 0x1b960, win 0x85680; - void onCreateObject(int) = mac 0x200d0, win 0x85750; - void copyObjects(cocos2d::CCArray* objects) = win 0x87ea0; - cocos2d::CCArray* pasteObjects(gd::string) = mac 0x232d0, win 0x88240; - void playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2ebf0, win 0x90680; - void playtestStopped() = mac 0x24790, win 0x87720; - void redoLastAction(cocos2d::CCObject*) = mac 0xb8e0, win 0x870f0; - void replaceGroupID(GameObject*, int, int) = mac 0x27470; - virtual void scaleChangeBegin() = win 0x88d50; - virtual void scaleChanged(float) = mac 0x25490, win 0x88df0; - virtual void scaleChangeEnded() = win 0x88de0; - void scaleObjects(cocos2d::CCArray*, float, cocos2d::CCPoint) = mac 0x252e0, win 0x8f150; - void selectObjects(cocos2d::CCArray* objs, bool ignoreFilters) = mac 0x23940, win 0x864a0; - void setupCreateMenu() = mac 0xcb50, win 0x7caf0; - void undoLastAction(cocos2d::CCObject*) = mac 0xb830, win 0x87070; - void updateButtons() = mac 0x1a300, win 0x78280; - void updateEditMenu() = win 0x8b010; - void updateObjectInfoLabel() = mac 0x1cb10, win 0x793b0; - void updateSlider() = mac 0x18a90, win 0x78f10; - void updateZoom(float) = mac 0x248c0, win 0x878a0; - void selectObject(GameObject* obj, bool filter) = mac 0x1bd60, win 0x86250; - void deselectObject(GameObject* object) = mac 0x1f220, win 0x86a50; - void deleteObject(GameObject* object, bool filter) = mac 0x1f130, win 0x7bed0; - void selectAll() = mac 0x23fd0, win 0x86c40; - void selectAllWithDirection(bool left) = mac 0x24210, win 0x86d80; - cocos2d::CCPoint getTouchPoint(cocos2d::CCTouch* touch, cocos2d::CCEvent* event) = mac 0x2eb80, win 0x90620; - cocos2d::CCPoint getGridSnappedPos(cocos2d::CCPoint pos) = mac 0x20b10, win 0x90550; - void onSelectBuildTab(cocos2d::CCObject* sender) = mac 0x1fb60, win 0x887f0; - void onCreateButton(cocos2d::CCObject* sender) = mac 0x1fd70, win 0x854f0; - CCMenuItemSpriteExtra* getSpriteButton(const char* sprite, cocos2d::SEL_MenuHandler callback, cocos2d::CCMenu* menu, float scale) = mac 0xb500, win 0x78bf0; - cocos2d::CCPoint offsetForKey(int objID) = win 0x92310; - void updateDeleteMenu() = win 0x7c5d0, mac 0x1e960; - void updateCreateMenu(bool updateTab) = mac 0x1ba80, win 0x85530; - void toggleMode(cocos2d::CCObject* sender) = mac 0x187b0, win 0x7ad20; - void zoomIn(cocos2d::CCObject* sender) = mac 0xc0c0, win 0x877c0; - void zoomOut(cocos2d::CCObject* sender) = mac 0xc120, win 0x87830; - void rotateObjects(cocos2d::CCArray* objects, float angle, cocos2d::CCPoint center) = mac 0x236a0, win 0x8ee80; - void flipObjectsX(cocos2d::CCArray* objects) = mac 0x2ad10, win 0x8e550; - void flipObjectsY(cocos2d::CCArray* objects) = mac 0x2aee0, win 0x8e9e0; - void updateGridNodeSize() = mac 0x1c8a0, win 0x78f60; - void updateScaleControl() { - if (m_scaleControl->isVisible()) { - m_scaleControl->loadValues(m_selectedObject, m_selectedObjects); - } - } - void updateSpecialUIElements() { - this->updateObjectInfoLabel(); - this->updateScaleControl(); - } - void constrainGameLayerPosition(float x, float y) = mac 0x18890, win 0x8f920; - void moveGamelayer(cocos2d::CCPoint pos) = mac 0x1ca90, win 0x79290; - void showUI(bool show) = mac 0x245b0, win 0x87180; - void resetUI() = mac 0x18520, win 0x7ac10; - void editObject2(cocos2d::CCObject* sender) = win 0x8d1b0; - void editGroup(cocos2d::CCObject* sender) = win 0x8d720; - void moveObjectCall(cocos2d::CCObject* sender) = mac 0x29830, win 0x8db30; - void moveObjectCall(EditCommand command) = mac 0x29b80, win 0x8db50; - cocos2d::CCPoint* moveForCommand(cocos2d::CCPoint* point, EditCommand command) = win 0x8d890; - void transformObjectCall(cocos2d::CCObject* sender) = mac 0x29860, win 0x8def0; - void transformObjectCall(EditCommand command) = mac 0x29d90, win 0x8df10; - void transformObject(GameObject* obj, EditCommand command, bool snap) = mac 0x2b0b0, win 0x8e250; - void onDelete(cocos2d::CCObject* sender) = mac 0x1b3d0, win 0x7b8d0; - void onDeleteSelected(cocos2d::CCObject* sender) = mac 0xb990, win 0x7bf50; - void onDeleteSelectedType(cocos2d::CCObject* sender) = mac 0x1e7a0, win 0x7c480; - void onDeleteStartPos(cocos2d::CCObject* sender) = mac 0x1e770, win 0x7c4c0; - void onCopy(cocos2d::CCObject* sender) = mac 0x18dc0, win 0x87fb0; - void onPaste(cocos2d::CCObject* sender) = mac 0x18ee0, win 0x880c0; - void tryUpdateTimeMarkers() = mac 0x1ca50, win 0x88940; - void toggleEnableRotate(cocos2d::CCObject* sender) = mac 0xb700, win 0x860d0; - void toggleFreeMove(cocos2d::CCObject* sender) = mac 0xb610, win 0x85eb0; - void toggleSwipe(cocos2d::CCObject* sender) = mac 0xb490, win 0x85dd0; - void toggleSnap(cocos2d::CCObject* sender) = mac 0xb680, win 0x85fa0; - void onPlayback(cocos2d::CCObject* sender) = mac 0xbcb0, win 0x87340; - void onPlaytest(cocos2d::CCObject* sender) = mac 0xbec0, win 0x87600; - void onStopPlaytest(cocos2d::CCObject* sender) = mac 0xbfd0, win 0x876e0; - void onGroupUp(cocos2d::CCObject* sender) = mac 0x1a1a0, win 0x8d780; - void onGroupDown(cocos2d::CCObject* sender) = mac 0x1a200, win 0x8d7e0; - void selectBuildTab(int tab) = mac 0x1fb90, win 0x88810; - void onPause(cocos2d::CCObject* sender) = mac 0x18650, win 0x78020; - void onSettings(cocos2d::CCObject* sender) = win 0x77fe0; - void activateRotationControl(cocos2d::CCObject* sender) = win 0x8fe70, mac 0x24480; - void activateScaleControl(cocos2d::CCObject* sender) = mac 0x24c80, win 0x889b0; - void deactivateScaleControl() = win 0x88bf0, mac 0xb290; - void dynamicGroupUpdate(bool idk) = win 0x8ad10; - void createRockOutline() = win 0x89c10; - void createRockEdges() = win 0x88ec0; - void createRockBase() = win 0x8a2c0; - void onCopyState(cocos2d::CCObject* sender) = win 0x88490; - void onPasteColor(cocos2d::CCObject* sender) = mac 0x19f40, win 0x88580; - void onPasteState(cocos2d::CCObject* sender) = mac 0x19ee0, win 0x884c0; - void onGroupSticky(cocos2d::CCObject* sender) = mac 0xc180, win 0x87a80; - void onUngroupSticky(cocos2d::CCObject* sender) = mac 0xc1d0, win 0x87ac0; - void onGoToLayer(cocos2d::CCObject* sender) = mac 0x19fa0, win 0x886b0; - void onGoToBaseLayer(cocos2d::CCObject* sender) = mac 0x1a270, win 0x88790; - void onToggleGuide(cocos2d::CCObject* sender) = mac 0x19da0, win 0x79160; - void editColor(cocos2d::CCObject* sender) = mac 0x19190, win 0x8d3c0; - void alignObjects(cocos2d::CCArray* objs, bool alignY) = mac 0x2cea0, win 0x8f320; - virtual void scrollWheel(float vertical, float horizontal) = win 0x921d0, mac 0x31370, ios 0x2c4884; - void createMoveMenu() = mac 0x275e0, win 0x8c0d0; - void sliderChanged(cocos2d::CCObject* slider) = mac 0xaed0, win 0x78cc0; - void repositionObjectsToCenter(cocos2d::CCArray* objs, cocos2d::CCPoint center, bool ignoreGroupParent) = mac 0x1fcd0, win 0x88410; - virtual void draw() = win 0x8fbe0; - float valueFromXPos(float val) = win 0x78e30, mac 0x1c810; - void processSelectObjects(cocos2d::CCArray*) = win 0x86f70, mac 0x24110; - - bool m_isPlayingMusic; - EditButtonBar* m_buttonBar; - PAD = mac 0x8, win 0x4, android 0x4; - cocos2d::CCArray* m_hideableUIElementArray; - float m_gridSize; - PAD = mac 0x18, win 0x14, android 0x14; - bool m_moveModifier; - bool m_swipeModifier; - int m_rotationTouchID; - int m_scaleTouchID; - int m_touchID; - cocos2d::CCLabelBMFont* m_objectInfoLabel; - GJRotationControl* m_rotationControl; - cocos2d::CCPoint m_scalePos; - bool m_touchDown; - GJScaleControl* m_scaleControl; - cocos2d::CCDictionary* m_editButtonDict; - EditButtonBar* m_createButtonBar; - EditButtonBar* m_editButtonBar; - Slider* m_positionSlider; - float m_unknown0; - float m_minYLimit; - float m_unknown2; - bool m_swipeEnabled; - bool m_swiping; - PAD = mac 0x2, win 0x2, android 0x2; - bool m_freeMoveEnabled; - bool m_unkSwipeRelated; - PAD = mac 0x2, win 0x2, android 0x2; - bool m_updateTimeMarkers; - PAD = mac 0x8, win 0x8, android 0x8; - cocos2d::CCArray* m_unknownArray2; - PAD = mac 0x8, win 0x8, android 0x8; - cocos2d::CCArray* m_selectedObjects; - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x10, win 0x8, android 0x8; - int m_selectedCreateObjectID; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; - LevelEditorLayer* m_editorLayer; - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - PAD = mac 0x8, win 0x8, android 0x8; - GameObject* m_selectedObject; - PAD = mac 0x8, win 0x4, android 0x4; - bool m_unk2cc; - bool m_freeMovingObject; - gd::string m_clipboard; - PAD = mac 0x10, win 0x8, android 0x8; - int m_selectedTab; - int m_timesSelected; - PAD = win 0x20; - bool m_spaceKeyPressed; -} - -[[link(android)]] -class EffectGameObject : GameObject { - void updateLabel() { - auto label = static_cast(this->getChildByTag(999)); - if (label) { - switch (m_objectID) { - // instant count, collision block, pickup - case 0x713: [[fallthrough]]; - case 0x718: [[fallthrough]]; - case 0x716: - label->setString( - cocos2d::CCString::createWithFormat("%i", m_itemBlockAID)->getCString() - ); - break; - // color, pulse - case 899: [[fallthrough]]; - case 1006: { - int target = m_objectID == 1006 ? m_targetGroupID : m_targetColorID; - if (target > 999) { - label->setString(GJSpecialColorSelect::textForColorIdx(target)); - } else { - label->setString( - cocos2d::CCString::createWithFormat("%i", target)->getCString() - ); - } - label->limitLabelWidth(30.0f, 0.5f, 0.0f); - } break; - default: - label->setString( - cocos2d::CCString::createWithFormat("%i", m_targetGroupID)->getCString() - ); - } - } - } - - static EffectGameObject* create(const char*) = mac 0xc9790, win 0x253c30; - bool init(char const*) = win 0x253CD0; - void getTargetColorIndex() = mac 0xca1f0; - virtual void triggerObject(GJBaseGameLayer*) = mac 0xc9870, win 0x253d60; - virtual gd::string getSaveString() = win 0x257560; - void updateSpecialColor() = win 0x254980; - virtual void spawnXPosition() = win 0x254A00; - virtual void triggerActivated(float) = win 0x254A30; - - cocos2d::ccColor3B m_colColor; - float m_duration; - float m_opacity; - int m_targetGroupID; - int m_centerGroupID; - float m_shakeStrength; - float m_shakeInterval; - bool m_tintGround; - bool m_playerColor1; - bool m_playerColor2; - bool m_blending; - cocos2d::CCPoint m_move; - EasingType m_easingType; - float m_easingRate; - bool m_lockToPlayerX; - bool m_lockToPlayerY; - bool m_useTarget; - MoveTargetType m_moveTargetType; - int m_rotateDegrees; - int m_times360; - bool m_lockObjectRotation; - cocos2d::CCPoint m_followMod; - bool UndocuementedLevelProperty74; - float m_followYSpeed; - float m_followYDelay; - int m_followYOffset; - float m_followYMaxSpeed; - float m_fadeInTime; - float m_holdTime; - float m_fadeOutTime; - int m_pulseHSVMode; - int m_pulseGroupMode; - cocos2d::ccHSVValue m_hsvValue; - int m_copyColorID; - bool m_copyOpacity; - bool m_pulseMainOnly; - bool m_pulseDetailOnly; - bool m_pulseExclusive; - bool m_activateGroup; - bool m_touchHoldMode; - TouchToggleMode m_touchToggleMode; - bool m_touchDualMode; - int m_animationID; - float m_spawnDelay; - cocos2d::CCPoint m_spawnPosition; - bool m_multiTrigger; - bool m_editorDisabled; - int m_targetCount; - bool m_subtractCount; - ComparisonType m_comparisonType; - bool m_multiActivate; - bool m_triggerOnExit; - int m_blockBID; - bool m_dynamicBlock; - int m_itemBlockAID; - int m_pickupMode; - PAD = mac 0x28, win 0x24, android 0x24; -} - -[[link(android)]] -class EndLevelLayer : cocos2d::CCLayer { - static EndLevelLayer* create() = mac 0x2787d0, win 0x94b50; - - void customSetup() = win 0x94cb0; - const char* getCoinString() = win 0x96270; - const char* getEndText() = win 0x964A0; - void onMenu(cocos2d::CCObject* sender) = mac 0x27a500, win 0x96c10; - void onEdit(cocos2d::CCObject* sender) = mac 0x27a640, win 0x96d30; -} - -[[link(android)]] -class EndPortalObject : GameObject { - static EndPortalObject* create() = mac 0x1da8f0, win 0x98a50; - void updateColors(cocos2d::_ccColor3B) = mac 0x1dacb0, win 0x98eb0; -} - -[[link(android)]] -class ExtendedLayer {} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - inline virtual ~FLAlertLayer() { - cocos2d::CCDirector::sharedDirector()->getTouchDispatcher()->decrementForcePrio(2); - } - inline FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - } - - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - virtual void onEnter() = mac 0x25f350, win 0x23750; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x25ee40, win 0x233c0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x25f0a0, win 0x23510; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x25ef60, win 0x23450; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x25f020, win 0x234c0; - virtual void registerWithTouchDispatcher() = mac 0x25f2e0, win 0x236f0; - virtual void keyBackClicked() = mac 0x25ed90, win 0x232c0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x25ece0, win 0x23250; - virtual void show() = mac 0x25f120, win 0x23560, ios 0x1feff4; - - bool init( - FLAlertLayerProtocol* protocol, - char const* title, - gd::string content, - char const* btn1, - char const* btn2, - float width, - bool scrollable, - float height - ) = mac 0x25e1b0, win 0x228e0; - static FLAlertLayer* create(FLAlertLayerProtocol* protocol, char const* title, gd::string content, char const* btn1, char const* btn2) = mac 0x25de00, win 0x22680; - static FLAlertLayer* create(FLAlertLayerProtocol* protocol, char const* title, gd::string content, char const* btn1, char const* btn2, float width) = mac 0x25e0e0, win 0x22730, ios 0x1fe374; - static FLAlertLayer* create(FLAlertLayerProtocol* protocol, char const* title, gd::string content, char const* btn1, char const* btn2, float width, bool scrollable, float height) = mac 0x25dec0, win 0x227e0; - void onBtn1(cocos2d::CCObject*) = mac 0x25ec20, win 0x23340; - void onBtn2(cocos2d::CCObject*) = mac 0x25ec80, win 0x23380; - - cocos2d::CCMenu* m_buttonMenu; - int m_controlConnected; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_joystickConnected; - bool m_containsBorder; - bool m_noAction; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - static FMODAudioEngine* sharedEngine() = mac 0x20ef80, win 0x239f0; - void setupAudioEngine() = win 0x23a70; - void preloadEffect(gd::string filename) = win 0x24240; - bool isBackgroundMusicPlaying() = win 0x24050; - bool isBackgroundMusicPlaying(gd::string path) = win 0x24080; - void playBackgroundMusic(gd::string path, bool fade, bool paused) = win 0x23d80; - void setBackgroundMusicTime(float time) = win 0x23fb0; - - virtual void update(float) = win 0x23b20; - - cocos2d::CCDictionary* m_dictionary; - gd::string m_filePath; - float m_backgroundMusicVolume; - float m_effectsVolume; - float m_pulse1; - float m_pulse2; - float m_pulse3; - int m_pulseCounter; - bool m_metering; - bool m_fading; - bool m_fadeIn; - float m_fadeInDuration; - FMOD::System* m_system; - FMOD::Sound* m_sound; - FMOD::Channel* m_currentSoundChannel; - FMOD::Channel* m_globalChannel; - FMOD::DSP* m_DSP; - FMOD_RESULT m_lastResult; - int m_version; - void* m_extraDriverData; - int m_musicOffset; -} - -[[link(android)]] -class FMODSound : cocos2d::CCNode { - static FMODSound* create(FMOD::Sound* sound) = win 0x246b0; - - FMOD::Sound* m_sound; -} - -[[link(android)]] -class FriendRequestDelegate {} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - static FriendsProfilePage* create(UserListType) = win 0x9ce80, mac 0x3a9570; - bool init(UserListType) = win 0x9cf30, mac 0x3a9770; - void getUserListFinished(cocos2d::CCArray* arr, UserListType listType) = win 0x9d800; - void getUserListFailed(UserListType listType, GJErrorCode errorCode) = win 0x9d8e0; - void forceReloadList(UserListType listType) = win 0x9d950; - void setupUsersBrowser(cocos2d::CCArray* users, UserListType listType) = win 0x9d620; -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual bool backupAccountFailed(BackupAccountError) { - return false; - } - virtual bool backupAccountFinished() { - return false; - } -} - -[[link(android)]] -class GJAccountDelegate { - virtual bool accountStatusChanged() { - return false; - } -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual bool loginAccountFailed(AccountError) { - return false; - } - virtual bool loginAccountFinished(int, int) { - return false; - } -} - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - static GJAccountManager* sharedState() = mac 0x85070, win 0x107d50; - static GJAccountManager* get() { - return GJAccountManager::sharedState(); - } - gd::string getGJP() = mac 0x89520, win 0x10abb0; - - PAD = mac 0x8, win 0x4, android 0x4; - gd::string m_password; - gd::string m_username; - int m_accountID; - int m_playerID; -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual bool syncAccountFailed(BackupAccountError) { - return false; - } - virtual bool syncAccountFinished() { - return false; - } -} - -[[link(android)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - cocos2d::CCLayer* getObjectLayer() { - return m_objectLayer; - } - cocos2d::CCArray* getAllObjects() { - return m_objects; - } - - static GJBaseGameLayer* get() { - return PlayLayer::get() ? static_cast(PlayLayer::get()) : static_cast(LevelEditorLayer::get()); - } - - inline GJBaseGameLayer() {} - - virtual void objectsCollided(int, int) = mac 0xb6d90, win 0x10f240; - virtual void createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, int) = mac 0xb73a0, win 0x10f680; - virtual void updateColor(cocos2d::_ccColor3B, float, int, bool, float, cocos2d::_ccHSVValue, int, bool, int, EffectGameObject*) = mac 0xb7420, win 0x10f6d0; - virtual void flipGravity(PlayerObject*, bool, bool) {} - virtual void calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*) = mac 0xba9a0, win 0x10ad60; - virtual void toggleGroupTriggered(int, bool) = mac 0xb75a0, win 0x10f890; - virtual void spawnGroup(int) = mac 0xb7050, win 0x10f400; - virtual void addToSection(GameObject*) = mac 0xb7b70, win 0x10fd00; - virtual void addToGroup(GameObject*, int, bool) = mac 0xb77f0, win 0x10fa50; - virtual void removeFromGroup(GameObject*, int) = mac 0xb7a60, win 0x10fbd0; - virtual bool init() = mac 0xafc90, win 0x10b020; - void addObjectCounter(LabelGameObject*, int) = mac 0xb9eb0; - void addToGroups(GameObject*, bool) = mac 0xb7780, win 0x10f9f0; - void atlasValue(int) = mac 0xb21e0; - void bumpPlayer(PlayerObject*, GameObject*) = mac 0xb6860, win 0x10ed50; - void calculateOpacityValues(EffectGameObject*, EffectGameObject*, float, GJEffectManager*) = mac 0xb5be0; - void checkSpawnObjects() = mac 0xb6f90, win 0x10f320; - void collectItem(int, int) = mac 0xb9e20, win 0x111890; - void collectedObject(EffectGameObject*) = mac 0xb9b60, win 0x111830; - void createTextLayers() = mac 0xb5260, win 0x10dea0; - cocos2d::CCArray* damagingObjectsInRect(cocos2d::CCRect) = mac 0xb6140, win 0x10e740; - void enableHighCapacityMode() = mac 0xb11e0, win 0x10bf60; - void getCapacityString() = mac 0xb2210, win 0x10c9b0; - void getGroundHeightForMode(int) = mac 0xb6630; - void getGroup(int) = mac 0xb6f20, win 0x10fcb0; - void getMoveDeltaForObjects(int, int) = mac 0xb6db0; - void getOptimizedGroup(int) = mac 0xb7940; - void getStaticGroup(int) = mac 0xb79a0; - void isGroupDisabledForObject(GameObject*) = mac 0xb5cc0; - void isGroupDisabledForObjectFull(GameObject*, cocos2d::CCArray*) = mac 0xb5de0; - void loadUpToPosition(float) = mac 0xba680, win 0x112070; - void objectIntersectsCircle(GameObject*, GameObject*) = mac 0xb66e0, win 0x10e990; - void objectTriggered(EffectGameObject*) = mac 0xb71b0; - void optimizeMoveGroups() = mac 0xb96c0, win 0x1112f0; - cocos2d::CCNode* parentForZLayer(int, bool, int) = mac 0xb55d0, win 0x10e220; - void playerTouchedRing(PlayerObject*, GameObject*) = mac 0xb69e0; - void processColorObject(EffectGameObject*, int, cocos2d::CCDictionary*, float, GJEffectManager*) = mac 0xb5a90; - void processFollowActions() = mac 0xb8fd0, win 0x110e00; - void processMoveActions() = mac 0xb86c0, win 0x1107e0; - void processMoveActionsStep(float) = mac 0xb7ea0, win 0x10ffa0; - void processOpacityObject(EffectGameObject*, cocos2d::CCDictionary*, float, GJEffectManager*) = mac 0xb5ae0; - void processPlayerFollowActions(float) = mac 0xb8b50, win 0x110b10; - void processRotationActions() = mac 0xb7fd0, win 0x1101a0; - void pushButton(int, bool) = mac 0xb9920, win 0x111500; - void rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float) = mac 0xb6470, win 0x10eb50; - void refreshCounterLabels() = mac 0xb9fc0, win 0x111b80; - void releaseButton(int, bool) = mac 0xb9a00, win 0x111660; - void removeFromGroups(GameObject*) = mac 0xb7a00, win 0x10fb70; - void removeObjectFromSection(GameObject*) = mac 0xb7e00, win 0x10ff30; - void reorderObjectSection(GameObject*) = mac 0xb7cb0, win 0x10fe10; - void resetGroupCounters(bool) = mac 0xba300, win 0x111dd0; - void resetMoveOptimizedValue() = mac 0xb9670; - // inlined on windows - int sectionForPos(float x) { - int section = x / 100; - if (section < 0) section = 0; - return section; - } - void setupLayers() = mac 0xaffe0, win 0x10b1f0; - void shouldExitHackedLevel() = mac 0xb1100, win 0x10bea0; - void spawnGroupTriggered(int, float, int) = mac 0xb7020; - cocos2d::CCArray* staticObjectsInRect(cocos2d::CCRect) = mac 0xb5f90; - void testInstantCountTrigger(int, int, int, bool, int) = mac 0xb9ae0; - void toggleGroup(int, bool) = mac 0xb75f0, win 0x10f8c0; - void togglePlayerVisibility(bool) = mac 0xba910, win 0x112340; - void triggerMoveCommand(EffectGameObject*) = mac 0xb7290; - void updateCollisionBlocks() = mac 0xb6a30, win 0x10ef70; - void updateCounters(int, int) = mac 0xb9bc0, win 0x111900; - void updateDisabledObjectsLastPos(cocos2d::CCArray*) = mac 0xb95b0, win 0x111280; - void updateLayerCapacity(gd::string) = mac 0xb1680, win 0x10c2d0; - void updateLegacyLayerCapacity(int, int, int, int) = mac 0xb1590, win 0x10c200; - void updateOBB2(cocos2d::CCRect) = mac 0xb63f0; - void updateQueuedLabels() = mac 0xb9f30, win 0x111b00; - virtual ~GJBaseGameLayer() = mac 0xaf990, win 0x10add0; - - OBB2D* m_boundingBox; - GJEffectManager* m_effectManager; - cocos2d::CCLayer* m_objectLayer; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTop4; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddTop4; - cocos2d::CCSpriteBatchNode* m_batchNodeTop3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTop3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddGlowTop3; - CCNodeContainer* m_batchNodeTop3Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextTop3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextTop3; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeTop3; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddTop3; - cocos2d::CCSpriteBatchNode* m_batchNodeTop2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTop2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddGlowTop2; - CCNodeContainer* m_batchNodeTop2Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextTop2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextTop2; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeTop2; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddTop2; - cocos2d::CCSpriteBatchNode* m_batchNode; - cocos2d::CCSpriteBatchNode* m_batchNodeAdd; - cocos2d::CCSpriteBatchNode* m_batchNodeAddGlow; - CCNodeContainer* m_batchNodeTop1Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextTop1; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextTop1; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeTop1; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddTop1; - cocos2d::CCSpriteBatchNode* m_batchNodePlayer; - cocos2d::CCSpriteBatchNode* m_batchNodeAddPlayer; - cocos2d::CCSpriteBatchNode* m_batchNodePlayerGlow; - cocos2d::CCSpriteBatchNode* m_batchNodeAddMid; - cocos2d::CCSpriteBatchNode* m_batchNodeBottom; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottomGlow; - CCNodeContainer* m_batchNodeBot1Container; - cocos2d::CCSpriteBatchNode* m_batchNodeText; - cocos2d::CCSpriteBatchNode* m_batchNodeAddText; - cocos2d::CCSpriteBatchNode* m_effectBatchNode; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAdd; - cocos2d::CCSpriteBatchNode* m_batchNodeBottom2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom2Glow; - CCNodeContainer* m_batchNodeBot2Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextBot2; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextBot2; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeBot2; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddBot2; - cocos2d::CCSpriteBatchNode* m_batchNodeBottom3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom3Glow; - CCNodeContainer* m_batchNodeBot3Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextBot3; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextBot3; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeBot3; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddBot3; - cocos2d::CCSpriteBatchNode* m_batchNodeBottom4; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom4; - cocos2d::CCSpriteBatchNode* m_batchNodeAddBottom4Glow; - CCNodeContainer* m_batchNodeBot4Container; - cocos2d::CCSpriteBatchNode* m_batchNodeTextBot4; - cocos2d::CCSpriteBatchNode* m_batchNodeAddTextBot4; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeBot4; - cocos2d::CCSpriteBatchNode* m_effectBatchNodeAddBot4; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - cocos2d::CCDictionary* m_disabledGroupsDict; - cocos2d::CCArray* m_objects; - cocos2d::CCArray* m_sectionObjects; - cocos2d::CCArray* m_sections; - cocos2d::CCArray* m_collisionBlocks; - cocos2d::CCArray* m_spawnObjects; - cocos2d::CCArray* m_spawnObjects2; - cocos2d::CCNode* m_groupNodes; - gd::vector m_objectsVec; - gd::vector m_disabledObjects; - cocos2d::CCDictionary* m_groupDict; - cocos2d::CCDictionary* m_staticGroupDict; - cocos2d::CCDictionary* m_optimizedGroupDict; - gd::vector m_groups; - gd::vector m_staticGroups; - gd::vector m_optimizedGroups; - cocos2d::CCArray* m_batchNodes; - cocos2d::CCArray* m_processedGroups; - cocos2d::CCDictionary* m_counterDict; - cocos2d::CCDictionary* m_spawnedGroups; - bool m_didUpdateNormalCapacity; - bool m_isDualMode; - int m_activeEnterEffect; - bool m_activeDualTouch; - int m_attemptClickCount; - int m_firstVisibleSection; - int m_lastVisibleSection; - bool m_objectsAreDisabled; - bool m_blending; - PAD = mac 0x8, win 0x8, android 0x8; -} - -[[link(android)]] -class GJChallengeDelegate {} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class GJColorSetupLayer {} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - ~GJComment() = mac 0x2dfd70, win 0xc3640; - virtual bool init() = mac 0x2dfec0, win 0xc3ef0; - static GJComment* create(cocos2d::CCDictionary* dict) = win 0xc3740; - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - GJUserScore* m_userScore; -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - ~GJCommentListLayer() = mac 0x1482a0; - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::_ccColor4B, float, float, bool) = mac 0x147d00, win 0x13a880; - - BoomListView* m_list; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(bool) {} - virtual void dailyStatusFailed(bool) {} -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - virtual void customSetup() {} - virtual void enterLayer() = mac 0x3525c0, win 0x16970; - virtual void exitLayer(cocos2d::CCObject*) = mac 0x352670, win 0x113980; - virtual void showLayer(bool) = mac 0x3526c0, win 0x1139c0, ios 0x29801c; - virtual void hideLayer(bool) = mac 0x3527b0, win 0x113a90; - virtual void layerVisible() = mac 0x3528b0, win 0x16a40; - virtual void layerHidden() = mac 0x3528d0, win 0x113b60; - virtual void enterAnimFinished() {} - virtual void disableUI() = mac 0x352580, win 0x113920; - virtual void enableUI() = mac 0x3525a0, win 0x113940; - - static GJDropDownLayer* create(const char* title, float height) { - GJDropDownLayer* pRet = new GJDropDownLayer(); - if (pRet && pRet->init(title, height)) { - pRet->autorelease(); - return pRet; - } - CC_SAFE_DELETE(pRet); - return nullptr; - } - - virtual bool ccTouchBegan(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) { - return true; - } - virtual void ccTouchMoved(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - virtual void ccTouchEnded(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - virtual void ccTouchCancelled(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - - virtual void draw() = mac 0x352910, win 0x16a80; - bool init(const char* title, float height) = mac 0x352100, win 0x113530, ios 0x297afc; - virtual void registerWithTouchDispatcher() = mac 0x3525f0, win 0x16990; - virtual void keyBackClicked() = mac 0x352630, win 0x113960; - inline GJDropDownLayer() { - m_endPosition = cocos2d::CCPointMake(0.f, 0.f); - m_startPosition = cocos2d::CCPointMake(0.f, 0.f); - m_buttonMenu = nullptr; - m_listLayer = nullptr; - m_controllerEnabled = false; - m_mainLayer = nullptr; - m_hidden = false; - m_delegate = nullptr; - } - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - bool m_controllerEnabled; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual void dropDownLayerWillClose(GJDropDownLayer*) {} -} - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - static GJEffectManager* get() { - return GJEffectManager::fromGameLayer(); - } - - static GJEffectManager* fromGameLayer() { - auto gameLayer = GJBaseGameLayer::get(); - if (gameLayer) return gameLayer->m_effectManager; - return nullptr; - } - - static GJEffectManager* fromLevelSetting() { - auto gameLayer = GJBaseGameLayer::get(); - if (gameLayer && gameLayer->m_levelSettings) return gameLayer->m_levelSettings->m_effectManager; - return nullptr; - } - - virtual bool init() = mac 0x180230, win 0x11c1b0; - cocos2d::_ccColor3B activeColorForIndex(int) = mac 0x180cb0, win 0x11c6e0; - void activeOpacityForIndex(int) = mac 0x180e10; - void addAllInheritedColorActions(cocos2d::CCArray*) = mac 0x1817a0; - void addGroupPulseEffect(PulseEffectAction*) = mac 0x184c10; - void calculateBaseActiveColors() = mac 0x180f70, win 0x11c7c0; - void calculateInheritedColor(int, ColorAction*) = mac 0x1818f0, win 0x11cb80; - void calculateLightBGColor(cocos2d::_ccColor3B) = mac 0x185b90, win 0x11f420; - void colorActionChanged(ColorAction* action) { - if (0 < action->m_copyID) { - - } - } - void colorExists(int) = mac 0x181da0; - void colorForEffect(cocos2d::_ccColor3B, cocos2d::_ccHSVValue) = mac 0x182650; - cocos2d::_ccColor3B colorForGroupID(int, cocos2d::_ccColor3B const&, bool) = mac 0x184f90; - void colorForIndex(int) = mac 0x180ad0; - void colorForPulseEffect(cocos2d::_ccColor3B const&, PulseEffectAction*) = mac 0x181bf0, win 0x11edd0; - void countChangedForItem(int) = mac 0x185a40, win 0x11f330; - void countForItem(int) = mac 0x185a10; - static GJEffectManager* create() = mac 0x1800f0, win 0x11c110; - void createFollowCommand(float, float, float, int, int, bool, int) = mac 0x182ed0; - void createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, int) = mac 0x182cc0, win 0x11d340; - void createPlayerFollowCommand(float, float, int, float, float, int, int) = mac 0x182fe0; - void createRotateCommand(int, float, int, int, int, float, bool, int) = mac 0x182df0; - void getAllColorActions() = mac 0x180980, win 0x11c600; - void getAllColorSprites() = mac 0x1809e0; - ColorAction* getColorAction(int) = mac 0x180b00, win 0x11cde0; - const cocos2d::_ccColor3B& getColorSprite(int) = mac 0x180d00, win 0x11ce20; - void getCurrentStateString() = mac 0x1867e0, win 0x11fac0; - void getLoadedMoveOffset() = mac 0x184390; - static cocos2d::_ccColor3B getMixedColor(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float) = mac 0x185d30, win 0x11f610; - uint8_t getOpacityActionForGroup(int) = mac 0x1845b0; - gd::string getSaveString() = mac 0x185e90; - void handleObjectCollision(bool, int, int) = mac 0x1828f0, win 0x11d2a0; - void hasActiveDualTouch() = mac 0x185540; - void hasBeenTriggered(int) = mac 0x1853b0; - void hasPulseEffectForGroupID(int) = mac 0x184f60; - bool isGroupEnabled(int) = mac 0x1853d0; - void keyForGroupIDColor(int, cocos2d::_ccColor3B const&, bool) = mac 0x184c90; - void loadState(gd::string) = mac 0x188db0, win 0x1205b0; - void objectsCollided(int, int) = mac 0x182a00, win 0x11d200; - void opacityForIndex(int) = mac 0x180c80; - float opacityModForGroup(int) = mac 0x184740; - void playerButton(bool, bool) = mac 0x1855a0, win 0x11f120; - void playerDied() = mac 0x185860; - void postCollisionCheck() = mac 0x182720, win 0x11d0b0; - void preCollisionCheck() = mac 0x182680, win 0x11d030; - void prepareMoveActions(float, bool) = mac 0x183660, win 0x11da30; - void processColors() { // mac 0x180e70 - this->calculateBaseActiveColors(); - this->processPulseActions(); - this->processInheritedColors(); - this->processCopyColorPulseActions(); - } - void processCopyColorPulseActions() = mac 0x181530, win 0x11ebc0; - void processInheritedColors() = mac 0x181190, win 0x11c8a0; - void processPulseActions() = mac 0x181040, win 0x11ea50; - void registerCollisionTrigger(int, int, int, bool, bool, int) = mac 0x182b70; - void removeAllPulseActions() = mac 0x1825e0; - void removeColorAction(int) = mac 0x181d60; - void reset() = mac 0x180690, win 0x11c4f0; - void resetColorCache() = mac 0x185280; - void resetEffects() = mac 0x1807d0, win 0x11cf10; - void resetMoveActions() = mac 0x180940; - void resetToggledGroups() = mac 0x1853f0; - void resetTriggeredIDs() = mac 0x182630; - void runCountTrigger(int, int, bool, int, bool, int) = mac 0x1858d0; - void runDeathTrigger(int, bool, int) = mac 0x1857a0; - OpacityEffectAction* runOpacityActionOnGroup(int, float, float, int) = mac 0x1845d0; - void runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::_ccColor3B, cocos2d::_ccHSVValue, int, bool, bool, bool, int) = mac 0x184890, win 0x11e5c0; - void runTouchTriggerCommand(int, bool, TouchTriggerType, bool, int) = mac 0x185460; - void setColorAction(ColorAction*, int) = mac 0x181d00, win 0x11ce70; - void setFollowing(int, int, bool) = mac 0x185e00; - void setupFromString(gd::string) = mac 0x186290, win 0x11f8f0; - bool shouldBlend(int) = mac 0x180e40; - void spawnGroup(int, float, int) = mac 0x1852a0; - void stopActionsForTrigger(EffectGameObject*) = mac 0x183150; - void stopMoveActionsForGroup(int) = mac 0x1830e0; - void storeTriggeredID(int) = mac 0x185380; - void toggleGroup(int item, bool value) { // mac 0x182c80; - m_groupToggled[item] = value; - } - void traverseInheritanceChain(InheritanceNode*) = mac 0x181850, win 0x11caf0; - void updateActiveOpacityEffects() = mac 0x1847e0; - void updateColorAction(ColorAction*) = mac 0x184560; - void updateColorEffects(float) = mac 0x181f40, win 0x11e1d0; - void updateColors(cocos2d::_ccColor3B, cocos2d::_ccColor3B) = mac 0x180a40, win 0x11c660; - void updateEffects(float unk) { - this->updateColorEffects(unk); - this->updatePulseEffects(unk); - this->updateOpacityEffects(unk); - this->updateSpawnTriggers(unk); - } - void updateOpacityAction(OpacityEffectAction*) = mac 0x184780; - void updateOpacityEffects(float) = mac 0x1823e0, win 0x11e490; - void updatePulseEffects(float) = mac 0x182130, win 0x11e7f0; - void updateSpawnTriggers(float) = mac 0x182510, win 0x11f000; - void wasFollowing(int, int) = mac 0x185e60; - void wouldCreateLoop(InheritanceNode*, int) = mac 0x181820, win 0x11cdb0; - ~GJEffectManager() = mac 0x17fe00, win 0x11be80; - - TriggerEffectDelegate* m_effectDelegate; - cocos2d::CCDictionary* m_colorActions; - cocos2d::CCDictionary* m_colorSprites; - cocos2d::CCDictionary* m_pulseActionsForGroup; - cocos2d::CCDictionary* m_colorCache; - cocos2d::CCDictionary* m_opacityActionsForGroup; - cocos2d::CCDictionary* m_f0150; - cocos2d::CCArray* m_opacityActions; - cocos2d::CCArray* m_touchActions; - cocos2d::CCDictionary* m_countActions; - cocos2d::CCArray* m_onDeathActions; - cocos2d::CCArray* m_collisionActions; - cocos2d::CCDictionary* m_f0180; - cocos2d::CCDictionary* m_f0188; - gd::vector m_inheritanceNodesForColor; - cocos2d::CCDictionary* m_f01a8; - cocos2d::CCDictionary* m_collisionActionsForGroup1; - cocos2d::CCDictionary* m_collisionActionsForGroup2; - gd::vector m_colorActionsForColor; - gd::vector m_colorSpritesForColor; - std::array m_pulseExistsForGroup; - bool m_f063c; - std::array m_opactiyExistsForGroup; - std::array m_itemValues; - int m_unusued; - int* m_unused2; - cocos2d::CCArray* m_f1bc8; - cocos2d::CCArray* m_inheritanceChain; - cocos2d::CCDictionary* m_f1bd8; - gd::vector m_groupToggled; - cocos2d::CCDictionary* m_triggeredIDs; - cocos2d::CCDictionary* m_followActions; - cocos2d::CCArray* m_spawnActions; - cocos2d::CCArray* m_moveActions; - cocos2d::CCArray* m_groupCommands; // array of GroupCommandObject - cocos2d::CCNode* m_f1c30; - cocos2d::CCDictionary* m_moveNodes; // dict of CCMoveCNode - cocos2d::CCDictionary* m_rotationNodes; // dict of CCMoveCNode - cocos2d::CCDictionary* m_followNodes; // dict of CCMoveCNode - cocos2d::CCDictionary* m_playerFollowNodes; // dict of CCMoveCNode - float m_time; - float m_velocity; - float m_acceleration; - bool m_moveOptimizationEnabled; -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - auto ret = GJGameLevel::create(); - ret->dataLoaded(dict); - return ret; - } - - inline GJGameLevel() {} - virtual ~GJGameLevel() = mac 0x2db2d0, win 0xbbdb0; - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x2dd1c0, win 0xbecb0; - virtual bool canEncode() = mac 0x2ddae0, win 0x11070; // shared with lots of stuff - virtual bool init() = mac 0x2db310, win 0xbd350; - static GJGameLevel* create() = mac 0x2b83e0, win 0xbd2b0, ios 0x51fe8; - gd::string getAudioFileName() = mac 0x2dbe70, win 0xbdc70; - const char* getCoinKey(int) = mac 0x2ce360, win 0xbda50; - void getLengthKey(int) = mac 0x2dbba0; - void getNormalPercent() = mac 0x2b8b20; - void levelWasAltered() = mac 0x2db530, win 0xbd550; - void savePercentage(int, bool, int, int, bool) = mac 0x2db700, win 0xbd5c0; - void dataLoaded(DS_Dictionary* dict) = mac 0x2dc0e0, win 0xbded0, ios 0x6fca4; - GJDifficulty getAverageDifficulty() = win 0xbd9b0; - gd::string getUnpackedLevelDescription() = mac 0x2DDB50, win 0xbf890; - static gd::string lengthKeyToString(int key) = mac 0x2DBBD0, win 0xbd910; - - static GJGameLevel* getCurrent() { - auto playLayer = PlayLayer::get(); - if (playLayer) return playLayer->m_level; - auto editorLayer = LevelEditorLayer::get(); - if (editorLayer) return editorLayer->m_level; - return nullptr; - } - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; // honestly i dont think this is need to be used - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - bool m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - gd::string m_personalBests; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate { - inline GJGarageLayer() { - m_nameInput = nullptr; - m_playerPreview = nullptr; - m_colorSelector1 = nullptr; - m_colorSelector2 = nullptr; - m_unkButton0x148 = nullptr; - m_unkButton0x14c = nullptr; - m_pagesArray = nullptr; - m_tabToggleCube = nullptr; - m_tabToggleShip = nullptr; - m_tabToggleBall = nullptr; - m_tabToggleUfo = nullptr; - m_tabToggleWave = nullptr; - m_tabToggleRobot = nullptr; - m_tabToggleSpider = nullptr; - m_tabToggleSpecial = nullptr; - m_tabToggleDeathEffect = nullptr; - m_updateSelector = false; - } - void onPlayerColor1(cocos2d::CCObject*) = mac 0x1ba640, win 0x129470, ios 0x22531c; - void onPlayerColor2(cocos2d::CCObject*) = mac 0x1ba8c0, win 0x129590, ios 0x225408; - static GJGarageLayer* node() = win 0x125220; - virtual bool init() = mac 0x1b4980, win 0x1255d0; - void onSelectTab(cocos2d::CCObject* sender) = win 0x127c30; - void onPlayerIcon(cocos2d::CCObject* sender) = win 0x127f30; - void onShipIcon(cocos2d::CCObject* sender) = win 0x1281e0; - void onBallIcon(cocos2d::CCObject* sender) = win 0x1282a0; - void onBirdIcon(cocos2d::CCObject* sender) = win 0x128360; - void onDartIcon(cocos2d::CCObject* sender) = win 0x128420; - void onRobotIcon(cocos2d::CCObject* sender) = win 0x1286d0; - void onSpiderIcon(cocos2d::CCObject* sender) = win 0x128890; - void onDeathEffect(cocos2d::CCObject* sender) = win 0x128a50; - void onSpecialIcon(cocos2d::CCObject* sender) = win 0x128af0; - void onShards(cocos2d::CCObject* sender) = win 0x12ad70; - void onBack(cocos2d::CCObject* sender) = win 0x12adf0; - void onShop(cocos2d::CCObject* sender) = win 0x12ad90; - void setupColorSelect() = mac 0x1b7500; - void playRainbowEffect() = win 0x12aad0; - void playShadowEffect() = win 0x12a9d0; - PAD = mac 0x10, win 0x8; - - CCTextInputNode* m_nameInput; - SimplePlayer* m_playerPreview; - PAD = mac 0x10, win 0x8; - cocos2d::CCSprite* m_colorSelector1; - cocos2d::CCSprite* m_colorSelector2; - CCMenuItemSpriteExtra* m_unkButton0x148; - CCMenuItemSpriteExtra* m_unkButton0x14c; - PAD = win 0x8, mac 0x10; - cocos2d::CCArray* m_pagesArray; - PAD = win 0x8, mac 0x10; - CCMenuItemToggler* m_tabToggleCube; - CCMenuItemToggler* m_tabToggleShip; - CCMenuItemToggler* m_tabToggleBall; - CCMenuItemToggler* m_tabToggleUfo; - CCMenuItemToggler* m_tabToggleWave; - CCMenuItemToggler* m_tabToggleRobot; - CCMenuItemToggler* m_tabToggleSpider; - CCMenuItemToggler* m_tabToggleSpecial; - CCMenuItemToggler* m_tabToggleDeathEffect; - PAD = win 0x4, mac 0x8; - bool m_updateSelector; -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - void updateGroundWidth() = mac 0x356790, win 0x12dda0; -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - bool init( - UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, - bool, bool, bool, cocos2d::ccColor3B - ) = win 0x12ccf0; - - static GJItemIcon* createBrowserIcon(UnlockType _type, int _id) { - return GJItemIcon::create(_type, _id, - { 0xaf, 0xaf, 0xaf }, { 0xff, 0xff, 0xff }, - false, true, true, - { 0xff, 0xff, 0xff } - ); - } - - static GJItemIcon* create(UnlockType _type, int _id, cocos2d::ccColor3B _col1, cocos2d::ccColor3B _col2, bool _un0, bool _un1, bool _un2, cocos2d::ccColor3B _col3) = mac 0x1bb330, win 0x12cbf0, ios 0x227188; -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - ~GJListLayer() = mac 0x344350; - static GJListLayer* create(BoomListView* target, const char* title, cocos2d::ccColor4B color, float width, float height) = mac 0x343e10, win 0x12e000; - - BoomListView* m_listView; -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - virtual bool init() = win 0xc0080; - static GJMapPack *create() = win 0xbffe0; -} - -[[link(android)]] -class GJMessageCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; - void loadFromMessage(GJUserMessage *) = win 0x64b60; -} - -[[link(android)]] -class GJOptionsLayer : FLAlertLayer { - static GJOptionsLayer* create() = mac 0x145ae0, win 0x0, ios 0x0; - void addToggle(char const*, char const*, char const*) = mac 0x1464e0, win 0x0, ios 0x0; -} - -[[link(android)]] -class GJRequestCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; -} - -[[link(android)]] -class GJRewardDelegate {} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - // virtual ~GJRobotSprite() = mac 0x34aaf0; inlined on windows, RE and recreate - virtual bool init() = mac 0x34ad50, win 0x145840; - virtual void setOpacity(unsigned char) = mac 0x34bcc0, win 0x146640; // shared with GJSpriteSprite - virtual void hideSecondary() = mac 0x34c3b0, win 0x146c90; - static GJRobotSprite* create() = mac 0x34ac00, win 0x1457a0; - void updateColor02(cocos2d::_ccColor3B) = mac 0x34bbd0, win 0x1461c0; - void updateGlowColor(cocos2d::_ccColor3B, bool) = win 0x1460C0; - void updateFrame(int) = mac 0x34bdd0, win 0x146700; - void hideGlow() = mac 0x34b860; - - cocos2d::CCArray* m_unk244; - bool m_unk248; - cocos2d::ccColor3B m_mainColor; - cocos2d::ccColor3B m_secondaryColor; - cocos2d::CCArray* m_unk250; - cocos2d::CCSprite* m_glowSprite; - cocos2d::CCSprite* m_unk258; - PAD = win 0x4; - cocos2d::CCSprite* m_flameSprite; - CCSpritePart* m_headSpritePart; -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - void setAngle(float angle) { - m_sliderPosition = cocos2d::CCPointMake(sinf(angle) * 60.0f, cosf(angle) * 60.0f); - m_angle = angle; - - m_sliderThumb->setPosition(m_sliderPosition); - } - - void updateSliderPosition(cocos2d::CCPoint pos) = win 0x94020; - - float m_unknown0; - float m_unknown1; - cocos2d::CCPoint m_sliderPosition; - cocos2d::CCSprite* m_sliderThumb; - float m_objAngle; - float m_angle; - int m_touchID; -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual void angleChangeBegin() {} - virtual void angleChangeEnded() {} - virtual void angleChanged(float) {} -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - virtual bool init() = mac 0x31b30, win 0x94490; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x31d30, win 0x947a0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x31e60, win 0x94840; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x31fb0, win 0x94940; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x32060, win 0x2dea0; // shared with many others - void updateLabel(float value) = win 0x94990, mac 0x31c90; - void loadValues(GameObject* obj, cocos2d::CCArray* objs) = win 0x94590, mac 0x24f40; - - Slider* m_slider; - unsigned int m_touchID; - float m_value; - bool m_shouldSnapAt1; - cocos2d::CCLabelBMFont* m_label; - GJScaleControlDelegate* m_delegate; -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual void scaleChanged(float) {} - virtual void scaleChangeBegin() {} - virtual void scaleChangeEnded() {} -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x11D8E0, win 0x624a0; - void loadFromScore(GJUserScore* score) = mac 0x113AA0, win 0x61440; - void onViewProfile(cocos2d::CCObject* sender) = win 0x62380; - void updateBGColor(int index) = mac 0x113A40, win 0x5c6b0; - inline GJScoreCell(char const* identifier, float parentHeight, float height) : TableViewCell(identifier, parentHeight, height) {} - - GJUserScore* m_score; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - SearchType getType() { - return m_searchType; - } - - static GJSearchObject* create(SearchType nID) = win 0xc2b90, mac 0x2df120; - static GJSearchObject* create(SearchType nID, gd::string str) = win 0xc2c80, mac 0x2df310; - static GJSearchObject* createFromKey(const char* key) = mac 0x2C0620, win 0xC2760; - const char* getKey() = mac 0x2C6A40, win 0xC30A0; - const char* getNextPageKey() = win 0xC31F0; - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_unknownMember; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - GJDifficulty m_demonFilter; - int m_unk; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol { - static GJSongBrowser* create(LevelSettingsObject* levelSettingsObject) = mac 0x3685D0, win 0x14CB20; -} - -[[link(android)]] -class GJSpecialColorSelect { - static const char* textForColorIdx(int id) = mac 0x383a50, win 0x14e1d0, ios 0x113f6c; -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual void colorSelectClosed(GJSpecialColorSelect*, int) {} -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - // ~GJSpiderSprite() = mac 0x34c4a0; same as ~CCRobotSprite, fully merged on windows - virtual bool init() = mac 0x34c700, win 0x146db0; - static GJSpiderSprite* create() = mac 0x34c5b0, win 0x146cf0; -} - -[[link(android)]] -class GJSpriteColor : cocos2d::CCNode { - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - - void resetCustomColorMode() = mac 0x342f10; -} - -[[link(android)]] -class GJUserCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - virtual bool init() = win 0x33b40; -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - IconType getIconType() const { - return m_iconType; - } - int getPlayerCube() const { - return m_playerCube; - } - int getPlayerShip() const { - return m_playerShip; - } - int getPlayerBall() const { - return m_playerBall; - } - int getPlayerUfo() const { - return m_playerUfo; - } - int getPlayerWave() const { - return m_playerWave; - } - int getPlayerRobot() const { - return m_playerRobot; - } - int getPlayerSpider() const { - return m_playerSpider; - } - int getPlayerStreak() const { - return m_playerStreak; - } - bool getGlowEnabled() const { - return m_glowEnabled; - } - int getPlayerExplosion() const { - return m_playerExplosion; - } - int getPlayerColor1() const { - return m_color1; - } - int getPlayerColor2() const { - return m_color2; - } - gd::string getPlayerName() const { - return m_userName; - } - static GJUserScore* create() { - auto pRet = new GJUserScore(); - - if (pRet) { - pRet->autorelease(); - return pRet; - } - - CC_SAFE_DELETE(pRet); - return nullptr; - } - inline GJUserScore() : CCNode() {} - static GJUserScore* create(cocos2d::CCDictionary*) = mac 0x2BD020, win 0xc0750; - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - bool m_isBlocked; - gd::string m_lastScoreAge; -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - virtual void setup() = mac 0x26EE20, win 0x28F60; - virtual void encodeDataTo(DS_Dictionary* data) {} - virtual void dataLoaded(DS_Dictionary* data) {} - virtual void firstLoad() {} - - void save() { - saveGMTo(m_fileName); - } - void saveData(DS_Dictionary*, gd::string) = mac 0x26f4b0; - void saveGMTo(gd::string) = mac 0x26f3b0, win 0x29250; - - inline GManager() {} - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn() {} -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - virtual bool init() = win 0x11070; - - static GooglePlayManager* sharedState() = win 0x295a0; -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType) = win 0xa2780; - GJGameLevel* createNewLevel() = mac 0x2b8180, win 0xa0db0; - static GameLevelManager* sharedState() = mac 0x2a8340, win 0x9f860; - void limitSavedLevels() = mac 0x2C0C30, win 0xA43B0; - cocos2d::CCArray* getCompletedLevels(bool newFilter) = mac 0x2BEEE0, win 0xa2d20; - void getGJUserInfo(int) = mac 0x2CEBB0, win 0xb00b0; - void getLevelLeaderboard(GJGameLevel* level, LevelLeaderboardType leaderboardType) = mac 0x2CD6F0, win 0xAED70; - void getOnlineLevels(GJSearchObject*) = mac 0x2C5920, win 0xa7bc0; - void getPageInfo(char const*) = mac 0x2c0050; - void getUserList(UserListType listType) = mac 0x2d74a0, win 0xb6b60; - cocos2d::CCObject* getStoredUserList(UserListType) = win 0xb70d0; - cocos2d::CCArray* getSavedLevels(bool favorite, int levelFolder) = mac 0x2BE910, win 0xa2960; - cocos2d::CCArray* getStoredOnlineLevels(char const*) = mac 0x2bfe80, win 0xa3a90; - void getTopArtists(int, int) = mac 0x2ce3d0; - void getTopArtistsKey(int) = mac 0x2ce7a0; - void makeTimeStamp(char const*) = mac 0x2bfd90, win 0xa3f00; - GJGameLevel* getMainLevel(int id, bool unk) = win 0xa0940; - bool hasLikedItemFullCheck(LikeItemType type, int itemID, int commentSourceID) = mac 0x2d83d0, win 0xB86B0; - bool hasRatedLevelStars(int levelID) = mac 0x2ca3a0; - callback void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = mac 0x2a8670, win 0x9f8e0; - cocos2d::CCDictionary* responseToDict(gd::string response, bool comment) = win 0xbba50; - void storeUserNames(gd::string) = win 0xa1840; - void storeUserName(int userID, int accountID, gd::string str) = mac 0x2B9020, win 0xa1a70; - gd::string userNameForUserID(int id) = mac 0x2B91D0, win 0xa1c20; - void updateUserScore() = mac 0x2CB6A0, win 0xada60; - void uploadAccountComment(gd::string text) = win 0xb3250; - void uploadLevelComment(int levelID, gd::string text, int unk) = win 0xb31c0; - void uploadComment(gd::string text, CommentType type, int levelID, int unk) = win 0xb32e0; - void deleteComment(int commentID, CommentType type, int levelID) = win 0xb41a0; - void downloadLevel(int id, bool downloadData) = win 0xaa730; - bool hasDownloadedLevel(int id) = win 0xab830; - GJGameLevel* getSavedLevel(int id) = win 0xa2ee0; - void saveLevel(GJGameLevel* level) = win 0xa31c0; - void deleteLevel(GJGameLevel* level) = mac 0x2b88d0, win 0xa1640; - void resetCommentTimersForLevelID(int id, bool commentHistory) = mac 0x2D43D0, win 0xB3F10; - void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetAccountComments(int id){ - int i = 0; - while(true){ - auto key = this->getAccountCommentKey(id, i++); - auto levels = getStoredOnlineLevels(key); - if(levels != nullptr){ - m_storedLevels->removeObjectForKey(key); - }else{ - break; - } - } - } - const char* getAccountCommentKey(int a2, int a3){ - return cocos2d::CCString::createWithFormat("a_%i_%i", a2, a3)->getCString(); - } - bool getBoolForKey(char const* key) { - return m_searchFilters->valueForKey(key)->boolValue(); - } - int getIntForKey(char const* key) { - return m_searchFilters->valueForKey(key)->intValue(); - } - void setIntForKey(int value, char const* key) { - m_searchFilters->setObject(cocos2d::CCString::createWithFormat("%i", value), key); - } - - inline static GameLevelManager* get() { - return GameLevelManager::sharedState(); - } - - //cocos2d::CCDictionary* timerDict = mac 0x1e8; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - PAD = mac 0x10, win 0x4, android 0x4; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_unkDict24; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - OnlineListDelegate* m_onlineListDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - LevelManagerDelegate* m_levelManagerDelegate; - UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - MusicDownloadDelegate* m_musicDownloadDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4; -} - -[[link(android)]] -class GameManager : GManager { - int getPlayerFrame() { - return m_playerFrame; - } - int getPlayerShip() { - return m_playerShip; - } - int getPlayerBall() { - return m_playerBall; - } - int getPlayerBird() { - return m_playerBird; - } - int getPlayerDart() { - return m_playerDart; - } - int getPlayerRobot() { - return m_playerRobot; - } - int getPlayerSpider() { - return m_playerSpider; - } - int getPlayerStreak() { - return m_playerStreak; - } - int getPlayerDeathEffect() { - return m_playerDeathEffect; - } - int getPlayerColor() { - return m_playerColor; - } - int getPlayerColor2() { - return m_playerColor2; - } - bool getPlayerGlow() { - return m_playerGlow; - } - IconType getPlayerIconType() { - return m_playerIconType; - } - void setPlayerFrame(int id) { - m_playerFrame = id; - } - void setPlayerShip(int id) { - m_playerShip = id; - } - void setPlayerBall(int id) { - m_playerBall = id; - } - void setPlayerBird(int id) { - m_playerBird = id; - } - void setPlayerDart(int id) { - m_playerDart = id; - } - void setPlayerRobot(int id) { - m_playerRobot = id; - } - void setPlayerSpider(int id) { - m_playerSpider = id; - } - void setPlayerStreak(int id) { - m_playerStreak = id; - } - void setPlayerDeathEffect(int id) { - m_playerDeathEffect = id; - } - void setPlayerColor(int id) { - m_playerColor = id; - } - void setPlayerColor2(int id) { - m_playerColor2 = id; - } - void setPlayerGlow(bool v) { - m_playerGlow = v; - } - void setPlayerIconType(IconType v) { - m_playerIconType = v; - } - void setQuality(cocos2d::TextureQuality quality) { - m_quality = quality; - } - PlayLayer* getPlayLayer() { - return m_playLayer; - } - LevelEditorLayer* getEditorLayer() { - return m_levelEditorLayer; - } - bool getGameVariableDefault(const char* key, bool defaultValue) { - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->boolValue(); - } - int getIntGameVariableDefault(const char* key, int defaultValue) { - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->intValue(); - } - static GameManager* get() { - return GameManager::sharedState(); - } - - void accountStatusChanged() = mac 0x1cdad0; - cocos2d::_ccColor3B colorForIdx(int) = mac 0x1cbc80, win 0xc8d10, ios 0x237488; - void didExitPlayscene() = mac 0x1d0230; - void doQuickSave() = mac 0x1d0200; - void fadeInMusic(const char*) = mac 0x1c2ff0, win 0xc4bd0; - void getBGTexture(int) = mac 0x1cca00; - void getFontFile(int) = mac 0x1cc5f0; - void getFontTexture(int) = mac 0x1cc640; - bool getGameVariable(const char*) = mac 0x1cccd0, win 0xc9d30; - int getIntGameVariable(const char*) = mac 0x1cd1d0, win 0xca330; - bool getUGV(const char*) = mac 0x1ccfa0, win 0xca0d0; - void loadBackground(int) = mac 0x1cc820, win 0xc9990; - void loadDeathEffect(int) = mac 0x1cc690, win 0xc9850; - void loadFont(int) = mac 0x1cc550, win 0xc9770; - void loadGround(int) = mac 0x1cc8e0, win 0xc9a50; - void reloadAll(bool, bool, bool) = mac 0x1d08a0, win 0xce950; - void reloadAllStep2() = mac 0x1d0940, win 0xce9e0, ios 0x23b1f4; - void reloadAllStep3() = win 0xceb10; - void reloadAllStep4() = win 0xceb80; - void reloadAllStep5() = mac 0x1d0b00, win 0xcebf0; - void reportPercentageForLevel(int, int, bool) = mac 0x1c5b00; - void setGameVariable(const char*, bool) = mac 0x1cca80, win 0xc9b50; - void setIntGameVariable(const char*, int) = mac 0x1cd0e0, win 0xca230; - void setUGV(char const*, bool) = mac 0x1cce50, win 0xc9f90; - static GameManager* sharedState() = mac 0x1c2b30, win 0xc4a50, ios 0x2321b8; - ~GameManager() = mac 0x1d0e00, win 0xcf100; - void getGTexture(int) = mac 0x1cca40, win 0xc9a50; - virtual bool init() = mac 0x1c2ec0, win 0xc4ad0; - void reportAchievementWithID(char const*, int, bool) = mac 0x1c6460, win 0xc64c0; - cocos2d::CCSize resolutionForKey(int) = mac 0x1d0b40, win 0xceca0; - virtual void update(float) = mac 0x1d0270, win 0xce440; - bool isColorUnlocked(int _id, bool _type) = mac 0x1c3b90, win 0xc53f0; - bool isIconUnlocked(int _id, IconType _type) = mac 0x1c35b0, win 0xc4fc0; - void toggleGameVariable(const char* key) = win 0xc9e90; - void returnToLastScene(GJGameLevel* level) = mac 0x1d0500, win 0xce6a0; - - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - PAD = mac 0x5, win 0x5, android 0x1; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - PAD = mac 0x8, win 0x8, android 0x8; - double m_unknownDouble; - // TODO: according to wylie's decomp this pad was 0x4, gd.h has it as 0x8 (and its correct) - // i have a feeling android gm and windows gm are different structs - // so the extra member could be here (for windows) - PAD = mac 0x4, win 0x8, android 0x8; - bool m_loaded; - gd::string m_unknownString; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - int m_unknown1; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - geode::SeedValueRSV m_playerUserID; - float m_backgroundMusicVolume; - float m_effectsVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_likedFacebook; - bool m_followedTwitter; - bool m_subbedYoutube; - // there are 4 bytes too many between m_timeOffset and m_playerFrameRand1 - // and i'm guessing it's this one - // int m_unknownInt; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - int m_searchObjectType; - bool m_unknownBool6; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - IconType m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_clickedGarage; // this should be 0x2a2 on macos and 0x28a on windows - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - PAD = mac 0x3c, win 0x30, android 0x30; - int m_bootups; - bool m_hasRatedGame; - bool m_unk0; - bool m_unk1; - bool m_unk2; - bool m_gameCenterEnabled; - bool m_smoothFix; - geode::SeedValueSRV m_ratePower; - bool m_canGetLevelSaveData; - int m_resolution; - cocos2d::TextureQuality m_quality; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - cocos2d::CCPoint getStartPosition() { - return m_startPosition; - } - void setStartPosition(cocos2d::CCPoint const& p) { - m_startPosition = p; - } - unsigned int getUniqueID() { - return m_uniqueID; - } - short getGroupID(int ix) { - return m_groups->at(ix); - } - short getGroupIDCount() { - return m_groupCount; - } - gd::vector getGroupIDs() { - std::vector res; - - if (m_groups && m_groups->at(0)) - for (auto i = 0; i < m_groupCount; i++) - res.push_back(m_groups->at(i)); - - return res; - } - int getGameZOrder() { - return m_gameZOrder; - } - void setGameZOrder(int z) { - m_gameZOrder = z; - } - void setGameObjType(GameObjectType t) { - m_objectType = t; - } - GJSpriteColor* getBaseColor() { - return m_baseColor; - } - GJSpriteColor* getDetailColor() { - return m_detailColor; - } - - GameObject() = mac 0xdc4c0, win 0x983e0; // yeah why is this here wtf, seems life ego ctor created this - ~GameObject() = mac 0x2f4ca0, win 0xcf340; - virtual void update(float) = mac 0x2fbb90, win 0x30e00; - virtual void setScaleX(float) = mac 0x335b00, win 0xe5050; - virtual void setScaleY(float) = mac 0x335b90, win 0xe50e0; - virtual void setScale(float) = mac 0x335c20, win 0xe5170; - virtual void setPosition(const cocos2d::CCPoint&) = mac 0x335850, win 0xe4de0; - virtual void setVisible(bool) = mac 0x336280, win 0xe57c0; - virtual void setRotation(float) = mac 0x335970, win 0xe4ed0; - virtual void setOpacity(GLubyte) = mac 0x335f10, win 0xe53c0; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = mac 0x2f56a0, win 0xcfa80; - virtual void setChildColor(const cocos2d::ccColor3B&) = mac 0x341f20, win 0xee900; - virtual void setFlipX(bool) = mac 0x335a60, win 0xe4fd0; - virtual void setFlipY(bool) = mac 0x335ab0, win 0xe5010; - virtual void customSetup() = mac 0x2fbba0, win 0xd1c10; - virtual void setupCustomSprites() = mac 0x307f60, win 0xd7d50; - virtual void addMainSpriteToParent(bool) = mac 0x33a5b0, win 0xeb250; - virtual void resetObject() = mac 0x2fa620, win 0xd1470, ios 0xd1470; - virtual void triggerObject(GJBaseGameLayer*) = mac 0x2fa8f0, win 0xd1790; - virtual void activateObject() = mac 0x2faf60, win 0xd1870; - virtual void deactivateObject(bool) = mac 0x2fb8f0, win 0xd19b0; - virtual cocos2d::CCRect const& getObjectRect() = mac 0x3352b0, win 0xe4a40; - virtual cocos2d::CCRect getObjectRect(float, float) = mac 0x3352d0, win 0xe4a70; - virtual cocos2d::CCRect getObjectRect2(float, float) = mac 0x3354e0, win 0xe4b90; - virtual cocos2d::CCRect const& getObjectTextureRect() = mac 0x3355b0, win 0xe4c40; - virtual cocos2d::CCPoint getRealPosition() = mac 0x335750, win 0xe4d90; - virtual void setStartPos(cocos2d::CCPoint) = mac 0x2fa520, win 0xd1390; - virtual void updateStartValues() = mac 0x2fa800, win 0xd1610; - virtual void customObjectSetup(gd::map&) {} - virtual gd::string getSaveString() = mac 0x33d3d0, win 0xed0c0; - virtual bool isFlipX() = mac 0x335a40, win 0xe4fb0; - virtual bool isFlipY() = mac 0x335a50, win 0xe4fc0; - virtual void setRScaleX(float) = mac 0x335cb0, win 0xe5200; - virtual void setRScaleY(float) = mac 0x335d60, win 0xe5240; - virtual void setRScale(float) = mac 0x335e10, win 0xe5280; - virtual void getRScaleX() = mac 0x335e50, win 0xe52c0; - virtual void getRScaleY() = mac 0x335e80, win 0xe5300; - virtual void calculateSpawnXPos() = mac 0x336970, win 0xe5d20; - virtual void triggerActivated(float) = mac 0x336990, win 0xe5d30; - virtual void powerOnObject() = mac 0x3369a0, win 0xe5d40; - virtual void powerOffObject() = mac 0x3369c0, win 0xe5d60; - virtual void setObjectColor(const cocos2d::ccColor3B&) = mac 0x341c90, win 0xee620; - virtual void setGlowColor(cocos2d::_ccColor3B const&) = mac 0x341ed0, win 0xee8c0; - virtual void getOrientedBox() = mac 0x342ad0, win 0xef160; - virtual void addToGroup(int) = mac 0x33ad00, win 0xeb8d0; - virtual void removeFromGroup(int) = mac 0x33ada0, win 0xeb930; - virtual void spawnXPosition() = mac 0xdc1b0, win 0x98990; - virtual void getObjectRectDirty() const = mac 0xdc1d0, win 0x989a0; - virtual void setObjectRectDirty(bool) = mac 0xdc1e0, win 0x989b0; - virtual void getOrientedRectDirty() const = mac 0xdc1f0, win 0x989c0; - virtual void setOrientedRectDirty(bool) = mac 0xdc200, win 0x989d0; - virtual GameObjectType getType() const = mac 0xdc210, win 0x989e0; - virtual void setType(GameObjectType) = mac 0xdc220, win 0x989f0; - virtual cocos2d::CCPoint getStartPos() const = mac 0xdc230, win 0x98a00; - void activatedByPlayer(GameObject*) = mac 0x342a20, win 0xef0e0; - void addColorSprite() = mac 0x2f7fe0, win 0xd0670; - void addColorSpriteToParent(bool) = mac 0x2fb470, win 0xeb3f0; - void addGlow() = mac 0x2f5c10, win 0xcfef0; - void addToTempOffset(float, float) = mac 0x335700; - void calculateOrientedBox() = mac 0x342b20, win 0xef1a0; - void canChangeCustomColor() = mac 0x342db0; - float groupOpacityMod() = win 0xebda0; - cocos2d::_ccColor3B& colorForMode(int colorMode, bool isMain) = mac 0x343460, win 0xef8d0; - cocos2d::_ccColor3B& groupColor(cocos2d::_ccColor3B const&, bool) = win 0xef9e0; - cocos2d::_ccColor3B& getActiveColorForMode(int, bool) = mac 0x343860, win 0xefb10; - void commonSetup() = mac 0x2f5570, win 0xcfac0; - void copyGroups(GameObject*) = mac 0x33ae30, win 0xeb9d0; - static GameObject* createWithFrame(const char*) = mac 0x2f5490, win 0xcf8f0; - static GameObject* createWithKey(int) = mac 0x2f4ce0, win 0xcf4f0; - void destroyObject() = mac 0x336a00; - void determineSlopeDirection() = mac 0x33a9e0, win 0xeb670; - void getBallFrame(int) = mac 0x341bf0; - cocos2d::CCPoint getBoxOffset() = mac 0x3353d0, win 0xef350; - const cocos2d::_ccColor3B& getColorIndex() = mac 0x343b90; - void getDidUpdateLastPosition() = mac 0x343a20; - void getLastPosition() = mac 0x3439d0; - void getMainColorMode() = mac 0x334c30; - void getObjectZOrder() = mac 0x337d70; - // inlined on windows - float getObjectRadius() { - float radius = m_objectRadius; - if (m_scale != 1.0f) - radius *= m_scale; - return radius; - } - void getSecondaryColorMode() = mac 0x341c20; - void getSectionIdx() = mac 0x343a00; - void groupWasDisabled() = mac 0x33b110; - void groupWasEnabled() = mac 0x33b0f0; - void hasBeenActivated() = mac 0x342a80; - bool hasBeenActivatedByPlayer(GameObject*) = mac 0x342a50, win 0xEF110; - void hasSecondaryColor() = mac 0x342f80; - void ignoreEnter() = mac 0x3352a0; - void ignoreFade() = mac 0x335290; - void isBasicTrigger() = mac 0x343d10; - void isColorTrigger() = mac 0x343b40; - void isSpawnableTrigger() = mac 0x343a60, win 0xeff20; - void isSpecialObject() = mac 0x343c40; - void loadGroupsFromString(gd::string str) = mac 0x33b380, win 0xebcb0; - static GameObject* objectFromString(gd::string, bool) = mac 0x33b720, win 0xebe50; - void playShineEffect() = mac 0x2fa9d0, win 0xeab20; - bool canRotateFree() { - return ( - m_objectType != GameObjectType::Solid && - m_objectType != GameObjectType::Breakable && - m_objectType != GameObjectType::Slope - ); - } - //void quickUpdatePosition() = mac 0x335790; - // inlined on windows - void quickUpdatePosition() { - cocos2d::CCPoint newPos = getRealPosition(); - this->setPosition(newPos); - if (m_detailSprite && !m_hasDetailColor) { - m_detailSprite->setPosition(newPos); - } - } - void removeGlow() = mac 0x2f7f70; - void resetGroupDisabled() = mac 0x2fa7e0; - void saveActiveColors() = mac 0x33d250, win 0xee3e0; - void selectObject(cocos2d::ccColor3B) = mac 0x341f90, win 0xee960; - void setDefaultMainColorMode(int) = mac 0x304fc0; - void setDidUpdateLastPosition(bool const&) = mac 0x343a30; - void setGlowOpacity(unsigned char) = mac 0x336200; - void setLastPosition(cocos2d::CCPoint const&) = mac 0x3439e0; - void setMainColorMode(int) = mac 0x342e70; - void setSectionIdx(int const&) = mac 0x343a10; - void setupCoinArt() = mac 0x337dd0, win 0xe7050; - void slopeFloorTop() = mac 0x342800; - void slopeWallLeft() = mac 0x3427e0; - void updateCustomScale(float) = mac 0x335eb0, win 0xe5340; - void updateMainColor() = mac 0x343340; - void updateObjectEditorColor() = mac 0x3423c0, win 0xeee50; - void updateOrientedBox() = mac 0x342b50, win 0xef1c0; - void updateSecondaryColor() = mac 0x343740; - void updateStartPos() = mac 0x2fa590, win 0xd13f0; - void updateState() = mac 0x3369e0; - void updateSyncedAnimation(float) = mac 0x337f00, win 0xe7320; - void updateTextObject(gd::string, bool) = mac 0x2f58d0, win 0xcfc60; - void deselectObject() = mac 0x3423a0, win 0xeee40; - cocos2d::CCRepeatForever* createRotateAction(float f, int n) = win 0xe49b0; - void setMyAction(cocos2d::CCAction* pAction) = win 0xd1b90; - bool canAllowMultiActivate() = mac 0x343ca0, win 0xf06b0; - void createGroupContainer(int size) = mac 0x33aca0, win 0xeb870; - - cocos2d::_ccColor3B m_color; - float m_unk2; - float m_unk; - float m_unk3f; - float m_unk4; - bool m_unkidk; - float m_animSpeed2; - bool m_isEffectObject; - bool m_randomisedAnimStart; - float m_animSpeed; - bool m_isBlackObject; - bool m_isBlackObjectWithOutline; - float m_blackChildOpacity; - bool field_21C; - bool m_editor; - bool m_groupDisabled; - bool m_colourOnTop; - //GJSpriteColor* m_mainColourMode; - //GJSpriteColor* m_secondaryColourMode; - //bool m_col1; - //bool m_col2; - int m_baseColorID; //0x27c on macos - int m_detailColorID; - bool m_baseColorHSVModified; - bool m_detailColorHSVModified; - cocos2d::CCPoint m_startPosOffset; - float m_rotateOffset; - bool m_tintTrigger; - bool m_isFlippedX; - bool m_isFlippedY; - cocos2d::CCPoint m_boxOffset; - bool m_isOriented; - cocos2d::CCPoint m_boxOffset2; - OBB2D* m_objectOBB2D; - bool m_oriented; - cocos2d::CCSprite* m_glowSprite; - bool m_notEditor; - cocos2d::CCAction* m_myAction; - bool m_unk1; - bool m_runActionWithTag; - bool m_objectPoweredOn; - cocos2d::CCSize m_objectSize; - bool m_modifier; - // bool unknown2e5; m_active is 0x2e5 on macos - bool m_active; - bool m_animationFinished; - cocos2d::CCParticleSystemQuad* m_particleSystem; - gd::string m_effectPlistName; - bool m_particleAdded; - bool m_hasParticles; - bool m_unkCustomRing; - cocos2d::CCPoint m_portalPosition; - bool m_unkParticleSystem; - cocos2d::CCRect m_objectTextureRect; - bool m_textureRectDirty; - float m_rectXCenterMaybe; - cocos2d::CCRect m_objectRect2; - bool m_isObjectRectDirty; - bool m_isOrientedRectDirty; - bool m_hasBeenActivated; - bool m_hasBeenActivatedP2; - bool m_hasDetailColor; - bool m_isPulseStick; - bool m_hasOrientedBox; - int m_linkedGroup; - bool m_isSaw; - int m_customRotateSpeed; - bool m_sawIsDisabled; - bool m_unknownVisibility345; - bool m_unknown346; - bool m_unknownVisibility347; - cocos2d::CCSprite* m_baseSprite; - cocos2d::CCSprite* m_detailSprite; - bool m_unk2e8; - float m_objectRadius; - bool m_isRotatedSide; - float m_unk2F4; - float m_unk2F8; - int m_uniqueID; - GameObjectType m_objectType; - int m_section; - bool m_touchTriggered; - bool m_spawnTriggered; - cocos2d::CCPoint m_startPosition; - gd::string m_textureName; - bool m_useAudioScale; - bool m_sleeping; - float m_rotation; - cocos2d::CCSize m_obStartScale; - bool m_startFlipX; - bool m_startFlipY; - bool m_shouldHide; - float m_spawnXPosition; - bool m_invisible; - float m_enterAngle; - int m_activeEnterEffect; - int m_parentMode; - bool m_isGlowDisabled; - int m_targetColorID; - float m_scale; - int m_objectID; - bool m_unk364; - bool m_unk365; - bool m_ignoreEnter; - bool m_ignoreFade; - bool m_unk368; - bool m_unk369; - bool m_unk36A; - bool m_isDontEnter; - bool m_isDontFade; - bool m_unk36D; - int m_defaultZOrder; - bool m_useSecondSheet; - bool m_isPortal; - bool m_customAudioScale; - bool m_lockColourAsChild; - float m_minAudioScale; - float m_maxAudioScale; - bool m_unkParticleSystem2; - int m_secretCoinID; - int m_unkUnusedSaveStringKey53; - bool m_invisibleMode; - bool m_glowUserBackgroundColour; - bool m_useSpecialLight; - bool m_orbOrPad; - float m_glowOpacityMod; - bool m_upSlope; - int m_slopeType; - float m_slopeAngle; - bool m_hazardousSlope; - float m_realOpacity; - GJSpriteColor* m_baseColor; - GJSpriteColor* m_detailColor; - bool m_unk3b0; - ZLayer m_defaultZLayer; - ZLayer m_zLayer; - int m_gameZOrder; - gd::string m_textObjectString; - bool m_showGamemodeBorders; - bool m_unk3D9; - bool m_isSelected; - int m_globalClickCounter; - PAD = mac 0x8, win 0x8, android 0x8; - bool m_shouldUpdateColorSprite; - float m_multiScaleMultiplier; - bool m_isGroupParent; - std::array* m_groups; - short m_groupCount; - std::array* m_pulseGroups; - short m_pulseGroupCount; // mac 0x470 - std::array* m_alphaGroups; - short m_alphaGroupCount; // mac 0x480 - int m_editorLayer; - int m_editorLayer2; - int m_unk414; - PAD = mac 0xc, win 0xc, android 0xc; - cocos2d::CCPoint m_firstPosition; - bool m_queuedForPositionUpdate; - bool m_shouldUpdateFirstPosition; - PAD = mac 0x6, win 0x6, android 0x6; - bool m_isAnimated; - PAD = mac 0x7, win 0x7, android 0x7; - bool m_hasEffectLine; - bool m_specialUnk43d; - PAD = mac 0x1, win 0x1, android 0x1; - bool m_hasDurationLine; - bool m_isTriggerable; - bool m_triggeredInEditor; - PAD = mac 0x6, win 0x6, android 0x6; - bool m_highDetail; - ColorActionSprite* m_colorActionSpriteBase; - ColorActionSprite* m_colorActionSpriteDetail; - GJEffectManager* m_effectManager; - bool m_unk458; - bool m_unk459; - bool m_inOptimizedGroup; - bool m_wasForcedRotatedPositionUpdateIdk; - PAD = mac 0x8, win 0x8, android 0x8; - bool m_orbMultiActivate; -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - virtual ~GameObjectCopy() = mac 0xa3290; - static GameObjectCopy* create(GameObject*) = mac 0x975a0, win 0x16c020; - void resetObject() = mac 0x976a0; - GameObject* m_object; -} - -[[link(android)]] -class GameRateDelegate {} - -[[link(android)]] -class GameSoundManager : cocos2d::CCNode { - void disableMetering() = mac 0x362d80, win 0x257D0; - void enableMetering() = mac 0x362d00, win 0x256F0; - float getMeteringValue() = mac 0x362db0, win 0x258f0; - void playBackgroundMusic(gd::string, bool, bool) = mac 0x362070, win 0x252B0; - void playEffect(gd::string, float, float, float) = mac 0x3623d0, win 0x25450; - void stopBackgroundMusic() = mac 0x362130, win 0x253A0; - void asynchronousSetup() = win 0x25520; - ~GameSoundManager() = mac 0x362c00, win 0x25640; - static GameSoundManager* sharedManager() = mac 0x3610f0, win 0x24800; - inline static GameSoundManager* get() { - return GameSoundManager::sharedManager(); - } - - cocos2d::CCDictionary* m_dictionary1; - cocos2d::CCDictionary* m_dictionary2; - PAD = win 0xc; - bool m_preloaded; - PAD = win 0x4; - gd::string m_filePath; -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - void awardCurrencyForLevel(GJGameLevel*) = mac 0x43600; - void awardDiamondsForLevel(GJGameLevel*) = mac 0x43c60; - void awardSecretKey() = mac 0x4b1e0; - int getAwardedCurrencyForLevel(GJGameLevel*) = mac 0x432E0, win 0xf83e0; - int getBaseCurrencyForLevel(GJGameLevel*) = mac 0x43470, win 0xf8530; - GJChallengeItem* getChallenge(int id) = mac 0x451f0, win 0xa2fb0; - void getSecretCoinKey(char const*) = mac 0x429f0; - int getStat(char const* type) = mac 0x3d310, win 0xf3580; - void setStat(char const* type, int amount) = win 0xf3690; - void hasPendingUserCoin(char const*) = mac 0x42730, win 0xf7c50; - void hasSecretCoin(char const*) = mac 0x40730, win 0xf7dc0; - void hasUserCoin(char const*) = mac 0x427e0, win 0xf7ae0; - void incrementChallenge(GJChallengeType type, int count) = win 0xf9ae0; - void incrementStat(char const*) = mac 0x3d6d0; - void incrementStat(char const*, int) = mac 0x3d6e0, win 0xf3460; - static GameStatsManager* sharedState() = mac 0x38f20, win 0xf1e50; - void storePendingUserCoin(char const*) = mac 0x42940; - void storeSecretCoin(char const*) = mac 0x42a10; - void storeUserCoin(char const*) = mac 0x42890; - bool isItemUnlocked(UnlockType type, int id) = win 0xfbb80; - void checkAchievement(char const* type) = win 0xf37c0; - - PAD = mac 0x50, win 0x28, android 0x24; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - PAD = mac 0x18, win 0xc, android 0xc; - cocos2d::CCDictionary* m_playerStats; - PAD = mac 0x50, win 0x10, android 0x34; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; -} - -[[link(android)]] -class GameToolbox { - static gd::string stringFromHSV(cocos2d::ccHSVValue hsv, const char* separator) = mac 0x28cf90; - static cocos2d::ccHSVValue hsvFromString(gd::string str, char const* separator) = mac 0x28cc30, win 0x26da0; - static cocos2d::CCDictionary* stringSetupToDict(gd::string text, char const* delimeter) = mac 0x28d700, win 0x272a0; - static CCMenuItemToggler* createToggleButton(gd::string text, cocos2d::SEL_MenuHandler onToggled, bool isToggled, cocos2d::CCMenu* toggleMenu, cocos2d::CCPoint position, cocos2d::CCNode* callbackTarget, cocos2d::CCNode* labelParent, cocos2d::CCArray* toggleArray) = mac 0x28bc90, win 0x25fe0; - static CCMenuItemToggler* createToggleButton(gd::string text, cocos2d::SEL_MenuHandler onToggled, bool isToggled, cocos2d::CCMenu* toggleMenu, cocos2d::CCPoint position, cocos2d::CCNode* callbackTarget, cocos2d::CCNode* labelParent, float checkboxScale, float labelSize, float maxWidth, cocos2d::CCPoint labelOffset, const char* unknown, bool anchorHorizontally, int toggleTag, cocos2d::CCArray* toggleArray) = mac 0x28bdd0, win 0x25fe0; - static cocos2d::ccColor3B transformColor(cocos2d::ccColor3B const& src, cocos2d::ccHSVValue hsv) = win 0x26a60, mac 0x28c950; - static void alignItemsHorisontally(cocos2d::CCArray* array, float pad, cocos2d::CCPoint start, bool idk) = win 0x25b20; - static gd::map stringSetupToMap(gd::string, char const*) = mac 0x28d4c0; - static cocos2d::ccColor3B multipliedColorValue(cocos2d::ccColor3B color1, cocos2d::ccColor3B color2, float factor) = win 0x26CE0; -} - -[[link(android)]] -class GaragePage : cocos2d::CCLayer, ListButtonBarDelegate { - static GaragePage* create(IconType type, GJGarageLayer* pGarage, cocos2d::SEL_MenuHandler pSelectCallback) { - auto pRet = new GaragePage(); - - if (pRet && pRet->init(type, pGarage, pSelectCallback)) { - pRet->autorelease(); - return pRet; - } - - CC_SAFE_DELETE(pRet); - return nullptr; - } - - virtual void listButtonBarSwitchedPage(ListButtonBar* bar, int idk) = win 0x12bb40; - inline GaragePage() {} - bool init(IconType type, GJGarageLayer* pGarage, cocos2d::SEL_MenuHandler pSelectCallback) = mac 0x1bb710, win 0x12af70, ios 0x225d5c; - - GJGarageLayer* m_garage; - cocos2d::SEL_MenuHandler m_handler; - cocos2d::CCSprite* m_selectSprite; - CCMenuItemSpriteExtra* m_unkNode0x12c; - IconType m_type; - int m_unknown; - PAD = win 0x4; -} - -[[link(android)]] -class GauntletSelectLayer { - static GauntletSelectLayer* create(int) = win 0x105120; -} - -[[link(android)]] -class GhostTrailEffect {} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - bool init(cocos2d::_ccHSVValue value, HSVWidgetPopupDelegate* delegate, gd::string title) = win 0x49f10, mac 0x236d30; - void onClose(cocos2d::CCObject* sender) = win 0x4a280; - - ConfigureHSVWidget* m_configureWidget; - HSVWidgetPopupDelegate* m_delegate; -} - -[[link(android)]] -class HSVWidgetPopupDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup* popup, cocos2d::ccHSVValue value) {} -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - // ~HardStreak() = mac 0x5bf00; inlined on windows - virtual bool init() = mac 0x5c090, win 0x14e430; - void addPoint(cocos2d::CCPoint) = mac 0x5c950, win 0x14ebc0; - void clearBehindXPos(float) = mac 0x5cb40, win 0x14ec00; - static HardStreak* create() = mac 0x5bfd0, win 0x14e390; - void firstSetup() = mac 0x5c160, win 0x14e490; - double normalizeAngle(double) = mac 0x5cbe0; - cocos2d::CCPoint quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float) = mac 0x5c990; - void reset() = mac 0x5c930; - void resumeStroke() = mac 0x5c210; - void stopStroke() = mac 0x5c8f0, win 0x14e460; - callback void updateStroke(float) = mac 0x5c240, win 0x14e530; - - cocos2d::CCArray* m_pointsArr; - cocos2d::CCPoint m_currentPoint; - float m_waveSize; - float m_pulseSize; - bool m_isSolid; -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - bool init(gd::string title, gd::string text, float scale) = win 0x14ef50; - virtual void activate() = win 0x14f050; - inline InfoAlertButton() {} - static InfoAlertButton* create(gd::string title, gd::string text, float scale) = win 0x14ed20, mac 0x2ecad0; -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - bool init(GJGameLevel* level, GJUserScore* score) = mac 0x456850, win 0x14f5a0; - void setupCommentsBrowser(cocos2d::CCArray* comments) = mac 0x458590, win 0x152270; - void onMore(cocos2d::CCObject* sender) = mac 0x459400, win 0x151500; - void onLevelInfo(cocos2d::CCObject* sender) = mac 0x459400, win 0x151850; - void loadPage(int page, bool) = mac 0x458FB0, win 0x151e70; - static InfoLayer* create(GJGameLevel* level, GJUserScore* score) = mac 0x456600, win 0x14f4f0; - - GJGameLevel* m_level; - GJUserScore* m_score; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_commentsGoldLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - bool m_commentHistory; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject {} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - void onClose(cocos2d::CCObject* sender) = win 0x49c60; - void onPrevPage(cocos2d::CCObject* sender) = win 0x153cd0; - void onNextPage(cocos2d::CCObject* sender) = win 0x153cc0; - void goToPage(int page) = win 0x153ce0; - - int m_currentPage; - int m_itemCount; - int m_pageCount; - cocos2d::CCDictionary* m_pages; - cocos2d::CCDictionary* m_unused; - cocos2d::CCNode* m_leftArrow; - cocos2d::CCNode* m_rightArrow; -} - -[[link(android)]] -class LabelGameObject : GameObject { - virtual bool init() = mac 0x2f5520, win 0x25b7c0; - void setObjectColor(cocos2d::_ccColor3B const&) = mac 0xdbca0; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished() {} - virtual void updateUserScoreFailed() {} - virtual void loadLeaderboardFinished(cocos2d::CCArray*, const char*) {} - virtual void loadLeaderboardFailed(const char*) {} -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer { - static LeaderboardsLayer* create(LeaderboardState state) = mac 0x29F590, win 0x158710; - bool init(LeaderboardState state) = mac 0x29f6d0, win 0x1587b0; -} - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayer, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate { - static cocos2d::CCScene* scene(GJSearchObject* search) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LevelBrowserLayer::create(search)); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - - bool init(GJSearchObject* search) = mac 0x2513f0, win 0x15a040; - void loadPage(GJSearchObject* search) = mac 0x253650, win 0x15b160; - void setupLevelBrowser(cocos2d::CCArray* levels) = win 0x15bb40; - virtual void setupPageInfo(gd::string, char const*) = mac 0x255050, win 0x15C1C0; - void updateLevelsLabel() = mac 0x255450, win 0x15c350; - void onRefresh(cocos2d::CCObject* sender) = mac 0x253090; - void onInfo(cocos2d::CCObject* sender) = mac 0x253170, win 0x15cb00; - void onNew(cocos2d::CCObject* sender) = win 0x15cbf0, mac 0x252ac0; - static LevelBrowserLayer* create(GJSearchObject* search) = mac 0x251210, win 0x159fa0, ios 0x2d0a00; - - void* m_unk; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - void* m_unk4; - cocos2d::CCArray* m_array; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; -} - -[[link(android)]] -class LevelCell : TableViewCell { - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - - void onViewProfile(cocos2d::CCObject*) = mac 0x11a4a0, win 0x5c790; - void loadCustomLevelCell() = mac 0x1183b0, win 0x5a020; - void updateBGColor(int index) = mac 0x110460, win 0x5c6b0; - void loadFromLevel(GJGameLevel* level) = mac 0x110410, win 0x59FD0; - inline LevelCell(char const* identifier, float parentHeight, float height) : TableViewCell(identifier, parentHeight, height) {} -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadCommentsFailed(char const*) {} - virtual void updateUserScoreFinished() {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int) {} - virtual void levelDeleteFailed(int) {} -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*) {} - virtual void levelDownloadFailed(int) {} -} - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - static LevelEditorLayer* get() { - return GameManager::sharedState()->m_levelEditorLayer; - } - static cocos2d::CCScene* scene(GJGameLevel* level) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LevelEditorLayer::create(level)); - scene->setObjType(cocos2d::CCObjectType::LevelEditorLayer); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - - inline LevelEditorLayer() {} - - ~LevelEditorLayer() = mac 0x90a00, win 0x15e8d0; - virtual void update(float) = mac 0xa1b70, win 0x16a660; - virtual void draw() = mac 0xa2a70, win 0x16b7c0; - virtual void updateColor(cocos2d::_ccColor3B, float, int, bool, float, cocos2d::_ccHSVValue, int, bool, int, EffectGameObject*) = mac 0x9c200, win 0x1664a0; - virtual void flipGravity(PlayerObject*, bool, bool) = mac 0xa04e0, win 0x1691d0; - virtual void calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*) = mac 0x9c590, win 0x166f90; - virtual void addToGroup(GameObject*, int, bool) = mac 0x9dab0, win 0x167310; - virtual void removeFromGroup(GameObject*, int) = mac 0x9db60, win 0x1673a0; - virtual float timeForXPos(float) = mac 0x9c7d0, win 0x167210; - virtual void xPosForTime(float) = mac 0x9c800, win 0x167250; - virtual void levelSettingsUpdated() = mac 0x93f30, win 0x1606c0; - static LevelEditorLayer* create(GJGameLevel* level) = mac 0x90fb0, win 0x15ed60, ios 0x261628; - void activateTriggerEffect(EffectGameObject*, float, float, float) = mac 0x9b520, win 0x165ec0; - GameObject* addObjectFromString(gd::string) = mac 0x94640, win 0x160c80; - void addSpecial(GameObject*) = mac 0x94f30, win 0x162650; - void addToRedoList(UndoObject*) = mac 0x96f80; - void addToUndoList(UndoObject*, bool) = mac 0x94e20, win 0x162410; - void animateInDualGround(GameObject*, float, bool) = mac 0xa2780, win 0x16b4b0; - void assignNewStickyGroups(cocos2d::CCArray*) = mac 0x99fa0, win 0x1649f0; - bool checkCollisions(PlayerObject*, float) = mac 0x9e620, win 0x167F10; - void createBackground() = mac 0x929f0, win 0x160510; - void createGroundLayer() = mac 0x92840, win 0x160260; - GameObject* createObject(int, cocos2d::CCPoint, bool) = mac 0x957c0, win 0x160d70; - void createObjectsFromSetup(gd::string) = mac 0x92230, win 0x160720; - cocos2d::CCArray* createObjectsFromString(gd::string, bool) = mac 0x94730, win 0x160980; - void getLastObjectX() = mac 0x9c860, win 0x167290; - gd::string getLevelString() = mac 0x97790, win 0x162480; - int getNextColorChannel() = mac 0x9a610, win 0x164e10; - void getNextFreeBlockID(cocos2d::CCArray*) = mac 0x9a4e0; - int getNextFreeGroupID(cocos2d::CCArray*) = mac 0x9a1b0, win 0x164ae0; - void getNextFreeItemID(cocos2d::CCArray*) = mac 0x9a390; - cocos2d::CCRect getObjectRect(GameObject* obj, bool updateRect) = mac 0x96240, win 0x1616b0; - void getRelativeOffset(GameObject*) = mac 0x96840; - bool hasAction(bool) = mac 0x96ff0; - void handleAction(bool, cocos2d::CCArray*) = mac 0x97020, win 0x162010; - bool init(GJGameLevel*) = mac 0x91010, win 0x15EE00; - GameObject* objectAtPosition(cocos2d::CCPoint position) = mac 0x960c0, win 0x161300; - cocos2d::CCArray* objectsAtPosition(cocos2d::CCPoint position) = mac 0x96690, win 0x1614d0; - void objectMoved(GameObject*) = mac 0x999f0, win 0x162d40; - cocos2d::CCArray* objectsInRect(cocos2d::CCRect rect, bool ignoreLayer) = mac 0x95e60, win 0x161ad0; - void onPlaytest() = mac 0xa06b0, win 0x1695A0; - void onResumePlaytest() = mac 0xa15e0, win 0x169D90; - void onPausePlaytest() = mac 0xa1570, win 0x169CC0; - void onStopPlaytest() = mac 0xa1780, win 0x169F10; - void playMusic() = mac 0xa13c0, win 0x169b00; - void recreateGroups() = mac 0x9dbf0, win 0x167450; - void redoLastAction() = mac 0x97750; - void removeAllObjects() = mac 0x93d80, win 0x161d60; - void removeAllObjectsOfType(int) = mac 0x96d40; - void removeObject(GameObject*, bool) = mac 0x96890, win 0x161cb0; - void removeSpecial(GameObject*) = mac 0x969c0, win 0x162ff0; - void resetMovingObjects() = mac 0x9ddc0, win 0x167690; - void resetObjectVector() = mac 0x9c4b0; - void resetToggledGroups() = mac 0x9aa70; - void resetToggledGroupsAndObjects() = mac 0x9c3c0, win 0x166b80; - void resetEffectTriggerOptim(GameObject* obj, cocos2d::CCArray* objs) = mac 0x9e5b0, win 0x167e00; - void resetUnusedColorChannels() = mac 0x9a870; - void rotationForSlopeNearObject(GameObject*) = mac 0x95cd0, win 0x161130; - void runColorEffect(EffectGameObject*, int, float, float, bool) = mac 0x9bd30; - void setupLevelStart(LevelSettingsObject*) = mac 0xa0ca0, win 0x16a1d0; - void sortStickyGroups() = mac 0x92b10; - void stopTriggersInGroup(int, float) = mac 0x9c030; - void toggleDualMode(GameObject*, bool, PlayerObject*, bool) = mac 0xa0200, win 0x16b170; - void toggleGroupPreview(int, bool) = mac 0x9bea0, win 0x166950; - void transferDefaultColors(GJEffectManager*, GJEffectManager*) = mac 0x9ab50, win 0x165570; - void undoLastAction() = mac 0x97770; - void updateBGAndGColors() = mac 0x9b9b0, win 0x166d10; - void updateBlendValues() = mac 0x9bc60, win 0x166c10; - void updateDualGround(PlayerObject*, int, bool) = mac 0xa1a60, win 0x16b390; - void updateEditorMode() = mac 0x93b50, win 0x1652b0; - void updateGameObjectsNew() = mac 0x9adc0, win 0x1659a0; - void updateGround(float) = mac 0x93a60; - void updateGroundWidth() { - m_groundLayer->updateGroundWidth(); - if (m_previewMode) { - this->updateLevelColors(); - } - } - void updateLevelFont(int) = mac 0x9df00, win 0x1677a0; - void updateLevelColors() { - // literally empty - } - void updateOptions() = mac 0x91ed0, win 0x15fcc0; - void updateToggledGroups() = mac 0x9bb10; - callback void updateVisibility(float delta) = mac 0x92c70, win 0x1632b0; - - void groupStickyObjects(cocos2d::CCArray* objects) = mac 0x99dd0, win 0x164860; - void ungroupStickyObjects(cocos2d::CCArray* objects) = mac 0x99ee0, win 0x164950; - - void copyObjectState(GameObject* target) = win 0x16b600; - // sic - void pasteAtributeState(GameObject* target, cocos2d::CCArray* targets) = mac 0xa29e0, win 0x16b740; - void pasteColorState(GameObject* target, cocos2d::CCArray* targets) = mac 0xa2950, win 0x16b6c0; - - void setStartPosObject(StartPosObject* obj) { - CC_SAFE_RETAIN(obj); - CC_SAFE_RELEASE(m_currentStartPos); - m_currentStartPos = obj; - } - - bool m_ignoreDamage; - bool m_followPlayer; - bool m_drawTriggerBoxes; - bool m_debugDraw; - bool m_gridEnabled; - bool m_hideGridOnPlay; - bool m_effectLines; - bool m_showGround; - bool m_durationLines; - bool m_moreUndo; - bool m_hideBackground; - bool m_smoothFixInEditor; // not entirely sure. used in onPlaytest - bool m_highDetail; - cocos2d::CCArray* m_touchTriggeredGroups; - cocos2d::CCArray* m_triggeredGroups; - cocos2d::CCDictionary* m_stickyGroups; - int m_stickyGroupID; - cocos2d::CCArray* m_unkObjectArr; - cocos2d::CCArray* m_pulseTriggers; - cocos2d::CCArray* m_colourObjects; - cocos2d::CCArray* m_alphaTriggers; - cocos2d::CCArray* m_spawnTriggers; - cocos2d::CCArray* m_moveTriggers; - cocos2d::CCDictionary* m_unkDict5; - cocos2d::CCArray* m_enabledGroups; - GameObject* m_copyStateObject; - cocos2d::CCDictionary* m_unkDict6; - cocos2d::CCArray* m_unkArray12; - bool field_14; - bool field_31D; - geode::SeedValueRSV m_coinCount; - bool m_moveTrigger; - bool m_colorTrigger; - bool m_pulseTrigger; - bool m_alphaTrigger; - bool m_spawnTrigger; - cocos2d::CCArray* m_toggleTriggersMaybe; - bool m_unkArr2Obj; - cocos2d::CCArray* m_delayedSpawnArray2; - bool m_delaySpawnNode; - cocos2d::CCDictionary* m_unkDict3; - cocos2d::CCDictionary* m_unkDict4; - bool m_editorInitialising; - bool field_34D; - float m_timeMod; - int m_currentLayer; - StartPosObject* m_currentStartPos; - float m_prevObjLayerScale; - OBB2D* m_OBB2D; - cocos2d::CCSprite* m_crossSprite; - cocos2d::CCPoint m_unkPoint2; - float m_unkFloat1; - bool m_isDualMode; - bool m_unkRectBool; - GameObject* m_currentPortal; - GameObject* m_portal; - EditorUI* m_editorUI; // 0x5d8 on macos!! - cocos2d::CCSprite* m_backgroundLayer; - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; - cocos2d::CCPoint m_unkPoint1; - geode::SeedValueRSV m_objectCount; - DrawGridLayer* m_drawGridLayer; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - cocos2d::CCPoint m_groundTopMaybe; - float m_time; - cocos2d::CCDictionary* m_enabledGroupsDict; - bool m_3d; - bool m_previewMode; - GJGroundLayer* m_groundLayer; - std::string m_rawLevelString; - void* m_triggerHitbox; // why are these std vector bruh - std::vector m_objectVector; - std::vector m_groupVector; - std::vector m_nestedObjects; - cocos2d::CCDictionary* m_triggerGroupsDict; - std::vector m_triggerGroupsVector; - bool m_toggleGroupsMaybe; - std::vector m_unkVector3; // everything set to false in playback mode - std::vector m_disabledGroupVector; - std::vector m_blendObjectsVector; - std::vector m_blendColorVector; - std::vector m_toggledGroupsVector; - std::vector m_previewGroupsVector; - double m_unkDouble1; - cocos2d::CCArray* m_delayedSpawnArray1; - bool m_removingObjects; -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate { - static LevelInfoLayer* create(GJGameLevel* level) = mac 0x15f290, win 0x175d50; - bool init(GJGameLevel* level) = win 0x175df0, mac 0x15f520; - void onGarage(cocos2d::CCObject* sender) = win 0x177c10, mac 0x163ac0; - void onViewProfile(cocos2d::CCObject* sender) = mac 0x1617d0, win 0x17ac90; - void onLevelInfo(cocos2d::CCObject* sender) = mac 0x163880, win 0x17acf0; - void setupProgressBars() = win 0x177fc0, mac 0x1627e0; - void setupLevelInfo() = mac 0x161C80, win 0x178680; - void downloadLevel() = win 0x177d90, mac 0x161b90; - void onPlay(cocos2d::CCObject* sender) = mac 0x161840, win 0x179730; - void onBack(cocos2d::CCObject* sender) = mac 0x163810, win 0x17C110; - void onDelete(cocos2d::CCObject* sender) = mac 0x162f30, win 0x17a1b0; - - virtual void levelDownloadFinished(GJGameLevel*) = mac 0x164C00, win 0x1790C0; - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) = mac 0x164E60, win 0x1792B0; - virtual void keyBackClicked() = win 0x17C1D0; - - void showUpdateAlert(UpdateResponse) = mac 0x164ED0, win 0x179300; - void updateLabelValues() = mac 0x164090, win 0x17b170; - void onRate(cocos2d::CCObject* sender) = win 0x17a530; - - void* m_unk1; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_unknown; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - CCMenuItemToggler* m_ldmToggler; - cocos2d::CCLabelBMFont* m_ldmLabel; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; -} - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate { - void onChangeType(cocos2d::CCObject* sender) = mac 0x20e310, win 0x17d090; - void onUpdate(cocos2d::CCObject* sender) = mac 0x20e240, win 0x17d1b0; - bool init(GJGameLevel* level, LevelLeaderboardType type) = mac 0x20d710, win 0x17c4f0; - static LevelLeaderboard* create(GJGameLevel* level, LevelLeaderboardType leaderboardType) = mac 0x20D550, win 0x17c440; - void onClose(cocos2d::CCObject*) = mac 0x20e210, win 0x49C60; - - GJGameLevel* m_level; - LevelLeaderboardType m_type; -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray *,char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void setupPageInfo(gd::string,char const*) {} -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - void* m_unk; - GJGameLevel* m_level; - - void onInfo(cocos2d::CCObject* sender) = mac 0x23AAE0, win 0x189070; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer { - static LevelSearchLayer* create() = win 0x17d9c0; - virtual bool init() = mac 0x384770, win 0x17da60; - GJSearchObject* getSearchObject(SearchType, gd::string) = mac 0x388a50, win 0x1805f0; - void onMoreOptions(cocos2d::CCObject*) = win 0x17f500; - void onSearch(cocos2d::CCObject*) = mac 0x386a70, win 0x180fc0; - - PAD = mac 0x18, win 0xC; - CCTextInputNode* m_searchInput; - -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer { - static LevelSelectLayer* create(int lvl) = win 0x185500; - bool init(int lvl) = win 0x1855a0, mac 0x2384e0; - - PAD = win 0x10; - BoomScrollLayer* m_scrollLayer; -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated() {} -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - static SearchButton* create(char const* background, char const* text, float scale, char const* icon) = win 0x182120, mac 0x3869A0; - bool init(char const* background, char const* text, float scale, char const* icon) = win 0x182210, mac 0x389290; - - cocos2d::CCLabelBMFont* m_text; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - static SecretLayer2* create() = win 0x21FD70; - - bool init() = win 0x21FE10, mac 0x25fe70; - bool onSubmit(cocos2d::CCObject*) = win 0x221ac0, mac 0x2611a0; - void updateSearchLabel(const char* text) = win 0x222FC0, mac 0x260e10; - void showCompletedLevel() = win 0x220C10; -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - static SecretLayer4* create() = mac 0x1ed500; - static cocos2d::CCScene* scene() = mac 0x1ed4c0; - - bool init() = mac 0x1ed640; - void showDialog(int message) = mac 0x1effd0; -} - -[[link(android)]] -class SelectArtDelegate { - virtual void selectArtClosed(SelectArtLayer*) {} -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual void customSongLayerClosed() {} -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate { - static LevelSettingsLayer* create(LevelSettingsObject* levelSettings, LevelEditorLayer* editor) = win 0x170d90; - bool init(LevelSettingsObject* levelSettings, LevelEditorLayer* editor) = mac 0xa7e00, win 0x170e50; - void onClose(cocos2d::CCObject* sender) = mac 0xab8e0, win 0x173ec0; - int m_songIndex; - Speed m_speed; - ColorChannelSprite* m_backgroundChannelSprite; - ColorChannelSprite* m_ground1ChannelSprite; - ColorChannelSprite* m_ground2ChannelSprite; - ColorChannelSprite* m_lineChannelSprite; - ColorChannelSprite* m_objectChannelSprite; - ColorChannelSprite* m_3DChannelSprite; - cocos2d::CCSprite* m_colourBtnSprite; - cocos2d::CCSprite* m_backgroundSprite; - cocos2d::CCSprite* m_groundSprite; - LevelSettingsObject* m_settingsObject; - cocos2d::CCLabelBMFont* m_mainSongLabel; - cocos2d::CCArray* m_gameModeArray; - cocos2d::CCArray* m_speedArray; - LevelSettingsDelegate* m_levelSettingsDelegate; - LevelEditorLayer* m_editorLayer; - cocos2d::CCArray* m_mainSongArray; - cocos2d::CCArray* m_btnArray; - CCMenuItemSpriteExtra* m_mainSongBtn; - CCMenuItemSpriteExtra* m_customSongBtn; - CCMenuItemSpriteExtra* m_selectCustomSongBtn; - CCMenuItemSpriteExtra* m_changeSongBtn; - CustomSongWidget* m_customSongWidget; -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - virtual ~LevelSettingsObject() = mac 0xa5650, win 0x16e800; - virtual bool init() = mac 0xa5690, win 0x16e940; - static LevelSettingsObject* create() = mac 0x92760, win 0x16e8a0; - static LevelSettingsObject* objectFromDict(cocos2d::CCDictionary*) = mac 0xa5810, win 0x16f4d0; - static LevelSettingsObject* objectFromString(gd::string) = mac 0x945a0, win 0x16f440; - void setupColorsFromLegacyMode(cocos2d::CCDictionary*) = mac 0xa6a30, win 0x170050; - - static LevelSettingsObject* get() { - auto baseLayer = GJBaseGameLayer::get(); - if (baseLayer) return baseLayer->m_levelSettings; - return nullptr; - } - - gd::string getSaveString() = mac 0x979c0, win 0x16ebf0; - - GJEffectManager* m_effectManager; - // TODO: make enums for these - int m_startMode; - Speed m_startSpeed; - bool m_startMini; - bool m_startDual; - bool m_twoPlayerMode; - float m_songOffset; - bool m_fadeIn; - bool m_fadeOut; - int m_backgroundIndex; - int m_groundIndex; - int m_fontIndex; - bool m_startsWithStartPos; - bool m_isFlipped; - GJGameLevel* m_level; - gd::string m_guidelineString; - int m_defaultSongID; - int m_colorPage; - int m_groundLineIndex; -} - -[[link(android)]] -class LevelUploadDelegate {} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) {} - virtual void levelUpdateFailed(int) {} -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; - - static LikeItemLayer* create(LikeItemType type, int itemID, int commentSourceID) = mac 0x35f760, win 0x18B940; - bool init(LikeItemType type, int itemID, int commentSourceID) = mac 0x35f900; -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - BoomScrollLayer* m_scrollLayer; - void goToPage(int page) = win 0x29c50; -} - -[[link(android)]] -class ListButtonBarDelegate {} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - void setFade(bool fade) { - m_fade = fade; - } - - static LoadingCircle* create() = mac 0x277d50, win 0x2a0d0; - void show() = mac 0x277fd0, win 0x2a290; - void fadeAndRemove() = mac 0x2780d0, win 0x2a370; - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - void setFromRefresh(bool value) { - m_fromRefresh = value; - } - - LoadingLayer() {} - static LoadingLayer* create(bool fromReload) = mac 0x1df1f0, win 0x18bfe0, ios 0x130278; - bool init(bool fromReload) = mac 0x1df2f0, win 0x18c080; - const char* getLoadingString() = win 0x18cf40; - void loadAssets() = mac 0x1dfb20, win 0x18c8e0, ios 0x130278; - void loadingFinished() = win 0x18c790; - - static cocos2d::CCScene* scene(bool fromReload) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LoadingLayer::create(fromReload)); - - return scene; - } - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager : GManager { - static LocalLevelManager* sharedState() = mac 0x35dd60, win 0x18d260; - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - bool init() = mac 0x2384e0; - virtual void encodeDataTo(DS_Dictionary* data) = mac 0x35ed60, win 0x18e040; - virtual void dataLoaded(DS_Dictionary* data) = mac 0x35eda0, win 0x18e070; - - cocos2d::CCDictionary* getAllLevelsInDict() = mac 0x35e3d0, win 0x18d7c0; - - cocos2d::CCDictionary* m_loadData; - cocos2d::CCDictionary* m_levelData; - cocos2d::CCArray* m_localLevels; -} - -[[link(android)]] -class MapPackCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; - void loadFromMapPack(GJMapPack *) = win 0x5cac0; -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - void resetPlayer() = mac 0x28fdc0, win 0x18f4b0; - void destroyPlayer() = win 0x190100; - virtual void update(float) = mac 0x28fa70, win 0x18f190; - virtual bool init() = win 0x18e770; - void updateColors() = win 0x18edd0; -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - inline MenuLayer() {} - virtual ~MenuLayer() = mac 0x1d1230, win 0x190620; - virtual bool init() = mac 0x1d14b0, win 0x1907b0; - virtual void keyBackClicked() = mac 0x1d3160, win 0x191f90; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x1d33d0, win 0x1922c0; - virtual void googlePlaySignedIn() = mac 0x1d2f30, win 0x191b20; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x1d3190, win 0x192150; - void onMoreGames(cocos2d::CCObject*) = mac 0x1d2ad0, win 0x1919c0, ios 0x19fbb4; - void onGarage(cocos2d::CCObject*) = win 0x191dc0; - void onQuit(cocos2d::CCObject*) = mac 0x1d2b40, win 0x191fa0; - void onMyProfile(cocos2d::CCObject*) = mac 0x1d2c20, win 0x1e0950; - void onPlay(cocos2d::CCObject*) = win 0x191b50; - void onCreator(cocos2d::CCObject*) = win 0x191cd0; - void onRobTop(cocos2d::CCObject*) = win 0x191940; - void onNewgrounds(cocos2d::CCObject*) = win 0x191e90; - void onDaily(cocos2d::CCObject*) = win 0x1916e0; - void onOptions(cocos2d::CCObject*) = win 0x191c30; - void onAchievements(cocos2d::CCObject*) = win 0x191af0; - void onStats(cocos2d::CCObject*) = win 0x191ca0; - void onFacebook(cocos2d::CCObject*) = win 0x191960; - void onTwitter(cocos2d::CCObject*) = win 0x191980; - void onYouTube(cocos2d::CCObject*) = win 0x1919A0; - void endGame(); - static cocos2d::CCScene* scene(bool) = mac 0x1d12d0, win 0x190720, ios 0x19e57c; - - cocos2d::CCSprite* m_googlePlaySprite; - cocos2d::CCSprite* m_viewProfileInfoText; - cocos2d::CCLabelBMFont* m_playerNameLabel; - CCMenuItemSpriteExtra* m_profileBtn; -} - -[[link(android)]] -class MessageListDelegate {} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - static MoreSearchLayer* create() = mac 0x388180, win 0x182520; - virtual bool init() = mac 0x3896b0, win 0x1825c0; - void onClose(cocos2d::CCObject*) = mac 0x38aa40, win 0x1848f0; - void onSongMode(cocos2d::CCObject*) = mac 0x38b030, win 0x1842d0; - void onSongFilter(cocos2d::CCObject*) = mac 0x38aea0, win 0x183e30; - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; - -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate { - static MoreOptionsLayer* create() = win 0x1de850; - virtual bool init() = mac 0x43f470, win 0x1DE8F0; - void addToggle(const char* name, const char* key, const char* info) = mac 0x440430, win 0x1df6b0; - void onKeybindings(cocos2d::CCObject* sender) = mac 0x4410e0, win 0x749d0; - void onToggle(cocos2d::CCObject* sender) = mac 0x441370; -} - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer { - static MoreVideoOptionsLayer* create() = mac 0x443c10, win 0x1e24f0; - virtual bool init() = mac 0x444150, win 0x1e2590; - void onClose(cocos2d::CCObject*) = mac 0x444aa0; -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite {} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void downloadSongFailed(int, GJSongError) {} - virtual void downloadSongFinished(SongInfoObject*) {} - virtual void loadSongInfoFailed(int, GJSongError) {} - virtual void loadSongInfoFinished(SongInfoObject*) {} - virtual void songStateChanged() {} -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - void incrementPriorityForSong(int) = mac 0x2ef750; - static MusicDownloadManager* sharedState() = mac 0x2ee4c0, win 0x1945b0; - gd::string pathForSong(int id) = mac 0x2f1140, win 0x1960e0; - cocos2d::CCArray* getDownloadedSongs() = win 0x195640; - void songStateChanged() = win 0x194d90; - void onGetSongInfoCompleted(gd::string, gd::string) = mac 0x2eec60; - bool isSongDownloaded(int songID) = mac 0x2F0E10, win 0x195FF0; - - cocos2d::CCDictionary* m_unknownDict; - cocos2d::CCArray* m_handlers; - cocos2d::CCDictionary* m_songsDict; - int m_priority; -} - -[[link(android)]] -class NumberInputDelegate { - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class NumberInputLayer {} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - void calculateWithCenter(cocos2d::CCPoint, float, float, float) = mac 0x35a9c0, win 0x2bc10; - static OBB2D* create(cocos2d::CCPoint, float, float, float) = mac 0x35a890, win 0x2ba80; - cocos2d::CCRect getBoundingRect() = mac 0x35b2b0, win 0x2c140; - void overlaps(OBB2D*) = mac 0x35b0a0; - void overlaps1Way(OBB2D*) = mac 0x35b0d0, win 0x2c020; - - cocos2d::CCPoint m_p1_1; - cocos2d::CCPoint m_p1_2; - cocos2d::CCPoint m_p1_3; - cocos2d::CCPoint m_p1_4; - cocos2d::CCPoint m_p2_1; - cocos2d::CCPoint m_p2_2; - cocos2d::CCPoint m_p2_3; - cocos2d::CCPoint m_p2_4; - cocos2d::CCPoint m_p3_1; - cocos2d::CCPoint m_p3_2; - cocos2d::CCPoint m_p3_3; - cocos2d::CCPoint m_p3_4; - double m_rot1; - double m_rot2; - cocos2d::CCPoint m_center; -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - static ObjectManager* instance() = win 0x2c2c0; - void setup() = win 0x2c3b0; -} - -[[link(android)]] -class KeysLayer : cocos2d::CCLayer { - virtual bool init() = win 0x154560; -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - cocos2d::CCArray* allKeys() { - return m_frameToKeyDict->allKeys(); - } - const char* frameToKey(const char* frame) { - return static_cast(m_frameToKeyDict->objectForKey(frame))->getCString(); - } - const char* intKeyToFrame(int key) { - return static_cast(m_keyToFrameDict->objectForKey(key))->getCString(); - } - const char* keyToFrame(const char* key) { - return intKeyToFrame(atoi(key)); - } - void addObject(int id, const char* frame) { - m_frameToKeyDict->setObject(cocos2d::CCString::createWithFormat("%i", id), frame); - m_keyToFrameDict->setObject(cocos2d::CCString::create(frame), id); - } - - virtual bool init() = mac 0x3b2d80, win 0x198b20; - static ObjectToolbox* sharedState() = mac 0x3b2bc0, win 0x198a80; - float gridNodeSizeForKey(int key) = win 0x1dc920; - const char* perspectiveBlockFrame(int key) = win 0x1dcd00; - - cocos2d::CCDictionary* m_frameToKeyDict; - cocos2d::CCDictionary* m_keyToFrameDict; -} - -[[link(android)]] -class OpacityEffectAction : cocos2d::CCNode { - static OpacityEffectAction* create(float, float, float, int) = mac 0x1789f0; - static OpacityEffectAction* createFromString(gd::string) = mac 0x178c10; - bool init(float, float, float, int) = mac 0x178b00; - void step(float) = mac 0x178b90; - - float m_time; - float m_beginOpacity; - float m_endOpacity; - bool m_finished; - float m_elapsed; - int m_group; - float m_opacity; - int m_uuid; - float m_delta; -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, const char*) {} - virtual void loadListFailed(const char*) {} - virtual void setupPageInfo(gd::string, const char*) {} -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - static OptionsLayer* addToCurrentScene(bool noTransition) { - auto layer = OptionsLayer::create(); - cocos2d::CCDirector::sharedDirector()->getRunningScene()->addChild(layer); - layer->showLayer(noTransition); - return layer; - } - - static OptionsLayer* create() = mac 0x43db60, win 0x1dd310, ios 0x86314; - - virtual void customSetup() = mac 0x43dc70, win 0x1dd420; - virtual void layerHidden() = mac 0x43f200, win 0x1de6d0; - - cocos2d::CCMenu* m_optionsMenu; -} - -[[link(android)]] -class PauseLayer : CCBlockLayer { - static PauseLayer* create(bool) = mac 0x20b1e0, win 0x1e4570; - void onEdit(cocos2d::CCObject*) = mac 0x20c630, win 0x1e60e0; - void goEdit() = mac 0x20cc10, win 0x1e62f0; - - void onQuit(cocos2d::CCObject*) = mac 0x20c790, win 0x1e63d0; - void createToggleButton(gd::string caption, cocos2d::SEL_MenuHandler callback, bool on, cocos2d::CCMenu* menu, cocos2d::CCPoint pos) = mac 0x20c890, win 0x1e5570; - virtual void customSetup() = mac 0x20b300, win 0x1e4620; - - void onRestart(cocos2d::CCObject* sender) = mac 0x20c860, win 0x1e6040; - void onPracticeMode(cocos2d::CCObject* sender) = mac 0x20c6d0, win 0x1e5f30; - void onNormalMode(cocos2d::CCObject* sender) = mac 0x20c720, win 0x1e5f60; - void onResume(cocos2d::CCObject* sender) = mac 0x20c760, win 0x1e5fa0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x20cc80, win 0x1E6580; - - void musicSliderChanged(cocos2d::CCObject* sender) = win 0x1e5ce0, mac 0x20cb00; - void sfxSliderChanged(cocos2d::CCObject* sender) = win 0x1ddfa0, mac 0x20cb40; - - bool m_unknown; - bool m_unknown2; -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual void downloadFinished(char const*) {} - virtual void downloadFailed(char const*) {} -} - -class PlatformToolbox { - static void hideCursor() = mac 0x27c340; - static void showCursor() = mac 0x27c360; - static bool isControllerConnected() { - #ifdef GEODE_IS_WINDOWS - return cocos2d::CCApplication::sharedApplication()->getControllerConnected(); - #elif defined(GEODE_IS_MACOS) - // this is just gd.h - return reinterpret_cast(geode::base::get() + 0x27d1b0)(); - #else - return false; - #endif - } - static void toggleFullScreen(bool fullscreen) = mac 0x27cf90; - static void resizeWindow() = mac 0x27cfe0; -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - static PlayLayer* get() { - return GameManager::sharedState()->getPlayLayer(); - } - - PlayLayer() = mac 0x80e20, win 0x1faa90; - - void addCircle(CCCircleWave*) = mac 0x7e0f0; - void addObject(GameObject*) = mac 0x70e50, win 0x2017e0; - void addToGroupOld(GameObject*) = mac 0x77680; - void addToSpeedObjects(GameObject*) = mac 0x7cfc0, win 0x208730; - void animateInDualGround(GameObject*, float, bool) = mac 0x7d710, win 0x208b10; - void animateInGround(bool) = mac 0x7d9d0, win 0x209b20; - void animateOutGround(bool) = mac 0x6f350, win 0x209e60; - void animateOutGroundFinished() = mac 0x7de80; - void applyEnterEffect(GameObject*) = mac 0x7c310, win 0x206880; - virtual void calculateColorValues(EffectGameObject*, EffectGameObject*, int, float, ColorActionSprite*, GJEffectManager*) = mac 0x7aa10, win 0x203940; - void cameraMoveX(float, float, float) = mac 0x7cbe0; - void cameraMoveY(float, float, float) = mac 0x7cc60, win 0x207c80; - void checkCollisions(PlayerObject*, float) = mac 0x78c90, win 0x203CD0; - void circleWaveWillBeRemoved(CCCircleWave*) = mac 0x7e110, win 0x20aa90; - cocos2d::CCParticleSystemQuad* claimParticle(gd::string) = mac 0x76ba0, win 0x200dd0; - void clearPickedUpItems() = mac 0x7cfa0; - void colorObject(int, cocos2d::_ccColor3B) = mac 0x77810; - void commitJumps() = mac 0x737e0; - static PlayLayer* create(GJGameLevel*) = mac 0x6b590, win 0x1fb6d0; - CheckpointObject* createCheckpoint() = mac 0x7e470, win 0x20b050; - void createObjectsFromSetup(gd::string) = mac 0x6d130, win 0x201310; - void createParticle(int, char const*, int, cocos2d::tCCPositionType) = mac 0x76800; - void currencyWillExit(CurrencyRewardLayer*) = mac 0x7e070, win 0x20a8d0; - void delayedResetLevel() = mac 0x7e050; - void destroyPlayer(PlayerObject*, GameObject*) = mac 0x7ab80, win 0x20a1a0; - void dialogClosed(DialogLayer*) = mac 0x7e0b0, win 0x20a8f0; - virtual void draw() = mac 0x7d160, win 0x208870; - void enterDualMode(GameObject*, bool) = mac 0x7d6a0; - void exitAirMode() = mac 0x7dd40; - void exitBirdMode(PlayerObject*) = mac 0x7dd80; - void exitDartMode(PlayerObject*) = mac 0x7ddd0; - void exitFlyMode(PlayerObject*) = mac 0x7dcf0; - void exitRobotMode(PlayerObject*) = mac 0x7de20; - void exitRollMode(PlayerObject*) = mac 0x7de60; - void exitSpiderMode(PlayerObject*) = mac 0x7de40; - void flipFinished() = mac 0x7e150, win 0x20ad10; - virtual void flipGravity(PlayerObject*, bool, bool) = mac 0x7cd10, win 0x207d30; - void flipObjects() = mac 0x76130, win 0x2000c0; - void fullReset() = mac 0x7f8e0, win 0x20bdf0; - void getLastCheckpoint() = mac 0x7f840, win 0x20b800; - void getMaxPortalY() = mac 0x7b4e0; - void getMinPortalY() = mac 0x7b550; - void getObjectsState() = mac 0x7e9d0, win 0x20b8b0; - void getOtherPlayer(PlayerObject*) = mac 0x7dcc0; - void getParticleKey(int, char const*, int, cocos2d::tCCPositionType) = mac 0x764d0; - void getParticleKey2(gd::string) = mac 0x767b0, win 0x200a30; - void getRelativeMod(cocos2d::CCPoint, float, float, float) = mac 0x7c2a0; - void getTempMilliTime() = mac 0x778e0; - void gravityEffectFinished() = mac 0x7cec0; - void hasItem(int) = mac 0x7cee0; - void hasUniqueCoin(GameObject*) = mac 0x77510, win 0x202250; - void incrementJumps() = mac 0x7ff40; - bool init(GJGameLevel*) = mac 0x6b5f0, win 0x1fb780; - void isFlipping() = mac 0x76100; - void levelComplete() = mac 0x72b80, win 0x1fd3d0; - void lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor3B, float, float, int, bool, float) = mac 0x75cc0, win 0x1ffe70; - void lightningFlash(cocos2d::CCPoint, cocos2d::_ccColor3B) = mac 0x75bf0, win 0x1ffd80; - void loadDefaultColors() = mac 0x6ef30, win 0x206e10; - void loadFromCheckpoint(CheckpointObject*) = mac 0x7f000, win 0x20b4a0; - void loadLastCheckpoint() = mac 0x7efc0; - void loadSavedObjectsState(gd::string) = mac 0x7f3d0; - void markCheckpoint() = mac 0x7ef60, win 0x20b450; - void moveCameraToPos(cocos2d::CCPoint) = mac 0x7c980, win 0x207bf0; - virtual void onEnterTransitionDidFinish() = mac 0x806e0, win 0x20dbd0; - virtual void onExit() = mac 0x80710, win 0x20D810; - void onQuit() = mac 0x72710, win 0x20d810; - void optimizeColorGroups() = mac 0x6dad0, win 0x202370; - void optimizeOpacityGroups() = mac 0x6dc20, win 0x202530; - void optimizeSaveRequiredGroups() = mac 0x6dd70, win 0x2026f0; - void pauseGame(bool) = mac 0x802d0, win 0x20d3c0; - void pickupItem(GameObject*) = mac 0x7c1d0; - void playAnimationCommand(int, int) = mac 0x75930, win 0x1ff2f0; - void playEndAnimationToPos(cocos2d::CCPoint) = mac 0x759a0; - void playExitDualEffect(PlayerObject*) = mac 0x7d1d0, win 0x208e20; - void playFlashEffect(float, int, float) = mac 0x75e50; - void playGravityEffect(bool) = mac 0x7b5a0, win 0x207e00; - void playSpeedParticle(float) = mac 0x77030, win 0x201130; - void playerWillSwitchMode(PlayerObject*, GameObject*) = mac 0x7b820, win 0x16b290; - void prepareSpawnObjects() = mac 0x7fc00, win 0x20c850; - void processItems() = mac 0x735c0; - void processLoadedMoveActions() = mac 0x7a7c0; - void recordAction(bool, PlayerObject*) = mac 0x7e190; - void registerActiveObject(GameObject*) = mac 0x77620; - void registerStateObject(GameObject*) = mac 0x777b0; - void removeAllObjects() = mac 0x727b0, win 0x20da00; - void removeFromGroupOld(GameObject*) = mac 0x77750; - void removeLastCheckpoint() = mac 0x7f870, win 0x20b830; - void removePlayer2() = mac 0x7d630; - void resetLevel() = mac 0x71c50, win 0x20bf00; - void resume() = mac 0x80480, win 0x20d5c0; - void resumeAndRestart() = mac 0x80400, win 0x20d4c0; - void saveRecordAction(bool, PlayerObject*) = mac 0x78750, win 0x20ad40; - - static cocos2d::CCScene* scene(GJGameLevel* level) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(PlayLayer::create(level)); - scene->setObjType(cocos2d::CCObjectType::PlayLayer); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - - void setupLevelStart(LevelSettingsObject*) = mac 0x6f560, win 0x1fb780; - void setupReplay(gd::string) = mac 0x7e1e0; - void shakeCamera(float, float, float) = mac 0x744a0, win 0x1ff210; - void shouldBlend(int) = mac 0x771b0; - void showCompleteEffect() = mac 0x738e0, win 0x1fe060; - void showCompleteText() = mac 0x73be0, win 0x1fda90; - void showEndLayer() = mac 0x74450, win 0x1ffd00; - void showHint() = mac 0x7deb0; - void showNewBest(bool, int, int, bool, bool, bool) = mac 0x74580, win 0x1fe3a0; - void showRetryLayer() = mac 0x75ba0; - void showTwoPlayerGuide() = mac 0x6df00, win 0x2003b0; - void sortGroups() = mac 0x6d9e0, win 0x202890; - void spawnCircle() = mac 0x73820; - void spawnFirework() = mac 0x74200; - void spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint) = mac 0x76330; - void spawnPlayer2() = mac 0x7d170, win 0x2089e0; - void startGame() = mac 0x726b0, win 0x1fd390; - void startMusic() = mac 0x72910, win 0x20C8F0; - void startRecording() = mac 0x7fec0; - void startRecordingDelayed() = mac 0x7fed0; - void stopCameraShake() = mac 0x75900, win 0x1ff2d0; - void stopRecording() = mac 0x6d090; - void storeCheckpoint(CheckpointObject*) = mac 0x7ef10, win 0x20b420; - void switchToFlyMode(PlayerObject*, GameObject*, bool, int) = mac 0x7baf0; - void switchToRobotMode(PlayerObject*, GameObject*, bool) = mac 0x7bc80; - void switchToRollMode(PlayerObject*, GameObject*, bool) = mac 0x7bbe0; - void switchToSpiderMode(PlayerObject*, GameObject*, bool) = mac 0x7bd20; - callback float timeForXPos(float) = mac 0x7d120, win 0x2087d0; - float timeForXPos2(float, bool) = mac 0x293eb0, win 0x208800; - callback float xPosForTime(float) = mac 0x7d140, win 0x208840; - void toggleBGEffectVisibility(bool) = mac 0x7fe80; - void toggleDualMode(GameObject*, bool, PlayerObject*, bool) = mac 0x7bf90, win 0x208880; - void toggleFlipped(bool, bool) = mac 0x7bdc0, win 0x20ab20; - void toggleGhostEffect(int) = mac 0x7fe40, win 0x1f8930; - void toggleGlitter(bool) = mac 0x70e00, win 0x20a0d0; - void togglePracticeMode(bool) = mac 0x7f9e0, win 0x20d0d0; - void toggleProgressbar() = mac 0x6eeb0, win 0x208160; - void tryStartRecord() = mac 0x7fe00; - void unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*) = mac 0x76e00, win 0x200fb0; - void unregisterActiveObject(GameObject*) = mac 0x77660; - void unregisterStateObject(GameObject*) = mac 0x777f0; - virtual void update(float) = mac 0x77900, win 0x2029C0, ios 0xb2f08; - void updateAttempts() = mac 0x7fcd0, win 0x20ced0; - void updateCamera(float) = mac 0x6e2b0, win 0x2071d0; - virtual void updateColor(cocos2d::_ccColor3B, float, int, bool, float, cocos2d::_ccHSVValue, int, bool, int, EffectGameObject*) = mac 0x7c7f0, win 0x207070; - void updateDualGround(PlayerObject*, int, bool) = mac 0x7caa0, win 0x209680; - void updateEffectPositions() = mac 0x7a6d0, win 0x20aab0; - void updateLevelColors() = mac 0x6f1e0, win 0x203a90; - void updateMoveObjectsLastPosition() = mac 0x7a720; - void updateProgressbar() = mac 0x6ed70, win 0x208020; - void updateReplay(float) = mac 0x78b60, win 0x20af40; - void updateTimeMod(float, bool) = mac 0x786f0; - virtual void updateTweenAction(float, char const*) = mac 0x7ffb0, win 0x20d1f0; - void updateVisibility() = mac 0x6fb90, win 0x205460; - void vfDChk() = mac 0x7fcb0, win 0x20d3a0; - virtual void visit() = mac 0x75ef0, win 0x200020; - void visitWithColorFlash() = mac 0x761f0, win 0x200190; - void willSwitchToMode(int, PlayerObject*) = mac 0x7b9e0; - ~PlayLayer() = mac 0x6b090, win 0x1fafc0; - - // there is 0x10 more for android between this and ccdrawnode - float unused4c8; - bool unused4cc; - bool m_hasCheated; - geode::SeedValueRS m_dontSave; - [[missing(android)]] - int unknown4d8; - [[missing(android)]] - bool m_debugPauseOff; - [[missing(android)]] - bool m_shouldSmoothCamera; - [[missing(android)]] - float unused_4e0; - PAD = mac 0x4, win 0x4, android 0x0; - cocos2d::CCDrawNode* unknown4e8; - float m_camera4f0; - int unused4f4; - float m_somegroup4f8; - float m_groundRestriction; - float m_ceilRestriction; - bool m_fullReset; - bool unknown505; - float unknown508; - float unknown50c; - float unknown510; - float unknown514; - float unknown518; - PAD = mac 0x4, win 0x4, android 0x4; - StartPosObject* m_startPos; - CheckpointObject* m_startPosCheckpoint; - EndPortalObject* m_endPortal; - cocos2d::CCArray* m_checkpoints; - cocos2d::CCArray* m_speedObjects; - cocos2d::CCArray* m_allSpeedObjects; - cocos2d::CCArray* unk344; - cocos2d::CCSprite* unk348; - float m_backgroundRepeat; - bool unk350; - cocos2d::CCArray* unk354; - cocos2d::CCArray* unk358; - cocos2d::CCArray* m_objectsToUpdate; - cocos2d::CCArray* unk360; - bool m_isMute; - bool unk365; - bool unk366; - bool unk367; - bool unk368; - bool unk369; - bool unk36A; - bool unk36B; - cocos2d::CCArray* m_screenRingObjects; - cocos2d::CCParticleSystemQuad* m_particleSystem; - cocos2d::CCDictionary* m_pickedUpItems; - cocos2d::CCArray* m_circleWaves; - cocos2d::CCArray* unk37C; - AudioEffectsLayer* m_audioEffectsLayer; - float unknown5c0; - float unknown5c4; - GJGroundLayer* m_bottomGround; - GJGroundLayer* m_topGround; - PAD = mac 0x8, win 0x8, android 0x8; - bool m_isDead; - bool m_startCameraAtCorner; - bool m_cameraYLocked; - bool m_cameraXLocked; - bool unknown5e4; - int m_ballFrameSeed; - float unknown5ec; - float m_lockGroundToCamera; - float unknown5f4; - float m_levelLength; - float m_realLevelLength; - cocos2d::CCLabelBMFont* m_attemptLabel; - cocos2d::CCLabelBMFont* m_percentLabel; - bool m_isCameraShaking; - float m_currentShakeStrength; - float m_currentShakeInterval; - double m_lastShakeTime; - cocos2d::CCPoint m_cameraShakeOffset; - bool unk3E0; - float m_backgroundScrollOffset; - float m_cameraFlip; - bool unk3EC; - int unk3F0; - cocos2d::CCDictionary* m_particleSystemsPlist; - cocos2d::CCDictionary* unk3F8; - cocos2d::CCArray* m_particleSystems; - cocos2d::CCNode* unk400; - cocos2d::CCSprite* m_sliderGrooveSprite; - cocos2d::CCSprite* m_sliderBarSprite; - cocos2d::CCSize m_sliderSize; - int unknown680; - int m_activeGravityEffects; - int m_gravityEffectStatus; // ?? - PAD = mac 0x4, win 0x4, android 0x4; - cocos2d::CCArray* m_gravitySprites; - bool unk428; - bool m_shouldRecordActions; - bool unk42A; - bool m_isPaused; - bool unk42C; - bool m_isPlayer2Frozen; - gd::string m_previousRecords; - cocos2d::CCArray* m_replayInputs; - double m_time; - int unknown6b8; - int unknown6bc; - bool unk460; - bool m_isAudioMeteringSupported; - cocos2d::CCDictionary* unk464; - gd::map m_hasColors; - bool m_collisionDisabled; - bool unknown701; - GameObject* m_latestVehicle; - GameObject* m_dualObject; - bool m_isFlipped; - float m_mirrorTransition; - UILayer* m_UILayer; - GJGameLevel* m_level; - cocos2d::CCPoint m_cameraPosition; - bool m_isTestMode; - bool m_isPracticeMode; - bool unk496; - bool unk497; - cocos2d::CCArray* unk498; - bool m_unk49C; - cocos2d::CCPoint m_playerStartPosition; - int m_currentAttempt; - int m_jumpCount; - bool unk4B0; - float m_totalTime; - int m_attemptJumpCount; - bool unk4BC; - bool m_hasLevelCompleteMenu; - bool m_hasCompletedLevel; - bool m_delayedResetLevel; - int m_lastDeathPercent; - bool unk4C4; - PAD = mac 0xb, win 0xb, android 0xb; - bool unk4D0; - bool unk4D1; - cocos2d::CCArray* unk4D4; - cocos2d::CCDictionary* unk4D8; - double m_inlineCalculatedKickTime; - double m_accumulatedKickDeltaTime; - double m_unusedKickDouble; - bool m_shouldTryToKick; - float m_kickCheckDeltaSnapshot; - int m_accumulatedKickCounter; - PAD = mac 0x4, win 0x4, android 0x8; - double unk508; - PAD = mac 0x8, win 0x8, android 0x8; - double unk518; - double unk520; - PAD = mac 0x4, win 0x4, android 0x4; - bool m_hasGlitter; - bool m_isBgEffectOff; - bool unk52F; - GameObject* m_antiCheatObject; - bool m_antiCheatPassed; - bool unk535; - bool m_disableGravityEffect; -} - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - // virtual ~PlayerCheckpoint() = mac 0x80760; inlined on windows - static PlayerCheckpoint* create() = mac 0x7e8c0, win 0x20dc40; - - cocos2d::CCPoint m_position; - float m_yVelocity; - bool m_isUpsideDown; - bool m_isShip; - bool m_isBall; - bool m_isUFO; - bool m_isWave; - bool m_isRobot; - bool m_isSpider; - bool m_isOnGround; - int m_hasGhostTrail; - bool m_small; - float m_speed; - bool m_hidden; -} - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - virtual ~PlayerObject() = mac 0x217220, win 0x1e6be0; - virtual void update(float) = mac 0x218bf0, win 0x1e8200; - virtual void setScaleX(float) = mac 0x22e7f0, win 0x1fa7a0; - virtual void setScaleY(float) = mac 0x22e830, win 0x1fa7e0; - virtual void setScale(float) = mac 0x22e870, win 0x1fa820; - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x22c8b0, win 0x1f7370; - virtual void setVisible(bool) = mac 0x22e8b0, win 0x1fa860; - virtual void setRotation(float) = mac 0x22e6e0, win 0x1fa650; - virtual void setOpacity(unsigned char) = mac 0x22d400, win 0x1f7d40; - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x22cdf0, win 0x1f77f0; - virtual void setFlipX(bool) = mac 0x22e720, win 0x1fa690; - virtual void setFlipY(bool) = mac 0x22e7b0, win 0x1fa740; - virtual void resetObject() = mac 0x223170, win 0x1eecd0; - virtual cocos2d::CCPoint getRealPosition() = mac 0x22d5f0, win 0x1f7e20; - virtual void getOrientedBox() = mac 0x22dee0, win 0x1f95d0; - virtual void animationFinished(char const*) = mac 0x22e9d0, win 0x1fa8a0; - void activateStreak() = mac 0x21aef0, win 0x1f9080; - void addAllParticles() = mac 0x2189b0, win 0x1e7d60; - void addToTouchedRings(GameObject*) = mac 0x22b800; - void boostPlayer(float) = mac 0x21d6b0, win 0x1f8f30; - void bumpPlayer(float, int) = mac 0x22d890; - void buttonDown(PlayerButton) = mac 0x22b7e0; - void checkSnapJumpToObject(GameObject*) = mac 0x2217f0, win 0x1ece70; - bool collidedWithObject(float fl, GameObject* obj) { - auto rect = obj->getObjectRect(); - return collidedWithObject(fl, obj, rect); - } - bool collidedWithObject(float, GameObject*, cocos2d::CCRect) = mac 0x21f0b0, win 0x1ebdd0; - bool collidedWithSlope(float, GameObject*, bool) = mac 0x21d8d0; - void convertToClosestRotation(float) = mac 0x21c860, win 0x1e9ac0; - void copyAttributes(PlayerObject*) = mac 0x22dc70, win 0x1f93f0; - static PlayerObject* create(int, int, cocos2d::CCLayer*) = mac 0x217260, win 0x1e6cf0; - void deactivateParticle() = mac 0x21a540, win 0x1e8f50; - void deactivateStreak(bool) = mac 0x218b30; - void fadeOutStreak2(float) = mac 0x225890, win 0x1f9110; - void flashPlayer(float, float, cocos2d::_ccColor3B, cocos2d::_ccColor3B) = mac 0x221c80; - void flipGravity(bool, bool) = mac 0x21c090, win 0x1f59d0; - void flipMod() = mac 0x21a4c0; - void getActiveMode() = mac 0x22b950, win 0x1f5df0; - float getModifiedSlopeYVel() = mac 0x21bff0, win 0x1ea870; - void getOldPosition(float) = mac 0x21a830; - void getSecondColor() = mac 0x22cee0; - void gravityDown() = mac 0x22e930; - void gravityUp() = mac 0x22e900; - void hardFlipGravity() = mac 0x22b860; - void hitGround(bool) = mac 0x220a30; - void incrementJumps() = mac 0x21c050, win 0x1e9a20; - bool init(int, int, cocos2d::CCLayer*) = mac 0x2172e0, win 0x1e6da0; - void isBoostValid(float) = mac 0x21d650, win 0x1ea810; - void isFlying() = mac 0x21a4e0, win 0x1f5dc0; - void isSafeFlip(float) = mac 0x2209f0; - void isSafeMode(float) = mac 0x2209b0; - void isSafeSpiderFlip(float) = mac 0x221be0; - void levelFlipFinished() = mac 0x21b060, win 0x1e8e70; - bool levelFlipping() = mac 0x21a510, win 0x1f6820; - void levelWillFlip() = mac 0x21b020; - void loadFromCheckpoint(PlayerCheckpoint*) = mac 0x22e420, win 0x1fa080; - void lockPlayer() = mac 0x22d680; - void logValues() = mac 0x221220; - void modeDidChange() = mac 0x22bfd0; - void placeStreakPoint() = mac 0x21af90, win 0x1f95e0; - void playBurstEffect() = mac 0x21c780, win 0x1f6790; - void playDeathEffect() = mac 0x225930, win 0x1efbe0; - void playDynamicSpiderRun() = mac 0x222ec0, win 0x1f9d80; - void playerDestroyed(bool) = mac 0x2256d0, win 0x1efaa0; - bool playerIsFalling() = mac 0x21c730, win 0x1f5d60; - void playerTeleported() = mac 0x22b840; - void playingEndEffect() = mac 0x22d7e0; - void postCollision(float) = mac 0x21cd10, win 0x1e9f50; - void preCollision() = mac 0x21ccc0; - void preSlopeCollision(float, GameObject*) = mac 0x21ec80; - void propellPlayer(float) = mac 0x22d8e0, win 0x1f8b50; - void pushButton(PlayerButton) = mac 0x22aa00, win 0x1f4e40; - void pushDown() = mac 0x22dbd0; - void pushPlayer(float) = mac 0x22dbb0; - void releaseButton(PlayerButton) = mac 0x22b6f0, win 0x1f4f70; - void removeAllParticles() = mac 0x218ac0; - void removePendingCheckpoint() = mac 0x2237b0, win 0x1fa260; - void resetAllParticles() = mac 0x21adb0, win 0x1e8ef0; - void resetCollisionLog() = mac 0x21cc20; - void resetPlayerIcon() = mac 0x22be00, win 0x1f65e0; - void resetStateVariables() = mac 0x223760; - void resetStreak() = mac 0x21ae10, win 0x1e8d50; - void ringJump(GameObject*) = mac 0x22abf0, win 0x1f4ff0; - void runBallRotation(float) = mac 0x21ca10, win 0x1e9d10; - void runBallRotation2() = mac 0x21cb10; - void runNormalRotation() = mac 0x21c960, win 0x1e9c50; - void runRotateAction(bool) = mac 0x21c570, win 0x1e9bf0; - void saveToCheckpoint(PlayerCheckpoint*) = mac 0x22e2f0, win 0x1f9ee0; - void setSecondColor(cocos2d::_ccColor3B const&) = mac 0x219610, win 0x1f7870; - void setupStreak() = mac 0x218720, win 0x1e7e90; - void spawnCircle() = mac 0x2251b0; - void spawnCircle2() = mac 0x2252a0; - void spawnDualCircle() = mac 0x2255c0; - void spawnFromPlayer(PlayerObject*) = mac 0x22dde0, win 0x1f9540; - void spawnPortalCircle(cocos2d::_ccColor3B, float) = mac 0x225350, win 0x1ef680; - void spawnScaleCircle() = mac 0x225480, win 0x1ef810; - void specialGroundHit() = mac 0x22dbf0; - void speedDown() = mac 0x22e970; - void speedUp() = mac 0x22e950; - void spiderTestJump(bool) = mac 0x21b160, win 0x1ed360; - void startDashing(GameObject*) = mac 0x221d70; - void stopBurstEffect() = mac 0x22c680, win 0x1f6810; - void stopDashing() = mac 0x222990, win 0x1ee6e0; - void stopRotation(bool) = mac 0x21c830, win 0x1e9aa0; - void storeCollision(bool, int) = mac 0x21cc60; - void switchedToMode(GameObjectType) = mac 0x22b9a0, win 0x1f6f70; - void testForMoving(float, GameObject*) = mac 0x21eb70; - void toggleBirdMode(bool) = mac 0x224070, win 0x1f6050; - void toggleDartMode(bool) = mac 0x2243f0, win 0x1f62c0; - void toggleFlyMode(bool) = mac 0x223820, win 0x1f5e40; - void toggleGhostEffect(GhostType) = mac 0x225000, win 0x1f8930; - void togglePlayerScale(bool) = mac 0x224bd0, win 0x1f9640; - void toggleRobotMode(bool) = mac 0x223c70, win 0x1f6a10; - void toggleRollMode(bool) = mac 0x223b20, win 0x1f68e0; - void toggleSpiderMode(bool) = mac 0x224830, win 0x1f94d1; - void toggleVisibility(bool) = mac 0x21abf0, win 0x1e8c30; - void touchedObject(GameObject*) = mac 0x22e660; - void tryPlaceCheckpoint() = mac 0x21a950, win 0x1fa2d0; - void updateCheckpointMode(bool) = mac 0x218980; - void updateCheckpointTest() = mac 0x21a890, win 0x1e8b50; - void updateCollide(bool, int) = mac 0x220f10; - void updateCollideBottom(float, int) = mac 0x221790; - void updateCollideTop(float, int) = mac 0x221c20; - void updateDashAnimation() = mac 0x21a570, win 0x1eea80; - void updateDashArt() = mac 0x222520, win 0x1ee3c0; - void updateGlowColor() = mac 0x22cf10; - void updateJump(float) = mac 0x219680, win 0x1e8f80; - void updateJumpVariables() = mac 0x21a740; - void updatePlayerBirdFrame(int) = mac 0x22bfe0, win 0x1f81a0; - void updatePlayerDartFrame(int) = mac 0x22c260, win 0x1f8580; - void updatePlayerFrame(int) = mac 0x22c470, win 0x1f7e40; - void updatePlayerGlow() = mac 0x22bc50, win 0x1f9290; - void updatePlayerRobotFrame(int) = mac 0x22d620, win 0x1f8550; - void updatePlayerRollFrame(int) = mac 0x22c6a0, win 0x1f83a0; - void updatePlayerScale() = mac 0x22b8b0, win 0x1f9200; - void updatePlayerShipFrame(int) = mac 0x22ba40, win 0x1f7ff0; - void updatePlayerSpiderFrame(int) = mac 0x22d650; - void updatePlayerSpriteExtra(gd::string) = mac 0x218440, win 0x1f8730; - void updateRobotAnimationSpeed() = mac 0x22df40, win 0x1f9b80; - void updateRotation(float) = mac 0x2214b0, win 0x1ebc00; - void updateRotation(float, float) = mac 0x221230, win 0x1ebce0; - void updateShipRotation(float) = mac 0x221310, win 0x1eba60; - void updateShipSpriteExtra(gd::string) = mac 0x218510, win 0x1f8830; - void updateSlopeRotation(float) = mac 0x221030; - void updateSlopeYVelocity(float) = mac 0x22e920; - void updateSpecial(float) = mac 0x21a790, win 0x1e8ab0; - void updateStateVariables() = mac 0x21a770; - void updateTimeMod(float) = mac 0x2185e0, win 0x1f9a20; - void usingWallLimitedMode() = mac 0x22df00; - void yStartDown() = mac 0x22e9b0; - void yStartUp() = mac 0x22e990; - - PAD = mac 0x14, win 0x14, android 0x10; - bool m_unk480; - cocos2d::CCNode* m_unk484; - cocos2d::CCDictionary* m_collisionLog; - cocos2d::CCDictionary* m_collisionLog1; - GameObject* m_collidedSlope; - PAD = mac 0x30, win 0x1c, android 0x1c; - bool m_unk4B0; - cocos2d::CCSprite* m_unk4B4; - int m_collidedGroundObjectUniqueID; - int m_collidedCeilObjectUniqueID; - PAD = mac 0x14, win 0x14, android 0x14; - bool m_unk4D4; - cocos2d::CCArray* m_particleSystems; - bool m_hasGlow; - bool m_isHidden; - int m_hasGhostTrail; - GhostTrailEffect* m_ghostTrail; - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCSprite* m_iconSpriteSecondary; - cocos2d::CCSprite* m_iconSpriteWhitener; - cocos2d::CCSprite* m_iconGlow; - cocos2d::CCSprite* m_vehicleSprite; - cocos2d::CCSprite* m_vehicleSpriteSecondary; - cocos2d::CCSprite* m_unk500; - cocos2d::CCSprite* m_vehicleSpriteWhitener; - cocos2d::CCSprite* m_vehicleGlow; - cocos2d::CCSprite* m_unk50C; - cocos2d::CCMotionStreak* m_regularTrail; - HardStreak* m_waveTrail; - double m_xVelocity; - double m_jumpAccel; - double m_gravity; - double m_unknown20; - bool m_unk538; - bool m_unk539; - bool m_unk53A; - bool m_unk53B; - bool m_isInPlayLayer; - bool m_unk53D; - bool m_unk53E; - bool m_unk53F; - bool m_isCheckpointQueued; - PAD = mac 0xf, win 0xf, android 0xf; - double m_lastJumpTime; - double m_unk558; - double m_unk560; - PAD = mac 0x1c, win 0x1c, android 0x1c; - float m_decelerationRate; - PAD = mac 0x13, win 0x13, android 0x13; - bool m_hasHitRing; - GameObject* m_objectSnappedTo; - CheckpointObject* m_checkpoint; - int m_unknown6a0; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - bool m_unk5B0; - cocos2d::CCParticleSystemQuad* m_playerGroundParticles; - cocos2d::CCParticleSystemQuad* m_unk5B8; - cocos2d::CCParticleSystemQuad* m_shipBoostParticles; - cocos2d::CCParticleSystemQuad* m_vehicleGroundParticles; - cocos2d::CCParticleSystemQuad* m_unk5C4; - cocos2d::CCParticleSystemQuad* m_robotJumpParticles; - cocos2d::CCParticleSystemQuad* m_unk5CC; - void* m_unk5D0; - cocos2d::CCParticleSystemQuad* m_unk5D4; - cocos2d::CCParticleSystemQuad* m_unk5D8; - PAD = mac 0x20, win 0x20, android 0x20; - // int m_streakID; - // float m_wellIdk; - // PAD = win 0x10; - bool m_unk5FC; - bool m_unk5FD; - bool m_hasHitPortal; - PAD = mac 0xb, win 0xb, android 0xb; - bool m_unknown73d; - cocos2d::_ccColor3B m_unknown73e; - cocos2d::_ccColor3B m_unknown741; - bool m_isHolding; - bool m_hasJustHeld; - bool m_isHolding2; - bool m_hasJustHeld2; - bool m_unk615; - bool m_unk616; - int m_unk618; - float m_unk61C; - int m_unk620; - bool m_canRobotJump; - double m_yVelocity; - bool m_isOnSlope; - bool m_wasOnSlope; - float m_unk634; - bool m_isShip; - bool m_isBird; - bool m_isBall; - bool m_isDart; - bool m_isRobot; - bool m_isSpider; - bool m_isUpsideDown; - bool m_isDead; - bool m_isOnGround; - bool m_isDashing; - float m_vehicleSize; - float m_playerSpeed; - cocos2d::CCPoint m_unk64C; - cocos2d::CCPoint m_lastPortalPos; - cocos2d::CCLayer* m_unk65C; - bool m_isSliding; - bool m_isRising; - bool m_isLocked; - cocos2d::CCPoint m_lastGroundedPos; - cocos2d::CCArray* m_touchingRings; - GameObject* m_lastActivatedPortal; - bool m_unk674; - bool m_unk675; - cocos2d::ccColor3B m_playerColor1; - cocos2d::ccColor3B m_playerColor2; - cocos2d::CCPoint m_position; - bool m_unk684; - bool m_unk685; - double m_unk688; - PAD = win 0x4, android 0x4; - float m_meteringValue; - float m_groundHeight; - float m_unk69C; - PAD = win 0x4, android 0x4; - std::array m_unk6A4; - PAD = win 0x1c, android 0x1c; -} - -[[link(android)]] -class PointNode : cocos2d::CCObject { - static PointNode* create(cocos2d::CCPoint point) = win 0x14ec80; - - cocos2d::CCPoint m_point; -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - static ProfilePage* create(int accountID, bool idk) = mac 0x45eed0, win 0x20ee50; - ProfilePage() = win 0x20e920; - bool init(int accountID, bool idk) = mac 0x45f170, win 0x20ef00; - void onYoutube(cocos2d::CCObject*) = mac 0x462360, win 0x212e80; - void onTwitter(cocos2d::CCObject*) = mac 0x462500, win 0x212fe0; - void onTwitch(cocos2d::CCObject*) = mac 0x4626a0, win 0x213140; - void onCommentHistory(cocos2d::CCObject*) = mac 0x462840, win 0x211d10; - void onSendMessage(cocos2d::CCObject*) = mac 0x462870, win 0x211d40; - void onFriend(cocos2d::CCObject*) = mac 0x4628c0, win 0x211f30; - void onBlockUser(cocos2d::CCObject*) = mac 0x462b60, win 0x212130; - void onMyLevels(cocos2d::CCObject*) = mac 0x462d70, win 0x211bb0; - void onMessages(cocos2d::CCObject*) = mac 0x462f10, win 0x2132c0; - void onFriends(cocos2d::CCObject*) = mac 0x462f60, win 0x2132f0; - void onRequests(cocos2d::CCObject*) = mac 0x462fb0, win 0x213320; - void onSettings(cocos2d::CCObject*) = mac 0x463000, win 0x2132a0; - void onComment(cocos2d::CCObject*) = mac 0x463020, win 0x211e10; - void onUpdate(cocos2d::CCObject*) = mac 0x460150, win 0x20fa20; - void onClose(cocos2d::CCObject*) = mac 0x45fd20, win 0x49C60; - void loadPageFromUserInfo(GJUserScore* score) = mac 0x460480, win 0x210040; - - virtual void registerWithTouchDispatcher() = mac 0x464a60, win 0x16990; - virtual void keyBackClicked() = mac 0x464A60, win 0x49C80; - virtual void show() = mac 0x4639c0, win 0x212d60; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x463340, win 0x2128B0; - virtual void updateUserScoreFinished() = mac 0x463850, win 0x212C30; - virtual void updateUserScoreFailed() = mac 0x463920, win 0x212D20; - virtual void getUserInfoFinished(GJUserScore*) = mac 0x463cd0, win 0x213350; - virtual void getUserInfoFailed(int) = mac 0x463FB0, win 0x2133e0; - virtual void userInfoChanged(GJUserScore*) = mac 0x464070, win 0x213430; - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) = mac 0x464250, win 0x213940; - virtual void loadCommentsFailed(char const*) = mac 0x464340, win 0x2139A0; - virtual void setupPageInfo(gd::string, char const*) = mac 0x464410, win 0x213A00; - virtual void commentUploadFinished(int) = mac 0x464770, win 0x213B90; - virtual void commentUploadFailed(int, CommentError) = mac 0x464800, win 0x213C40; - virtual void commentDeleteFailed(int, int) = mac 0x4648e0, win 0x213D20; - virtual void onClosePopup(UploadActionPopup*) = mac 0x463510, win 0x2129F0; - virtual void uploadActionFinished(int, int) = mac 0x463570, win 0x212A30; - virtual void uploadActionFailed(int, int) = mac 0x463710, win 0x212B20; - - GJUserScore* m_score; - int m_accountID; - PAD = mac 0x44, win 0x38, android 0x24; - cocos2d::CCArray* m_buttons; -} - -[[link(android)]] -class PulseEffectAction : cocos2d::CCNode { - static PulseEffectAction* createFromString(gd::string) = mac 0x179e90, win 0x1198a0; - gd::string getSaveString() = mac 0x17a850, win 0x119e70; -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed() {} -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - bool m_uploadFinished; - bool m_isModSuggest; - bool m_selectedFeature; - CCMenuItemSpriteExtra* m_confirmBtn; - cocos2d::CCArray* m_starBtns; - cocos2d::CCSprite* m_difficultySprite; - int m_levelID; - int m_selectedRating; - bool m_selectedCoin; - cocos2d::CCSprite* m_featureSprite; - UploadActionPopup* m_rateAction; - RateLevelDelegate* m_rateDelegate; - - static RateStarsLayer* create(int levelID, bool isModSuggest) = mac 0x135e50, win 0x2155f0; - bool init(int levelID, bool isModSuggest) = mac 0x136050, win 0x2156a0; -} - -[[link(android)]] -class RetryLevelLayer { - static RetryLevelLayer* create() = mac 0x28dd60, win 0x216390; -} - -[[link(android)]] -class RewardsPage : FLAlertLayer { - virtual bool init() = mac 0xf3800, win 0x2178F0; -} - -[[link(android)]] -class RingObject : EffectGameObject { - bool create(char const*) = win 0x252220; - bool init(char const*) = win 0x2522E0; - void spawnCircle() = win 0x2523A0; - virtual void setRotation(float) = win 0x252640; - virtual void setScale(float) = win 0x252580; - virtual void resetObject() = win 0x252560; - virtual void customObjectSetup(gd::map&) = win 0x2526A0; - virtual gd::string getSaveString() = win 0x2527F0; - virtual void powerOnObject() = win 0x252360; - virtual void powerOffObject() = win 0xe5d60; // same as GameObject - virtual void setRScale(float) = win 0x2525D0; - virtual void triggerActivated(float) = win 0x252350; -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float) = mac 0x41a900, win 0x2d8e0; - PAD = win 0x28; - float m_layerHeight; - PAD = win 0x4; - cocos2d::CCLayer* m_scrollLayer; - cocos2d::CCNode* m_parent; -} - -[[link(android)]] -class SelectArtLayer { - static SelectArtLayer* create(SelectArtType type) = win 0x174b00; -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - static SelectFontLayer* create(LevelEditorLayer* lel) = win 0x137270; - bool init(LevelEditorLayer* lel) = win 0x137310; - void onChangeFont(cocos2d::CCObject* sender) = win 0x1379b0; - void updateFontLabel() = win 0x137880; - // Shared with many other classes - void onClose(cocos2d::CCObject* sender) = win 0x137a30; - // Shared with many other classes - virtual void keyBackClicked() = win 0x137a60; - virtual ~SelectFontLayer() = win 0x1371b0; - - int m_selectedFont; - LevelEditorLayer* m_editorLayer; - cocos2d::CCLabelBMFont* m_fontLabel; -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - bool init(GameObject* object, cocos2d::CCArray* objects) = mac 0x1947c0, win 0x22b670; - void onNextGroupID1(cocos2d::CCObject*) = mac 0x1967a0, win 0x22d790; - void textChanged(CCTextInputNode*) = mac 0x197af0, win 0x22d610; - void updateGroupIDLabel() = mac 0x197260, win 0x22e450; - ~SetGroupIDLayer() = mac 0x194410, win 0x22b4d0; - void updateEditorLayerID() = win 0x22e0b0; - void updateEditorLayerID2() = win 0x22e110; - void updateZOrder() = win 0x22e3d0; - void onAddGroup(cocos2d::CCObject* sender) = mac 0x1967d0, win 0x22de20; - void onClose(cocos2d::CCObject* sender) = mac 0x1966a0, win 0x22e830; - void onEditorLayer(cocos2d::CCObject* sender) = win 0x22d690, mac 0x196800; - void onEditorLayer2(cocos2d::CCObject* sender) = win 0x22d710, mac 0x196a40; - void onZOrder(cocos2d::CCObject* sender) = win 0x22de80, mac 0x196920; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_array0; - cocos2d::CCArray* m_array1; - cocos2d::CCLabelBMFont* m_editorLayerText; - cocos2d::CCLabelBMFont* m_editorLayer2Text; - cocos2d::CCLabelBMFont* m_zOrderText; - CCTextInputNode* m_groupIDInput; - int m_groupIDValue; - int m_editorLayerValue; - int m_editorLayer2Value; - int m_zOrderValue; - ZLayer m_zLayerValue; - bool m_unk204; - bool m_unk205; - bool m_highDetail; - bool m_dontFade; - bool m_dontEnter; - void* m_somePointerProlly; - bool m_groupParent; - bool m_hasEditedGroups; - int m_unknown; -} - -[[link(android)]] -class SetIDLayer { - static SetIDLayer* create(GameObject*) = mac 0x168f20, win 0x22eb90; -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - void valueChanged() = win 0x10a60; - - bool init(int, int, int, gd::string, gd::string, bool, int) = win 0x143270; - - static SetIDPopup *create(int, int, int, gd::string, gd::string, bool, int) = win 0x143130; -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int) {} -} - -[[link(android)]] -class SetItemIDLayer { - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x5a830; -} - -[[link(android)]] -class SetTargetIDLayer { - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string) = mac 0x159d20; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x15aed0; - void textChanged(CCTextInputNode*) = mac 0x15b6c0; - void updateTargetID() = mac 0x15b4a0; -} - -[[link(android)]] -class SetTextPopupDelegate { - virtual void setIDPopupClosed(void*, gd::string) {} -} - -[[link(android)]] -class SetupAnimationPopup : FLAlertLayer { - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x208b70; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x209fc0; - void textChanged(CCTextInputNode*) = mac 0x20ab30; - void updateTargetID() = mac 0x20a910; -} - -[[link(android)]] -class SetupCollisionTriggerPopup : FLAlertLayer { - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x1d6120; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x1d77b0; - void textChanged(CCTextInputNode*) = mac 0x1d84d0; - void updateTargetID() = mac 0x1d82b0; - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x2341f0; - void onClose(cocos2d::CCObject*) = win 0x235970; -} - -[[link(android)]] -class SetupCountTriggerPopup : FLAlertLayer { - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x15c6c0; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x15dd40; - void textChanged(CCTextInputNode*) = mac 0x15e9a0; - void updateTargetID() = mac 0x15e8a0; -} - -[[link(android)]] -class SetupInstantCountPopup : FLAlertLayer { - static SetupInstantCountPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x352c10; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x354520; - void textChanged(CCTextInputNode*) = mac 0x355270; - void updateTargetID() = mac 0x355170; -} - -[[link(android)]] -class SetupInteractObjectPopup : FLAlertLayer { - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x29a400; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x29bbc0; - void textChanged(CCTextInputNode*) = mac 0x29c2b0; - void updateTargetID() = mac 0x29c120; -} - -[[link(android)]] -class SetupObjectTogglePopup : FLAlertLayer { - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x1c0860; - bool init(EffectGameObject*, cocos2d::CCArray*) = mac 0x1c0a40; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x1c1c40; - void textChanged(CCTextInputNode*) = mac 0x1c2660; - void updateTargetID() = mac 0x1c2440; -} - -[[link(android)]] -class SetupOpacityPopup : FLAlertLayer { - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x32b70, win 0x23ba30; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x340a0; - void textChanged(CCTextInputNode*) = mac 0x34a60; - void updateTargetID() = mac 0x34760; -} - -[[link(android)]] -class SetupPickupTriggerPopup : FLAlertLayer { - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x35e70, win 0x23d4a0; - bool init(EffectGameObject* obj, cocos2d::CCArray* arr) = win 0x23d550, mac 0x36070; - void onItemIDArrow(cocos2d::CCObject*) = mac 0x37100; - void onNextItemID(cocos2d::CCObject*) = mac 0x37260; - void textChanged(CCTextInputNode*) = mac 0x37ca0; - void updateItemID() = mac 0x37ab0, win 0x23e4f0; - - PAD = win 0xc, mac 0x18; - CCTextInputNode* m_itemIDInput; - CCTextInputNode* m_countInput; -} - -[[link(android)]] -class SetupPulsePopup : FLAlertLayer, cocos2d::extension::ColorPickerDelegate, TextInputDelegate, GJSpecialColorSelectDelegate { - virtual void colorValueChanged(cocos2d::ccColor3B color) = win 0x242660, mac 0x1ec680; - SetupPulsePopup() {} - - bool init(EffectGameObject* triggerObj, cocos2d::CCArray* triggerObjs) = win 0x23e980, mac 0x1e7010; - void updateColorValue() = win 0x2426b0; - void onSelectPulseMode(cocos2d::CCObject*) = win 0x241420, mac 0x1eb020; - void updatePulseMode() = win 0x242cf0; - - - cocos2d::extension::CCControlColourPicker* m_colorPicker; - PAD = win 0x30, mac 0x60, android 0x30; - cocos2d::CCSprite* m_currentColorSpr; - cocos2d::CCSprite* m_prevColorSpr; - PAD = win 0x64, mac 0xac, android 0x64; - int m_pulseMode; // 0x38c on mac -} - -[[link(android)]] -class SetupRotatePopup : FLAlertLayer { - void onClose(cocos2d::CCObject*) = win 0x244150; - virtual void keyBackClicked() = win 0x2441a0; -} - -[[link(android)]] -class SetupShakePopup : FLAlertLayer { - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x3adc00; -} - -[[link(android)]] -class SetupSpawnPopup : FLAlertLayer { - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x139790; - void createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*) = mac 0x13b0e0; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x13ad80; - void textChanged(CCTextInputNode*) = mac 0x13b990; - void updateTargetID() = mac 0x13b770; - - EffectGameObject* m_selectedObject; - cocos2d::CCArray* m_selectedArray; - CCTextInputNode* m_delayTextNode; - Slider* m_delaySlider; - float m_delay; - bool m_touchTriggered; - bool m_spawnTriggered; - CCMenuItemToggler* m_touchTriggeredToggle; - CCMenuItemToggler* m_spawnTriggeredToggle; - CCTextInputNode* m_targetIDTextNode; - int m_targetIDValue; - bool m_textUpdateLock; - // the toggle is inside the array for some obscure reason - cocos2d::CCArray* m_multiTriggerToggle; - bool m_multiTrigger; - bool m_editorDisable; -} - -[[link(android)]] -class SetupTouchTogglePopup : FLAlertLayer { - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x1576a0; - void onTargetIDArrow(cocos2d::CCObject*) = mac 0x158b60; - void textChanged(CCTextInputNode*) = mac 0x1596a0; - void updateTargetID() = mac 0x159480; -} - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - static ShareCommentLayer* create(gd::string, int, CommentType, int) = win 0x24bac0; - bool init(gd::string, int, CommentType, int) = win 0x24bb90; - void onShare(cocos2d::CCObject*) = win 0x24c760; -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - SimplePlayer() {} - void setSecondColor(const cocos2d::ccColor3B& color) { - - m_secondLayer->setColor(color); - updateColors(); - } - bool hasGlowOutline() { - return m_hasGlowOutline; - } - void setGlowOutline(bool value) { - m_hasGlowOutline = value; - updateColors(); - } - - bool init(int iconID) = mac 0x1bc570, win 0x12be20; - static SimplePlayer* create(int iconID) = mac 0x1b6140, win 0x12bd80; - void updatePlayerFrame(int iconID, IconType iconType) = mac 0x1b62f0, win 0x12c650; - void updateColors() = mac 0x1ba1f0, win 0x12c440, ios 0x224f2c; - void setFrames(const char* firstLayer, const char* secondLayer, const char* birdDome, const char* outlineSprite, const char* detailSprite) = mac 0x1bca10, win 0x12c9e0; - virtual void setColor(const cocos2d::ccColor3B& color) = mac 0x1bc9b0, win 0x12c410; - virtual void setOpacity(unsigned char opacity) = mac 0x135370, win 0x12cb90; - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - void setValue(float val) { - m_touchLogic->getThumb()->setValue(val); - } - void setBarVisibility(bool v) { - m_sliderBar->setVisible(v); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler click, float scale) { - return create(target, click, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", scale); - } - - float getValue() = mac 0x18e0c0, win 0x2e970; - void updateBar() = mac 0x18d970, win 0x2ea10; - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler click, const char* unused, const char* grooveSpr, const char* thumbSpr, const char* thumbSprSel, float scale) = mac 0x18dd80, win 0x2e6e0, ios 0x2113f4; - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - void setValue(float val) = mac 0x18ce80, win 0x2e1b0, ios 0x210db4; - float getValue() { - return (m_fScaleX * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (m_fScaleX * m_length); - } - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - SliderThumb* getThumb() const { return m_thumb; } - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class SongCell : TableViewCell { - void updateBGColor(int index) = win 0x5c6b0; -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - static SongInfoLayer* create(int songID) = win 0x250520; - static SongInfoLayer* create(gd::string songName, gd::string artistName, gd::string downloadLink, gd::string artistNG, gd::string artistYT, gd::string artistFB) = win 0x250830; - - gd::string m_downloadLink; - gd::string m_artistNewgrounds; - gd::string m_artistYoutube; - gd::string m_artistFacebook; -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - virtual ~SongInfoObject() = mac 0x2f2040, win 0x196600; - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x2f2c70, win 0x1975c0; - virtual bool canEncode() = mac 0x2f2da0, win 0x11070; // shared with tons - - int m_songID; - gd::string m_songName; - gd::string m_artistName; - gd::string m_youtubeVideo; - gd::string m_youtubeChannel; - gd::string m_songURL; - int m_artistID; - float m_fileSize; - bool m_isUnknownSong; - int m_priority; - LevelSettingsObject* m_levelSettings; -} - -[[link(android)]] -class SpawnTriggerAction : cocos2d::CCNode { - static SpawnTriggerAction* createFromString(gd::string) = mac 0x17bf50; - - bool m_timerEnded; - float m_delay; - float m_timer; - int m_group; - int m_uuid; -} - -[[link(android)]] -class SpeedObject : cocos2d::CCNode { - Speed m_speed; - float m_xPos; - GameObject* m_object; - - static SpeedObject* create(GameObject* object, int speed, float x) = win 0x20de70; -} - -[[link(android)]] -class SpritePartDelegate {} - -[[link(android)]] -class StartPosObject : EffectGameObject { - static StartPosObject* create() = mac 0xda7c0, win 0x25aa40; - void setSettings(LevelSettingsObject*) = mac 0xda910; - - LevelSettingsObject* m_levelSettings; -} - -[[link(android)]] -class StatsCell : TableViewCell { - inline StatsCell() {} - inline StatsCell(char const* identifier, float parentHeight, float height) : TableViewCell(identifier, parentHeight, height) {} - void updateBGColor(int index) = win 0x59cf0; - virtual void draw() = mac 0x11bf80, win 0x59d40; -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - static StatsLayer* create() = win 0x25BCF0; -} - -[[link(android)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - inline TableView() {} - inline TableView(cocos2d::CCRect rect) : CCScrollLayerExt(rect) {} - - static TableView* create(TableViewDelegate*, TableViewDataSource*, cocos2d::CCRect) = mac 0x37eb30, win 0x30ed0; - void reloadData() = mac 0x37f970, win 0x317e0; - - virtual void onEnter() { - CCLayer::onEnter(); - } - virtual void onExit() { - CCLayer::onExit(); - } - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x380120, ios 0x21de24, win 0x31de0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x380be0, ios 0x21e5e8, win 0x31f30; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3809a0, ios 0x21e46c, win 0x31e80; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x380b20, ios 0x21e580, win 0x31ed0; - virtual void registerWithTouchDispatcher() = mac 0x37ff50, ios 0x21dcb4, win 0x12aa0; - virtual void scrollWheel(float, float) = mac 0x380cd0, ios 0x21e6b4, win 0x320a0; - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - int m_unused1; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[depends(CCIndexPath), link(android)]] -class TableViewCell : cocos2d::CCLayer { - inline TableViewCell() {} - inline ~TableViewCell() { - removeAllChildrenWithCleanup(true); - } - - inline TableViewCell(const char* p0, float p1, float p2) : m_unknownString(p0), m_width(p1), m_height(p2) { - m_backgroundLayer = cocos2d::CCLayerColor::create(cocos2d::ccc4(0,0,0,0), m_width, m_height); - addChild(m_backgroundLayer, -1); - m_mainLayer = cocos2d::CCLayer::create(); - addChild(m_mainLayer); - // = mac 0x383de0, win 0x32e70; - } - - static TableViewCell* create(const char* name, float width, float height) { - auto pRet = new TableViewCell(name, width, height); - - if (pRet) { - pRet->autorelease(); - return pRet; - } - - CC_SAFE_DELETE(pRet); - return nullptr; - } - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0.0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TeleportPortalObject : GameObject { - PAD = mac 0x8, win 0x4, android 0x4; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - bool m_teleportEase; -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - static TextAlertPopup* create(gd::string text, float time, float scale) = mac 0x157080, win 0x1450b0; -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - // https://www.youtube.com/watch?v=1LVW7IUyKMg - TextArea() = mac 0x19fba0, win 0x33110, ios 0x92c28; - inline TextArea(TextArea const&) : m_fontFile() {} - inline ~TextArea() {} - virtual void draw() {} - virtual void setOpacity(unsigned char) = mac 0x19f760, win 0x33800; - bool init(gd::string str, char const* font, float width, float height, cocos2d::CCPoint anchor, float scale, bool disableColor) = mac 0x19ec70, win 0x33370, ios 0x92444; - static TextArea* create(gd::string str, char const* font, float scale, float width, cocos2d::CCPoint anchor, float lineHeight, bool disableColor) = mac 0x19eb40, win 0x33270; - void colorAllCharactersTo(cocos2d::ccColor3B color) = win 0x33830; - void setString(gd::string str) = mac 0x19eda0, win 0x33480; - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) {return true;} -} - -[[link(android)]] -class ToggleTriggerAction : cocos2d::CCNode { - static ToggleTriggerAction* createFromString(gd::string) = mac 0x1765e0; -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer { - static TopArtistsLayer* create() = mac 0x192a90, win 0x25d8e0; - virtual ~TopArtistsLayer() = win 0x25d7c0; - void setupLeaderboard(cocos2d::CCArray*) = mac 0x193420; - virtual bool init() = mac 0x192c30, win 0x25d980; - void loadPage(int) = mac 0x193b60; - void setupPageInfo(gd::string, char const*) = mac 0x193730; -} - -[[link(android)]] -class TouchToggleAction : cocos2d::CCNode { - static TouchToggleAction* createFromString(gd::string) = mac 0x177e10; -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual void toggleGroupTriggered(int, bool) {} - virtual void spawnGroup(int) {} -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor { - static UILayer* create() = mac 0x27fd10, win 0x25f310; - virtual bool init() = mac 0x27fe40, win 0x25f3b0; - void disableMenu() = mac 0x280960; - void enableMenu() = mac 0x280940; - void pCommand(cocos2d::CCNode*) = mac 0x280830; - inline void toggleCheckpointsMenu(bool toggled) { - m_checkPointMenu->setVisible(toggled); - } - void onCheck(cocos2d::CCObject* sender) = mac 0x2803e0, win 0x25fb60; - void onDeleteCheck(cocos2d::CCObject* sender) = mac 0x280410, win 0x25fc90; - void onPause(cocos2d::CCObject* sender) = mac 0x2803c0, win 0x25fad0; - virtual void keyDown(cocos2d::enumKeyCodes key) = mac 0x280470, win 0x25f890; - virtual void keyUp(cocos2d::enumKeyCodes key) = mac 0x280600, win 0x25fa10; - UILayer() = win 0x25f230; - ~UILayer() = win 0x25fef0, mac 0x280c90; - - PAD = mac 0x16, win 0x8, android 0x8; - cocos2d::CCMenu* m_checkPointMenu; -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - ~UndoObject() = mac 0xa2fd0; - static UndoObject* create(GameObject*, UndoCommand) = mac 0x94ea0, win 0x16bc20; - static UndoObject* createWithArray(cocos2d::CCArray*, UndoCommand) = mac 0x96ee0, win 0x16bee0; - static UndoObject* createWithTransformObjects(cocos2d::CCArray* pObjects, UndoCommand nCommand) = win 0x16bcd0; - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - -[[link(android)]] -class UploadActionDelegate { - virtual void uploadActionFinished(int, int) {} - virtual void uploadActionFailed(int, int) {} -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - UploadPopupDelegate* m_popupDelegate; - TextArea* m_messageArea; - LoadingCircle* m_loadingCircle; - CCMenuItemSpriteExtra* m_closeBtn; -} - -[[link(android)]] -class UploadMessageDelegate {} - -[[link(android)]] -class UploadPopupDelegate { - virtual void onClosePopup() {} -} - -[[link(android)]] -class UserInfoDelegate { - virtual void getUserInfoFinished(GJUserScore *) {} - virtual void getUserInfoFailed(int) {} - virtual void userInfoChanged(GJUserScore *) {} -} - -[[link(android)]] -class UserListDelegate { - virtual void getUserListFinished(cocos2d::CCArray*, UserListType) {} - virtual void getUserListFailed(UserListType, GJErrorCode) {} - virtual void userListChanged(cocos2d::CCArray*, UserListType) {} - virtual void forceReloadList(UserListType) {} -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - VideoOptionsLayer* create() = win 0x1e0d70; - bool init() = win 0x1e0e10; - void onAdvanced(cocos2d::CCObject*) = win 0x1e1b40; - void onFullscreen(cocos2d::CCObject*) = win 0x1e1b60; - void onTextureQualityNext(cocos2d::CCObject*) = win 0x1e1b80; - void onTextureQualityPrev(cocos2d::CCObject*) = win 0x1e1b90; - void updateTextureQuality(int index) = win 0x1e1ba0; - void onResolutionPrev(cocos2d::CCObject*) = win 0x1e1c40; - void onResolutionNext(cocos2d::CCObject*) = win 0x1e1c50; - void updateResolution(int index) = win 0x1e1c60; - void toggleResolution() = win 0x1e1d90; - void onApply(cocos2d::CCObject*) = win 0x1e1e70; - - CCMenuItemSpriteExtra* m_prevResolution; - CCMenuItemSpriteExtra* m_nextResolution; - cocos2d::CCLabelBMFont* m_resolutionLabel; - cocos2d::CCLabelBMFont* m_resolutionText; - cocos2d::CCLabelBMFont* m_qualityLabel; - cocos2d::TextureQuality m_quality; - cocos2d::CCArray* m_resolutions; - bool m_isFullscreen; - int m_currentResolution; -} - -[[link(android)]] -class LevelTools { - static gd::string base64EncodeString(gd::string) = mac 0x294470, win 0x18b310; - static gd::string base64DecodeString(gd::string) = mac 0x294510, win 0x18b3b0; - static GJGameLevel* getLevel(int, bool) = mac 0x2908c0, win 0x189370; - static bool verifyLevelIntegrity(gd::string, int) = mac 0x294360, win 0x18b180; - static float xPosForTime(float, cocos2d::CCArray*, int) = mac 0x293d90, win 0x18acd0; - static float timeForXPos(float, cocos2d::CCArray*, int) = mac 0x293eb0, win 0x18ae70; - static gd::string getAudioFileName(int) = mac 0x292840, win 0x189fa0; - static gd::string getAudioTitle(int) = mac 0x2922f0, win 0x189c60; - static int artistForAudio(int) = mac 0x292d90, win 0x18A2D0; - static gd::string urlForAudio(int) = mac 0x292f10, win 0x18a4a0; - static gd::string nameForArtist(int) = win 0x18A3A0; - static gd::string ngURLForArtist(int) = win 0x18A7C0; - static gd::string ytURLForArtist(int) = win 0x18A8C0; - static gd::string fbURLForArtist(int) = win 0x18A9B0; - static gd::string getAudioString(int) = win 0x18AAA0; -} -// clang-format on diff --git a/bindings/bindings/2.200/Cocos2d-extras.bro b/bindings/bindings/2.200/Cocos2d-extras.bro deleted file mode 100644 index 62fa659..0000000 --- a/bindings/bindings/2.200/Cocos2d-extras.bro +++ /dev/null @@ -1,4652 +0,0 @@ -// clang-format off - -[[link(win, android)]] -class cocos2d::CCAccelAmplitude { - static cocos2d::CCAccelAmplitude* create(cocos2d::CCAction*, float); - - bool initWithAction(cocos2d::CCAction*, float); - - float getRate(); - - void setRate(float); - - // CCAccelAmplitude(cocos2d::CCAccelAmplitude const&); - // CCAccelAmplitude(); - - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCAccelDeccelAmplitude { - static cocos2d::CCAccelDeccelAmplitude* create(cocos2d::CCAction*, float); - - bool initWithAction(cocos2d::CCAction*, float); - - float getRate(); - - void setRate(float); - - // CCAccelDeccelAmplitude(cocos2d::CCAccelDeccelAmplitude const&); - // CCAccelDeccelAmplitude(); - - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCAccelerometer { - // CCAccelerometer(); - void setAccelerometerInterval(float); - void setDelegate(cocos2d::CCAccelerometerDelegate*); - // void update(double, double, double, double); -} - -[[link(win, android)]] -class cocos2d::CCAccelerometerDelegate { - // CCAccelerometerDelegate(cocos2d::CCAccelerometerDelegate const&); - // CCAccelerometerDelegate(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); -} - -[[link(win, android)]] -class cocos2d::CCAction { - static cocos2d::CCAction* create(); - - cocos2d::CCNode* getOriginalTarget(); - float getSpeedMod() const; - int getTag(); - cocos2d::CCNode* getTarget(); - - void setOriginalTarget(cocos2d::CCNode*); - void setSpeedMod(float); - void setTarget(cocos2d::CCNode*); - - // CCAction(cocos2d::CCAction const&); - // CCAction(); - char const* description(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void setTag(int); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual void step(float); -} - -[[link(win, android)]] -class cocos2d::CCActionCamera { - // CCActionCamera(cocos2d::CCActionCamera const&); - // CCActionCamera(); - - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCActionEase { - static cocos2d::CCActionEase* create(cocos2d::CCActionInterval*); - - bool initWithAction(cocos2d::CCActionInterval*); - - // CCActionEase(cocos2d::CCActionEase const&); - // CCActionEase(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); - virtual cocos2d::CCActionInterval* getInnerAction(); -} - -[[link(win, android)]] -class cocos2d::CCActionInstant { - // CCActionInstant(cocos2d::CCActionInstant const&); - // CCActionInstant(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool isDone(); - virtual void step(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCActionInterval { - static cocos2d::CCActionInterval* create(float); - - bool initWithDuration(float); - - float getAmplitudeRate(); - float getElapsed(); - bool getM_bFirstTick() const; - - void setAmplitudeRate(float); - - // CCActionInterval(cocos2d::CCActionInterval const&); - // CCActionInterval(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void step(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCActionManager { - cocos2d::CCAction* getActionByTag(unsigned int, cocos2d::CCObject*); - - // CCActionManager(cocos2d::CCActionManager const&); - // CCActionManager(); - void actionAllocWithHashElement(cocos2d::_hashElement*); - void addAction(cocos2d::CCAction*, cocos2d::CCNode*, bool); - void deleteHashElement(cocos2d::_hashElement*); - unsigned int numberOfRunningActionsInTarget(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllRunningActions(); - void pauseTarget(cocos2d::CCObject*); - void removeAction(cocos2d::CCAction*); - void removeActionAtIndex(unsigned int, cocos2d::_hashElement*); - void removeActionByTag(unsigned int, cocos2d::CCObject*); - void removeAllActions(); - void removeAllActionsFromTarget(cocos2d::CCObject*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCActionTween { - static cocos2d::CCActionTween* create(float, int, float, float); - static cocos2d::CCActionTween* create(float, char const*, float, float); - - bool initWithDuration(float, char const*, float, float); - - // CCActionTween(cocos2d::CCActionTween const&); - // CCActionTween(); - void updateTargetValue(float); - - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCActionTweenDelegate { - // CCActionTweenDelegate(cocos2d::CCActionTweenDelegate const&); - // CCActionTweenDelegate(); -} - -[[link(win, android)]] -class cocos2d::CCAnimate { - static cocos2d::CCAnimate* create(cocos2d::CCAnimation*); - - bool initWithAnimation(cocos2d::CCAnimation*); - - cocos2d::CCAnimation* getAnimation() const; - bool getRecenterChildren() const; - bool getRecenterFrames() const; - - void setAnimation(cocos2d::CCAnimation*); - void setRecenterChildren(bool); - void setRecenterFrames(bool); - - // CCAnimate(cocos2d::CCAnimate const&); - // CCAnimate(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCAnimation { - static cocos2d::CCAnimation* create(cocos2d::CCArray*, float); - static cocos2d::CCAnimation* create(cocos2d::CCArray*, float, unsigned int); - static cocos2d::CCAnimation* create(); - static cocos2d::CCAnimation* createWithSpriteFrames(cocos2d::CCArray*, float); - - bool init(); - bool initWithAnimationFrames(cocos2d::CCArray*, float, unsigned int); - bool initWithSpriteFrames(cocos2d::CCArray*, float); - - float getDelayPerUnit() const; - cocos2d::CCArray* getFrames() const; - unsigned int getLoops() const; - bool getRestoreOriginalFrame() const; - float getTotalDelayUnits() const; - - void setDelayPerUnit(float); - void setFrames(cocos2d::CCArray*); - void setLoops(unsigned int); - void setRestoreOriginalFrame(bool); - - // CCAnimation(cocos2d::CCAnimation const&); - // CCAnimation(); - void addSpriteFrame(cocos2d::CCSpriteFrame*); - void addSpriteFrameWithFileName(char const*); - void addSpriteFrameWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual float getDuration(); -} - -[[link(win, android)]] -class cocos2d::CCAnimationCache { - static void purgeSharedAnimationCache(); - static cocos2d::CCAnimationCache* sharedAnimationCache(); - - bool init(); - - // CCAnimationCache(cocos2d::CCAnimationCache const&); - // CCAnimationCache(); - void addAnimation(cocos2d::CCAnimation*, char const*); - void addAnimationsWithDictionary(cocos2d::CCDictionary*, char const*); - void addAnimationsWithFile(char const*); - cocos2d::CCAnimation* animationByName(char const*); - void parseVersion1(cocos2d::CCDictionary*); - void parseVersion2(cocos2d::CCDictionary*); - void removeAnimationByName(char const*); -} - -[[link(win, android)]] -class cocos2d::CCAnimationFrame { - bool initWithSpriteFrame(cocos2d::CCSpriteFrame*, float, cocos2d::CCDictionary*); - - float getDelayUnits() const; - cocos2d::CCSpriteFrame* getSpriteFrame() const; - cocos2d::CCDictionary* getUserInfo() const; - - void setDelayUnits(float); - void setSpriteFrame(cocos2d::CCSpriteFrame*); - void setUserInfo(cocos2d::CCDictionary*); - - // CCAnimationFrame(cocos2d::CCAnimationFrame const&); - // CCAnimationFrame(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); -} - -// [[link(win)]] -// class cocos2d::CCApplication { -// // CCApplication(cocos2d::CCApplication const&); -// // CCApplication(); -// virtual void gameDidSave(); -// bool getControllerConnected() const; -// [[link(win, android)]] -// virtual cocos2d::LanguageType getCurrentLanguage(); -// bool getForceTimer() const; -// bool getFullscreen() const; -// gd::string const& getResourceRootPath(); -// bool getShutdownCalled() const; -// bool getSleepMode() const; -// bool getSmoothFix() const; -// gd::string const& getStartupScriptFilename(); -// [[link(win, android)]] -// virtual cocos2d::TargetPlatform getTargetPlatform(); -// int getTimeElapsed(); -// bool getVerticalSyncEnabled() const; -// void leftMouseDown(); -// void leftMouseUp(); -// void logTimeElapsed(gd::string); -// void moveMouse(int, int); -// virtual void openURL(char const*); -// virtual void platformShutdown(); -// void resetForceTimer(); -// [[link(win, android)]] -// virtual int run(); -// [[link(win, android)]] -// virtual void setAnimationInterval(double); -// void setForceTimer(bool); -// void setFullscreen(bool); -// void setResourceRootPath(gd::string const&); -// void setShutdownCalled(bool); -// void setSleepMode(bool); -// void setSmoothFix(bool); -// void setStartupScriptFilename(gd::string const&); -// virtual void setupGLView(); -// void setupVerticalSync(); -// [[link(win, android)]] -// static cocos2d::CCApplication* sharedApplication(); -// void shutdownApplication(); -// void toggleMouseControl(bool); -// void toggleVerticalSync(bool); -// virtual void trySaveGame(bool); -// void updateController(); -// // void updateControllerKeys(CXBOXController*, int); -// void updateMouseControl(); -// void updateVerticalSync(); -// } - -[[link(win, android)]] -class cocos2d::CCApplicationProtocol { - // CCApplicationProtocol(cocos2d::CCApplicationProtocol const&); - // CCApplicationProtocol(); - - virtual void applicationWillBecomeActive(); - virtual void applicationWillResignActive(); - virtual void trySaveGame(bool); - virtual void gameDidSave(); - virtual void openURL(char const*); -} - -[[link(win, android)]] -class cocos2d::CCAtlasNode { - static cocos2d::CCAtlasNode* create(char const*, unsigned int, unsigned int, unsigned int); - - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int, unsigned int, unsigned int); - bool initWithTileFile(char const*, unsigned int, unsigned int, unsigned int); - - void setIgnoreContentScaleFactor(bool); - - // CCAtlasNode(cocos2d::CCAtlasNode const&); - // CCAtlasNode(); - void calculateMaxItems(); - void updateBlendFunc(); - void updateOpacityModifyRGB(); - - virtual void draw(); - virtual cocos2d::CCTextureAtlas* getTextureAtlas(); - virtual void setTextureAtlas(cocos2d::CCTextureAtlas*); - virtual unsigned int getQuadsToDraw(); - virtual void setQuadsToDraw(unsigned int); - virtual void updateAtlasValues(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCAutoreleasePool { - // CCAutoreleasePool(cocos2d::CCAutoreleasePool const&); - // CCAutoreleasePool(); - void addObject(cocos2d::CCObject*); - void clear(); - void removeObject(cocos2d::CCObject*); -} - -[[link(win, android)]] -class cocos2d::CCBMFontConfiguration { - static cocos2d::CCBMFontConfiguration* create(char const*); - - bool initWithFNTfile(char const*); - - char const* getAtlasName(); - gd::set* getCharacterSet() const; - - void setAtlasName(char const*); - - // CCBMFontConfiguration(cocos2d::CCBMFontConfiguration const&); - // CCBMFontConfiguration(); - char const* description(); - void parseCharacterDefinition(gd::string, cocos2d::_BMFontDef*); - void parseCommonArguments(gd::string); - gd::set* parseConfigFile(char const*); - void parseImageFileName(gd::string, char const*); - void parseInfoArguments(gd::string); - void parseKerningEntry(gd::string); - void purgeFontDefDictionary(); - void purgeKerningDictionary(); -} - -[[link(win, android)]] -class cocos2d::CCBezierBy { - static cocos2d::CCBezierBy* create(float, cocos2d::_ccBezierConfig const&); - - bool initWithDuration(float, cocos2d::_ccBezierConfig const&); - - // CCBezierBy(cocos2d::CCBezierBy const&); - // CCBezierBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCBezierTo { - static cocos2d::CCBezierTo* create(float, cocos2d::_ccBezierConfig const&); - - bool initWithDuration(float, cocos2d::_ccBezierConfig const&); - - // CCBezierTo(cocos2d::CCBezierTo const&); - // CCBezierTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCBlendProtocol { - // CCBlendProtocol(cocos2d::CCBlendProtocol const&); - // CCBlendProtocol(); -} - -[[link(win, android)]] -class cocos2d::CCBlink { - static cocos2d::CCBlink* create(float, unsigned int); - - bool initWithDuration(float, unsigned int); - - // CCBlink(cocos2d::CCBlink const&); - // CCBlink(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCBool { - static cocos2d::CCBool* create(bool); - - bool getValue() const; - - void setValue(bool); - - // CCBool(cocos2d::CCBool const&); - // CCBool(bool); - - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCCallFunc { - static cocos2d::CCCallFunc* create(int); - static cocos2d::CCCallFunc* create(cocos2d::CCObject*, cocos2d::SEL_CallFunc); - - int getScriptHandler(); - cocos2d::CCObject* getTargetCallback(); - - void setTargetCallback(cocos2d::CCObject*); - - // CCCallFunc(cocos2d::CCCallFunc const&); - // CCCallFunc(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithTarget(cocos2d::CCObject*); - virtual void execute(); -} - -[[link(win, android)]] -class cocos2d::CCCallFuncN { - static cocos2d::CCCallFuncN* create(int); - static cocos2d::CCCallFuncN* create(cocos2d::CCObject*, cocos2d::SEL_CallFuncN); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_CallFuncN); - - // CCCallFuncN(cocos2d::CCCallFuncN const&); - // CCCallFuncN(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void execute(); -} - -[[link(win, android)]] -class cocos2d::CCCallFuncND { - static cocos2d::CCCallFuncND* create(cocos2d::CCObject*, cocos2d::SEL_CallFuncND, void*); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_CallFuncND, void*); - - // CCCallFuncND(cocos2d::CCCallFuncND const&); - // CCCallFuncND(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void execute(); -} - -[[link(win, android)]] -class cocos2d::CCCallFuncO { - static cocos2d::CCCallFuncO* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, cocos2d::CCObject*); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, cocos2d::CCObject*); - - cocos2d::CCObject* getObject(); - - void setObject(cocos2d::CCObject*); - - // CCCallFuncO(cocos2d::CCCallFuncO const&); - // CCCallFuncO(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void execute(); -} - -[[link(win, android)]] -class cocos2d::CCCamera { - static float getZEye(); - - void init(); - - void getCenterXYZ(float*, float*, float*); - void getEyeXYZ(float*, float*, float*); - void getUpXYZ(float*, float*, float*); - - void setCenterXYZ(float, float, float); - void setDirty(bool); - void setEyeXYZ(float, float, float); - void setUpXYZ(float, float, float); - - // CCCamera(); - char const* description(); - bool isDirty(); - void locate(); - void restore(); -} - -[[link(win, android)]] -class cocos2d::CCCardinalSplineBy { - static cocos2d::CCCardinalSplineBy* create(float, cocos2d::CCPointArray*, float); - - // CCCardinalSplineBy(cocos2d::CCCardinalSplineBy const&); - // CCCardinalSplineBy(); - - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); - virtual void updatePosition(cocos2d::CCPoint&); -} - -[[link(win, android)]] -class cocos2d::CCCardinalSplineTo { - static cocos2d::CCCardinalSplineTo* create(float, cocos2d::CCPointArray*, float); - - bool initWithDuration(float, cocos2d::CCPointArray*, float); - - cocos2d::CCPointArray* getPoints(); - - void setPoints(cocos2d::CCPointArray*); - - // CCCardinalSplineTo(cocos2d::CCCardinalSplineTo const&); - // CCCardinalSplineTo(); - - virtual cocos2d::CCCardinalSplineTo* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); - virtual void updatePosition(cocos2d::CCPoint&); -} - -[[link(win, android)]] -class cocos2d::CCCatmullRomBy { - static cocos2d::CCCatmullRomBy* create(float, cocos2d::CCPointArray*); - - bool initWithDuration(float, cocos2d::CCPointArray*); - - // CCCatmullRomBy(cocos2d::CCCatmullRomBy const&); - // CCCatmullRomBy(); -} - -[[link(win, android)]] -class cocos2d::CCCatmullRomTo { - static cocos2d::CCCatmullRomTo* create(float, cocos2d::CCPointArray*); - - bool initWithDuration(float, cocos2d::CCPointArray*); - - // CCCatmullRomTo(cocos2d::CCCatmullRomTo const&); - // CCCatmullRomTo(); -} - -[[link(win, android)]] -class cocos2d::CCClippingNode { - static cocos2d::CCClippingNode* create(cocos2d::CCNode*); - static cocos2d::CCClippingNode* create(); - - float getAlphaThreshold() const; - cocos2d::CCNode* getStencil() const; - - void setAlphaThreshold(float); - void setInverted(bool); - void setStencil(cocos2d::CCNode*); - - // CCClippingNode(); - // CCClippingNode(cocos2d::CCClippingNode const&); - bool isInverted() const; - - virtual bool init(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void visit(); - virtual bool init(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCComponent { - static cocos2d::CCComponent* create(); - - char const* getName() const; - cocos2d::CCNode* getOwner() const; - - void setName(char const*); - void setOwner(cocos2d::CCNode*); - - // CCComponent(); - // CCComponent(cocos2d::CCComponent const&); - - virtual bool isEnabled() const; - virtual void update(float); - virtual bool init(); - virtual void onEnter(); - virtual void onExit(); - virtual bool serialize(void*); - virtual void setEnabled(bool); -} - -[[link(win, android)]] -class cocos2d::CCComponentContainer { - // CCComponentContainer(cocos2d::CCNode*); - // CCComponentContainer(cocos2d::CCComponentContainer const&); - void alloc(); - bool isEmpty() const; - - virtual cocos2d::CCComponent* get(char const*) const; - virtual bool add(cocos2d::CCComponent*); - virtual bool remove(char const*); - virtual bool remove(cocos2d::CCComponent*); - virtual void removeAll(); - virtual void visit(float); -} - -[[link(win, android)]] -class cocos2d::CCConfiguration { - static void purgeConfiguration(); - static cocos2d::CCConfiguration* sharedConfiguration(); - - bool init(); - - bool getBool(char const*, bool) const; - char const* getCString(char const*, char const*) const; - int getMaxModelviewStackDepth() const; - int getMaxTextureSize() const; - int getMaxTextureUnits() const; - double getNumber(char const*, double) const; - cocos2d::CCObject* getObject(char const*) const; - - void setObject(char const*, cocos2d::CCObject*); - - // CCConfiguration(); - // CCConfiguration(cocos2d::CCConfiguration const&); - bool checkForGLExtension(gd::string const&) const; - void dumpInfo() const; - void gatherGPUInfo(); - void loadConfigFile(char const*); - bool supportsBGRA8888() const; - bool supportsDiscardFramebuffer() const; - bool supportsNPOT() const; - bool supportsPVRTC() const; - bool supportsShareableVAO() const; -} - -// [[link(win, android)]] -// class CCContentManager { -// CCContentManager(CCContentManager const&); -// CCContentManager(); -// cocos2d::CCDictionary* addDict(char const*, bool); -// cocos2d::CCDictionary* addDictDS(char const*); -// void clearCache(); -// bool init(); -// static CCContentManager* sharedManager(); -// } - -[[link(win, android)]] -class cocos2d::CCCopying { - // CCCopying(cocos2d::CCCopying const&); - // CCCopying(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); -} - -[[link(win, android)]] -class cocos2d::CCDataVisitor { - // CCDataVisitor(cocos2d::CCDataVisitor const&); - // CCDataVisitor(); - - virtual void visit(cocos2d::CCBool const*); - virtual void visit(cocos2d::CCInteger const*); - virtual void visit(cocos2d::CCFloat const*); - virtual void visit(cocos2d::CCDouble const*); - virtual void visit(cocos2d::CCString const*); - virtual void visit(cocos2d::CCArray const*); - virtual void visit(cocos2d::CCDictionary const*); - virtual void visit(cocos2d::CCSet const*); -} - -[[link(win, android)]] -class cocos2d::CCDeccelAmplitude { - static cocos2d::CCDeccelAmplitude* create(cocos2d::CCAction*, float); - - bool initWithAction(cocos2d::CCAction*, float); - - float getRate(); - - void setRate(float); - - // CCDeccelAmplitude(cocos2d::CCDeccelAmplitude const&); - // CCDeccelAmplitude(); - - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCDelayTime { - static cocos2d::CCDelayTime* create(float); - - // CCDelayTime(cocos2d::CCDelayTime const&); - // CCDelayTime(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCDictElement { - // CCDictElement(int, cocos2d::CCObject*); - // CCDictElement(char const*, cocos2d::CCObject*); - int getIntKey() const; - cocos2d::CCObject* getObject() const; - char const* getStrKey() const; -} - -[[link(win, android)]] -class cocos2d::CCDirectorDelegate { - // CCDirectorDelegate(cocos2d::CCDirectorDelegate const&); - // CCDirectorDelegate(); -} - -[[link(win, android)]] -class cocos2d::CCDouble { - // CCDouble(cocos2d::CCDouble const&); - // CCDouble(double); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); - static cocos2d::CCDouble* create(double); - double getValue() const; -} - -// [[link(win)]] -// class cocos2d::CCEGLView { -// // CCEGLView(); -// // CCEGLView(cocos2d::CCEGLView const&); -// void capture(); -// void centerWindow(); -// void checkErrorGL(char const*); -// static cocos2d::CCEGLView* create(gd::string const&); -// static cocos2d::CCEGLView* createWithFullScreen(gd::string const&); -// static cocos2d::CCEGLView* createWithFullScreen(gd::string const&, GLFWvidmode const&, GLFWmonitor*); -// static cocos2d::CCEGLView* createWithRect(gd::string const&, cocos2d::CCRect, float); -// void enableRetina(bool); -// virtual void end(); -// bool getCursorLocked() const; -// cocos2d::CCSize getDisplaySize(); -// float getFrameZoomFactor(); -// bool getGameplayActive() const; -// bool getIsFullscreen() const; -// int getRetinaFactor() const; -// bool getShouldHideCursor() const; -// GLFWwindow* getWindow() const; -// cocos2d::CCSize getWindowedSize() const; -// void iconify(); -// bool initGlew(); -// bool initWithFullScreen(gd::string const&); -// bool initWithFullscreen(gd::string const&, GLFWvidmode const&, GLFWmonitor*); -// bool initWithRect(gd::string const&, cocos2d::CCRect, float); -// virtual bool isOpenGLReady(); -// bool isRetinaEnabled() const; -// void onGLFWCharCallback(GLFWwindow*, unsigned int); -// void onGLFWCursorEnterFunCallback(GLFWwindow*, int); -// void onGLFWDeviceChangeFunCallback(GLFWwindow*); -// void onGLFWError(int, char const*); -// void onGLFWKeyCallback(GLFWwindow*, int, int, int, int); -// void onGLFWMouseCallBack(GLFWwindow*, int, int, int); -// void onGLFWMouseMoveCallBack(GLFWwindow*, double, double); -// void onGLFWMouseScrollCallback(GLFWwindow*, double, double); -// void onGLFWWindowCloseFunCallback(GLFWwindow*); -// void onGLFWWindowIconifyFunCallback(GLFWwindow*, int); -// void onGLFWWindowPosCallback(GLFWwindow*, int, int); -// void onGLFWWindowSizeFunCallback(GLFWwindow*, int, int); -// void onGLFWframebuffersize(GLFWwindow*, int, int); -// void pollEvents(); -// void releaseCapture(); -// void resizeWindow(int, int); -// virtual void setFrameSize(float, float); -// void setFrameZoomFactor(float); -// virtual void setIMEKeyboardState(bool); -// virtual void setScissorInPoints(float, float, float, float); -// virtual void setViewPortInPoints(float, float, float, float); -// void setWindowedSize(cocos2d::CCSize); -// void setupWindow(cocos2d::CCRect); -// static cocos2d::CCEGLView* sharedOpenGLView(); -// void showCursor(bool); -// void showMessage(gd::string); -// virtual void swapBuffers(); -// void toggleFullScreen(bool); -// void toggleGameplayActive(bool); -// void toggleLockCursor(bool); -// void updateDesignSize(int, int); -// void updateFrameSize(); -// void updateWindow(int, int); -// bool windowShouldClose(); -// } - -[[link(win, android)]] -class cocos2d::CCEGLViewProtocol { - float getScaleX() const; - float getScaleY() const; - void getSetOfTouchesEndOrCancel(cocos2d::CCSet&, int, int* const, float* const, float* const); - char const* getViewName(); - cocos2d::CCRect const& getViewPortRect() const; - - // CCEGLViewProtocol(cocos2d::CCEGLViewProtocol const&); - // CCEGLViewProtocol(); - void handleTouchesBegin(int, int* const, float* const, float* const); - void handleTouchesCancel(int, int* const, float* const, float* const); - void handleTouchesEnd(int, int* const, float* const, float* const); - void handleTouchesMove(int, int* const, float* const, float* const); - void updateDesignResolutionSize(); - - virtual void setFrameSize(float, float); - virtual void setDesignResolutionSize(float, float, ResolutionPolicy); - virtual void setTouchDelegate(cocos2d::EGLTouchDelegate*); - virtual void setViewPortInPoints(float, float, float, float); - virtual void setScissorInPoints(float, float, float, float); - virtual bool isScissorEnabled(); - virtual cocos2d::CCRect getScissorRect(); - virtual void setViewName(char const*); - virtual void pollInputEvents(); - virtual cocos2d::CCSize const& getDesignResolutionSize() const; - virtual cocos2d::CCSize const& getFrameSize() const; - virtual cocos2d::CCPoint getVisibleOrigin() const; - virtual cocos2d::CCSize getVisibleSize() const; -} - -[[link(win, android)]] -class cocos2d::CCEaseBackIn { - static cocos2d::CCEaseBackIn* create(cocos2d::CCActionInterval*); - - // CCEaseBackIn(cocos2d::CCEaseBackIn const&); - // CCEaseBackIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBackInOut { - static cocos2d::CCEaseBackInOut* create(cocos2d::CCActionInterval*); - - // CCEaseBackInOut(cocos2d::CCEaseBackInOut const&); - // CCEaseBackInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBackOut { - static cocos2d::CCEaseBackOut* create(cocos2d::CCActionInterval*); - - // CCEaseBackOut(cocos2d::CCEaseBackOut const&); - // CCEaseBackOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBounce { - static cocos2d::CCEaseBounce* create(cocos2d::CCActionInterval*); - - // CCEaseBounce(cocos2d::CCEaseBounce const&); - // CCEaseBounce(); - float bounceTime(float); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBounceIn { - static cocos2d::CCEaseBounceIn* create(cocos2d::CCActionInterval*); - - // CCEaseBounceIn(cocos2d::CCEaseBounceIn const&); - // CCEaseBounceIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBounceInOut { - static cocos2d::CCEaseBounceInOut* create(cocos2d::CCActionInterval*); - - // CCEaseBounceInOut(cocos2d::CCEaseBounceInOut const&); - // CCEaseBounceInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseBounceOut { - static cocos2d::CCEaseBounceOut* create(cocos2d::CCActionInterval*); - - // CCEaseBounceOut(cocos2d::CCEaseBounceOut const&); - // CCEaseBounceOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseElastic { - static cocos2d::CCEaseElastic* create(cocos2d::CCActionInterval*); - static cocos2d::CCEaseElastic* create(cocos2d::CCActionInterval*, float); - - bool initWithAction(cocos2d::CCActionInterval*, float); - - float getPeriod(); - - void setPeriod(float); - - // CCEaseElastic(cocos2d::CCEaseElastic const&); - // CCEaseElastic(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticIn { - static cocos2d::CCEaseElasticIn* create(cocos2d::CCActionInterval*); - static cocos2d::CCEaseElasticIn* create(cocos2d::CCActionInterval*, float); - - // CCEaseElasticIn(cocos2d::CCEaseElasticIn const&); - // CCEaseElasticIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticInOut { - static cocos2d::CCEaseElasticInOut* create(cocos2d::CCActionInterval*); - static cocos2d::CCEaseElasticInOut* create(cocos2d::CCActionInterval*, float); - - // CCEaseElasticInOut(cocos2d::CCEaseElasticInOut const&); - // CCEaseElasticInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticOut { - static cocos2d::CCEaseElasticOut* create(cocos2d::CCActionInterval*); - static cocos2d::CCEaseElasticOut* create(cocos2d::CCActionInterval*, float) = mac 0x4EE060; - - // CCEaseElasticOut(cocos2d::CCEaseElasticOut const&); - // CCEaseElasticOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseExponentialIn { - static cocos2d::CCEaseExponentialIn* create(cocos2d::CCActionInterval*); - - // CCEaseExponentialIn(cocos2d::CCEaseExponentialIn const&); - // CCEaseExponentialIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseExponentialInOut { - static cocos2d::CCEaseExponentialInOut* create(cocos2d::CCActionInterval*); - - // CCEaseExponentialInOut(cocos2d::CCEaseExponentialInOut const&); - // CCEaseExponentialInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseExponentialOut { - static cocos2d::CCEaseExponentialOut* create(cocos2d::CCActionInterval*); - - // CCEaseExponentialOut(cocos2d::CCEaseExponentialOut const&); - // CCEaseExponentialOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseIn { - static cocos2d::CCEaseIn* create(cocos2d::CCActionInterval*, float); - - // CCEaseIn(cocos2d::CCEaseIn const&); - // CCEaseIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseInOut { - static cocos2d::CCEaseInOut* create(cocos2d::CCActionInterval*, float); - - // CCEaseInOut(cocos2d::CCEaseInOut const&); - // CCEaseInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseOut { - static cocos2d::CCEaseOut* create(cocos2d::CCActionInterval*, float); - - // CCEaseOut(cocos2d::CCEaseOut const&); - // CCEaseOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseRateAction { - static cocos2d::CCEaseRateAction* create(cocos2d::CCActionInterval*, float); - - bool initWithAction(cocos2d::CCActionInterval*, float); - - float getRate(); - - void setRate(float); - - // CCEaseRateAction(cocos2d::CCEaseRateAction const&); - // CCEaseRateAction(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseSineIn { - static cocos2d::CCEaseSineIn* create(cocos2d::CCActionInterval*); - - // CCEaseSineIn(cocos2d::CCEaseSineIn const&); - // CCEaseSineIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseSineOut { - static cocos2d::CCEaseSineOut* create(cocos2d::CCActionInterval*); - - // CCEaseSineOut(cocos2d::CCEaseSineOut const&); - // CCEaseSineOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEvent { - // CCEvent(cocos2d::CCEvent const&); - // CCEvent(); -} - -[[link(win, android)]] -class cocos2d::CCFadeOutBLTiles { - static cocos2d::CCFadeOutBLTiles* create(float, cocos2d::CCSize const&); - - // CCFadeOutBLTiles(cocos2d::CCFadeOutBLTiles const&); - // CCFadeOutBLTiles(); - - virtual float testFunc(cocos2d::CCSize const&, float); -} - -[[link(win, android)]] -class cocos2d::CCFadeOutDownTiles { - static cocos2d::CCFadeOutDownTiles* create(float, cocos2d::CCSize const&); - - // CCFadeOutDownTiles(cocos2d::CCFadeOutDownTiles const&); - // CCFadeOutDownTiles(); - - virtual float testFunc(cocos2d::CCSize const&, float); -} - -[[link(win, android)]] -class cocos2d::CCFadeOutTRTiles { - static cocos2d::CCFadeOutTRTiles* create(float, cocos2d::CCSize const&); - - // CCFadeOutTRTiles(cocos2d::CCFadeOutTRTiles const&); - // CCFadeOutTRTiles(); - void turnOffTile(cocos2d::CCPoint const&); - void turnOnTile(cocos2d::CCPoint const&); - - virtual void update(float); - virtual float testFunc(cocos2d::CCSize const&, float); - virtual void transformTile(cocos2d::CCPoint const&, float); -} - -[[link(win, android)]] -class cocos2d::CCFadeOutUpTiles { - static cocos2d::CCFadeOutUpTiles* create(float, cocos2d::CCSize const&); - - // CCFadeOutUpTiles(cocos2d::CCFadeOutUpTiles const&); - // CCFadeOutUpTiles(); - - virtual float testFunc(cocos2d::CCSize const&, float); - virtual void transformTile(cocos2d::CCPoint const&, float); -} - -[[link(win, android)]] -class cocos2d::CCFadeTo { - static cocos2d::CCFadeTo* create(float, unsigned char); - - bool initWithDuration(float, unsigned char); - - // CCFadeTo(cocos2d::CCFadeTo const&); - // CCFadeTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&); - virtual gd::string getNewFilename(char const*); - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2(); - virtual bool init(); - virtual bool isAbsolutePath(gd::string const&); - virtual bool isPopupNotify(); - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool); - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils(); - virtual bool shouldUseHD(); - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -// [[link(win)]] -// class cocos2d::CCFileUtilsWin32 { -// // CCFileUtilsWin32(); -// // CCFileUtilsWin32(cocos2d::CCFileUtilsWin32 const&); -// virtual void addSearchPath(char const*); -// virtual gd::string fullPathForFilename(char const*); -// virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); -// virtual gd::string getWritablePath2(); -// virtual gd::string getWritablePath(); -// virtual bool init(); -// virtual bool isAbsolutePath(gd::string const&); -// virtual bool isFileExist(gd::string const&); -// virtual void removeSearchPath(char const*); -// gd::string utf8Togbk(char const*); -// } - -[[link(win, android)]] -class cocos2d::CCFiniteTimeAction { - float getDuration(); - - void setDuration(float); - - // CCFiniteTimeAction(cocos2d::CCFiniteTimeAction const&); - // CCFiniteTimeAction(); - - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFlipX3D { - static cocos2d::CCFlipX3D* create(float); - - // CCFlipX3D(cocos2d::CCFlipX3D const&); - // CCFlipX3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithDuration(float); - virtual bool initWithSize(cocos2d::CCSize const&, float); -} - -[[link(win, android)]] -class cocos2d::CCFlipX { - static cocos2d::CCFlipX* create(bool); - - bool initWithFlipX(bool); - - // CCFlipX(cocos2d::CCFlipX const&); - // CCFlipX(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFlipY3D { - static cocos2d::CCFlipY3D* create(float); - - // CCFlipY3D(cocos2d::CCFlipY3D const&); - // CCFlipY3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCFlipY { - static cocos2d::CCFlipY* create(bool); - - bool initWithFlipY(bool); - - // CCFlipY(cocos2d::CCFlipY const&); - // CCFlipY(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFloat { - static cocos2d::CCFloat* create(float); - - float getValue() const; - - // CCFloat(cocos2d::CCFloat const&); - // CCFloat(float); - - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCFollow { - static cocos2d::CCFollow* create(cocos2d::CCNode*, cocos2d::CCRect const&); - - bool initWithTarget(cocos2d::CCNode*, cocos2d::CCRect const&); - - void setBoudarySet(bool); - - // CCFollow(cocos2d::CCFollow const&); - // CCFollow(); - bool isBoundarySet(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void stop(); - virtual void step(float); -} - -[[link(win, android)]] -class cocos2d::CCFontSprite { - // CCFontSprite(cocos2d::CCFontSprite const&); - // CCFontSprite(); -} - -[[link(win, android)]] -class cocos2d::CCGLProgram { - bool initWithVertexShaderByteArray(char const*, char const*); - bool initWithVertexShaderFilename(char const*, char const*); - - unsigned int const getProgram(); - int getUniformLocationForName(char const*); - - void setUniformLocationWith1f(int, float); - void setUniformLocationWith1i(int, int); - void setUniformLocationWith2f(int, float, float); - void setUniformLocationWith2fv(int, float*, unsigned int); - void setUniformLocationWith2i(int, int, int); - void setUniformLocationWith2iv(int, int*, unsigned int); - void setUniformLocationWith3f(int, float, float, float); - void setUniformLocationWith3fv(int, float*, unsigned int); - void setUniformLocationWith3i(int, int, int, int); - void setUniformLocationWith3iv(int, int*, unsigned int); - void setUniformLocationWith4f(int, float, float, float, float); - void setUniformLocationWith4fv(int, float*, unsigned int); - void setUniformLocationWith4i(int, int, int, int, int); - void setUniformLocationWith4iv(int, int*, unsigned int); - void setUniformLocationWithMatrix3fv(int, float*, unsigned int); - void setUniformLocationWithMatrix4fv(int, float*, unsigned int); - void setUniformsForBuiltins(); - - // CCGLProgram(cocos2d::CCGLProgram const&); - // CCGLProgram(); - void addAttribute(char const*, unsigned int); - bool compileShader(unsigned int*, unsigned int, char const*); - char const* description(); - char const* fragmentShaderLog(); - bool link(); - // char const* logForOpenGLObject(unsigned int, void (__cdecl*)(unsigned int, unsigned int, int*), void (__cdecl*)(unsigned int, int, int*, char*)); - char const* programLog(); - void reset(); - bool updateUniformLocation(int, void*, unsigned int); - void updateUniforms(); - void use(); - char const* vertexShaderLog(); -} - -[[link(win, android)]] -class cocos2d::CCGrid3D { - static cocos2d::CCGrid3D* create(cocos2d::CCSize const&); - static cocos2d::CCGrid3D* create(cocos2d::CCSize const&, cocos2d::CCTexture2D*, bool); - - void setVertex(cocos2d::CCPoint const&, cocos2d::_ccVertex3F const&); - - // CCGrid3D(cocos2d::CCGrid3D const&); - // CCGrid3D(); - cocos2d::_ccVertex3F originalVertex(cocos2d::CCPoint const&); - cocos2d::_ccVertex3F vertex(cocos2d::CCPoint const&); - - virtual void blit(); - virtual void reuse(); - virtual void calculateVertexPoints(); -} - -[[link(win, android)]] -class cocos2d::CCGrid3DAction { - void setVertex(cocos2d::CCPoint const&, cocos2d::_ccVertex3F const&); - - // CCGrid3DAction(cocos2d::CCGrid3DAction const&); - // CCGrid3DAction(); - cocos2d::_ccVertex3F originalVertex(cocos2d::CCPoint const&); - cocos2d::_ccVertex3F vertex(cocos2d::CCPoint const&); - - virtual cocos2d::CCGridBase* getGrid(); -} - -[[link(win, android)]] -class cocos2d::CCGridAction { - static cocos2d::CCGridAction* create(float, cocos2d::CCSize const&); - - // CCGridAction(cocos2d::CCGridAction const&); - // CCGridAction(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); - virtual bool initWithDuration(float, cocos2d::CCSize const&); - virtual cocos2d::CCGridBase* getGrid(); -} - -[[link(win, android)]] -class cocos2d::CCGridBase { - static cocos2d::CCGridBase* create(cocos2d::CCSize const&); - static cocos2d::CCGridBase* create(cocos2d::CCSize const&, cocos2d::CCTexture2D*, bool); - - bool initWithSize(cocos2d::CCSize const&); - bool initWithSize(cocos2d::CCSize const&, cocos2d::CCTexture2D*, bool); - - cocos2d::CCSize const& getGridSize(); - int getReuseGrid(); - cocos2d::CCPoint const& getStep(); - - void setActive(bool); - void setGridSize(cocos2d::CCSize const&); - void setReuseGrid(int); - void setStep(cocos2d::CCPoint const&); - void setTextureFlipped(bool); - - // CCGridBase(cocos2d::CCGridBase const&); - // CCGridBase(); - void afterDraw(cocos2d::CCNode*); - void beforeDraw(); - bool isActive(); - bool isTextureFlipped(); - void set2DProjection(); - - virtual void blit(); - virtual void reuse(); - virtual void calculateVertexPoints(); -} - -[[link(win, android)]] -class cocos2d::CCHide { - static cocos2d::CCHide* create(); - - // CCHide(cocos2d::CCHide const&); - // CCHide(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCIMEDelegate { - // CCIMEDelegate(); - // CCIMEDelegate(cocos2d::CCIMEDelegate const&); - - virtual bool attachWithIME(); - virtual bool detachWithIME(); - virtual bool canAttachWithIME(); - virtual void didAttachWithIME(); - virtual bool canDetachWithIME(); - virtual void didDetachWithIME(); - virtual void insertText(char const*, int, cocos2d::enumKeyCodes); - virtual void deleteBackward(); - virtual void deleteForward(); - virtual char const* getContentText(); - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - // CCIMEDispatcher(); - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); - static cocos2d::CCIMEDispatcher* sharedDispatcher(); -} - -[[link(win, android)]] -class cocos2d::CCInteger { - static cocos2d::CCInteger* create(int); - - int getValue() const; - - void setValue(int); - - // CCInteger(cocos2d::CCInteger const&); - // CCInteger(int); - - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCJumpBy { - static cocos2d::CCJumpBy* create(float, cocos2d::CCPoint const&, float, unsigned int); - - bool initWithDuration(float, cocos2d::CCPoint const&, float, unsigned int); - - // CCJumpBy(cocos2d::CCJumpBy const&); - // CCJumpBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCJumpTiles3D { - static cocos2d::CCJumpTiles3D* create(float, cocos2d::CCSize const&, unsigned int, float); - - bool initWithDuration(float, cocos2d::CCSize const&, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - - void setAmplitude(float); - void setAmplitudeRate(float); - - // CCJumpTiles3D(cocos2d::CCJumpTiles3D const&); - // CCJumpTiles3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCJumpTo { - static cocos2d::CCJumpTo* create(float, cocos2d::CCPoint const&, float, int); - - // CCJumpTo(cocos2d::CCJumpTo const&); - // CCJumpTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDelegate { - // CCKeyboardDelegate(cocos2d::CCKeyboardDelegate const&); - // CCKeyboardDelegate(); - - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool); - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes); - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardHandler { - static cocos2d::CCKeyboardHandler* handlerWithDelegate(cocos2d::CCKeyboardDelegate*); - - cocos2d::CCKeyboardDelegate* getDelegate(); - - void setDelegate(cocos2d::CCKeyboardDelegate*); - - // CCKeyboardHandler(cocos2d::CCKeyboardHandler const&); - // CCKeyboardHandler(); - - virtual bool initWithDelegate(cocos2d::CCKeyboardDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeypadDelegate { - // CCKeypadDelegate(cocos2d::CCKeypadDelegate const&); - // CCKeypadDelegate(); - - virtual void keyBackClicked(); - virtual void keyMenuClicked(); -} - -[[link(win, android)]] -class cocos2d::CCKeypadDispatcher { - // CCKeypadDispatcher(cocos2d::CCKeypadDispatcher const&); - // CCKeypadDispatcher(); - void addDelegate(cocos2d::CCKeypadDelegate*); - bool dispatchKeypadMSG(cocos2d::ccKeypadMSGType); - void forceAddDelegate(cocos2d::CCKeypadDelegate*); - void forceRemoveDelegate(cocos2d::CCKeypadDelegate*); - void removeDelegate(cocos2d::CCKeypadDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeypadHandler { - static cocos2d::CCKeypadHandler* handlerWithDelegate(cocos2d::CCKeypadDelegate*); - - cocos2d::CCKeypadDelegate* getDelegate(); - - void setDelegate(cocos2d::CCKeypadDelegate*); - - // CCKeypadHandler(cocos2d::CCKeypadHandler const&); - // CCKeypadHandler(); - - virtual bool initWithDelegate(cocos2d::CCKeypadDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCLabelAtlas { - static cocos2d::CCLabelAtlas* create(char const*, char const*); - static cocos2d::CCLabelAtlas* create(char const*, char const*, unsigned int, unsigned int, unsigned int); - - bool initWithString(char const*, char const*); - bool initWithString(char const*, char const*, unsigned int, unsigned int, unsigned int); - bool initWithString(char const*, cocos2d::CCTexture2D*, unsigned int, unsigned int, unsigned int); - - // CCLabelAtlas(cocos2d::CCLabelAtlas const&); - // CCLabelAtlas(); - - virtual void updateAtlasValues(); - - virtual void setString(char const*); - virtual char const* getString(); -} - -[[link(win, android)]] -class cocos2d::CCLabelProtocol { - // CCLabelProtocol(cocos2d::CCLabelProtocol const&); - // CCLabelProtocol(); -} - -[[link(win, android)]] -class cocos2d::CCLabelTTF { - static cocos2d::CCLabelTTF* create(char const*, char const*, float); - static cocos2d::CCLabelTTF* create(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment); - static cocos2d::CCLabelTTF* create(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment, cocos2d::CCVerticalTextAlignment); - static cocos2d::CCLabelTTF* create(); - static cocos2d::CCLabelTTF* createWithFontDefinition(char const*, cocos2d::_ccFontDefinition&); - - bool initWithString(char const*, char const*, float); - bool initWithString(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment); - bool initWithString(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment, cocos2d::CCVerticalTextAlignment); - bool initWithStringAndTextDefinition(char const*, cocos2d::_ccFontDefinition&); - - cocos2d::CCSize getDimensions(); - char const* getFontName(); - float getFontSize(); - cocos2d::CCTextAlignment getHorizontalAlignment(); - cocos2d::_ccFontDefinition* getTextDefinition(); - cocos2d::CCVerticalTextAlignment getVerticalAlignment(); - - void setDimensions(cocos2d::CCSize const&); - void setFontFillColor(cocos2d::_ccColor3B const&, bool); - void setFontName(char const*); - void setFontSize(float); - void setHorizontalAlignment(cocos2d::CCTextAlignment); - void setTextDefinition(cocos2d::_ccFontDefinition*); - void setVerticalAlignment(cocos2d::CCVerticalTextAlignment); - - // CCLabelTTF(cocos2d::CCLabelTTF const&); - // CCLabelTTF(); - cocos2d::_ccFontDefinition _prepareTextDefinition(bool); - void _updateWithTextDefinition(cocos2d::_ccFontDefinition&, bool); - char const* description(); - void disableShadow(bool); - void disableStroke(bool); - void enableShadow(cocos2d::CCSize const&, float, float, bool); - void enableStroke(cocos2d::_ccColor3B const&, float, bool); - bool updateTexture(); - - virtual bool init(); - - virtual void setString(char const*); - virtual char const* getString(); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create(); - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - // CCLayer(cocos2d::CCLayer const&); - // CCLayer(); - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); - - virtual void keyBackClicked(); - virtual void keyMenuClicked(); - - virtual void keyDown(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCLayerMultiplex { - // static cocos2d::CCLayerMultiplex* create(cocos2d::CCLayer*, ...); - static cocos2d::CCLayerMultiplex* create(); - static cocos2d::CCLayerMultiplex* createWithArray(cocos2d::CCArray*); - static cocos2d::CCLayerMultiplex* createWithLayer(cocos2d::CCLayer*); - - bool initWithArray(cocos2d::CCArray*); - // bool initWithLayers(cocos2d::CCLayer*, char*); - - // CCLayerMultiplex(cocos2d::CCLayerMultiplex const&); - // CCLayerMultiplex(); - void addLayer(cocos2d::CCLayer*); - void switchTo(unsigned int); - void switchToAndReleaseMe(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - // CCLayerRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCLens3D { - static cocos2d::CCLens3D* create(float, cocos2d::CCSize const&, cocos2d::CCPoint const&, float); - - bool initWithDuration(float, cocos2d::CCSize const&, cocos2d::CCPoint const&, float); - - float getLensEffect(); - cocos2d::CCPoint const& getPosition(); - - void setConcave(bool); - void setLensEffect(float); - void setPosition(cocos2d::CCPoint const&); - - // CCLens3D(cocos2d::CCLens3D const&); - // CCLens3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCLiquid { - static cocos2d::CCLiquid* create(float, cocos2d::CCSize const&, unsigned int, float); - - bool initWithDuration(float, cocos2d::CCSize const&, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - - void setAmplitude(float); - void setAmplitudeRate(float); - - // CCLiquid(cocos2d::CCLiquid const&); - // CCLiquid(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - - -[[link(win, android)]] -class cocos2d::CCMenuItem { - static cocos2d::CCMenuItem* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItem* create(); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - int getScriptTapHandler(); - - void setTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - // CCMenuItem(cocos2d::CCMenuItem const&); - // CCMenuItem(); - cocos2d::CCRect rect(); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void registerScriptTapHandler(int); - virtual void unregisterScriptTapHandler(); - virtual bool isEnabled(); - virtual void setEnabled(bool); - virtual bool isSelected(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemAtlasFont { - static cocos2d::CCMenuItemAtlasFont* create(char const*, char const*, int, int, char); - static cocos2d::CCMenuItemAtlasFont* create(char const*, char const*, int, int, char, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithString(char const*, char const*, int, int, char, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - // CCMenuItemAtlasFont(cocos2d::CCMenuItemAtlasFont const&); - // CCMenuItemAtlasFont(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemFont { - static cocos2d::CCMenuItemFont* create(char const*); - static cocos2d::CCMenuItemFont* create(char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static char const* fontName(); - static unsigned int fontSize(); - static void setFontName(char const*); - static void setFontSize(unsigned int); - - bool initWithString(char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - void setFontNameObj(char const*); - void setFontSizeObj(unsigned int); - - // CCMenuItemFont(cocos2d::CCMenuItemFont const&); - // CCMenuItemFont(); - char const* fontNameObj(); - unsigned int fontSizeObj(); - void recreateLabel(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemImage { - static cocos2d::CCMenuItemImage* create(char const*, char const*, char const*); - static cocos2d::CCMenuItemImage* create(char const*, char const*, char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItemImage* create(char const*, char const*); - static cocos2d::CCMenuItemImage* create(char const*, char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItemImage* create(); - - bool initWithNormalImage(char const*, char const*, char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - void setDisabledSpriteFrame(cocos2d::CCSpriteFrame*); - void setNormalSpriteFrame(cocos2d::CCSpriteFrame*); - void setSelectedSpriteFrame(cocos2d::CCSpriteFrame*); - - // CCMenuItemImage(cocos2d::CCMenuItemImage const&); - // CCMenuItemImage(); - - virtual bool init(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemLabel { - static cocos2d::CCMenuItemLabel* create(cocos2d::CCNode*); - static cocos2d::CCMenuItemLabel* create(cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithLabel(cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - void setString(char const*); - - // CCMenuItemLabel(cocos2d::CCMenuItemLabel const&); - // CCMenuItemLabel(); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool); - virtual cocos2d::_ccColor3B const& getDisabledColor(); - virtual void setDisabledColor(cocos2d::_ccColor3B const&); - virtual cocos2d::CCNode* getLabel(); - virtual void setLabel(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemSprite { - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - // CCMenuItemSprite(cocos2d::CCMenuItemSprite const&); - // CCMenuItemSprite(); - - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool); - virtual cocos2d::CCNode* getNormalImage(); - virtual void setNormalImage(cocos2d::CCNode*); - virtual cocos2d::CCNode* getSelectedImage(); - virtual void setSelectedImage(cocos2d::CCNode*); - virtual cocos2d::CCNode* getDisabledImage(); - virtual void setDisabledImage(cocos2d::CCNode*); - virtual void updateImagesVisibility(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemToggle { - static cocos2d::CCMenuItemToggle* create(cocos2d::CCMenuItem*); - static cocos2d::CCMenuItemToggle* create(); - static cocos2d::CCMenuItemToggle* createWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, cocos2d::CCArray*); - // static cocos2d::CCMenuItemToggle* createWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, cocos2d::CCMenuItem*, ...); - - bool initWithItem(cocos2d::CCMenuItem*); - // bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, cocos2d::CCMenuItem*, char*); - - // CCMenuItemToggle(cocos2d::CCMenuItemToggle const&); - // CCMenuItemToggle(); - void addSubItem(cocos2d::CCMenuItem*); - cocos2d::CCMenuItem* selectedItem(); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool); - virtual unsigned int getSelectedIndex(); - virtual void setSelectedIndex(unsigned int); - virtual cocos2d::CCArray* getSubItems(); - virtual void setSubItems(cocos2d::CCArray*); -} - -[[link(win, android)]] -class cocos2d::CCMouseDelegate { - // CCMouseDelegate(cocos2d::CCMouseDelegate const&); - // CCMouseDelegate(); - - virtual void rightKeyDown(); - virtual void rightKeyUp(); - virtual void scrollWheel(float, float); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float); - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCMouseHandler { - static cocos2d::CCMouseHandler* handlerWithDelegate(cocos2d::CCMouseDelegate*); - - cocos2d::CCMouseDelegate* getDelegate(); - - void setDelegate(cocos2d::CCMouseDelegate*); - - // CCMouseHandler(cocos2d::CCMouseHandler const&); - // CCMouseHandler(); - - virtual bool initWithDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCMoveBy { - static cocos2d::CCMoveBy* create(float, cocos2d::CCPoint const&); - - bool initWithDuration(float, cocos2d::CCPoint const&); - - // CCMoveBy(cocos2d::CCMoveBy const&); - // CCMoveBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create(); - static void resetGlobalOrderOfArrival(); - - cocos2d::CCAction* getActionByTag(int); - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - // CCNode(cocos2d::CCNode const&); - // CCNode(); - cocos2d::CCRect boundingBox(); - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions(); - void pauseSchedulerAndActions(); - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions(); - cocos2d::CCAction* runAction(cocos2d::CCAction*); - void schedule(cocos2d::SEL_SCHEDULE); - void schedule(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float); - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void scheduleUpdateWithPriorityLua(int, int); - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - void stopAllActions(); - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void unscheduleUpdate(); - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const; - virtual cocos2d::CCSize const& getContentSize() const; - virtual void update(float); - virtual bool init(); - virtual void setZOrder(int); - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getAnchorPoint(); - virtual cocos2d::CCPoint const& getAnchorPointInPoints(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual cocos2d::CCSize getScaledContentSize(); - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual void setParent(cocos2d::CCNode*); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast(); - virtual cocos2d::CCAffineTransform const parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(char const*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); - virtual void updateTweenActionInt(float, int); -} - - -[[link(win, android)]] -class cocos2d::CCNotificationCenter { - static void purgeNotificationCenter(); - static cocos2d::CCNotificationCenter* sharedNotificationCenter(); - - int getObserverHandlerByName(char const*); - int getScriptHandler(); - - // CCNotificationCenter(cocos2d::CCNotificationCenter const&); - // CCNotificationCenter(); - void addObserver(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, char const*, cocos2d::CCObject*); - bool observerExisted(cocos2d::CCObject*, char const*); - void postNotification(char const*); - void postNotification(char const*, cocos2d::CCObject*); - void registerScriptObserver(cocos2d::CCObject*, int, char const*); - int removeAllObservers(cocos2d::CCObject*); - void removeObserver(cocos2d::CCObject*, char const*); - void unregisterScriptObserver(cocos2d::CCObject*, char const*); -} - -[[link(win, android)]] -class cocos2d::CCNotificationObserver { - // CCNotificationObserver(cocos2d::CCNotificationObserver const&); - // CCNotificationObserver(cocos2d::CCObject*, cocos2d::SEL_MenuHandler, char const*, cocos2d::CCObject*); - void performSelector(cocos2d::CCObject*); - - virtual cocos2d::CCObject* getTarget(); - virtual SEL_SCHEDULE getSelector(); - virtual char* getName(); - virtual cocos2d::CCObject* getObject(); - virtual int getHandler(); - virtual void setHandler(int); -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*); - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - // CCObject(cocos2d::CCObject const&); - // CCObject(); - cocos2d::CCObject* autorelease(); - cocos2d::CCObject* copy(); - bool isSingleReference() const; - void release(); - void retain(); - unsigned int retainCount() const; - - virtual int getTag() const; - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); - virtual void update(float); - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual void setTag(int); -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCPageTurn3D { - static cocos2d::CCPageTurn3D* create(float, cocos2d::CCSize const&); - - // CCPageTurn3D(cocos2d::CCPageTurn3D const&); - // CCPageTurn3D(); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCParallaxNode { - static cocos2d::CCParallaxNode* create(); - - cocos2d::_ccArray* getParallaxArray() const; - - void setParallaxArray(cocos2d::_ccArray*); - - // CCParallaxNode(cocos2d::CCParallaxNode const&); - // CCParallaxNode(); - cocos2d::CCPoint absolutePosition(); - - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void visit(); - virtual void addChild(cocos2d::CCNode*, unsigned int, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - virtual void addChild(cocos2d::CCNode*, unsigned int, int); -} - -[[link(win, android)]] -class cocos2d::CCParticleBatchNode { - static cocos2d::CCParticleBatchNode* create(char const*, unsigned int); - static cocos2d::CCParticleBatchNode* createWithTexture(cocos2d::CCTexture2D*, unsigned int); - - bool initWithFile(char const*, unsigned int); - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int); - - void getCurrentIndex(unsigned int*, unsigned int*, cocos2d::CCNode*, int); - cocos2d::CCTextureAtlas* getTextureAtlas() const; - - void setTextureAtlas(cocos2d::CCTextureAtlas*); - - // CCParticleBatchNode(cocos2d::CCParticleBatchNode const&); - // CCParticleBatchNode(); - unsigned int addChildHelper(cocos2d::CCParticleSystem*, int, int); - void disableParticle(unsigned int); - void increaseAtlasCapacityTo(unsigned int); - void insertChild(cocos2d::CCParticleSystem*, unsigned int); - void removeChildAtIndex(unsigned int, bool); - unsigned int searchNewPositionInChildrenForZ(int); - void updateAllAtlasIndexes(); - void updateBlendFunc(); - - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void draw(); - virtual void visit(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCParticleExplosion { - static cocos2d::CCParticleExplosion* create(); - static cocos2d::CCParticleExplosion* createWithTotalParticles(unsigned int); - - // CCParticleExplosion(cocos2d::CCParticleExplosion const&); - // CCParticleExplosion(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleFire { - static cocos2d::CCParticleFire* create(); - static cocos2d::CCParticleFire* createWithTotalParticles(unsigned int); - - // CCParticleFire(cocos2d::CCParticleFire const&); - // CCParticleFire(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleFireworks { - static cocos2d::CCParticleFireworks* create(); - static cocos2d::CCParticleFireworks* createWithTotalParticles(unsigned int); - - // CCParticleFireworks(cocos2d::CCParticleFireworks const&); - // CCParticleFireworks(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleFlower { - static cocos2d::CCParticleFlower* create(); - static cocos2d::CCParticleFlower* createWithTotalParticles(unsigned int); - - // CCParticleFlower(cocos2d::CCParticleFlower const&); - // CCParticleFlower(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleGalaxy { - static cocos2d::CCParticleGalaxy* create(); - static cocos2d::CCParticleGalaxy* createWithTotalParticles(unsigned int); - - // CCParticleGalaxy(cocos2d::CCParticleGalaxy const&); - // CCParticleGalaxy(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleMeteor { - static cocos2d::CCParticleMeteor* create(); - static cocos2d::CCParticleMeteor* createWithTotalParticles(unsigned int); - - // CCParticleMeteor(cocos2d::CCParticleMeteor const&); - // CCParticleMeteor(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleRain { - static cocos2d::CCParticleRain* create(); - static cocos2d::CCParticleRain* createWithTotalParticles(unsigned int); - - // CCParticleRain(cocos2d::CCParticleRain const&); - // CCParticleRain(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleSmoke { - static cocos2d::CCParticleSmoke* create(); - static cocos2d::CCParticleSmoke* createWithTotalParticles(unsigned int); - - // CCParticleSmoke(cocos2d::CCParticleSmoke const&); - // CCParticleSmoke(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleSnow { - static cocos2d::CCParticleSnow* create(); - static cocos2d::CCParticleSnow* createWithTotalParticles(unsigned int); - - // CCParticleSnow(cocos2d::CCParticleSnow const&); - // CCParticleSnow(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleSpiral { - static cocos2d::CCParticleSpiral* create(); - static cocos2d::CCParticleSpiral* createWithTotalParticles(unsigned int); - - // CCParticleSpiral(cocos2d::CCParticleSpiral const&); - // CCParticleSpiral(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCParticleSun { - static cocos2d::CCParticleSun* create(); - static cocos2d::CCParticleSun* createWithTotalParticles(unsigned int); - - // CCParticleSun(cocos2d::CCParticleSun const&); - // CCParticleSun(); - - virtual bool init(); - virtual bool initWithTotalParticles(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCPlace { - static cocos2d::CCPlace* create(cocos2d::CCPoint const&); - - bool initWithPosition(cocos2d::CCPoint const&); - - // CCPlace(cocos2d::CCPlace const&); - // CCPlace(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCPoint { - // CCPoint(cocos2d::CCPoint const&); - // CCPoint(cocos2d::CCSize const&); - // CCPoint(float, float); - // CCPoint(); - void add(int, float); - float at(int); - float cross(cocos2d::CCPoint const&) const; - float dot(cocos2d::CCPoint const&) const; - bool equals(cocos2d::CCPoint const&) const; - static cocos2d::CCPoint forAngle(float); - bool fuzzyEquals(cocos2d::CCPoint const&, float) const; - float getAngle(cocos2d::CCPoint const&) const; - float getAngle() const; - float getDistance(cocos2d::CCPoint const&) const; - float getDistanceSq(cocos2d::CCPoint const&) const; - float getLength() const; - float getLengthSq() const; - cocos2d::CCPoint getPerp() const; - cocos2d::CCPoint getRPerp() const; - bool isZero() const; - cocos2d::CCPoint lerp(cocos2d::CCPoint const&, float) const; - cocos2d::CCPoint normalize() const; - cocos2d::CCPoint project(cocos2d::CCPoint const&) const; - cocos2d::CCPoint rotate(cocos2d::CCPoint const&) const; - cocos2d::CCPoint rotateByAngle(cocos2d::CCPoint const&, float) const; - void set(int, float); - void setPoint(float, float); - void swap(); - cocos2d::CCPoint unrotate(cocos2d::CCPoint const&) const; -} - -[[link(win, android)]] -class cocos2d::CCPointArray { - static cocos2d::CCPointArray* create(unsigned int); - - bool initWithCapacity(unsigned int); - - cocos2d::CCPoint getControlPointAtIndex(unsigned int); - gd::vector const* getControlPoints(); - - void setControlPoints(gd::vector*); - - // CCPointArray(cocos2d::CCPointArray const&); - // CCPointArray(); - void addControlPoint(cocos2d::CCPoint); - unsigned int count(); - void insertControlPoint(cocos2d::CCPoint&, unsigned int); - void removeControlPointAtIndex(unsigned int); - void replaceControlPoint(cocos2d::CCPoint&, unsigned int); - cocos2d::CCPointArray* reverse(); - void reverseInline(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); -} - -[[link(win, android)]] -class cocos2d::CCPoolManager { - // CCPoolManager(); - void addObject(cocos2d::CCObject*); - void finalize(); - cocos2d::CCAutoreleasePool* getCurReleasePool(); - void pop(); - static void purgePoolManager(); - void push(); - void removeObject(cocos2d::CCObject*); - static cocos2d::CCPoolManager* sharedPoolManager(); -} - -[[link(win, android)]] -class cocos2d::CCPrettyPrinter { - void setIndentLevel(int); - - // CCPrettyPrinter(cocos2d::CCPrettyPrinter const&); - // CCPrettyPrinter(int); - - virtual void visitObject(cocos2d::CCObject const*); - virtual void visit(cocos2d::CCBool const*); - virtual void visit(cocos2d::CCInteger const*); - virtual void visit(cocos2d::CCFloat const*); - virtual void visit(cocos2d::CCDouble const*); - virtual void visit(cocos2d::CCString const*); - virtual void visit(cocos2d::CCArray const*); - virtual void visit(cocos2d::CCDictionary const*); - virtual void visit(cocos2d::CCSet const*); - virtual void clear(); - virtual gd::string getResult(); -} - -[[link(win, android)]] -class cocos2d::CCProfiler { - static cocos2d::CCProfiler* sharedProfiler(); - - bool init(); - - // CCProfiler(cocos2d::CCProfiler const&); - // CCProfiler(); - cocos2d::CCProfilingTimer* createAndAddTimerWithName(char const*); - void displayTimers(); - void releaseAllTimers(); - void releaseTimer(char const*); -} - -[[link(win, android)]] -class cocos2d::CCProgressFromTo { - static cocos2d::CCProgressFromTo* create(float, float, float); - - bool initWithDuration(float, float, float); - - // CCProgressFromTo(cocos2d::CCProgressFromTo const&); - // CCProgressFromTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCProgressTimer { - static cocos2d::CCProgressTimer* create(cocos2d::CCSprite*); - - bool initWithSprite(cocos2d::CCSprite*); - - cocos2d::CCPoint getBarChangeRate() const; - float getPercentage(); - cocos2d::CCSprite* getSprite(); - cocos2d::CCProgressTimerType getType(); - - void setAnchorPoint(cocos2d::CCPoint); - void setBarChangeRate(cocos2d::CCPoint); - void setPercentage(float); - void setReverseDirection(bool); - void setReverseProgress(bool); - void setSprite(cocos2d::CCSprite*); - void setType(cocos2d::CCProgressTimerType); - - // CCProgressTimer(cocos2d::CCProgressTimer const&); - // CCProgressTimer(); - cocos2d::CCPoint boundaryTexCoord(char); - bool isReverseDirection(); - cocos2d::_ccTex2F textureCoordFromAlphaPoint(cocos2d::CCPoint); - void updateBar(); - void updateColor(); - void updateProgress(); - void updateRadial(); - cocos2d::_ccVertex2F vertexFromAlphaPoint(cocos2d::CCPoint); - - virtual cocos2d::_ccColor3B const& getColor() const; - virtual unsigned char getOpacity() const; - virtual void draw(); - virtual cocos2d::CCPoint getMidpoint(); - virtual void setMidpoint(cocos2d::CCPoint); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCProgressTo { - static cocos2d::CCProgressTo* create(float, float); - - bool initWithDuration(float, float); - - // CCProgressTo(cocos2d::CCProgressTo const&); - // CCProgressTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCRGBAProtocol { - // CCRGBAProtocol(cocos2d::CCRGBAProtocol const&); - // CCRGBAProtocol(); -} - -[[link(win, android)]] -class cocos2d::CCRect { - // CCRect(cocos2d::CCRect const&); - // CCRect(float, float, float, float); - // CCRect(); - bool containsPoint(cocos2d::CCPoint const&) const; - bool equals(cocos2d::CCRect const&) const; - float getMax(int); - float getMaxX() const; - float getMaxY() const; - float getMidX() const; - float getMidY() const; - float getMin(int); - float getMinX() const; - float getMinY() const; - bool intersectsRect(cocos2d::CCRect const&) const; - void setRect(float, float, float, float); -} - -[[link(win, android)]] -class cocos2d::CCRemoveSelf { - static cocos2d::CCRemoveSelf* create(bool); - - bool init(bool); - - // CCRemoveSelf(cocos2d::CCRemoveSelf const&); - // CCRemoveSelf(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRenderTexture { - static cocos2d::CCRenderTexture* create(int, int); - static cocos2d::CCRenderTexture* create(int, int, cocos2d::CCTexture2DPixelFormat); - static cocos2d::CCRenderTexture* create(int, int, cocos2d::CCTexture2DPixelFormat, unsigned int); - - bool initWithWidthAndHeight(int, int, cocos2d::CCTexture2DPixelFormat); - bool initWithWidthAndHeight(int, int, cocos2d::CCTexture2DPixelFormat, unsigned int); - - cocos2d::_ccColor4F const& getClearColor() const; - float getClearDepth() const; - unsigned int getClearFlags() const; - int getClearStencil() const; - - void setAutoDraw(bool); - void setClearColor(cocos2d::_ccColor4F const&); - void setClearDepth(float); - void setClearFlags(unsigned int); - void setClearStencil(float); - - // CCRenderTexture(cocos2d::CCRenderTexture const&); - // CCRenderTexture(); - void begin(); - void beginWithClear(float, float, float, float, float, int, unsigned int); - void beginWithClear(float, float, float, float); - void beginWithClear(float, float, float, float, float); - void beginWithClear(float, float, float, float, float, int); - void clear(float, float, float, float); - void clearDepth(float); - void clearStencil(int); - void end(); - void endToLua(); - bool isAutoDraw() const; - void listenToBackground(cocos2d::CCObject*); - void listenToForeground(cocos2d::CCObject*); - cocos2d::CCImage* newCCImage(bool); - bool saveToFile(char const*); - bool saveToFile(char const*, cocos2d::eImageFormat); - void updateInternalScale(float, float); - - virtual void draw(); - virtual void visit(); - virtual cocos2d::CCSprite* getSprite(); - virtual void setSprite(cocos2d::CCSprite*); -} - -[[link(win, android)]] -class cocos2d::CCRepeat { - static cocos2d::CCRepeat* create(cocos2d::CCFiniteTimeAction*, unsigned int); - - bool initWithAction(cocos2d::CCFiniteTimeAction*, unsigned int); - - cocos2d::CCFiniteTimeAction* getInnerAction(); - - void setInnerAction(cocos2d::CCFiniteTimeAction*); - - // CCRepeat(cocos2d::CCRepeat const&); - // CCRepeat(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRepeatForever { - static cocos2d::CCRepeatForever* create(cocos2d::CCActionInterval*); - - bool initWithAction(cocos2d::CCActionInterval*); - - cocos2d::CCActionInterval* getInnerAction(); - - void setInnerAction(cocos2d::CCActionInterval*); - - // CCRepeatForever(cocos2d::CCRepeatForever const&); - // CCRepeatForever(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void step(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCReuseGrid { - static cocos2d::CCReuseGrid* create(int); - - bool initWithTimes(int); - - // CCReuseGrid(cocos2d::CCReuseGrid const&); - // CCReuseGrid(); - - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCReverseTime { - static cocos2d::CCReverseTime* create(cocos2d::CCFiniteTimeAction*); - - bool initWithAction(cocos2d::CCFiniteTimeAction*); - - // CCReverseTime(cocos2d::CCReverseTime const&); - // CCReverseTime(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRipple3D { - static cocos2d::CCRipple3D* create(float, cocos2d::CCSize const&, cocos2d::CCPoint const&, float, unsigned int, float); - - bool initWithDuration(float, cocos2d::CCSize const&, cocos2d::CCPoint const&, float, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - cocos2d::CCPoint const& getPosition(); - - void setAmplitude(float); - void setAmplitudeRate(float); - void setPosition(cocos2d::CCPoint const&); - - // CCRipple3D(cocos2d::CCRipple3D const&); - // CCRipple3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCRotateBy { - static cocos2d::CCRotateBy* create(float, float); - static cocos2d::CCRotateBy* create(float, float, float); - - bool initWithDuration(float, float); - bool initWithDuration(float, float, float); - - // CCRotateBy(cocos2d::CCRotateBy const&); - // CCRotateBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRotateTo { - static cocos2d::CCRotateTo* create(float, float); - static cocos2d::CCRotateTo* create(float, float, float); - - bool initWithDuration(float, float); - - // CCRotateTo(cocos2d::CCRotateTo const&); - // CCRotateTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, float, float); -} - -[[link(win, android)]] -class cocos2d::CCSAXDelegator { - // CCSAXDelegator(cocos2d::CCSAXDelegator const&); - // CCSAXDelegator(); -} - -[[link(win, android)]] -class cocos2d::CCSAXParser { - // CCSAXParser(); - static void endElement(void*, unsigned char const*); - bool init(char const*); - bool parse(char const*); - bool parse(char const*, unsigned int); - void setDelegator(cocos2d::CCSAXDelegator*); - static void startElement(void*, unsigned char const*, unsigned char const**); - static void textHandler(void*, unsigned char const*, int); -} - -[[link(win, android)]] -class cocos2d::CCScaleBy { - static cocos2d::CCScaleBy* create(float, float); - static cocos2d::CCScaleBy* create(float, float, float); - - // CCScaleBy(cocos2d::CCScaleBy const&); - // CCScaleBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCScene { - static cocos2d::CCScene* create(); - - int getHighestChildZ(); - - // CCScene(cocos2d::CCScene const&); - // CCScene(); - - virtual bool init(); -} - -[[link(win, android)]] -class cocos2d::CCSceneTransitionDelegate { - // CCSceneTransitionDelegate(cocos2d::CCSceneTransitionDelegate const&); - // CCSceneTransitionDelegate(); - - virtual void sceneWillResume(); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*); - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCScriptEngineManager { - // CCScriptEngineManager(); - cocos2d::CCScriptEngineProtocol* getScriptEngine(); - static void purgeSharedManager(); - void removeScriptEngine(); - void setScriptEngine(cocos2d::CCScriptEngineProtocol*); - static cocos2d::CCScriptEngineManager* sharedManager(); -} - -[[link(win, android)]] -class cocos2d::CCScriptEngineProtocol { - // CCScriptEngineProtocol(cocos2d::CCScriptEngineProtocol const&); - // CCScriptEngineProtocol(); - virtual int executeEventWithArgs(int, cocos2d::CCArray*); - virtual cocos2d::ccScriptType getScriptType(); - virtual int reallocateScriptHandler(int); - virtual void removeScriptHandler(int); -} - -[[link(win, android)]] -class cocos2d::CCSequence { - static cocos2d::CCSequence* create(cocos2d::CCArray*); - // static cocos2d::CCSequence* create(cocos2d::CCFiniteTimeAction*, ...) = mac 0x393740; - static cocos2d::CCSequence* createWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - // static cocos2d::CCSequence* createWithVariableList(cocos2d::CCFiniteTimeAction*, char*) = mac 0x3937f0; - - bool initWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - - // CCSequence(cocos2d::CCSequence const&); - // CCSequence(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSet { - static cocos2d::CCSet* create(); - - // CCSet(cocos2d::CCSet const&); - // CCSet(); - void addObject(cocos2d::CCObject*); - cocos2d::CCObject* anyObject(); - cocos2d::CCSetIterator begin(); - bool containsObject(cocos2d::CCObject*); - cocos2d::CCSet* copy(); - int count(); - cocos2d::CCSetIterator end(); - cocos2d::CCSet* mutableCopy(); - void removeAllObjects(); - void removeObject(cocos2d::CCObject*); - - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCShaderCache { - static void purgeSharedShaderCache(); - static cocos2d::CCShaderCache* sharedShaderCache(); - - bool init(); - - // CCShaderCache(cocos2d::CCShaderCache const&); - // CCShaderCache(); - void addProgram(cocos2d::CCGLProgram*, char const*); - void loadDefaultShader(cocos2d::CCGLProgram*, int); - void loadDefaultShaders(); - cocos2d::CCGLProgram* programForKey(char const*); - void reloadDefaultShaders(); -} - -[[link(win, android)]] -class cocos2d::CCShaky3D { - static cocos2d::CCShaky3D* create(float, cocos2d::CCSize const&, int, bool); - - bool initWithDuration(float, cocos2d::CCSize const&, int, bool); - - // CCShaky3D(cocos2d::CCShaky3D const&); - // CCShaky3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCShakyTiles3D { - static cocos2d::CCShakyTiles3D* create(float, cocos2d::CCSize const&, int, bool); - - // CCShakyTiles3D(cocos2d::CCShakyTiles3D const&); - // CCShakyTiles3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithDuration(float, cocos2d::CCSize const&, int, bool); -} - -[[link(win, android)]] -class cocos2d::CCShatteredTiles3D { - static cocos2d::CCShatteredTiles3D* create(float, cocos2d::CCSize const&, int, bool); - - // CCShatteredTiles3D(cocos2d::CCShatteredTiles3D const&); - // CCShatteredTiles3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithDuration(float, cocos2d::CCSize const&, int, bool); -} - -[[link(win, android)]] -class cocos2d::CCShow { - static cocos2d::CCShow* create(); - - // CCShow(cocos2d::CCShow const&); - // CCShow(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCFiniteTimeAction* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCShuffleTiles { - static cocos2d::CCShuffleTiles* create(float, cocos2d::CCSize const&, unsigned int); - - cocos2d::CCSize getDelta(cocos2d::CCSize const&); - - // CCShuffleTiles(cocos2d::CCShuffleTiles const&); - // CCShuffleTiles(); - void placeTile(cocos2d::CCPoint const&, cocos2d::Tile*); - void shuffle(unsigned int*, unsigned int); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, cocos2d::CCSize const&, unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCSize { - // CCSize(cocos2d::CCSize const&); - // CCSize(cocos2d::CCPoint const&); - // CCSize(float, float); - // CCSize(); - void add(int, float); - float at(int); - bool equals(cocos2d::CCSize const&) const; - void set(int, float); - void setSize(float, float); -} - -[[link(win, android)]] -class cocos2d::CCSkewBy { - static cocos2d::CCSkewBy* create(float, float, float); - - // CCSkewBy(cocos2d::CCSkewBy const&); - // CCSkewBy(); - - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); - virtual bool initWithDuration(float, float, float); -} - -[[link(win, android)]] -class cocos2d::CCSkewTo { - static cocos2d::CCSkewTo* create(float, float, float); - - // CCSkewTo(cocos2d::CCSkewTo const&); - // CCSkewTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, float, float); -} - -[[link(win, android)]] -class cocos2d::CCSpawn { - static cocos2d::CCSpawn* create(cocos2d::CCArray*); - // static cocos2d::CCSpawn* create(cocos2d::CCFiniteTimeAction*, ...); - static cocos2d::CCSpawn* createWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - // static cocos2d::CCSpawn* createWithVariableList(cocos2d::CCFiniteTimeAction*, char*); - - bool initWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - - // CCSpawn(cocos2d::CCSpawn const&); - // CCSpawn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSpeed { - static cocos2d::CCSpeed* create(cocos2d::CCActionInterval*, float); - - bool initWithAction(cocos2d::CCActionInterval*, float); - - cocos2d::CCActionInterval* getInnerAction(); - float getSpeed(); - - void setInnerAction(cocos2d::CCActionInterval*); - void setSpeed(float); - - // CCSpeed(cocos2d::CCSpeed const&); - // CCSpeed(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual void step(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSplitCols { - static cocos2d::CCSplitCols* create(float, unsigned int); - - // CCSplitCols(cocos2d::CCSplitCols const&); - // CCSplitCols(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCSplitRows { - static cocos2d::CCSplitRows* create(float, unsigned int); - - // CCSplitRows(cocos2d::CCSplitRows const&); - // CCSplitRows(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, unsigned int); -} - - -[[link(win, android)]] -class cocos2d::CCSpriteBatchNode { - static cocos2d::CCSpriteBatchNode* create(char const*); - static cocos2d::CCSpriteBatchNode* create(char const*, unsigned int); - static cocos2d::CCSpriteBatchNode* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSpriteBatchNode* createWithTexture(cocos2d::CCTexture2D*, unsigned int); - - bool initWithFile(char const*, unsigned int); - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int); - - int getAtlasCapacity(); - cocos2d::CCArray* getDescendants(); - bool getManualSortChildren() const; - cocos2d::CCTextureAtlas* getTextureAtlas(); - int getUsedAtlasCapacity(); - - void setManualSortChildren(bool); - void setTextureAtlas(cocos2d::CCTextureAtlas*); - - // CCSpriteBatchNode(cocos2d::CCSpriteBatchNode const&); - // CCSpriteBatchNode(); - cocos2d::CCSpriteBatchNode* addSpriteWithoutQuad(cocos2d::CCSprite*, unsigned int, int); - void appendChild(cocos2d::CCSprite*); - unsigned int atlasIndexForChild(cocos2d::CCSprite*, int); - unsigned int highestAtlasIndexInChild(cocos2d::CCSprite*); - void increaseAtlasCapacity(unsigned int); - void increaseAtlasCapacity(); - void insertChild(cocos2d::CCSprite*, unsigned int); - void insertQuadFromSprite(cocos2d::CCSprite*, unsigned int); - unsigned int lowestAtlasIndexInChild(cocos2d::CCSprite*); - void manualSortAllChildren(); - unsigned int rebuildIndexInOrder(cocos2d::CCSprite*, unsigned int); - void removeChildAtIndex(unsigned int, bool); - void removeSpriteFromAtlas(cocos2d::CCSprite*); - void reorderBatch(bool); - void swap(int, int); - void updateAtlasIndex(cocos2d::CCSprite*, int*); - void updateBlendFunc(); - void updateQuadFromSprite(cocos2d::CCSprite*, unsigned int); - - virtual bool init(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual void draw(); - virtual void visit(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -// [[link(win, android)]] -// class cocos2d::CCSpriteExtra { -// // CCSpriteExtra(cocos2d::CCSpriteExtra const&); -// // CCSpriteExtra(); -// float getXOffset() const; -// float getYOffset() const; -// void setXOffset(float); -// void setYOffset(float); -// } - -[[link(win, android)]] -class cocos2d::CCSpriteFrame { - static cocos2d::CCSpriteFrame* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSpriteFrame* create(char const*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - static cocos2d::CCSpriteFrame* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - static cocos2d::CCSpriteFrame* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - - bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - bool initWithTextureFilename(char const*, cocos2d::CCRect const&); - bool initWithTextureFilename(char const*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - - gd::string getFrameName() const; - cocos2d::CCPoint const& getOffset(); - cocos2d::CCPoint const& getOffsetInPixels(); - cocos2d::CCSize const& getOriginalSize(); - cocos2d::CCSize const& getOriginalSizeInPixels(); - cocos2d::CCRect const& getRect(); - cocos2d::CCRect const& getRectInPixels(); - cocos2d::CCTexture2D* getTexture(); - - void setFrameName(gd::string); - void setOffset(cocos2d::CCPoint const&); - void setOffsetInPixels(cocos2d::CCPoint const&); - void setOriginalSize(cocos2d::CCSize const&); - void setOriginalSizeInPixels(cocos2d::CCSize const&); - void setRect(cocos2d::CCRect const&); - void setRectInPixels(cocos2d::CCRect const&); - void setRotated(bool); - void setTexture(cocos2d::CCTexture2D*); - - // CCSpriteFrame(cocos2d::CCSpriteFrame const&); - // CCSpriteFrame(); - bool isRotated(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrameCache { - static void purgeSharedSpriteFrameCache(); - static cocos2d::CCSpriteFrameCache* sharedSpriteFrameCache(); - - bool init(); - - // CCSpriteFrameCache(); - // CCSpriteFrameCache(cocos2d::CCSpriteFrameCache const&); - void addSpriteFrame(cocos2d::CCSpriteFrame*, char const*); - void addSpriteFramesWithDictionary(cocos2d::CCDictionary*, cocos2d::CCTexture2D*); - void addSpriteFramesWithFile(char const*, char const*); - void addSpriteFramesWithFile(char const*); - void addSpriteFramesWithFile(char const*, cocos2d::CCTexture2D*); - void removeSpriteFrameByName(char const*); - void removeSpriteFrames(); - void removeSpriteFramesFromDictionary(cocos2d::CCDictionary*); - void removeSpriteFramesFromFile(char const*); - void removeSpriteFramesFromTexture(cocos2d::CCTexture2D*); - void removeUnusedSpriteFrames(); - cocos2d::CCSpriteFrame* spriteFrameByName(char const*); -} - -[[link(win, android)]] -class cocos2d::CCStandardTouchDelegate { - // CCStandardTouchDelegate(cocos2d::CCStandardTouchDelegate const&); - // CCStandardTouchDelegate(); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); -} - -[[link(win, android)]] -class cocos2d::CCStandardTouchHandler { - static cocos2d::CCStandardTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int); - - // CCStandardTouchHandler(cocos2d::CCStandardTouchHandler const&); - // CCStandardTouchHandler(); - - virtual bool initWithDelegate(cocos2d::CCTouchDelegate*, int); -} - -[[link(win, android)]] -class cocos2d::CCStopGrid { - static cocos2d::CCStopGrid* create(); - - // CCStopGrid(cocos2d::CCStopGrid const&); - // CCStopGrid(); - - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCString { - // static cocos2d::CCString* create(gd::string const&); - static cocos2d::CCString* createWithContentsOfFile(char const*); - static cocos2d::CCString* createWithData(unsigned char const*, unsigned long); - // static cocos2d::CCString* createWithFormat(char const*, ...); - - // bool initWithFormat(char const*, ...); - // bool initWithFormatAndValist(char const*, char*); - - char const* getCString() const; - - // CCString(cocos2d::CCString const&); - // CCString(gd::string const&); - // CCString(char const*); - // CCString(); - bool boolValue() const; - int compare(char const*) const; - double doubleValue() const; - float floatValue() const; - int intValue() const; - unsigned int length() const; - unsigned int uintValue() const; - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCTMXLayer { - static cocos2d::CCTMXLayer* create(cocos2d::CCTMXTilesetInfo*, cocos2d::CCTMXLayerInfo*, cocos2d::CCTMXMapInfo*); - - bool initWithTilesetInfo(cocos2d::CCTMXTilesetInfo*, cocos2d::CCTMXLayerInfo*, cocos2d::CCTMXMapInfo*); - - char const* getLayerName(); - unsigned int getLayerOrientation() const; - cocos2d::CCSize const& getLayerSize() const; - cocos2d::CCSize const& getMapTileSize() const; - unsigned int* getTiles() const; - - void setLayerName(char const*); - void setLayerOrientation(unsigned int); - void setLayerSize(cocos2d::CCSize const&); - void setMapTileSize(cocos2d::CCSize const&); - void setTileGID(unsigned int, cocos2d::CCPoint const&); - void setTileGID(unsigned int, cocos2d::CCPoint const&, cocos2d::ccTMXTileFlags_); - void setTiles(unsigned int*); - - // CCTMXLayer(cocos2d::CCTMXLayer const&); - // CCTMXLayer(); - cocos2d::CCSprite* appendTileForGID(unsigned int, cocos2d::CCPoint const&); - unsigned int atlasIndexForExistantZ(unsigned int); - unsigned int atlasIndexForNewZ(int); - cocos2d::CCPoint calculateLayerOffset(cocos2d::CCPoint const&); - cocos2d::CCSprite* insertTileForGID(unsigned int, cocos2d::CCPoint const&); - void parseInternalProperties(); - cocos2d::CCPoint positionAt(cocos2d::CCPoint const&); - cocos2d::CCPoint positionForHexAt(cocos2d::CCPoint const&); - cocos2d::CCPoint positionForIsoAt(cocos2d::CCPoint const&); - cocos2d::CCPoint positionForOrthoAt(cocos2d::CCPoint const&); - cocos2d::CCString* propertyNamed(char const*); - void releaseMap(); - void removeTileAt(cocos2d::CCPoint const&); - cocos2d::CCSprite* reusedTileWithRect(cocos2d::CCRect); - void setupTileSprite(cocos2d::CCSprite*, cocos2d::CCPoint, unsigned int); - void setupTiles(); - cocos2d::CCSprite* tileAt(cocos2d::CCPoint const&); - unsigned int tileGIDAt(cocos2d::CCPoint const&); - unsigned int tileGIDAt(cocos2d::CCPoint const&, cocos2d::ccTMXTileFlags_*); - cocos2d::CCSprite* updateTileForGID(unsigned int, cocos2d::CCPoint const&); - int vertexZForPos(cocos2d::CCPoint const&); - - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual cocos2d::CCTMXTilesetInfo* getTileSet(); - virtual void setTileSet(cocos2d::CCTMXTilesetInfo*); - virtual cocos2d::CCDictionary* getProperties(); - virtual void setProperties(cocos2d::CCDictionary*); -} - -[[link(win, android)]] -class cocos2d::CCTMXLayerInfo { - // CCTMXLayerInfo(cocos2d::CCTMXLayerInfo const&); - // CCTMXLayerInfo(); - - virtual cocos2d::CCDictionary* getProperties(); - virtual void setProperties(cocos2d::CCDictionary*); -} - -[[link(win, android)]] -class cocos2d::CCTMXMapInfo { - static cocos2d::CCTMXMapInfo* formatWithTMXFile(char const*); - static cocos2d::CCTMXMapInfo* formatWithXML(char const*, char const*); - - bool initWithTMXFile(char const*); - bool initWithXML(char const*, char const*); - - char const* getCurrentString(); - int getLayerAttribs() const; - cocos2d::CCSize const& getMapSize() const; - int getOrientation() const; - int getParentElement() const; - unsigned int getParentGID() const; - bool getStoringCharacters() const; - char const* getTMXFileName(); - cocos2d::CCDictionary* getTileProperties(); - cocos2d::CCSize const& getTileSize() const; - - void setCurrentString(char const*); - void setLayerAttribs(int); - void setMapSize(cocos2d::CCSize const&); - void setOrientation(int); - void setParentElement(int); - void setParentGID(unsigned int); - void setStoringCharacters(bool); - void setTMXFileName(char const*); - void setTileProperties(cocos2d::CCDictionary*); - void setTileSize(cocos2d::CCSize const&); - - // CCTMXMapInfo(cocos2d::CCTMXMapInfo const&); - // CCTMXMapInfo(); - void internalInit(char const*, char const*); - bool parseXMLFile(char const*); - bool parseXMLString(char const*); - - virtual cocos2d::CCArray* getLayers(); - virtual void setLayers(cocos2d::CCArray*); - virtual cocos2d::CCArray* getTilesets(); - virtual void setTilesets(cocos2d::CCArray*); - virtual cocos2d::CCArray* getObjectGroups(); - virtual void setObjectGroups(cocos2d::CCArray*); - virtual cocos2d::CCDictionary* getProperties(); - virtual void setProperties(cocos2d::CCDictionary*); - - virtual void startElement(void*, char const*, char const**); - virtual void endElement(void*, char const*); - virtual void textHandler(void*, char const*, int); -} - -[[link(win, android)]] -class cocos2d::CCTMXObjectGroup { - char const* getGroupName(); - cocos2d::CCPoint const& getPositionOffset() const; - - void setGroupName(char const*); - void setPositionOffset(cocos2d::CCPoint const&); - - // CCTMXObjectGroup(cocos2d::CCTMXObjectGroup const&); - // CCTMXObjectGroup(); - cocos2d::CCDictionary* objectNamed(char const*); - cocos2d::CCString* propertyNamed(char const*); - - virtual cocos2d::CCDictionary* getProperties(); - virtual void setProperties(cocos2d::CCDictionary*); - virtual cocos2d::CCArray* getObjects(); - virtual void setObjects(cocos2d::CCArray*); -} - -[[link(win, android)]] -class cocos2d::CCTMXTiledMap { - static cocos2d::CCTMXTiledMap* create(char const*); - static cocos2d::CCTMXTiledMap* createWithXML(char const*, char const*); - - bool initWithTMXFile(char const*); - bool initWithXML(char const*, char const*); - - int getMapOrientation() const; - cocos2d::CCSize const& getMapSize() const; - cocos2d::CCSize const& getTileSize() const; - - void setMapOrientation(int); - void setMapSize(cocos2d::CCSize const&); - void setTileSize(cocos2d::CCSize const&); - - // CCTMXTiledMap(cocos2d::CCTMXTiledMap const&); - // CCTMXTiledMap(); - void buildWithMapInfo(cocos2d::CCTMXMapInfo*); - cocos2d::CCTMXLayer* layerNamed(char const*); - cocos2d::CCTMXObjectGroup* objectGroupNamed(char const*); - cocos2d::CCTMXLayer* parseLayer(cocos2d::CCTMXLayerInfo*, cocos2d::CCTMXMapInfo*); - cocos2d::CCDictionary* propertiesForGID(int); - cocos2d::CCString* propertyNamed(char const*); - cocos2d::CCTMXTilesetInfo* tilesetForLayer(cocos2d::CCTMXLayerInfo*, cocos2d::CCTMXMapInfo*); - - virtual cocos2d::CCArray* getObjectGroups(); - virtual void setObjectGroups(cocos2d::CCArray*); - virtual cocos2d::CCDictionary* getProperties(); - virtual void setProperties(cocos2d::CCDictionary*); -} - -[[link(win, android)]] -class cocos2d::CCTMXTilesetInfo { - // CCTMXTilesetInfo(cocos2d::CCTMXTilesetInfo const&); - // CCTMXTilesetInfo(); - cocos2d::CCRect rectForGID(unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCTargetedAction { - static cocos2d::CCTargetedAction* create(cocos2d::CCNode*, cocos2d::CCFiniteTimeAction*); - - bool initWithTarget(cocos2d::CCNode*, cocos2d::CCFiniteTimeAction*); - - cocos2d::CCNode* getForcedTarget() const; - - void setForcedTarget(cocos2d::CCNode*); - - // CCTargetedAction(cocos2d::CCTargetedAction const&); - // CCTargetedAction(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); -} - -[[link(win, android)]] -class cocos2d::CCTargetedTouchDelegate { - // CCTargetedTouchDelegate(cocos2d::CCTargetedTouchDelegate const&); - // CCTargetedTouchDelegate(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(win, android)]] -class cocos2d::CCTargetedTouchHandler { - static cocos2d::CCTargetedTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int, bool); - - bool initWithDelegate(cocos2d::CCTouchDelegate*, int, bool); - - cocos2d::CCSet* getClaimedTouches(); - - void setSwallowsTouches(bool); - - // CCTargetedTouchHandler(cocos2d::CCTargetedTouchHandler const&); - // CCTargetedTouchHandler(); - bool isSwallowsTouches(); -} - -[[link(win, android)]] -class cocos2d::CCTextFieldDelegate { - // CCTextFieldDelegate(cocos2d::CCTextFieldDelegate const&); - // CCTextFieldDelegate(); - - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*); - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*); - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int, cocos2d::enumKeyCodes); - virtual bool onTextFieldDeleteBackward(cocos2d::CCTextFieldTTF*, char const*, int); - virtual bool onDraw(cocos2d::CCTextFieldTTF*); - virtual void textChanged(); -} - -[[link(win, android)]] -class cocos2d::CCTextFieldTTF { - static cocos2d::CCTextFieldTTF* textFieldWithPlaceHolder(char const*, char const*, float); - static cocos2d::CCTextFieldTTF* textFieldWithPlaceHolder(char const*, cocos2d::CCSize const&, cocos2d::CCTextAlignment, char const*, float); - - bool initWithPlaceHolder(char const*, char const*, float); - bool initWithPlaceHolder(char const*, cocos2d::CCSize const&, cocos2d::CCTextAlignment, char const*, float); - - int getCharCount() const; - cocos2d::CCTextFieldDelegate* getDelegate() const; - - void setDelegate(cocos2d::CCTextFieldDelegate*); - - // CCTextFieldTTF(cocos2d::CCTextFieldTTF const&); - // CCTextFieldTTF(); - - virtual void draw(); - virtual cocos2d::_ccColor3B const& getColorSpaceHolder(); - virtual void setColorSpaceHolder(cocos2d::_ccColor3B const&); - virtual void setPlaceHolder(char const*); - virtual char const* getPlaceHolder(); - virtual void setSecureTextEntry(bool); - virtual bool isSecureTextEntry(); - - virtual void setString(char const*); - virtual char const* getString(); - - virtual bool attachWithIME(); - virtual bool detachWithIME(); - virtual bool canAttachWithIME(); - virtual bool canDetachWithIME(); - virtual void insertText(char const*, int, cocos2d::enumKeyCodes); - virtual void deleteBackward(); - virtual void deleteForward(); - virtual char const* getContentText(); -} - -[[link(win, android)]] -class cocos2d::CCTexture2D { - static void PVRImagesHavePremultipliedAlpha(bool); - static cocos2d::CCTexture2DPixelFormat defaultAlphaPixelFormat(); - static void setDefaultAlphaPixelFormat(cocos2d::CCTexture2DPixelFormat); - - bool initPremultipliedATextureWithImage(cocos2d::CCImage*, unsigned int, unsigned int); - bool initWithData(void const*, cocos2d::CCTexture2DPixelFormat, unsigned int, unsigned int, cocos2d::CCSize const&); - bool initWithETCFile(char const*); - bool initWithImage(cocos2d::CCImage*); - bool initWithPVRFile(char const*); - bool initWithString(char const*, char const*, float); - bool initWithString(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment, cocos2d::CCVerticalTextAlignment); - bool initWithString(char const*, cocos2d::_ccFontDefinition*); - - cocos2d::CCSize const& getContentSizeInPixels(); - - void setAliasTexParameters(); - void setAntiAliasTexParameters(); - void setTexParameters(cocos2d::_ccTexParams*); - - // CCTexture2D(cocos2d::CCTexture2D const&); - // CCTexture2D(); - unsigned int bitsPerPixelForFormat(cocos2d::CCTexture2DPixelFormat); - unsigned int bitsPerPixelForFormat(); - char const* description(); - void drawAtPoint(cocos2d::CCPoint const&); - void drawInRect(cocos2d::CCRect const&); - void generateMipmap(); - bool hasMipmaps(); - bool hasPremultipliedAlpha(); - void* keepData(void*, unsigned int); - void releaseData(void*); - void releaseGLTexture(); - char const* stringForFormat(); - - virtual cocos2d::CCTexture2DPixelFormat getPixelFormat(); - virtual unsigned int getPixelsWide(); - virtual unsigned int getPixelsHigh(); - virtual unsigned int getName(); - virtual float getMaxS(); - virtual void setMaxS(float); - virtual float getMaxT(); - virtual void setMaxT(float); - virtual cocos2d::CCSize getContentSize(); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); -} - -[[link(win, android)]] -class cocos2d::CCTextureAtlas { - static cocos2d::CCTextureAtlas* create(char const*, unsigned int); - static cocos2d::CCTextureAtlas* createWithTexture(cocos2d::CCTexture2D*, unsigned int); - - bool initWithFile(char const*, unsigned int); - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int); - - void setDirty(bool); - - // CCTextureAtlas(cocos2d::CCTextureAtlas const&); - // CCTextureAtlas(); - char const* description(); - void drawNumberOfQuads(unsigned int); - void drawNumberOfQuads(unsigned int, unsigned int); - void drawQuads(); - void fillWithEmptyQuadsFromIndex(unsigned int, unsigned int); - void increaseTotalQuadsWith(unsigned int); - void insertQuad(cocos2d::_ccV3F_C4B_T2F_Quad*, unsigned int); - void insertQuadFromIndex(unsigned int, unsigned int); - void insertQuads(cocos2d::_ccV3F_C4B_T2F_Quad*, unsigned int, unsigned int); - bool isDirty(); - void listenBackToForeground(cocos2d::CCObject*); - void mapBuffers(); - void moveQuadsFromIndex(unsigned int, unsigned int); - void moveQuadsFromIndex(unsigned int, unsigned int, unsigned int); - void removeAllQuads(); - void removeQuadAtIndex(unsigned int); - void removeQuadsAtIndex(unsigned int, unsigned int); - bool resizeCapacity(unsigned int); - void setupIndices(); - void setupVBO(); - void updateQuad(cocos2d::_ccV3F_C4B_T2F_Quad*, unsigned int); - - virtual unsigned int getTotalQuads(); - virtual unsigned int getCapacity(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); - virtual cocos2d::_ccV3F_C4B_T2F_Quad* getQuads(); - virtual void setQuads(cocos2d::_ccV3F_C4B_T2F_Quad*); -} - -[[link(win, android)]] -class cocos2d::CCTextureCache { - static void purgeSharedTextureCache(); - static void reloadAllTextures(); - static cocos2d::CCTextureCache* sharedTextureCache(); - - // CCTextureCache(cocos2d::CCTextureCache const&); - // CCTextureCache(); - cocos2d::CCTexture2D* addETCImage(char const*); - cocos2d::CCTexture2D* addImage(char const*, bool); - void addImageAsync(char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler, int, cocos2d::CCTexture2DPixelFormat); - void addImageAsyncCallBack(float); - cocos2d::CCTexture2D* addPVRImage(char const*); - cocos2d::CCTexture2D* addUIImage(cocos2d::CCImage*, char const*); - char const* description(); - void dumpCachedTextureInfo(); - void prepareAsyncLoading(); - bool reloadTexture(char const*); - void removeAllTextures(); - void removeTexture(cocos2d::CCTexture2D*); - void removeTextureForKey(char const*); - void removeUnusedTextures(); - cocos2d::CCDictionary* snapshotTextures(); - cocos2d::CCTexture2D* textureForKey(char const*); -} - -[[link(win, android)]] -class cocos2d::CCTextureETC { - bool initWithFile(char const*); - - unsigned int getHeight() const; - unsigned int getName() const; - unsigned int getWidth() const; - - // CCTextureETC(cocos2d::CCTextureETC const&); - // CCTextureETC(); - bool loadTexture(char const*); -} - -[[link(win, android)]] -class cocos2d::CCTextureProtocol { - // CCTextureProtocol(cocos2d::CCTextureProtocol const&); - // CCTextureProtocol(); -} - -[[link(win, android)]] -class cocos2d::CCThread { - // CCThread(); - void createAutoreleasePool(); -} - -[[link(win, android)]] -class cocos2d::CCTileMapAtlas { - static cocos2d::CCTileMapAtlas* create(char const*, char const*, int, int); - - bool initWithTileFile(char const*, char const*, int, int); - - void setTile(cocos2d::_ccColor3B const&, cocos2d::CCPoint const&); - - // CCTileMapAtlas(cocos2d::CCTileMapAtlas const&); - // CCTileMapAtlas(); - void calculateItemsToRender(); - void loadTGAfile(char const*); - void releaseMap(); - cocos2d::_ccColor3B tileAt(cocos2d::CCPoint const&); - void updateAtlasValueAt(cocos2d::CCPoint const&, cocos2d::_ccColor3B const&, unsigned int); - - virtual void updateAtlasValues(); - virtual cocos2d::sImageTGA* getTGAInfo(); - virtual void setTGAInfo(cocos2d::sImageTGA*); -} - -[[link(win, android)]] -class cocos2d::CCTiledGrid3D { - static cocos2d::CCTiledGrid3D* create(cocos2d::CCSize const&); - static cocos2d::CCTiledGrid3D* create(cocos2d::CCSize const&, cocos2d::CCTexture2D*, bool); - - void setTile(cocos2d::CCPoint const&, cocos2d::_ccQuad3 const&); - - // CCTiledGrid3D(cocos2d::CCTiledGrid3D const&); - // CCTiledGrid3D(); - cocos2d::_ccQuad3 originalTile(cocos2d::CCPoint const&); - cocos2d::_ccQuad3 tile(cocos2d::CCPoint const&); - - virtual void blit(); - virtual void reuse(); - virtual void calculateVertexPoints(); -} - -[[link(win, android)]] -class cocos2d::CCTiledGrid3DAction { - static cocos2d::CCTiledGrid3DAction* create(float, cocos2d::CCSize const&); - - void setTile(cocos2d::CCPoint const&, cocos2d::_ccQuad3 const&); - - // CCTiledGrid3DAction(cocos2d::CCTiledGrid3DAction const&); - // CCTiledGrid3DAction(); - cocos2d::_ccQuad3 originalTile(cocos2d::CCPoint const&); - cocos2d::_ccQuad3 tile(cocos2d::CCPoint const&); - - virtual cocos2d::CCGridBase* getGrid(); -} - -[[link(win, android)]] -class cocos2d::CCTimer { - static cocos2d::CCTimer* timerWithScriptHandler(int, float); - static cocos2d::CCTimer* timerWithTarget(cocos2d::CCObject*, cocos2d::SEL_SCHEDULE); - static cocos2d::CCTimer* timerWithTarget(cocos2d::CCObject*, cocos2d::SEL_SCHEDULE, float); - - bool initWithScriptHandler(int, float); - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_SCHEDULE); - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_SCHEDULE, float, unsigned int, float); - - float getInterval() const; - int getScriptHandler(); - SEL_SCHEDULE getSelector() const; - - void setInterval(float); - - // CCTimer(cocos2d::CCTimer const&); - // CCTimer(); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCTintBy { - static cocos2d::CCTintBy* create(float, short, short, short); - - bool initWithDuration(float, short, short, short); - - // CCTintBy(cocos2d::CCTintBy const&); - // CCTintBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCTintTo { - static cocos2d::CCTintTo* create(float, unsigned char, unsigned char, unsigned char); - - bool initWithDuration(float, unsigned char, unsigned char, unsigned char); - - // CCTintTo(cocos2d::CCTintTo const&); - // CCTintTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCToggleVisibility { - static cocos2d::CCToggleVisibility* create(); - - // CCToggleVisibility(cocos2d::CCToggleVisibility const&); - // CCToggleVisibility(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCTouch { - cocos2d::CCPoint getDelta() const; - int getID() const; - cocos2d::CCPoint getLocation() const; - cocos2d::CCPoint getLocationInView() const; - cocos2d::CCPoint getPreviousLocation() const; - cocos2d::CCPoint getPreviousLocationInView() const; - cocos2d::CCPoint getStartLocation() const; - cocos2d::CCPoint getStartLocationInView() const; - - void setTouchInfo(int, float, float); - - // CCTouch(cocos2d::CCTouch const&); - // CCTouch(); -} - -[[link(win, android)]] -class cocos2d::CCTouchDelegate { - // CCTouchDelegate(cocos2d::CCTouchDelegate const&); - // CCTouchDelegate(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init(); - - int getTargetPrio() const; - - void setDispatchEvents(bool); - void setPriority(int, cocos2d::CCTouchDelegate*); - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void addStandardDelegate(cocos2d::CCTouchDelegate*, int); - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*); - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*); - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*); - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio(); - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int); - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*); - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int); - void unregisterForcePrio(cocos2d::CCObject*); - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); -} - -[[link(win, android)]] -class cocos2d::CCTouchHandler { - static cocos2d::CCTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int); - - cocos2d::CCTouchDelegate* getDelegate(); - int getEnabledSelectors(); - int getPriority(); - - void setDelegate(cocos2d::CCTouchDelegate*); - void setEnalbedSelectors(int); - void setPriority(int); - - // CCTouchHandler(cocos2d::CCTouchHandler const&); - // CCTouchHandler(); - - virtual bool initWithDelegate(cocos2d::CCTouchDelegate*, int); -} - -[[link(win, android)]] -class cocos2d::CCTransitionCrossFade { - static cocos2d::CCTransitionCrossFade* create(float, cocos2d::CCScene*); - - // CCTransitionCrossFade(cocos2d::CCTransitionCrossFade const&); - // CCTransitionCrossFade(); - - virtual void onEnter(); - virtual void onExit(); - virtual void draw(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionEaseScene { - // CCTransitionEaseScene(cocos2d::CCTransitionEaseScene const&); - // CCTransitionEaseScene(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFadeBL { - static cocos2d::CCTransitionFadeBL* create(float, cocos2d::CCScene*); - - // CCTransitionFadeBL(cocos2d::CCTransitionFadeBL const&); - // CCTransitionFadeBL(); - - virtual cocos2d::CCActionInterval* actionWithSize(cocos2d::CCSize const&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFadeDown { - static cocos2d::CCTransitionFadeDown* create(float, cocos2d::CCScene*); - - // CCTransitionFadeDown(cocos2d::CCTransitionFadeDown const&); - // CCTransitionFadeDown(); - - virtual cocos2d::CCActionInterval* actionWithSize(cocos2d::CCSize const&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFadeTR { - static cocos2d::CCTransitionFadeTR* create(float, cocos2d::CCScene*); - - // CCTransitionFadeTR(cocos2d::CCTransitionFadeTR const&); - // CCTransitionFadeTR(); - - virtual void onEnter(); - virtual void sceneOrder(); - virtual cocos2d::CCActionInterval* actionWithSize(cocos2d::CCSize const&); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFadeUp { - static cocos2d::CCTransitionFadeUp* create(float, cocos2d::CCScene*); - - // CCTransitionFadeUp(cocos2d::CCTransitionFadeUp const&); - // CCTransitionFadeUp(); - - virtual cocos2d::CCActionInterval* actionWithSize(cocos2d::CCSize const&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFlipAngular { - static cocos2d::CCTransitionFlipAngular* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionFlipAngular* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionFlipAngular(cocos2d::CCTransitionFlipAngular const&); - // CCTransitionFlipAngular(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFlipX { - static cocos2d::CCTransitionFlipX* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionFlipX* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionFlipX(cocos2d::CCTransitionFlipX const&); - // CCTransitionFlipX(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFlipY { - static cocos2d::CCTransitionFlipY* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionFlipY* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionFlipY(cocos2d::CCTransitionFlipY const&); - // CCTransitionFlipY(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionJumpZoom { - static cocos2d::CCTransitionJumpZoom* create(float, cocos2d::CCScene*); - - // CCTransitionJumpZoom(cocos2d::CCTransitionJumpZoom const&); - // CCTransitionJumpZoom(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionMoveInB { - static cocos2d::CCTransitionMoveInB* create(float, cocos2d::CCScene*); - - // CCTransitionMoveInB(cocos2d::CCTransitionMoveInB const&); - // CCTransitionMoveInB(); - - virtual void initScenes(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionMoveInL { - static cocos2d::CCTransitionMoveInL* create(float, cocos2d::CCScene*); - - // CCTransitionMoveInL(cocos2d::CCTransitionMoveInL const&); - // CCTransitionMoveInL(); - - virtual void onEnter(); - virtual void initScenes(); - virtual cocos2d::CCActionInterval* action(); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionMoveInR { - static cocos2d::CCTransitionMoveInR* create(float, cocos2d::CCScene*); - - // CCTransitionMoveInR(cocos2d::CCTransitionMoveInR const&); - // CCTransitionMoveInR(); - - virtual void initScenes(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionMoveInT { - static cocos2d::CCTransitionMoveInT* create(float, cocos2d::CCScene*); - - // CCTransitionMoveInT(cocos2d::CCTransitionMoveInT const&); - // CCTransitionMoveInT(); - - virtual void initScenes(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionPageTurn { - static cocos2d::CCTransitionPageTurn* create(float, cocos2d::CCScene*, bool); - - // CCTransitionPageTurn(cocos2d::CCTransitionPageTurn const&); - // CCTransitionPageTurn(); - cocos2d::CCActionInterval* actionWithSize(cocos2d::CCSize const&); - - virtual void onEnter(); - virtual void sceneOrder(); - virtual bool initWithDuration(float, cocos2d::CCScene*, bool); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgress { - static cocos2d::CCTransitionProgress* create(float, cocos2d::CCScene*); - - // CCTransitionProgress(cocos2d::CCTransitionProgress const&); - // CCTransitionProgress(); - - virtual void onEnter(); - virtual void onExit(); - virtual void sceneOrder(); - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); - virtual void setupTransition(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressHorizontal { - static cocos2d::CCTransitionProgressHorizontal* create(float, cocos2d::CCScene*); - - // CCTransitionProgressHorizontal(cocos2d::CCTransitionProgressHorizontal const&); - // CCTransitionProgressHorizontal(); - - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressInOut { - static cocos2d::CCTransitionProgressInOut* create(float, cocos2d::CCScene*); - - // CCTransitionProgressInOut(cocos2d::CCTransitionProgressInOut const&); - // CCTransitionProgressInOut(); - - virtual void sceneOrder(); - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); - virtual void setupTransition(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressOutIn { - static cocos2d::CCTransitionProgressOutIn* create(float, cocos2d::CCScene*); - - // CCTransitionProgressOutIn(cocos2d::CCTransitionProgressOutIn const&); - // CCTransitionProgressOutIn(); - - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressRadialCCW { - static cocos2d::CCTransitionProgressRadialCCW* create(float, cocos2d::CCScene*); - - // CCTransitionProgressRadialCCW(cocos2d::CCTransitionProgressRadialCCW const&); - // CCTransitionProgressRadialCCW(); - - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressRadialCW { - static cocos2d::CCTransitionProgressRadialCW* create(float, cocos2d::CCScene*); - - // CCTransitionProgressRadialCW(cocos2d::CCTransitionProgressRadialCW const&); - // CCTransitionProgressRadialCW(); - - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionProgressVertical { - static cocos2d::CCTransitionProgressVertical* create(float, cocos2d::CCScene*); - - // CCTransitionProgressVertical(cocos2d::CCTransitionProgressVertical const&); - // CCTransitionProgressVertical(); - - virtual cocos2d::CCProgressTimer* progressTimerNodeWithRenderTexture(cocos2d::CCRenderTexture*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionRotoZoom { - static cocos2d::CCTransitionRotoZoom* create(float, cocos2d::CCScene*); - - // CCTransitionRotoZoom(cocos2d::CCTransitionRotoZoom const&); - // CCTransitionRotoZoom(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSceneOriented { - static cocos2d::CCTransitionSceneOriented* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionSceneOriented(cocos2d::CCTransitionSceneOriented const&); - // CCTransitionSceneOriented(); - - virtual bool initWithDuration(float, cocos2d::CCScene*, cocos2d::tOrientation); -} - -[[link(win, android)]] -class cocos2d::CCTransitionShrinkGrow { - static cocos2d::CCTransitionShrinkGrow* create(float, cocos2d::CCScene*); - - // CCTransitionShrinkGrow(cocos2d::CCTransitionShrinkGrow const&); - // CCTransitionShrinkGrow(); - - virtual void onEnter(); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSlideInB { - static cocos2d::CCTransitionSlideInB* create(float, cocos2d::CCScene*); - - // CCTransitionSlideInB(cocos2d::CCTransitionSlideInB const&); - // CCTransitionSlideInB(); - - virtual void sceneOrder(); - virtual void initScenes(); - virtual cocos2d::CCActionInterval* action(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSlideInL { - static cocos2d::CCTransitionSlideInL* create(float, cocos2d::CCScene*); - - // CCTransitionSlideInL(cocos2d::CCTransitionSlideInL const&); - // CCTransitionSlideInL(); - - virtual void onEnter(); - virtual void sceneOrder(); - virtual void initScenes(); - virtual cocos2d::CCActionInterval* action(); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSlideInR { - static cocos2d::CCTransitionSlideInR* create(float, cocos2d::CCScene*); - - // CCTransitionSlideInR(cocos2d::CCTransitionSlideInR const&); - // CCTransitionSlideInR(); - - virtual void sceneOrder(); - virtual void initScenes(); - virtual cocos2d::CCActionInterval* action(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSlideInT { - static cocos2d::CCTransitionSlideInT* create(float, cocos2d::CCScene*); - - // CCTransitionSlideInT(cocos2d::CCTransitionSlideInT const&); - // CCTransitionSlideInT(); - - virtual void sceneOrder(); - virtual void initScenes(); - virtual cocos2d::CCActionInterval* action(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSplitCols { - static cocos2d::CCTransitionSplitCols* create(float, cocos2d::CCScene*); - - // CCTransitionSplitCols(cocos2d::CCTransitionSplitCols const&); - // CCTransitionSplitCols(); - - virtual void onEnter(); - virtual cocos2d::CCActionInterval* action(); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionSplitRows { - static cocos2d::CCTransitionSplitRows* create(float, cocos2d::CCScene*); - - // CCTransitionSplitRows(cocos2d::CCTransitionSplitRows const&); - // CCTransitionSplitRows(); - - virtual cocos2d::CCActionInterval* action(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionTurnOffTiles { - static cocos2d::CCTransitionTurnOffTiles* create(float, cocos2d::CCScene*); - - // CCTransitionTurnOffTiles(cocos2d::CCTransitionTurnOffTiles const&); - // CCTransitionTurnOffTiles(); - - virtual void onEnter(); - virtual void sceneOrder(); - - virtual cocos2d::CCActionInterval* easeActionWithAction(cocos2d::CCActionInterval*); -} - -[[link(win, android)]] -class cocos2d::CCTransitionZoomFlipAngular { - static cocos2d::CCTransitionZoomFlipAngular* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionZoomFlipAngular* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionZoomFlipAngular(cocos2d::CCTransitionZoomFlipAngular const&); - // CCTransitionZoomFlipAngular(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionZoomFlipX { - static cocos2d::CCTransitionZoomFlipX* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionZoomFlipX* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionZoomFlipX(cocos2d::CCTransitionZoomFlipX const&); - // CCTransitionZoomFlipX(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTransitionZoomFlipY { - static cocos2d::CCTransitionZoomFlipY* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionZoomFlipY* create(float, cocos2d::CCScene*, cocos2d::tOrientation); - - // CCTransitionZoomFlipY(cocos2d::CCTransitionZoomFlipY const&); - // CCTransitionZoomFlipY(); - - virtual void onEnter(); -} - -[[link(win, android)]] -class cocos2d::CCTurnOffTiles { - static cocos2d::CCTurnOffTiles* create(float, cocos2d::CCSize const&); - static cocos2d::CCTurnOffTiles* create(float, cocos2d::CCSize const&, unsigned int); - - // CCTurnOffTiles(cocos2d::CCTurnOffTiles const&); - // CCTurnOffTiles(); - void shuffle(unsigned int*, unsigned int); - void turnOffTile(cocos2d::CCPoint const&); - void turnOnTile(cocos2d::CCPoint const&); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual bool initWithDuration(float, cocos2d::CCSize const&, unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCTwirl { - static cocos2d::CCTwirl* create(float, cocos2d::CCSize const&, cocos2d::CCPoint, unsigned int, float); - - bool initWithDuration(float, cocos2d::CCSize const&, cocos2d::CCPoint, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - cocos2d::CCPoint const& getPosition(); - - void setAmplitude(float); - void setAmplitudeRate(float); - void setPosition(cocos2d::CCPoint const&); - - // CCTwirl(cocos2d::CCTwirl const&); - // CCTwirl(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCUserDefault { - // CCUserDefault(); - static bool createXMLFile(); - void flush(); - bool getBoolForKey(char const*); - bool getBoolForKey(char const*, bool); - double getDoubleForKey(char const*); - double getDoubleForKey(char const*, double); - float getFloatForKey(char const*); - float getFloatForKey(char const*, float); - int getIntegerForKey(char const*); - int getIntegerForKey(char const*, int); - gd::string getStringForKey(char const*); - gd::string getStringForKey(char const*, gd::string const&); - static gd::string const& getXMLFilePath(); - static void initXMLFilePath(); - static bool isXMLFileExist(); - static void purgeSharedUserDefault(); - void setBoolForKey(char const*, bool); - void setDoubleForKey(char const*, double); - void setFloatForKey(char const*, float); - void setIntegerForKey(char const*, int); - void setStringForKey(char const*, gd::string const&); - static cocos2d::CCUserDefault* sharedUserDefault(); -} - -[[link(win, android)]] -class cocos2d::CCWaves3D { - static cocos2d::CCWaves3D* create(float, cocos2d::CCSize const&, unsigned int, float); - - bool initWithDuration(float, cocos2d::CCSize const&, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - - void setAmplitude(float); - void setAmplitudeRate(float); - - // CCWaves3D(cocos2d::CCWaves3D const&); - // CCWaves3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCWaves { - static cocos2d::CCWaves* create(float, cocos2d::CCSize const&, unsigned int, float, bool, bool); - - bool initWithDuration(float, cocos2d::CCSize const&, unsigned int, float, bool, bool); - - float getAmplitude(); - float getAmplitudeRate(); - - void setAmplitude(float); - void setAmplitudeRate(float); - - // CCWaves(cocos2d::CCWaves const&); - // CCWaves(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCWavesTiles3D { - static cocos2d::CCWavesTiles3D* create(float, cocos2d::CCSize const&, unsigned int, float); - - float getAmplitude(); - float getAmplitudeRate(); - - void setAmplitude(float); - void setAmplitudeRate(float); - - // CCWavesTiles3D(cocos2d::CCWavesTiles3D const&); - // CCWavesTiles3D(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithDuration(float, cocos2d::CCSize const&, unsigned int, float); -} - -[[link(win, android)]] -class cocos2d::CCZone { - // CCZone(cocos2d::CCObject*); -} - -[[link(win, android)]] -class cocos2d::EGLTouchDelegate { - // EGLTouchDelegate(cocos2d::EGLTouchDelegate const&); - // EGLTouchDelegate(); -} - -[[link(win, android)]] -class ObjectDecoder { - static ObjectDecoder* sharedDecoder(); - - cocos2d::CCObject* getDecodedObject(int, DS_Dictionary*); - ObjectDecoderDelegate* getDelegate() const; - - void setDelegate(ObjectDecoderDelegate*); - - // ObjectDecoder(ObjectDecoder const&); - // ObjectDecoder(); - - virtual bool init(); -} - -[[link(win, android)]] -class cocos2d { - static cocos2d::CCAffineTransform CCAffineTransformConcat(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static bool CCAffineTransformEqualToTransform(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformInvert(cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformMakeIdentity(); - static cocos2d::CCAffineTransform CCAffineTransformRotate(cocos2d::CCAffineTransform const&, float); - static cocos2d::CCAffineTransform CCAffineTransformScale(cocos2d::CCAffineTransform const&, float, float); - static cocos2d::CCAffineTransform CCAffineTransformTranslate(cocos2d::CCAffineTransform const&, float, float); - // static void CCLog(char const*, ...); - static void CCLuaLog(char const*); - static void CCMessageBox(char const*, char const*); - static cocos2d::CCPoint CCPointFromString(char const*); - static void CCProfilingBeginTimingBlock(char const*); - static void CCProfilingEndTimingBlock(char const*); - static void CCProfilingResetTimingBlock(char const*); - static cocos2d::CCRect CCRectApplyAffineTransform(cocos2d::CCRect const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCRect CCRectFromString(char const*); - static cocos2d::CCSize CCSizeFromString(char const*); - static cocos2d::CCBMFontConfiguration* FNTConfigLoadFile(char const*); - static void FNTConfigRemoveCache(); - static cocos2d::CCAffineTransform __CCAffineTransformMake(float, float, float, float, float, float); - static cocos2d::CCPoint __CCPointApplyAffineTransform(cocos2d::CCPoint const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCSize __CCSizeApplyAffineTransform(cocos2d::CCSize const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCPoint ccCardinalSplineAt(cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, float, float); - static void ccDrawCardinalSpline(cocos2d::CCPointArray*, float, unsigned int); - static void ccDrawCatmullRom(cocos2d::CCPointArray*, unsigned int); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool, float, float); - static void ccDrawCircleSegment(cocos2d::CCPoint const&, float, float, float, unsigned int, bool, float, float); - static void ccDrawColor4B(unsigned char, unsigned char, unsigned char, unsigned char); - static void ccDrawColor4F(float, float, float, float); - static void ccDrawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawFilledCircle(cocos2d::CCPoint const&, float, float, unsigned int); - static void ccDrawFree(); - static void ccDrawInit(); - static void ccDrawLine(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static void ccDrawLines(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoint(cocos2d::CCPoint const&); - static void ccDrawPoints(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool); - static void ccDrawQuadBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawRect(cocos2d::CCPoint, cocos2d::CCPoint); - static void ccDrawSolidPoly(cocos2d::CCPoint const*, unsigned int, cocos2d::_ccColor4F); - static void ccDrawSolidRect(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor4F); - static void ccGLBindTexture2D(unsigned int); - static void ccGLBindTexture2DN(unsigned int, unsigned int); - static void ccGLBindVAO(unsigned int); - static void ccGLBlendFunc(unsigned int, unsigned int); - static void ccGLBlendResetToCache(); - static void ccGLDeleteProgram(unsigned int); - static void ccGLDeleteTexture(unsigned int); - static void ccGLDeleteTextureN(unsigned int, unsigned int); - static void ccGLEnable(cocos2d::ccGLServerState); - static void ccGLEnableVertexAttribs(unsigned int); - static void ccGLInvalidateStateCache(); - static void ccGLUseProgram(unsigned int); - static void ccPointSize(float); - static void ccSetProjectionMatrixDirty(); - static bool ccVertexLineIntersect(float, float, float, float, float, float, float, float, float*); - static void ccVertexLineToPolygon(cocos2d::CCPoint*, float, cocos2d::_ccVertex2F*, unsigned int, unsigned int); - // static char* cc_utf16_to_utf8(unsigned short const*, int*); - static gd::vector cc_utf16_vec_from_utf16_str(unsigned short const*); - // static unsigned int cc_utf8_find_last_not_char(gd::vector const&, unsigned short); - // static long cc_utf8_strlen(char const*); - // static unsigned short* cc_utf8_to_utf16(char const*, int*); - static void cc_utf8_trim_ws(gd::vector*); - static int cc_wcslen(unsigned short const*); - static float ccpAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpAngleSigned(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpClamp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpCompMult(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - // static cocos2d::CCPoint ccpCompOp(cocos2d::CCPoint const&, float (__cdecl*)(float)); - static float ccpDistance(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpForAngle(float); - static cocos2d::CCPoint ccpFromSize(cocos2d::CCSize const&); - static bool ccpFuzzyEqual(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static cocos2d::CCPoint ccpIntersectPoint(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpLength(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpLerp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpLineIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, float*, float*); - static cocos2d::CCPoint ccpNormalize(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpRotateByAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpSegmentIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpToAngle(cocos2d::CCPoint const&); - static char const* cocos2dVersion(); -} - -[[link(win, android)]] -class cocos2d::CCDevice { - static int getDPI(); -} diff --git a/bindings/bindings/2.200/Cocos2d.bro b/bindings/bindings/2.200/Cocos2d.bro deleted file mode 100644 index 379826d..0000000 --- a/bindings/bindings/2.200/Cocos2d.bro +++ /dev/null @@ -1,2263 +0,0 @@ - -[[link(win, android)]] -class cocos2d::CCEaseSineInOut { - static cocos2d::CCEaseSineInOut* create(cocos2d::CCActionInterval*) = mac 0x4ed980; - - // CCEaseSineInOut(cocos2d::CCEaseSineInOut const&); - // CCEaseSineInOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCEaseElasticOut { - static cocos2d::CCEaseElasticOut* create(cocos2d::CCActionInterval*); - static cocos2d::CCEaseElasticOut* create(cocos2d::CCActionInterval*, float) = mac 0x4EE060; - - // CCEaseElasticOut(cocos2d::CCEaseElasticOut const&); - // CCEaseElasticOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string) = mac 0x419590; - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&) = mac 0x41bb20; - virtual gd::string getNewFilename(char const*) = mac 0x419400; - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&) = mac 0x4197b0; - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2() = mac 0x41bd50; - virtual bool init() = mac 0x4190a0; - virtual bool isAbsolutePath(gd::string const&) = mac 0x41bc90; - virtual bool isPopupNotify() = mac 0x41bcc0; - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool) = mac 0x41bcb0; - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils() = mac 0x5d0020; - virtual bool shouldUseHD() = mac 0x419560; - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCClippingNode { - static cocos2d::CCClippingNode* create(cocos2d::CCNode*); - static cocos2d::CCClippingNode* create() = mac 0x6e27c0; - - float getAlphaThreshold() const; - cocos2d::CCNode* getStencil() const; - - void setAlphaThreshold(float) = mac 0x6e2ed0; - void setInverted(bool) = mac 0x6e2ef0; - void setStencil(cocos2d::CCNode*) = mac 0x6e2e80; - - // CCClippingNode(); - // CCClippingNode(cocos2d::CCClippingNode const&); - bool isInverted() const; - - virtual bool init(); - virtual void onEnter() = mac 0x6e2990; - virtual void onEnterTransitionDidFinish() = mac 0x6e29c0; - virtual void onExit() = mac 0x6e2a20; - virtual void onExitTransitionDidStart() = mac 0x6e29f0; - virtual void visit() = mac 0x6e2a50; - virtual bool init(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCCallFunc { - static cocos2d::CCCallFunc* create(int); - static cocos2d::CCCallFunc* create(cocos2d::CCObject*, cocos2d::SEL_CallFunc) = mac 0x76e860; - - int getScriptHandler(); - cocos2d::CCObject* getTargetCallback(); - - void setTargetCallback(cocos2d::CCObject*); - - // CCCallFunc(cocos2d::CCCallFunc const&); - // CCCallFunc(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithTarget(cocos2d::CCObject*); - virtual void execute(); -} - - -[[link(win, android)]] -class cocos2d::CCFadeIn { - static cocos2d::CCFadeIn* create(float) = mac 0x398AD0; - - // CCFadeIn(cocos2d::CCFadeIn const&); - // CCFadeIn(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFadeOut { - static cocos2d::CCFadeOut* create(float) = mac 0x398D40; - - // CCFadeOut(cocos2d::CCFadeOut const&); - // CCFadeOut(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCFadeTo { - static cocos2d::CCFadeTo* create(float, unsigned char) = mac 0x398fc0; - - bool initWithDuration(float, unsigned char); - - // CCFadeTo(cocos2d::CCFadeTo const&); - // CCFadeTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create() = mac 0x250d20; - static void resetGlobalOrderOfArrival(); - - // CCNode(cocos2d::CCNode const&); - CCNode() = mac 0x2501f0; - ~CCNode() = mac 0x250390; - - cocos2d::CCAction* getActionByTag(int) = mac 0x252000; - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - cocos2d::CCRect boundingBox() = mac 0x250cb0; - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&) = mac 0x252c70; - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&) = mac 0x252cb0; - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions() = mac 0x252020; - void pauseSchedulerAndActions() = mac 0x251e80; - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions() = mac 0x251c40; - cocos2d::CCAction* runAction(cocos2d::CCAction*) = mac 0x251f90; - void schedule(cocos2d::SEL_SCHEDULE) = mac 0x2521c0; - void schedule(cocos2d::SEL_SCHEDULE, float) = mac 0x252220; - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float) = mac 0x2521f0; - void scheduleOnce(cocos2d::SEL_SCHEDULE, float) = mac 0x252250; - void scheduleUpdate() = mac 0x2520a0; - void scheduleUpdateWithPriority(int) = mac 0x2520d0; - void scheduleUpdateWithPriorityLua(int, int) = mac 0x252100; - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*) = mac 0x251fc0; - void stopActionByTag(int) = mac 0x251fe0; - void stopAllActions() = mac 0x250e10; - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE) = mac 0x252280; - void unscheduleAllSelectors() = mac 0x250e30; - void unscheduleUpdate() = mac 0x252170; - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const = mac 0x250900; - virtual cocos2d::CCSize const& getContentSize() const = mac 0x250a80; - virtual void update(float) = mac 0x2522a0; - virtual bool init() = mac 0x250530; - virtual void setZOrder(int) = mac 0x2505c0; - virtual void _setZOrder(int) = mac 0x2505b0; - virtual int getZOrder() = mac 0x2505a0; - virtual void setVertexZ(float) = mac 0x250610; - virtual float getVertexZ() = mac 0x250600; - virtual void setScaleX(float) = mac 0x250730; - virtual float getScaleX() = mac 0x250720; - virtual void setScaleY(float) = mac 0x250760; - virtual float getScaleY() = mac 0x250750; - virtual void setScale(float) = mac 0x2506e0; - virtual float getScale() = mac 0x2506d0; - virtual void setScale(float, float) = mac 0x250700; - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x250790; - virtual cocos2d::CCPoint const& getPosition() = mac 0x250780; - virtual void setPosition(float, float) = mac 0x2507d0; - virtual void getPosition(float*, float*) = mac 0x2507b0; - virtual void setPositionX(float) = mac 0x250830; - virtual float getPositionX() = mac 0x250810; - virtual void setPositionY(float) = mac 0x250870; - virtual float getPositionY() = mac 0x250820; - virtual void setSkewX(float) = mac 0x250550; - virtual float getSkewX() = mac 0x250540; - virtual void setSkewY(float) = mac 0x250580; - virtual float getSkewY() = mac 0x250570; - virtual void setAnchorPoint(cocos2d::CCPoint const&) = mac 0x250a00; - virtual cocos2d::CCPoint const& getAnchorPoint() = mac 0x2509f0; - virtual cocos2d::CCPoint const& getAnchorPointInPoints() = mac 0x2509e0; - virtual void setContentSize(cocos2d::CCSize const&) = mac 0x250ac0; - virtual cocos2d::CCSize getScaledContentSize() = mac 0x250a90; - virtual void setVisible(bool) = mac 0x2509d0; - virtual bool isVisible() = mac 0x2509c0; - virtual void setRotation(float) = mac 0x250630; - virtual float getRotation() = mac 0x250620; - virtual void setRotationX(float) = mac 0x250680; - virtual float getRotationX() = mac 0x250670; - virtual void setRotationY(float) = mac 0x2506b0; - virtual float getRotationY() = mac 0x2506a0; - virtual void setOrderOfArrival(unsigned int) = mac 0x250be0; - virtual unsigned int getOrderOfArrival() = mac 0x250bd0; - virtual void setGLServerState(cocos2d::ccGLServerState) = mac 0x250c20; - virtual cocos2d::ccGLServerState getGLServerState() = mac 0x250c10; - virtual void ignoreAnchorPointForPosition(bool) = mac 0x250b80; - virtual bool isIgnoreAnchorPointForPosition() = mac 0x250b70; - virtual void addChild(cocos2d::CCNode*) = mac 0x251070; - virtual void addChild(cocos2d::CCNode*, int) = mac 0x251050; - virtual void addChild(cocos2d::CCNode*, int, int) = mac 0x250f20; - virtual cocos2d::CCNode* getChildByTag(int) = mac 0x250ea0; - virtual cocos2d::CCArray* getChildren() = mac 0x2508b0; - virtual void setParent(cocos2d::CCNode*) = mac 0x250b60; - virtual cocos2d::CCNode* getParent() = mac 0x250b50; - virtual void removeFromParent() = mac 0x251090; - virtual void removeFromParentAndCleanup(bool) = mac 0x2510b0; - virtual void removeMeAndCleanup() = mac 0x2510e0; - virtual void removeChild(cocos2d::CCNode*) = mac 0x251100; - virtual void removeChild(cocos2d::CCNode*, bool) = mac 0x251120; - virtual void removeChildByTag(int) = mac 0x251270; - virtual void removeChildByTag(int, bool) = mac 0x251290; - virtual void removeAllChildren() = mac 0x2512d0; - virtual void removeAllChildrenWithCleanup(bool) = mac 0x2512f0; - virtual void reorderChild(cocos2d::CCNode*, int) = mac 0x251410; - virtual void sortAllChildren() = mac 0x251550; - virtual cocos2d::CCGridBase* getGrid() = mac 0x250970; - virtual void setGrid(cocos2d::CCGridBase*) = mac 0x250980; - virtual void* getUserData() = mac 0x250bb0; - virtual void setUserData(void*) = mac 0x250bc0; - virtual cocos2d::CCObject* getUserObject() = mac 0x250c00; - virtual void setUserObject(cocos2d::CCObject*) = mac 0x250c30; - virtual cocos2d::CCGLProgram* getShaderProgram() = mac 0x250bf0; - virtual void setShaderProgram(cocos2d::CCGLProgram*) = mac 0x250c70; - virtual cocos2d::CCCamera* getCamera() = mac 0x250920; - virtual bool isRunning() = mac 0x250b40; - virtual void registerScriptHandler(int) = mac 0x251ec0; - virtual void unregisterScriptHandler() = mac 0x251ef0; - virtual void onEnter() = mac 0x251b60; - virtual void onEnterTransitionDidFinish() = mac 0x251c80; - virtual void onExit() = mac 0x251da0; - virtual void onExitTransitionDidStart() = mac 0x251d00; - virtual void cleanup() = mac 0x250d80; - virtual void draw() = mac 0x251920; - virtual void visit() = mac 0x251930; - virtual void setActionManager(cocos2d::CCActionManager*) = mac 0x251f30; - virtual cocos2d::CCActionManager* getActionManager() = mac 0x251f80; - virtual void setScheduler(cocos2d::CCScheduler*) = mac 0x252040; - virtual cocos2d::CCScheduler* getScheduler() = mac 0x252090; - virtual void updateTransform() = mac 0x252f00; - virtual cocos2d::CCAffineTransform const nodeToParentTransform() = mac 0x252310; - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast() = mac 0x252620; - virtual cocos2d::CCAffineTransform const parentToNodeTransform() = mac 0x252a90; - virtual cocos2d::CCAffineTransform nodeToWorldTransform() = mac 0x252b10; - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast() = mac 0x252ba0; - virtual cocos2d::CCAffineTransform worldToNodeTransform() = mac 0x252c30; - virtual bool addComponent(cocos2d::CCComponent*) = mac 0x252f70; - virtual bool removeComponent(char const*) = mac 0x252f90; - virtual bool removeComponent(cocos2d::CCComponent*) = mac 0x252fb0; - virtual void removeAllComponents() = mac 0x252fd0; - virtual void updateTweenAction(float, char const*) = mac 0x252ee0; - virtual void updateTweenActionInt(float, int) = mac 0x252ef0; -} - -[[link(win, android)]] -class cocos2d::CCGLProgram { - bool initWithVertexShaderByteArray(char const*, char const*); - bool initWithVertexShaderFilename(char const*, char const*); - - unsigned int const getProgram(); - int getUniformLocationForName(char const*); - - void setUniformLocationWith1f(int, float); - void setUniformLocationWith1i(int, int); - void setUniformLocationWith2f(int, float, float); - void setUniformLocationWith2fv(int, float*, unsigned int); - void setUniformLocationWith2i(int, int, int); - void setUniformLocationWith2iv(int, int*, unsigned int); - void setUniformLocationWith3f(int, float, float, float); - void setUniformLocationWith3fv(int, float*, unsigned int); - void setUniformLocationWith3i(int, int, int, int); - void setUniformLocationWith3iv(int, int*, unsigned int); - void setUniformLocationWith4f(int, float, float, float, float); - void setUniformLocationWith4fv(int, float*, unsigned int); - void setUniformLocationWith4i(int, int, int, int, int); - void setUniformLocationWith4iv(int, int*, unsigned int); - void setUniformLocationWithMatrix3fv(int, float*, unsigned int); - void setUniformLocationWithMatrix4fv(int, float*, unsigned int); - void setUniformsForBuiltins() = mac 0x40ad20; - - // CCGLProgram(cocos2d::CCGLProgram const&); - // CCGLProgram(); - void addAttribute(char const*, unsigned int); - bool compileShader(unsigned int*, unsigned int, char const*); - char const* description(); - char const* fragmentShaderLog(); - bool link(); - // char const* logForOpenGLObject(unsigned int, void (__cdecl*)(unsigned int, unsigned int, int*), void (__cdecl*)(unsigned int, int, int*, char*)); - char const* programLog(); - void reset(); - bool updateUniformLocation(int, void*, unsigned int); - void updateUniforms(); - void use() = mac 0x409d50; - char const* vertexShaderLog(); -} - -[[link(win, android)]] -class cocos2d::CCString { - // static cocos2d::CCString* create(gd::string const&); - static cocos2d::CCString* createWithContentsOfFile(char const*) = mac 0x76cee0; - static cocos2d::CCString* createWithData(unsigned char const*, unsigned long) = mac 0x76cc10; - // static cocos2d::CCString* createWithFormat(char const*, ...) = mac 0x76cd60; - - // bool initWithFormat(char const*, ...); - // bool initWithFormatAndValist(char const*, char*); - - char const* getCString() const = mac 0x76c510; - - // CCString(cocos2d::CCString const&); - // CCString(gd::string const&); - // CCString(char const*); - // CCString(); - bool boolValue() const = mac 0x76c980; - int compare(char const*) const; - double doubleValue() const = mac 0x76c950; - float floatValue() const = mac 0x76c910; - int intValue() const = mac 0x76c890; - unsigned int length() const; - unsigned int uintValue() const; - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCScene { - static cocos2d::CCScene* create() = mac 0x26ec40; - - int getHighestChildZ() = mac 0x26ecf0; - - // CCScene(cocos2d::CCScene const&); - // CCScene(); - ~CCScene() = mac 0x26ebc0; - - virtual bool init() = mac 0x26ebf0; -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*) = mac 0x421430; - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool) = mac 0x41fe50; - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool) = mac 0x41fe30; - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool) = mac 0x420a30; - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*) = mac 0x420ff0; - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*) = mac 0x41f960; - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float) = mac 0x421a70; -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create() = mac 0x48c2b0; - - // CCLayer(cocos2d::CCLayer const&); - CCLayer() = mac 0x48bcf0; - ~CCLayer() = mac 0x48bfe0; - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init() = mac 0x48c250; - virtual void onEnter() = mac 0x48cb40; - virtual void onEnterTransitionDidFinish() = mac 0x48ccd0; - virtual void onExit() = mac 0x48cc00; - virtual void registerWithTouchDispatcher() = mac 0x48c3d0; - virtual void registerScriptTouchHandler(int, bool, int, bool) = mac 0x48c450; - virtual void unregisterScriptTouchHandler() = mac 0x48c4b0; - virtual bool isTouchEnabled() = mac 0x48c560; - virtual void setTouchEnabled(bool) = mac 0x48c570; - virtual void setTouchMode(cocos2d::ccTouchesMode) = mac 0x48c5e0; - virtual int getTouchMode() = mac 0x48c690; - virtual void setTouchPriority(int) = mac 0x48c630; - virtual int getTouchPriority() = mac 0x48c680; - virtual bool isAccelerometerEnabled() = mac 0x48c6a0; - virtual void setAccelerometerEnabled(bool) = mac 0x48c6b0; - virtual void setAccelerometerInterval(double) = mac 0x48c6f0; - virtual bool isKeypadEnabled() = mac 0x48c7f0; - virtual void setKeypadEnabled(bool) = mac 0x48c800; - virtual bool isKeyboardEnabled() = mac 0x48c870; - virtual void setKeyboardEnabled(bool) = mac 0x48c880; - virtual bool isMouseEnabled() = mac 0x48c8e0; - virtual void setMouseEnabled(bool) = mac 0x48c8f0; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x48cd10; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x48cda0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x48ce20; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x48cea0; - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x48cf20; - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x48cfa0; - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x48d020; - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x48d0a0; - virtual void setPreviousPriority(int) = mac 0xa660; - virtual int getPreviousPriority() = mac 0xa670; - - virtual void didAccelerate(cocos2d::CCAcceleration*) = mac 0x48c720; - - virtual void keyBackClicked() = mac 0x48c9a0; - virtual void keyMenuClicked() = mac 0x48ca40; - - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x48cac0; -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*) = mac 0x467310; - - // CCObject(cocos2d::CCObject const&); - CCObject() = mac 0x467020; - ~CCObject() = mac 0x467130; - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - cocos2d::CCObject* autorelease() = mac 0x467260; - cocos2d::CCObject* copy(); - bool isSingleReference() const = mac 0x467290; - void release() = mac 0x467230; - void retain() = mac 0x467250; - unsigned int retainCount() const; - - virtual int getTag() const = mac 0x4672e0; - virtual bool isEqual(cocos2d::CCObject const*) = mac 0x4672b0; - virtual void acceptVisitor(cocos2d::CCDataVisitor&) = mac 0x4672c0; - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x467300; - virtual bool canEncode() = mac 0x467320; - virtual void setTag(int) = mac 0x4672f0; -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&) = mac 0x48e8d0; - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float) = mac 0x48e710; - static cocos2d::CCLayerColor* create(); - - // CCLayerColor(cocos2d::CCLayerColor const&); - CCLayerColor() = mac 0x48dee0; - ~CCLayerColor() = mac 0x48e290; - - void setVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - - void addToVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void changeHeight(float); - void changeWidth(float); - void changeWidthAndHeight(float, float); - - virtual bool init() = mac 0x48ea90; - virtual void setContentSize(cocos2d::CCSize const&) = mac 0x48ec80; - virtual void draw() = mac 0x48edc0; - virtual bool initWithColor(cocos2d::_ccColor4B const&, float, float) = mac 0x48eae0; - virtual bool initWithColor(cocos2d::_ccColor4B const&) = mac 0x48ebd0; - virtual void updateColor() = mac 0x48ed70; - - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x48ee90; - virtual void setOpacity(unsigned char) = mac 0x48f010; - - virtual void setBlendFunc(cocos2d::_ccBlendFunc) = mac 0x48e520; - virtual cocos2d::_ccBlendFunc getBlendFunc() = mac 0x48e500; -} - -[[link(win, android)]] -class cocos2d::CCLayerGradient { - static cocos2d::CCLayerGradient* create(cocos2d::_ccColor4B const&, cocos2d::_ccColor4B const&) = mac 0x48F140; - static cocos2d::CCLayerGradient* create(cocos2d::_ccColor4B const&, cocos2d::_ccColor4B const&, cocos2d::CCPoint const&); - static cocos2d::CCLayerGradient* create(); - - bool getShouldPremultiply() const; - - void setShouldPremultiply(bool); - void setValues(cocos2d::_ccColor3B const&, unsigned char, cocos2d::_ccColor3B const&, unsigned char, cocos2d::CCPoint const&); - - // CCLayerGradient(cocos2d::CCLayerGradient const&); - // CCLayerGradient(); - - virtual bool init() = mac 0x48f4f0; - - // seems like the override is missing from cocos side (or this shouldn't be here) - // hopefully figure that one out before it actually becomes important - // virtual void visit() = mac 0x48f9e0; - - virtual void updateColor() = mac 0x48f630; - virtual bool initWithColor(cocos2d::_ccColor4B const&, cocos2d::_ccColor4B const&) = mac 0x48f580; - virtual bool initWithColor(cocos2d::_ccColor4B const&, cocos2d::_ccColor4B const&, cocos2d::CCPoint const&) = mac 0x48f520; - virtual cocos2d::_ccColor3B const& getStartColor() = mac 0x48f820; - virtual void setStartColor(cocos2d::_ccColor3B const&) = mac 0x48f830; - virtual cocos2d::_ccColor3B const& getEndColor() = mac 0x48f880; - virtual void setEndColor(cocos2d::_ccColor3B const&) = mac 0x48f850; - virtual unsigned char getStartOpacity() = mac 0x48f8b0; - virtual void setStartOpacity(unsigned char) = mac 0x48f890; - virtual unsigned char getEndOpacity() = mac 0x48f8e0; - virtual void setEndOpacity(unsigned char) = mac 0x48f8c0; - virtual cocos2d::CCPoint const& getVector() = mac 0x48f920; - virtual void setVector(cocos2d::CCPoint const&) = mac 0x48f8f0; - virtual void setCompressedInterpolation(bool) = mac 0x48f9c0; - virtual bool isCompressedInterpolation() = mac 0x48f9b0; -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - CCLayerRGBA() = mac 0x48d120; - ~CCLayerRGBA() = mac 0x48d490; - - virtual bool init() = mac 0x48d700; - - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x48d940; - virtual cocos2d::_ccColor3B const& getColor() = mac 0x48d900; - virtual cocos2d::_ccColor3B const& getDisplayedColor() = mac 0x48d920; - virtual unsigned char getDisplayedOpacity() = mac 0x48d7a0; - virtual unsigned char getOpacity() = mac 0x48d780; - virtual void setOpacity(unsigned char) = mac 0x48d7c0; - virtual bool isCascadeColorEnabled() = mac 0x48dea0; - virtual void setCascadeColorEnabled(bool) = mac 0x48dec0; - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x48dc40; - virtual bool isCascadeOpacityEnabled() = mac 0x48de60; - virtual void setCascadeOpacityEnabled(bool) = mac 0x48de80; - virtual void updateDisplayedOpacity(unsigned char) = mac 0x48dab0; -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float) = mac 0x53c670; - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCMoveBy { - static cocos2d::CCMoveBy* create(float, cocos2d::CCPoint const&) = mac 0x3960c0; - - bool initWithDuration(float, cocos2d::CCPoint const&); - - // CCMoveBy(cocos2d::CCMoveBy const&); - // CCMoveBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCMoveTo { - static cocos2d::CCMoveTo* create(float, cocos2d::CCPoint const&) = mac 0x3964a0; - - bool initWithDuration(float, cocos2d::CCPoint const&); - - // CCMoveTo(cocos2d::CCMoveTo const&); - // CCMoveTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCTouchHandler { - static cocos2d::CCTouchHandler* handlerWithDelegate(cocos2d::CCTouchDelegate*, int); - - cocos2d::CCTouchDelegate* getDelegate() = mac 0x45d860; - int getEnabledSelectors(); - int getPriority() = mac 0x45d8e0; - - void setDelegate(cocos2d::CCTouchDelegate*); - void setEnalbedSelectors(int); - void setPriority(int) = mac 0x45d8f0; - - // CCTouchHandler(cocos2d::CCTouchHandler const&); - // CCTouchHandler(); - - virtual bool initWithDelegate(cocos2d::CCTouchDelegate*, int); -} - -[[link(win, android)]] -class cocos2d::CCTextureCache { - static void purgeSharedTextureCache() = mac 0x5b16d0; - static void reloadAllTextures(); - static cocos2d::CCTextureCache* sharedTextureCache() = mac 0x5b1450; - - // CCTextureCache(cocos2d::CCTextureCache const&); - // CCTextureCache(); - cocos2d::CCTexture2D* addETCImage(char const*); - cocos2d::CCTexture2D* addImage(char const*, bool) = mac 0x5b2630; - void addImageAsync(char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler, int, cocos2d::CCTexture2DPixelFormat) = mac 0x5b18d0; - void addImageAsyncCallBack(float); - cocos2d::CCTexture2D* addPVRImage(char const*); - cocos2d::CCTexture2D* addUIImage(cocos2d::CCImage*, char const*) = mac 0x5b3350; - char const* description(); - void dumpCachedTextureInfo(); - void prepareAsyncLoading(); - bool reloadTexture(char const*); - void removeAllTextures(); - void removeTexture(cocos2d::CCTexture2D*); - void removeTextureForKey(char const*) = mac 0x5b38d0; - void removeUnusedTextures(); - cocos2d::CCDictionary* snapshotTextures(); - cocos2d::CCTexture2D* textureForKey(char const*) = mac 0x5b3950; -} - -[[link(win, android)]] -class cocos2d::CCTouch { - cocos2d::CCPoint getDelta() const { - return getLocation() - getPreviousLocation(); - } - int getID() const; - cocos2d::CCPoint getLocation() const = mac 0x5c750; - cocos2d::CCPoint getLocationInView() const; - cocos2d::CCPoint getPreviousLocation() const { - return CCDirector::sharedDirector()->convertToGL(m_prevPoint); - } - cocos2d::CCPoint getPreviousLocationInView() const; - cocos2d::CCPoint getStartLocation() const; - cocos2d::CCPoint getStartLocationInView() const; - - void setTouchInfo(int, float, float); - - // CCTouch(cocos2d::CCTouch const&); - // CCTouch(); -} - -[[link(win, android)]] -class cocos2d::CCSet { - static cocos2d::CCSet* create(); - - // CCSet(cocos2d::CCSet const&); - // CCSet(); - void addObject(cocos2d::CCObject*) = mac 0x775080; - cocos2d::CCObject* anyObject() = mac 0x775250; - cocos2d::CCSetIterator begin(); - bool containsObject(cocos2d::CCObject*); - cocos2d::CCSet* copy(); - int count() = mac 0x775070; - cocos2d::CCSetIterator end(); - cocos2d::CCSet* mutableCopy() = mac 0x775030; - void removeAllObjects(); - void removeObject(cocos2d::CCObject*) = mac 0x775130; - - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCTouchDelegate { - // CCTouchDelegate(cocos2d::CCTouchDelegate const&); - // CCTouchDelegate(); - - virtual void setPreviousPriority(int) {} - virtual int getPreviousPriority() { return 0; } -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init() = mac 0x4a6bf0; - - int getTargetPrio() const; - - void setDispatchEvents(bool); - void setPriority(int, cocos2d::CCTouchDelegate*) = mac 0x4a7640; - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = mac 0x4a6ea0; - void addStandardDelegate(cocos2d::CCTouchDelegate*, int); - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = mac 0x4a6ec0; - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*) = mac 0x4a74f0; - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*); - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*); - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio() = mac 0x4a6e90; - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int) = mac 0x4a6da0; - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*); - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int) = mac 0x4a77a0; - void unregisterForcePrio(cocos2d::CCObject*) = mac 0x4a6e40; - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x4a7de0; - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x4a7e20; - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x4a7e60; - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*) = mac 0x4a7ea0; -} - -[[link(win)]] -class cocos2d::CCEGLView { - // CCEGLView(); - // CCEGLView(cocos2d::CCEGLView const&); - virtual void swapBuffers() = mac 0x4de300; - // rest are in extras -} - -[[link(win, android)]] -class cocos2d::CCIMEDelegate { - CCIMEDelegate() = mac 0x4970a0; - ~CCIMEDelegate() = mac 0x497410; - virtual bool attachWithIME() = mac 0x497440; - virtual bool detachWithIME() = mac 0x497630; - virtual void deleteForward() {} -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static cocos2d::CCIMEDispatcher* sharedDispatcher(); - - // CCIMEDispatcher(); - - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool) = mac 0x1e2400; - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes) = mac 0x1e26d0; - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCDirector { - static cocos2d::CCDirector* sharedDirector() = mac 0x45eba0; - - float getActualDeltaTime() const; - double getAnimationInterval(); - cocos2d::CCDirectorDelegate* getDelegate() const; - bool getDontCallWillSwitch() const; - void getFPSImageData(unsigned char**, unsigned int*); - bool getIsTransitioning() const; - cocos2d::TextureQuality getLoadedTextureQuality() const; - cocos2d::CCScene* getNextScene(); - cocos2d::CCNode* getNotificationNode(); - cocos2d::CCEGLView* getOpenGLView(); - cocos2d::ccDirectorProjection getProjection(); - cocos2d::CCScene* getRunningScene(); - cocos2d::CCScene* getSceneReference() const; - float getScreenScaleFactor(); - float getScreenScaleFactorH(); - float getScreenScaleFactorW(); - float getSecondsPerFrame(); - bool getSmoothFix() const; - bool getSmoothFixCheck() const; - int getSmoothFixCounter() const; - unsigned int getTotalFrames(); - cocos2d::CCPoint getVisibleOrigin(); - cocos2d::CCSize getVisibleSize(); - cocos2d::CCSize getWinSize() = mac 0x45ff90; - cocos2d::CCSize getWinSizeInPixels(); - float getZEye(); - - void setActualDeltaTime(float); - void setAlphaBlending(bool); - void setContentScaleFactor(float); - void setDefaultValues() = mac 0x45ef70; - void setDelegate(cocos2d::CCDirectorDelegate*); - void setDeltaTime(float); - void setDepthTest(bool) = mac 0x45f2c0; - void setDisplayStats(bool); - void setDontCallWillSwitch(bool); - void setGLDefaultValues() = mac 0x45f250; - void setNextDeltaTimeZero(bool); - void setNextScene(); - void setNotificationNode(cocos2d::CCNode*); - void setOpenGLView(cocos2d::CCEGLView*); - void setProjection(cocos2d::ccDirectorProjection); - void setSceneReference(cocos2d::CCScene*); - void setSmoothFix(bool); - void setSmoothFixCheck(bool); - void setViewport(); - - // CCDirector(cocos2d::CCDirector const&); - // CCDirector(); - void applySmoothFix(); - void calculateDeltaTime(); - void calculateMPF(); - void checkSceneReference(); - cocos2d::CCPoint convertToGL(cocos2d::CCPoint const&) = mac 0x4604c0; - cocos2d::CCPoint convertToUI(cocos2d::CCPoint const&); - void createStatsLabel() = mac 0x45fe60; - void drawScene() = mac 0x45f510; - void end(); - bool isDisplayStats(); - bool isNextDeltaTimeZero(); - bool isPaused(); - bool isSendCleanupToScene(); - int levelForSceneInStack(cocos2d::CCScene*); - void pause(); - void popScene(); - bool popSceneWithTransition(float, cocos2d::PopTransition) = mac 0x460b30; - void popToRootScene(); - void popToSceneInStack(cocos2d::CCScene*); - void popToSceneStackLevel(int) = mac 0x460da0; - void purgeCachedData(); - void purgeDirector() = mac 0x460e10; - bool pushScene(cocos2d::CCScene*) = mac 0x4608a0; - void removeStatsLabel() = mac 0x461020; - bool replaceScene(cocos2d::CCScene*) = mac 0x460950; - void resetSmoothFixCounter(); - void reshapeProjection(cocos2d::CCSize const&); - void resume() = mac 0x460fa0; - void runWithScene(cocos2d::CCScene*) = mac 0x460800; - int sceneCount() = mac 0x460d20; - void setupScreenScale(cocos2d::CCSize, cocos2d::CCSize, cocos2d::TextureQuality); - void showFPSLabel(); - void showStats(); - void toggleShowFPS(bool, gd::string, cocos2d::CCPoint) = mac 0x45fe70; - void updateContentScale(cocos2d::TextureQuality); - void updateScreenScale(cocos2d::CCSize); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init() = mac 0x45ecc0; - virtual cocos2d::CCScheduler* getScheduler(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCTouchDispatcher* getTouchDispatcher(); - virtual void setTouchDispatcher(cocos2d::CCTouchDispatcher*); - virtual cocos2d::CCKeypadDispatcher* getKeypadDispatcher(); - virtual void setKeypadDispatcher(cocos2d::CCKeypadDispatcher*); - virtual cocos2d::CCKeyboardDispatcher* getKeyboardDispatcher(); - virtual void setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*); - virtual cocos2d::CCMouseDispatcher* getMouseDispatcher(); - virtual void setMouseDispatcher(cocos2d::CCMouseDispatcher*); - virtual cocos2d::CCAccelerometer* getAccelerometer(); - virtual void setAccelerometer(cocos2d::CCAccelerometer*); - virtual float getDeltaTime(); -} - -[[link(win, android)]] -class cocos2d::CCEGLViewProtocol { - float getScaleX() const; - float getScaleY() const; - void getSetOfTouchesEndOrCancel(cocos2d::CCSet&, int, int* const, float* const, float* const); // = mac 0x4e8400; - char const* getViewName(); - cocos2d::CCRect const& getViewPortRect() const = mac 0x4e8680; - - // CCEGLViewProtocol(cocos2d::CCEGLViewProtocol const&); - // CCEGLViewProtocol(); - void handleTouchesBegin(int, int* const, float* const, float* const); // = mac 0x4e7fb0; - void handleTouchesCancel(int, int* const, float* const, float* const); // = mac 0x4e8600; - void handleTouchesEnd(int, int* const, float* const, float* const); // = mac 0x4e8580; - void handleTouchesMove(int, int* const, float* const, float* const); // = mac 0x4e8270; - void updateDesignResolutionSize(); - - virtual void setFrameSize(float, float) = mac 0x4e7d30; - virtual void setDesignResolutionSize(float, float, ResolutionPolicy); - virtual void setTouchDelegate(cocos2d::EGLTouchDelegate*) = mac 0x4e7e30; - virtual void setViewPortInPoints(float, float, float, float) = mac 0x4de390; - virtual void setScissorInPoints(float, float, float, float) = mac 0x4de480; - virtual bool isScissorEnabled() = mac 0x4e7ec0; - virtual cocos2d::CCRect getScissorRect() = mac 0x4e7ee0; - virtual void setViewName(char const*) = mac 0x4e7f80; - virtual void pollInputEvents() = mac 0x4e86b0; - virtual cocos2d::CCSize const& getDesignResolutionSize() const; - virtual cocos2d::CCSize const& getFrameSize() const = mac 0x4e7d20; - virtual cocos2d::CCPoint getVisibleOrigin() const = mac 0x4e7dc0; - virtual cocos2d::CCSize getVisibleSize() const = mac 0x4e7d70; -} - - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - static cocos2d::CCNodeRGBA* create(); - - // CCNodeRGBA(cocos2d::CCNodeRGBA const&); - CCNodeRGBA() = mac 0x252ff0; - ~CCNodeRGBA() = mac 0x2530a0; - - virtual bool init() = mac 0x2530d0; - - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x2534f0; - virtual cocos2d::_ccColor3B const& getColor() = mac 0x2534b0; - virtual cocos2d::_ccColor3B const& getDisplayedColor() = mac 0x2534d0; - virtual unsigned char getDisplayedOpacity() = mac 0x253180; - virtual unsigned char getOpacity() = mac 0x253160; - virtual void setOpacity(unsigned char) = mac 0x2531a0; - virtual bool isCascadeColorEnabled() = mac 0x253880; - virtual void setCascadeColorEnabled(bool) = mac 0x2538a0; - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x253660; - virtual bool isCascadeOpacityEnabled() = mac 0x253470; - virtual void setCascadeOpacityEnabled(bool) = mac 0x253490; - virtual void updateDisplayedOpacity(unsigned char) = mac 0x2532e0; -} - -[[link(win, android)]] -class cocos2d::CCRepeatForever { - static cocos2d::CCRepeatForever* create(cocos2d::CCActionInterval*) = mac 0x394830; - - bool initWithAction(cocos2d::CCActionInterval*); - - cocos2d::CCActionInterval* getInnerAction(); - - void setInnerAction(cocos2d::CCActionInterval*); - - // CCRepeatForever(cocos2d::CCRepeatForever const&); - // CCRepeatForever(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void step(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRotateBy { - static cocos2d::CCRotateBy* create(float, float) = mac 0x395c00; - static cocos2d::CCRotateBy* create(float, float, float); - - bool initWithDuration(float, float); - bool initWithDuration(float, float, float); - - // CCRotateBy(cocos2d::CCRotateBy const&); - // CCRotateBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCScaleTo { - static cocos2d::CCScaleTo* create(float, float) = mac 0x397f90; - static cocos2d::CCScaleTo* create(float, float, float) = mac 0x398090; - - bool initWithDuration(float, float); - bool initWithDuration(float, float, float); - - // CCScaleTo(cocos2d::CCScaleTo const&); - // CCScaleTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrameCache { - static void purgeSharedSpriteFrameCache() = mac 0x2f8740; - static cocos2d::CCSpriteFrameCache* sharedSpriteFrameCache() = mac 0x2f85f0; - - bool init(); - - // CCSpriteFrameCache(); - // CCSpriteFrameCache(cocos2d::CCSpriteFrameCache const&); - void addSpriteFrame(cocos2d::CCSpriteFrame*, char const*) = mac 0x2f9810; - void addSpriteFramesWithDictionary(cocos2d::CCDictionary*, cocos2d::CCTexture2D*) = mac 0x2f88d0; - void addSpriteFramesWithFile(char const*, char const*); - void addSpriteFramesWithFile(char const*) = mac 0x2f9470; - void addSpriteFramesWithFile(char const*, cocos2d::CCTexture2D*) = mac 0x2f93c0; - void removeSpriteFrameByName(char const*) = mac 0x2f99c0; - void removeSpriteFrames() = mac 0x2f98f0; - void removeSpriteFramesFromDictionary(cocos2d::CCDictionary*) = mac 0x2f9e50; - void removeSpriteFramesFromFile(char const*) = mac 0x2f9c80; - void removeSpriteFramesFromTexture(cocos2d::CCTexture2D*) = mac 0x2fa060; - void removeUnusedSpriteFrames() = mac 0x2f9930; - cocos2d::CCSpriteFrame* spriteFrameByName(char const*) = mac 0x2fa330; -} - - -[[link(win, android)]] -class cocos2d::CCSpriteBatchNode { - static cocos2d::CCSpriteBatchNode* create(char const*); - static cocos2d::CCSpriteBatchNode* create(char const*, unsigned int) = mac 0x167460; - static cocos2d::CCSpriteBatchNode* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSpriteBatchNode* createWithTexture(cocos2d::CCTexture2D*, unsigned int); - - bool initWithFile(char const*, unsigned int); - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int) = mac 0x167320; - - int getAtlasCapacity() = mac 0x168800; - cocos2d::CCArray* getDescendants(); - bool getManualSortChildren() const; - cocos2d::CCTextureAtlas* getTextureAtlas(); - int getUsedAtlasCapacity(); - - void setManualSortChildren(bool); - void setTextureAtlas(cocos2d::CCTextureAtlas*); - - // CCSpriteBatchNode(cocos2d::CCSpriteBatchNode const&); - CCSpriteBatchNode() = mac 0x1675f0; - ~CCSpriteBatchNode() = mac 0x1676a0; - cocos2d::CCSpriteBatchNode* addSpriteWithoutQuad(cocos2d::CCSprite*, unsigned int, int); - void appendChild(cocos2d::CCSprite*) = mac 0x1678a0; - unsigned int atlasIndexForChild(cocos2d::CCSprite*, int); - unsigned int highestAtlasIndexInChild(cocos2d::CCSprite*); - void increaseAtlasCapacity(unsigned int) = mac 0x1687b0; - void increaseAtlasCapacity(); - void insertChild(cocos2d::CCSprite*, unsigned int); - void insertQuadFromSprite(cocos2d::CCSprite*, unsigned int); - unsigned int lowestAtlasIndexInChild(cocos2d::CCSprite*); - void manualSortAllChildren(); - unsigned int rebuildIndexInOrder(cocos2d::CCSprite*, unsigned int); - void removeChildAtIndex(unsigned int, bool); - void removeSpriteFromAtlas(cocos2d::CCSprite*); - void reorderBatch(bool); - void swap(int, int); - void updateAtlasIndex(cocos2d::CCSprite*, int*); - void updateBlendFunc(); - void updateQuadFromSprite(cocos2d::CCSprite*, unsigned int); - - virtual bool init() = mac 0x1675a0; - virtual void addChild(cocos2d::CCNode*) = mac 0x167a70; - virtual void addChild(cocos2d::CCNode*, int) = mac 0x167a80; - virtual void addChild(cocos2d::CCNode*, int, int) = mac 0x167810; - virtual void removeChild(cocos2d::CCNode*, bool) = mac 0x167af0; - virtual void removeAllChildrenWithCleanup(bool) = mac 0x167dd0; - virtual void reorderChild(cocos2d::CCNode*, int) = mac 0x167a90; - virtual void sortAllChildren() = mac 0x167e80; - virtual void draw() = mac 0x168670; - virtual void visit() = mac 0x167770; - - virtual void setBlendFunc(cocos2d::_ccBlendFunc) = mac 0x168ed0; - virtual cocos2d::_ccBlendFunc getBlendFunc() = mac 0x168ef0; - virtual cocos2d::CCTexture2D* getTexture() = mac 0x168f10; - virtual void setTexture(cocos2d::CCTexture2D*) = mac 0x168f40; -} - - -[[link(win, android)]] -class cocos2d::CCSprite { - static cocos2d::CCSprite* create(char const*) = mac 0x266400; - static cocos2d::CCSprite* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSprite* create() = mac 0x266700; - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x2665e0; - static cocos2d::CCSprite* createWithSpriteFrameName(char const*) = mac 0x2666d0; - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*) = mac 0x266310; - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - unsigned int getAtlasIndex(); - float getBlVertexMod() const; - float getBrVertexMod() const; - bool getDontDraw() const; - cocos2d::CCPoint const& getOffsetPosition(); - cocos2d::_ccV3F_C4B_T2F_Quad getQuad(); - cocos2d::CCTextureAtlas* getTextureAtlas(); - cocos2d::CCRect const& getTextureRect(); - float getTlVertexMod() const; - float getTrVertexMod() const; - cocos2d::CCPoint const& getUnflippedOffsetPosition(); - bool getUseVertexMod() const; - - void setAtlasIndex(unsigned int); - void setBlVertexMod(float); - void setBrVertexMod(float); - void setDontDraw(bool); - void setFlipX(bool) = mac 0x2683b0; - void setFlipY(bool) = mac 0x268400; - void setTextureAtlas(cocos2d::CCTextureAtlas*); - void setTlVertexMod(float); - void setTrVertexMod(float); - void setUseVertexMod(bool); - - // CCSprite(cocos2d::CCSprite const&); - CCSprite() = mac 0x266b90; - ~CCSprite() = mac 0x266c90; - bool isFlipX(); - bool isFlipY(); - bool isTextureRectRotated(); - void updateColor(); - - virtual bool init() = mac 0x2667e0; - virtual void setVertexZ(float) = mac 0x268250; - virtual void setScaleX(float) = mac 0x2680f0; - virtual void setScaleY(float) = mac 0x268160; - virtual void setScale(float) = mac 0x2681d0; - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x267e40; - virtual void setSkewX(float) = mac 0x268010; - virtual void setSkewY(float) = mac 0x268080; - virtual void setAnchorPoint(cocos2d::CCPoint const&) = mac 0x2682c0; - virtual void setVisible(bool) = mac 0x268340; - virtual void setRotation(float) = mac 0x267ec0; - virtual void setRotationX(float) = mac 0x267f30; - virtual void setRotationY(float) = mac 0x267fa0; - virtual void ignoreAnchorPointForPosition(bool) = mac 0x268330; - virtual void addChild(cocos2d::CCNode*) = mac 0x267980; - virtual void addChild(cocos2d::CCNode*, int) = mac 0x267990; - virtual void addChild(cocos2d::CCNode*, int, int) = mac 0x2679a0; - virtual void removeChild(cocos2d::CCNode*, bool) = mac 0x267ae0; - virtual void removeAllChildrenWithCleanup(bool) = mac 0x267b20; - virtual void reorderChild(cocos2d::CCNode*, int) = mac 0x267a60; - virtual void sortAllChildren() = mac 0x267be0; - virtual void draw() = mac 0x267860; - virtual void updateTransform() = mac 0x2673a0; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = mac 0x2669a0; - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&) = mac 0x266980; - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool) = mac 0x266800; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x266b00; - virtual bool initWithSpriteFrameName(char const*) = mac 0x266b50; - virtual bool initWithFile(char const*) = mac 0x266a10; - virtual bool initWithFile(char const*, cocos2d::CCRect const&) = mac 0x266aa0; - virtual void setChildColor(cocos2d::_ccColor3B const&) = mac 0x268950; - virtual void setChildOpacity(unsigned char) = mac 0x268720; - virtual cocos2d::CCSpriteBatchNode* getBatchNode() = mac 0x269140; - virtual void setBatchNode(cocos2d::CCSpriteBatchNode*) = mac 0x269150; - virtual void refreshTextureRect() = mac 0x266d50; - virtual void setTextureRect(cocos2d::CCRect const&) = mac 0x266de0; - virtual void setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&) = mac 0x266e00; - virtual void setVertexRect(cocos2d::CCRect const&) = mac 0x267140; - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*) = mac 0x268e30; - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*) = mac 0x268f00; - virtual cocos2d::CCSpriteFrame* displayFrame() = mac 0x268f90; - virtual void setDisplayFrameWithAnimationName(char const*, int) = mac 0x268eb0; - virtual void setTextureCoords(cocos2d::CCRect const&) = mac 0x267160; - virtual void updateBlendFunc() = mac 0x2691c0; - virtual void setReorderChildDirtyRecursively() = mac 0x267d60; - virtual void setDirtyRecursively(bool) = mac 0x267dc0; - - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x2687d0; - virtual void setOpacity(unsigned char) = mac 0x268570; - virtual void setOpacityModifyRGB(bool) = mac 0x268a00; - virtual bool isOpacityModifyRGB() = mac 0x268b50; - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x268b70; - virtual void updateDisplayedOpacity(unsigned char) = mac 0x268cd0; - - virtual cocos2d::CCTexture2D* getTexture() = mac 0x269390; - virtual void setTexture(cocos2d::CCTexture2D*) = mac 0x269220; -} - - -[[link(win, android)]] -class cocos2d::CCParticleSystem { - static cocos2d::CCParticleSystem* create(char const*); - static cocos2d::CCParticleSystem* createWithTotalParticles(unsigned int); - - void initParticle(cocos2d::sCCParticle*); - bool initWithDictionary(cocos2d::CCDictionary*, char const*, bool) = mac 0x7838d0; - bool initWithDictionary(cocos2d::CCDictionary*, bool) = mac 0x7850b0; - bool initWithFile(char const*, bool); - - unsigned int getAtlasIndex() const; - bool getDontCleanupOnFinish() const; - bool getDynamicRotationIsDir() const; - bool getEndRGBVarSync() const; - float getFadeInTime() const; - float getFadeInTimeVar() const; - float getFadeOutTime() const; - float getFadeOutTimeVar() const; - float getFrictionPos() const; - float getFrictionPosVar() const; - float getFrictionRot() const; - float getFrictionRotVar() const; - float getFrictionSize() const; - float getFrictionSizeVar() const; - bool getOrderSensitive() const; - float getRespawn() const; - float getRespawnVar() const; - bool getStartRGBVarSync() const; - bool getStartRadiusEqualToEnd() const; - bool getStartSizeEqualToEnd() const; - bool getStartSpinEqualToEnd() const; - float getTimeElapsed(); - bool getUseUniformColorMode() const; - bool getUsingSchedule() const; - bool getWasRemoved() const; - - void setAtlasIndex(unsigned int); - void setDontCleanupOnFinish(bool); - void setDynamicRotationIsDir(bool); - void setEndAlpha(float); - void setEndRGBVarSync(bool); - void setFadeInTime(float); - void setFadeInTimeVar(float); - void setFadeOutTime(float); - void setFadeOutTimeVar(float); - void setFrictionPos(float); - void setFrictionPosVar(float); - void setFrictionRot(float); - void setFrictionRotVar(float); - void setFrictionSize(float); - void setFrictionSizeVar(float); - void setOrderSensitive(bool); - void setRespawn(float); - void setRespawnVar(float); - void setStartAlpha(float); - void setStartRGBVarSync(bool); - void setStartRadiusEqualToEnd(bool); - void setStartSizeEqualToEnd(bool); - void setStartSpinEqualToEnd(bool); - void setUsingSchedule(bool); - void setWasRemoved(bool); - - // CCParticleSystem(cocos2d::CCParticleSystem const&); - // CCParticleSystem(); - bool addParticle(); - void calculateWorldSpace(); - bool isFull(); - void loadDefaults(); - void loadScaledDefaults(float); - void resetSystem() = mac 0x7865e0; - void resumeSystem() = mac 0x7865d0; - void saveDefaults(); - void stopSystem() = mac 0x7865a0; - void toggleUniformColorMode(bool); - void updateVisible(); - - virtual void update(float); - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - // virtual void setVisible(bool); // todo this does not compile - virtual void setRotation(float); - virtual cocos2d::CCParticleBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual unsigned int getParticleCount(); - virtual float getDuration(); - virtual void setDuration(float); - virtual cocos2d::CCPoint const& getSourcePosition(); - virtual void setSourcePosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosVar(); - virtual void setPosVar(cocos2d::CCPoint const&); - virtual float getLife(); - virtual void setLife(float); - virtual float getLifeVar(); - virtual void setLifeVar(float); - virtual float getAngle(); - virtual void setAngle(float); - virtual float getAngleVar(); - virtual void setAngleVar(float); - virtual void updateEmissionRate(); - virtual cocos2d::CCPoint const& getGravity(); - virtual void setGravity(cocos2d::CCPoint const&); - virtual float getSpeed(); - virtual void setSpeed(float); - virtual float getSpeedVar(); - virtual void setSpeedVar(float); - virtual float getTangentialAccel(); - virtual void setTangentialAccel(float); - virtual float getTangentialAccelVar(); - virtual void setTangentialAccelVar(float); - virtual float getRadialAccel(); - virtual void setRadialAccel(float); - virtual float getRadialAccelVar(); - virtual void setRadialAccelVar(float); - virtual bool getRotationIsDir(); - virtual void setRotationIsDir(bool); - virtual float getStartRadius(); - virtual void setStartRadius(float); - virtual float getStartRadiusVar(); - virtual void setStartRadiusVar(float); - virtual float getEndRadius(); - virtual void setEndRadius(float); - virtual float getEndRadiusVar(); - virtual void setEndRadiusVar(float); - virtual float getRotatePerSecond(); - virtual void setRotatePerSecond(float); - virtual float getRotatePerSecondVar(); - virtual void setRotatePerSecondVar(float); - virtual bool isActive(); - virtual bool isBlendAdditive(); - virtual void setBlendAdditive(bool); - virtual float getStartSize(); - virtual void setStartSize(float); - virtual float getStartSizeVar(); - virtual void setStartSizeVar(float); - virtual float getEndSize(); - virtual void setEndSize(float); - virtual float getEndSizeVar(); - virtual void setEndSizeVar(float); - virtual cocos2d::_ccColor4F const& getStartColor(); - virtual void setStartColor(cocos2d::_ccColor4F const&) = mac 0x787b30; - virtual cocos2d::_ccColor4F const& getStartColorVar(); - virtual void setStartColorVar(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getEndColor(); - virtual void setEndColor(cocos2d::_ccColor4F const&) = mac 0x787b70; - virtual cocos2d::_ccColor4F const& getEndColorVar(); - virtual void setEndColorVar(cocos2d::_ccColor4F const&); - virtual float getStartSpin(); - virtual void setStartSpin(float); - virtual float getStartSpinVar(); - virtual void setStartSpinVar(float); - virtual float getEndSpin(); - virtual void setEndSpin(float); - virtual float getEndSpinVar(); - virtual void setEndSpinVar(float); - virtual float getEmissionRate(); - virtual void setEmissionRate(float); - virtual unsigned int getTotalParticles(); - virtual void setTotalParticles(unsigned int); - virtual bool getOpacityModifyRGB(); - virtual void setOpacityModifyRGB(bool); - virtual cocos2d::tCCPositionType getPositionType(); - virtual void setPositionType(cocos2d::tCCPositionType); - virtual bool isAutoRemoveOnFinish(); - virtual void setAutoRemoveOnFinish(bool); - virtual int getEmitterMode(); - virtual void setEmitterMode(int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - virtual void updateWithNoTime(); - virtual void updateBlendFunc(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCShaderCache { - static void purgeSharedShaderCache(); - static cocos2d::CCShaderCache* sharedShaderCache() = mac 0x1e0f90; - - bool init(); - - // CCShaderCache(cocos2d::CCShaderCache const&); - // CCShaderCache(); - void addProgram(cocos2d::CCGLProgram*, char const*); - void loadDefaultShader(cocos2d::CCGLProgram*, int); - void loadDefaultShaders(); - cocos2d::CCGLProgram* programForKey(char const*) = mac 0x1e1e70; - void reloadDefaultShaders(); -} - -[[link(win, android)]] -class cocos2d::CCTexture2D { - static void PVRImagesHavePremultipliedAlpha(bool) = mac 0x457000; - static cocos2d::CCTexture2DPixelFormat defaultAlphaPixelFormat(); - static void setDefaultAlphaPixelFormat(cocos2d::CCTexture2DPixelFormat) = mac 0x4571c0; - - bool initPremultipliedATextureWithImage(cocos2d::CCImage*, unsigned int, unsigned int) = mac 0x456180; - bool initWithData(void const*, cocos2d::CCTexture2DPixelFormat, unsigned int, unsigned int, cocos2d::CCSize const&) = mac 0x455dc0; - bool initWithETCFile(char const*); - bool initWithImage(cocos2d::CCImage*) = mac 0x456120; - bool initWithPVRFile(char const*); - bool initWithString(char const*, char const*, float); - bool initWithString(char const*, char const*, float, cocos2d::CCSize const&, cocos2d::CCTextAlignment, cocos2d::CCVerticalTextAlignment); - bool initWithString(char const*, cocos2d::_ccFontDefinition*); - - cocos2d::CCSize const& getContentSizeInPixels(); - - void setAliasTexParameters() = mac 0x4570f0; - void setAntiAliasTexParameters(); - void setTexParameters(cocos2d::_ccTexParams*) = mac 0x457060; - - // CCTexture2D(cocos2d::CCTexture2D const&); - ~CCTexture2D() = mac 0x455b70; - CCTexture2D() = mac 0x455ac0; - unsigned int bitsPerPixelForFormat(cocos2d::CCTexture2DPixelFormat); - unsigned int bitsPerPixelForFormat(); - char const* description(); - void drawAtPoint(cocos2d::CCPoint const&); - void drawInRect(cocos2d::CCRect const&); - void generateMipmap(); - bool hasMipmaps(); - bool hasPremultipliedAlpha(); - void* keepData(void*, unsigned int); - void releaseData(void*); - void releaseGLTexture(); - char const* stringForFormat(); - - virtual cocos2d::CCTexture2DPixelFormat getPixelFormat() = mac 0x455c10; - virtual unsigned int getPixelsWide() = mac 0x455c20; - virtual unsigned int getPixelsHigh() = mac 0x455c30; - virtual unsigned int getName() = mac 0x455c40; - virtual float getMaxS() = mac 0x455cd0; - virtual void setMaxS(float) = mac 0x455ce0; - virtual float getMaxT() = mac 0x455cf0; - virtual void setMaxT(float) = mac 0x455d00; - virtual cocos2d::CCSize getContentSize() = mac 0x455c50; - virtual cocos2d::CCGLProgram* getShaderProgram() = mac 0x455d10; - virtual void setShaderProgram(cocos2d::CCGLProgram*) = mac 0x455d20; -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrame { - static cocos2d::CCSpriteFrame* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSpriteFrame* create(char const*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - static cocos2d::CCSpriteFrame* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - static cocos2d::CCSpriteFrame* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - - bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - bool initWithTextureFilename(char const*, cocos2d::CCRect const&); - bool initWithTextureFilename(char const*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&); - - gd::string getFrameName() const; - cocos2d::CCPoint const& getOffset(); - cocos2d::CCPoint const& getOffsetInPixels(); - cocos2d::CCSize const& getOriginalSize(); - cocos2d::CCSize const& getOriginalSizeInPixels(); - cocos2d::CCRect const& getRect(); - cocos2d::CCRect const& getRectInPixels(); - cocos2d::CCTexture2D* getTexture() = mac 0x337280; - - void setFrameName(gd::string); - void setOffset(cocos2d::CCPoint const&); - void setOffsetInPixels(cocos2d::CCPoint const&); - void setOriginalSize(cocos2d::CCSize const&); - void setOriginalSizeInPixels(cocos2d::CCSize const&); - void setRect(cocos2d::CCRect const&); - void setRectInPixels(cocos2d::CCRect const&); - void setRotated(bool); - void setTexture(cocos2d::CCTexture2D*); - - // CCSpriteFrame(cocos2d::CCSpriteFrame const&); - // CCSpriteFrame(); - bool isRotated(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); -} - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - ~CCLabelBMFont() = mac 0x59d2f0; - static cocos2d::CCLabelBMFont* create(char const*, char const*) = mac 0x59cc60; - static cocos2d::CCLabelBMFont* create(char const*, char const*, float) = mac 0x59cbb0; - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment) = mac 0x59ca60; - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint) = mac 0x59cb10; - static cocos2d::CCLabelBMFont* create() = mac 0x59c9f0; - static cocos2d::CCLabelBMFont* createBatched(char const*, char const*, cocos2d::CCArray*, int); - static void purgeCachedData(); - - bool initWithString(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint) = mac 0x59cd10; - - cocos2d::CCBMFontConfiguration* getConfiguration() const; - int getExtraKerning() const; - char const* getFntFile(); - bool getIsBatched() const; - float getLetterPosXLeft(cocos2d::CCSprite*, float, bool); - float getLetterPosXRight(cocos2d::CCSprite*, float, bool); - cocos2d::CCArray* getTargetArray() const; - - void setExtraKerning(int); - void setFntFile(char const*) = mac 0x5a0890; - void setIsBatched(bool); - void setTargetArray(cocos2d::CCArray*); - void createFontChars() = mac 0x59d440; - int kerningAmountForFirst(unsigned short, unsigned short); - void limitLabelWidth(float, float, float) = mac 0x5a09b0; - - virtual bool init() = mac 0x59d090; - virtual void setScaleX(float) = mac 0x5a0850; - virtual void setScaleY(float) = mac 0x5a0870; - virtual void setScale(float) = mac 0x5a0830; - virtual void setAnchorPoint(cocos2d::CCPoint const&) = mac 0x59e910; - virtual void setString(char const*, bool) = mac 0x59de40; - virtual void setCString(char const*) = mac 0x59e0e0; - virtual void updateLabel() = mac 0x59e950; - virtual void setAlignment(cocos2d::CCTextAlignment) = mac 0x5a07d0; - virtual void setWidth(float) = mac 0x5a07f0; - virtual void setLineBreakWithoutSpace(bool) = mac 0x5a0810; - virtual void setString(unsigned short*, bool) = mac 0x59dec0; - - virtual void setString(char const*) = mac 0x59ddf0; - virtual char const* getString() = mac 0x59e090; - - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x59e140; - virtual cocos2d::_ccColor3B const& getColor() = mac 0x59e100; - virtual cocos2d::_ccColor3B const& getDisplayedColor() = mac 0x59e120; - virtual unsigned char getDisplayedOpacity() = mac 0x59e2d0; - virtual unsigned char getOpacity() = mac 0x59e2b0; - virtual void setOpacity(unsigned char) = mac 0x59e2f0; - virtual void setOpacityModifyRGB(bool) = mac 0x59e430; - virtual bool isOpacityModifyRGB() = mac 0x59e5b0; - virtual bool isCascadeColorEnabled() = mac 0x59e890; - virtual void setCascadeColorEnabled(bool) = mac 0x59e8b0; - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&) = mac 0x59e6e0; - virtual bool isCascadeOpacityEnabled() = mac 0x59e8d0; - virtual void setCascadeOpacityEnabled(bool) = mac 0x59e8f0; - virtual void updateDisplayedOpacity(unsigned char) = mac 0x59e5d0; -} - -[[link(win, android)]] -class cocos2d::CCActionManager { - cocos2d::CCAction* getActionByTag(unsigned int, cocos2d::CCObject*); - - // CCActionManager(cocos2d::CCActionManager const&); - // CCActionManager(); - void actionAllocWithHashElement(cocos2d::_hashElement*); - void addAction(cocos2d::CCAction*, cocos2d::CCNode*, bool) = mac 0x212f20; - void deleteHashElement(cocos2d::_hashElement*); - unsigned int numberOfRunningActionsInTarget(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllRunningActions(); - void pauseTarget(cocos2d::CCObject*) = mac 0x212c60; - void removeAction(cocos2d::CCAction*); - void removeActionAtIndex(unsigned int, cocos2d::_hashElement*); - void removeActionByTag(unsigned int, cocos2d::CCObject*) = mac 0x213640; - void removeAllActions(); - void removeAllActionsFromTarget(cocos2d::CCObject*); - void resumeTarget(cocos2d::CCObject*) = mac 0x212d40; - void resumeTargets(cocos2d::CCSet*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCApplication { - static cocos2d::CCApplication* sharedApplication() = mac 0x3065c0; - virtual void openURL(char const*) = mac 0x307350; -} - -[[link(win, android)]] -class cocos2d::CCArray { - // static cocos2d::CCArray* create(cocos2d::CCObject*, ...) = mac 0x6e32e0; - static cocos2d::CCArray* create() = mac 0x6e3140; - static cocos2d::CCArray* createWithArray(cocos2d::CCArray*); - static cocos2d::CCArray* createWithCapacity(unsigned int) = mac 0x6e3450; - static cocos2d::CCArray* createWithContentsOfFile(char const*); - static cocos2d::CCArray* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCArray* createWithObject(cocos2d::CCObject*); - - bool init() = mac 0x6e2fc0; - bool initWithArray(cocos2d::CCArray*); - bool initWithCapacity(unsigned int) = mac 0x6e30b0; - bool initWithObject(cocos2d::CCObject*); - // bool initWithObjects(cocos2d::CCObject*, ...); - - // CCArray(cocos2d::CCArray const&); - // CCArray(unsigned int); - // CCArray(); - // ~CCArray() = mac 0x6e3bb0; - void addObject(cocos2d::CCObject*) = mac 0x6e3420; - void addObjectNew(cocos2d::CCObject*); - void addObjectsFromArray(cocos2d::CCArray*); - unsigned int capacity() const; - bool containsObject(cocos2d::CCObject*) const; - unsigned int count() const; - void exchangeObject(cocos2d::CCObject*, cocos2d::CCObject*); - void exchangeObjectAtIndex(unsigned int, unsigned int); - void fastRemoveObject(cocos2d::CCObject*); - void fastRemoveObjectAtIndex(unsigned int); - void fastRemoveObjectAtIndexChild(unsigned int); - void fastRemoveObjectAtIndexNew(unsigned int); - unsigned int indexOfObject(cocos2d::CCObject*) const; - void insertObject(cocos2d::CCObject*, unsigned int) = mac 0x6e3930; - bool isEqualToArray(cocos2d::CCArray*); - cocos2d::CCObject* lastObject(); - cocos2d::CCObject* objectAtIndex(unsigned int) = mac 0x6e37f0; - cocos2d::CCObject* randomObject(); - void recreateNewIndexes(); - void reduceMemoryFootprint(); - void removeAllObjects() = mac 0x6e39b0; - void removeLastObject(bool); - void removeObject(cocos2d::CCObject*, bool) = mac 0x6e3960; - void removeObjectAtIndex(unsigned, bool) = mac 0x6e3970; - void removeObjectAtIndexChild(unsigned, bool) = mac 0x6e3980; - void removeObjectsInArray(cocos2d::CCArray*); - void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool); - void reverseObjects(); - cocos2d::CCString* stringAtIndex(unsigned int) = mac 0x6e37d0; - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCBlink { - static cocos2d::CCBlink* create(float, unsigned int) = mac 0x398730; - - bool initWithDuration(float, unsigned int); - - // CCBlink(cocos2d::CCBlink const&); - // CCBlink(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create() = mac 0x2ed090; - static cocos2d::CCDictionary* createWithContentsOfFile(char const*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(char const*) = mac 0x2ed110; - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - - gd::string getFirstKey(); - - void setObject(cocos2d::CCObject*, gd::string const&) = mac 0x2eb7a0; - void setObject(cocos2d::CCObject*, intptr_t) = mac 0x2ec120; - void setObjectUnSafe(cocos2d::CCObject*, gd::string const&); - void setObjectUnSafe(cocos2d::CCObject*, intptr_t); - - // CCDictionary(cocos2d::CCDictionary const&); - // CCDictionary(); - cocos2d::CCArray* allKeys() = mac 0x2eaef0; - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - char const* charForKey(gd::string const&); - unsigned int count() = mac 0x2eaed0; - cocos2d::CCObject* objectForKey(gd::string const&) = mac 0x2eb260; - cocos2d::CCObject* objectForKey(intptr_t) = mac 0x2eb5f0; - cocos2d::CCObject* randomObject(); - void removeAllObjects() = mac 0x2eacf0; - void removeObjectForElememt(cocos2d::CCDictElement*) = mac 0x2ec9f0; - void removeObjectForKey(gd::string const&) = mac 0x2ec630; - void removeObjectForKey(intptr_t) = mac 0x2ecb40; - void removeObjectsForKeys(cocos2d::CCArray*); - cocos2d::CCString const* valueForKey(gd::string const&) = mac 0x2eb1e0; - cocos2d::CCString const* valueForKey(intptr_t); - bool writeToFile(char const*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::ZipUtils { - static gd::string base64DecodeEnc(gd::string const&, gd::string); - static gd::string base64EncodeEnc(gd::string const&, gd::string); - static gd::string base64URLDecode(gd::string const&); - static gd::string base64URLEncode(gd::string const&); - static unsigned int ccChecksumPvr(unsigned int const*, int); - static void ccDecodeEncodedPvr(unsigned int*, int); - static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**) = mac 0x1e3e60; - static int ccInflateCCZFile(char const*, unsigned char**); - static int ccInflateGZipFile(char const*, unsigned char**); - static int ccInflateMemory(unsigned char*, unsigned int, unsigned char**); - static int ccInflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int*, unsigned int); - static int ccInflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int); - static void ccSetPvrEncryptionKey(unsigned int, unsigned int, unsigned int, unsigned int); - static void ccSetPvrEncryptionKeyPart(int, unsigned int); - static gd::string compressString(gd::string const& string, bool, int) = mac 0x1e3c50; - static gd::string decompressString2(unsigned char*, bool, int, int); - static gd::string decompressString(gd::string const&, bool, int) = mac 0x1e4290; - static gd::string encryptDecrypt(gd::string const&, int); - static gd::string encryptDecryptWKey(gd::string const&, gd::string); - static unsigned char hexToChar(gd::string const&); - static gd::string urlDecode(gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCDelayTime { - static cocos2d::CCDelayTime* create(float) = mac 0x395330; - - // CCDelayTime(cocos2d::CCDelayTime const&); - // CCDelayTime(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCScaleBy { - static cocos2d::CCScaleBy* create(float, float) = mac 0x398370; - static cocos2d::CCScaleBy* create(float, float, float); - - // CCScaleBy(cocos2d::CCScaleBy const&); - // CCScaleBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSequence { - static cocos2d::CCSequence* create(cocos2d::CCArray*) = mac 0x393ab0; - // static cocos2d::CCSequence* create(cocos2d::CCFiniteTimeAction*, ...) = mac 0x393740; - static cocos2d::CCSequence* createWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - static cocos2d::CCSequence* createWithVariableList(cocos2d::CCFiniteTimeAction*, va_list) = mac 0x3937f0; - - bool initWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - - // CCSequence(cocos2d::CCSequence const&); - // CCSequence(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemSprite { - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x39e2b0; - - // CCMenuItemSprite(cocos2d::CCMenuItemSprite const&); - // CCMenuItemSprite(); - - virtual void selected() = mac 0x39e3a0; - virtual void unselected(); - virtual void setEnabled(bool) = mac 0x39e4c0; - virtual cocos2d::CCNode* getNormalImage() = mac 0x39def0; - virtual void setNormalImage(cocos2d::CCNode*) = mac 0x39df00; - virtual cocos2d::CCNode* getSelectedImage() = mac 0x39dfc0; - virtual void setSelectedImage(cocos2d::CCNode*) = mac 0x39dfd0; - virtual cocos2d::CCNode* getDisabledImage() = mac 0x39e060; - virtual void setDisabledImage(cocos2d::CCNode*) = mac 0x39e070; - virtual void updateImagesVisibility() = mac 0x39e4e0; -} - -[[link(win, android)]] -class cocos2d::CCMenuItem { - ~CCMenuItem() = mac 0x39cc20; - static cocos2d::CCMenuItem* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItem* create(); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x39cb40; - - int getScriptTapHandler(); - - void setTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x39ce70; - - // CCMenuItem(cocos2d::CCMenuItem const&); - // CCMenuItem(); - cocos2d::CCRect rect(); - - virtual void activate() = mac 0x39cd80; - virtual void selected() = mac 0x39ccf0; - virtual void unselected() = mac 0x39cd00; - virtual void registerScriptTapHandler(int) = mac 0x39cd10; - virtual void unregisterScriptTapHandler() = mac 0x39cd40; - virtual bool isEnabled() = mac 0x39ce00; - virtual void setEnabled(bool) = mac 0x39cdf0; - virtual bool isSelected() = mac 0x39ce60; -} - -[[link(win, android)]] -class cocos2d::extension::CCScale9Sprite { - static cocos2d::extension::CCScale9Sprite* create() = mac 0x3d7240; - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*) = mac 0x3d7120; - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*, cocos2d::CCRect) = mac 0x3d7040; - static cocos2d::extension::CCScale9Sprite* create(char const*) = mac 0x3d6d90; // prolly correct - static cocos2d::extension::CCScale9Sprite* create(char const*, cocos2d::CCRect) = mac 0x3d6bc0; - - CCScale9Sprite() = mac 0x3d5160; - ~CCScale9Sprite() = mac 0x3d5340; - - virtual bool init() = mac 0x3d5370; - virtual void setContentSize(const cocos2d::CCSize& size) = mac 0x3d6500; - virtual void visit() = mac 0x3d7890; - virtual GLubyte getOpacity() = mac 0x3d7be0; - virtual void setOpacity(GLubyte opacity) = mac 0x3d7a60; - virtual void updateDisplayedOpacity(GLubyte parentOpacity) = mac 0x3d7660; - virtual const cocos2d::ccColor3B& getColor() = mac 0x3d7a40; - virtual void setColor(const cocos2d::ccColor3B& color) = mac 0x3d78c0; - virtual void updateDisplayedColor(const cocos2d::ccColor3B& parentColor) = mac 0x3d76d0; - virtual void setOpacityModifyRGB(bool bValue) = mac 0x3d74e0; - virtual bool isOpacityModifyRGB() = mac 0x3d7640; - virtual cocos2d::CCSize getPreferredSize() = mac 0x3d72d0; - virtual void setPreferredSize(cocos2d::CCSize) = mac 0x3d72a0; - virtual cocos2d::CCRect getCapInsets() = mac 0x3d7390; - virtual void setCapInsets(cocos2d::CCRect) = mac 0x3d72f0; - virtual float getInsetLeft() = mac 0x3d77d0; - virtual void setInsetLeft(float) = mac 0x3d7810; - virtual float getInsetTop() = mac 0x3d77e0; - virtual void setInsetTop(float) = mac 0x3d7830; - virtual float getInsetRight() = mac 0x3d77f0; - virtual void setInsetRight(float) = mac 0x3d7850; - virtual float getInsetBottom() = mac 0x3d7800; - virtual void setInsetBottom(float) = mac 0x3d7870; - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect) = mac 0x3d5430; - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, cocos2d::CCRect) = mac 0x3d53d0; - virtual bool initWithFile(const char*, cocos2d::CCRect, cocos2d::CCRect) = mac 0x3d6a50; - virtual bool initWithFile(const char*, cocos2d::CCRect) = mac 0x3d6b60; - virtual bool initWithFile(cocos2d::CCRect, const char*) = mac 0x3d6c50; - virtual bool initWithFile(const char*) = mac 0x3d6d40; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*, cocos2d::CCRect) = mac 0x3d6e00; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x3d6f10; - virtual bool initWithSpriteFrameName(const char*, cocos2d::CCRect) = mac 0x3d6fd0; - virtual bool initWithSpriteFrameName(const char*) = mac 0x3d70d0; - virtual bool updateWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect) = mac 0x3d54d0; - virtual void setSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x3d7740; -} - -[[link(win, android)]] -class cocos2d::extension::CCControlColourPicker { - static cocos2d::extension::CCControlColourPicker* colourPicker() = mac 0x334940; // unsure, two identical funcs -} - -[[link(win, android)]] -class cocos2d::CCTransitionFade { - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*) = mac 0xd4dd0; - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&) = mac 0xd4cd0; - - // CCTransitionFade(cocos2d::CCTransitionFade const&); - // CCTransitionFade(); - - virtual void onEnter(); - virtual void onExit(); - virtual bool initWithDuration(float, cocos2d::CCScene*); - virtual bool initWithDuration(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&); -} - - -[[link(win, android)]] -class cocos2d::CCMenu { - // static cocos2d::CCMenu* create(cocos2d::CCMenuItem*, ...) = mac 0x754590; - static cocos2d::CCMenu* create() = mac 0x754580; - static cocos2d::CCMenu* createWithArray(cocos2d::CCArray*) = mac 0x754780; - static cocos2d::CCMenu* createWithItem(cocos2d::CCMenuItem*) = mac 0x7549d0; - // static cocos2d::CCMenu* createWithItems(cocos2d::CCMenuItem*, char*) = mac 0x754640; - - bool initWithArray(cocos2d::CCArray*) = mac 0x754850; - - void setHandlerPriority(int) = mac 0x754b20; - - // CCMenu(cocos2d::CCMenu const&); - // CCMenu(); - void alignItemsHorizontally(); - void alignItemsHorizontallyWithPadding(float) = mac 0x7551f0; - // void alignItemsInColumns(unsigned int, ...); - // void alignItemsInColumns(unsigned int, char*); - void alignItemsInColumnsWithArray(cocos2d::CCArray*); - // void alignItemsInRows(unsigned int, ...); - // void alignItemsInRows(unsigned int, char*); - void alignItemsInRowsWithArray(cocos2d::CCArray*); - void alignItemsVertically(); - void alignItemsVerticallyWithPadding(float) = mac 0x754fa0; - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*); - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*, bool); - - virtual bool init() = mac 0x7549e0; - virtual void addChild(cocos2d::CCNode*) = mac 0x7549f0; - virtual void addChild(cocos2d::CCNode*, int) = mac 0x754a00; - virtual void addChild(cocos2d::CCNode*, int, int) = mac 0x754a10; - virtual void removeChild(cocos2d::CCNode*, bool) = mac 0x754ab0; - virtual void onExit() = mac 0x754a60; - virtual void registerWithTouchDispatcher() = mac 0x754b60; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x754bb0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x754e60; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x754d80; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x754e00; -} - -[[link(win, android)]] -class cocos2d { - static cocos2d::CCAffineTransform CCAffineTransformConcat(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static bool CCAffineTransformEqualToTransform(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformInvert(cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformMakeIdentity(); - static cocos2d::CCAffineTransform CCAffineTransformRotate(cocos2d::CCAffineTransform const&, float); - static cocos2d::CCAffineTransform CCAffineTransformScale(cocos2d::CCAffineTransform const&, float, float); - static cocos2d::CCAffineTransform CCAffineTransformTranslate(cocos2d::CCAffineTransform const&, float, float); - static void CCLuaLog(char const*); - static void CCMessageBox(char const*, char const*); - static cocos2d::CCPoint CCPointFromString(char const*); - static void CCProfilingBeginTimingBlock(char const*); - static void CCProfilingEndTimingBlock(char const*); - static void CCProfilingResetTimingBlock(char const*); - static cocos2d::CCRect CCRectApplyAffineTransform(cocos2d::CCRect const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCRect CCRectFromString(char const*); - static cocos2d::CCSize CCSizeFromString(char const*); - static cocos2d::CCBMFontConfiguration* FNTConfigLoadFile(char const*) = mac 0x59a1c0; - static void FNTConfigRemoveCache(); - static cocos2d::CCAffineTransform __CCAffineTransformMake(float, float, float, float, float, float); - static cocos2d::CCPoint __CCPointApplyAffineTransform(cocos2d::CCPoint const&, cocos2d::CCAffineTransform const&) = mac 0x21f1b0; - static cocos2d::CCSize __CCSizeApplyAffineTransform(cocos2d::CCSize const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCPoint ccCardinalSplineAt(cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, float, float); - static void ccDrawCardinalSpline(cocos2d::CCPointArray*, float, unsigned int); - static void ccDrawCatmullRom(cocos2d::CCPointArray*, unsigned int); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool, float, float); - static void ccDrawCircleSegment(cocos2d::CCPoint const&, float, float, float, unsigned int, bool, float, float); - static void ccDrawColor4B(unsigned char, unsigned char, unsigned char, unsigned char) = mac 0x1e8870; - static void ccDrawColor4F(float, float, float, float); - static void ccDrawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawFilledCircle(cocos2d::CCPoint const&, float, float, unsigned int); - static void ccDrawFree(); - static void ccDrawInit(); - static void ccDrawLine(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = mac 0x1e7020; - static void ccDrawLines(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoint(cocos2d::CCPoint const&); - static void ccDrawPoints(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool); - static void ccDrawQuadBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawRect(cocos2d::CCPoint, cocos2d::CCPoint); - static void ccDrawSolidPoly(cocos2d::CCPoint const*, unsigned int, cocos2d::_ccColor4F); - static void ccDrawSolidRect(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor4F) = mac 0x1e7250; - static void ccGLBindTexture2D(unsigned int) = mac 0x33a420; - static void ccGLBindTexture2DN(unsigned int, unsigned int); - static void ccGLBindVAO(unsigned int); - static void ccGLBlendFunc(unsigned int, unsigned int) = mac 0x33a370; - static void ccGLBlendResetToCache(); - static void ccGLDeleteProgram(unsigned int); - static void ccGLDeleteTexture(unsigned int) = mac 0x33a4a0; - static void ccGLDeleteTextureN(unsigned int, unsigned int); - static void ccGLEnable(cocos2d::ccGLServerState) = mac 0x33a540; - static void ccGLEnableVertexAttribs(unsigned int) = mac 0x33a550; - static void ccGLInvalidateStateCache(); - static void ccGLUseProgram(unsigned int) = mac 0x33a350; - static void ccPointSize(float); - static void ccSetProjectionMatrixDirty(); - static bool ccVertexLineIntersect(float, float, float, float, float, float, float, float, float*); - static void ccVertexLineToPolygon(cocos2d::CCPoint*, float, cocos2d::_ccVertex2F*, unsigned int, unsigned int); - static gd::vector cc_utf16_vec_from_utf16_str(unsigned short const*); - static void cc_utf8_trim_ws(gd::vector*); - static int cc_wcslen(unsigned short const*); - static float ccpAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpAngleSigned(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpClamp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpCompMult(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpDistance(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = mac 0x334db0; - static cocos2d::CCPoint ccpForAngle(float); - static cocos2d::CCPoint ccpFromSize(cocos2d::CCSize const&) = mac 0x334fd0; - static bool ccpFuzzyEqual(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static cocos2d::CCPoint ccpIntersectPoint(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpLength(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpLerp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpLineIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, float*, float*); - static cocos2d::CCPoint ccpNormalize(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpRotateByAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpSegmentIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpToAngle(cocos2d::CCPoint const&); - static char const* cocos2dVersion(); -} - -[[link(win, android)]] -class DS_Dictionary { - DS_Dictionary(); - void addBoolValuesToMapForKey(gd::map&, char const*, bool); - void addBoolValuesToMapForKeySpecial(gd::map&, char const*, bool); - void checkCompatibility(); - gd::string cleanStringWhiteSpace(gd::string const&); - static void copyFile(char const*, char const*); - cocos2d::CCObject* decodeObjectForKey(char const*, bool, int); - gd::vector getAllKeys(); - cocos2d::CCArray* getArrayForKey(char const*, bool) = mac 0x171b90; - bool getBoolForKey(char const*) = mac 0x16e8f0; - cocos2d::CCDictionary* getDictForKey(char const*, bool) = mac 0x172ac0; - float getFloatForKey(char const*) = mac 0x16e9f0; - unsigned int getIndexOfKey(char const*); - unsigned int getIndexOfKeyWithClosestAlphaNumericalMatch(char const*); - int getIntegerForKey(char const*) = mac 0x16e7b0; - gd::string getKey(unsigned int) = mac 0x16e0d0; - unsigned int getNumKeys(); - cocos2d::CCObject* getObjectForKey(char const*) = mac 0x171d10; - gd::vector getRectArrayForKey(char const*); - cocos2d::CCRect getRectForKey(char const*); - gd::vector getStringArrayForKey(char const*); - gd::string getStringForKey(char const*) = mac 0x16eb30; - gd::vector getVec2ArrayForKey(char const*); - cocos2d::CCPoint getVec2ForKey(char const*); - bool loadRootSubDictFromCompressedFile(char const*); - bool loadRootSubDictFromFile(char const*); - bool loadRootSubDictFromString(gd::string const&); - bool rectFromString(gd::string const&, cocos2d::CCRect&); - void removeAllKeys(); - void removeKey(unsigned int); - void removeKey(char const*); - bool saveRootSubDictToCompressedFile(char const*); - bool saveRootSubDictToFile(char const*); - gd::string saveRootSubDictToString(); - void setArrayForKey(char const*, cocos2d::CCArray*); - void setBoolForKey(char const*, bool, bool); - void setBoolForKey(char const*, bool) = mac 0x16fc80; - void setBoolMapForKey(char const*, gd::map&); - void setDictForKey(char const*, cocos2d::CCDictionary*) = mac 0x1721a0; - void setFloatForKey(char const*, float) = mac 0x16feb0; - void setFloatForKey(char const*, float, bool); - void setIntegerForKey(char const*, int) = mac 0x16f9a0; - void setIntegerForKey(char const*, int, bool); - void setObjectForKey(char const*, cocos2d::CCObject*); - void setRectArrayForKey(char const*, gd::vector const&); - void setRectArrayForKey(char const*, gd::vector const&, bool); - void setRectForKey(char const*, cocos2d::CCRect const&); - void setRectForKey(char const*, cocos2d::CCRect const&, bool); - void setStringArrayForKey(char const*, gd::vector const&); - void setStringArrayForKey(char const*, gd::vector const&, bool); - void setStringForKey(char const*, gd::string const&) = mac 0x1701a0; - void setStringForKey(char const*, gd::string const&, bool); - void setSubDictForKey(char const*); - void setSubDictForKey(char const*, bool, bool); - void setVec2ArrayForKey(char const*, gd::vector const&); - void setVec2ArrayForKey(char const*, gd::vector const&, bool); - void setVec2ForKey(char const*, cocos2d::CCPoint const&); - void setVec2ForKey(char const*, cocos2d::CCPoint const&, bool); - void split(gd::string const&, char const*, gd::vector&); - bool splitWithForm(gd::string const&, gd::vector&); - void stepBackToRootSubDict(); - bool stepIntoSubDictWithKey(char const*) = mac 0x16daa0; - void stepOutOfSubDict(); - bool vec2FromString(gd::string const&, cocos2d::CCPoint&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionScene { - static cocos2d::CCTransitionScene* create(float, cocos2d::CCScene*); - - void setNewScene(float); - - // CCTransitionScene(cocos2d::CCTransitionScene const&); - // CCTransitionScene(); - void finish(); - void hideOutShowIn(); - - ~CCTransitionScene() = mac 0xd0620; - - virtual void onEnter() = mac 0xd0a90; - virtual void onExit() = mac 0xd0ae0; - virtual void cleanup() = mac 0xd0b40; - virtual void draw() = mac 0xd0840; - virtual bool initWithDuration(float, cocos2d::CCScene*) = mac 0xd07a0; - virtual void sceneOrder() = mac 0xd0830; -} - -[[link(win, android)]] -class cocos2d::CCDrawNode { - static cocos2d::CCDrawNode* create(); - - cocos2d::_ccBlendFunc getBlendFunc() const; - - void setBlendFunc(cocos2d::_ccBlendFunc const&) = mac 0x5d6a90; - - // CCDrawNode(cocos2d::CCDrawNode const&); - // CCDrawNode(); - void clear(); - void drawCircle(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&, unsigned int); - void drawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - void drawDot(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - bool drawLines(cocos2d::CCPoint*, unsigned int, float, cocos2d::_ccColor4F const&); - bool drawPolygon(cocos2d::CCPoint*, unsigned int, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&) = mac 0x5d5b70; - void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - bool drawRect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&); - void drawSegment(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - void ensureCapacity(unsigned int); - void listenBackToForeground(cocos2d::CCObject*); - void render(); - - virtual bool init(); - virtual void draw() = mac 0x5d5410; -} - -[[link(win, android)]] -class cocos2d::CCImage { - bool initWithImageData(void*, int, cocos2d::CCImage::EImageFormat, int, int, int, int) = mac 0x466190; - bool initWithImageFile(char const*, cocos2d::CCImage::EImageFormat); - bool initWithImageFileThreadSafe(char const*, cocos2d::CCImage::EImageFormat); - bool initWithString(char const*, int, int, cocos2d::CCImage::ETextAlign, char const*, int); - - int getBitsPerComponent() const; - unsigned char* getData(); - int getDataLen(); - unsigned short getHeight() const; - unsigned short getWidth() const; - - CCImage() = mac 0x465e80; - ~CCImage() = mac 0x465f00; - - bool _initWithJpgData(void*, int); - bool _initWithPngData(void*, int); - bool _initWithRawData(void*, int, int, int, int, bool); - bool _initWithTiffData(void*, int); - bool _initWithWebpData(void*, int); - bool _saveImageToJPG(char const*); - bool _saveImageToPNG(char const*, bool); - bool hasAlpha(); - bool isPremultipliedAlpha(); - bool saveToFile(char const*, bool); -} - -[[link(win, android)]] -class cocos2d::CCTime { - static int gettimeofdayCocos2d(cocos2d::cc_timeval*, void*) = mac 0x2fead0; - static double timersubCocos2d(cocos2d::cc_timeval*, cocos2d::cc_timeval*); -} - -[[link(win, android)]] -class cocos2d::CCMotionStreak { - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool getDontOpacityFade() const; - float getM_fMaxSeg() const; - - void setDontOpacityFade(bool); - void setFastMode(bool); - void setM_fMaxSeg(float); - void setStartingPositionInitialized(bool); - void setStroke(float); - - // CCMotionStreak(cocos2d::CCMotionStreak const&); - // CCMotionStreak(); - void enableRepeatMode(float); - bool isFastMode(); - bool isStartingPositionInitialized(); - void reset(); - void resumeStroke(); - void stopStroke(); - void tintWithColor(cocos2d::_ccColor3B); - void updateFade(float); - - virtual void update(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void draw(); - - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCParticleSystemQuad { - static cocos2d::CCParticleSystemQuad* create(char const*, bool); - static cocos2d::CCParticleSystemQuad* create() = mac 0x5c7320; - static cocos2d::CCParticleSystemQuad* createWithTotalParticles(unsigned int, bool); - - void initIndices(); - void initTexCoordsWithRect(cocos2d::CCRect const&); - - unsigned char getOpacity(); - - void setDisplayFrame(cocos2d::CCSpriteFrame*); - void setOpacity(unsigned char); - void setTextureWithRect(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - // CCParticleSystemQuad(cocos2d::CCParticleSystemQuad const&); - // CCParticleSystemQuad(); - bool allocMemory(); - void listenBackToForeground(cocos2d::CCObject*); - void setupVBO(); - void updateTexCoords(); - - virtual void draw(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual void setTotalParticles(unsigned int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - - virtual void setTexture(cocos2d::CCTexture2D*); -} diff --git a/bindings/bindings/2.200/Entry.bro b/bindings/bindings/2.200/Entry.bro deleted file mode 100644 index dbaca38..0000000 --- a/bindings/bindings/2.200/Entry.bro +++ /dev/null @@ -1,3 +0,0 @@ -#include -#include -#include diff --git a/bindings/bindings/2.200/Extras.bro b/bindings/bindings/2.200/Extras.bro deleted file mode 100644 index 6f0e3a2..0000000 --- a/bindings/bindings/2.200/Extras.bro +++ /dev/null @@ -1,51 +0,0 @@ -class PlayerButtonCommand { - PlayerButton m_button; - bool m_isPush; - bool m_isPlayer2; - PAD = win 0x6, android32 0x6; -} - -class GJPointDouble { - double x; - double y; -} - -class EventTriggerInstance { - -} - -class SongChannelState { - -} - -class DynamicScrollDelegate { - -} - -class FMODSound { - -} - -class AdvancedFollowInstance { - -} - -class SFXTriggerInstance { - -} - -class ChanceObject { - -} - -class GameObjectPhysics { - -} - -class DynamicObjectAction { - -} - -class GJTransformState { - -} diff --git a/bindings/bindings/2.200/GeometryDash.bro b/bindings/bindings/2.200/GeometryDash.bro deleted file mode 100644 index 072d6ec..0000000 --- a/bindings/bindings/2.200/GeometryDash.bro +++ /dev/null @@ -1,15621 +0,0 @@ -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - ~FLAlertLayer() { - if (m_forcePrioRegistered) { - cocos2d::CCTouchDispatcher::get()->unregisterForcePrio(this); - } - } - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - m_forcePrioRegistered = false; - } - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*) = win 0x30c40, mac 0x476e40; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float) = win 0x30cf0, mac 0x4770a0; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30da0, mac 0x476ee0; - - bool init(int) = win 0x30eb0, mac 0x477b50; - bool init(FLAlertLayerProtocol*, char const* title, gd::string description, char const* btn1, char const* btn2, float width, bool scrollable, float height, float textScale) = win 0x30f50, mac 0x477140; - - void onBtn1(cocos2d::CCObject* sender) = win 0x31a40, mac 0x477c50; - void onBtn2(cocos2d::CCObject* sender) = win 0x31a80, mac 0x477cb0; - - // TODO: inlined on windows - void incrementForcePrio() = mac 0x477c00; - - // doesnt exist on windows, nor android armv8.. - - // 2.2 order not tested - - // this func doesnt exist outside of armv7, for some reason: - // virtual void onEnter(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31ac0, mac 0x477ee0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c10, mac 0x478120; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31b50, mac 0x478000; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31bc0, mac 0x4780a0; - virtual void registerWithTouchDispatcher() = win 0x31df0, mac 0x478350; - virtual void keyBackClicked() = win 0x319a0, mac 0x477dc0; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x31930, mac 0x477d10; - virtual void show() = win 0x31c60, mac 0x4781a0; - - cocos2d::CCMenu* m_buttonMenu; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_controlConnected; - bool m_containsBorder; - bool m_noAction; - int m_joystickConnected; - bool m_forcePrioRegistered; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - static ButtonSprite* create(char const*, float) = mac 0x8c590; - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1feb0, mac 0x8c5c0; - static ButtonSprite* create(cocos2d::CCSprite*); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool) = win 0x1fb90, mac 0x8bd40; - - bool init(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1ff80; - bool init(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool) = win 0x1fc60; - ~ButtonSprite(); - - void setColor(cocos2d::ccColor3B) = win 0x20b20, mac 0x8cf20; - void setString(char const*) = win 0x20770, mac 0x8c9e0; - - void updateBGImage(char const*) = win 0x20230, mac 0x8cdd0; - TodoReturn updateSpriteBGSize(); - TodoReturn updateSpriteOffset(cocos2d::CCPoint) = mac 0x8cef0; - - PAD = mac 0x18, win 0x18; - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_subSprite; - cocos2d::CCSprite* m_subBGSprite; - cocos2d::extension::CCScale9Sprite* m_BGSprite; - PAD = mac 0xC, win 0x8; - cocos2d::CCPoint m_spritePosition; -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - ~ScrollingLayer(); - - TodoReturn getViewRect(); - - /* unverified signature */ - void setStartOffset(cocos2d::CCPoint); - - virtual void draw() = mac 0x6e4030; - virtual void visit() = mac 0x6e4120; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x6e4270; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x6e4410; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x6e4530; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x6e4570; -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - static CreatorLayer* create() = mac 0x2752e0; - - ~CreatorLayer(); - - void onMapPacks(cocos2d::CCObject* sender) = mac 0x2769d0, win 0x70250; - void onMyLevels(cocos2d::CCObject* sender) = mac 0x276a70, win 0x6FE90; - void onTopLists(cocos2d::CCObject* sender) = mac 0x276970, win 0x70160; - void onChallenge(cocos2d::CCObject* sender) = mac 0x2766b0, win 0x70910; - void onGauntlets(cocos2d::CCObject* sender) = mac 0x2768a0; - void onDailyLevel(cocos2d::CCObject* sender) = mac 0x2766e0; - void onEventLevel(cocos2d::CCObject* sender) = mac 0x276720, win 0x70740; - void onFameLevels(cocos2d::CCObject* sender); - void onMultiplayer(cocos2d::CCObject* sender) = mac 0x276310, win 0x70330; - void onSavedLevels(cocos2d::CCObject* sender) = mac 0x276200, win 0x6FF80; - void onSecretVault(cocos2d::CCObject* sender) = mac 0x276e10, win 0x70940; - void onWeeklyLevel(cocos2d::CCObject* sender) = mac 0x276700; - void onAdventureMap(cocos2d::CCObject* sender) = mac 0x276640, win 0x706C0; - void onLeaderboards(cocos2d::CCObject* sender) = mac 0x2762d0; - void onOnlineLevels(cocos2d::CCObject* sender) = mac 0x276a30, win 0x701E0; - void onTreasureRoom(cocos2d::CCObject* sender) = mac 0x277020, win 0x70C50; - void onFeaturedLevels(cocos2d::CCObject* sender) = mac 0x2768f0, win 0x700C0; - void onOnlyFullVersion(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x2775e0; - void onPaths(cocos2d::CCObject* sender) = mac 0x276950; - - TodoReturn checkQuestsStatus() = mac 0x276d10, win 0x71090; - TodoReturn canPlayOnlineLevels(); - TodoReturn scene() = mac 0x2751c0; - - virtual bool init() = mac 0x2753c0, win 0x6F090; - virtual void keyBackClicked() = mac 0x277830; - virtual void sceneWillResume() = mac 0x2777b0; - virtual void dialogClosed(DialogLayer*) = win 0x711d0, mac 0x2776b0; -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual void scrollLayerScrollingStarted(BoomScrollLayer*); - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void scrollLayerMoved(cocos2d::CCPoint); - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int); -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, DynamicScrollDelegate { - static LevelSelectLayer* create(int) = mac 0x410b80; - - bool init(int) = mac 0x410c70; - ~LevelSelectLayer() = mac 0x4109e0; - - TodoReturn getColorValue(int, int, float) = mac 0x4133f0; - - void onDownload(cocos2d::CCObject* sender) = mac 0x411980; - void onBack(cocos2d::CCObject* sender) = mac 0x411a30; - void onInfo(cocos2d::CCObject* sender) = mac 0x411a80; - void onNext(cocos2d::CCObject* sender) = mac 0x411a00; - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender) = mac 0x4119d0; - - TodoReturn colorForPage(int); - TodoReturn scene(int) = mac 0x410a60; - TodoReturn tryShowAd(); - - virtual void keyBackClicked() = mac 0x413710; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x4137b0; - virtual void updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*) = mac 0x411ac0; - virtual void scrollLayerMoved(cocos2d::CCPoint) = mac 0x413280; -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) {} - virtual void loadLevelsFailed(char const*, int) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class GauntletLayer : cocos2d::CCLayer, LevelManagerDelegate { - static GauntletLayer* create(GauntletType); - - bool init(GauntletType) = mac 0x3708e0, win 0x183860; - ~GauntletLayer(); - - void onBack(cocos2d::CCObject* sender); - void onLevel(cocos2d::CCObject* sender) = mac 0x3724b0; - - TodoReturn setupGauntlet(cocos2d::CCArray*) = mac 0x370fb0; - TodoReturn unlockActiveItem(); - TodoReturn scene(GauntletType) = mac 0x3706f0; - - virtual void keyBackClicked() = mac 0x372af0; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = mac 0x372050; - virtual void loadLevelsFailed(char const*, int) = mac 0x372210; -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - void useAnimationType(MenuAnimationType type) { - m_startPosition = this->getNormalImage()->getPosition(); - m_animationType = type; - } - void setDestination(cocos2d::CCPoint const& pos) { - m_destPosition = pos; - } - void setOffset(cocos2d::CCPoint const& pos) { - m_offset = pos; - } - void setScale(float scale) { - this->CCMenuItemSprite::setScale(scale); - m_baseScale = scale; - } - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25830, mac 0x254900; - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x254990; - - ~CCMenuItemSpriteExtra() {} - CCMenuItemSpriteExtra() { - m_scaleMultiplier = 1.0f; - m_baseScale = 1.0f; - m_animationEnabled = true; - m_colorEnabled = false; - m_unknown1 = 0.0f; - m_colorDip = 0.0f; - m_animationType = MenuAnimationType::Scale; - m_unknown4 = 0; - } - - /* unverified signature */ - void setSizeMult(float mult) { - //inlined on windows, member is in CCMenuItemSprite - m_fSizeMult = mult; - } - - // 2.2 not tested - - virtual void activate() = mac 0x254b20; - virtual void selected() = mac 0x254c90; - virtual void unselected() = mac 0x254f00; - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown1; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; - int m_unknown4; -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - CCTextInputNode() { - m_numberInput = false; - m_caption = ""; - m_unknown1 = 0; - m_selected = false; - m_unknown2 = false; - m_fontValue1 = -0.5f; - m_fontValue2 = 8.0f; - m_isChatFont = false; - m_allowedChars = ""; - m_maxLabelWidth = 0.0f; - m_maxLabelScale = 0.0f; - m_placeholderScale = 0.0f; - m_placeholderColor = cocos2d::ccc3(0, 0, 0); - m_textColor = cocos2d::ccc3(0, 0, 0); - m_cursor = nullptr; - m_textField = nullptr; - m_delegate = nullptr; - m_maxLabelLength = 0; - m_placeholderLabel = nullptr; - m_filterSwearWords = false; - m_usePasswordChar = false; - m_forceOffset = false; - m_textArea = nullptr; - } - - inline static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - inline static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - inline void setMaxLabelScale(float v) { - m_maxLabelScale = v; - this->refreshLabel(); - } - void setMaxLabelWidth(float v) { - m_maxLabelWidth = v; - this->refreshLabel(); - } - void setMaxLabelLength(int v) { - m_maxLabelLength = v; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float v) { - m_placeholderScale = v; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*) = win 0x2e440, mac 0x97e10; - - bool init(float, float, char const*, char const*, int, char const*) = win 0x2e500, mac 0x97fc0; - ~CCTextInputNode() = mac 0x97d40; - - gd::string getString() = win 0x2ea50, mac 0x98980; - - void setAllowedChars(gd::string) = win 0x2e8c0, mac 0x98860; - /* unverified signature */ - void setLabelNormalColor(cocos2d::_ccColor3B); - /* unverified signature */ - void setString(gd::string) = win 0x2e9a0, mac 0x988e0; - - TodoReturn addTextArea(TextArea*) = mac 0x98350; - TodoReturn forceOffset() = mac 0x9a490; - void updateLabel(gd::string) = win 0x2eac0, mac 0x98560; - void refreshLabel() = win 0x2ede0, mac 0x98a20; - void updateBlinkLabel(); - void updateCursorPosition(cocos2d::CCPoint, cocos2d::CCRect) = mac 0x9a4a0; - void updateBlinkLabelToChar(int); - void updateDefaultFontValues(gd::string); - - // 2.2, very wrong since this class changed a lot - - virtual void visit() = mac 0x98880; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x9a9d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x9ac00; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x9abc0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x9abe0; - virtual void registerWithTouchDispatcher() = mac 0x9ac20; - virtual void textChanged() = mac 0x993a0; - virtual void onClickTrackNode(bool) = win 0x02f600, mac 0x99380; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&) = mac 0x99120; - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&) = mac 0x99270; - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int, cocos2d::enumKeyCodes) = mac 0x994b0; - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*) = mac 0x99a30; - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*) = mac 0x99d50; - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - float m_fontValue1; - float m_fontValue2; - bool m_isChatFont; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_filterSwearWords; - bool m_usePasswordChar; - bool m_forceOffset; - TextArea* m_textArea; - PAD = android32 0xc, android64 0x10, mac 0x10; -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - static TextArea* create(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = mac 0x2fecb0, win 0x51FB0; - - bool init(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = mac 0x2fee50, win 0x520B0; - ~TextArea(); - - void setIgnoreColorCode(bool); - void setString(gd::string) = mac 0x2fef40, win 0x521C0; - - TodoReturn finishFade(); - TodoReturn colorAllLabels(cocos2d::_ccColor3B); - TodoReturn fadeInCharacters(float, float) = mac 0x2ffae0; - TodoReturn fadeOutAndRemove(); - TodoReturn colorAllCharactersTo(cocos2d::_ccColor3B); - TodoReturn stopAllCharacterActions(); - TodoReturn fadeIn(float, bool); - TodoReturn fadeOut(float); - TodoReturn hideAll(); - void showAll(); - - virtual void update(float) = mac 0x2ff930; - virtual void draw() = mac 0x2ff920; - virtual void setOpacity(unsigned char) = mac 0x2ff780; - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c - PAD = win 0x4; - cocos2d::CCPoint m_anchorPoint; -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler) { - return Slider::create(target, handler, 1.f); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler, float idk) { - return Slider::create(target, handler, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", idk); - } - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = win 0x4ce90, mac 0x2e1100; - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = mac 0x2e1340; - ~Slider(); - - TodoReturn getLiveDragging(); - SliderThumb* getThumb() { - return m_touchLogic->m_thumb; - } - float getValue() = win 0x4d250; - - void setRotated(bool); - void setMaxOffset(float); - void setLiveDragging(bool); - void setBarVisibility(bool) = mac 0x2e1920; - // inlined on windows - void setValue(float val) { - this->getThumb()->setValue(val); - this->updateBar(); - } - - TodoReturn hideGroove(bool); - TodoReturn sliderBegan(); - TodoReturn sliderEnded(); - void disableTouch() = mac 0x2e1830; - TodoReturn enableSlider(); - TodoReturn disableSlider(); - - void updateBar() { - float local_8; - auto thumb = this->getThumb(); - if (!thumb->m_vertical) { - local_8 = thumb->getPositionX(); - } else { - local_8 = thumb->getPositionY(); - } - - float local_c = thumb->getScale() * thumb->m_length * 0.5f + local_8; - float fVar6 = m_width; - local_c = local_c / (thumb->getScale() * thumb->m_length); - if (fVar6 * local_c <= fVar6) { - fVar6 = fVar6 * local_c; - } - - this->m_sliderBar->setTextureRect(cocos2d::CCRect(0.0f, 0.0f, fVar6, m_height)); - } - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e1980; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e1a00; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e19c0; - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; - void* m_unknown; - void* m_unknown2; -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - inline CCIndexPath() {} - ~CCIndexPath() = mac 0x4670c0; -} - -[[link(android), depends(CCIndexPath)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - static TableView* create(TableViewDelegate*, TableViewDataSource*, TableViewCellDelegate*, cocos2d::CCRect) = mac 0x5e4240; - - TodoReturn initTableViewCells(); - ~TableView(); - - TodoReturn claimTouch(cocos2d::CCTouch*); - void reloadData() = win 0x504d0, mac 0x5e5020; - TodoReturn touchFinish(cocos2d::CCTouch*); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn deleteTableViewCell(TableViewCell*) = mac 0x5e4cf0; - /* unverified signature */ - bool isDuplicateIndexPath(CCIndexPath&); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn checkBoundaryOfContent(float); - /* unverified signature */ - bool isDuplicateInVisibleCellArray(CCIndexPath*); - TodoReturn dequeueReusableCellWithIdentifier(char const*) = mac 0x5e4f80; - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TableView(cocos2d::CCRect); - - virtual void onEnter() = mac 0x5e55c0; - virtual void onExit() = mac 0x5e55d0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x5e5770; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x5e62b0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x5e6070; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x5e61f0; - virtual void registerWithTouchDispatcher() = mac 0x5e55e0; - virtual void scrollWheel(float, float) = win 0x50d30, mac 0x5e63a0; - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) = mac 0x5e6fa0; - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) = mac 0x5e6fc0; - virtual void scrollViewTouchMoving(CCScrollLayerExt*) = mac 0x5e6fe0; - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) = mac 0x5e7000; - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - TableViewCellDelegate* m_cellDelegate; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[link(android)]] -class TableViewCell : cocos2d::CCLayer { - TableViewCell(char const*, float, float) = win 0x51b10, mac 0x5eb040; - ~TableViewCell() = mac 0x5eb320; - - TodoReturn updateVisibility() = mac 0x5eb5b0; - - // 2.2, not tested - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - void* m_unknown2; - void* m_unknown3; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; - BoomListType m_listType; -} - -[[link(android)]] -class TableViewDelegate { - // these are pure virtuals - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) { return true; } - virtual void enterPressed(CCTextInputNode*) {} -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewCellDelegate { - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - CCScrollLayerExt(cocos2d::CCRect) = win 0x276e0, mac 0x40cf00; - ~CCScrollLayerExt(); - - TodoReturn getMaxY(); - TodoReturn getMinY(); - - /* unverified signature */ - void setContentOffset(cocos2d::CCPoint, bool); - /* unverified signature */ - void setContentLayerSize(cocos2d::CCSize); - - void scrollLayer(float) = win 0x28550, mac 0x40e1e0; - TodoReturn scrollingEnd(); - TodoReturn updateIndicators(float); - TodoReturn constraintContent(); - TodoReturn doConstraintContent(bool); - void moveToTopWithOffset(float) = win 0x27ae0, mac 0x40d580; - void moveToTop() = win 0x27b60, mac 0x40d620; - - virtual void visit() = win 0x28600, mac 0x40e2a0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x280d0, mac 0x40dc30; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x28410, mac 0x40e060; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x281c0, mac 0x40dd60; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x283e0, mac 0x40e000; - virtual void registerWithTouchDispatcher() = win 0x280a0, mac 0x40dbf0; - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect) = win 0x286d0, mac 0x40e3a0; - virtual TodoReturn postVisit() = win 0x28760, mac 0x40e420; - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - virtual void scrollViewTouchBegin(CCScrollLayerExt*) {} - virtual void scrollViewTouchEnd(CCScrollLayerExt*) {} -} - -[[link(android)]] -class CustomListView : BoomListView { - inline static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, nullptr, width, height, 0, type, 0.0f); - } - - static CustomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x7A880, mac 0x21f7d0; - - inline CustomListView() {} - ~CustomListView() = mac 0x21f750; - - float getCellHeight(BoomListType) = mac 0x2209d0; - - TodoReturn reloadAll() = mac 0x22c700; - - virtual void setupList(float) = win 0x7B710, mac 0x22bed0; - virtual TableViewCell* getListCell(char const*) = mac 0x21f910; - virtual void loadCell(TableViewCell*, int) = win 0x7B2D0, mac 0x2214a0; - - int m_unknown; -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - static BoomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType); - - bool init(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x1d400, mac 0x2e9890; - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - inline bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, nullptr, height, width, 0, type, 0.0f); - } - TodoReturn addObjectToList(cocos2d::CCNode*); - TodoReturn lockList(bool) = mac 0x2e9a40; - - // 2.2, not tested - - virtual void draw() {} - virtual void setupList(float) = win 0x1d5c0, mac 0x2e9ac0; - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d650, mac 0x2e9ba0; - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned int, TableView*) = win 0x1d660, mac 0x2e9be0; - virtual unsigned int numberOfSectionsInTableView(TableView*) = win 0x1d250, mac 0x2e9c10; - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d670, mac 0x2e9c30; - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) = win 0x1d230, mac 0x2ea4a0; - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(char const*) = win 0x1d6d0, mac 0x2e9d40; - virtual void loadCell(TableViewCell*, int) = mac 0x2e9f80, win 0x1d7b0; - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; - bool m_locked; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - inline CCMenuItemToggler() : CCMenuItem(), m_onButton(nullptr), m_offButton(nullptr), m_toggled(false), m_notClickable(false) {} - - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - bool isOn() { - return m_toggled; - } - bool isToggled() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - static CCMenuItemToggler* create(cocos2d::CCNode* offSpr, cocos2d::CCNode* onSpr, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) = win 0x25e50, mac 0x5c8b0; - - bool init(cocos2d::CCNode* off, cocos2d::CCNode* on, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler handler) = win 0x25f30, mac 0x5c980; - - void setSizeMult(float) = mac 0x5ce30; - - void toggle(bool) = win 0x261e0, mac 0x5cd60; - TodoReturn activeItem(); - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - - virtual void setEnabled(bool enabled) = win 0x26160, mac 0x5cfd0; - - virtual void activate() = win 0x26100, mac 0x5cf70; - virtual void selected() = win 0x260d0, mac 0x5cf40; - virtual void unselected() = win 0x26130, mac 0x5cfa0; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - static CCContentLayer* create(cocos2d::_ccColor4B const&, float, float) = mac 0x77f270; - inline CCContentLayer() {} - ~CCContentLayer(); - - virtual void setPosition(cocos2d::CCPoint const&) = win 0x23b20, mac 0x77f370; -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - static cocos2d::CCScene* scene(bool) = win 0x276680, mac 0x36de10; - // MenuLayer::create is inlined on android, but not on windows somehow lol :P - - ~MenuLayer(); - - void onFacebook(cocos2d::CCObject* sender) = mac 0x36f670, win 0x2779b0; - void onEveryplay(cocos2d::CCObject* sender); // empty - void onMoreGames(cocos2d::CCObject* sender) = mac 0x36f710, win 0x277a50; - void onMyProfile(cocos2d::CCObject* sender) = mac 0x36f860, win 0x277940; - void onFreeLevels(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender) = mac 0x36fac0; - void onNewgrounds(cocos2d::CCObject* sender) = mac 0x36f580, win 0x277d90; - void onFullVersion(cocos2d::CCObject* sender); - void onAchievements(cocos2d::CCObject* sender) = mac 0x36f4c0, win 0x277ae0; - void onGooglePlayGames(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender) = mac 0x36f310, win 0x277b40; - void onQuit(cocos2d::CCObject* sender) = mac 0x36f790, win 0x277e20; - void onDaily(cocos2d::CCObject* sender) = mac 0x36f9d0, win 0x2777b0; - void onStats(cocos2d::CCObject* sender) = mac 0x36f540, win 0x277c50; - void onGarage(cocos2d::CCObject* sender) = mac 0x36f3a0, win 0x277cf0; - void onRobTop(cocos2d::CCObject* sender) = mac 0x36f650, win 0x277990; - void onTwitch(cocos2d::CCObject* sender) = mac 0x36f6d0, win 0x277a10; - void onCreator(cocos2d::CCObject* sender) = mac 0x36f430, win 0x277c80; - void onDiscord(cocos2d::CCObject* sender) = mac 0x36f6f0, win 0x277a30; - void onOptions(cocos2d::CCObject* sender) = mac 0x36f500, win 0x277be0; - void onTrailer(cocos2d::CCObject* sender) = mac 0x36fea0; - void onTwitter(cocos2d::CCObject* sender) = mac 0x36f690, win 0x2779d6; - void onYouTube(cocos2d::CCObject* sender) = mac 0x36f6b0, win 0x2779f0; - - TodoReturn openOptions(bool) = mac 0x75bcf0, win 0x2ab400; - void showGCQuestion() = mac 0x36fb10; - TodoReturn firstNetworkTest() = mac 0x36fa30, win 0x277900; - TodoReturn onOptionsInstant(); - void showMeltdownPromo(); // empty - TodoReturn videoOptionsClosed(); - TodoReturn videoOptionsOpened(); - TodoReturn updateUserProfileButton(); - TodoReturn syncPlatformAchievements(float); - TodoReturn endGame(); - void showTOS() = mac 0x36f9f0, win 0x277910; - TodoReturn tryShowAd(float); - TodoReturn willClose(); - - virtual bool init() = mac 0x36dfd0, win 0x276700; - virtual void keyBackClicked() = mac 0x36fee0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x3701a0; - virtual void googlePlaySignedIn() = win 0x277b10, mac 0x36fc50; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x277ea0, mac 0x36ff10; -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - static cocos2d::CCScene* scene(bool); - static LoadingLayer* create(bool fromReload) = win 0x271A90, mac 0x380170; - - bool init(bool fromReload) = win 0x271B30, mac 0x380350; - - const char* getLoadingString() = win 0x272A20; - - void loadAssets() = win 0x272390, mac 0x380ba0; - TodoReturn updateProgress(int); - void loadingFinished() = win 0x2722A0, mac 0x381310; - - // 2.2, not tested - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn(); -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - static TextAlertPopup* create(gd::string, float, float, int, gd::string) = mac 0x28b290; - - bool init(gd::string, float, float, int, gd::string) = mac 0x28b3c0; - ~TextAlertPopup(); - - void setLabelColor(cocos2d::_ccColor3B) = mac 0x28b6d0; - void setAlertPosition(cocos2d::CCPoint, cocos2d::CCPoint) = mac 0x28b710; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate, CharacterColorDelegate { - ~GJGarageLayer(); - - TodoReturn getLockFrame(int, UnlockType); - TodoReturn getItems(IconType); - TodoReturn getItems(int, int, IconType, int) = mac 0x34c160; - - void onNavigate(cocos2d::CCObject* sender); - void onSelectTab(cocos2d::CCObject* sender) = mac 0x34b150; - void onToggleItem(cocos2d::CCObject* sender) = win 0x1ee7d0, mac 0x34cde0; - void onBack(cocos2d::CCObject* sender) = mac 0x34a9f0; - void onInfo(cocos2d::CCObject* sender) = mac 0x34ac40; - void onShop(cocos2d::CCObject* sender) = mac 0x34ab50; - void onArrow(cocos2d::CCObject* sender); - void onPaint(cocos2d::CCObject* sender) = mac 0x34abe0; - void onSelect(cocos2d::CCObject* sender) = win 0x1ee4b0, mac 0x34c580; - void onShards(cocos2d::CCObject* sender) = mac 0x34abb0; - void onSpecial(cocos2d::CCObject* sender); - - TodoReturn toggleGlow(); - TodoReturn titleForUnlock(int, UnlockType); - void setupIconSelect() = mac 0x349ee0; - TodoReturn playShadowEffect(); - void setupSpecialPage() = mac 0x34baa0; - TodoReturn updatePlayerName(char const*); - TodoReturn playRainbowEffect(); - void showUnlockPopupNew(int, UnlockType); - TodoReturn updatePlayerColors() = mac 0x3498d0; - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn descriptionForUnlock(int, UnlockType); - TodoReturn scene() = mac 0x347bd0; - TodoReturn selectTab(IconType) = mac 0x34b2e0; - void setupPage(int, IconType) = mac 0x34b420; - - virtual bool init() = win 0x1EAA40, mac 0x347d60; - virtual void keyBackClicked() = mac 0x34df30; - virtual void textInputOpened(CCTextInputNode*) = mac 0x34ae00; - virtual void textInputClosed(CCTextInputNode*) = mac 0x34af60; - virtual void textChanged(CCTextInputNode*) = mac 0x34b0f0; - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int) = mac 0x34d510; - virtual void showUnlockPopup(int, UnlockType) = win 0x1eea30, mac 0x34d6a0; - virtual void updateRate() = win 0x1ef000, mac 0x34dce0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x34da70; - virtual void dialogClosed(DialogLayer*) = mac 0x34db80; - virtual TodoReturn playerColorChanged() = mac 0x34d410; -} - -[[link(android), depends(EventTriggerInstance), depends(SongChannelState), depends(DynamicObjectAction), depends(AdvancedFollowInstance), depends(EnterEffectInstance), depends(GameObjectPhysics), depends(GJValueTween), depends(SFXTriggerInstance)]] -class GJGameState { - TodoReturn tweenValue(float, float, int, float, int, float, int, int) = win 0x18b380, mac 0x1525d0; - TodoReturn stopTweenAction(int) = mac 0x152c50; - TodoReturn updateTweenAction(float, int); - TodoReturn controlTweenAction(int, int, GJActionCommand); - TodoReturn updateTweenActions(float); - TodoReturn getGameObjectPhysics(GameObject*); - TodoReturn processStateTriggers(); - // GJGameState() = win 0x18a380; - // ~GJGameState(); - - // the hex offsets in member names are from android32 2.200 - float m_unk0; - float m_unk4; - cocos2d::CCPoint m_unk8; - cocos2d::CCPoint m_unk10; - cocos2d::CCPoint m_unk18; - cocos2d::CCPoint m_unk20; - cocos2d::CCPoint m_unk28; - cocos2d::CCPoint m_unk30; - cocos2d::CCPoint m_unk38; - cocos2d::CCPoint m_unk40; - cocos2d::CCPoint m_unk48; - cocos2d::CCPoint m_unk50; - cocos2d::CCPoint m_unk58; - cocos2d::CCPoint m_unk60; - cocos2d::CCPoint m_unk68; - cocos2d::CCPoint m_unk70; - cocos2d::CCPoint m_unk78; - cocos2d::CCPoint m_unk80; - cocos2d::CCPoint m_unk88; - cocos2d::CCPoint m_unk90; - cocos2d::CCPoint m_unk98; - cocos2d::CCPoint m_unka0; - cocos2d::CCPoint m_unka8; - cocos2d::CCPoint m_unkb0; - cocos2d::CCPoint m_unkb8; - cocos2d::CCPoint m_unkc0; - cocos2d::CCPoint m_unkc8; - cocos2d::CCPoint m_unkd0; - cocos2d::CCPoint m_unkd8; - cocos2d::CCPoint m_unke0; - cocos2d::CCPoint m_unke8; - cocos2d::CCPoint m_unkf0; - bool m_unkf8; - PAD = win 0x7, android32 0x7, android64 0x7, mac 0x7; - bool m_unk100; - PAD = win 0x7, android32 0x7, android64 0x7, mac 0x7; - bool m_unk108; - cocos2d::CCPoint m_unk10c; - PAD = win 0x10, android32 0x10, android64 0x10, mac 0x10; - float m_unk124; - float m_unk128; - PAD = win 0x1c, android32 0x1c, android64 0x1c, mac 0x1c; - float m_unk148; - PAD = win 0x20, android32 0x20, android64 0x20, mac 0x20; - float m_unk16c; - float m_unk170; - float m_unk174; - float m_unk178; - PAD = win 0xc, android32 0xc, android64 0xc, mac 0xc; - float m_unk188; - float m_unk18c; - PAD = win 0x8, android32 0x8, android64 0x8, mac 0x8; - gd::unordered_map m_unk198; - gd::unordered_map m_unk1b4; - float m_unk1d0; // unsure types of all 4 floats - float m_unk1d4; - float m_unk1d8; - float m_unk1dc; - double m_unk1e0; // unsure type - PAD = win 0x24, android32 0x24, android64 0x30, mac 0x30; - cocos2d::CCPoint m_unk20c; - PAD = win 0xa, android32 0xa, android64 0xa, mac 0xa; - bool m_isDualMode; - PAD = win 0x5, android32 0x5, android64 0x5, mac 0x5; - gd::unordered_map m_unk224; - PAD = win 0x10, android32 0x10, android64 0x10, mac 0x10; - gd::unordered_map m_unk250; - PAD = win 0x18, android32 0x18, android64 0x24, mac 0x24; - cocos2d::CCPoint m_unk284; - PAD = win 0x10, android32 0x10, android64 0x10, mac 0x10; - gd::map, int> m_unk29c; - PAD = win 0x4, android32 0x4, android64 0x4, mac 0x4; - cocos2d::CCPoint m_unk2b8; - cocos2d::CCPoint m_unk2c0; - bool m_unk2c8; - bool m_unk2c9; - bool m_unk2ca; - PAD = win 0x6, android32 0x6, android64 0x6, mac 0x6; - bool m_unk2d0; - bool m_unk2d1; - PAD = win 0x10, android32 0x10, android64 0x10, mac 0x10; - void* m_unk2e4; - cocos2d::CCPoint m_unk2e8; - PAD = win 0x4, android32 0x4, android64 0x4, mac 0x4; - gd::unordered_map m_unk2f4; - gd::map, gd::vector> m_unk310; - gd::map, int> m_unk328; - gd::unordered_map> m_unk340; - gd::unordered_map> m_unk35c; - gd::vector m_unk378; - gd::vector m_unk384; - gd::vector m_unk390; - gd::vector m_unk39c; - gd::vector m_unk3a8; - gd::vector m_unk3b4; - gd::vector m_unk3c0; - gd::unordered_set m_unk3cc; - bool m_unk3e8; - gd::vector m_unk3ec; - gd::vector m_unk3f8; - gd::vector m_unk404; - bool m_unk410; - bool m_unk411; - PAD = win 0x4, android32 0x4, android64 0x4, mac 0x4; - gd::unordered_map> m_unk418; - gd::map, SFXTriggerInstance> m_unk434; - gd::unordered_map m_unk44c; - gd::unordered_map> m_unk468; - gd::vector m_unk484; - PAD = win 0x14, android32 0x14, android64 0x14, mac 0x14; -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int) {} - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int) {} - virtual void spawnObject(GameObject*, double, gd::vector const&) {} -} - -[[link(android), depends(GJGameState), depends(PlayerButtonCommand)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - // ~GJBaseGameLayer() = mac 0xf96c0; - - static GJBaseGameLayer* get() { - return GameManager::get()->m_gameLayer; - } - - TodoReturn getBumpMod(PlayerObject*, int) = win 0x19a5d0; - TodoReturn getItemValue(int, int); - TodoReturn getMaxPortalY(); - TodoReturn getMinPortalY(); - TodoReturn getSpecialKey(int, bool, bool); - TodoReturn getGroupParent(int); - TodoReturn getMinDistance(cocos2d::CCPoint, cocos2d::CCArray*, float, int) = win 0x1c0c90; - TodoReturn getOtherPlayer(PlayerObject*) = mac 0x10e1c0; - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType) = win 0x1beb20; - TodoReturn getStaticGroup(int) = win 0x1a4f10; - TodoReturn getStickyGroup(int); - TodoReturn getTargetGroup(int, int); - TodoReturn getGroundHeight(PlayerObject*, int) = mac 0x3e29d0; - TodoReturn getParticleKey2(gd::string); - TodoReturn getPortalTarget(TeleportPortalObject*); - TodoReturn getRecordString(); - float getModifiedDelta(float) = mac 0x13eb50; - TodoReturn getSavedPosition(int, float); - TodoReturn getCapacityString() = win 0x1938e0; - TodoReturn getEnterEasingKey(int, float); - TodoReturn getFollowSpeedVal(GameObject*, int, int, float, float); - TodoReturn getOptimizedGroup(int) = win 0x1a4f70; - TodoReturn getPlayerButtonID(int, bool); - TodoReturn getPlayTimerMilli(); - TodoReturn getCameraEdgeValue(int); - TodoReturn getMoveTargetDelta(EffectGameObject*, bool); - TodoReturn getPortalTargetPos(TeleportPortalObject*, GameObject*, PlayerObject*); - TodoReturn getEnterEasingValue(float, int, float, int); - TodoReturn getTargetFlyCameraY(GameObject*); - TodoReturn getCenterGroupObject(int, int); - TodoReturn getSingleGroupObject(int) = win 0x1a4fd0; - TodoReturn getTargetGroupOrigin(int, int); - TodoReturn getCustomEnterEffects(int, bool); - TodoReturn getGroupParentsString(GameObject*); - TodoReturn getScaledGroundHeight(float); - TodoReturn getGroundHeightForMode(int); - TodoReturn getPlayTimerFullSeconds(); - TodoReturn getRotateCommandTargets(EnhancedTriggerObject*, GameObject*&, GameObject*&, GameObject*&); - TodoReturn getActiveOrderSpawnObjects(); - TodoReturn getGroup(int) = win 0x1a4eb0; - - void setGroupParent(GameObject*, int); - void setStartPosObject(StartPosObject*) = win 0x195FC0; - - TodoReturn applyRemap(EffectGameObject*, gd::vector const&, gd::unordered_map&); - TodoReturn applyShake(cocos2d::CCPoint&) = win 0x1BD670; - TodoReturn atlasValue(int); - TodoReturn bumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19a6b0; - bool isFlipping(); - void moveObject(GameObject*, double, double, bool); - TodoReturn pauseAudio() = win 0x1B7460, mac 0x13ea60; - TodoReturn pickupItem(EffectGameObject*); - TodoReturn resetAudio() = mac 0x13eac0; - TodoReturn sortGroups() = mac 0x102770; - TodoReturn swapGround(int); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateZoom(float, float, int, float, int, int); - TodoReturn addGuideArt(GameObject*); - void addToGroups(GameObject*, bool) = win 0x1a4be0; - TodoReturn addUIObject(GameObject*); - TodoReturn cameraMoveX(float, float, float, bool); - TodoReturn cameraMoveY(float, float, float, bool); - TodoReturn flipGravity(PlayerObject*, bool, bool) = win 0x196720; - void flipObjects() = win 0x1c4540; - void moveObjects(cocos2d::CCArray*, double, double, bool) = win 0x1ADE90; - void queueButton(int, bool, bool) = win 0x1B19C0, mac 0x1375f0; - void resetCamera() = win 0x1BE060, mac 0x145830; - void resetPlayer() = win 0x195ED5, mac 0x10e540; - void resumeAudio() = win 0x1B74C0; - void setupLayers() = win 0x18ddc0; - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float, float, float) = win 0x1ba3c0, mac 0x146e40; - TodoReturn toggleGroup(int, bool); - TodoReturn asyncGLoaded(int); - void createPlayer() = win 0x18fed0, mac 0xfee30; - TodoReturn flipFinished(); - void handleButton(bool push, int button, bool player1) = win 0x1b2880, mac 0x137800; - TodoReturn processItems() = win 0x1992d0; - TodoReturn recordAction(int, bool, bool); - TodoReturn restoreRemap(EffectGameObject*, gd::unordered_map&); - TodoReturn rotateObject(GameObject*, float); - TodoReturn spawnPlayer2() = win 0x199990; - TodoReturn tryGetObject(int); - void updateCamera(float) = win 0x1BCBEF, mac 0x140660; - TodoReturn updateReplay(); - TodoReturn addAreaEffect(EnterEffectObject*, gd::vector*, GJAreaActionType); - TodoReturn asyncBGLoaded(int); - TodoReturn asyncMGLoaded(int); - TodoReturn canProcessSFX(SFXTriggerState&, gd::unordered_map&, gd::unordered_map&, gd::vector&); - TodoReturn claimParticle(gd::string, int); - TodoReturn destroyObject(GameObject*); - TodoReturn enterDualMode(GameObject*, bool); - bool hasUniqueCoin(EffectGameObject*) = win 0x1995a0, mac 0x113ec0; - TodoReturn preResumeGame() = mac 0x13ea50; - TodoReturn removePlayer2(); - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint, cocos2d::CCPoint, bool, bool); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - void toggleFlipped(bool, bool) = mac 0x113560; - TodoReturn updateTimeMod(float, bool, bool); - TodoReturn animatePortalY(float, float, float, float); - TodoReturn canTouchObject(GameObject*); - TodoReturn checkCollision(int, int); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x1bed60; - TodoReturn gravBumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19a7b0; - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::_ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor3B, float, float, int, bool, float); - TodoReturn removeKeyframe(KeyframeGameObject*); - TodoReturn reparentObject(cocos2d::CCNode*, cocos2d::CCNode*); - TodoReturn sortAllGroupsX(); - TodoReturn stopSFXTrigger(SFXTriggerGameObject*); - TodoReturn swapBackground(int); - TodoReturn syncBGTextures() = win 0x1B98C0; - TodoReturn teleportPlayer(TeleportPortalObject*, PlayerObject*); - void toggleDualMode(GameObject*, bool, PlayerObject*, bool) = win 0x1996c0, mac 0x10f070; - TodoReturn tryResumeAudio() = mac 0x13eaf0; - TodoReturn updateCounters(int, int); - TodoReturn updateGuideArt(); - TodoReturn addRemapTargets(gd::set&) = mac 0x101730; - int checkCollisions(PlayerObject*, float, bool) = win 0x1973f0, mac 0x110890; - TodoReturn claimMoveAction(int, bool); - TodoReturn collectedObject(EffectGameObject*); - // /* unverified signature */ - bool isPlayer2Button(int); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - TodoReturn parentForZLayer(int, bool, int, int); - TodoReturn playFlashEffect(float, int, float); - TodoReturn processCommands(float); - TodoReturn processSFXState(SFXTriggerState*, SFXTriggerState*, int, float); - TodoReturn setupLevelStart(LevelSettingsObject*) = win 0x196000, mac 0x10e7f0; - TodoReturn stopCameraShake(); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - TodoReturn unlinkAllEvents(); - TodoReturn updateMGOffsetY(float, float, int, float, int, int); - TodoReturn updateParticles(float); - void addObjectCounter(LabelGameObject*) = win 0x1b3350; - TodoReturn addPickupTrigger(CountTriggerGameObject*); - TodoReturn buttonIDToButton(int); - TodoReturn controlEventLink(int, int, GJActionCommand); - void createBackground(int) = mac 0xff150; - TodoReturn createTextLayers() = win 0x193A90, mac 0x10b4b0; - TodoReturn exitStaticCamera(bool, bool, float, int, float, bool, float, bool); - void loadUpToPosition(float, int, int) = win 0x1B4D10; - TodoReturn processSongState(int, float, float, int, float, float, gd::vector*); - void removeBackground(); - void removeFromGroups(GameObject*); - TodoReturn sortStickyGroups() = mac 0x105ba0; - TodoReturn swapMiddleground(int); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn toggleLockPlayer(bool, bool); - TodoReturn tryGetMainObject(int) = win 0x1A4FD0; - TodoReturn updateBGArtSpeed(float, float) = mac 0x1454f0; - TodoReturn updateCameraEdge(int, int); - TodoReturn updateCameraMode(EffectGameObject*, bool); - TodoReturn updateDualGround(PlayerObject*, int, bool, float) = mac 0x10f730; - TodoReturn updateMGArtSpeed(float, float); - void addToGroupParents(GameObject*); - TodoReturn checkRepellPlayer(); - void checkSpawnObjects() = win 0x19d320; - TodoReturn controlAreaEffect(EnterEffectObject*, gd::vector*, GJActionCommand); - void createGroundLayer(int, int); - TodoReturn gameEventToString(GJGameEvent); - void loadLevelSettings() = mac 0x144400; - void moveObjectsSilent(int, double, double); - TodoReturn orderSpawnObjects() = win 0x1c37e0, mac 0x14e270; - TodoReturn playerTouchedRing(PlayerObject*, RingObject*) = win 0x19acd0; - TodoReturn playSpeedParticle(float); - void positionUIObjects() = mac 0x107bf0; - void processSFXObjects() = mac 0x109360; - void removeGroundLayer(); - TodoReturn removeGroupParent(int) = win 0x1a54b0; - TodoReturn resetStaticCamera(bool, bool) = win 0x1BE2C0; - TodoReturn rotateAreaObjects(GameObject*, cocos2d::CCArray*, float, bool); - TodoReturn sortSectionVector() = win 0x1A7F50; - TodoReturn switchToRobotMode(PlayerObject*, GameObject*, bool); - TodoReturn triggerAreaEffect(EnterEffectObject*); - TodoReturn tryGetGroupParent(int); - TodoReturn updateCameraBGArt(cocos2d::CCPoint, float) = mac 0x147180; - TodoReturn updateLevelColors() = win 0x190db0, mac 0xff3c0; - TodoReturn updateShaderLayer(float) = win 0x1A37B0, mac 0x127c40; - TodoReturn updateTimerLabels(); - TodoReturn activateCustomRing(RingObject*); - TodoReturn activateSFXTrigger(SFXTriggerGameObject*) = win 0x1bfff0, mac 0x146380; - TodoReturn animateInGroundNew(bool, float, bool) = mac 0x10fda0; - TodoReturn applyLevelSettings(GameObject*); - TodoReturn clearPickedUpItems(); - void createMiddleground(int); - TodoReturn gameEventTriggered(GJGameEvent, int, int) = win 0x1b1ac0, mac 0x10d070; - TodoReturn generateSpawnRemap() = mac 0x1023a0; - void groupStickyObjects(cocos2d::CCArray*) = mac 0x12a680; - void loadStartPosObject() = win 0x1B4BA0; - TodoReturn modifyGroupPhysics(AdvancedFollowEditObject*, cocos2d::CCArray*); - TodoReturn optimizeMoveGroups() = mac 0x102c20; - TodoReturn playExitDualEffect(PlayerObject*) = win 0x199ab0, mac 0x114c50; - TodoReturn processAreaActions(float, bool); - TodoReturn processAreaEffects(gd::vector*, GJAreaActionType, float, bool); - void processMoveActions() = win 0x1ADA80; - TodoReturn reAddToStickyGroup(GameObject*); - TodoReturn registerSpawnRemap(gd::vector&) = mac 0x122620; - void removeMiddleground(); - TodoReturn resetGroupCounters(bool); - TodoReturn switchToSpiderMode(PlayerObject*, GameObject*, bool); - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn updateEnterEffects(float); - TodoReturn updateMaxGameplayY() = win 0x1b97a0, mac 0x1445f0; - TodoReturn updateQueuedLabels(); - TodoReturn activateSongTrigger(SongTriggerGameObject*) = win 0x1bfba0, mac 0x145d60; - TodoReturn animateOutGroundNew(bool) = mac 0x110090; - TodoReturn applySFXEditTrigger(int, int, SFXTriggerGameObject*) = win 0x1c03b0; - TodoReturn claimRotationAction(int, int, float&, float&, bool, bool); - TodoReturn maxZOrderForShaderZ(int); - TodoReturn minZOrderForShaderZ(int); - TodoReturn modifyObjectPhysics(AdvancedFollowEditObject*, GameObjectPhysics&); - TodoReturn performMathRounding(double, int); - TodoReturn playerTouchedObject(PlayerObject*, GameObject*); - TodoReturn preUpdateVisibility(float) = win 0x1b5660; - TodoReturn processCameraObject(GameObject*, PlayerObject*); - TodoReturn processStateObjects(); - TodoReturn registerStateObject(EffectGameObject*); - TodoReturn resetGradientLayers(); - TodoReturn resetLevelVariables() = mac 0x144860, win 0x1B9950; - TodoReturn restoreAllUIObjects(); - TodoReturn spawnGroupTriggered(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector const&, int, int); - TodoReturn staticObjectsInRect(cocos2d::CCRect, bool); - TodoReturn updateCameraOffsetX(float, float, int, float, int, int); - TodoReturn updateCameraOffsetY(float, float, int, float, int, int); - TodoReturn updateGroundShadows(); - TodoReturn updateKeyframeOrder(int); - TodoReturn updateLayerCapacity(gd::string) = mac 0x100360; - TodoReturn updateSpecialLabels() = win 0x1B8A0E; - TodoReturn visitWithColorFlash(); - TodoReturn activateEventTrigger(EventLinkTrigger*, gd::vector const&); - TodoReturn activateResetTrigger(EffectGameObject*); - TodoReturn activateTimerTrigger(TimerTriggerGameObject*, gd::vector const&); - TodoReturn addCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn calculateColorGroups(); - TodoReturn checkCollisionBlocks(EffectGameObject*, gd::vector*, int); - TodoReturn generateTargetGroups() = mac 0x105cf0; - TodoReturn performMathOperation(double, double, int); - TodoReturn playAnimationCommand(int, int); - TodoReturn playerTouchedTrigger(PlayerObject*, EffectGameObject*); - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn processFollowActions(); - TodoReturn processQueuedButtons() = win 0x1b1a10, mac 0x137790; - TodoReturn rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float); - void refreshCounterLabels() = win 0x1b4630; - TodoReturn refreshKeyframeAnims() = mac 0x109170; - TodoReturn reorderObjectSection(GameObject*) = mac 0x1161e0; - TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float); - TodoReturn spawnParticleTrigger(SpawnParticleGameObject*); - TodoReturn speedForShaderTarget(int) = mac 0x128de0; - TodoReturn stopAllGroundActions(); - TodoReturn transformAreaObjects(GameObject*, cocos2d::CCArray*, float, float, bool); - TodoReturn triggerGravityChange(EffectGameObject*, int); - TodoReturn triggerRotateCommand(EnhancedTriggerObject*); - bool triggerShaderCommand(ShaderGameObject*); - void ungroupStickyObjects(cocos2d::CCArray*) = mac 0x12a7a0; - TodoReturn updateGradientLayers() = win 0x1A1750, mac 0x125fd0; - TodoReturn updatePlatformerTime() = win 0x1B8BE0; - TodoReturn activatedAudioTrigger(SFXTriggerGameObject*, float); - void assignNewStickyGroups(cocos2d::CCArray*); - void collisionCheckObjects(PlayerObject*, gd::vector*, int, float) = mac 0x111970; - TodoReturn controlDynamicCommand(EffectGameObject*, int, gd::vector&, GJActionCommand); - TodoReturn createNewKeyframeAnim(); - TodoReturn damagingObjectsInRect(cocos2d::CCRect, bool); - TodoReturn objectTypeToGameEvent(int); - TodoReturn playerCircleCollision(PlayerObject*, GameObject*); - TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector const&); - TodoReturn processOptionsTrigger(GameOptionsTrigger*); - TodoReturn removeFromStickyGroup(GameObject*); - TodoReturn shouldExitHackedLevel() = win 0x18FE20; - TodoReturn stopCustomEnterEffect(EnterEffectObject*); - TodoReturn stopCustomEnterEffect(EnterEffectObject*, bool); - void toggleAudioVisualizer(bool); - TodoReturn updateAudioVisualizer(); - TodoReturn updateCollisionBlocks(); - TodoReturn updateExtraGameLayers() = mac 0x129020; - TodoReturn updateGameplayOffsetX(int, bool); - TodoReturn updateGameplayOffsetY(int, bool); - TodoReturn updateStaticCameraPos(cocos2d::CCPoint, bool, bool, bool, float, int, float) = win 0x1bda60, mac 0x110240; - TodoReturn activateSFXEditTrigger(SFXTriggerGameObject*) = win 0x1c0160, mac 0x1468d0; - TodoReturn animateInDualGroundNew(GameObject*, float, bool, float); - TodoReturn canBeActivatedByPlayer(PlayerObject*, EffectGameObject*) = win 0x19a4b0; - TodoReturn controlGradientTrigger(GradientTriggerObject*, GJActionCommand); - TodoReturn controlTriggersInGroup(int, GJActionCommand); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn playerIntersectsCircle(PlayerObject*, GameObject*); - TodoReturn prepareTransformParent(bool); - void processMoveActionsStep(float, bool) = win 0x1ABBB0; - TodoReturn processRotationActions(); - void removeFromGroupParents(GameObject*); - TodoReturn resetSongTriggerValues(); - TodoReturn resetSpawnChannelIndex() = win 0x1C3A00; - TodoReturn togglePlayerVisibility(bool); - TodoReturn togglePlayerVisibility(bool, bool); - TodoReturn triggerGradientCommand(GradientTriggerObject*); - TodoReturn updateAllObjectSection(); - TodoReturn updateSpecialGroupData() = mac 0x102330; - TodoReturn activateItemEditTrigger(ItemTriggerGameObject*); - TodoReturn activateSongEditTrigger(SongTriggerGameObject*) = mac 0x1460d0; - TodoReturn controlAreaEffectWithID(int, int, GJActionCommand); - TodoReturn playerWasTouchingObject(PlayerObject*, GameObject*) = win 0x19a570; - TodoReturn positionForShaderTarget(int) = mac 0x128cc0; - void processTransformActions(bool) = win 0x1ACBA0; - void removeObjectFromSection(GameObject*) = win 0x1a7d80, mac 0x12adc0; - TodoReturn resetActiveEnterEffects() = mac 0x109840, win 0x192c70; - TodoReturn resetMoveOptimizedValue(); - TodoReturn resetStoppedAreaObjects(); - TodoReturn testInstantCountTrigger(int, int, int, bool, int, gd::vector const&, int, int); - TodoReturn togglePlayerStreakBlend(bool); - TodoReturn triggerTransformCommand(TransformTriggerGameObject*); - TodoReturn updateActiveEnterEffect(EnterEffectObject*); - TodoReturn updateExtendedCollision(GameObject*, bool); - TodoReturn addProximityVolumeEffect(int, int, SFXTriggerGameObject*) = win 0x1c0820; - TodoReturn generateVisibilityGroups() = mac 0x1081b0; - TodoReturn processAreaVisualActions(float); - TodoReturn removeCustomEnterEffects(int, bool); - TodoReturn removeTemporaryParticles() = win 0x1bfae0; - TodoReturn updateInternalCamOffsetX(float, float, float); - TodoReturn updateInternalCamOffsetY(float, float, float); - TodoReturn volumeForProximityEffect(SFXTriggerInstance&) = win 0x1c08e0; - TodoReturn controlDynamicMoveCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn convertToClosestDirection(float, float) = win 0x1aeb00; - TodoReturn generateEnterEasingBuffer(int, float) = mac 0x10abb0; - TodoReturn generatePickupAnimRandVal(GameObject*, float&, float&); - TodoReturn increaseBatchNodeCapacity() = mac 0x1001c0; - TodoReturn triggerDynamicMoveCommand(EffectGameObject*); - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - TodoReturn updateSavePositionObjects(); - TodoReturn activateItemCompareTrigger(ItemTriggerGameObject*, gd::vector const&); - TodoReturn createPlayerCollisionBlock() = win 0x19B1C0; - TodoReturn generateEnterEasingBuffers(EnterEffectObject*); - TodoReturn loadGroupParentsFromString(GameObject*, gd::string); - TodoReturn prepareSavePositionObjects() = mac 0x103270; - TodoReturn processAreaFadeGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaMoveGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaTintGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - void processPlayerFollowActions(float) = win 0x1AE2F0; - TodoReturn processQueuedAudioTriggers() = win 0x1ba310, mac 0x145c90; - TodoReturn triggerAreaEffectAnimation(EnterEffectObject*); - TodoReturn clearActivatedAudioTriggers() = win 0x1c1380; - TodoReturn controlDynamicRotateCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn processAdvancedFollowAction(AdvancedFollowInstance&, bool, float); - void processDynamicObjectActions(int, float) = win 0x1AE630; - TodoReturn triggerDynamicRotateCommand(EnhancedTriggerObject*); - TodoReturn updatePlayerCollisionBlocks(); - void activateObjectControlTrigger(ObjectControlGameObject*); - TodoReturn activatePlayerControlTrigger(PlayerControlGameObject*); - TodoReturn controlAdvancedFollowCommand(AdvancedFollowTriggerObject*, int, GJActionCommand); - TodoReturn controlTriggersWithControlID(int, GJActionCommand); - TodoReturn processAdvancedFollowActions(float); - TodoReturn processAreaRotateGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn regenerateEnterEasingBuffers() = mac 0x1025b0; - TodoReturn triggerAdvancedFollowCommand(AdvancedFollowTriggerObject*); - TodoReturn updateProximityVolumeEffects(); - TodoReturn updateStaticCameraPosToGroup(int, bool, bool, bool, float, float, int, float, bool, float); - TodoReturn activatePersistentItemTrigger(ItemTriggerGameObject*); - TodoReturn checkCameraLimitAfterTeleport(PlayerObject*, float); - TodoReturn processActivatedAudioTriggers(float) = win 0x1c1750; - TodoReturn restoreDefaultGameplayOffsetX(); - TodoReturn restoreDefaultGameplayOffsetY(); - TodoReturn processAreaTransformGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn triggerAdvancedFollowEditCommand(AdvancedFollowEditObject*); - TodoReturn hasItem(int); - TodoReturn addPoints(int); - - virtual void update(float) = win 0x1B75E0, mac 0x13ec00; - virtual bool init() = win 0x18CC80, mac 0xfa710; - virtual void visit() = win 0x1c4a60; - virtual void postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual void updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn opacityForObject(GameObject*); - virtual TodoReturn addToSpeedObjects(EffectGameObject*); - virtual TodoReturn objectsCollided(int, int) = win 0x19ba50; - virtual TodoReturn updateColor(cocos2d::_ccColor3B&, float, int, bool, float, cocos2d::_ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x1a46f0; - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int); - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int); - virtual void spawnObject(GameObject*, double, gd::vector const&); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual void destroyPlayer(PlayerObject*, GameObject*); - virtual void addToSection(GameObject*) = win 0x1a76e0; - virtual void addToGroup(GameObject*, int, bool) = win 0x1a4c40; - virtual void removeFromGroup(GameObject*, int) = win 0x1a4d60; - virtual TodoReturn updateObjectSection(GameObject*) = win 0x1a8c20; - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) { return 0.f; } - virtual float posForTime(float) { return 0.f; } - virtual void resetSPTriggered() {} - virtual TodoReturn updateScreenRotation(float, bool, bool, float, int, float, int, int) = win 0x1b52e0; - virtual TodoReturn reverseDirection(EffectGameObject*) = win 0x19afc0; - virtual TodoReturn rotateGameplay(RotateGameplayGameObject*) = win 0x19b020; - virtual TodoReturn didRotateGameplay(); - virtual TodoReturn updateTimeWarp(float); - virtual TodoReturn updateTimeWarp(GameObject*, float); - virtual void applyTimeWarp(float) = win 0x1B5600; - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn createCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, bool); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*) = win 0x1c4610; - virtual TodoReturn flipArt(bool); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - - - PAD = win 0x8, android32 0x8, android64 0x8, mac 0x8; - GJGameState m_gameState; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - PAD = win 0x290, android32 0x28c, android64 0x510, mac 0x500; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - PAD = win 0x134, android32 0x134, android64 0x21c, mac 0x1fc; - cocos2d::CCLayer* m_objectLayer; - PAD = win 0x70, android32 0x70, android64 0xec, mac 0xb4; - std::array m_massiveFloatArray; - PAD = win 0x110, android32 0x114, android64 0x1ec, mac 0x1a4; - bool m_isPracticeMode; - bool m_practiceMusicSync; - float m_unk2a80; - cocos2d::CCNode* m_unk2a84; - int m_unk2a88; - float m_unk2a8c; - int m_unk2a90; - int m_unk2a94; - int m_unk2a98; - cocos2d::CCDictionary* m_unk2a9c; - float m_levelLength; - int m_unk2aa4; - EndPortalObject* m_endPortal; - bool m_isTestMode; - PAD = win 0xd2, android32 0xba, android64 0xf0, mac 0xc0; - gd::vector m_queuedButtons; - PAD = mac 0x128; - UILayer* m_uiLayer; - PAD = win 0x20a, android32 0x1ea, android64 0x340, mac 0x1f0; -} - -[[link(android)]] -class GameRateDelegate { - virtual void updateRate(); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class DialogDelegate { - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class CharacterColorDelegate { - virtual TodoReturn playerColorChanged(); - virtual void showUnlockPopup(int, UnlockType); -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int) = mac 0x3d12d0; - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int) = mac 0x3d13a0; - ~ListButtonBar(); - - TodoReturn getPage(); - - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - - void goToPage(int); -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate { - static DialogLayer* create(DialogObject*, int) = mac 0x3a5600, win 0x99d60; - - bool init(DialogObject*, cocos2d::CCArray*, int) = mac 0x3a5770, win 0x99e10; - ~DialogLayer(); - - TodoReturn onClose(); - - TodoReturn addToMainScene(); - TodoReturn animateInDialog(); - TodoReturn handleDialogTap(); - static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = mac 0x3a5610; - TodoReturn createWithObjects(cocos2d::CCArray*, int) = mac 0x3a5750; - TodoReturn displayNextObject() = mac 0x3a5c50; - TodoReturn animateInRandomSide() = mac 0x3a6830; - TodoReturn displayDialogObject(DialogObject*) = mac 0x3a5d00; - TodoReturn updateChatPlacement(DialogChatPlacement) = mac 0x3a6100; - TodoReturn updateNavButtonFrame(); - TodoReturn finishCurrentAnimation(); - TodoReturn animateIn(DialogAnimationType) = mac 0x3a6880, win 0x9a9d0; - - virtual void onEnter() = mac 0x3a6730; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3a65e0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3a6680; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3a6640; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3a66a0; - virtual void registerWithTouchDispatcher() = mac 0x3a66f0; - virtual void keyBackClicked() = mac 0x3a64b0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x3a6ad0; - virtual TodoReturn fadeInTextFinished(TextArea*) = mac 0x3a6740; -} - -class UIButtonConfig { - PAD = win 0x28, android32 0x28, android64 0x28; -} - -[[link(android), depends(UIButtonConfig)]] -class GameManager : GManager { - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState() = win 0x11f720, mac 0x354920; - - PlayLayer* getPlayLayer() { - return m_playLayer; - } - - LevelEditorLayer* getEditorLayer() { - return m_levelEditorLayer; - } - - GJBaseGameLayer* getGameLayer() { - return m_gameLayer; - } - - int getPlayerFrame() { - return m_playerFrame; - } - int getPlayerShip() { - return m_playerShip; - } - int getPlayerBall() { - return m_playerBall; - } - int getPlayerBird() { - return m_playerBird; - } - int getPlayerDart() { - return m_playerDart; - } - int getPlayerRobot() { - return m_playerRobot; - } - int getPlayerSpider() { - return m_playerSpider; - } - int getPlayerSwing() { - return m_playerSwing; - } - int getPlayerGlowColor() { - return m_playerGlowColor; - } - int getPlayerStreak() { - return m_playerStreak; - } - int getPlayerShipFire() { - return m_playerShipFire; - } - int getPlayerDeathEffect() { - return m_playerDeathEffect; - } - int getPlayerJetpack() { - return m_playerJetpack; - } - int getPlayerColor() { - return m_playerColor; - } - int getPlayerColor2() { - return m_playerColor2; - } - bool getPlayerGlow() { - return m_playerGlow; - } - void setPlayerFrame(int id) { - m_playerFrame = id; - } - void setPlayerShip(int id) { - m_playerShip = id; - } - void setPlayerBall(int id) { - m_playerBall = id; - } - void setPlayerBird(int id) { - m_playerBird = id; - } - void setPlayerDart(int id) { - m_playerDart = id; - } - void setPlayerRobot(int id) { - m_playerRobot = id; - } - void setPlayerSpider(int id) { - m_playerSpider = id; - } - void setPlayerSwing(int id) { - m_playerSwing = id; - } - void setPlayerGlowColor(int id) { - m_playerGlowColor = id; - } - void setPlayerStreak(int id) { - m_playerStreak = id; - } - void setPlayerShipFire(int id) { - m_playerShipFire = id; - } - void setPlayerDeathEffect(int id) { - m_playerDeathEffect = id; - } - void setPlayerJetpack(int id) { - m_playerJetpack = id; - } - void setPlayerColor(int id) { - m_playerColor = id; - } - void setPlayerColor2(int id) { - m_playerColor2 = id; - } - void setPlayerGlow(bool v) { - m_playerGlow = v; - } - bool getGameVariableDefault(const char* key, bool defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->boolValue(); - } - int getIntGameVariableDefault(const char* key, int defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->intValue(); - } - - ~GameManager(); - - TodoReturn addToGJLog(cocos2d::CCString*); - TodoReturn clearGJLog(); - TodoReturn joinReddit() = mac 0x35e270; - int keyForIcon(int iconIdx, int iconEnum) { - return m_keyStartForIcon->at(iconEnum) + iconIdx - 1; - } - void loadGround(int) = mac 0x360e10; - TodoReturn printGJLog(); - void reloadMenu() = win 0x12c510; - TodoReturn reorderKey(int, bool); - TodoReturn subYouTube() = mac 0x35e120; - TodoReturn tryCacheAd(); - void unloadIcon(int, int, int) = mac 0x35fde0; - void unlockIcon(int, IconType); - cocos2d::ccColor3B colorForIdx(int) = win 0x124270, mac 0x35d5b0; - TodoReturn colorForPos(int); - void doQuickSave() = win 0x12bf00; - TodoReturn fadeInMusic(gd::string) = mac 0x355220; - TodoReturn getFontFile(int); - TodoReturn getGTexture(int) = mac 0x3611f0; - TodoReturn joinDiscord() = mac 0x35e200; - TodoReturn saveAdTimer(); - TodoReturn startUpdate() = mac 0x354bc0; - void unloadIcons(int) = win 0x125a60; - void unlockColor(int, UnlockType) = mac 0x3560d0; - TodoReturn updateMusic(); - TodoReturn countForType(IconType) = mac 0x35e6a0; - TodoReturn followTwitch() = mac 0x35e190; - TodoReturn getBGTexture(int) = mac 0x361150; - TodoReturn getMGTexture(int); - /* unverified signature */ - bool isIconLoaded(int, int) = mac 0x35e8a0; - TodoReturn likeFacebook() = mac 0x35e040; - TodoReturn resetAdTimer(); - TodoReturn safePopScene() = mac 0x368b40; - TodoReturn followTwitter() = mac 0x35e0b0; - TodoReturn itemPurchased(char const*); - TodoReturn loadIconAsync(int, int, int, cocos2d::CCObject*); - TodoReturn playMenuMusic(); - TodoReturn resetAllIcons(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - TodoReturn checkUsedIcons() = mac 0x35c8f0; - TodoReturn getFontTexture(int); - TodoReturn getNextUsedKey(int, bool); - /* unverified signature */ - bool isIconUnlocked(int, IconType) = win 0x120170, mac 0x3559c0; - TodoReturn levelIsPremium(int, int); - void loadBackground(int) = mac 0x360930; - TodoReturn loadDPadLayout(int, bool); - TodoReturn playSFXTrigger(SFXTriggerGameObject*) = win 0x11fd20; - void reloadAllStep2() = win 0x12c620, mac 0x368d80; - void reloadAllStep3() = win 0x12c780, mac 0x368e90; - void reloadAllStep4() = win 0x12c820, mac 0x368f00; - void reloadAllStep5() = win 0x12c890, mac 0x368f60; - TodoReturn saveDPadLayout(int, bool); - TodoReturn shortenAdTimer(float); - void showMainMenuAd(); - TodoReturn addIconDelegate(cocos2d::CCObject*, int); - void fadeInMenuMusic() = win 0x11FBD0, mac 0x355150; - bool getGameVariable(char const*) = win 0x126920, mac 0x355010; - /* unverified signature */ - bool isColorUnlocked(int, UnlockType) = win 0x120670, mac 0x356020; - void loadDeathEffect(int) = mac 0x3607b0; - void loadGroundAsync(int); - void openEditorGuide() = mac 0x35e2e0; - void queueReloadMenu() = win 0x12c4c0, mac 0x368bb0; - /* unverified signature */ - void setGameVariable(char const*, bool) = win 0x1266D0, mac 0x361260; - TodoReturn unlockedPremium(); - void updateCustomFPS() = win 0x12cd40, mac 0x369260; - TodoReturn addGameAnimation(int, int, float, gd::string, gd::string, int); - TodoReturn didExitPlayscene() = mac 0x3683a0; - TodoReturn getIconRequestID() = mac 0x360540; - TodoReturn getMenuMusicFile(); - void loadMiddleground(int); - TodoReturn recountUserStats(gd::string); - TodoReturn resetAchievement(gd::string); - TodoReturn resetCoinUnlocks(); - void resolutionForKey(int) = win 0x12c8e0; - gd::string sheetNameForIcon(int, int) = mac 0x35ec30; - void showInterstitial(); - TodoReturn switchScreenMode(bool, bool); - TodoReturn unloadBackground(); - int activeIconForType(IconType) = mac 0x35e430; - TodoReturn iconAndTypeForKey(int, int&, int&); - TodoReturn loadVideoSettings() = mac 0x365ad0; - TodoReturn logLoadedIconInfo(); - TodoReturn resetDPadSettings(bool); - void returnToLastScene(GJGameLevel*) = win 0x12C1F0, mac 0x368830; - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn addNewCustomObject(gd::string); - TodoReturn claimItemsResponse(gd::string); - TodoReturn dpadConfigToString(UIButtonConfig&); - TodoReturn eventUnlockFeature(char const*); - TodoReturn framesForAnimation(int); - int getIntGameVariable(char const*) = mac 0x361960, win 0x126e70; - TodoReturn loadDpadFromString(UIButtonConfig&, gd::string); - TodoReturn removeCustomObject(int); - TodoReturn removeIconDelegate(int) = win 0x125560; - /* unverified signature */ - void setIntGameVariable(char const*, int); - TodoReturn toggleGameVariable(char const*) = mac 0x3614e0; - void loadBackgroundAsync(int); - TodoReturn prepareDPadSettings() = mac 0x365370; - TodoReturn rewardedVideoHidden(); - TodoReturn setupGameAnimations(); - TodoReturn switchCustomObjects(int, int); - TodoReturn tryShowInterstitial(int, int, int); - TodoReturn accountStatusChanged(); - TodoReturn canShowRewardedVideo(); - TodoReturn completedAchievement(gd::string) = mac 0x356be0; - TodoReturn defaultYOffsetForBG2(int); - TodoReturn generateSecretNumber(); - gd::string getPracticeMusicFile() = mac 0x354d60, win 0x11f990; - TodoReturn iconTypeToUnlockType(IconType) = mac 0x355a80; - TodoReturn unlockTypeToIconType(int) = mac 0x355c90; - TodoReturn addDuplicateLastFrame(int); - TodoReturn finishedLoadingGAsync(int); - TodoReturn frameTimeForAnimation(int); - void loadMiddlegroundAsync(int); - TodoReturn stringForCustomObject(int); - TodoReturn finishedLoadingBGAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync2(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync(int); - TodoReturn getNextUniqueObjectKey(); - TodoReturn shouldShowInterstitial(int, int, int); - void showInterstitialForced(); - TodoReturn addCustomAnimationFrame(int, int, gd::string, gd::string); - TodoReturn finishedLoadingMGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync2(cocos2d::CCObject*); - TodoReturn getUnlockForAchievement(gd::string, int&, UnlockType&) = mac 0x3561c0; - TodoReturn groundHasSecondaryColor(int); - TodoReturn reportAchievementWithID(char const*, int, bool) = mac 0x357900; - TodoReturn rewardedVideoAdFinished(int); - TodoReturn calculateBaseKeyForIcons(); - TodoReturn defaultFrameForAnimation(int); - TodoReturn finishedLoadingIconAsync(cocos2d::CCObject*); - TodoReturn reportPercentageForLevel(int, int, bool) = win 0x120f30, mac 0x356ec0; - TodoReturn syncPlatformAchievements(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn rewardedVideoHiddenDelayed(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground() = win 0x12bfb0, mac 0x368490; - bool getUGV(char const*) = mac 0x361700, win 0x126C10; - /* unverified signature */ - void setUGV(char const*, bool) = win 0x126ac0, mac 0x3615a0; - TodoReturn iconKey(int, IconType); - TodoReturn colorKey(int, UnlockType); - TodoReturn loadFont(int); - cocos2d::CCTexture2D* loadIcon(int, int, int) = win 0x125630, mac 0x35f7a0; - TodoReturn lockIcon(int, IconType); - TodoReturn rateGame(); - TodoReturn lockColor(int, UnlockType); - void reloadAll(bool switchingModes, bool toFullscreen, bool unused) = win 0x12c590, mac 0x368ce0; - - virtual void update(float) = mac 0x368430; - virtual bool init() = win 0x11EA00, mac 0x354980; - virtual void encodeDataTo(DS_Dictionary*) = mac 0x367900; - virtual void dataLoaded(DS_Dictionary*) = mac 0x365be0; - virtual void firstLoad() = mac 0x367010; - - cocos2d::CCDictionary* m_unkAnimationDict; - cocos2d::CCDictionary* m_unkAnimationDict2; - cocos2d::CCDictionary* m_frameTimeForAnimation; - cocos2d::CCDictionary* m_framesForAnimation; - cocos2d::CCDictionary* m_defaultFrames; - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - bool m_vsyncEnabled; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - bool m_unkBool3; - int m_unkSize4_1; - double m_unkDouble2; - int m_unkSize4_2; - int m_unkSize4_3; - bool m_loaded; - bool m_googlePlaySignedIn; - gd::string m_unknownString; - int m_unkSize4_4; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - GJBaseGameLayer* m_gameLayer; - void* m_unkPtr; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - geode::SeedValueRSV m_playerUserID; - float m_bgVolume; - float m_sfxVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_clickedTwitch; - bool m_clickedDiscord_; - bool m_clickedReddit; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - bool m_searchObjectBool; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerSwing; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerGlowColor; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerShipFire; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueRSV m_playerJetpack; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - int m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_unkBool4; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - void* m_unkPtr2; - void* m_unkPtr3; - int m_unkSize4_5; - int m_unkSize4_6; - int m_unkSize4_7; - int m_unkSize4_8; - int m_loadedBgID; - int m_loadedGroundID; - int m_loadedMG; - int m_loadedFont; - int m_loadedDeathEffect; - bool m_loadingBG; - bool m_loadingG; - bool m_loadingG1; - bool m_finishedLoadingG1; - bool m_shouldLoadG1; - bool m_finishedLoadingMG1; - bool m_finishedLoadingMG2; - bool m_unkBool5; - int m_unkSize4_9; - int m_unkSize4_10; - int m_unkSize4_11; - int m_bootups; - bool m_hasRatedGame; - bool m_unkBool6; - bool m_shouldLoadUnlockValueKeeper; - bool m_unkBool7; - bool m_unkBool8; - geode::SeedValueRSV m_hasRP; - bool m_canGetLevelSaveData; - int m_resolution; - int m_texQuality; - bool m_somethingInMenuLayer; - void* m_unkPtr4; - bool m_unkBool9; - int m_unkSize4_12; - int m_unkSize4_13; - bool m_unkBool10; - int m_unkSize4_14; - bool m_disableThumbstick; - float m_customFPSTarget; - bool m_unkBool11; - int m_customMenuSongID; - int m_customPracticeSongID; - gd::map m_loadIcon; - gd::map> m_loadIcon2; - gd::map m_isIconBeingLoaded; - std::array* m_keyStartForIcon; - void* m_somethingKeyForIcon; - void* m_idk; - gd::map> m_iconDelegates; - int m_iconRequestID; - cocos2d::CCArray* m_unkArray; - void* m_someAdPointer; - int m_unkSize4_15; - int m_unkSize4_16; - int m_unkSize4_17; - UIButtonConfig m_dpad1; - UIButtonConfig m_dpad2; - UIButtonConfig m_dpad3; - UIButtonConfig m_dpad4; - UIButtonConfig m_dpad5; - gd::string m_dpadLayout1; - gd::string m_dpadLayout2; - gd::string m_dpadLayout3; - gd::string m_dpadLayoutDual1; - gd::string m_dpadLayoutDual2; - gd::string m_dpadLayoutDual3; - int m_unkSize4_18; - int m_unkSize4_19; - int m_unkSize4_20; - bool m_unkBool12; -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - inline GJDropDownLayer() { - m_endPosition = cocos2d::CCPointMake(0.f, 0.f); - m_startPosition = cocos2d::CCPointMake(0.f, 0.f); - m_buttonMenu = nullptr; - m_listLayer = nullptr; - m_mainLayer = nullptr; - m_hidden = false; - m_delegate = nullptr; - } - - static GJDropDownLayer* create(char const*); - static GJDropDownLayer* create(char const*, float) = mac 0x5acc30; - - // inlined on windows - bool init(char const* title) { - return GJDropDownLayer::init(title, 220.f); - } - bool init(const char* title, float height) = win 0x1d2340, mac 0x5acd70; - ~GJDropDownLayer() = mac 0x5ac980; - - virtual bool ccTouchBegan(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) { - return true; - } - virtual void ccTouchMoved(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - virtual void ccTouchEnded(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - virtual void ccTouchCancelled(cocos2d::CCTouch* pTouch, cocos2d::CCEvent* pEvent) {} - - // 2.2, untested - - virtual void draw() = mac 0x5ad550; - virtual void registerWithTouchDispatcher() = mac 0x5ad240; - virtual void keyBackClicked() = mac 0x5ad280; - virtual void customSetup() = mac 0x5ad1c0; - virtual TodoReturn enterLayer() = mac 0x5ad210; - virtual TodoReturn exitLayer(cocos2d::CCObject*) = mac 0x5ad2c0; - virtual void showLayer(bool) = win 0x1D27C0, mac 0x5ad300; - virtual TodoReturn hideLayer(bool) = mac 0x5ad3f0; - virtual TodoReturn layerVisible() = mac 0x5ad4f0; - virtual void layerHidden() = mac 0x5ad510; - virtual TodoReturn enterAnimFinished() = mac 0x5ad4e0; - virtual TodoReturn disableUI() = mac 0x5ad1d0; - virtual TodoReturn enableUI() = mac 0x5ad1f0; - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - bool m_controllerEnabled; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; - bool m_unknown; -} - -[[link(android)]] -class TextAreaDelegate { - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - ~GManager(); - - gd::string getSaveString(); - TodoReturn getCompressedSaveString(); - - TodoReturn tryLoadData(DS_Dictionary*, gd::string const&); - void loadFromString(gd::string&); - TodoReturn loadDataFromFile(gd::string const&) = mac 0x488350; - void loadFromCompressedString(gd::string&); - TodoReturn load(); - void save() { - saveGMTo(m_fileName); - } - TodoReturn saveData(DS_Dictionary*, gd::string) = mac 0x488290; - void saveGMTo(gd::string) = mac 0x4881c0, win 0x472f0; - inline GManager() {} - - virtual bool init() = mac 0x487ec0; - virtual void setup() = mac 0x487ee0, win 0x47030; - virtual void encodeDataTo(DS_Dictionary*) = mac 0x488340; - virtual void dataLoaded(DS_Dictionary*) = mac 0x488910; - virtual void firstLoad() = mac 0x488920; - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - //inlined on windows - auto level = GJGameLevel::create(); - level->dataLoaded(dict); - return level; - } - - static GJGameLevel* create(cocos2d::CCDictionary*, bool) = mac 0x503c90; - static GJGameLevel* create() = win 0x112540, mac 0x501aa0; - - ~GJGameLevel(); - - void dataLoaded(DS_Dictionary*) = mac 0x52a700, win 0x113B90; - char const* getCoinKey(int) = mac 0x51ad20, win 0x112D00; - TodoReturn getSongName() = mac 0x5291e0; - char const* getLengthKey(int, bool) = win 0x112BA0, mac 0x528db0; - inline bool isPlatformer() { - return m_levelLength == 5; - } - TodoReturn saveNewScore(int, int); - TodoReturn copyLevelInfo(GJGameLevel*); - TodoReturn unverifyCoins(); - void savePercentage(int, bool, int, int, bool) = win 0x112850, mac 0x528990; - TodoReturn getListSnapshot(); - TodoReturn levelWasAltered() = mac 0x5287c0; - bool areCoinsVerified() = win 0x115850; - gd::string getAudioFileName() = win 0x112f20, mac 0x5290d0; - TodoReturn getNormalPercent() = mac 0x5022b0; - /* unverified signature */ - void setNormalPercent(int); - TodoReturn lengthKeyToString(int) = mac 0x528df0; - TodoReturn levelWasSubmitted(); - TodoReturn storeNewLocalScore(int, int); - TodoReturn handleStatsConflict(GJGameLevel*); - TodoReturn parseSettingsString(gd::string); - TodoReturn scoreStringToVector(gd::string&, gd::vector&) = mac 0x529780; - TodoReturn scoreVectorToString(gd::vector&, int); - int getAverageDifficulty() = mac 0x528e90, win 0x112c60; - TodoReturn demonIconForDifficulty(DemonDifficultyType) = mac 0x52c310; - TodoReturn generateSettingsString(); - TodoReturn getLastBuildPageForTab(int); - /* unverified signature */ - void setLastBuildPageForTab(int, int); - gd::string getUnpackedLevelDescription() = mac 0x52c280, win 0x115960; - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x52b6f0, win 0x114BF0; - virtual bool canEncode() = mac 0x52c210; - virtual bool init() = win 0x1125e0, mac 0x5285a0; - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - gd::string m_unkString1; - gd::string m_unkString2; - - cocos2d::CCPoint m_unkPoint; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - bool m_friendsOnly; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - bool m_selected; - bool m_localOrSaved; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - int m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - bool m_unlimitedObjectsEnabled; - gd::string m_personalBests; - int m_timestamp; - int m_unkInt; - gd::string m_songIDs; - gd::string m_sfxIDs; - int m_54; - int m_bestTime; - int m_bestPoints; - int m_k111; - gd::string m_unkString3; - gd::string m_unkString4; -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - static DialogObject* create(gd::string, gd::string, int, float, bool, cocos2d::_ccColor3B) = mac 0x3a50f0, win 0x99a90; - - bool init(gd::string, gd::string, int, float, bool, cocos2d::_ccColor3B) = win 0x99bd0; - ~DialogObject(); -} - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - static AchievementNotifier* sharedState() = mac 0x77f4c0; - - ~AchievementNotifier(); - - TodoReturn notifyAchievement(char const*, char const*, char const*, bool); - void willSwitchToScene(cocos2d::CCScene*) = win 0x1c200, mac 0x77f730; - void showNextAchievement(); - TodoReturn achievementDisplayFinished(); - - virtual bool init() = mac 0x77f550; -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - static GJListLayer* create(BoomListView*, char const*, cocos2d::_ccColor4B, float, float, int) = win 0x1f4000, mac 0x597b70; - - bool init(BoomListView*, char const*, cocos2d::_ccColor4B, float, float, int) = win 0x1f40f0, mac 0x597c80; - ~GJListLayer(); - - // 2.2 not tested - BoomListView* m_listView; -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - static LoadingCircle* create() = win 0x48140, mac 0x49a640; - - ~LoadingCircle(); - - void fadeAndRemove() = win 0x483E0, mac 0x49a970; - void show() = win 0x48300, mac 0x49a880; - - void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - void setFade(bool fade) { - m_fade = fade; - } - - virtual bool init() = win 0x48240, mac 0x49a7b0; - virtual void draw() = mac 0x49aa00; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x49ac80; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x49ac90; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x49aca0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x49acb0; - virtual void registerWithTouchDispatcher() = mac 0x49aa20; - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - - ~AppDelegate(); - - /* unverified signature */ - void setIdleTimerDisabled(bool); - - TodoReturn checkSound(); - TodoReturn pauseSound(); - TodoReturn resumeSound() = win 0x5b2e0; - TodoReturn hideLoadingCircle(); - void loadingIsFinished() = mac 0x61f6f0; - void showLoadingCircle(bool, bool, bool); - TodoReturn bgScale() = mac 0x61f6c0; - TodoReturn musicTest() = win 0x5b330; - TodoReturn pauseGame(); - - virtual void setupGLView(); - virtual void platformShutdown(); - - virtual bool applicationDidFinishLaunching() = win 0x5af40, mac 0x61f560; - virtual void applicationDidEnterBackground() = win 0x5b110, mac 0x61f800; - virtual void applicationWillEnterForeground() = win 0x5b150, mac 0x61f940; - virtual void applicationWillBecomeActive() = win 0x5b0f0, mac 0x61f700; - virtual void applicationWillResignActive() = win 0x5b200, mac 0x61f720; - virtual void trySaveGame(bool) = win 0x5b3b0, mac 0x61fbd0; - virtual void willSwitchToScene(cocos2d::CCScene*) = win 0x5b550, mac 0x61fcb0; //there is also a thunk at 0x61fcd0 which is identical, keep the one at 0x61fcb0 here - - PAD = win 0xC, android32 0xC, android64 0x18, mac 0x18; - cocos2d::CCScene* m_runningScene; -} - -[[link(android)]] -class PlatformToolbox { - static TodoReturn getRawPath(char const*); - static TodoReturn hideCursor(); - static void showCursor() = mac 0x49f030; - static void gameDidSave() = mac 0x49fd80; - static TodoReturn openAppPage(); - static TodoReturn onGameLaunch(); - static TodoReturn resizeWindow(float, float); - static TodoReturn doesFileExist(gd::string); - static TodoReturn onNativePause(); - static TodoReturn refreshWindow(); - static TodoReturn getDisplaySize(); - static TodoReturn onNativeResume() = mac 0x49ef00; - static TodoReturn copyToClipboard(gd::string); - static TodoReturn getUniqueUserID(); - static TodoReturn toggleSmoothFix(bool); - static TodoReturn onToggleKeyboard() = mac 0x49ef10; - static void platformShutdown(); - /* unverified signature */ - static void setKeyboardState(bool); - static void showAchievements(); - static TodoReturn signInGooglePlay(); - static TodoReturn toggleForceTimer(bool); - static TodoReturn toggleFullScreen(bool); - static TodoReturn toggleLockCursor(bool) = mac 0x49fe30; - /* unverified signature */ - static bool isLowMemoryDevice(); - static TodoReturn shouldResumeSound(); - static TodoReturn signOutGooglePlay(); - static TodoReturn tryShowRateDialog(gd::string); - static TodoReturn activateGameCenter(); - /* unverified signature */ - static bool isNetworkAvailable() = mac 0x49eec0; - /* unverified signature */ - void setBlockBackButton(bool); - static TodoReturn toggleCallGLFinish(bool); - static TodoReturn toggleCPUSleepMode(bool); - static TodoReturn toggleMouseControl(bool); - static TodoReturn toggleVerticalSync(bool); - static TodoReturn updateMouseControl(); - static TodoReturn updateWindowedSize(float, float); - static TodoReturn spriteFromSavedFile(gd::string); - static TodoReturn getDeviceRefreshRate(); - /* unverified signature */ - static bool isSignedInGooglePlay(); - static bool isControllerConnected() { - // TODO: mat - return false; - } - static TodoReturn reportLoadingFinished(); - static TodoReturn reportAchievementWithID(char const*, int); - static TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - /* unverified signature */ - static bool isLocalPlayerAuthenticated(); - static TodoReturn loadAndDecryptFileToString(char const*, char const*); - static TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - /* unverified signature */ - static bool isHD(); - static TodoReturn logEvent(char const*); - static TodoReturn sendMail(char const*, char const*, char const*); - static TodoReturn getUserID(); -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual void loadCommentsFailed(char const*); - virtual void updateUserScoreFinished(); - virtual void setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class CommentUploadDelegate { - virtual void commentUploadFinished(int); - virtual void commentUploadFailed(int, CommentError); - virtual void commentDeleteFailed(int, int); -} - -[[link(android)]] -class UserInfoDelegate { - virtual void getUserInfoFinished(GJUserScore*); - virtual void getUserInfoFailed(int); - virtual void userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UploadActionDelegate { - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); -} - -[[link(android)]] -class UploadPopupDelegate { - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*); - virtual void levelDownloadFailed(int); -} - -[[link(android)]] -class LevelUploadDelegate { - virtual void levelUploadFinished(GJGameLevel*); - virtual void levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class ListUploadDelegate { - virtual TodoReturn listUploadFinished(GJLevelList*) {} - virtual TodoReturn listUploadFailed(GJLevelList*, int) {} -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual void levelUpdateFailed(int); -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed(); -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int); - virtual void levelDeleteFailed(int); -} - -[[link(android)]] -class LevelListDeleteDelegate { - virtual void levelListDeleteFinished(int) {} - virtual void levelListDeleteFailed(int) {} -} - -[[link(android)]] -class NumberInputDelegate { - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int); -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, char const*) {} - virtual void loadListFailed(char const*) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class NumberInputLayer : FLAlertLayer { - static NumberInputLayer* create() = mac 0x46e490; - - ~NumberInputLayer(); - - void onDone(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - - TodoReturn deleteLast(); - TodoReturn inputNumber(int); - TodoReturn updateNumberState(); - - virtual bool init() = mac 0x46e5f0, win 0x285e60; - virtual void registerWithTouchDispatcher() = mac 0x46efc0; - virtual void keyBackClicked() = mac 0x46ef50; -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - static SetIDPopup* create(int, int, int, gd::string, gd::string, bool, int, float, bool, bool) = mac 0x2874a0; - - bool init(int, int, int, gd::string, gd::string, bool, int, float, bool, bool) = mac 0x2876f0; - ~SetIDPopup(); - - void onResetValue(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCancel(cocos2d::CCObject* sender); - - TodoReturn updateTextInputLabel() = mac 0x288130; - - virtual void keyBackClicked() = mac 0x288440; - virtual void show() = mac 0x2883c0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x288260; - virtual void textChanged(CCTextInputNode*) = mac 0x2882a0; - virtual TodoReturn valueChanged() = mac 0x2883b0; - - CCTextInputNode* m_inputNode; - int m_value; - bool m_unkBool; - bool m_cancelled; - int m_minimum; - int m_maximum; - int m_default; - SetIDPopupDelegate* m_delegate; -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - static UploadActionPopup* create(UploadPopupDelegate*, gd::string) = mac 0x280050; - - bool init(UploadPopupDelegate*, gd::string) = win 0x206290; - ~UploadActionPopup(); - - void onClose(cocos2d::CCObject* sender); - - TodoReturn closePopup() = mac 0x280910; - void showFailMessage(gd::string) = mac 0x2807d0; - void showSuccessMessage(gd::string) = mac 0x280680; - - virtual void keyBackClicked() = mac 0x280940; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished(); - virtual void updateUserScoreFailed(); - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual void loadLeaderboardFailed(char const*); -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - static GJUserScore* create(cocos2d::CCDictionary*) = mac 0x5077a0, win 0x1168C0; - static GJUserScore* create() = mac 0x52cbd0, win 0x117860; - - ~GJUserScore(); - - /* unverified signature */ - bool isCurrentUser() = win 0x117960, mac 0x52cda0; - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init() = mac 0x52cd10; - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_moons; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_color3; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerSwing; - int m_playerJetpack; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - int m_newFriendCount; - bool m_newFriendRequest; -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - static ProfilePage* create(int, bool) = win 0x2E7270, mac 0x778c80; - - bool init(int, bool) = win 0x2E7320, mac 0x778e90; - ~ProfilePage(); - - void onMessages(cocos2d::CCObject* sender) = mac 0x77d2e0; - void onMyLevels(cocos2d::CCObject* sender) = mac 0x77cf40, win 0x2E9F20; - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRequests(cocos2d::CCObject* sender) = mac 0x77d400; - void onSettings(cocos2d::CCObject* sender) = mac 0x77d490; - void onBlockUser(cocos2d::CCObject* sender) = mac 0x77cc20; - void onSendMessage(cocos2d::CCObject* sender) = mac 0x77c770; - void onCommentHistory(cocos2d::CCObject* sender) = mac 0x77c730; - void onClose(cocos2d::CCObject* sender) = mac 0x779940, win 0x2eae90; - void onFollow(cocos2d::CCObject* sender) = mac 0x779bc0; - void onFriend(cocos2d::CCObject* sender) = mac 0x77c880; - void onTwitch(cocos2d::CCObject* sender) = mac 0x77c5f0; - void onUpdate(cocos2d::CCObject* sender) = mac 0x779e30, win 0x2e7db0; - void onComment(cocos2d::CCObject* sender) = mac 0x77d4b0; - void onFriends(cocos2d::CCObject* sender) = mac 0x77d370; - void onMyLists(cocos2d::CCObject* sender) = mac 0x77d110; - void onTwitter(cocos2d::CCObject* sender) = mac 0x77c490; - void onYouTube(cocos2d::CCObject* sender) = mac 0x77c340; - - /* unverified signature */ - bool isOnWatchlist(int); - TodoReturn setupComments() = mac 0x7799c0; - TodoReturn updatePageArrows(); - TodoReturn updateLevelsLabel(); - void showNoAccountError(); - void loadPageFromUserInfo(GJUserScore*) = mac 0x77a170, win 0x2e8040; - void setupCommentsBrowser(cocos2d::CCArray*) = win 0x2EB980, mac 0x77a030; - TodoReturn toggleMainPageVisibility(bool); - void loadPage(int) = mac 0x77e370; - void blockUser() = mac 0x77d730; - /* unverified signature */ - bool isCorrect(char const*) = mac 0x77e7a0; - - virtual void registerWithTouchDispatcher() = mac 0x77f1b0; - virtual void keyBackClicked() = win 0x2EAEF0, mac 0x77dd50; - virtual void show() = win 0x2EB010, mac 0x77dfd0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x77d810; - virtual void updateUserScoreFinished() = mac 0x77de60; - virtual void updateUserScoreFailed() = mac 0x77df30; - virtual void getUserInfoFinished(GJUserScore*) = win 0x2EB5D0, mac 0x77e2c0; - virtual void getUserInfoFailed(int) = win 0x2EB660, mac 0x77e5f0; - virtual void userInfoChanged(GJUserScore*) = win 0x2EB6B0, mac 0x77e6b0; - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) = win 0x2EBAB0, mac 0x77e8d0; - virtual void loadCommentsFailed(char const*) = win 0x2EBB10, mac 0x77e9c0; - virtual void setupPageInfo(gd::string, char const*) = win 0x2EBB70, mac 0x77ea90; - virtual void commentUploadFinished(int) = mac 0x77eec0; - virtual void commentUploadFailed(int, CommentError) = mac 0x77ef50; - virtual void commentDeleteFailed(int, int) = mac 0x77f020; - virtual void onClosePopup(UploadActionPopup*) = mac 0x77d9f0; - virtual void uploadActionFinished(int, int) = mac 0x77da70; - virtual void uploadActionFailed(int, int) = mac 0x77dc30; - - GJUserScore* m_score; - int m_accountID; - bool m_ownProfile; - gd::string m_profileKey; - cocos2d::CCLabelBMFont* m_somethingWentWrong; - cocos2d::CCLabelBMFont* m_usernameLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_followBtn; - void* m_unk; - cocos2d::CCArray* m_buttons; - cocos2d::CCArray* m_arrayWithUsernameLabel; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - LoadingCircle* m_circle; - void* m_popupDelegate; - CCMenuItemSpriteExtra* m_refreshBtn; -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*) = win 0x4c680; - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - ~SliderThumb(); - - // inlined on windows - float getValue() { - return (this->getScaleX() * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (this->getScaleX() * m_length); - } - - /* unverified signature */ - void setRotated(bool); - /* unverified signature */ - void setMaxOffset(float); - void setValue(float) = win 0x4c950, mac 0x2e0390; - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - static ColorChannelSprite* create() = win 0x1d41d0, mac 0x2b1e60; - - ~ColorChannelSprite(); - - TodoReturn updateValues(ColorAction*) = mac 0x2b2340; - void updateOpacity(float) = win 0x1d4450, mac 0x2b20e0; - TodoReturn updateBlending(bool) = mac 0x2b2230; - TodoReturn updateCopyLabel(int, bool) = mac 0x2b1f20; - - virtual bool init() = mac 0x2b1f00; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual void dropDownLayerWillClose(GJDropDownLayer*) {} -} - -[[link(android)]] -class StatsCell : TableViewCell { - StatsCell(char const*, float, float); - ~StatsCell(); - - TodoReturn getTitleFromKey(char const*); - - TodoReturn updateBGColor(int) = win 0x7D0A0; - void loadFromObject(StatsObject*) = mac 0x225a30, win 0x81BD0; - - virtual bool init() = mac 0x231150; - virtual void draw() = win 0x7d0f0, mac 0x231bf0; //correct one is 0x231bf0, there is also 0x234ca0 which is identical but its actually from GJUserCell -} - -[[link(android)]] -class StatsObject : cocos2d::CCObject { - static StatsObject* create(char const*, int); - bool init(char const*, int); - ~StatsObject(); -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float) = mac 0x2e05b0; - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - ~SliderTouchLogic(); - - /* unverified signature */ - void setRotated(bool); - /* unverified signature */ - void setMaxOffset(float); - - // 2.2, not tested - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e0a60; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e0c90; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2e0bd0; - virtual void registerWithTouchDispatcher() = mac 0x2e0fa0; - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class GameToolbox { - static TodoReturn bounceTime(float); - static TodoReturn easeToText(int); - static TodoReturn fast_srand(unsigned long) = mac 0x4ccc30; - static TodoReturn gen_random(int); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*) = mac 0x4c9fa0; - static TodoReturn intToString(int) = win 0x45060, mac 0x4d2190; - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn strongColor(cocos2d::_ccColor3B) = mac 0x4cc700; - static TodoReturn colorToSepia(cocos2d::_ccColor3B, float); - /* unverified signature */ - static bool isRateEasing(int); - static void addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*) = mac 0x4cae40; - static TodoReturn fast_rand_0_1(); - static TodoReturn getEasedValue(float, int, float); - static TodoReturn getfast_srand(); - static gd::string getTimeString(int) = mac 0x4cc860; - static TodoReturn hsvFromString(gd::string const&, char const*); - static TodoReturn postClipVisit(); - static TodoReturn stringFromHSV(cocos2d::_ccHSVValue, char const*); - static TodoReturn getEasedAction(cocos2d::CCActionInterval*, int, float); - static TodoReturn msToTimeString(int, int); - static TodoReturn pointsToString(int) = mac 0x4d2c60; - static TodoReturn transformColor(cocos2d::_ccColor3B const&, float, float, float) = mac 0x4cb0a0; - static TodoReturn transformColor(cocos2d::_ccColor3B const&, cocos2d::_ccHSVValue) = mac 0x4cb0d0; - static TodoReturn createHashString(gd::string const&, int); - static TodoReturn doWeHaveInternet() = mac 0x4c9d70; - static TodoReturn getMultipliedHSV(cocos2d::_ccHSVValue const&, float); - static TodoReturn intToShortString(int) = mac 0x4d2490; - static TodoReturn saveStringToFile(gd::string const&, gd::string const&); - static TodoReturn stringSetupToMap(gd::string const&, char const*, gd::map&); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getInvertedEasing(int); - // static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn stringSetupToDict(gd::string const&, char const*); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int, cocos2d::CCArray*) = win 0x040d40, mac 0x4ca4a0; - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCArray*) = win 0x040c40, mac 0x4ca390; - static TodoReturn fast_rand_minus1_1(); - static TodoReturn particleFromString(gd::string const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleFromStruct(cocos2d::ParticleStruct const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn contentScaleClipRect(cocos2d::CCRect&); - static TodoReturn multipliedColorValue(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float) = win 0x41a40; - static TodoReturn preVisitWithClipRect(cocos2d::CCRect); - static TodoReturn saveParticleToString(cocos2d::CCParticleSystemQuad*); - static void addRThumbScrollButton(cocos2d::CCLayer*) = mac 0x4caf10; - static TodoReturn alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint, bool) = mac 0x4c9860; - static TodoReturn mergeDictsSkipConflict(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn particleStringToStruct(gd::string const&, cocos2d::ParticleStruct&); - static TodoReturn getLargestMergedIntDicts(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*) = mac 0x4ca980; - static void preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect) = win 0x40bc0; - static TodoReturn timestampToHumanReadable(long); - /* unverified signature */ - static bool isIOS(); - static TodoReturn fast_rand(); -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool) = mac 0x382bc0; - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*) = mac 0x3827d0; - - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*) = mac 0x382860; - ~BoomScrollLayer(); - - TodoReturn getTotalPages() = mac 0x383740; - TodoReturn getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getPage(int) = mac 0x383ae0; - - /* unverified signature */ - void setDotScale(float); - /* unverified signature */ - void setPagesIndicatorPosition(cocos2d::CCPoint) = mac 0x382d00; - - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn moveToPage(int); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn selectPage(int); - TodoReturn updateDots(float) = mac 0x383770; - TodoReturn quickUpdate(); - TodoReturn updatePages() = mac 0x382d30; - TodoReturn moveToPageEnded() = mac 0x384070; - TodoReturn instantMoveToPage(int) = mac 0x384200; - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn removePageWithNumber(int); - TodoReturn togglePageIndicators(bool) = mac 0x383fa0; - TodoReturn pageNumberForPosition(cocos2d::CCPoint); - TodoReturn repositionPagesLooped() = mac 0x382e50; - TodoReturn setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*) = mac 0x3834f0; - TodoReturn positionForPageWithNumber(int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn addPage(cocos2d::CCLayer*, int); - - virtual void visit() = mac 0x384010; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x384b40; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x384c30; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x384f50; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x384980; - virtual void registerWithTouchDispatcher() = mac 0x3847f0; -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate, TableViewCellDelegate { - static LevelInfoLayer* create(GJGameLevel*, bool) = win 0x24CCD0, mac 0x297220; - - bool init(GJGameLevel* level, bool challenge) = win 0x24CD80, mac 0x2973f0; - ~LevelInfoLayer(); - - void onFavorite(cocos2d::CCObject* sender)= win 0x24EFC0, mac 0x29c320; - void onFeatured(cocos2d::CCObject* sender); - void onAddToList(cocos2d::CCObject* sender) = win 0x24EDA0, mac 0x29c620; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x2521E0, mac 0x29c030; - void onRateDemon(cocos2d::CCObject* sender) = win 0x251E00, mac 0x29ba30; - void onRateStars(cocos2d::CCObject* sender) = mac 0x29b8d0, win 0x251CD0; - void onSetFolder(cocos2d::CCObject* sender) = win 0x24EEE0, mac 0x29c580; - void onPlayReplay(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender) = win 0x251B50; - void onViewProfile(cocos2d::CCObject* sender) = win 0x252180, mac 0x299740; - void onRateStarsMod(cocos2d::CCObject* sender) = mac 0x29bc30, win 0x251DB0; - void onLowDetailMode(cocos2d::CCObject* sender) = win 0x252150; - void onLevelLeaderboard(cocos2d::CCObject* sender) = mac 0x29b7e0, win 0x24F030; - void onBack(cocos2d::CCObject* sender) = mac 0x29bfb0, win 0x2533E0; - void onInfo(cocos2d::CCObject* sender) = mac 0x29b7b0, win 0x2516C0; - void onLike(cocos2d::CCObject* sender) = mac 0x29b850, win 0x251E40; - void onPlay(cocos2d::CCObject* sender) = win 0x250DA0, mac 0x2997c0; - void onRate(cocos2d::CCObject* sender) = win 0x251CD0; - void onClone(cocos2d::CCObject* sender) = win 0x2516F0; - void onDelete(cocos2d::CCObject* sender) = win 0x251AA0; - void onGarage(cocos2d::CCObject* sender) = mac 0x29c2c0, win 0x24F090; - void onUpdate(cocos2d::CCObject* sender) = mac 0x29b6e0, win 0x252090; - - void confirmClone(cocos2d::CCObject*) = mac 0x29bd60, win 0x2518D0; - TodoReturn confirmDelete(cocos2d::CCObject*) = mac 0x29b5f0; - void downloadLevel() = mac 0x299f40, win 0x1b950; - TodoReturn loadLevelStep() = mac 0x29deb0; - void tryCloneLevel(cocos2d::CCObject*) = mac 0x29be90, win 0x2516f0; - TodoReturn incrementLikes(); - void setupLevelInfo() = mac 0x29a030; - void showSongWarning() = mac 0x29dc90; - void showUpdateAlert(UpdateResponse) = mac 0x29d7f0; - TodoReturn confirmMoveToTop(cocos2d::CCObject*) = mac 0x29c3a0; - TodoReturn incrementDislikes(); - void setupProgressBars() = mac 0x29aec0; - void updateLabelValues() = mac 0x29c920, win 0x252490; - TodoReturn updateSideButtons() = mac 0x29ba90; - TodoReturn confirmOwnerDelete(cocos2d::CCObject*) = mac 0x29bc80; - TodoReturn confirmMoveToBottom(cocos2d::CCObject*) = mac 0x29c480; - TodoReturn shouldDownloadLevel(); - void setupPlatformerStats() = mac 0x29ab80; - TodoReturn scene(GJGameLevel*, bool); - TodoReturn playStep2() = mac 0x29dd60; - TodoReturn playStep3() = mac 0x29de20; - TodoReturn playStep4() = mac 0x29df60; - TodoReturn tryShowAd(); - - virtual void keyBackClicked() = mac 0x29e8f0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x29e920; - virtual TodoReturn numberInputClosed(NumberInputLayer*) = mac 0x29e130; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x29c680; - virtual void levelDownloadFinished(GJGameLevel*) = win 0x250750, mac 0x29d300; - virtual void levelDownloadFailed(int) = win 0x250750, mac 0x29d690; - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) = mac 0x29d780; - virtual void levelUpdateFailed(int) = mac 0x29d970; - virtual void levelDeleteFinished(int) = mac 0x29da70; - virtual void levelDeleteFailed(int) = mac 0x29db80; - virtual void rateLevelClosed() = mac 0x29e5e0; - virtual void likedItem(LikeItemType, int, bool) = mac 0x29e610; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x29e720; - virtual void setIDPopupClosed(SetIDPopup*, int) = mac 0x29c7b0; - - void* m_unk0; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_coins; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - CCMenuItemToggler* m_ldmToggler; - cocos2d::CCLabelBMFont* m_ldmLabel; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; - cocos2d::CCSprite* m_likesIcon; - cocos2d::CCSprite* m_orbsIcon; - int m_unk6; // always 3, maybe level type? - int m_unk7; - LoadingCircle* m_circle; - GJDifficultySprite* m_difficultySprite; - cocos2d::CCSprite* m_starsIcon; - cocos2d::CCLabelBMFont* m_starsLabel; - cocos2d::CCArray* m_icons; - PAD = win 0x10, android32 0x10, android64 0x10, mac 0x10; - bool m_challenge; - PAD = win 0x4, android32 0x4, android64 0x8, mac 0x8; - cocos2d::CCSprite* m_playSprite; - void* m_unk11; - CustomSongWidget* m_songWidget; -} - -[[link(android)]] -class GJSpriteColor { - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - - TodoReturn getColorMode(); -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - CCSpritePlus(); - ~CCSpritePlus(); - - TodoReturn getFollower(); - - TodoReturn stopFollow(); - TodoReturn addFollower(cocos2d::CCNode*) = mac 0x45e810; - TodoReturn followSprite(CCSpritePlus*); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setScaleX(float) = win 0x28C10, mac 0x45e690; - virtual void setScaleY(float) = win 0x28C90, mac 0x45e710; - virtual void setScale(float) = win 0x28D10, mac 0x45e790; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x288F0, mac 0x45e2f0; - virtual void setRotation(float) = mac 0x45e370; - virtual void setRotationX(float) = mac 0x45e3f0; - virtual void setRotationY(float) = mac 0x45e470; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = mac 0x45e2d0; - virtual bool initWithSpriteFrameName(char const*) = mac 0x45e2b0; - virtual void setFlipX(bool) = mac 0x45e4f0; - virtual void setFlipY(bool) = mac 0x45e5c0; - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - bool init(char const*) = mac 0x569ef0; - GameObject() = mac 0x1d3710; - ~GameObject(); - - TodoReturn getGroupID(int); - TodoReturn getColorKey(bool, bool) = win 0x13be40; - TodoReturn getBallFrame(int); - TodoReturn getBoxOffset(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getMainColor(); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorIndex(); - TodoReturn getParentMode(); - TodoReturn getSlopeAngle(); - TodoReturn getGroupString(); - TodoReturn getBoundingRect(); - TodoReturn getCustomZLayer(); - TodoReturn getLastPosition() = mac 0x590f00; - TodoReturn getObjectRadius(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - bool getGroupDisabled() = mac 0x586250; - TodoReturn getMainColorMode(); - TodoReturn getScalePosDelta(); - TodoReturn getSecondaryColor(); - TodoReturn getObjectDirection(); - TodoReturn getOuterObjectRect(); - TodoReturn getObjectRectPointer(); - TodoReturn getActiveColorForMode(int, bool) = win 0x140ba0; - TodoReturn getSecondaryColorMode(); - TodoReturn getUnmodifiedPosition(); - TodoReturn getRelativeSpriteColor(int); - TodoReturn getStartPos() = mac 0x1d2af0; - - /* unverified signature */ - void setAreaOpacity(float, float, int); - /* unverified signature */ - void setGlowOpacity(unsigned char); - /* unverified signature */ - void setCustomZLayer(int); - /* unverified signature */ - void setLastPosition(cocos2d::CCPoint const&); - /* unverified signature */ - void setMainColorMode(int); - /* unverified signature */ - void setSecondaryColorMode(int); - /* unverified signature */ - void setDefaultMainColorMode(int); - /* unverified signature */ - void setDefaultSecondaryColorMode(int); - - TodoReturn copyGroups(GameObject*); - TodoReturn createGlow(gd::string); - TodoReturn groupColor(cocos2d::_ccColor3B const&, bool); - TodoReturn ignoreFade(); - TodoReturn removeGlow() = mac 0x56c6f0; - TodoReturn addRotation(float); - TodoReturn addRotation(float, float); - TodoReturn commonSetup() = win 0x12f1a0, mac 0x569f20; - TodoReturn ignoreEnter(); - TodoReturn resetGroups(); - TodoReturn shouldLockX(); - TodoReturn addEmptyGlow(); - TodoReturn colorForMode(int, bool) = win 0x1408c0; - /* unverified signature */ - bool isFacingDown() = win 0x13fff0; - /* unverified signature */ - bool isFacingLeft(); - TodoReturn addNewSlope01(bool); - TodoReturn addNewSlope02(bool); - TodoReturn canRotateFree(); - TodoReturn createWithKey(int) = win 0x12e410, mac 0x565320; - TodoReturn destroyObject(); - TodoReturn disableObject(); - /* unverified signature */ - bool isColorObject(); - /* unverified signature */ - bool isSpeedObject() = win 0x1417e0; - TodoReturn makeInvisible(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - - TodoReturn addColorSprite(gd::string); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint, int); - TodoReturn assignUniqueID(); - TodoReturn belongsToGroup(int); - void deselectObject() = mac 0x58f330; - /* unverified signature */ - bool isBasicTrigger(); - /* unverified signature */ - bool isColorTrigger(); - TodoReturn updateHSVState(); - TodoReturn updateStartPos() = mac 0x571590; - TodoReturn addToColorGroup(int); - TodoReturn addToTempOffset(double, double); - static GameObject* createWithFrame(char const*) = win 0x12f0a0, mac 0x569e80; - TodoReturn didScaleXChange(); - TodoReturn didScaleYChange(); - TodoReturn duplicateValues(GameObject*); - TodoReturn groupOpacityMod() = win 0x13bc10; - TodoReturn groupWasEnabled(); - /* unverified signature */ - bool isSpecialObject(); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn playShineEffect(); - TodoReturn resetMoveOffset(); - TodoReturn setupPixelScale(); - TodoReturn setupSpriteSize(); - TodoReturn updateBlendMode() = win 0x13add0; - TodoReturn updateMainColor(); - TodoReturn addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint, int); - TodoReturn dirtifyObjectPos(); - TodoReturn fastRotateObject(float); - TodoReturn groupWasDisabled(); - /* unverified signature */ - bool isSettingsObject(); - TodoReturn objectFromVector(gd::vector&, gd::vector&, GJBaseGameLayer*, bool) = win 0x13c2d0; - TodoReturn perspectiveFrame(char const*, int); - TodoReturn resetColorGroups(); - TodoReturn setupColorSprite(int, bool); - TodoReturn shouldBlendColor(GJSpriteColor*, bool) = win 0x131950; - void updateIsOriented() = win 0x13fe50; - TodoReturn addNewSlope01Glow(bool); - TodoReturn addNewSlope02Glow(bool); - TodoReturn addToCustomScaleX(float); - TodoReturn addToCustomScaleY(float); - TodoReturn addToOpacityGroup(int); - TodoReturn createSpriteColor(int); - TodoReturn dirtifyObjectRect(); - TodoReturn hasSecondaryColor(); - TodoReturn opacityModForMode(int, bool); - TodoReturn removeColorSprite(); - TodoReturn resetRScaleForced(); - TodoReturn updateMainOpacity(); - TodoReturn canChangeMainColor(); - TodoReturn duplicateColorMode(GameObject*); - TodoReturn editorColorForMode(int); - /* unverified signature */ - bool isBasicEnterEffect(int); - /* unverified signature */ - bool isSpawnableTrigger(); - /* unverified signature */ - bool isStoppableTrigger(); - TodoReturn reorderColorSprite(); - TodoReturn resetGroupDisabled(); - TodoReturn resetMainColorMode(); - - void updateCustomScaleX(float); - void updateCustomScaleY(float); - TodoReturn addCustomBlackChild(gd::string, float, bool); - TodoReturn addCustomColorChild(gd::string); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float, float, float, float, float, bool, float, float); - TodoReturn quickUpdatePosition(); - TodoReturn updateMainColorOnly(); - TodoReturn usesFreezeAnimation(); - GameObject* addColorSpriteToSelf() = mac 0x585840; - TodoReturn addInternalGlowChild(gd::string, cocos2d::CCPoint); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x139650, mac 0x57ce00; - void createGroupContainer(int); - TodoReturn ignoreEditorDuration(); - /* unverified signature */ - bool isConfigurablePortal(); - TodoReturn loadGroupsFromString(gd::string); - TodoReturn quickUpdatePosition2(); - TodoReturn updateSecondaryColor(); - TodoReturn usesSpecialAnimation(); - TodoReturn dontCountTowardsLimit(); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn playDestroyObjectAnim(GJBaseGameLayer*); - TodoReturn updateCustomColorType(short); - GameObject* addColorSpriteToParent(bool) = mac 0x571da0; - TodoReturn commonInteractiveSetup(); - TodoReturn updateSecondaryOpacity(); - TodoReturn canChangeSecondaryColor(); - void determineSlopeDirection() = win 0x13b260; - TodoReturn resetSecondaryColorMode(); - TodoReturn shouldNotHideAnimFreeze(); - TodoReturn shouldShowPickupEffects(); - void updateObjectEditorColor() = mac 0x58f350; - TodoReturn editorColorForCustomMode(int); - /* unverified signature */ - bool isEditorSpawnableTrigger(); - TodoReturn updateSecondaryColorOnly(); - TodoReturn createColorGroupContainer(int); - TodoReturn updateUnmodifiedPositions(); - TodoReturn spawnDefaultPickupParticle(GJBaseGameLayer*); - TodoReturn addInternalCustomColorChild(gd::string, cocos2d::CCPoint, int); - TodoReturn createOpacityGroupContainer(int); - TodoReturn addGlow(gd::string); - TodoReturn resetMID(); - /* unverified signature */ - bool isTrigger(); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(GameObject*); - - virtual void update(float) = mac 0x572160; - virtual void setScaleX(float) = win 0x138E40, mac 0x583940; - virtual void setScaleY(float) = win 0x138ED0, mac 0x5839e0; - virtual void setScale(float) = win 0x138F60, mac 0x583a80; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x138900, mac 0x5833c0; - virtual void setVisible(bool) = mac 0x584180; - virtual void setRotation(float) = mac 0x583630; - virtual void setRotationX(float) = mac 0x583700; - virtual void setRotationY(float) = mac 0x5837c0; - virtual void setOpacity(unsigned char) = mac 0x583de0; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = mac 0x56a0b0; - virtual void setChildColor(cocos2d::_ccColor3B const&) = mac 0x58eec0; - virtual void setFlipX(bool) = win 0x138dc0, mac 0x5838a0; - virtual void setFlipY(bool) = win 0x138e00, mac 0x5838f0; - virtual void firstSetup() = mac 0x1a3ba0; - virtual void customSetup() = mac 0x572170; - virtual void setupCustomSprites(gd::string) = win 0x14BC10, mac 0x4220f0; - virtual TodoReturn addMainSpriteToParent(bool) = win 0x13AE30, mac 0x585650; - virtual void resetObject() = mac 0x571620; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x1D230, mac 0x1a3820; - virtual void activateObject() = mac 0x571c40; - virtual void deactivateObject(bool) = win 0x131860, mac 0x571fb0; - virtual TodoReturn transferObjectRect(cocos2d::CCRect&) = win 0x1383E0, mac 0x582cb0; - virtual cocos2d::CCRect const& getObjectRect() = mac 0x582d20; - virtual cocos2d::CCRect getObjectRect(float, float) = win 0x138430, mac 0x582d50; - virtual TodoReturn getObjectRect2(float, float) = mac 0x582f90; - virtual TodoReturn getObjectTextureRect() = mac 0x583060; - virtual TodoReturn getRealPosition() = mac 0x583300; - virtual void setStartPos(cocos2d::CCPoint) = mac 0x571510; - virtual TodoReturn updateStartValues() = mac 0x571a70; - virtual void customObjectSetup(gd::vector&, gd::vector&) = mac 0x37a860; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x588f50; - virtual TodoReturn claimParticle() = mac 0x5842e0; - virtual TodoReturn unclaimParticle() = mac 0x5848d0; - virtual TodoReturn particleWasActivated() = mac 0x584940; - virtual bool isFlipX() = mac 0x583880; - virtual bool isFlipY() = mac 0x583890; - virtual void setRScaleX(float) = mac 0x583b20; - virtual void setRScaleY(float) = mac 0x583b60; - virtual void setRScale(float) = mac 0x583ba0; - virtual TodoReturn getRScaleX() = mac 0x583c20; - virtual TodoReturn getRScaleY() = mac 0x583c50; - virtual void setRRotation(float) = mac 0x5835b0; - virtual void triggerActivated(float) = mac 0x1d2940; - virtual void setObjectColor(cocos2d::_ccColor3B const&) = mac 0x58ebe0; - virtual void setGlowColor(cocos2d::_ccColor3B const&) = mac 0x58ee70; - virtual TodoReturn restoreObject() = mac 0x584980; - virtual TodoReturn animationTriggered() = mac 0x1d2950; - virtual void selectObject(cocos2d::_ccColor3B) = mac 0x58ef30; - virtual TodoReturn activatedByPlayer(PlayerObject*) = mac 0x1d2960; - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*) = mac 0x1d2970; - virtual TodoReturn hasBeenActivated() = mac 0x1d2980; - virtual TodoReturn getOrientedBox() = mac 0x58f940; - virtual TodoReturn updateOrientedBox() = mac 0x58f9c0; - virtual TodoReturn getObjectRotation() = mac 0x5979f0; - virtual TodoReturn updateMainColor(cocos2d::_ccColor3B const&) = mac 0x5905c0; - virtual TodoReturn updateSecondaryColor(cocos2d::_ccColor3B const&) = mac 0x590ad0; - virtual void addToGroup(int) = mac 0x585db0; - virtual void removeFromGroup(int) = mac 0x585e60; - virtual TodoReturn saveActiveColors() = mac 0x58ea40; - virtual TodoReturn spawnXPosition() = mac 0x1d2990; - virtual TodoReturn canAllowMultiActivate() = mac 0x1d29b0; - virtual TodoReturn blendModeChanged() = mac 0x1d29c0; - virtual TodoReturn updateParticleColor(cocos2d::_ccColor3B const&) = mac 0x58edb0; - virtual TodoReturn updateParticleOpacity(unsigned char) = mac 0x584100; - virtual TodoReturn updateMainParticleOpacity(unsigned char) = mac 0x1d29d0; - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char) = mac 0x1d29e0; - virtual TodoReturn canReverse() = mac 0x1d29f0; - virtual bool isSpecialSpawnObject() = mac 0x1d2a00; - virtual TodoReturn canBeOrdered() = mac 0x1d2a10; - virtual TodoReturn getObjectLabel() = mac 0x1d2a20; - virtual void setObjectLabel(cocos2d::CCLabelBMFont*) = mac 0x1d2a30; - virtual TodoReturn shouldDrawEditorHitbox() = mac 0x591c30; - virtual TodoReturn getHasSyncedAnimation() = mac 0x1d2a40; - virtual TodoReturn getHasRotateAction() = mac 0x1d2a50; - virtual TodoReturn canMultiActivate(bool) = mac 0x1d2a60; - virtual TodoReturn updateTextKerning(int) = mac 0x1d2a70; - virtual TodoReturn getTextKerning() = mac 0x1d2a80; - virtual TodoReturn getObjectRectDirty() const = mac 0x1d2a90; - virtual void setObjectRectDirty(bool) = mac 0x1d2aa0; - virtual TodoReturn getOrientedRectDirty() const = mac 0x1d2ab0; - virtual void setOrientedRectDirty(bool) = mac 0x1d2ac0; - virtual TodoReturn getType() const = mac 0x1d2ad0; - virtual void setType(GameObjectType) = mac 0x1d2ae0; - - // most are untested and copied from android64 2.205 bindings - PAD = mac 0x11; - - // property 511 - bool m_hasExtendedCollision; - PAD = mac 0x13; - - // somehow related to property 155 and 156 if anyone wants to reverse engineer - int m_activeMainColorID; - int m_activeDetailColorID; - - PAD = mac 0x54; - - cocos2d::CCSprite* m_glowSprite; - - PAD = mac 0x4; - - float m_unk288; - float m_unk28c; - - PAD = mac 0x8; - - gd::string m_particleString; - - PAD = mac 0x1; - - // property 146 - bool m_particleUseObjectColor; - PAD = mac 0x3e; - - // property 108 - int m_linkedGroup; - - PAD = mac 0xc; - - cocos2d::CCSprite* m_colorSprite; - - PAD = mac 0x13; - - int m_uniqueID; - GameObjectType m_objectType; - - PAD = mac 0x10; - double m_realXPosition; - double m_realYPosition; - cocos2d::CCPoint m_startPosition; - PAD = mac 0x1; - - // property 372 - bool m_hasNoAudioScale; - PAD = mac 0x2a; - - // property 343 - short m_enterChannel; - // property 446 - short m_objectMaterial; - PAD = mac 0x4; - - // property 96 - bool m_hasNoGlow; - - // property 23 - int m_targetColor; - - // property 1 - int m_objectID; - PAD = mac 0x8; - - // property 497 - short m_customColorType; - // property 67 - bool m_isDontEnter; - // property 64 - bool m_isDontFade; - // property 116 - bool m_hasNoEffects; - // property 507 - bool m_hasNoParticles; - PAD = mac 0x16; - - // property 53 - int m_property53; - PAD = mac 0x18; - - // property 21, also used with 41 and 43 - GJSpriteColor* m_baseColor; - // property 22, also used with 42 and 44 - GJSpriteColor* m_detailColor; - PAD = mac 0xc; - - // property 24 - ZLayer m_zLayer; - // property 25 - int m_zOrder; - PAD = mac 0x1; - - bool m_isSelected; - - PAD = mac 0xe; - - bool m_shouldUpdateColorSprite; // m_shouldUpdateColorSprite - PAD = mac 0x1; - - // property 34 - bool m_hasGroupParent; - // property 279 - bool m_hasAreaParent; - // property 128 - float m_scaleX; - // property 129 - float m_scaleY; - - // property 57 - std::array* m_groups; - // used with property 57 - short m_groupCount; - // used with property 274 - bool m_hasGroupParentsString; - - std::array* m_colorGroups; - short m_colorGroupCount; - std::array* m_opacityGroups; - short m_opacityGroupCount; - - // property 20 - short m_editorLayer; - // property 61 - short m_editorLayer2; - PAD = mac 0x8; - - // property 121 - bool m_isNoTouch; - PAD = mac 0x9; - - cocos2d::CCPoint m_lastPosition; - - PAD = mac 0x1b; - - // property 103 - bool m_isHighDetail; - PAD = mac 0x21; - - // property 134 - bool m_isPassable; - // property 135 - bool m_isHide; - // property 136 - bool m_isNonStickX; - // property 289 - bool m_isNonStickY; - // property 137 - bool m_isIceBlock; - // property 193 - bool m_isGripSlope; - // property 356 - bool m_isScaleStick; - // property 495 - bool m_isExtraSticky; - // property 496 - bool m_isDontBoostY; - // property 509 - bool m_isDontBoostX; - PAD = mac 0x11; - - // property 155 - int m_property155; - // property 156 - int m_property156; - - PAD = mac 0x12; -} - -[[link(android)]] -class EnhancedGameObject : GameObject { - static EnhancedGameObject* create(char const*); - - bool init(char const*) = mac 0x591c40; - ~EnhancedGameObject(); - EnhancedGameObject(); - - TodoReturn updateState(int); - TodoReturn updateUserCoin() = win 0x145220, mac 0x588e40; - TodoReturn triggerAnimation(); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x592260; - TodoReturn createRotateAction(float, int); - TodoReturn updateRotateAction(float); - TodoReturn refreshRotateAction(); - TodoReturn resetSyncedAnimation(); - TodoReturn previewAnimateOnTrigger(); - TodoReturn setupAnimationVariables(); - TodoReturn waitForAnimationTrigger(); - - virtual void customSetup() = mac 0x592740; - virtual void resetObject() = win 0x143380, mac 0x591f80; - virtual void deactivateObject(bool) = mac 0x595600; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x595660; - virtual void triggerActivated(float) = mac 0x5920f0; - virtual TodoReturn restoreObject() = mac 0x592020; - virtual TodoReturn animationTriggered() = mac 0x5921c0; - virtual TodoReturn activatedByPlayer(PlayerObject*) = mac 0x592100; - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*) = mac 0x592150; - virtual TodoReturn hasBeenActivated() = mac 0x5921a0; - virtual TodoReturn saveActiveColors() = mac 0x5921e0; - virtual TodoReturn canAllowMultiActivate() = mac 0x591c80; - virtual TodoReturn getHasSyncedAnimation() = mac 0x1d2c10; - virtual TodoReturn getHasRotateAction() = mac 0x1d2c20; - virtual TodoReturn canMultiActivate(bool) = mac 0x5920d0; - virtual TodoReturn powerOnObject(int) = mac 0x592060; - virtual TodoReturn powerOffObject() = mac 0x592080; - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*) = mac 0x1a38c0; - virtual TodoReturn updateSyncedAnimation(float, int) = mac 0x239c80; - virtual TodoReturn updateAnimateOnTrigger(bool) = mac 0x23bba0; - - PAD = android32 0x25; - - bool m_hasCustomAnimation; - bool m_hasCustomRotation; - // property 98 - bool m_disableRotation; - PAD = android32 0x3; - - // property 97 - float m_rotationSpeed; - PAD = android32 0xc; - - // property 106 - bool m_animationRandomizedStart; - // property 107 - float m_animationSpeed; - // property 122 - bool m_animationShouldUseSpeed; - // property 123 - bool m_animateOnTrigger; - // property 126 - bool m_disableDelayedLoop; - // property 127 - bool m_disableAnimShine; - // property 462 - int m_singleFrame; - // property 592 - bool m_animationOffset; - PAD = android32 0xf; - - // property 214 - bool m_animateOnlyWhenActive; - // property 444 - bool m_isNoMultiActivate; // used in platformer stuff - // property 99 - bool m_isMultiActivate; - PAD = android32 0x4; -} - -[[link(android)]] -class EffectGameObject : EnhancedGameObject { - static EffectGameObject* create(char const*) = mac 0x1a1820; - - bool init(char const*); // inlined - ~EffectGameObject(); - - TodoReturn getTargetColorIndex(); - - /* unverified signature */ - void setTargetID(int); - /* unverified signature */ - void setTargetID2(int); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3960d0, mac 0x1a1ca0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x186dc0; - TodoReturn playTriggerEffect() = win 0x395e50; - TodoReturn resetSpawnTrigger(); - TodoReturn updateSpecialColor(); - TodoReturn updateSpeedModType(); - TodoReturn triggerEffectFinished() = win 0x396080; - TodoReturn updateInteractiveHover(float); - EffectGameObject() = mac 0x1d33f0; - - virtual void setOpacity(unsigned char) = mac 0x1a1c20; - virtual void firstSetup() = mac 0x1a3b80; - virtual void customSetup() = win 0x397d30, mac 0x185c50; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x17b7a0; - virtual void setRScaleX(float) = mac 0x1a18b0; - virtual void setRScaleY(float) = mac 0x1a18d0; - virtual void triggerActivated(float) = mac 0x1a3b10; - virtual TodoReturn restoreObject() = mac 0x1a38d0; - virtual TodoReturn spawnXPosition() = mac 0x1a3ad0; - virtual TodoReturn canReverse() = mac 0x1a3c70; - virtual bool isSpecialSpawnObject() = mac 0x1a3ce0; - virtual TodoReturn canBeOrdered() = mac 0x1a3cf0; - virtual TodoReturn getObjectLabel() = mac 0x1d2c60; - virtual void setObjectLabel(cocos2d::CCLabelBMFont*) = mac 0x1d2c70; - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*) = mac 0x1a3830; - - // property 7, 8, 9 - cocos2d::ccColor3B m_triggerTargetColor; - // property 10 - float m_duration; - // property 35 - float m_opacity; - PAD = android32 0x4; - // property 51 - int m_targetGroupID; - // property 71 - int m_centerGroupID; - // property 11 - bool m_isTouchTriggered; - // property 62 - bool m_isSpawnTriggered; - // property 369 - bool m_hasCenterEffect; - // property 75 - float m_shakeStrength; - // property 84 - float m_shakeInterval; - // property 14 - bool m_tintGround; - // property 15 - bool m_usesPlayerColor1; - // property 16 - bool m_usesPlayerColor2; - // property 17 - bool m_usesBlending; - // property 28 - float m_moveOffsetX; - // property 29 - float m_moveOffsetY; - // property 30 - EasingType m_easingType; - // property 85 - float m_easingRate; - // property 58 - bool m_lockToPlayerX; - // property 59 - bool m_lockToPlayerY; - // property 141 - bool m_lockToCameraX; - // property 142 - bool m_lockToCameraY; - // property 100 - bool m_useMoveTarget; - // property 101 - MoveTargetType m_moveTargetMode; - // property 143 - float m_moveModX; - // property 144 - float m_moveModY; - // property 393 - bool m_property393; - // property 394 - bool m_isDirectionFollowSnap360; // TODO: pls find a better name for this why rob - // property 395 - int m_targetModCenterID; - // property 396 - float m_directionModeDistance; - // property 397 - bool m_isDynamicMode; - // property 544 - bool m_isSilent; - PAD = android32 0x6; - // property 68 - float m_rotationDegrees; - // property 69 - int m_times360; - // property 70 - bool m_lockObjectRotation; - // property 401 - int m_rotationTargetID; - // property 402 - float m_rotationOffset; - // property 403 - EasingType m_dynamicModeEasing; - // property 72 - float m_followXMod; - // property 73 - float m_followYMod; - // property 90 - float m_followYSpeed; - // property 91 - float m_followYDelay; - // property 92 - int m_followYOffset; - // property 105 - float m_followYMaxSpeed; - // property 45 - float m_fadeInDuration; - // property 46 - float m_holdDuration; - // property 47 - float m_fadeOutDuration; - // property 48 - int m_pulseMode; - // property 52 - int m_pulseTargetType; - // property 49 - cocos2d::ccHSVValue m_hsvValue; - // property 50 - int m_copyColorID; - // property 60 - bool m_copyOpacity; - // property 65 - bool m_pulseMainOnly; - // property 66 - bool m_pulseDetailOnly; - // property 86 - bool m_pulseExclusive; - // property 210 - bool m_property210; - // property 56 - bool m_activateGroup; - // property 81 - bool m_touchHoldMode; - // property 82 - TouchToggleMode m_touchToggleMode; - // property 198 - int m_touchPlayerMode; // TODO: add enum - // property 89 - bool m_isDualMode; - // property 76 - int m_animationID; - PAD = android32 0x8; - // property 87 - bool m_isMultiActivate; - PAD = android32 0x2; - // property 93 - bool m_triggerOnExit; - // property 95 - int m_itemID2; - // property 534 - int m_property534; - PAD = android32 0x4; - // property 80 - int m_itemID; - // property 138 - bool m_targetPlayer1; - // property 200 - bool m_targetPlayer2; - // property 201 - bool m_followCPP; - // property 78 - bool m_subtractCount; - // property 381 - bool m_collectibleIsPickupItem; - // property 382 - bool m_collectibleIsToggleTrigger; - // property 440 - int m_collectibleParticleID; - // property 383 - int m_collectiblePoints; - // property 463 - bool m_hasNoAnimation; - PAD = android32 0x1f; - // property 148 - float m_gravityValue; - // property 284 - bool m_isSinglePTouch; - PAD = android32 0x3; - // property 371 - float m_zoomValue; - // property 111 - bool m_cameraIsFreeMode; - // property 112 - bool m_cameraEditCameraSettings; - // property 113 - float m_cameraEasingValue; - // property 114 - float m_cameraPaddingValue; - // property 370 - bool m_cameraDisableGridSnap; - // property 118 - bool m_property118; - // property 120 - float m_timeWarpTimeMod; - // property 13 - bool m_showGamemodeBorders; - // property 115 - int m_ordValue; - // property 170 - int m_channelValue; - // property 117 - bool m_isReverse; - PAD = android32 0xb; - // property 12 - int m_secretCoinID; - PAD = android32 0x1c; - // property 280 - bool m_ignoreGroupParent; - // property 281 - bool m_ignoreLinkedObjects; - PAD = android32 0x1; -} - -[[link(android)]] -class TextGameObject : GameObject { - static TextGameObject* create(cocos2d::CCTexture2D*); - - bool init(cocos2d::CCTexture2D*); - ~TextGameObject(); - - void updateTextObject(gd::string, bool); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x597170; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x597280; - virtual TodoReturn updateTextKerning(int) = mac 0x596ee0; - virtual TodoReturn getTextKerning() = mac 0x597b00; - - // property 31 - gd::string m_text; - // property 488 - int m_kerning; -} - -[[link(android)]] -class SmartGameObject : GameObject { - static SmartGameObject* create(char const*); - - bool init(char const*); - ~SmartGameObject(); - - TodoReturn updateSmartFrame(); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x19a5d0; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x19a110; - - // property 157 - bool m_property157; - PAD = android32 0x9; -} - -[[link(android)]] -class ParticleGameObject : EnhancedGameObject { - static ParticleGameObject* create(); - - ~ParticleGameObject(); - - /* unverified signature */ - void setParticleString(gd::string); - - TodoReturn updateParticle(); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x19a850; - TodoReturn updateParticleAngle(float, cocos2d::CCParticleSystemQuad*); - TodoReturn updateParticleScale(float); - TodoReturn updateParticleStruct(); - TodoReturn applyParticleSettings(cocos2d::CCParticleSystemQuad*); - TodoReturn createParticlePreviewArt(); - TodoReturn createAndAddCustomParticle(); - TodoReturn updateParticlePreviewArtOpacity(float); - - virtual bool init() = mac 0x19a820; - virtual void setScaleX(float) = mac 0x19b8a0; - virtual void setScaleY(float) = mac 0x19b910; - virtual void setScale(float) = mac 0x19b980; - virtual void setRotation(float) = mac 0x19b7e0; - virtual void setRotationX(float) = mac 0x19b820; - virtual void setRotationY(float) = mac 0x19b860; - virtual void setChildColor(cocos2d::_ccColor3B const&) = mac 0x19bae0; - virtual void customSetup() = mac 0x19aa90; - virtual TodoReturn addMainSpriteToParent(bool) = mac 0x19ab60; - virtual void resetObject() = mac 0x19bcd0; - virtual void deactivateObject(bool) = mac 0x19bc90; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x19bed0; - virtual TodoReturn claimParticle() = mac 0x19ac40; - virtual TodoReturn unclaimParticle() = mac 0x19b1f0; - virtual TodoReturn particleWasActivated() = mac 0x19b270; - virtual void setObjectColor(cocos2d::_ccColor3B const&) = mac 0x19b9f0; - virtual TodoReturn blendModeChanged() = mac 0x19ab20; - virtual TodoReturn updateParticleColor(cocos2d::_ccColor3B const&) = mac 0x1d2bf0; - virtual TodoReturn updateParticleOpacity(unsigned char) = mac 0x1d2c00; - virtual TodoReturn updateMainParticleOpacity(unsigned char) = mac 0x19bbd0; - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char) = mac 0x19bc30; - virtual TodoReturn updateSyncedAnimation(float, int) = mac 0x19bd30; - virtual TodoReturn updateAnimateOnTrigger(bool) = mac 0x19be80; - - // property 145 - gd::string m_particleData; - PAD = android32 0x110; - - // property 147 - bool m_hasUniformObjectColor; - PAD = android32 0x7; - - // property 211 - bool m_shouldQuickStart; - PAD = android32 0xf; -} - -[[link(android)]] -class SpecialAnimGameObject : EnhancedGameObject { - static SpecialAnimGameObject* create(char const*); - - bool init(char const*); - ~SpecialAnimGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x19c940; - - virtual void resetObject() = mac 0x19c920; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x19c9a0; - virtual TodoReturn updateMainColor(cocos2d::_ccColor3B const&) = mac 0x19c8e0; - virtual TodoReturn updateSecondaryColor(cocos2d::_ccColor3B const&) = mac 0x19c900; - virtual TodoReturn updateSyncedAnimation(float, int) = mac 0x23ba50; -} - -[[link(android)]] -class RingObject : EffectGameObject { - static RingObject* create(char const*); - - bool init(char const*); - ~RingObject(); - - TodoReturn spawnCircle(); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x19d110; - - virtual void setScale(float) = mac 0x19d080; - virtual void setRotation(float) = mac 0x19d0e0; - virtual void resetObject() = mac 0x19d060; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x19d260; - virtual void setRScale(float) = mac 0x19d0b0; - virtual void triggerActivated(float) = mac 0x19cf00; - virtual TodoReturn shouldDrawEditorHitbox() = mac 0x19d0f0; - virtual TodoReturn powerOnObject(int) = mac 0x19cf10; - - // property 445 - bool m_claimTouch; - // property 504 - bool m_isSpawnOnly; -} - -[[link(android)]] -class StartPosObject : EffectGameObject { - static StartPosObject* create(); - - ~StartPosObject(); - - void setSettings(LevelSettingsObject*); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1a59d0; - TodoReturn loadSettingsFromString(gd::string); - - virtual bool init() = win 0x3A0D10, mac 0x1a5880; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1a59e0; - - int m_unknown; -} - -[[link(android)]] -class LabelGameObject : EffectGameObject { - static LabelGameObject* create(); - - ~LabelGameObject(); - - TodoReturn createLabel(gd::string); - TodoReturn removeLabel(); - TodoReturn updateLabel(float); - TodoReturn updateLabel(gd::string); - TodoReturn queueUpdateLabel(gd::string); - TodoReturn unlockLabelColor(); - TodoReturn updateLabelAlign(int); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1a8eb0; - void setupCustomSprites(gd::string) = win 0x14bc10, mac 0x1a8490; - TodoReturn updateLabelIfDirty(); - TodoReturn updatePreviewLabel(); - - virtual bool init() = mac 0x1a8460; - virtual void setOpacity(unsigned char) = mac 0x1a8840; - virtual TodoReturn addMainSpriteToParent(bool) = mac 0x1a9120; - virtual void resetObject() = mac 0x1a9d40; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1a9180; - virtual void setObjectColor(cocos2d::_ccColor3B const&) = mac 0x1a90d0; - virtual TodoReturn updateTextKerning(int) = mac 0x1a88c0; - virtual TodoReturn getTextKerning() = mac 0x1d2e30; - - PAD = android32 0x11; - - // property 391 - int m_alignment; - - // property 389 - bool m_showSecondsOnly; - - // property 390 - int m_shownSpecial; - - // property 466 - bool m_isTimeCounter; - - // property 488 - int m_kerning; - - PAD = android32 0x8; -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - static SearchButton* create(char const* texture, char const* text, float size, char const* icon) = win 0x2608A0, mac 0x5ee970; - - bool init(char const*, char const*, float, char const*) = mac 0x5f0c10, win 0x260990; - ~SearchButton(); - - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - ~GameLevelManager(); - - static GameLevelManager* sharedState() = win 0xF2D90, mac 0x4f3030; - inline static GameLevelManager* get() { - return GameLevelManager::sharedState(); - } - - int getDailyID(GJTimedLevelType) = mac 0x527160; - char const* getDescKey(int); - char const* getDiffKey(int); - bool getDiffVal(int); - char const* getLevelKey(int); - void getMapPacks(GJSearchObject*) = mac 0x511a30; - char const* getPageInfo(char const*) = mac 0x50a2f0; - double getTimeLeft(char const*, float) = mac 0x50a700; - void getUserList(UserListType) = mac 0x524400; - void getGauntlets() = mac 0x513af0; - void getGJRewards(int) = mac 0x525ff0; - int getIntForKey(char const*) = mac 0x527ee0; - gd::string getLengthStr(bool, bool, bool, bool, bool, bool); - GJGameLevel* getMainLevel(int, bool) = win 0xF40E0, mac 0x5011a0; - char const* getReportKey(int); - bool getBoolForKey(char const*) = mac 0x5280b0, win 0x110820; - gd::string getCommentKey(int, int, int, CommentKeyType) = mac 0x51e1d0; - double getDailyTimer(GJTimedLevelType) = mac 0x5271c0; - gd::string getFolderName(int, bool) = mac 0x50bf00; - void getGJUserInfo(int) = win 0x105270, mac 0x51b4d0; - void getLevelLists(GJSearchObject*) = mac 0x512dd0; - GJGameLevel* getLocalLevel(int); - char const* getMapPackKey(int); - char const* getMessageKey(int); - GJGameLevel* getSavedLevel(int) = mac 0x509370; - GJGameLevel* getSavedLevel(GJGameLevel*); - void getTopArtists(int, int); - char const* getGauntletKey(int); - char const* getLikeItemKey(LikeItemType, int, bool, int); - char const* getMessagesKey(bool, int) = mac 0x51c0b0; - cocos2d::CCArray* getSavedLevels(bool, int) = mac 0x5089a0, win 0xF6620; - cocos2d::CCScene* getSearchScene(char const*) = mac 0x50aa00; - char const* getUserInfoKey(int); - void getGJChallenges() = mac 0x5267e0; - char const* getLevelListKey(int); - void getOnlineLevels(GJSearchObject*) = mac 0x5108d0, win 0xFBAB0; - char const* getRateStarsKey(int); - TodoReturn getSavedMapPack(int) = mac 0x511d60; - void getUserMessages(bool, int, int) = mac 0x51bd80; - int getActiveDailyID(GJTimedLevelType) = mac 0x527190; - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - void getLevelComments(int, int, int, int, CommentKeyType) = mac 0x51dcc0; - void getLevelSaveData(); - gd::string getNextLevelName(gd::string); - GJMapPack* getSavedGauntlet(int); - char const* getTopArtistsKey(int); - cocos2d::CCDictionary* getAllUsedSongIDs(); - gd::string getBasePostString() = win 0xfa3b0, mac 0x50e2f0; - void getFriendRequests(bool, int, int) = mac 0x5219a0; - void getGauntletLevels(int) = mac 0x513e90, win 0xFF660; - GJLevelList* getAllUsedSongIDs(int); - char const* getPostCommentKey(int); - GJLevelList* getSavedLevelList(int); - cocos2d::CCArray* getStoredUserList(UserListType) = mac 0x5239b0; - void getAccountComments(int, int, int) = mac 0x51e3f0; - cocos2d::CCArray* getCompletedLevels(bool) = mac 0x508ef0; - GJGameLevel* getSavedDailyLevel(int) = mac 0x5091b0; - cocos2d::CCArray* getSavedLevelLists(int) = mac 0x508b90, win 0xF6A70; - int getSplitIntFromKey(char const*, int); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - char const* getFriendRequestKey(bool, int) = mac 0x51f6f0; - char const* getLevelDownloadKey(int, bool); - void getLevelLeaderboard(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = mac 0x519f00, win 0x103E80; - GJGameLevel* getLocalLevelByName(gd::string); - int getLowestLevelOrder() = mac 0x508cb0; - char const* getUploadMessageKey(int); - char const* getAccountCommentKey(int, int) = mac 0x51e710; - cocos2d::CCArray* getAllSmartTemplates() = mac 0x50c310; - void getGauntletsearchKey(int) = mac 0x513a50, win 0xfee80; - void getGJDailyLevelState(GJTimedLevelType) = mac 0x526c80, win 0x10f150; - int getHighestLevelOrder() = mac 0x508c70; - void getLeaderboardScores(char const*) = mac 0x5196a0; - GJUserMessage* getStoredUserMessage(int); - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - int getNextFreeTemplateID(); - GJGameLevel* getSavedGauntletLevel(int) = mac 0x509290; - cocos2d::CCArray* getStoredOnlineLevels(char const*) = mac 0x50a0d0, win 0xF76F0; - GJSmartTemplate* getActiveSmartTemplate(); - char const* getLevelLeaderboardKey(int, LevelLeaderboardType, LevelLeaderboardMode) = mac 0x51acf0; - TodoReturn getStoredLevelComments(char const*) = mac 0x51fa70; - GJUserMessage* getStoredUserMessageReply(int) = mac 0x51bd60; - GJGameLevel* getSavedDailyLevelFromLevelID(int) = mac 0x509450; - void getNews(); - void getUsers(GJSearchObject*) = mac 0x51b140; - char const* getLenKey(int); - bool getLenVal(int); - - /* unverified signature */ - void setDiffVal(int, bool) = mac 0x527ac0; - /* unverified signature */ - void setIntForKey(int, char const*); - /* unverified signature */ - void setBoolForKey(bool, char const*) = win 0x110760; - /* unverified signature */ - void setFolderName(int, gd::string, bool); - /* unverified signature */ - void setLevelStars(int, int, bool); - /* unverified signature */ - void setLevelFeatured(int, int, bool); - /* unverified signature */ - void setActiveSmartTemplate(GJSmartTemplate*); - /* unverified signature */ - void setLenVal(int, bool) = mac 0x527ce0; - - void onBanUserCompleted(gd::string, gd::string); - void onGetNewsCompleted(gd::string, gd::string) = win 0x106c00; - void onGetUsersCompleted(gd::string, gd::string); - void onLikeItemCompleted(gd::string, gd::string) = mac 0x4f9860, win 0x10d0f0; - void onBlockUserCompleted(gd::string, gd::string); - void onRateDemonCompleted(gd::string, gd::string); - void onRateStarsCompleted(gd::string, gd::string) = mac 0x4f7180; - void onGetMapPacksCompleted(gd::string, gd::string) = mac 0x4f65f0, win 0xfd080; - void onGetUserListCompleted(gd::string, gd::string); - void onReportLevelCompleted(gd::string, gd::string) = mac 0x4f9bf0; - void onUnblockUserCompleted(gd::string, gd::string); - void onUpdateLevelCompleted(gd::string, gd::string) = mac 0x4f70d0; - void onUploadLevelCompleted(gd::string, gd::string) = mac 0x4f5670, win 0xfb1b0; - void onGetGauntletsCompleted(gd::string, gd::string) = win 0xff060; - void onGetGJRewardsCompleted(gd::string, gd::string); - void onRemoveFriendCompleted(gd::string, gd::string); - void onRestoreItemsCompleted(gd::string, gd::string) = mac 0x4f9a20; - void onDeleteCommentCompleted(gd::string, gd::string) = mac 0x4f96b0, win 0x109740; - void onDownloadLevelCompleted(gd::string, gd::string) = mac 0x4f7020, win 0xffe90; - void onGetGJUserInfoCompleted(gd::string, gd::string) = mac 0x4f9fa0, win 0x1053D0; - void onGetLevelListsCompleted(gd::string, gd::string) = win 0xfe7f0; - void onGetTopArtistsCompleted(gd::string, gd::string) = win 0x104a50; - void onSetLevelStarsCompleted(gd::string, gd::string) = mac 0x4f7490; - void onUploadCommentCompleted(gd::string, gd::string) = mac 0x4f8670, win 0x108c30; - void onSubmitUserInfoCompleted(gd::string, gd::string); - void onGetGJChallengesCompleted(gd::string, gd::string) = mac 0x4fe0c0; - void onGetOnlineLevelsCompleted(gd::string, gd::string) = mac 0x4f5930, win 0xFC270; - void onGetUserMessagesCompleted(gd::string, gd::string); - void onUpdateUserScoreCompleted(gd::string, gd::string) = mac 0x4f7640; - void onUploadLevelListCompleted(gd::string, gd::string) = win 0xfe120; - void onGetLevelCommentsCompleted(gd::string, gd::string) = mac 0x4f7d90, win 0x106f20; - void onGetLevelSaveDataCompleted(gd::string, gd::string); - void onSetLevelFeaturedCompleted(gd::string, gd::string); - void onDeleteServerLevelCompleted(gd::string, gd::string) = mac 0x4f7300; - void onGetFriendRequestsCompleted(gd::string, gd::string); - void onReadFriendRequestCompleted(gd::string, gd::string); - void onRequestUserAccessCompleted(gd::string, gd::string); - void onSuggestLevelStarsCompleted(gd::string, gd::string); - void onUpdateDescriptionCompleted(gd::string, gd::string) = mac 0x4f9d60; - void onUploadUserMessageCompleted(gd::string, gd::string); - void onDeleteUserMessagesCompleted(gd::string, gd::string); - void onGetAccountCommentsCompleted(gd::string, gd::string) = mac 0x4f8200; - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = mac 0x4f3380; - void onAcceptFriendRequestCompleted(gd::string, gd::string); - void onDeleteFriendRequestCompleted(gd::string, gd::string); - void onDownloadUserMessageCompleted(gd::string, gd::string); - void onGetLevelLeaderboardCompleted(gd::string, gd::string); - void onUploadFriendRequestCompleted(gd::string, gd::string); - void onGetGJDailyLevelStateCompleted(gd::string, gd::string) = win 0x10f350; - void onGetLeaderboardScoresCompleted(gd::string, gd::string) = mac 0x4f79a0; - void onDeleteServerLevelListCompleted(gd::string, gd::string) = win 0xfe490; - - void dataLoaded(DS_Dictionary*) = mac 0x50c8e0; - void firstSetup() = win 0x397d10; - void followUser(int) = mac 0x50bc10; - void handleItND(cocos2d::CCNode*, void*); - /* unverified signature */ - bool isDLActive(char const*) = mac 0x50a480, win 0xf7910; - void deleteLevel(GJGameLevel*); - /* unverified signature */ - bool isTimeValid(char const*, float) = mac 0x50a1c0; - bool keyHasTimer(char const*); - void reportLevel(int); - void saveMapPack(GJMapPack*); - void unblockUser(int); - void updateLevel(GJGameLevel*) = mac 0x515ec0; - void uploadLevel(GJGameLevel*) = win 0xFA560; - void encodeDataTo(DS_Dictionary*) = mac 0x50c700, win 0xF8F90; - bool hasLikedItem(LikeItemType, int, bool, int); - void removeFriend(int) = mac 0x523530; - void restoreItems(); - void saveGauntlet(GJMapPack*) = win 0xff920; - void unfollowUser(int) = mac 0x50bac0; - void addDLToActive(char const*) = mac 0x50a550, win 0xf79d0; - void deleteComment(int, CommentType, int) = win 0x1093f0, mac 0x521210; - void downloadLevel(int, bool) = mac 0x5144c0, win 0xffa20; - void gotoLevelPage(GJGameLevel*); - bool hasRatedDemon(int) = mac 0x516e10; - /* unverified signature */ - bool isUpdateValid(int) = mac 0x515e80; - void makeTimeStamp(char const*) = mac 0x509fb0, win 0xF7B30; - void saveLevelList(GJLevelList*); - void storeUserInfo(GJUserScore*); - void storeUserName(int, int, gd::string) = mac 0x502f30, win 0xF54C0; - void uploadComment(gd::string, CommentType, int, int) = win 0x108540, mac 0x51fbd0; - GJGameLevel* createNewLevel() = mac 0x5017f0; - TodoReturn createPageInfo(int, int, int); - void resetAllTimers(); - void resetGauntlets() = mac 0x514480; - static cocos2d::CCDictionary* responseToDict(gd::string, bool) = mac 0x505b60; - void saveLocalScore(int, int, int); - void storeUserNames(gd::string); - void submitUserInfo(); - gd::string tryGetUsername(int) = mac 0x5032f0, win 0xf56f0; - void deleteLevelList(GJLevelList*); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - /* unverified signature */ - bool isFollowingUser(int) = win 0xF86A0, mac 0x50b9d0; - int likeFromLikeKey(char const*); - void markItemAsLiked(LikeItemType, int, bool, int); - LikeItemType typeFromLikeKey(char const*); - void updateUsernames(); - void updateUserScore() = win 0x1028A0, mac 0x517ff0; - void uploadLevelList(GJLevelList*); - bool hasReportedLevel(int); - void limitSavedLevels() = win 0xF7FD0, mac 0x50b1e0; - void parseRestoreData(gd::string); - void resetTimerForKey(char const*) = mac 0x50a910; - void storeUserMessage(GJUserMessage*); - void verifyLevelState(GJGameLevel*); - void deleteServerLevel(int); - bool hasDownloadedList(int); - int itemIDFromLikeKey(char const*); - void messageWasRemoved(int, bool); - void purgeUnusedLevels(); - void readFriendRequest(int); - void requestUserAccess(); - void saveFetchedLevels(cocos2d::CCArray*) = mac 0x505dd0; - void storeSearchResult(cocos2d::CCArray*, gd::string, char const*) = mac 0x509d50; - void suggestLevelStars(int, int, int); - void updateDescription(int, gd::string); - void updateLevelOrders() = win 0xF68D0; - void uploadUserMessage(int, gd::string, gd::string) = mac 0x51ce90; - gd::string userNameForUserID(int) = mac 0x503170, win 0xF5610; - int accountIDForUserID(int) = mac 0x5037f0; - bool areGauntletsLoaded() = mac 0x514460; - void cleanupDailyLevels() = win 0xF8430; - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType) = mac 0x507520; - GJLevelList* createNewLevelList() = mac 0x502340; - void deleteLevelComment(int, int); - void deleteUserMessages(GJUserMessage*, cocos2d::CCArray*, bool) = mac 0x51d450; - bool hasDownloadedLevel(int); - bool hasRatedLevelStars(int) = mac 0x516a60; - void invalidateMessages(bool, bool) = mac 0x51d940, win 0x106ad0; - void invalidateRequests(bool, bool) = mac 0x5227f0, win 0x10c630; - void invalidateUserList(UserListType, bool) = mac 0x5246b0; - int pageFromCommentKey(char const*); - void performNetworkTest() = win 0xF2E10; - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = mac 0x4f3510, win 0xf2f80; - void removeDLFromActive(char const*) = mac 0x50a630, win 0xf7a80; - void removeUserFromList(int, UserListType); - int specialFromLikeKey(char const*); - void storeFriendRequest(GJFriendRequest*); - CommentType typeFromCommentKey(char const*); - void updateLevelRewards(GJGameLevel*) = mac 0x503980; - void uploadLevelComment(int, gd::string, int) = win 0x108420, mac 0x51fb60; - int userIDForAccountID(int) = mac 0x5037b0; - void acceptFriendRequest(int, int) = mac 0x522b50; - GJSmartTemplate* createSmartTemplate() = mac 0x50c280; - void deleteSmartTemplate(GJSmartTemplate*); - void downloadUserMessage(int, bool); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - void markLevelAsReported(int); - void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetStoredUserList(UserListType); - void saveFetchedMapPacks(cocos2d::CCArray*); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void uploadFriendRequest(int, gd::string) = win 0x109f10; - gd::string writeSpecialFilters(GJSearchObject*) = mac 0x510460; - cocos2d::CCArray* createAndGetMapPacks(gd::string); - void deleteAccountComment(int, int); - void deleteFriendRequests(int, cocos2d::CCArray*, bool); - void markListAsDownloaded(int); - TodoReturn removeDelimiterChars(gd::string, bool); - void resetAccountComments(int) = mac 0x51f580, win 0x107B10; - void resetDailyLevelState(GJTimedLevelType) = mac 0x5270e0, win 0x10f810; - void storeDailyLevelState(int, int, GJTimedLevelType) = mac 0x526fc0; - void updateSavedLevelList(GJLevelList*); - void uploadAccountComment(gd::string) = win 0x1084b0, mac 0x5209a0; - GJUserScore* userInfoForAccountID(int) = mac 0x5037d0; - void deleteServerLevelList(int); - bool hasLikedItemFullCheck(LikeItemType, int, int) = mac 0x525520, win 0x10D7F0; - int levelIDFromCommentKey(char const*); - void markLevelAsDownloaded(int); - void markLevelAsRatedDemon(int); - void markLevelAsRatedStars(int); - void saveFetchedLevelLists(cocos2d::CCArray*); - void storeUserMessageReply(int, GJUserMessage*); - cocos2d::CCArray* createAndGetLevelLists(gd::string); - void deleteSentFriendRequest(int) = mac 0x5221e0; - void friendRequestWasRemoved(int, bool); - bool hasDailyStateBeenLoaded(GJTimedLevelType) = mac 0x527120; - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - int levelIDFromPostCommentKey(char const*); - GJFriendRequest* friendRequestFromAccountID(int) = mac 0x51bce0; - bool createAndGetAccountComments(gd::string, int); - void resetCommentTimersForLevelID(int, CommentKeyType) = win 0x1091B0, mac 0x520a10; - void processOnDownloadLevelCompleted(gd::string, gd::string, bool); - void removeLevelDownloadedKeysFromDict(cocos2d::CCDictionary*); - void banUser(int); - void handleIt(bool, gd::string, gd::string, GJHttpType) = mac 0x4f36d0, win 0xF3220; - void likeItem(LikeItemType, int, bool, int); - void blockUser(int) = mac 0x523a60; - void rateDemon(int, int, bool); - void rateStars(int, int); - void saveLevel(GJGameLevel*) = mac 0x5094a0; - - virtual bool init() = mac 0x501010; - - PAD = win 0x8, android32 0x18, android64 0x30, mac 0x18; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_GLM21; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - int m_eventTimeLeft; - int m_eventID; - int m_eventIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_unkDict24; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - LevelManagerDelegate* m_levelManagerDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - ListUploadDelegate* m_listUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - LevelListDeleteDelegate* m_levelListDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - void* m_unkDelegate; - UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - OnlineListDelegate* m_onlineListDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - static GJSearchObject* create(SearchType) = mac 0x52d700, win 0x118C50; - static GJSearchObject* create(SearchType, gd::string) = mac 0x52d830, win 0x118D40; - static GJSearchObject* create(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = mac 0x52d460, win 0x118E40; - - bool init(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x118FF0; - ~GJSearchObject(); - - char const* getSearchKey(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x1195C0; - GJSearchObject* getPageObject(int) = mac 0x52df30; - char const* getNextPageKey(); - GJSearchObject* getNextPageObject() = mac 0x52df10; - GJSearchObject* getPrevPageObject() = mac 0x52e160; - char const* getKey() = mac 0x5114d0, win 0x119190; - - static GJSearchObject* createFromKey(char const*) = mac 0x50aa20, win 0x1188A0; - /* unverified signature */ - bool isLevelSearchObject() = mac 0x52e180, win 0x1197A0; - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_total; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - bool m_legendaryFilter; - bool m_mythicFilter; - GJDifficulty m_demonFilter; - int m_folder; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; - bool m_searchIsOverlay; - int m_searchMode; -} - -[[link(android)]] -class GJLevelList : cocos2d::CCNode { - static GJLevelList* create(cocos2d::CCDictionary*); - static GJLevelList* create() = mac 0x502610; - - ~GJLevelList(); - - TodoReturn getListLevelsArray(cocos2d::CCArray*); - gd::string getUnpackedDescription() = mac 0x52e6a0; - - void dataLoaded(DS_Dictionary*) = mac 0x52fff0; - TodoReturn totalLevels(); - TodoReturn reorderLevel(int, int); - void showListInfo() = mac 0x52fba0; - TodoReturn orderForLevel(int); - TodoReturn addLevelToList(GJGameLevel*); - int completedLevels() = mac 0x52fb50; - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x52ffc0; - TodoReturn parseListLevels(gd::string); - TodoReturn reorderLevelStep(int, bool); - TodoReturn updateLevelsString(); - TodoReturn duplicateListLevels(GJLevelList*); - TodoReturn removeLevelFromList(int); - TodoReturn frameForListDifficulty(int, DifficultyIconType); - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x5302f0; - virtual bool canEncode() = mac 0x530520; - virtual bool init() = mac 0x52e620; - - gd::vector m_levels; - int m_listID; - int m_listVersion; - int m_downloads; - int m_likes; - int m_difficulty; - int m_accountID; - int m_folder; - int m_listRevision; - int m_listOrder; - int m_original; - int m_diamonds; - int m_levelsToClaim; - bool m_unkBool; - bool m_unlisted; - bool m_friendsOnly; - bool m_uploaded; - bool m_favorite; - bool m_featured; - bool m_k100; - gd::string m_creatorName; - gd::string m_listName; - gd::string m_unkString; - gd::string m_levelsString; - gd::string m_listDesc; - int m_uploadDate; - int m_updateDate; - cocos2d::CCDictionary* m_k97; - int m_listType; - int m_M_ID; -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - static LikeItemLayer* create(LikeItemType, int, int) = mac 0x5bdd80, win 0x2714E0; - - bool init(LikeItemType, int, int) = mac 0x5bdef0, win 0x271590; - ~LikeItemLayer(); - - void onLike(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - - TodoReturn triggerLike(bool); - - virtual void keyBackClicked() = mac 0x5be470; - - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; -} - -[[link(android)]] -class LevelTools { - float posForTime(float, cocos2d::CCArray*, int, bool, int&); - float timeForPos(cocos2d::CCPoint, cocos2d::CCArray*, int, int, int, bool, bool, bool, bool, int) = win 0x26fba0; - TodoReturn getAudioBPM(int); - TodoReturn urlForAudio(int); - TodoReturn getLevelList(); - static gd::string getAudioTitle(int) = mac 0x4d8da0, win 0x26E860; - static SongInfoObject* getSongObject(int) = mac 0x4dc4f0; - TodoReturn nameForArtist(int); - TodoReturn artistForAudio(int); - TodoReturn fbURLForArtist(int); - TodoReturn getAudioString(int); - TodoReturn ngURLForArtist(int); - TodoReturn ytURLForArtist(int); - TodoReturn getLastTimewarp(); - TodoReturn getAudioFileName(int); - TodoReturn sortSpeedObjects(cocos2d::CCArray*, GJBaseGameLayer*) = win 0x270fe0, mac 0x4dd230; - TodoReturn valueForSpeedMod(int) = win 0x26fb50; - TodoReturn offsetBPMForTrack(int); - static gd::string base64DecodeString(gd::string) = mac 0x4dcac0, win 0x270BA0; - TodoReturn base64EncodeString(gd::string); - TodoReturn createStarPackDict(); - float posForTimeInternal(float, cocos2d::CCArray*, int, bool, bool, bool, int&, int) = win 0x270220; - TodoReturn toggleDebugLogging(bool); - TodoReturn verifyLevelIntegrity(gd::string, int); - TodoReturn getLastGameplayRotated(); - TodoReturn getLastGameplayReversed(); - TodoReturn sortChannelOrderObjects(cocos2d::CCArray*, cocos2d::CCDictionary*, bool) = win 0x270dc0; - TodoReturn moveTriggerObjectsToArray(cocos2d::CCArray*, cocos2d::CCDictionary*, int); - static GJGameLevel* getLevel(int, bool) = win 0x26DDA0, mac 0x4d6840; -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - ~GameStatsManager(); - - TodoReturn getItemKey(int, int) = mac 0x66050; - gd::string getLevelKey(int, bool, bool, bool) = mac 0x6cd80, win 0x16D350; - gd::string getLevelKey(GJGameLevel*) = mac 0x6cd20, win 0x16D2E0; - GJChallengeItem* getChallenge(int) = mac 0x73750, win 0x170BD0; - TodoReturn getRewardKey(GJRewardType, int); - TodoReturn getStoreItem(int); - TodoReturn getStoreItem(int, int); - char const* getMapPackKey(int); - TodoReturn getRewardItem(GJRewardType); - TodoReturn getCurrencyKey(GJGameLevel*) = win 0x16f440, mac 0x6fcd0; - TodoReturn getStatFromKey(StatKey) = mac 0x6c690; - TodoReturn getBaseCurrency(int, bool, int); - TodoReturn getBaseDiamonds(int) = mac 0x706c0; - //TodoReturn getChallengeKey(GJChallengeItem*); - TodoReturn getStarLevelKey(GJGameLevel*) = win 0x16d4e0; - TodoReturn getBonusDiamonds(int) = mac 0x706e0; - TodoReturn getDailyLevelKey(int) = win 0x171530; - TodoReturn getDemonLevelKey(GJGameLevel*) = win 0x16d480; - TodoReturn getListRewardKey(GJLevelList*); - TodoReturn getPathRewardKey(int); - TodoReturn getSecretCoinKey(char const*); - int getItemUnlockState(int, UnlockType) = mac 0x77e40; - GJChallengeItem* getQueuedChallenge(int) = mac 0x73830; - TodoReturn getCompletedMapPacks(); - gd::string getGauntletRewardKey(int) = mac 0x78490; - TodoReturn getNextVideoAdReward(); - TodoReturn getSecretChestForItem(int, UnlockType); - TodoReturn getItemUnlockStateLite(int, UnlockType); - int getBaseCurrencyForLevel(GJGameLevel*) = mac 0x6fde0, win 0x16F560; - TodoReturn getRewardForSecretChest(int); - TodoReturn getRewardForSpecialChest(gd::string); - int getCollectedCoinsForLevel(GJGameLevel*) = win 0x16d240; - TodoReturn getSpecialChestKeyForItem(int, UnlockType); - int getTotalCollectedCurrency() = mac 0x74b00; - int getTotalCollectedDiamonds() = mac 0x757b0; - int getAwardedCurrencyForLevel(GJGameLevel*) = mac 0x6ffb0, win 0x16F680; - TodoReturn getAwardedDiamondsForLevel(GJGameLevel*) = mac 0x70720; - GJChallengeItem* getSecondaryQueuedChallenge(int) = mac 0x73910; - TodoReturn getSpecialRewardDescription(gd::string, bool); - TodoReturn getSpecialUnlockDescription(int, UnlockType, bool) = mac 0x789e0; - int getStat(char const*) = win 0x168680, mac 0x66800; - - /* unverified signature */ - void setStatIfHigher(char const*, int); - /* unverified signature */ - void setStarsForMapPack(int, int); - /* unverified signature */ - void setStat(char const*, int) = win 0x168760, mac 0x66a40; - - void dataLoaded(DS_Dictionary*) = mac 0x89460; - void firstSetup(); - TodoReturn hasUserCoin(char const*) = mac 0x6f490, win 0x16ecd0; - static GameStatsManager* sharedState() = win 0x165df0, mac 0x5d0a0; - TodoReturn addStoreItem(int, int, int, int, ShopType) = win 0x167FB0, mac 0x662c0; - void encodeDataTo(DS_Dictionary*) = win 0x17DE70; - /* unverified signature */ - bool isSecretCoin(gd::string); - TodoReturn purchaseItem(int) = win 0x168160; - TodoReturn resetPreSync(); - //TodoReturn collectReward(GJRewardType, GJRewardItem*); - bool hasSecretCoin(char const*) = win 0x16efb0, mac 0x6cc30; - TodoReturn incrementStat(char const*); - TodoReturn incrementStat(char const*, int) = win 0x1682C0; - /* unverified signature */ - bool isItemEnabled(UnlockType, int) = win 0x173f90, mac 0x78170; - TodoReturn storeUserCoin(char const*); - TodoReturn awardSecretKey() = win 0x17d860; - TodoReturn completedLevel(GJGameLevel*); - /* unverified signature */ - bool isItemUnlocked(UnlockType, int) = win 0x173D10, mac 0x6b670; - /* unverified signature */ - bool isPathUnlocked(StatKey); - TodoReturn resetUserCoins(); - //TodoReturn storeChallenge(int, GJChallengeItem*); - TodoReturn claimListReward(GJLevelList*); - TodoReturn removeChallenge(int); - TodoReturn restorePostSync(); - TodoReturn starsForMapPack(int); - TodoReturn storeSecretCoin(char const*); - TodoReturn uncompleteLevel(GJGameLevel*); - TodoReturn unlockPathChest(int); - TodoReturn verifyUserCoins(); - TodoReturn accountIDForIcon(int, UnlockType) = mac 0x3087a0; - TodoReturn areRewardsLoaded() = mac 0x70f00; - TodoReturn checkAchievement(char const*) = win 0x168870; - //TodoReturn completedMapPack(GJMapPack*); - TodoReturn createStoreItems() = mac 0x5d4c0; - //TodoReturn preProcessReward(GJRewardItem*) = win 0x170450; - TodoReturn preSaveGameStats(); - TodoReturn recountUserCoins(bool); - TodoReturn setupIconCredits() = mac 0x308880; - TodoReturn storeRewardState(GJRewardType, int, int, gd::string); - void toggleEnableItem(UnlockType, int, bool) = win 0x174030, mac 0x78200; - TodoReturn updateActivePath(StatKey); - TodoReturn countSecretChests(GJRewardType) = mac 0x885d0; - bool hasCompletedLevel(GJGameLevel* level) { - return m_completedLevels->objectForKey(this->getLevelKey(level)) != nullptr; - } - /* unverified signature */ - bool isSecretCoinValid(gd::string); - TodoReturn postLoadGameStats(); - TodoReturn shopTypeForItemID(int); - TodoReturn unlockSecretChest(int) = win 0x1780B0; - TodoReturn checkCoinsForLevel(GJGameLevel*); - TodoReturn collectVideoReward(int); - //TodoReturn completedChallenge(GJChallengeItem*); - TodoReturn completedStarLevel(GJGameLevel*) = mac 0x6d730, win 0x16d970; - TodoReturn hasPendingUserCoin(char const*) = mac 0x6f3c0, win 0x16ee40; - TodoReturn incrementChallenge(GJChallengeType, int) = win 0x170E40; - TodoReturn storeChallengeTime(int) = mac 0x73130; - TodoReturn unlockSpecialChest(gd::string) = win 0x177940; - TodoReturn areChallengesLoaded() = mac 0x731b0; - TodoReturn completedDailyLevel(GJGameLevel*); - TodoReturn completedDemonLevel(GJGameLevel*) = mac 0x6d5a0, win 0x16d880; - TodoReturn hasCompletedMapPack(int); - TodoReturn incrementActivePath(int) = win 0x168560; - /* unverified signature */ - bool isPathChestUnlocked(int); - /* unverified signature */ - bool isStoreItemUnlocked(int) = win 0x168080; - TodoReturn recountSpecialStats() = mac 0x75ce0; - TodoReturn resetChallengeTimer() = mac 0x73190; - TodoReturn trySelectActivePath() = mac 0x6c280; - TodoReturn unlockGauntletChest(int); - TodoReturn checkCoinAchievement(GJGameLevel*); - TodoReturn hasClaimedListReward(GJLevelList*); - TodoReturn shouldAwardSecretKey(); - TodoReturn storePendingUserCoin(char const*); - //TodoReturn storeQueuedChallenge(int, GJChallengeItem*); - TodoReturn usernameForAccountID(int) = win 0x15c8b0, mac 0x308810; - TodoReturn awardCurrencyForLevel(GJGameLevel*) = win 0x16F850, mac 0x70180; - TodoReturn awardDiamondsForLevel(GJGameLevel*) = win 0x16FD70; - //TodoReturn hasCompletedChallenge(GJChallengeItem*); - bool hasCompletedMainLevel(int levelID) { - return m_completedLevels->objectForKey(this->getLevelKey(levelID, false, false, false)) != nullptr; - } - TodoReturn hasCompletedStarLevel(GJGameLevel*) = mac 0x6d360, win 0x16d690; - /* unverified signature */ - bool isSecretChestUnlocked(int); - TodoReturn keyCostForSecretChest(int) = win 0x1781C0; - TodoReturn processChallengeQueue(int) = mac 0x73d60; - TodoReturn removeQueuedChallenge(int); - void createSecretChestItems() = mac 0x5fb50; - TodoReturn hasCompletedDailyLevel(int) = mac 0x741b0, win 0x1715b0; - TodoReturn hasCompletedDemonLevel(GJGameLevel*); - TodoReturn hasRewardBeenCollected(GJRewardType, int); - /* unverified signature */ - bool isSpecialChestUnlocked(gd::string) = mac 0x77d60, win 0x177860; - TodoReturn createSpecialChestItems() = mac 0x5fca0; - bool hasCompletedOnlineLevel(int) = mac 0x6d140; - /* unverified signature */ - bool isGauntletChestUnlocked(int) = mac 0x77bc0; - //TodoReturn registerRewardsFromItem(GJRewardItem*) = win 0x17D700; - TodoReturn createSecretChestRewards() = mac 0x79370; - TodoReturn countUnlockedSecretChests(GJRewardType) = mac 0x88630; - TodoReturn hasCompletedGauntletLevel(int) = mac 0x6d1c0; - TodoReturn generateItemUnlockableData() = mac 0x65480; - TodoReturn addSimpleSpecialChestReward(gd::string, UnlockType, int, bool); - void addSpecialRewardDescription(gd::string, gd::string); - /* unverified signature */ - bool isSpecialChestLiteUnlockable(gd::string); - TodoReturn removeErrorFromSpecialChests() = mac 0x77560; - TodoReturn resetSpecialStatAchievements() = mac 0x77920; - //TodoReturn storeSecondaryQueuedChallenge(int, GJChallengeItem*); - TodoReturn markLevelAsCompletedAndClaimed(GJGameLevel*); - TodoReturn removeQueuedSecondaryChallenge(int); - TodoReturn logCoins(); - TodoReturn tempClear(); - - virtual bool init() = mac 0x5d410; - - bool m_usePlayerStatsCCDictionary; - cocos2d::CCString* m_trueString; - cocos2d::CCDictionary* m_allStoreItems; - cocos2d::CCDictionary* m_storeItems; - cocos2d::CCDictionary* m_allTreasureRoomChests; - cocos2d::CCDictionary* m_allTreasureRoomChestItems; - cocos2d::CCDictionary* m_allSpecialChests; - cocos2d::CCDictionary* m_allSpecialChestItems; - gd::map m_specialRewardDescriptions; - gd::map m_createSpecialChestItemsMap; - cocos2d::CCDictionary* m_specialChestsLite; - cocos2d::CCArray* m_storeItemArray; - cocos2d::CCDictionary* m_rewardItems; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - double m_challengeTime; - cocos2d::CCDictionary* m_playerStats; - gd::map m_playerStatsRandMap; - gd::map m_playerStatsSeedMap; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_completedLists; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; - cocos2d::CCDictionary* m_enabledItems; - bool m_unkBoolIncrementStat; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_unlockedItems; - gd::map m_accountIDForIcon; - gd::map m_usernameForAccountID; - int m_activePath; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate { - static LevelSearchLayer* create(int) = mac 0x5ebb80, win 0x25C4E0; - - bool init(int) = mac 0x5ebc90, win 0x25C580; - LevelSearchLayer() = win 0x25c160; - ~LevelSearchLayer() = win 0x25c3c0; - - char const* getDiffKey(int); - TodoReturn getTimeKey(int); - TodoReturn getLevelLenKey(); - GJSearchObject* getSearchObject(SearchType, gd::string) = mac 0x5f0380, win 0x25F210; - TodoReturn getSearchDiffKey(); - - void onFollowed(cocos2d::CCObject* sender) = mac 0x5eee90; - void onTrending(cocos2d::CCObject* sender) = mac 0x5eec10; - void onMostLikes(cocos2d::CCObject* sender) = mac 0x5eead0; - void onStarAward(cocos2d::CCObject* sender); - void onSuggested(cocos2d::CCObject* sender) = mac 0x5eeb70; - void onMostRecent(cocos2d::CCObject* sender) = mac 0x5eecb0; - void onSearchMode(cocos2d::CCObject* sender) = mac 0x5ee380; - void onSearchUser(cocos2d::CCObject* sender) = mac 0x5ee800; - void onLatestStars(cocos2d::CCObject* sender) = mac 0x5eedf0; - void onMoreOptions(cocos2d::CCObject* sender) = mac 0x5ee360, win 0x25e040; - void onSpecialDemon(cocos2d::CCObject* sender); - void onMostDownloaded(cocos2d::CCObject* sender) = mac 0x5eea30; - void onClearFreeSearch(cocos2d::CCObject* sender) = mac 0x5ee920; - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender) = mac 0x5eed50; - void onSearch(cocos2d::CCObject* sender) = mac 0x5ee6f0; - void onFriends(cocos2d::CCObject* sender) = mac 0x5eef30; - - TodoReturn toggleStar(cocos2d::CCObject*); - TodoReturn toggleTime(cocos2d::CCObject*); - TodoReturn clearFilters(); - TodoReturn toggleTimeNum(int, bool) = mac 0x5ef890; - TodoReturn toggleDifficulty(cocos2d::CCObject*); - TodoReturn updateSearchLabel(char const*) = mac 0x5ee3d0, win 0x25ef40; - TodoReturn confirmClearFilters(cocos2d::CCObject*) = mac 0x5ee280, win 0x25dfc0; - TodoReturn toggleDifficultyNum(int, bool) = mac 0x5ef720; - TodoReturn scene(int) = mac 0x5eba40; - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - - virtual void keyBackClicked() = mac 0x5f0b60; - virtual void textInputOpened(CCTextInputNode*) = mac 0x5f0100; - virtual void textInputClosed(CCTextInputNode*) = mac 0x5f01c0; - virtual void textChanged(CCTextInputNode*) = mac 0x5f0290; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5f0090; - virtual void demonFilterSelectClosed(int) = mac 0x5efb80; - - int m_type; - CCTextInputNode* m_searchInput; - cocos2d::CCSprite* m_starsSprite; - cocos2d::CCArray* m_difficultySprites; - cocos2d::CCArray* m_lengthSprites; - cocos2d::CCDictionary* m_difficultyDict; - cocos2d::CCSprite* m_lastDifficultySprite; - CCMenuItemSpriteExtra* m_demonTypeButton; -} - -[[link(android)]] -class DemonFilterDelegate { - virtual void demonFilterSelectClosed(int) {} -} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - static GJComment* create(cocos2d::CCDictionary*); - static GJComment* create() = mac 0x51edd0; - - ~GJComment(); - - virtual bool init() = mac 0x52e360; - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - bool m_unkMultiplayerBool; - GJUserScore* m_userScore; -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - ~CommentCell(); - - TodoReturn onUndelete(); - void onGoToLevel(cocos2d::CCObject* sender) = mac 0x233020; - void onViewProfile(cocos2d::CCObject* sender) = mac 0x232ff0; - void onConfirmDelete(cocos2d::CCObject* sender) = win 0x85BC0, mac 0x2331f0; - void onLike(cocos2d::CCObject* sender) = win 0x85A10; - TodoReturn onDelete() = win 0x85c60; - void onUnhide(cocos2d::CCObject* sender) = win 0x85D10; - - void updateBGColor(int) = win 0x85990; - TodoReturn incrementLikes(); - void loadFromComment(GJComment*) = mac 0x2266f0, win 0x83E20; - TodoReturn incrementDislikes(); - void updateLabelValues(); - CommentCell(char const*, float, float); - - virtual bool init() = mac 0x232fc0; - virtual void draw() = mac 0x2332e0; - virtual void likedItem(LikeItemType, int, bool) = win 0x85AF0, mac 0x2333b0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x85CD0, mac 0x233750; - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class ShaderGameObject : EffectGameObject { - static ShaderGameObject* create(char const*); - - bool init(char const*); - ~ShaderGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x18f0d0; - - virtual void customSetup() = mac 0x18b710; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x18b780; -} - -[[link(android)]] -class KeyframeGameObject : EffectGameObject { - static KeyframeGameObject* create(); - - ~KeyframeGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ad8d0; - TodoReturn updateShadowObjects(GJBaseGameLayer*, EditorUI*) = mac 0x1ad510; - - virtual bool init() = mac 0x1ad4a0; - virtual void setOpacity(unsigned char) = mac 0x1ad770; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1ade40; -} - -[[link(android)]] -class ArtTriggerGameObject : EffectGameObject { - static ArtTriggerGameObject* create(char const*); - - bool init(char const*); - ~ArtTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1cd8f0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1cd890; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1cd460; -} - -[[link(android)]] -class EndTriggerGameObject : EffectGameObject { - static EndTriggerGameObject* create(); - - ~EndTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1becc0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1bf950; - - virtual bool init() = mac 0x1bec70; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1bee70; -} - -[[link(android)]] -class ForceBlockGameObject : EffectGameObject { - static ForceBlockGameObject* create(char const*); - - bool init(char const*); - ~ForceBlockGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ccec0; - TodoReturn calculateForceToTarget(GameObject*); - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1cc370; -} - -[[link(android)]] -class SFXTriggerGameObject : EffectGameObject { - static SFXTriggerGameObject* create(char const*); - - bool init(char const*); - ~SFXTriggerGameObject(); - - TodoReturn getSFXRefID(); - TodoReturn getUniqueSFXID(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1b3b10; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1b0040; -} - -[[link(android)]] -class UISettingsGameObject : EffectGameObject { - static UISettingsGameObject* create(); - - ~UISettingsGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1c0840; - - virtual bool init() = mac 0x1bfbb0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1bfc00; -} - -[[link(android)]] -class ItemTriggerGameObject : EffectGameObject { - static ItemTriggerGameObject* create(char const*); - - bool init(char const*); - ~ItemTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1c7040; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1cac80; - - virtual void customSetup() = mac 0x1c7000; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1c7260; -} - -[[link(android)]] -class RandTriggerGameObject : ChanceTriggerGameObject { - static RandTriggerGameObject* create(); - - ~RandTriggerGameObject(); - - TodoReturn getTotalChance(); - TodoReturn getRandomGroupID(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1aa2b0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1aa600; - - virtual bool init() = mac 0x1aa020; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1aab30; -} - -[[link(android)]] -class SongTriggerGameObject : SFXTriggerGameObject { - static SongTriggerGameObject* create(char const*); - - bool init(char const*); - ~SongTriggerGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1b4ef0; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1b4800; -} - -[[link(android)]] -class CountTriggerGameObject : EffectGameObject { - static CountTriggerGameObject* create(char const*); - - bool init(char const*); - ~CountTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1ba430; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ba850; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1bac80; -} - -[[link(android)]] -class SpawnTriggerGameObject : EffectGameObject { - static SpawnTriggerGameObject* create(); - - ~SpawnTriggerGameObject(); - - TodoReturn changeRemap(int, int, bool); - TodoReturn removeRemap(int, int); - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1b6f40; - TodoReturn updateRemapKeys(gd::vector const&); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1b7420; - TodoReturn addRemap(int, int); - - virtual bool init() = mac 0x1b6640; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1b7830; -} - -[[link(android)]] -class TimerTriggerGameObject : EffectGameObject { - static TimerTriggerGameObject* create(char const*); - - bool init(char const*); - ~TimerTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1c5120; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1c6aa0; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1c5310; -} - -[[link(android)]] -class CameraTriggerGameObject : EffectGameObject { - static CameraTriggerGameObject* create(char const*); - - bool init(char const*); - ~CameraTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3abfb0, mac 0x1c0b40; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1c4650; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1c0da0; -} - -[[link(android)]] -class ChanceTriggerGameObject : EffectGameObject { - bool init(char const*); - ~ChanceTriggerGameObject(); - - TodoReturn editChanceObject(int, int); - TodoReturn revertChanceRemap(); - TodoReturn remapChanceObjects(gd::unordered_map const*); -} - -[[link(android)]] -class ObjectControlGameObject : EffectGameObject { - static ObjectControlGameObject* create(); - - ~ObjectControlGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ced00; - - virtual bool init() = mac 0x1ce7e0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1ce830; -} - -[[link(android)]] -class PlayerControlGameObject : EffectGameObject { - static PlayerControlGameObject* create(); - - ~PlayerControlGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ce540; - - virtual bool init() = mac 0x1cda10; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1cda60; -} - -[[link(android)]] -class SpawnParticleGameObject : EffectGameObject { - static SpawnParticleGameObject* create(); - - ~SpawnParticleGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1d0e50; - - virtual bool init() = mac 0x1cf9b0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1cfa00; -} - -[[link(android)]] -class AudioLineGuideGameObject : EffectGameObject { - static AudioLineGuideGameObject* create(); - - ~AudioLineGuideGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1cc0f0; - - virtual bool init() = mac 0x1cb630; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1cb680; -} - -[[link(android)]] -class RotateGameplayGameObject : EffectGameObject { - static RotateGameplayGameObject* create(); - - ~RotateGameplayGameObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1d2480; - TodoReturn updateGameplayRotation(); - - virtual bool init() = mac 0x1d1270; - virtual TodoReturn updateStartValues() = mac 0x1d2800; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1d12c0; -} - -[[link(android)]] -class TriggerControlGameObject : EffectGameObject { - static TriggerControlGameObject* create(char const*); - - bool init(char const*); - ~TriggerControlGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1cf8c0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1cf650; - TodoReturn updateTriggerControlFrame(); - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1ceec0; -} - -[[link(android)]] -class SequenceTriggerGameObject : ChanceTriggerGameObject { - static SequenceTriggerGameObject* create(); - - ~SequenceTriggerGameObject(); - - TodoReturn deleteTarget(int); - TodoReturn reorderTarget(int, bool); - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1ab7b0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1abe10; - TodoReturn updateSequenceTotalCount(); - TodoReturn addCount(int, int); - TodoReturn addTarget(int, int); - - virtual bool init() = mac 0x1ab4a0; - virtual void resetObject() = mac 0x1ab4f0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1ac290; -} - -[[link(android)]] -class TransformTriggerGameObject : EffectGameObject { - static TransformTriggerGameObject* create(char const*); - - bool init(char const*); - ~TransformTriggerGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1bcdb0; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1bcde0; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1bd1d0; -} - -[[link(android)]] -class AdvancedFollowTriggerObject : EffectGameObject { - static AdvancedFollowTriggerObject* create(char const*); - - bool init(char const*); - ~AdvancedFollowTriggerObject(); - - TodoReturn getAdvancedFollowID(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x196500; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x18fcc0; -} - -[[link(android)]] -class EventLinkTrigger : EffectGameObject { - static EventLinkTrigger* create(); - - ~EventLinkTrigger(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1b5220; - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1b5f20; - - virtual bool init() = mac 0x1b51d0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1b53d0; -} - -[[link(android)]] -class EnterEffectObject : EffectGameObject { - static EnterEffectObject* create(char const*); - - bool init(char const*); - ~EnterEffectObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x185f00; - TodoReturn resetEnterAnimValues(); - - virtual void customSetup() = mac 0x185bc0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x175e70; -} - -[[link(android)]] -class GameOptionsTrigger : EffectGameObject { - static GameOptionsTrigger* create(char const*); - - bool init(char const*); - ~GameOptionsTrigger(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x199a50; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x198620; -} - -[[link(android)]] -class EnhancedTriggerObject : EffectGameObject { - static EnhancedTriggerObject* create(char const*); - - bool init(char const*); - ~EnhancedTriggerObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1a5550; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1a4d20; -} - -[[link(android)]] -class GradientTriggerObject : EffectGameObject { - static GradientTriggerObject* create(); - - ~GradientTriggerObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x18b290; - - virtual bool init() = mac 0x18a0a0; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x18a100; -} - -[[link(android)]] -class KeyframeAnimTriggerObject : EffectGameObject { - static KeyframeAnimTriggerObject* create(); - - ~KeyframeAnimTriggerObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1a4a20; - - virtual bool init() = mac 0x1a3e10; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1a3e60; -} - -[[link(android)]] -class DashRingObject : RingObject { - static DashRingObject* create(char const*) = mac 0x19dbf0; - - bool init(char const*); - ~DashRingObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x19dd40; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x19deb0; -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - static LevelSettingsObject* create() = win 0x248A80, mac 0xd9700; - - ~LevelSettingsObject(); - - gd::string getSaveString(); - - static LevelSettingsObject* objectFromDict(cocos2d::CCDictionary*); - static LevelSettingsObject* objectFromString(gd::string const&); - bool shouldUseYSection(); - void setupColorsFromLegacyMode(cocos2d::CCDictionary*); - - virtual bool init() = mac 0xf32f0; - - GJEffectManager* m_effectManager; - // property kA2 - int m_startMode; - // property kA4 - Speed m_startSpeed; - // property kA3 - bool m_startMini; - // property kA8 - bool m_startDual; - // property kA28 - bool m_mirrorMode; - // property kA29 - bool m_rotateGameplay; - // property kA10 - bool m_twoPlayerMode; - // property kA22 - bool m_platformerMode; - // property kA13 - float m_songOffset; - // property kA15 - bool m_fadeIn; - // property kA16 - bool m_fadeOut; - // property kA6 - int m_backgroundIndex; - // property kA7 - int m_groundIndex; - // property kA18 - int m_fontIndex; - // property kA25 - int m_middleGroundIndex; - // property kA9 - bool m_startsWithStartPos; - // property kA11 - bool m_isFlipped; - // property kA20 - bool m_reverseGameplay; - // property kA21 - bool m_disableStartPos; - // property kA19 - int m_targetOrder; - // property kA26 - int m_targetChannel; - - GJGameLevel* m_level; - // property kA14 - gd::string m_guidelineString; - - int m_defaultSongID; - // property kS39 - int m_colorPage; - // property kA17 - int m_groundLineIndex; - // property kA23 - bool m_propertykA23; - // property kA24 - bool m_propertykA24; - // property kA43 - bool m_noTimePenalty; - // property kA44 - int m_propertykA44; - // property kA35 - bool m_resetCamera; - // property kA36 - int m_spawnGroup; - // property kA27 - bool m_allowMultiRotation; - // property kA31 - bool m_enablePlayerSqueeze; - // property kA32 - bool m_fixGravityBug; - // property kA33 - bool m_fixNegativeScale; - // property kA34 - bool m_fixRobotJump; - // property kA37 - bool m_dynamicLevelHeight; - // property kA38 - bool m_sortGroups; - // property kA39 - bool m_fixRadiusCollision; - // property kA40 - bool m_enable22Changes; - // property kA41 - bool m_allowStaticRotate; - // property kA42 - bool m_reverseSync; -} - -[[link(android)]] -class TeleportPortalObject : RingObject { - static TeleportPortalObject* create(char const*, bool) = win 0x3a0e50; - - bool init(char const*, bool); - ~TeleportPortalObject(); - - TodoReturn getTeleportXOff(cocos2d::CCNode*); - - /* unverified signature */ - void setPositionOverride(cocos2d::CCPoint); - /* unverified signature */ - void setStartPosOverride(cocos2d::CCPoint); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1a7d10; - - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x1a5e40; - virtual void setRotation(float) = mac 0x1a5ef0; - virtual void setStartPos(cocos2d::CCPoint) = mac 0x1a5c90; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1a6040; - virtual void addToGroup(int) = mac 0x1a5f80; - virtual void removeFromGroup(int) = mac 0x1a5fe0; - virtual void setRotation2(float) = mac 0x1a5f50; - virtual void addToGroup2(int) = mac 0x1a5f60; - virtual void removeFromGroup2(int) = mac 0x1a5f70; - - void* m_unknown; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - // property 55 - bool m_teleportEase; - // property 345 - bool m_staticForceEnabled; - // property 346 - int m_staticForce; - // property 347 - bool m_redirectForceEnabled; - // property 350 - float m_redirectForceMod; - // property 348 - float m_redirectForceMin; - // property 349 - float m_redirectForceMax; - // property 351 - bool m_saveOffset; - // property 352 - bool m_ignoreX; - // property 353 - bool m_ignoreY; - // property 354 - int m_gravityMode; - // property 443 - bool m_property443; - // property 464 - bool m_property464; - // property 510 - bool m_property510; - // property 591 - bool m_property591; -} - -[[link(android)]] -class AdvancedFollowEditObject : AdvancedFollowTriggerObject { - static AdvancedFollowEditObject* create(char const*); - - bool init(char const*); - ~AdvancedFollowEditObject(); - - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x198350; - - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1977d0; -} - - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - static LevelEditorLayer* create(GJGameLevel*, bool); - - static LevelEditorLayer* get() { - return GameManager::sharedState()->m_levelEditorLayer; - } - - bool init(GJGameLevel*, bool) = win 0x2349d0, mac 0xd7300; - ~LevelEditorLayer(); - - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getSongIDs(bool&) = mac 0xe4010; - TodoReturn getAllObjects() = mac 0xde200; - TodoReturn getObjectRect(GameObject*, bool, bool); - TodoReturn getLastObjectX() = mac 0xeacf0; - TodoReturn getLevelString() = mac 0xdf4c0; - TodoReturn getLockedLayers() = mac 0xe3d70; - TodoReturn getSectionCount() = mac 0xe4e50; - TodoReturn getTriggerGroup(int); - TodoReturn getNextFreeSFXID(cocos2d::CCArray*); - TodoReturn getNextFreeItemID(cocos2d::CCArray*); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getNextFreeBlockID(cocos2d::CCArray*); - int getNextFreeGroupID(cocos2d::CCArray*); - TodoReturn getDelayedSpawnNode(); - TodoReturn getNextColorChannel(); - TodoReturn getSelectedEffectPos(); - TodoReturn getNextFreeGradientID(cocos2d::CCArray*); - TodoReturn getNextFreeSFXGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeEditorLayer(cocos2d::CCArray*); - TodoReturn getSavedEditorPosition(int); - TodoReturn getSelectedEditorOrder(); - TodoReturn getNextFreeAreaEffectID(cocos2d::CCArray*); - TodoReturn getNextFreeEnterChannel(cocos2d::CCArray*); - TodoReturn getNextFreeOrderChannel(cocos2d::CCArray*); - TodoReturn getSavedEditorPositions() = mac 0xe4a30; - TodoReturn getSelectedOrderChannel(); - TodoReturn getSFXIDs() = mac 0xe4540; - - void onPlaytest() = mac 0xee840; - TodoReturn onStopPlaytest() = mac 0xef430; - TodoReturn onPausePlaytest(); - TodoReturn onResumePlaytest(); - - void addSpecial(GameObject*); - TodoReturn toggleGrid(bool); - TodoReturn validGroup(GameObject*, bool); - TodoReturn objectMoved(GameObject*); - TodoReturn shouldBlend(int); - GameObject* createObject(int, cocos2d::CCPoint, bool) = win 0x236E70; - void handleAction(bool, cocos2d::CCArray*) = mac 0xdebb0; - TodoReturn removeObject(GameObject*, bool); - TodoReturn stopPlayback(); - TodoReturn toggleGround(bool) = mac 0xdb060; - TodoReturn updateEditor(float) = mac 0xd9800; - void addToRedoList(UndoObject*); - TodoReturn addTouchPoint(cocos2d::CCPoint) = win 0x24c0a0; - void addToUndoList(UndoObject*, bool) = mac 0xdbdc0; - TodoReturn canPasteState(); - // /* unverified signature */ - bool isLayerLocked(int) = mac 0xe4ec0; - TodoReturn objectsInRect(cocos2d::CCRect, bool); - void removeSpecial(GameObject*); - TodoReturn resetPlayback(); - TodoReturn updateOptions() = mac 0xd8810; - TodoReturn addPlayerPoint(cocos2d::CCPoint) = mac 0xf7560; - TodoReturn findGameObject(int); - TodoReturn recreateGroups(); - TodoReturn redoLastAction() = mac 0xdf480; - TodoReturn refreshSpecial(GameObject*); - TodoReturn runColorEffect(EffectGameObject*, int, float, float, bool); - TodoReturn undoLastAction() = mac 0xdf4a0; - TodoReturn addDelayedSpawn(EffectGameObject*, float); - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn applyGroupState(GameObject*, GameObject*); - TodoReturn copyObjectState(GameObject*); - TodoReturn dirtifyTriggers(); - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteGroupState(GameObject*, cocos2d::CCArray*); - TodoReturn unlockAllLayers() = mac 0xe4f00; - void updateDebugDraw(); - TodoReturn updateGridLayer(); - void updateLevelFont(int); - TodoReturn addExclusionList(cocos2d::CCArray*, cocos2d::CCDictionary*); - TodoReturn addObjectsInRect(cocos2d::CCRect, bool, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectToGroup(GameObject*, int); - TodoReturn clearTouchPoints(); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn removeAllObjects(); - TodoReturn toggleBackground(bool); - TodoReturn updateEditorMode() = mac 0xdac80; - TodoReturn clearPlayerPoints(); - TodoReturn copyParticleState(ParticleGameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - void resetObjectVector(); - TodoReturn spawnGroupPreview(int, float, float, float, float, float, bool, bool); - TodoReturn timeObjectChanged(); - TodoReturn updateBlendValues(); - TodoReturn updateGameObjects() = mac 0xd9c00; - TodoReturn updateObjectLabel(GameObject*); - TodoReturn updatePreviewAnim() = mac 0xf0810; - TodoReturn findStartPosObject(); - TodoReturn pasteParticleState(ParticleGameObject*, cocos2d::CCArray*); - TodoReturn resetMovingObjects(); - TodoReturn resetToggledGroups(); - TodoReturn saveEditorPosition(cocos2d::CCPoint&, int); - TodoReturn toggleGroupPreview(int, bool); - TodoReturn updateObjectColors(cocos2d::CCArray*); - TodoReturn addObjectFromVector(gd::vector&, gd::vector&); - TodoReturn applyAttributeState(GameObject*, GameObject*); - TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool) = mac 0xf0900; - TodoReturn pasteAttributeState(GameObject*, cocos2d::CCArray*); - TodoReturn stopTriggersInGroup(int, float); - TodoReturn updateToggledGroups(); - TodoReturn addObjectsAtPosition(cocos2d::CCPoint, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn breakApartTextObject(TextGameObject*); - TodoReturn reverseObjectChanged(EffectGameObject*); - TodoReturn triggerFollowCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EffectGameObject*); - TodoReturn tryUpdateSpeedObject(EffectGameObject*, bool); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn activateTriggerEffect(EffectGameObject*, float, float, float, bool); - TodoReturn sortBatchnodeChildren(float); - TodoReturn toggleLockActiveLayer(); - TodoReturn transferDefaultColors(GJEffectManager*, GJEffectManager*); - TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*) = mac 0xf09c0; - TodoReturn updateGridLayerParent(); - TodoReturn updateKeyframeObjects() = mac 0xe68f0; - TodoReturn updatePreviewParticle(ParticleGameObject*) = mac 0x19b760; - TodoReturn createObjectsFromSetup(gd::string&) = mac 0xd90b0; - TodoReturn removeAllObjectsOfType(int); - TodoReturn resetDelayedSpawnNodes(); - TodoReturn updatePreviewParticles() = mac 0xea7c0; - TodoReturn addPlayerCollisionBlock(); - void createObjectsFromString(gd::string const&, bool, bool); - TodoReturn quickUpdateAllPositions(); - TodoReturn resetEffectTriggerOptim(GameObject*, cocos2d::CCArray*); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn forceShowSelectedObjects(bool); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn processLoadedMoveActions(); - TodoReturn resetUnusedColorChannels() = mac 0xea560; - TodoReturn updateKeyframeVisibility(bool); - TodoReturn duplicateKeyframeAnimation(int); - TodoReturn removePlayerCollisionBlock(); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn triggerPlayerFollowCommand(EffectGameObject*); - TodoReturn resetToggledGroupsAndObjects(); - TodoReturn reverseKeyframeAnimationOrder(int); - TodoReturn updateAnimateOnTriggerObjects(bool); - static cocos2d::CCScene* scene(GJGameLevel*, bool) = mac 0xd71f0; - TodoReturn hasAction(bool); - TodoReturn updateArt(float); - - virtual void draw(); - virtual void postUpdate(float) = win 0x242560, mac 0xefae0; - virtual void updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn updateColor(cocos2d::_ccColor3B&, float, int, bool, float, cocos2d::_ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual void addToGroup(GameObject*, int, bool); - virtual void removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int); - virtual float posForTime(float); - virtual void resetSPTriggered(); - virtual TodoReturn didRotateGameplay() = win 0x241020; - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void levelSettingsUpdated(); - - bool m_drawTriggerBoxes; - bool m_showGrid; - bool m_hideGridOnPlay; - bool m_drawEffectLines; - bool m_showGround; - bool m_showDurationLines; - bool m_increaseMaxUndoRedo; - bool m_hideBackground; - bool m_gv0120; - bool m_layerLockingEnabled; - bool m_unkBool4; - bool m_previewParticles; - bool m_previewAnimations; - bool m_previewShaders; - bool m_hideParticleIcons; - bool m_unkBool5; - bool m_playTestSmoothFix; - - // haven't verified the mac padding - PAD = win 0xf, android32 0xf, android64 0xf, mac 0xf; - - cocos2d::CCArray* m_unkArr0; - cocos2d::CCArray* m_unkArr1; - cocos2d::CCArray* m_unkArr2; - cocos2d::CCArray* m_unkArr3; - cocos2d::CCArray* m_unkArr4; - cocos2d::CCArray* m_unkArr8; - cocos2d::CCArray* m_unkArr11; - cocos2d::CCArray* m_unkArr12; - cocos2d::CCArray* m_unkArr13; - cocos2d::CCDictionary* m_unkDict3; - cocos2d::CCArray* m_unkArr5; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x10, mac 0x10; - - cocos2d::CCDictionary* m_unkDict4; - cocos2d::CCArray* m_unkArr7; - bool m_unkBool3; - bool m_unkBool2; - geode::SeedValueRSV m_coinCount; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x8, mac 0x8; - - cocos2d::CCArray* m_unkArr6; - - // haven't verified the mac padding - PAD = win 0x4, android32 0x4, android64 0x8, mac 0x8; - - cocos2d::CCDictionary* m_unkDict1; - cocos2d::CCDictionary* m_unkDict2; - bool m_unkBool0; - bool m_unkBool1; - short m_currentLayer; - - // haven't verified the mac padding - PAD = win 0x18, android32 0x18, android64 0x24, mac 0x24; - - EditorUI* m_editorUI; - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; - geode::SeedValueRSV m_objectCount; - DrawGridLayer* m_drawGridLayer; - bool m_unkBool; - bool m_previewMode; -} - - - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated(); -} - - -[[link(android)]] -class ColorSelectDelegate { - virtual void colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual void scaleXYChanged(float, float); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); -} - - -[[link(android)]] -class GJTransformControlDelegate { - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformChangeBegin(); - virtual TodoReturn transformChangeEnded(); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn getTransformNode(); - virtual TodoReturn getUI(); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void loadSongInfoFinished(SongInfoObject*); - virtual void loadSongInfoFailed(int, GJSongError); - virtual void downloadSongFinished(int); - virtual void downloadSongFailed(int, GJSongError); - virtual void songStateChanged(); - virtual void downloadSFXFinished(int); - virtual void downloadSFXFailed(int, GJSongError); - virtual void musicActionFinished(GJMusicAction); - virtual void musicActionFailed(GJMusicAction); -} - - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, GJTransformControlDelegate, MusicDownloadDelegate, SetIDPopupDelegate { - static EditorUI* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*) = mac 0xcc50, win 0xa36f0; - ~EditorUI(); - - TodoReturn getModeBtn(char const*, int); - TodoReturn getNeighbor(int, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getCreateBtn(int, int); - TodoReturn getGroupInfo(GameObject*, cocos2d::CCArray*, int&, int&, int&); - TodoReturn getSnapAngle(GameObject*, cocos2d::CCArray*); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getGroupCenter(cocos2d::CCArray*, bool) = mac 0x3f570; - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getSimpleButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSmartNeighbor(SmartGameObject*, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getRandomStartKey(int); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSmartObjectKey(int, GJSmartDirection); - TodoReturn getTransformState(); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getSelectedObjects() = mac 0x406e0; - TodoReturn getEditColorTargets(ColorAction*&, ColorAction*&, EffectGameObject*&) = mac 0x4cf40; - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getXMin(int) = win 0xd7470, mac 0x329d0; - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - - void onPlayback(cocos2d::CCObject* sender) = win 0xc9130, mac 0xff20; - void onPlaytest(cocos2d::CCObject* sender) = mac 0x10160, win 0xc9480; - void onSettings(cocos2d::CCObject* sender) = win 0xa5570; - void onCopyState(cocos2d::CCObject* sender) = win 0xcb0c0; - void onDeleteAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender) = mac 0x2e8d0; - void onEditColor(cocos2d::CCObject* sender) = win 0xd3370; - void onGoToLayer(cocos2d::CCObject* sender) = win 0xcb200; - void onGroupDown(cocos2d::CCObject* sender); - void onLockLayer(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onFindObject(cocos2d::CCObject* sender); - void onPasteColor(cocos2d::CCObject* sender); - void onPasteState(cocos2d::CCObject* sender); - void onColorFilter(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onGroupSticky(cocos2d::CCObject* sender) = mac 0x10540; - void onToggleGuide(EffectGameObject*); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onPasteInPlace(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender) = win 0xc95f0, mac 0x103a0; - void onGoToBaseLayer(cocos2d::CCObject* sender); - void onGroupIDFilter(cocos2d::CCObject* sender); - void onNewCustomItem(cocos2d::CCObject* sender) = win 0xa7650; - void onUngroupSticky(cocos2d::CCObject* sender) = mac 0x10590; - void onDeleteSelected(cocos2d::CCObject* sender) = mac 0xfd90; - void onDeleteStartPos(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - TodoReturn onTargetIDChange(int); - TodoReturn onAssignNewGroupID(); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onResetSpecialFilter(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn onToggleSelectedOrder(EffectGameObject*); - void onCopy(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0xa55c0, mac 0x2e360; - bool onCreate(); - void onDelete(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - - TodoReturn createGlow(); - TodoReturn createLoop() = mac 0x48bf0; - TodoReturn editObject(cocos2d::CCObject*); - void moveObject(GameObject*, cocos2d::CCPoint); - TodoReturn shouldSnap(GameObject*); - void toggleMode(cocos2d::CCObject*); - void toggleSnap(cocos2d::CCObject*) = mac 0xfb20; - TodoReturn updateZoom(float) = win 0xc97c0, mac 0x41400; - TodoReturn applyOffset(GameObject*); - TodoReturn copyObjects(cocos2d::CCArray*, bool, bool); - void deselectAll() = win 0xc8a10; - TodoReturn editObject2(cocos2d::CCObject*); - TodoReturn editObject3(cocos2d::CCObject*); - void toggleSwipe(cocos2d::CCObject*) = mac 0xf9c0; - TodoReturn alignObjects(cocos2d::CCArray*, bool) = mac 0x50c70; - TodoReturn createExtras(cocos2d::CCArray*); - GameObject* createObject(int, cocos2d::CCPoint); - TodoReturn createPrefab(GJSmartTemplate*, gd::string, int); - void deleteObject(GameObject*, bool); - TodoReturn enableButton(CreateMenuItem*); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn offsetForKey(int); - void pasteObjects(gd::string, bool) = win 0xca640; - TodoReturn removeOffset(GameObject*); - void scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType) = win 0xd5910; - void selectObject(GameObject*, bool); - void showMaxError(); - TodoReturn toggleLockUI(bool) = mac 0x30d20; - TodoReturn updateSlider(); - TodoReturn disableButton(CreateMenuItem*); - TodoReturn doCopyObjects(bool) = mac 0x419e0; - TodoReturn edgeForObject(int, int); - TodoReturn moveGamelayer(cocos2d::CCPoint); - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - void selectObjects(cocos2d::CCArray*, bool); - void setupEditMenu(); - void sliderChanged(cocos2d::CCObject*) = mac 0xf360; - void updateButtons() = mac 0x303f0; - float valueFromXPos(float) = win 0xa62b0; - float xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn createMoveMenu(); - TodoReturn createOutlines(cocos2d::CCArray*); - void deselectObject(GameObject*) = mac 0x58f330; - void deselectObject() = mac 0x36850; - TodoReturn doPasteInPlace(bool); - TodoReturn doPasteObjects(bool) = mac 0x41b00; - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn moveForCommand(EditCommand); - void moveObjectCall(EditCommand); - void moveObjectCall(cocos2d::CCObject*); - TodoReturn playCircleAnim(cocos2d::CCPoint, float, float); - TodoReturn redoLastAction(cocos2d::CCObject*) = mac 0xfd30; - TodoReturn replaceGroupID(GameObject*, int, int); - TodoReturn selectBuildTab(int); - void toggleFreeMove(cocos2d::CCObject*) = mac 0xfab0; - void undoLastAction(cocos2d::CCObject*) = mac 0xfcd0; - TodoReturn updateEditMenu(); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn assignNewGroups(bool) = mac 0x487f0; - TodoReturn canSelectObject(GameObject*); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn createRockBases(cocos2d::CCArray*) = mac 0x5d8d90; - TodoReturn createRockEdges(cocos2d::CCArray*); - TodoReturn findTriggerTest(); - TodoReturn playtestStopped() = win 0xc9630, mac 0x41330; - void setupCreateMenu(); - void setupDeleteMenu() = mac 0x105e0; - TodoReturn smartTypeForKey(int); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn convertToBaseKey(int); - TodoReturn createUndoObject(UndoCommand, bool); - TodoReturn editButtonUsable() = mac 0x4b3b0; - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - void showMaxCoinError(); - TodoReturn transformObjects(cocos2d::CCArray*, cocos2d::CCPoint, float, float, float, float, float, float); - TodoReturn triggerSwipeMode(); - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteMenu(); - void colorSelectClosed(cocos2d::_ccColor3B); - cocos2d::CCArray* createCustomItems(); - TodoReturn createExtraObject(int, cocos2d::CCPoint, GameObject*, cocos2d::CCArray*, int, int); - TodoReturn editButton2Usable() = mac 0x4c120; - TodoReturn editObjectSpecial(int); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - TodoReturn reloadCustomItems(); - void showMaxBasicError(); - TodoReturn updateGroupIDBtn2(); - TodoReturn updatePlaybackBtn() = win 0xc9370, mac 0x30c10; - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn arrayContainsClass(cocos2d::CCArray*, int); - TodoReturn closeLiveHSVSelect(); - TodoReturn dynamicGroupUpdate(bool) = mac 0x47c90; - TodoReturn recreateButtonTabs() = mac 0x355b0; - TodoReturn rotationforCommand(EditCommand); - TodoReturn shouldDeleteObject(GameObject*) = mac 0x36140; - void toggleEnableRotate(cocos2d::CCObject*) = mac 0xfba0; - TodoReturn updateGridNodeSize(int); - TodoReturn updateGridNodeSize(); - TodoReturn updateGroupIDLabel() = mac 0x302f0; - TodoReturn copyObjectsDetailed(cocos2d::CCArray*); - TodoReturn createEdgeForObject(GameObject*, int); - TodoReturn editorLayerForArray(cocos2d::CCArray*, bool); - TodoReturn findAndSelectObject(int, bool); - // /* unverified signature */ - bool isSpecialSnapObject(int); - TodoReturn liveEditColorUsable(); - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn positionIsInSnapped(cocos2d::CCPoint); - void selectObjectsInRect(cocos2d::CCRect); - TodoReturn transformObjectCall(EditCommand); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn updateDeleteButtons(); - TodoReturn activateScaleControl(cocos2d::CCObject*); - TodoReturn centerCameraOnObject(GameObject*); - TodoReturn checkLiveColorSelect(); - TodoReturn closeLiveColorSelect(); - void deselectObjectsColor(); - TodoReturn processSelectObjects(cocos2d::CCArray*); - TodoReturn toggleStickyControls(bool); - void tryUpdateTimeMarkers(); - TodoReturn canAllowMultiActivate(GameObject*, cocos2d::CCArray*); - TodoReturn changeSelectedObjects(cocos2d::CCArray*, bool); - TodoReturn createExtrasForObject(int, GameObject*, cocos2d::CCArray*); - TodoReturn createNewKeyframeAnim(); - TodoReturn deleteTypeFromObjects(int, cocos2d::CCArray*); - TodoReturn deselectTargetPortals() = mac 0x36210; - TodoReturn editColorButtonUsable(); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn setupTransformControl(); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleObjectInfoLabel() = mac 0x30b50; - TodoReturn transformObjectsReset(); - TodoReturn updateEditButtonColor(int, cocos2d::_ccColor3B); - TodoReturn updateEditColorButton() = mac 0x4c630; - TodoReturn updateObjectInfoLabel() = mac 0x32dd0; - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateScaleControl(); - TodoReturn selectAllWithDirection(bool) = mac 0x40d10; - void showDeleteConfirmation(); - cocos2d::CCPoint* spriteFromObjectString(gd::string, bool, bool, int, cocos2d::CCArray*, cocos2d::CCArray*, GameObject*) = mac 0x37820; - TodoReturn toggleEditObjectButton(); - TodoReturn transformObjectsActive(); - TodoReturn activateRotationControl(cocos2d::CCObject*) = mac 0x41020; - void resetObjectEditorValues(cocos2d::CCArray*); - TodoReturn updateSpecialUIElements(); - TodoReturn activateTransformControl(cocos2d::CCObject*); - // /* unverified signature */ - bool isLiveColorSelectTrigger(GameObject*); - TodoReturn menuItemFromObjectString(gd::string, int); - TodoReturn toggleSpecialEditButtons() = mac 0x30f70; - TodoReturn addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*); - TodoReturn deactivateRotationControl(); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool); - TodoReturn resetSelectedObjectsColor(); - void constrainGameLayerPosition(float x, float y) = win 0xd7250, mac 0x2e5c0; - // Inlined on Windows and Mac - void constrainGameLayerPosition() { - this->constrainGameLayerPosition(-100, -100); - } - TodoReturn convertKeyBasedOnNeighbors(int, int, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn createSmartObjectsFromType(int, cocos2d::CCArray*, bool, bool); - TodoReturn deactivateTransformControl() = mac 0x42300; - void showLiveColorSelectForMode(int); - TodoReturn processSmartObjectsFromType(int, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn deleteSmartBlocksFromObjects(cocos2d::CCArray*); - TodoReturn checkDiffAfterTransformAnchor(cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn createSmartObjectsFromTemplate(GJSmartTemplate*, cocos2d::CCArray*, bool, bool, bool, bool); - void showLiveColorSelectForModeSpecial(int); - void showUI(bool) = mac 0x411b0; - TodoReturn zoomIn(cocos2d::CCObject*) = mac 0x104a0; - TodoReturn editHSV(); - TodoReturn resetUI(); - TodoReturn zoomOut(cocos2d::CCObject*) = mac 0x104f0; - TodoReturn editColor(); - TodoReturn editGroup(cocos2d::CCObject*); - TodoReturn selectAll() = mac 0x40a00; - - virtual void draw() = mac 0x515f0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x520b0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x526d0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x52c90; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x535c0; - virtual void registerWithTouchDispatcher() = mac 0x53600; - virtual void keyBackClicked() = mac 0x422d0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x53640; - virtual TodoReturn getUI() = mac 0x57430; - virtual void setIDPopupClosed(SetIDPopup*, int) = mac 0x36bd0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x36a40; - virtual TodoReturn updateTransformControl() = mac 0x43bf0; - virtual TodoReturn transformChangeBegin() = mac 0x445a0; - virtual TodoReturn transformChangeEnded() = mac 0x44680; - virtual TodoReturn getTransformNode() = mac 0x57440; - virtual TodoReturn transformScaleXChanged(float) = mac 0x4fe20; - virtual TodoReturn transformScaleYChanged(float) = mac 0x50030; - virtual TodoReturn transformScaleXYChanged(float, float) = mac 0x50190; - virtual TodoReturn transformSkewXChanged(float) = mac 0x50300; - virtual TodoReturn transformSkewYChanged(float) = mac 0x50460; - virtual TodoReturn transformRotationXChanged(float) = mac 0x505c0; - virtual TodoReturn transformRotationYChanged(float) = mac 0x50720; - virtual TodoReturn transformRotationChanged(float) = mac 0x50880; - virtual TodoReturn transformResetRotation() = mac 0x509f0; - virtual TodoReturn transformRestoreRotation() = mac 0x50ae0; - virtual void songStateChanged() = mac 0x41300; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0x4d3d0; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x54720; - virtual void scrollWheel(float, float) = win 0xda6b0, mac 0x547c0; - virtual TodoReturn angleChangeBegin() = mac 0x516d0; - virtual TodoReturn angleChangeEnded() = mac 0x51710; - virtual TodoReturn angleChanged(float) = mac 0x51730; - virtual TodoReturn updateScaleControl() = mac 0x42700; - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint) = mac 0x446a0; - virtual TodoReturn scaleChangeBegin() = mac 0x42dd0; - virtual TodoReturn scaleChangeEnded() = mac 0x42e10; - virtual TodoReturn scaleXChanged(float) = mac 0x42e30; - virtual TodoReturn scaleYChanged(float) = mac 0x43550; - virtual void scaleXYChanged(float, float) = win 0xcb9b0, mac 0x43680; - - PAD = android32 0xd4; - EditButtonBar* m_editButtonBar; - - PAD = android32 0x30; - - cocos2d::CCArray* m_selectedObjects; - - // all of these are not tested - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x10, win 0x8, android32 0x8; - int m_selectedCreateObjectID; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; - LevelEditorLayer* m_editorLayer; - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android32 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - PAD = mac 0x8, win 0x8, android32 0x8; - - PAD = android32 0x8; - GameObject* m_selectedObject; -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - static CCCircleWave* create(float, float, float, bool); - static CCCircleWave* create(float, float, float, bool, bool) = win 0x23220, mac 0x1693f0; - - bool init(float, float, float, bool, bool) = win 0x232F0, mac 0x1694d0; - ~CCCircleWave(); - - TodoReturn followObject(cocos2d::CCNode*, bool) = win 0x23540; - TodoReturn updatePosition(float) = mac 0x169760; - TodoReturn baseSetup(float); - - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x169730; - virtual void removeMeAndCleanup() = mac 0x169c00; - virtual void draw() = mac 0x169ac0; - virtual void updateTweenAction(float, char const*) = mac 0x169830; -} - - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - static CurrencyRewardLayer* create(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71780; - - bool init(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71870; - ~CurrencyRewardLayer(); - - TodoReturn pulseSprite(cocos2d::CCSprite*); - TodoReturn createObjects(CurrencySpriteType, int, cocos2d::CCPoint, float); - TodoReturn incrementCount(int); - TodoReturn createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn createUnlockObject(cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn incrementMoonsCount(int); - TodoReturn incrementStarsCount(int); - TodoReturn incrementDiamondsCount(int); - TodoReturn incrementSpecialCount1(int); - TodoReturn incrementSpecialCount2(int); - - virtual void update(float) = mac 0x76a390; -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - static PlayLayer* create(GJGameLevel*, bool, bool) = win 0x2D68F0, mac 0xa5d30; - - static PlayLayer* get() { - return GameManager::get()->m_playLayer; - } - - bool init(GJGameLevel*, bool, bool) = mac 0xa5db0, win 0x2d69a0; - ~PlayLayer() = win 0x2D6580, mac 0xa5920; - - TodoReturn getEndPosition(); - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getTempMilliTime(); - float getCurrentPercent() = mac 0xb3970; - TodoReturn getLastCheckpoint() = win 0x2e3000; - TodoReturn getRelativeModNew(cocos2d::CCPoint, float, float, bool, bool); - int getCurrentPercentInt() = win 0x2e09e0; - - void onQuit() = win 0x2e5650, mac 0xad390; - - TodoReturn playReplay(gd::string); - void resetLevel() = win 0x2E42B0, mac 0xac8d0; - TodoReturn startMusic() = win 0x2E5570; - TodoReturn colorObject(int, cocos2d::_ccColor3B); - TodoReturn commitJumps(); - TodoReturn shouldBlend(int); - void showNewBest(bool, int, int, bool, bool, bool) = win 0x2D9100, mac 0xaf2e0; - TodoReturn spawnCircle(); - bool canPauseGame(); - TodoReturn prepareMusic(bool) = win 0x2E5480; - void showEndLayer(); - void addToGroupOld(GameObject*); - void levelComplete() = win 0x2d7f30, mac 0xad6d0; - TodoReturn spawnFirework(); - TodoReturn stopRecording(); - void incrementJumps() = win 0x2e4e50, mac 0xb8700; - TodoReturn markCheckpoint() = win 0x2e2880, mac 0xb53a0; - void showRetryLayer(); - TodoReturn startRecording(); - TodoReturn tryStartRecord(); - TodoReturn updateAttempts() = win 0x2E4CC0; - TodoReturn updateTimeWarp(EffectGameObject*, float); - TodoReturn queueCheckpoint(); - TodoReturn storeCheckpoint(CheckpointObject*) = win 0x2e27d0; - TodoReturn updateInfoLabel() = win 0x2dfe30, mac 0xa96e0; - TodoReturn applyEnterEffect(GameObject*, int, bool); - TodoReturn checkpointWithID(int); - CheckpointObject* createCheckpoint() = win 0x2e1a20; - TodoReturn delayedFullReset(); - // /* unverified signature */ - bool isGameplayActive(); - void removeAllObjects() = win 0x2E5750; - TodoReturn removeCheckpoint(bool); - void resumeAndRestart(bool) = win 0x2E5160, mac 0xb88d0; - void showCompleteText() = win 0x2d8770, mac 0xae690; - void startGameDelayed() = win 0x2D7EC0; - void delayedResetLevel() = win 0x2E4200, mac 0xb4c20; - void loadDefaultColors() = win 0x2df1e0; - void setupHasCompleted() = win 0x2d71b0, mac 0xa7210; - TodoReturn takeStateSnapshot(); - TodoReturn toggleGhostEffect(int) = win 0x2D20D0; - void updateProgressbar() = win 0x2df7a0, mac 0xab590; - void loadFromCheckpoint(CheckpointObject*) = win 0x2e28d0; - CheckpointObject* loadLastCheckpoint(); - void removeFromGroupOld(GameObject*); - void showCompleteEffect() = mac 0xae230; - void showTwoPlayerGuide(); - void togglePracticeMode(bool) = mac 0xb81f0, win 0x2e4eb0; - void optimizeColorGroups() = win 0x2DC8B0, mac 0xa7f40; - void resetLevelFromStart() = win 0x2E4210, mac 0xb8330; - TodoReturn compareStateSnapshot(); - TodoReturn updateScreenRotation(int, bool, bool, float, int, float, int, int); - TodoReturn gravityEffectFinished(); - TodoReturn loadActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn optimizeOpacityGroups() = win 0x2DCB10, mac 0xa8130; - void playEndAnimationToPos(cocos2d::CCPoint) = win 0x2da140, mac 0xaffb0; - TodoReturn saveActiveSaveObjects(gd::vector&, gd::vector&) = win 0x2e3d60; - TodoReturn scanActiveSaveObjects() = mac 0xa91b0; - TodoReturn startRecordingDelayed(); - TodoReturn updateEffectPositions() = win 0x2e1470, mac 0xb4d20; - TodoReturn applyCustomEnterEffect(GameObject*, bool); - TodoReturn loadDynamicSaveObjects(gd::vector&); - TodoReturn saveDynamicSaveObjects(gd::vector&) = win 0x2e38c0; - TodoReturn scanDynamicSaveObjects() = mac 0xa8320; - TodoReturn processLoadedMoveActions(); - TodoReturn toggleBGEffectVisibility(bool); - void prepareCreateObjectsFromSetup(gd::string&) = win 0x2dafd0; - void processCreateObjectsFromSetup() = win 0x2db250, mac 0xa69f0; - TodoReturn createObjectsFromSetupFinished() = win 0x2dbab0, mac 0xb0a50; - TodoReturn playPlatformerEndAnimationToPos(cocos2d::CCPoint, bool) = win 0x2da920; - TodoReturn scene(GJGameLevel*, bool, bool) = win 0x2D68A0, mac 0xa5c80; - TodoReturn resume() = mac 0xb8a50; - void showHint() = win 0x2e12d0, mac 0xb4ab0; - void addCircle(CCCircleWave* cw) = mac 0xb4cc0; - void addObject(GameObject*) = win 0x2DBD30, mac 0xabae0; - void fullReset() = win 0x2E40C0, mac 0xb8080; - TodoReturn pauseGame(bool) = win 0x2e4fc0, mac 0xb8790; - void startGame() = win 0x2d7e80; - - virtual void onEnterTransitionDidFinish() = win 0x2e58e0; - virtual void onExit() = win 0x2e5910; - virtual void postUpdate(float) = win 0x2E1560, mac 0xb4df0; - virtual TodoReturn checkForEnd() = win 0x2e1810; - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage() = win 0x2e18f0; - virtual TodoReturn updateAttemptTime(float) = win 0x2e1970; - virtual void updateVisibility(float) = win 0x2dcf70, mac 0xb10e0; - virtual TodoReturn opacityForObject(GameObject*) = win 0x2ddc80; - virtual TodoReturn updateColor(cocos2d::_ccColor3B&, float, int, bool, float, cocos2d::_ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x2df440; - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&) = win 0x2da810; - virtual TodoReturn toggleGlitter(bool) = win 0x2e0990; - virtual void destroyPlayer(PlayerObject*, GameObject*) = mac 0xb40f0, win 0x2e0a90; - virtual TodoReturn toggleGroundVisibility(bool) = win 0x2e0840, mac 0xb3f40; - virtual TodoReturn toggleMGVisibility(bool) = win 0x2e08c0; - virtual TodoReturn toggleHideAttempts(bool) = win 0x2e0910; - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) = win 0x2e0740; - virtual float posForTime(float) = win 0x2e07b0; - virtual void resetSPTriggered() = win 0x2e0800; - virtual TodoReturn updateTimeWarp(float) = win 0x1b5590; - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*) = win 0x2ddca0; - virtual void checkpointActivated(CheckpointGameObject*) = win 0x2e1a00; - virtual TodoReturn flipArt(bool); - virtual void updateTimeLabel(int, int, bool) = mac 0xb39e0; - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar() = mac 0xb3bb0; - virtual TodoReturn toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); - virtual void dialogClosed(DialogLayer*) = win 0x2e12b0; - - // those are all wrong except for mac - PAD = win 0x1ec, android32 0x1ec, android64 0x2c4, mac 0xfc; - cocos2d::CCArray* m_circleWaveArray; - PAD = mac 0x18; - cocos2d::CCLabelBMFont* m_attemptLabel; - PAD = mac 0x10; - cocos2d::CCSprite* m_progressBar; - PAD = mac 0x178; -} - - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - static EditButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - ~EditButtonBar(); - - TodoReturn getPage(); - - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - - TodoReturn reloadItems(int, int); - void loadFromItems(cocos2d::CCArray*, int, int, bool); - void goToPage(int); -} - - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - static PlayerObject* create(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2BCFD0, mac 0x3dbca0; - - bool init(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2BD080, mac 0x3dbd30; - ~PlayerObject(); - - TodoReturn getYVelocity(); - TodoReturn getActiveMode(); - TodoReturn getOldPosition(float); - TodoReturn getSecondColor(); - TodoReturn getCurrentXVelocity(); - float getModifiedSlopeYVel() = win 0x2c4560; - - /* unverified signature */ - void setYVelocity(double, int) = win 0x2BEC70; - /* unverified signature */ - void setSecondColor(cocos2d::_ccColor3B const&) = win 0x2d0c30, mac 0x3df590; - - TodoReturn bumpPlayer(float, int, bool, GameObject*) = win 0x2d2600; - TodoReturn buttonDown(PlayerButton); - TodoReturn didHitHead(); - // /* unverified signature */ - bool isSafeFlip(float) = mac 0x3ece70; - // /* unverified signature */ - bool isSafeMode(float); - TodoReturn lockPlayer() = win 0x2d2290; - void pushButton(PlayerButton) = win 0x2cc4d0, mac 0x3f4bf0; - TodoReturn pushPlayer(float); - TodoReturn reverseMod(); - TodoReturn updateJump(float) = win 0x2c1290, mac 0x3df600; - TodoReturn updateMove(float) = win 0x2BFC30; - TodoReturn yStartDown(); - void boostPlayer(float) = win 0x2d2d30, mac 0x3e75b0; - TodoReturn createRobot(int) = mac 0x3dd580; - TodoReturn flashPlayer(float, float, cocos2d::_ccColor3B, cocos2d::_ccColor3B) = mac 0x3efee0; - TodoReturn flipGravity(bool, bool) = win 0x2CDDB0, mac 0x3e4a80; - TodoReturn gravityDown(); - void resetStreak() = mac 0x3e4520; - void setupStreak() = mac 0x3ddd10; - TodoReturn spawnCircle(); - void stopDashing() = win 0x2CB080, mac 0x3e2cd0; - TodoReturn stopStreak2(); - TodoReturn createSpider(int) = mac 0x3dd8b0; - /* unverified signature */ - bool isBoostValid(float) = win 0x2c4500; - void preCollision() = win 0x2c2c10, mac 0x3e5890; - TodoReturn redirectDash(float) = win 0x2CA320; - TodoReturn spawnCircle2(); - void startDashing(DashRingObject*) = mac 0x3f2380; - TodoReturn stopRotation(bool, int); - // /* unverified signature */ - bool isInBasicMode(); - TodoReturn levelFlipping() = win 0x2CEF50; - TodoReturn levelWillFlip(); - TodoReturn modeDidChange(); - void postCollision(float) = win 0x2C2D50, mac 0x3e5a90; - TodoReturn propellPlayer(float, bool, int) = win 0x2d2700; - void releaseButton(PlayerButton) = win 0x2cc710, mac 0x3f5e10; - TodoReturn reversePlayer(EffectGameObject*) = win 0x2CC810; - TodoReturn stopParticles(); - TodoReturn switchedDirTo(PlayerButton) = win 0x2cc3e0; - TodoReturn testForMoving(float, GameObject*); - void toggleFlyMode(bool, bool) = win 0x2CE170, mac 0x3f6d20; - TodoReturn touchedObject(GameObject*); - void updateCollide(PlayerCollisionDirection, GameObject*) = win 0x2C8CC0, mac 0x3ed5e0; - TodoReturn updateDashArt() = win 0x2cac70, mac 0x3f1e10; - TodoReturn updateEffects(float) = mac 0x3e3f00; - TodoReturn updateSpecial(float); - TodoReturn updateStreaks(float); - TodoReturn updateTimeMod(float, bool) = win 0x2D3B00, mac 0x3ddb80; - void activateStreak() = win 0x2d2ed0, mac 0x3e4610; - void addToYVelocity(double, int) = win 0x2bece0; - TodoReturn copyAttributes(PlayerObject*); - TodoReturn fadeOutStreak2(float) = win 0x2D2FD0; - void incrementJumps() = win 0x2c2250, mac 0x3e4a40; - /* unverified signature */ - bool isInNormalMode() = win 0x2cfe00; - /* unverified signature */ - bool isSafeHeadTest(); - TodoReturn playBumpEffect(int, GameObject*) = win 0x2d28d0; - TodoReturn rotateGameplay(int, int, bool, float, float, bool, bool) = win 0x2CDA10; - TodoReturn spiderTestJump(bool); - TodoReturn storeCollision(PlayerCollisionDirection, int) = win 0x2C2B70; - void switchedToMode(GameObjectType) = win 0x2CF6A0, mac 0x3f3880; - void toggleBirdMode(bool, bool) = win 0x2CE400, mac 0x3f7800; - void toggleDartMode(bool, bool) = win 0x2CE9C0, mac 0x3f88a0; - void toggleRollMode(bool, bool) = win 0x2CEF90, mac 0x3f8f60; - TodoReturn updateRotation(float) = win 0x2C64E0; - TodoReturn updateRotation(float, float); - TodoReturn addAllParticles() = win 0x2be6d0; - TodoReturn doReversePlayer(bool) = win 0x2CC8F0; - TodoReturn hardFlipGravity(); - TodoReturn hitGroundNoJump(GameObject*, bool) = win 0x2CF730; - TodoReturn playBurstEffect(); - void playDeathEffect() = mac 0x1ead80; - void playerDestroyed(bool) = win 0x2CC2D0, mac 0x3f4690; - TodoReturn playerIsFalling(float); - TodoReturn playSpawnEffect(); - TodoReturn resetPlayerIcon() = win 0x2cec80, mac 0x3f75e0; - TodoReturn runBallRotation(float) = win 0x2C2890; - TodoReturn runRotateAction(bool, int) = win 0x2C26F0; - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*, bool) = win 0x2d34b0; - TodoReturn spiderTestJumpX(bool); - TodoReturn spiderTestJumpY(bool); - TodoReturn stopBurstEffect(); - void toggleRobotMode(bool, bool) = win 0x2CF0C0, mac 0x3f9320; - void toggleSwingMode(bool, bool) = win 0x2CE680, mac 0x3f7ec0; - void updateGlowColor() = win 0x2d0ca0, mac 0x3fa940; - TodoReturn updatePlayerArt() = win 0x2CCAC0, mac 0x3f66e0; - void updateSwingFire() = win 0x2ce8b0; - TodoReturn canStickToGround(); - void deactivateStreak(bool) = mac 0x3de280; - TodoReturn disableSwingFire(); - /* unverified signature */ - bool isSafeSpiderFlip(float); - TodoReturn placeStreakPoint() = win 0x2D3630, mac 0x3e46f0; - TodoReturn playerIsMovingUp(); - TodoReturn playerTeleported(); - TodoReturn playingEndEffect(); - TodoReturn runBallRotation2() = win 0x2c29d0; - TodoReturn saveToCheckpoint(PlayerCheckpoint*) = win 0x2d4140; - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - void toggleSpiderMode(bool, bool) = win 0x2CF3B0, mac 0x3f9760; - TodoReturn toggleVisibility(bool); - TodoReturn updateCollideTop(float, GameObject*) = win 0x2C8EB0; - void updatePlayerGlow() = win 0x2D3170, mac 0x3f6550; - TodoReturn addToTouchedRings(RingObject*); - TodoReturn collidedWithSlope(float, GameObject*, bool); - TodoReturn levelFlipFinished(); - TodoReturn performSlideCheck(); - TodoReturn preSlopeCollision(float, GameObject*) = win 0x2C46F0; - TodoReturn releaseAllButtons() = mac 0x3fb040; - TodoReturn resetAllParticles() = mac 0x3e44b0; - TodoReturn resetCollisionLog(bool); - TodoReturn resetTouchedRings(); - TodoReturn runNormalRotation(bool, float) = win 0x2C2750; - TodoReturn runNormalRotation(); - TodoReturn spawnPortalCircle(cocos2d::_ccColor3B, float) = win 0x2CBF20, mac 0x3f42d0; - TodoReturn toggleGhostEffect(GhostType) = win 0x2d20d0; - TodoReturn togglePlayerScale(bool, bool) = win 0x2D3690, mac 0x3f39d0; - TodoReturn updateCollideLeft(float, GameObject*) = win 0x2C8F30; - void updatePlayerForce(cocos2d::CCPoint, bool); - void updatePlayerFrame(int) = win 0x2D1220, mac 0x3f85c0; - void updatePlayerScale() = win 0x2d3110; - TodoReturn updateStaticForce(float, float, bool) = win 0x2D2A00; - TodoReturn updateStreakBlend(bool); - void collidedWithObject(float, GameObject*) = mac 0x3ee020; - void collidedWithObject(float, GameObject*, cocos2d::CCRect, bool) = mac 0x3e7850; - TodoReturn deactivateParticle(); - TodoReturn destroyFromHitHead(); - TodoReturn gameEventTriggered(int, int) = win 0x1B1AC0; - void loadFromCheckpoint(PlayerCheckpoint*) = win 0x2d4370; - TodoReturn playCompleteEffect(bool, bool) = mac 0x1f2ef0; - TodoReturn removeAllParticles(); - TodoReturn rotateGameplayOnly(bool); - TodoReturn tryPlaceCheckpoint() = win 0x2d4730; - TodoReturn updateCollideRight(float, GameObject*) = win 0x2C8FB0; - void updateShipRotation(float); - TodoReturn handlePlayerCommand(int); - TodoReturn redirectPlayerForce(float, float, float, float) = win 0x2D2B40; - TodoReturn resetStateVariables(); - TodoReturn updateCollideBottom(float, GameObject*) = win 0x2C8E30; - void updateDashAnimation(); - void updateJumpVariables(); - TodoReturn updateSlopeRotation(float); - TodoReturn enablePlayerControls(); - void playDynamicSpiderRun() = mac 0x3e3400; - void playSpiderDashEffect(cocos2d::CCPoint from, cocos2d::CCPoint to) = mac 0x3ef720; - TodoReturn resetCollisionValues(); - TodoReturn rotateGameplayObject(GameObject*); - void togglePlatformerMode(bool) = mac 0x3de0b0; - TodoReturn updateCheckpointMode(bool); - TodoReturn updateCheckpointTest() = win 0x2c0df0; - TodoReturn updateSlopeYVelocity(float); - TodoReturn updateStateVariables(); - TodoReturn usingWallLimitedMode(); - void animatePlatformerJump(float) = mac 0x3e4e70; - TodoReturn checkSnapJumpToObject(GameObject*); - TodoReturn disablePlayerControls(); - void enableCustomGlowColor(cocos2d::_ccColor3B const&) = mac 0x3fa900; - TodoReturn playerIsFallingBugged(); - TodoReturn rotatePreSlopeObjects(); - void updateInternalActions(float); - void updatePlayerBirdFrame(int) = win 0x2D1770, mac 0x3f7c20; - void updatePlayerDartFrame(int) = win 0x2D1D10, mac 0x3f8d10; - void updatePlayerRollFrame(int) = win 0x2D1990, mac 0x3f90f0; - void updatePlayerShipFrame(int) = win 0x2D13F0, mac 0x3f7180; - void updateShipSpriteExtra(gd::string) = win 0x2D1FD0, mac 0x3dd4b0; - void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - TodoReturn removePlacedCheckpoint(); - TodoReturn spiderTestJumpInternal(bool); - TodoReturn unrotateGameplayObject(GameObject*); - TodoReturn updateLastGroundObject(GameObject*); - void updatePlayerRobotFrame(int) = mac 0x3fb000; - void updatePlayerSwingFrame(int) = win 0x2D1B50, mac 0x3f8300; - TodoReturn createFadeOutDartStreak(); - TodoReturn removePendingCheckpoint() = win 0x2d46d0; - TodoReturn unrotatePreSlopeObjects(); - void updatePlayerSpiderFrame(int) = mac 0x3fb020; - void updatePlayerSpriteExtra(gd::string) = win 0x2D1ED0; - TodoReturn convertToClosestRotation(float); - void updatePlayerJetpackFrame(int) = win 0x2D15B0, mac 0x3f73b0; - TodoReturn collidedWithSlopeInternal(float, GameObject*, bool) = win 0x2C4C50; - TodoReturn exitPlatformerAnimateJump(); - TodoReturn updateRobotAnimationSpeed(); - TodoReturn collidedWithObjectInternal(float, GameObject*, cocos2d::CCRect, bool) = win 0x2C6C10; - TodoReturn handleRotatedSlopeCollision(float, GameObject*, bool); - void stopPlatformerJumpAnimation() = mac 0x3e5350; - TodoReturn handleRotatedObjectCollision(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn handleRotatedCollisionInternal(float, GameObject*, cocos2d::CCRect, bool, bool, bool); - TodoReturn flipMod(); - TodoReturn speedUp(); - /* unverified signature */ - bool isFlying() = win 0x2ce0f0, mac 0x3e29d0; - TodoReturn pushDown(); - TodoReturn ringJump(RingObject*, bool) = win 0x2CCEA0; - TodoReturn yStartUp(); - TodoReturn gravityUp(); - void hitGround(GameObject*, bool) = win 0x2CF760, mac 0x3eceb0; - TodoReturn logValues(); - TodoReturn speedDown(); - - virtual void update(float) = win 0x2bed60, mac 0x3de460; - virtual void setScaleX(float) = win 0x2D4C10, mac 0x3fd070; - virtual void setScaleY(float) = win 0x2D4C30, mac 0x3fd080; - virtual void setScale(float) = win 0x2D4C50, mac 0x3fd090; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x2cfef0, mac 0x3f9c00; - virtual void setVisible(bool) = mac 0x3fd0a0; - virtual void setRotation(float) = mac 0x3fcfe0; - virtual void setOpacity(unsigned char) = mac 0x3fae00; - virtual void setColor(cocos2d::_ccColor3B const&) = win 0x2d0bb0, mac 0x3fa7e0; - virtual void setFlipX(bool) = win 0x2D4B80, mac 0x3fcff0; - virtual void setFlipY(bool) = win 0x138E00, mac 0x3fd060; - virtual void resetObject() = win 0x2cb840, mac 0x3f2e50; - virtual TodoReturn getRealPosition() = mac 0x3fafd0; - virtual TodoReturn getOrientedBox() = mac 0x3fc2e0; - virtual TodoReturn getObjectRotation() = mac 0x3fc300; - virtual TodoReturn animationFinished(char const*) = mac 0x3fd190; - - cocos2d::CCNode* m_mainLayer; - PAD = win 0x44, mac 0x48; - cocos2d::CCNode* m_unk4e4; - cocos2d::CCDictionary* m_unk4e8; - cocos2d::CCDictionary* m_unk4ec; - cocos2d::CCDictionary* m_unk4f0; - cocos2d::CCDictionary* m_unk4f4; - PAD = win 0x20, mac 0x20; - float m_unk518; - PAD = win 0x8, mac 0x8; - GameObject* m_collidedObject; - PAD = win 0x40, mac 0x50; - float m_unk568; - cocos2d::CCSprite* m_unk56c; - PAD = win 0x4, mac 0x4; - GameObject* m_unk574; - GameObject* m_unk578; - PAD = win 0x8, mac 0x0; - float unk_584; - int unk_588; // seems to always be 0, but when you respawn it's -1 until you move at least 1 block from the respawn place - PAD = win 0x4, mac 0x4; - cocos2d::CCArray* m_particleSystems; - PAD = mac 0x8; - gd::unordered_map m_unk594; // insertions are in PlayerObject::rotateGameplayObject - gd::unordered_map m_unk5b4; - float m_rotationSpeed; - float m_unk5dc; - bool m_isRotating; - bool m_unk5e1; - bool m_hasGlow; - bool m_isHidden; - int m_hasGhostTrail; - GhostTrailEffect* m_ghostTrail; - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCSprite* m_iconSpriteSecondary; - cocos2d::CCSprite* m_iconSpriteWhitener; - cocos2d::CCSprite* m_iconGlow; - cocos2d::CCSprite* m_vehicleSprite; - cocos2d::CCSprite* m_vehicleSpriteSecondary; - cocos2d::CCSprite* m_unk604; - cocos2d::CCSprite* m_vehicleSpriteWhitener; - cocos2d::CCSprite* m_vehicleGlow; - PlayerFireBoostSprite* m_swingFireMiddle; - PlayerFireBoostSprite* m_swingFireBottom; - PlayerFireBoostSprite* m_swingFireTop; - cocos2d::CCSprite* m_unk61c; - cocos2d::CCMotionStreak* m_regularTrail; - PAD = win 0x4, mac 0x8; - HardStreak* m_waveTrail; - float m_unk62c; - PAD = win 0x14, mac 0x14; - float m_unk644; - float m_unk648; - PAD = win 0xc, mac 0xc; - bool m_unk658; - bool m_unk659; - bool m_unk65a; - bool m_unk65b; // midair ?? - bool m_unk65c; - bool m_unk65d; // walking ??? - bool m_unk65e; - bool m_unk65f; - PAD = win 0x28, mac 0x28; - float m_unk688; - float m_unk68c; - PAD = win 0x12, mac 0x12; - bool m_unk6a2; // = GameManager::getGameVariable("0096") - bool m_unk6a3; // = GameManager::getGameVariable("0100") - PAD = win 0x8, mac 0x10; - float m_unk6ac; - PAD = win 0xc, mac 0xc; - float m_unk6bc; - PAD = win 0x4, mac 0x4; - GameObject* m_objectSnappedTo; - PAD = win 0x8, mac 0x8; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - PAD = win 0x4, mac 0x4; - cocos2d::CCParticleSystemQuad* m_unk6dc; - cocos2d::CCParticleSystemQuad* m_trailingParticles; - cocos2d::CCParticleSystemQuad* m_shipClickParticles; - cocos2d::CCParticleSystemQuad* m_unk6e8; - cocos2d::CCParticleSystemQuad* m_ufoClickParticles; - cocos2d::CCParticleSystemQuad* m_robotBurstParticles; - cocos2d::CCParticleSystemQuad* m_unk6f4; - cocos2d::CCParticleSystemQuad* m_swingBurstParticles1; - cocos2d::CCParticleSystemQuad* m_swingBurstParticles2; - PAD = win 0x4, mac 0x4; - cocos2d::CCParticleSystemQuad* m_unk704; - cocos2d::CCParticleSystemQuad* m_unk708; - PAD = win 0x6c, mac 0x68; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x1c, mac 0x1c; - double m_yVelocity; - bool m_isOnSlope; - bool m_wasOnSlope; - PAD = win 0x7, mac 0x7; - bool m_isShip; - bool m_isBird; - bool m_isBall; - bool m_isDart; - bool m_isRobot; - bool m_isSpider; - bool m_isUpsideDown; - bool m_isDead; - bool m_isOnGround; - bool m_isGoingLeft; - bool m_isSideways; - bool m_isSwing; - PAD = win 0x10, mac 0x10; - float m_unk7c8; - float m_unk7cc; // unsure if float - float m_unk7d0; - bool m_isDashing; - PAD = win 0x8, mac 0x8; - float m_vehicleSize; - float m_playerSpeed; - cocos2d::CCPoint m_unk7e8; - cocos2d::CCPoint m_unk7f0; // maybe m_lastPortalPos - PAD = win 0x7, mac 0x7; - bool m_isLocked; - PAD = win 0x4, mac 0x4; - cocos2d::CCPoint m_lastGroundedPos; - cocos2d::CCArray* m_touchingRings; - GameObject* m_lastActivatedPortal; - bool m_unk814; - bool m_unk815; - cocos2d::ccColor3B m_playerColor1; - cocos2d::ccColor3B m_playerColor2; - cocos2d::CCPoint m_position; - PAD = win 0x14, mac 0x14; - float m_unk838; - gd::unordered_map m_unk83c; // the types are placeholders, no idea what they should be - PAD = mac 0x20; - double m_platformerXVelocity; - PAD = win 0x8c, mac 0x70; - bool m_isPlatformer; - int m_unk8ec; - int m_unk8f0; - int m_unk8f4; - int m_unk8f8; - float m_gravityMod; - PAD = win 0x4, mac 0x4; - cocos2d::CCPoint m_unk904; - PAD = win 0x4, mac 0x4; - gd::map m_unk910; - float m_unk918; // increments whenever you're midiar? - float m_unk91c; - PAD = win 0x4, mac 0x4; - gd::map m_unk924; - PAD = win 0x4, mac 0x4; - gd::string m_unk930; // this is always "run" ??? - bool m_unk948; // = getGameVariable("0123") - PAD = win 0x7, mac 0x7; - cocos2d::CCSpriteBatchNode* m_unk950; - cocos2d::CCSpriteBatchNode* m_unk954; - PAD = win 0x4, mac 0x4; - PlayerFireBoostSprite* m_robotFire; - PAD = win 0x4, mac 0x4; - PlayLayer* m_playLayer; - cocos2d::CCLayer* m_parentLayer; - GJActionManager* m_actionManager; - PAD = win 0x4, mac 0x4; - float m_unk974; - bool m_unk978; - bool m_unk979; // = isItemEnabled(0xc, 0x12); - bool m_unk97a; // = isItemEnabled(0xc, 0x13); - bool m_unk97b; // = isItemEnabled(0xc, 0x14); - PAD = win 0x4, mac 0x4; -} - - -[[link(android)]] -class CheckpointGameObject : EffectGameObject { - static CheckpointGameObject* create(); - - ~CheckpointGameObject(); - - void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = mac 0x1b89c0; - TodoReturn resetCheckpoint(); - void customObjectSetup(gd::vector&, gd::vector&) = mac 0x1ba120; - void setupCustomSprites(gd::string) = mac 0x1b8db0; - TodoReturn updateCheckpointSpriteVisibility(); - - virtual bool init() = mac 0x1b8960; - virtual void resetObject() = mac 0x1ba260; - virtual gd::string getSaveString(GJBaseGameLayer*) = mac 0x1b97a0; - virtual void triggerActivated(float) = mac 0x1b89e0; - virtual TodoReturn restoreObject() = mac 0x1ba2d0; - virtual TodoReturn updateSyncedAnimation(float, int) = mac 0x1b9390; -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - static SongInfoObject* create(int) = mac 0x55fb90; - static SongInfoObject* create(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int) = mac 0x55d1d0; - static SongInfoObject* create(cocos2d::CCDictionary*) = mac 0x557250; - - bool init(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int) = mac 0x55fe20; - ~SongInfoObject(); - - TodoReturn getTagsString(); - - TodoReturn containsTag(int); - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x560020; - TodoReturn addTags(gd::string); - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x560500; - virtual bool canEncode() = mac 0x560650; - - int m_songID; - gd::string m_songName; - gd::string m_artistName; - gd::string m_youtubeVideo; - gd::string m_youtubeChannel; - gd::string m_songUrl; - gd::string m_artistID; - float m_fileSize; - bool m_isUnkownSong; - int m_priority; -} - - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual TodoReturn animationFinished(char const*); -} - - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - static PlayerCheckpoint* create(); - - ~PlayerCheckpoint(); - - virtual bool init() = mac 0xb8d20; -} - - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - static CheckpointObject* create(); - - ~CheckpointObject(); - - TodoReturn getObject() = mac 0xb5170; - - /* unverified signature */ - void setObject(GameObject*); - - virtual bool init() = mac 0xb8ef0; -} - - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - static EditorPauseLayer* create(LevelEditorLayer*) = mac 0x26ee60; - - bool init(LevelEditorLayer*) = mac 0x26ef60, win 0x9f520; - ~EditorPauseLayer(); - - void onNewGroupX(cocos2d::CCObject* sender) = mac 0x271e50; - void onNewGroupY(cocos2d::CCObject* sender) = mac 0x271e70; - void onSelectAll(cocos2d::CCObject* sender) = mac 0x271df0; - void onCopyWColor(cocos2d::CCObject* sender) = mac 0x271d00; - void onCreateLoop(cocos2d::CCObject* sender) = mac 0x271d40; - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender) = mac 0x271880; - void onBuildHelper(cocos2d::CCObject* sender) = mac 0x271d20; - void onKeybindings(cocos2d::CCObject* sender); - void onPasteWColor(cocos2d::CCObject* sender) = mac 0x271ce0; - void onSaveAndExit(cocos2d::CCObject* sender) = mac 0x271730; - void onSaveAndPlay(cocos2d::CCObject* sender) = mac 0x2716c0; - void onCreateExtras(cocos2d::CCObject* sender) = mac 0x271cb0; - void onSelectAllLeft(cocos2d::CCObject* sender) = mac 0x271e10; - void onCreateTemplate(cocos2d::CCObject* sender); - void onSelectAllRight(cocos2d::CCObject* sender) = mac 0x271e30; - void onUnlockAllLayers(cocos2d::CCObject* sender) = mac 0x271c90; - void onResetUnusedColors(cocos2d::CCObject* sender) = mac 0x271b90; - void onHelp(cocos2d::CCObject* sender) = mac 0x271a20; - void onSave(cocos2d::CCObject* sender) = mac 0x2717a0; - void onSong(cocos2d::CCObject* sender) = mac 0x271980; - void onAlignX(cocos2d::CCObject* sender) = mac 0x271d80; - void onAlignY(cocos2d::CCObject* sender) = mac 0x271db0; - void onResume(cocos2d::CCObject* sender) = mac 0x271650; - void onOptions(cocos2d::CCObject* sender) = mac 0x272090; - void onReGroup(cocos2d::CCObject* sender) = mac 0x271d60; - - TodoReturn doResetUnused(); - TodoReturn toggleDebugDraw(cocos2d::CCObject*) = mac 0x272050; - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*) = mac 0x271ed0; - TodoReturn updateSongButton(); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn togglePreviewAnim(cocos2d::CCObject*) = mac 0x271fd0; - TodoReturn toggleRecordOrder(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*) = mac 0x271ac0; - TodoReturn toggleEditorGround(cocos2d::CCObject*) = mac 0x271f30; - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*) = mac 0x271e90; - TodoReturn toggleSelectFilter(cocos2d::CCObject*) = mac 0x271eb0; - TodoReturn toggleHideInvisible(cocos2d::CCObject*) = mac 0x272030; - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn toggleEffectDuration(cocos2d::CCObject*); - TodoReturn togglePreviewShaders(cocos2d::CCObject*) = mac 0x271f80; - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*) = mac 0x271ef0; - TodoReturn toggleEditorColorMode(cocos2d::CCObject*) = mac 0x272000; - TodoReturn toggleEditorBackground(cocos2d::CCObject*); - TodoReturn togglePreviewParticles(cocos2d::CCObject*) = mac 0x271fa0; - TodoReturn playStep2() = mac 0x272a70; - TodoReturn playStep3() = mac 0x272b40; - void saveLevel() = mac 0x2725a0; - - virtual void keyBackClicked() = mac 0x272ca0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x272d90; - virtual void customSetup() = mac 0x26f8c0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x272bc0; - - bool m_saved; - CCMenuItemSpriteExtra* m_guidelinesOffButton; - CCMenuItemSpriteExtra* m_guidelinesOnButton; - LevelEditorLayer* m_editorLayer; -} - - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - static CCBlockLayer* create(); - - ~CCBlockLayer(); - - TodoReturn decrementForcePrio() = mac 0x4f0940; - TodoReturn incrementForcePrio(); - - virtual bool init() = mac 0x4f05e0; - virtual void draw() = mac 0x4f0890; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4f08c0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4f0920; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4f08e0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4f0900; - virtual void registerWithTouchDispatcher() = mac 0x4f0750; - virtual void keyBackClicked() = mac 0x4f0790; - virtual void customSetup() = mac 0x4f06f0; - virtual TodoReturn enterLayer() = mac 0x4f0720; - virtual TodoReturn exitLayer() = mac 0x4f07c0; - virtual void showLayer(bool) = mac 0x4f0800; - virtual TodoReturn hideLayer(bool) = mac 0x4f0810; - virtual TodoReturn layerVisible() = mac 0x4f0830; - virtual void layerHidden() = mac 0x4f0850; - virtual TodoReturn enterAnimFinished() = mac 0x4f0820; - virtual TodoReturn disableUI() = mac 0x4f0700; - virtual TodoReturn enableUI() = mac 0x4f0710; - - void* m_unknown; -} - - -[[link(android)]] -class PauseLayer : CCBlockLayer { - static PauseLayer* create(bool) = win 0x2b3690, mac 0x3b4400; - - bool init(bool) = win 0x2b3740; - ~PauseLayer(); - - void onSettings(cocos2d::CCObject* sender) = mac 0x3b5c20, win 0x2b41e0; - void onNormalMode(cocos2d::CCObject* sender) = mac 0x3b5af0, win 0x2b4be0; - void onRestartFull(cocos2d::CCObject* sender) = mac 0x3b5a50, win 0x2b4d30; - void onPracticeMode(cocos2d::CCObject* sender) = mac 0x3b5a90, win 0x2b4b70; - void onRecordReplays(cocos2d::CCObject* sender); - void onEdit(cocos2d::CCObject* sender) = mac 0x3b5930, win 0x2b4d80; - void onHelp(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender) = mac 0x3b5b40, win 0x2b4ed0; - void onTime(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender) = mac 0x3b5a10, win 0x2b4c90; - void onRestart(cocos2d::CCObject* sender) = mac 0x3b5be0, win 0x2b4ce0; - - TodoReturn tryShowBanner(float); - TodoReturn sfxSliderChanged(cocos2d::CCObject*) = mac 0x3b5c90; - void setupProgressBars() = mac 0x3b4fb0; - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void musicSliderChanged(cocos2d::CCObject*) = mac 0x3b5c50, win 0x2B4AB0; - void goEdit() = win 0x2b4e70, mac 0x3b5fa0; - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x2b4fa0, mac 0x3b6010; - virtual void customSetup() = win 0x2B3740, mac 0x3b4500; - virtual void keyUp(cocos2d::enumKeyCodes); -} - - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayerColor, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate, TableViewCellDelegate, ShareCommentDelegate { - static LevelBrowserLayer* create(GJSearchObject*) = mac 0x4675c0, win 0x22DD50; - - bool init(GJSearchObject*) = mac 0x467790, win 0x22DE00; - ~LevelBrowserLayer() = mac 0x467380; - - gd::string getSearchTitle() = mac 0x46c370; - TodoReturn getItemsMatchingSearch(cocos2d::CCArray*, gd::string, GJSearchObject*); - - /* unverified signature */ - void setSearchObject(GJSearchObject*); - - void onGoToPage(cocos2d::CCObject* sender) = mac 0x469350; - void onNextPage(cocos2d::CCObject* sender) = mac 0x4691f0; - void onPrevPage(cocos2d::CCObject* sender) = mac 0x4691b0; - void onDeleteAll(cocos2d::CCObject* sender) = mac 0x469cf0; - void onFavorites(cocos2d::CCObject* sender) = mac 0x469f90; - void onLocalMode(cocos2d::CCObject* sender) = mac 0x469b00; - void onSavedMode(cocos2d::CCObject* sender) = mac 0x469dc0; - void onGoToFolder(cocos2d::CCObject* sender) = mac 0x46a500; - void onClearSearch(cocos2d::CCObject* sender) = mac 0x46a880; - void onGoToLastPage(cocos2d::CCObject* sender) = mac 0x46a5b0; - void onDeleteSelected(cocos2d::CCObject* sender) = mac 0x469460; - void onMyOnlineLevels(cocos2d::CCObject* sender) = mac 0x469890; - void onToggleAllObjects(cocos2d::CCObject* sender) = mac 0x469710; - void onRemoveAllFavorites(cocos2d::CCObject* sender) = mac 0x469bd0; - void onNew(cocos2d::CCObject* sender) = mac 0x4697a0; - void onBack(cocos2d::CCObject* sender) = mac 0x46d2e0; - void onHelp(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender) = mac 0x46a1a0; - void onSaved(cocos2d::CCObject* sender) = mac 0x469e90; - void onSearch(cocos2d::CCObject* sender) = mac 0x46a5f0; - void onRefresh(cocos2d::CCObject* sender) = mac 0x46a090; - - TodoReturn createNewList(cocos2d::CCObject*) = mac 0x46d520; - TodoReturn createNewLevel(cocos2d::CCObject*); - TodoReturn deleteSelected(); - TodoReturn updatePageLabel() = mac 0x469230; - TodoReturn reloadAllObjects(); - void setupLevelBrowser(cocos2d::CCArray*) = mac 0x46c070; - TodoReturn updateLevelsLabel(); - TodoReturn createNewSmartTemplate(cocos2d::CCObject*); - void show(); - static cocos2d::CCScene* scene(GJSearchObject* search) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LevelBrowserLayer::create(search)); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - void loadPage(GJSearchObject*) = mac 0x46a900, win 0x22F480; - TodoReturn exitLayer(cocos2d::CCObject*); - /* unverified signature */ - bool isCorrect(char const*) = win 0x22F340; - - virtual void onEnter() = mac 0x46de00; - virtual void onEnterTransitionDidFinish() = mac 0x46dfa0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x46e090; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x46e0f0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x46e0b0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x46e0d0; - virtual void registerWithTouchDispatcher() = mac 0x46dfb0; - virtual void keyBackClicked() = mac 0x46d390; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x46d3d0; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = mac 0x46ca00; - virtual void loadLevelsFailed(char const*, int) = mac 0x46cb60; - virtual void setupPageInfo(gd::string, char const*) = win 0x230980, mac 0x46cc40; - virtual void shareCommentClosed(gd::string, ShareCommentLayer*) = mac 0x46d6b0; - virtual void setTextPopupClosed(SetTextPopup*, gd::string) = mac 0x46d790; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x2326E0, mac 0x46d9e0; - virtual void setIDPopupClosed(SetIDPopup*, int) = mac 0x46d1b0; - virtual TodoReturn updateResultArray(cocos2d::CCArray*) = mac 0x46e110; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x46de80; - - bool m_unk; - bool m_allSelected; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - CCMenuItemSpriteExtra* m_refreshBtn; - cocos2d::CCArray* m_selected; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - CCMenuItemToggler* m_allObjectsToggler; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - LoadingCircle* m_circle; - int m_lastPage; - bool m_isOverlay; - PAD = win 0x4, android32 0x4; - int m_zOffset; - bool m_unk2; - int m_listHeight; - PAD = win 0x16, android32 0x16; - -} - -[[link(android)]] -class SetTextPopupDelegate { - /* unverified signature */ - virtual void setTextPopupClosed(SetTextPopup*, gd::string) {} -} - - -[[link(android)]] -class ShareCommentDelegate { - virtual void shareCommentClosed(gd::string, ShareCommentLayer*); -} - - -[[link(android)]] -class SetTextPopup : FLAlertLayer, TextInputDelegate { - static SetTextPopup* create(gd::string, gd::string, int, gd::string, gd::string, bool, float) = mac 0x289fb0; - - bool init(gd::string, gd::string, int, gd::string, gd::string, bool, float) = mac 0x28a750; - ~SetTextPopup(); - - void onResetValue(cocos2d::CCObject* sender) = mac 0x28afa0; - void onClose(cocos2d::CCObject* sender) = mac 0x28aee0; - void onCancel(cocos2d::CCObject* sender) = mac 0x28b030; - - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = mac 0x28b260; - virtual void show() = mac 0x28b200; - virtual void textInputClosed(CCTextInputNode*) = mac 0x28b0d0; - virtual void textChanged(CCTextInputNode*) = mac 0x28b110; - - CCTextInputNode* m_input; - bool m_disableDelegate; - gd::string m_value; - SetTextPopupDelegate* m_delegate; -} - - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - static ShareCommentLayer* create(gd::string, int, CommentType, int, gd::string) = mac 0x5a46f0; - - bool init(gd::string, int, CommentType, int, gd::string) = mac 0x5a4950; - ~ShareCommentLayer(); - - void onClear(cocos2d::CCObject* sender) = mac 0x5a5c10; - void onClose(cocos2d::CCObject* sender) = mac 0x5a5cb0; - void onShare(cocos2d::CCObject* sender) = mac 0x5a5d00, win 0x380130; - void onPercent(cocos2d::CCObject* sender) = mac 0x5a5a80; - - TodoReturn updateDescText(gd::string); - TodoReturn updatePercentLabel(); - TodoReturn updateCharCountLabel() = mac 0x5a63d0; - - virtual void registerWithTouchDispatcher() = mac 0x5a60d0; - virtual void keyBackClicked() = mac 0x5a6020; - virtual void textInputOpened(CCTextInputNode*) = mac 0x5a6270; - virtual void textInputClosed(CCTextInputNode*) = mac 0x5a6110; - virtual void textChanged(CCTextInputNode*) = mac 0x5a6290; - virtual void uploadActionFinished(int, int) = mac 0x5a64e0; - virtual void uploadActionFailed(int, int) = mac 0x5a65e0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x5a6700; -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - static GameObjectCopy* create(GameObject*); - - bool init(GameObject*); - ~GameObjectCopy(); - - void resetObject(); - - GameObject* m_object; -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - static UndoObject* create(GameObject*, UndoCommand); - - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - bool init(cocos2d::CCArray*, UndoCommand); - ~UndoObject(); - - void setObjects(cocos2d::CCArray*); - - TodoReturn createWithArray(cocos2d::CCArray*, UndoCommand) = mac 0xdea20; - TodoReturn createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - - -[[link(android)]] -class EndLevelLayer : GJDropDownLayer { - static EndLevelLayer* create(); - - ~EndLevelLayer(); - - char const* getEndText() = win 0xE96B0; - char const* getCoinString() = win 0xE7D10; - - void onEveryplay(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onEdit(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender) = win 0xe81d0; - void onReplay(cocos2d::CCObject* sender); - - void playEndEffect(); - TodoReturn tryShowBanner(float); - TodoReturn playCoinEffect(float); - TodoReturn playStarEffect(float); - TodoReturn coinEnterFinished(cocos2d::CCPoint); - TodoReturn playDiamondEffect(float); - TodoReturn starEnterFinished(); - TodoReturn coinEnterFinishedO(cocos2d::CCObject*); - TodoReturn playCurrencyEffect(float); - TodoReturn diamondEnterFinished(); - TodoReturn currencyEnterFinished(); - void goEdit(); - - virtual void keyBackClicked() = mac 0x49e360; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x49eb10; - virtual void customSetup() = win 0xE67B0, mac 0x49b580; - virtual void showLayer(bool) = mac 0x49d530; - virtual TodoReturn enterAnimFinished() = mac 0x49e280; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x49eba0; - - bool m_unknown1; - bool m_unknown2; - bool m_unknown3; - bool m_unknown4; - bool m_unknown5; - int m_unknown6; - cocos2d::CCArray* m_coinsToAnimate; -} - - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - static DailyLevelPage* create(GJTimedLevelType) = mac 0x20f540, win 0x96B30; - - bool init(GJTimedLevelType) = mac 0x20f6d0, win 0x96BD0; - ~DailyLevelPage(); - - TodoReturn getDailyTime() = win 0x98200; - TodoReturn getDailyTimeString(int) = mac 0x2103a0, win 0x982b0; - - void onClose(cocos2d::CCObject* sender) = mac 0x210300; - void onTheSafe(cocos2d::CCObject* sender) = mac 0x210340; - - callback void updateTimers(float) = win 0x98630, mac 0x210720; - TodoReturn exitDailyNode(DailyLevelNode*, float) = win 0x98150; - TodoReturn skipDailyLevel(DailyLevelNode*, GJGameLevel*); - TodoReturn createDailyNode(GJGameLevel*, bool, float, bool) = mac 0x210930; - TodoReturn claimLevelReward(DailyLevelNode*, GJGameLevel*, cocos2d::CCPoint); - TodoReturn refreshDailyPage(); - TodoReturn tryGetDailyStatus() = win 0x97e10; - TodoReturn createNodeIfLoaded() = win 0x97ec0; - TodoReturn downloadAndCreateNode() = win 0x97e60; - - virtual void registerWithTouchDispatcher() = mac 0x2116b0; - virtual void keyBackClicked() = mac 0x211620; - virtual void show() = win 0x5D2C0, mac 0x211480; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x211600; - virtual void dailyStatusFinished(GJTimedLevelType) = mac 0x210b20; - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode) = mac 0x210f60; - virtual void levelDownloadFinished(GJGameLevel*) = mac 0x2111b0; - virtual void levelDownloadFailed(int) = mac 0x211270; - - cocos2d::CCLabelBMFont* m_timeLabel; - LoadingCircle* m_timeCircle; - LoadingCircle* m_nodeCircle; - bool m_gettingDailyStatus; - DailyLevelNode* m_dailyNode; - bool m_downloadStarted; - GJTimedLevelType m_type; - int m_downloadLevelID; -} - - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - static EditLevelLayer* create(GJGameLevel*) = mac 0x1d96f0; - - bool init(GJGameLevel*) = mac 0x1d9820, win 0x09BDF0; - ~EditLevelLayer(); - - void onLevelInfo(cocos2d::CCObject* sender) = mac 0x1dc2c0; - TodoReturn onMoveToTop(); - void onSetFolder(cocos2d::CCObject* sender) = mac 0x1dc080; - void onGuidelines(cocos2d::CCObject* sender) = mac 0x1dc500; - void onLowDetailMode(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender) = mac 0x1dc120; - void onUpdateDescription(cocos2d::CCObject* sender) = mac 0x1dbc30; - void onBack(cocos2d::CCObject* sender) = mac 0x1dc170; - void onEdit(cocos2d::CCObject* sender) = mac 0x1dadc0; - void onHelp(cocos2d::CCObject* sender) = mac 0x1dbe00; - void onPlay(cocos2d::CCObject* sender) = mac 0x1daf10; - void onTest(cocos2d::CCObject* sender); - TodoReturn onClone(); - void onShare(cocos2d::CCObject* sender) = mac 0x1db050; - TodoReturn onDelete(); - - void confirmClone(cocos2d::CCObject*) = mac 0x1dbed0; - void confirmDelete(cocos2d::CCObject*) = mac 0x1dbd10; - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn closeTextInputs(); - TodoReturn verifyLevelName(); - void confirmMoveToTop(cocos2d::CCObject*) = mac 0x1dbfa0; - TodoReturn scene(GJGameLevel*) = mac 0x1d9590; - TodoReturn playStep2(); - TodoReturn playStep3(); - - virtual void keyBackClicked() = mac 0x1dd510; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x1dd540; - virtual void setIDPopupClosed(SetIDPopup*, int) = mac 0x1dd410; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x1dd060; - virtual void textInputOpened(CCTextInputNode*) = mac 0x1dc940; - virtual void textInputClosed(CCTextInputNode*) = mac 0x1dc650; - virtual void textChanged(CCTextInputNode*) = mac 0x1dca20; - virtual void uploadActionFinished(int, int) = mac 0x1dd5e0; - virtual void uploadActionFailed(int, int) = mac 0x1dd770; - virtual void onClosePopup(UploadActionPopup*) = mac 0x1dd590; - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_folderLabel; - bool m_unk; - bool m_lowDetailModeTriggered; - GJLevelType m_levelType; -} - - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - - static GJAccountManager* get() { - return GJAccountManager::sharedState(); - } - - ~GJAccountManager(); - - cocos2d::CCObject* getDLObject(char const*); - gd::string getShaPassword(gd::string); - void getAccountSyncURL(); - void getAccountBackupURL(); - - void onSyncAccountCompleted(gd::string, gd::string); - void onLoginAccountCompleted(gd::string, gd::string); - void onBackupAccountCompleted(gd::string, gd::string); - void onRegisterAccountCompleted(gd::string, gd::string); - void onGetAccountSyncURLCompleted(gd::string, gd::string); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onGetAccountBackupURLCompleted(gd::string, gd::string); - void onUpdateAccountSettingsCompleted(gd::string, gd::string); - - void dataLoaded(DS_Dictionary*); - void firstSetup(); - void handleItND(cocos2d::CCNode*, void*); - /* unverified signature */ - bool isDLActive(char const*); - static GJAccountManager* sharedState() = win 0x186ff0, mac 0xcba00; - bool syncAccount(gd::string); - void encodeDataTo(DS_Dictionary*); - void loginAccount(gd::string, gd::string); - void addDLToActive(char const*); - void addDLToActive(char const*, cocos2d::CCObject*) = win 0x187680; - bool backupAccount(gd::string); - void linkToAccount(gd::string, gd::string, int, int); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string); - void unlinkFromAccount(); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void removeDLFromActive(char const*); - void updateAccountSettings(int, int, int, gd::string, gd::string, gd::string) = win 0x1896b0; - void handleIt(bool, gd::string, gd::string, GJHttpType); - - virtual bool init() = mac 0xcdf10; - - cocos2d::CCDictionary* m_activeDownloads; - gd::string m_username; - int m_accountID; - int m_unkInt1; - int m_unkInt2; - gd::string m_GJP2; - GJAccountRegisterDelegate* m_accountRegisterDelegate; - GJAccountLoginDelegate* m_accountLoginDelegate; - GJAccountDelegate* m_accountDelegate; - GJAccountBackupDelegate* m_backupDelegate; - GJAccountSyncDelegate* m_syncDelegate; - GJAccountSettingsDelegate* m_accountSettingsDelegate; - int m_gameManagerSize; - int m_localLevelsSize; - gd::string m_password; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); -} - - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - static DailyLevelNode* create(GJGameLevel*, DailyLevelPage*, bool) = mac 0x211340; - - bool init(GJGameLevel*, DailyLevelPage*, bool) = mac 0x211b10, win 0x98BD0; - ~DailyLevelNode(); - - void onSkipLevel(cocos2d::CCObject* sender) = mac 0x212660; - void onClaimReward(cocos2d::CCObject* sender) = mac 0x212560; - - void showSkipButton(); - void updateTimeLabel(gd::string) = win 0x997a0; - - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x99770, mac 0x212820; - - GJGameLevel* m_level; - DailyLevelPage* m_page; - cocos2d::CCLabelBMFont* m_timeLabel; - PAD = win 0x8, android32 0x8; - CCMenuItemSpriteExtra* m_skipButton; - bool m_unkBool; - bool m_needsDownloading; -} - - -[[link(android)]] -class ColorAction : cocos2d::CCObject { - static ColorAction* create(cocos2d::_ccColor3B, bool, int); - static ColorAction* create(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float, double, bool); - static ColorAction* create(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float, double, bool, int, float, float) = win 0x1d49d0; - static ColorAction* create() = win 0x1d4980, mac 0x2b27c0; - - bool init(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float, double, bool, int, float, float); - ~ColorAction(); - - TodoReturn getCopy(); - - TodoReturn resetAction(); - void saveToState(CAState&); - TodoReturn setupFromMap(gd::map&); - void loadFromState(CAState&); - void setupFromString(gd::string); - // TODO: this is a scary function - // TodoReturn writeSaveString(fmt::BasicWriter&); - TodoReturn updateCustomColor(cocos2d::_ccColor3B, cocos2d::_ccColor3B); - void step(float); - /* unverified signature */ - bool isInUse(); - - bool m_stepFinished; - // property 19 - bool m_property19; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_fromOpacity; - float m_toOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - bool m_unknown; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - // more stuff -} - - -[[link(android)]] -class CAState { - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - cocos2d::ccColor3B m_color; - bool m_property19; - bool m_blending; - bool m_copyOpacity; - bool m_unknown; - int m_playerColor; - int m_colorID; - int m_copyID; - int m_unknown2; - float m_duration; - float m_fromOpacity; - float m_toOpacity; - float m_deltaTime; - float m_unknown3; - cocos2d::ccHSVValue m_copyHSV; -} - - -[[link(android)]] -class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - static ColorSelectPopup* create(cocos2d::_ccColor3B); - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - ~ColorSelectPopup(); - - TodoReturn getColorValue(); - - void onTintGround(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onFPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onDefault(cocos2d::CCObject* sender); - - TodoReturn colorToHex(cocos2d::_ccColor3B); - TodoReturn hexToColor(gd::string); - TodoReturn selectColor(cocos2d::_ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateHSVMode(); - void updateOpacity(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateHSVValue(); - TodoReturn updateCopyColor(); - void closeColorSelect(cocos2d::CCObject*); - TodoReturn updateColorValue(); - TodoReturn updateColorLabels(); - void updateOpacityLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateTextInputLabel(); - TodoReturn updateCopyColorTextInputLabel(); - - virtual void show() = mac 0x6ee1a0; - virtual TodoReturn determineStartValues() = mac 0x6ebf80; - virtual void textChanged(CCTextInputNode*) = mac 0x6ee290; - virtual void colorValueChanged(cocos2d::_ccColor3B) = mac 0x6ec740; - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = mac 0x6ee830; - - PAD = android32 0x40; - ColorAction* m_colorAction; -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - static ColorActionSprite* create() = win 0x1d4800; - - ~ColorActionSprite(); - - virtual bool init() = mac 0x2b25c0; -} - -[[link(android)]] -class GJSpecialColorSelect : FLAlertLayer { - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*, ColorSelectType); - - bool init(int, GJSpecialColorSelectDelegate*, ColorSelectType); - ~GJSpecialColorSelect(); - - TodoReturn getButtonByTag(int); - - void onSelectColor(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - static const char* textForColorIdx(int) = mac 0x5eacd0; - TodoReturn highlightSelected(ButtonSprite*); - - virtual void keyBackClicked() = mac 0x5eaf20; -} - - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual void colorSelectClosed(GJSpecialColorSelect*, int); -} - - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - static ColorSelectLiveOverlay* create(ColorAction*, ColorAction*, EffectGameObject*); - - bool init(ColorAction*, ColorAction*, EffectGameObject*); - ~ColorSelectLiveOverlay(); - - TodoReturn getColorValue(); - - void onSelectTab(cocos2d::CCObject* sender); - - TodoReturn selectColor(cocos2d::_ccColor3B); - void textChanged(CCTextInputNode*); - TodoReturn sliderChanged(cocos2d::CCObject*); - void updateOpacity(); - TodoReturn toggleControls(bool); - void textInputClosed(CCTextInputNode*); - void closeColorSelect(cocos2d::CCObject*); - TodoReturn createWithObject(EffectGameObject*); - TodoReturn updateColorLabel(); - TodoReturn updateColorValue(); - void colorValueChanged(cocos2d::_ccColor3B); - TodoReturn createWithActions(ColorAction*, ColorAction*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - - virtual void keyBackClicked() = mac 0x536080; - virtual void show() = mac 0x536130; - - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; -} - - -[[link(android)]] -class SetupTriggerPopup : FLAlertLayer, TextInputDelegate, ConfigureValuePopupDelegate, SliderDelegate { - static SetupTriggerPopup* create(float, float); - static SetupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*, float, float, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, float, float, int) = mac 0x214070; - ~SetupTriggerPopup(); - - TodoReturn getObjects(); - TodoReturn getTriggerValue(int, GameObject*); - TodoReturn getPageContainer(int); - TodoReturn getGroupContainer(int); - TodoReturn getMaxSliderValue(int); - TodoReturn getMinSliderValue(int); - TodoReturn getTruncatedValue(float, int); - TodoReturn getTruncatedValueByTag(int, float); - - // /* unverified signature */ - void setMaxSliderValue(float, int); - // /* unverified signature */ - void setMinSliderValue(float, int); - - void onEaseRate(cocos2d::CCObject* sender); - void onPlusButton(cocos2d::CCObject* sender) = mac 0xa6c0; - void onCustomButton(cocos2d::CCObject* sender) = mac 0xa6d0; - void onDisableValue(cocos2d::CCObject* sender); - void onMultiTrigger(cocos2d::CCObject* sender); - void onCustomEaseRate(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn onCustomEaseArrow(int, bool); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onCustomEaseArrowUp(cocos2d::CCObject* sender); - void onToggleTriggerValue(cocos2d::CCObject* sender); - void onCustomEaseArrowDown(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0xa6f0; - void onEase(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x218190; - - TodoReturn updateLabel(int, gd::string); - TodoReturn updateValue(int, float); - TodoReturn addInfoLabel(gd::string, float, cocos2d::CCPoint, int, int); - TodoReturn updateSlider(int); - TodoReturn updateSlider(int, float); - TodoReturn valueChanged(int, float); - TodoReturn addHelpButton(gd::string, gd::string, float); - TodoReturn addCloseButton(gd::string); - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn closeInputNodes(); - TodoReturn updateEaseLabel(); - TodoReturn addObjectsToPage(cocos2d::CCArray*, int); - TodoReturn addObjectToGroup(cocos2d::CCObject*, int); - TodoReturn createPlusButton(int, cocos2d::CCPoint, float, gd::string, int, int); - TodoReturn shouldLimitValue(int); - TodoReturn toggleLimitValue(int, bool); - TodoReturn togglePageArrows(bool); - TodoReturn triggerArrowLeft(cocos2d::CCObject*); - TodoReturn addObjectsToGroup(cocos2d::CCArray*, int); - TodoReturn createPageButtons(float, int); - TodoReturn triggerArrowRight(cocos2d::CCObject*); - TodoReturn updateEditorLabel(); - TodoReturn createCustomButton(int, gd::string, gd::string, cocos2d::CCPoint, float, float, bool, int, int); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCPoint); - TodoReturn createValueControl(int, gd::string, cocos2d::CCPoint, float, float, float); - TodoReturn resetDisabledValues(); - TodoReturn triggerArrowChanged(int, bool); - TodoReturn updateEaseRateLabel(); - TodoReturn updateValueControls(int, float); - TodoReturn createEasingControls(cocos2d::CCPoint, float, int, int); - TodoReturn removeObjectFromPage(cocos2d::CCObject*, int); - TodoReturn toggleDisableButtons(bool); - TodoReturn triggerSliderChanged(cocos2d::CCObject*); - TodoReturn updateInputNodeLabel(int, gd::string); - TodoReturn updateTouchTriggered(); - TodoReturn removeObjectFromGroup(cocos2d::CCObject*, int); - TodoReturn updateCustomEaseLabel(int, int); - TodoReturn updateMultiTriggerBtn(); - TodoReturn refreshGroupVisibility(); - TodoReturn updateSpawnedByTrigger(); - TodoReturn createMultiTriggerItems(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - TodoReturn createToggleValueControl(int, gd::string, cocos2d::CCPoint, bool, int, int, float); - TodoReturn toggleEaseRateVisibility(); - TodoReturn createValueControlWArrows(int, gd::string, cocos2d::CCPoint, float); - TodoReturn updateCustomEaseRateLabel(int, float); - TodoReturn updateCustomToggleTrigger(int, bool); - TodoReturn createCustomEasingControls(gd::string, cocos2d::CCPoint, float, int, int, int, int); - TodoReturn createValueControlAdvanced(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle, int, bool); - TodoReturn createMultiTriggerItemsCorner(); - TodoReturn createCustomToggleValueControl(int, bool, bool, gd::string, cocos2d::CCPoint, bool, int, int); - TodoReturn createMultiTriggerItemsDefault(); - TodoReturn toggleCustomEaseRateVisibility(int, int); - TodoReturn createToggleValueControlAdvanced(int, gd::string, cocos2d::CCPoint, bool, int, int, float, float, float, cocos2d::CCPoint); - TodoReturn createMultiTriggerItemsDefaultVertical(); - TodoReturn createMultiTriggerItemsDefaultHorizontal(); - TodoReturn hideAll(); - TodoReturn addTitle(gd::string); - void goToPage(int, bool); - TodoReturn preSetup(); - TodoReturn toggleBG(bool); - TodoReturn postSetup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x21f060; - virtual void keyBackClicked() = mac 0x2182f0; - virtual void show() = mac 0x218130; - virtual TodoReturn pageChanged() = mac 0xa6a0; - virtual TodoReturn toggleGroup(int, bool) = mac 0x214ba0; - virtual TodoReturn determineStartValues() = mac 0x215d20; - virtual void textInputClosed(CCTextInputNode*) = mac 0x2160a0; - virtual void textChanged(CCTextInputNode*) = mac 0x2160e0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x218330; - virtual void textInputReturn(CCTextInputNode*) = mac 0x2183f0; - virtual TodoReturn updateInputValue(int, float&) = mac 0xa6b0; - virtual TodoReturn sliderBegan(Slider*) = mac 0x2184a0; - virtual TodoReturn sliderEnded(Slider*) = mac 0x218580; - virtual void updateDefaultTriggerValues() = mac 0x21a8a0; - virtual TodoReturn updateInputNode(int, float) = mac 0x21ce00; - virtual TodoReturn updateToggleItem(int, bool) = mac 0x21cfd0; - virtual TodoReturn valueDidChange(int, float) = mac 0xa6e0; - virtual TodoReturn getValue(int) = mac 0x21d090; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0x21d420; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0x21d4a0; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = mac 0x21e120; - - PAD = android32 0xac; -} - - -[[link(android)]] -class ConfigureValuePopupDelegate { - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - - -[[link(android)]] -class SliderDelegate { - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); -} - - -[[link(android)]] -class ConfigureValuePopup : FLAlertLayer, TextInputDelegate { - static ConfigureValuePopup* create(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - - bool init(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - ~ConfigureValuePopup(); - - void onClose(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = mac 0x5e7e60; - virtual void textInputClosed(CCTextInputNode*) = mac 0x5e7d10; - virtual void textChanged(CCTextInputNode*) = mac 0x5e7d50; -} - -[[link(android)]] -class SelectArtDelegate { - virtual void selectArtClosed(SelectArtLayer*); -} - - -[[link(android)]] -class SelectArtLayer : FLAlertLayer { - static SelectArtLayer* create(SelectArtType, int); - - bool init(SelectArtType, int); - ~SelectArtLayer(); - - void onSelectCustom(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateSelectedCustom(int); - TodoReturn selectArt(cocos2d::CCObject*); - - virtual void keyBackClicked() = mac 0x24e760; -} - -[[link(android)]] -class SelectSettingDelegate { - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - - -[[link(android)]] -class SelectSettingLayer : FLAlertLayer { - static SelectSettingLayer* create(SelectSettingType, int); - - bool init(SelectSettingType, int); - ~SelectSettingLayer(); - - TodoReturn getSelectedFrame(); - TodoReturn getSelectedValue(); - - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - TodoReturn idxToValue(SelectSettingType, int); - TodoReturn valueToIdx(SelectSettingType, int); - TodoReturn frameForItem(SelectSettingType, int); - TodoReturn frameForValue(SelectSettingType, int); - - virtual void keyBackClicked() = mac 0x24f460; -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual TodoReturn customSongLayerClosed(); -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, SelectSettingDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate, TextInputDelegate { - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*); - - bool init(LevelSettingsObject*, LevelEditorLayer*) = mac 0x249830; - ~LevelSettingsLayer(); - - void onLiveEdit(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onShowPicker(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onGameplayMode(cocos2d::CCObject* sender); - void onOptionToggle(cocos2d::CCObject* sender); - void onCol(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFGArt(cocos2d::CCObject* sender); - void onSpeed(cocos2d::CCObject* sender); - void onDisable(cocos2d::CCObject* sender); - - void showPicker(ColorAction*); - TodoReturn updateColorSprite(ColorChannelSprite*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn updateColorSprites(); - TodoReturn updateGameplayModeButtons(); - - virtual void registerWithTouchDispatcher() = mac 0x24ce00; - virtual void keyBackClicked() = mac 0x24d730; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x24d290; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0x24d1b0; - virtual void selectArtClosed(SelectArtLayer*) = mac 0x24d4c0; - virtual TodoReturn selectSettingClosed(SelectSettingLayer*) = mac 0x24cc30; - virtual void textInputClosed(CCTextInputNode*) = mac 0x24ce50; - virtual void textChanged(CCTextInputNode*) = mac 0x24ce90; -} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - static GJChallengeItem* create(GJChallengeType, int, int, int, gd::string); - static GJChallengeItem* create() = mac 0x8b120; - - bool init(GJChallengeType, int, int, int, gd::string); - ~GJChallengeItem(); - - void dataLoaded(DS_Dictionary*) = mac 0x8b3c0; - TodoReturn incrementCount(int); - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x8b350; - TodoReturn createFromString(gd::string) = mac 0x8af60; - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x8b520; - virtual bool canEncode() = mac 0x8b5f0; - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class LocalLevelManager : GManager { - ~LocalLevelManager(); - - TodoReturn getCreatedLists(int) = mac 0x5bd470; - TodoReturn getCreatedLevels(int) = mac 0x5bd3e0; - cocos2d::CCDictionary* getAllLevelsInDict(); - gd::string getMainLevelString(int) = win 0x273230; - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getLevelsInNameGroups(); - - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - static LocalLevelManager* sharedState() = win 0x272F00, mac 0x5bc220; - TodoReturn reorderLevels(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - TodoReturn markLevelsAsUnmodified(); - TodoReturn tryLoadMainLevelString(int) = win 0x2730A0, mac 0x5bc400; - - virtual bool init() = mac 0x5bc3c0; - virtual void encodeDataTo(DS_Dictionary*) = mac 0x5bd590; - virtual void dataLoaded(DS_Dictionary*) = mac 0x5bd5f0; - virtual void firstLoad() = mac 0x5bd500; - - cocos2d::CCArray* m_localLevels; - cocos2d::CCArray* m_LLM03; - gd::map m_mainLevels; -} - - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - static GJEffectManager* create() = mac 0x2b6ad0; - - ~GJEffectManager(); - - TodoReturn getMixedColor(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float); - gd::string getSaveString(); - TodoReturn getColorAction(int) = win 0x1d7a60, mac 0x2b80f0; - TodoReturn getColorSprite(int) = win 0x1d7ae0, mac 0x2b82b0; - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - TodoReturn getMoveCommandNode(GroupCommandObject2*); - TodoReturn getLoadedMoveOffset(gd::unordered_map>&); - TodoReturn getTempGroupCommand(); - TodoReturn getMoveCommandObject(); - TodoReturn getOpacityActionForGroup(int); - - void setFollowing(int, int, bool); - void setColorAction(ColorAction*, int); - - TodoReturn pauseTimer(int); - TodoReturn playerDied() = win 0x1de560, mac 0x2c4bf0; - TodoReturn spawnGroup(int, float, bool, gd::vector const&, int, int); - TodoReturn startTimer(int, double, double, bool, bool, bool, float, bool, int, gd::vector const&, int, int); - TodoReturn colorExists(int) = mac 0x2b95d0; - TodoReturn resumeTimer(int); - void saveToState(EffectManagerState&) = win 0x1dfe50; - bool shouldBlend(int) = mac 0x2b83f0; - TodoReturn spawnObject(GameObject*, float, gd::vector const&, int, int); - TodoReturn timeForItem(int); - TodoReturn timerExists(int); - TodoReturn toggleGroup(int, bool); - TodoReturn updateTimer(int, double); - TodoReturn countForItem(int); - TodoReturn playerButton(bool, bool); - TodoReturn resetEffects(); - TodoReturn updateColors(cocos2d::_ccColor3B, cocos2d::_ccColor3B); - TodoReturn updateTimers(float, float); - TodoReturn wasFollowing(int, int); - TodoReturn colorForIndex(int); - void loadFromState(EffectManagerState&); - TodoReturn processColors() = mac 0x2b8430; - TodoReturn updateEffects(float) = mac 0x2b9630; - TodoReturn addCountToItem(int, int); - TodoReturn checkCollision(int const&, int const&); - TodoReturn colorForEffect(cocos2d::_ccColor3B, cocos2d::_ccHSVValue); - // /* unverified signature */ - bool isGroupEnabled(int); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::_ccColor3B, cocos2d::_ccHSVValue, int, bool, bool, bool, bool, int, int); - TodoReturn colorForGroupID(int, cocos2d::_ccColor3B const&, bool); - TodoReturn objectsCollided(int, int) = win 0x1d7fa0; - TodoReturn opacityForIndex(int); - TodoReturn postMoveActions(); - TodoReturn runCountTrigger(int, int, bool, int, bool, gd::vector const&, int, int); - TodoReturn runDeathTrigger(int, bool, gd::vector const&, int, int); - TodoReturn runTimerTrigger(int, double, bool, int, gd::vector const&, int, int); - void setupFromString(gd::string); - TodoReturn wouldCreateLoop(InheritanceNode*, int) = win 0x1d7a30; - TodoReturn hasBeenTriggered(int, int); - TodoReturn resetMoveActions(); - TodoReturn storeTriggeredID(int, int); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, bool, bool, float, float, int, int); - TodoReturn preCollisionCheck(); - TodoReturn removeColorAction(int); - TodoReturn removeTriggeredID(int, int); - TodoReturn resetTriggeredIDs(); - TodoReturn saveCompletedMove(int, double, double); - TodoReturn updateColorAction(ColorAction*); - TodoReturn addMoveCalculation(CCMoveCNode*, cocos2d::CCPoint, GameObject*); - TodoReturn colorActionChanged(ColorAction*); - TodoReturn hasActiveDualTouch(); - TodoReturn keyForGroupIDColor(int, cocos2d::_ccColor3B const&, bool); - TodoReturn opacityModForGroup(int); - TodoReturn postCollisionCheck(); - TodoReturn prepareMoveActions(float, bool); - TodoReturn resetToggledGroups(); - TodoReturn updateColorEffects(float); - TodoReturn updateCountForItem(int, int); - TodoReturn updatePulseEffects(float); - TodoReturn activeColorForIndex(int) = win 0x1d7390, mac 0x2b8260; - TodoReturn colorForPulseEffect(cocos2d::_ccColor3B const&, PulseEffectAction*) = win 0x1ddbc0; - TodoReturn createFollowCommand(float, float, float, int, int, int, int); - TodoReturn createRotateCommand(float, float, int, int, int, float, bool, bool, bool, int, int); - TodoReturn processPulseActions() = win 0x1dd8e0; - void updateOpacityAction(OpacityEffectAction*); - TodoReturn updateSpawnTriggers(float); - TodoReturn toggleItemPersistent(int, bool); - void updateOpacityEffects(float); - TodoReturn activeOpacityForIndex(int) = mac 0x2b83c0; - TodoReturn calculateLightBGColor(cocos2d::_ccColor3B) = win 0x1df6c0, mac 0x2c74c0; - TodoReturn createKeyframeCommand(int, cocos2d::CCArray*, GameObject*, int, int, bool, float, float, float, float, float, float, gd::vector const&); - TodoReturn handleObjectCollision(bool, int, int); - TodoReturn removeAllPulseActions(); - TodoReturn toggleTimerPersistent(int, bool); - TodoReturn tryGetMoveCommandNode(int); - TodoReturn createTransformCommand(double, double, double, double, bool, float, int, int, int, float, bool, bool, int, int); - TodoReturn processInheritedColors() = win 0x1d74e0, mac 0x2b8750; - TodoReturn resetTempGroupCommands(bool); - TodoReturn runTouchTriggerCommand(int, bool, TouchTriggerType, TouchTriggerControl, bool, gd::vector const&, int, int); - TodoReturn calculateInheritedColor(int, ColorAction*); - TodoReturn processMoveCalculations(); - TodoReturn registerRotationCommand(GroupCommandObject2*, bool); - TodoReturn runOpacityActionOnGroup(int, float, float, int, int); - TodoReturn transferPersistentItems(); - TodoReturn controlActionsForTrigger(EffectGameObject*, GJActionCommand); - TodoReturn hasPulseEffectForGroupID(int); - TodoReturn registerCollisionTrigger(int, int, int, bool, bool, gd::vector const&, int, int); - TodoReturn traverseInheritanceChain(InheritanceNode*) = win 0x1d7730; - TodoReturn calculateBaseActiveColors() = win 0x1d7410; - TodoReturn createPlayerFollowCommand(float, float, int, float, float, int, int, int); - TodoReturn controlActionsForControlID(int, GJActionCommand); - TodoReturn updateActiveOpacityEffects(); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn processCopyColorPulseActions() = win 0x1dd9a0, mac 0x2b8b00; - TodoReturn removePersistentFromAllItems(); - TodoReturn removePersistentFromAllTimers(); - TodoReturn reset(); - - virtual bool init() = win 0x1d6f50, mac 0x2b6e10; -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::_ccColor4B, float, float, bool) = win 0x203350, mac 0x27c4e0; - - bool init(BoomListView*, char const*, cocos2d::_ccColor4B, float, float, bool) = win 0x203440, mac 0x27c5f0; - ~GJCommentListLayer(); - - BoomListView* m_list; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - ~ArtistCell(); - - void onNewgrounds(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - - void updateBGColor(int) = win 0x807B0; - void loadFromObject(SongInfoObject*) = mac 0x226170, win 0x83840; - ArtistCell(char const*, float, float); - - virtual bool init() = mac 0x2329c0; - virtual void draw() = mac 0x232b20; -} - -[[link(android)]] -class ButtonPage : cocos2d::CCLayer { - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - ~ButtonPage(); -} - -[[link(android)]] -class FontObject : cocos2d::CCObject { - TodoReturn initWithConfigFile(char const*, float); - ~FontObject(); - - TodoReturn getFontWidth(int) = mac 0x1feb60; - - TodoReturn parseConfigFile(char const*, float); - TodoReturn createWithConfigFile(char const*, float); -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - static GJItemIcon* create(UnlockType unlockType, int itemID, cocos2d::_ccColor3B, cocos2d::_ccColor3B, bool, bool, bool, cocos2d::_ccColor3B) = mac 0x34ef90, win 0x1F0790; - - bool init(UnlockType, int, cocos2d::_ccColor3B, cocos2d::_ccColor3B, bool, bool, bool, cocos2d::_ccColor3B) = mac 0x34f0a0, win 0x1f0870; - ~GJItemIcon(); - - TodoReturn scaleForType(UnlockType); - TodoReturn createStoreItem(UnlockType, int, bool, cocos2d::_ccColor3B); - TodoReturn darkenStoreItem(ShopType); - TodoReturn darkenStoreItem(cocos2d::_ccColor3B); - static GJItemIcon* createBrowserItem(UnlockType unlockType, int itemID) { - return GJItemIcon::create(unlockType, itemID, {0xAF, 0xAF, 0xAF}, {0xFF, 0xFF, 0xFF}, false, true, true, {0xFF, 0xFF, 0xFF}); - } - TodoReturn toggleEnabledState(bool); - TodoReturn changeToLockedState(float); - TodoReturn unlockedColorForType(int); - - virtual void setOpacity(unsigned char) = mac 0x34f600; -} - -[[link(android)]] -class GJPathPage : FLAlertLayer, FLAlertLayerProtocol, GJPurchaseDelegate { - static GJPathPage* create(int, GJPathsLayer*) = win 0x1F8990; - - bool init(int, GJPathsLayer*) = win 0x1F8A40; - ~GJPathPage(); - - void onIconInfo(cocos2d::CCObject* sender); - void onActivatePath(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onUnlock(cocos2d::CCObject* sender); - - TodoReturn playUnlockAnimation(); - TodoReturn unlockAnimationStep2(); - TodoReturn unlockAnimationStep3(); - void showCantAffordMessage(GJStoreItem*); - TodoReturn unlockAnimationFinished(); - - virtual void registerWithTouchDispatcher() = mac 0x2df5c0; - virtual void keyBackClicked() = mac 0x2df480; - virtual void show() = mac 0x2df600; - virtual TodoReturn didPurchaseItem(GJStoreItem*) = mac 0x2dd930; -} - -[[link(android)]] -class GJUserCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - ~GJUserCell(); - - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender) = mac 0x234640; - void onViewProfile(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onCancelFriendRequest(cocos2d::CCObject* sender); - - void loadFromScore(GJUserScore*) = mac 0x22a2e0, win 0x87F80; - void updateBGColor(int) = win 0x807B0; - GJUserCell(char const*, float, float); - - virtual bool init() = mac 0x2345f0; - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x234d70; - virtual void uploadActionFinished(int, int) = mac 0x235020; - virtual void uploadActionFailed(int, int) = mac 0x235210; - virtual void onClosePopup(UploadActionPopup*) = mac 0x235380; -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - static HardStreak* create(); - - ~HardStreak(); - - void firstSetup(); - TodoReturn stopStroke(); - TodoReturn resumeStroke(); - callback void updateStroke(float) = win 0x221C00, mac 0x96e30; - TodoReturn clearAboveXPos(float); - TodoReturn normalizeAngle(double); - TodoReturn clearBehindXPos(float); - TodoReturn createDuplicate(); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - TodoReturn scheduleAutoUpdate(); - TodoReturn reset(); - TodoReturn addPoint(cocos2d::CCPoint) = win 0x2224F0; - - virtual bool init() = mac 0x96c80; -} - - -[[link(android)]] -class PriceLabel : cocos2d::CCNode { - static PriceLabel* create(int); - - bool init(int); - ~PriceLabel(); - - /* unverified signature */ - void setOpacity(float); - /* unverified signature */ - void setColor(cocos2d::_ccColor3B); - /* unverified signature */ - void setPrice(int); -} - -[[link(android)]] -class SFXBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, SelectSFXSortDelegate { - static SFXBrowser* create(int); - - bool init(int); - ~SFXBrowser(); - - void setTextPopupClosed(SetTextPopup*, gd::string) = mac 0x41e7b0; - - - void onExitFolder(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void onToggleCompactMode(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onCredits(cocos2d::CCObject* sender); - void onSorting(cocos2d::CCObject* sender); - - TodoReturn updatePageLabel(); - TodoReturn trySetupSFXBrowser(); - void setupList(SFXSearchResult*); - - virtual void registerWithTouchDispatcher() = mac 0x41eac0; - virtual void keyBackClicked() = mac 0x41ea20; - virtual void musicActionFinished(GJMusicAction) = mac 0x41e090; - virtual void musicActionFailed(GJMusicAction) = mac 0x41e1a0; - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*) = mac 0x41e560; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x41e870; - virtual TodoReturn getSelectedCellIdx() = mac 0x41e9e0; - virtual TodoReturn shouldSnapToSelected() = mac 0x41ea00; -} - -[[link(android)]] -class ShardsPage : FLAlertLayer { - static ShardsPage* create(); - - ~ShardsPage(); - - void onIconInfo(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - - virtual bool init() = mac 0x4a0e00; - virtual void registerWithTouchDispatcher() = mac 0x4a2c70; - virtual void keyBackClicked() = mac 0x4a2c00; - virtual void show() = mac 0x4a2a70; -} - -[[link(android)]] -class SongObject : cocos2d::CCObject { - static SongObject* create(int); - - bool init(int); - ~SongObject(); -} - -[[link(android)]] -class SongsLayer : GJDropDownLayer { - static SongsLayer* create(); - - ~SongsLayer(); - - virtual void customSetup() = mac 0x4e9da0; -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - static StatsLayer* create(); - - ~StatsLayer(); - - virtual void customSetup() = mac 0x95690; -} - - -[[link(android)]] -class CCCountdown : cocos2d::CCSprite { - static CCCountdown* create(); - - ~CCCountdown(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init() = mac 0x782f70; - virtual void setOpacity(unsigned char) = mac 0x783340; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCObject { - static CCMoveCNode* create(); - - bool init(); - ~CCMoveCNode(); - - TodoReturn reset(); -} - -[[link(android)]] -class CCURLObject : cocos2d::CCObject { - static CCURLObject* create(gd::string, gd::string); - - bool init(gd::string, gd::string); - ~CCURLObject(); -} - - -[[link(android)]] -class GJBigSprite : cocos2d::CCNode { - static GJBigSprite* create(); - - ~GJBigSprite(); - - TodoReturn unloadSprite(gd::string, int); - TodoReturn loadSpriteAsync(gd::string, int); - TodoReturn updateSpriteVisibility(); - TodoReturn finishedLoadingSpriteAsync(cocos2d::CCObject*); - TodoReturn unloadAll(); - - virtual bool init() = mac 0x247f80; -} - -[[link(android)]] -class GJMapObject : cocos2d::CCNode { - static GJMapObject* create(cocos2d::CCNode*); - - bool init(cocos2d::CCNode*); - ~GJMapObject(); - - /* unverified signature */ - void setObjectOrigin(cocos2d::CCPoint, float); - - TodoReturn playerJump(); - TodoReturn monsterIdle(); - TodoReturn monsterJump(); - TodoReturn moveMonster(cocos2d::CCPoint, float); - TodoReturn moveMonster(); - TodoReturn moveFinished(); - TodoReturn touchMonster(); - TodoReturn updateShadow(float, float, cocos2d::CCPoint); - TodoReturn createMonster(int) = mac 0x244df0; - TodoReturn startPlayerJumpLoop(); - TodoReturn startMonsterJumpLoop(); -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - ~GJScoreCell(); - - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender) = win 0x86f20; - void onBan(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - - void loadFromScore(GJUserScore*) = mac 0x228500, win 0x85EB0; - void updateBGColor(int) = win 0x807B0; - GJScoreCell(char const*, float, float); - - virtual bool init() = mac 0x2339c0; - virtual void draw() = mac 0x233c70; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x233bb0; - - GJUserScore* m_score; -} - -[[link(android)]] -class GJShopLayer : cocos2d::CCLayer, GJPurchaseDelegate, DialogDelegate, RewardedVideoDelegate { - static GJShopLayer* create(ShopType) = win 0x214D90; - - bool init(ShopType) = win 0x214E30, mac 0x300240; - ~GJShopLayer(); - - void onPlushies(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x216580; - void onCommunityCredits(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x301b50; - void onVideoAd(cocos2d::CCObject* sender); - - TodoReturn exitVideoAdItems(); - void showReactMessage() = win 0x217100; - void showCantAffordMessage(GJStoreItem*) = win 0x2166B0; - TodoReturn updateCurrencyCounter(); - TodoReturn scene(ShopType) = win 0x214D50; - - virtual void onExit() = mac 0x301e10; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x304340; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3046b0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3046d0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x3046f0; - virtual void registerWithTouchDispatcher() = mac 0x304730; - virtual void keyBackClicked() = mac 0x302dc0; - virtual TodoReturn didPurchaseItem(GJStoreItem*) = mac 0x3026c0; - virtual TodoReturn rewardedVideoFinished() = mac 0x302100; - virtual void dialogClosed(DialogLayer*) = mac 0x304180; -} - -[[link(android)]] -class GJStoreItem : cocos2d::CCNode { - static GJStoreItem* create(int, int, int, int, ShopType); - - bool init(int, int, int, int, ShopType) = mac 0x8b600; - ~GJStoreItem(); - - TodoReturn getCurrencyKey(); -} - -[[link(android)]] -class GJWorldNode : cocos2d::CCNode { - static GJWorldNode* create(int, WorldSelectLayer*); - - bool init(int, WorldSelectLayer*); - ~GJWorldNode(); - - void onLevel(cocos2d::CCObject* sender); - - TodoReturn addDotsToLevel(int, bool); - TodoReturn unlockActiveItem(); - TodoReturn dotPositionForLevel(int, int); - TodoReturn positionForLevelButton(int); - TodoReturn playStep1(); - TodoReturn playStep2(); - TodoReturn playStep3(); -} - -[[link(android)]] -class MapPackCell : TableViewCell { - ~MapPackCell(); - - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender) = win 0x81690; - - TodoReturn reloadCell(); - void updateBGColor(int) = win 0x807B0; - void loadFromMapPack(GJMapPack*) = mac 0x223ab0, win 0x80C40; - TodoReturn playCompleteEffect(); - MapPackCell(char const*, float, float); - - virtual bool init() = mac 0x230a30; - virtual void draw() = mac 0x230ea0; -} - -[[link(android)]] -class OptionsCell : TableViewCell { - ~OptionsCell(); - - void onToggleOption(cocos2d::CCObject* sender); - - void updateBGColor(int) = win 0x807B0; - void loadFromObject(OptionsObject*) = mac 0x2232d0, win 0x833F0; - OptionsCell(char const*, float, float); -} - -[[link(android)]] -class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate { - static RewardsPage* create() = win 0x2EF270; - - ~RewardsPage(); - - TodoReturn getRewardFrame(int, int); - - void onFreeStuff(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReward(cocos2d::CCObject* sender); - - callback void updateTimers(float) = mac 0x1f9460; - TodoReturn tryGetRewards(); - TodoReturn unlockLayerClosed(RewardUnlockLayer*); - - virtual bool init() = mac 0x1f8590, win 0x2EF310; - virtual void registerWithTouchDispatcher() = mac 0x1f9e50; - virtual void keyBackClicked() = mac 0x1f9de0; - virtual void show() = mac 0x1f9c80; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x1f9dc0; - virtual void rewardsStatusFinished(int) = mac 0x1f9900; - virtual void rewardsStatusFailed() = mac 0x1f9b90; - - cocos2d::CCLabelBMFont* m_leftLabel; - cocos2d::CCLabelBMFont* m_rightLabel; - CCMenuItemSpriteExtra* m_leftChest; - CCMenuItemSpriteExtra* m_rightChest; - bool m_leftOpen; - bool m_rightOpen; - cocos2d::CCNode* m_openLayer; -} - -[[link(android)]] -class SecretLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol { - static SecretLayer* create(); - - ~SecretLayer(); - - TodoReturn getMessage(); - TodoReturn getBasicMessage(); - TodoReturn getThreadMessage(); - - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - - TodoReturn nodeWithTag(int); - TodoReturn selectAThread(); - TodoReturn playCoinEffect(); - TodoReturn updateSearchLabel(char const*); - TodoReturn updateMessageLabel(gd::string); - TodoReturn scene(); - - virtual bool init() = win 0x2fe1d0, mac 0x5bfb20; - virtual void keyBackClicked() = mac 0x5c3930; - virtual void textInputOpened(CCTextInputNode*) = mac 0x5c2ac0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x5c2b80; - virtual void textChanged(CCTextInputNode*) = mac 0x5c2c50; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5c2aa0; -} - -[[link(android)]] -class ShaderLayer : cocos2d::CCLayer { - static ShaderLayer* create() = win 0x374390; - - ~ShaderLayer(); - - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn setupShader(bool); - TodoReturn triggerBulge(float, float, float, float, float, int, int, float, bool); - TodoReturn triggerSepia(float, float, int, float); - bool updateZLayer(int, int, bool); - TodoReturn triggerGlitch(float, float, float, float, float, float, float, bool); - TodoReturn triggerPinchX(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPinchY(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn preBulgeShader(); - TodoReturn prePinchShader(); - TodoReturn preSepiaShader(); - TodoReturn tweenValueAuto(float, int, float, int, float); - void preCommonShader() = mac 0x3aa510; - void preGlitchShader() = mac 0x3ad250; - bool resetAllShaders(); - TodoReturn toggleAntiAlias(bool); - TodoReturn triggerHueShift(float, float, int, float); - TodoReturn setupBulgeShader() = win 0x37aa00; - TodoReturn setupPinchShader() = win 0x37af60; - TodoReturn setupSepiaShader(); - TodoReturn triggerGrayscale(float, float, bool, int, int, float); - TodoReturn triggerPixelateX(float, float, bool, bool, int, float, bool); - TodoReturn triggerPixelateY(float, float, bool, bool, int, float, bool); - bool triggerShockLine(float, float, bool, bool, bool, bool, float, float, float, float, float, float, int, bool, bool, bool, float, bool, float, int, float); - bool triggerShockWave(float, float, float, float, float, float, float, bool, float, float, float, int, bool, bool, bool, float, float, bool, float, int, float); - TodoReturn preHueShiftShader(); - void prePixelateShader() = mac 0x3adef0; - TodoReturn triggerChromaticX(float, float, int, float, bool); - TodoReturn triggerChromaticY(float, float, int, float, bool); - TodoReturn triggerLensCircle(float, float, float, float, int, int, float, float, int, float, bool); - TodoReturn triggerRadialBlur(float, float, float, float, int, float, float, bool, int, int, float, bool); - void preChromaticShader() = mac 0x3ad7e0; - void preGrayscaleShader() = mac 0x3af3e0; - void preShockLineShader() = mac 0x3acd30; - void preShockWaveShader() = mac 0x3ac670; - TodoReturn triggerColorChange(float, float, float, float, float, float, float, int, float); - TodoReturn triggerInvertColor(float, float, float, float, float, bool, bool, bool, int, float); - TodoReturn triggerMotionBlurX(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerMotionBlurY(float, float, float, float, int, float, bool, int, int, float, bool, bool); - void performCalculations() = win 0x37c330, mac 0x3afea0; - void preLensCircleShader() = mac 0x3ae720; - void preMotionBlurShader() = mac 0x3aecb0; - void preRadialBlurShader() = mac 0x3ae9f0; - void setupCommonUniforms(); - TodoReturn setupGlitchUniforms() = win 0x377e70; - TodoReturn setupHueShiftShader() = win 0x37b6b0; - TodoReturn updateEffectOffsets(cocos2d::CCPoint); - TodoReturn objectPosToShaderPos(cocos2d::CCPoint); - void preColorChangeShader() = mac 0x3af900; - void preInvertColorShader(); - void preSplitScreenShader() = mac 0x3afb10; - void resetTargetContainer(); - TodoReturn setupGrayscaleShader() = win 0x37b0a0; - TodoReturn setupLensCircleShader(); - TodoReturn setupMotionBlurShader() = win 0x37a430; - TodoReturn setupRadialBlurShader() = win 0x379fa0; - void updateShockLineCenter(cocos2d::CCPoint) = mac 0x3accf0; - void updateShockWaveCenter(cocos2d::CCPoint) = mac 0x3ac630; - TodoReturn prepareTargetContainer(); - TodoReturn setupChromaticUniforms() = win 0x378480; - TodoReturn setupColorChangeShader() = win 0x37bad0; - TodoReturn setupInvertColorShader(); - TodoReturn setupShockLineUniforms() = win 0x3776e0; - TodoReturn setupShockWaveUniforms() = win 0x376b20; - TodoReturn setupSplitScreenShader() = win 0x37be40; - TodoReturn triggerChromaticGlitch(bool, float, float, float, float, float, float, float, int, float, bool, bool); - TodoReturn triggerSplitScreenCols(float, float, int, float); - TodoReturn triggerSplitScreenRows(float, float, int, float); - void updateMotionBlurSpeedX(float, float) = mac 0x3aef90; - void updateMotionBlurSpeedY(float, float) = mac 0x3aeff0; - void preChromaticGlitchShader() = mac 0x3adab0; - TodoReturn setupChromaticGlitchUniforms() = win 0x3789c0; - - virtual void update(float) = mac 0x3aa350; - virtual bool init() = mac 0x3a8bb0; - virtual void visit() = win 0x37c480, mac 0x3b01c0; -} - -[[link(android)]] -class UploadPopup : FLAlertLayer, LevelUploadDelegate { - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - ~UploadPopup(); - - void onReturnToLevel(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x260020; - virtual void show() = mac 0x25ffb0; - virtual void levelUploadFinished(GJGameLevel*) = mac 0x25fb50; - virtual void levelUploadFailed(GJGameLevel*) = mac 0x25fda0; -} - -[[link(android)]] -class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate, GJAccountSyncDelegate, FLAlertLayerProtocol { - static AccountLayer* create(); - - ~AccountLayer(); - - void onRegister(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender); - void onLogin(cocos2d::CCObject* sender); - void onBackup(cocos2d::CCObject* sender); - - TodoReturn updatePage(bool); - TodoReturn hideLoadingUI(); - void showLoadingUI(); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doSync(); - TodoReturn doBackup(); - TodoReturn toggleUI(bool); - TodoReturn exitLayer(); - - virtual void customSetup() = mac 0xc85a0; - virtual void layerHidden() = mac 0xca520; - virtual TodoReturn backupAccountFinished() = mac 0xc9a30; - virtual TodoReturn backupAccountFailed(BackupAccountError, int) = mac 0xc9bf0; - virtual TodoReturn syncAccountFinished() = mac 0xc9fe0; - virtual TodoReturn syncAccountFailed(BackupAccountError, int) = mac 0xca160; - virtual TodoReturn accountStatusChanged() = mac 0xc9a00; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0xca400; -} - - - -[[link(android)]] -class CCLightFlash : cocos2d::CCNode { - static CCLightFlash* create(); - - ~CCLightFlash(); - - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::_ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn cleanupFlash(); - TodoReturn removeLights(); - void fadeAndRemove(); - void showFlash(); - - virtual bool init() = mac 0x4de720; -} - -[[link(android)]] -class CCLightStrip : cocos2d::CCNode { - static CCLightStrip* create(float, float, float, float, float); - - bool init(float, float, float, float, float); - ~CCLightStrip(); - - virtual void draw() = mac 0x4df1f0; - virtual void updateTweenAction(float, char const*) = mac 0x4df380; -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - static CCSpritePart* create(cocos2d::CCTexture2D*); - - ~CCSpritePart(); - - TodoReturn getBeingUsed(); - - /* unverified signature */ - void setBeingUsed(bool); - - TodoReturn frameChanged(gd::string); - TodoReturn hideInactive(); - TodoReturn resetTextureRect(); - TodoReturn markAsNotBeingUsed(); - TodoReturn updateDisplayFrame(gd::string); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setVisible(bool) = mac 0x353850; -} - -[[link(android)]] -class ColorAction2 { - TodoReturn resetAction(); - TodoReturn updateCustomColor(cocos2d::_ccColor3B, cocos2d::_ccColor3B); - virtual void step(float); - // ColorAction2(cocos2d::_ccColor3B, cocos2d::_ccColor3B, float, double, bool, int, float, float); -} - -[[link(android)]] -class FindBPMLayer : CreateGuidelinesLayer { - static FindBPMLayer* create(int); - - bool init(int); - ~FindBPMLayer(); - - void onInfo(cocos2d::CCObject* sender) = mac 0x4e5a50; - void onClose(cocos2d::CCObject* sender) = mac 0x4e5a60; - void onRecord(cocos2d::CCObject* sender) = mac 0x4e57c0; - - TodoReturn calculateBPM(); - - virtual TodoReturn playMusic() = mac 0x4e58d0; - virtual TodoReturn registerTouch() = mac 0x4e5960; - virtual TodoReturn recordingDidStop() = mac 0x4e5800; -} - -[[link(android)]] -class GauntletNode : cocos2d::CCNode { - static GauntletNode* create(GJMapPack*) = win 0x185160; - - bool init(GJMapPack*) = mac 0x53ed50, win 0x185220; - ~GauntletNode() = win 0x1836C0; - - void onClaimReward() = win 0x1865E0; - - static gd::string nameForType(GauntletType) = mac 0x5403e0, win 0x186A70; - gd::string frameForType(GauntletType) = mac 0x5408a0, win 0x186610; -} - -[[link(android)]] -class GJHttpResult : cocos2d::CCNode { - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - bool init(bool, gd::string, gd::string, GJHttpType); - ~GJHttpResult(); -} - -[[link(android)]] -class GJLocalScore : cocos2d::CCObject { - static GJLocalScore* create(int, int) = mac 0x52ca40; - - bool init(int, int); - ~GJLocalScore(); -} - -[[link(android)]] -class GJMPDelegate { - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn updateComments(); -} - -[[link(android)]] -class GJPathsLayer : FLAlertLayer, FLAlertLayerProtocol { - static GJPathsLayer* create() = mac 0x2dad20; - - ~GJPathsLayer(); - - void onPath(cocos2d::CCObject* sender) = mac 0x2db510; - void onClose(cocos2d::CCObject* sender); - - static gd::string nameForPath(int) = mac 0x2dab80; - TodoReturn darkenButtons(bool); - - virtual bool init() = mac 0x2dae70, win 0x1F82A0; - virtual void onExit() = win 0x1F8756, mac 0x2db590; - virtual void registerWithTouchDispatcher() = mac 0x2db9b0; - virtual void keyBackClicked() = mac 0x2db8e0; - virtual void show() = mac 0x2db9f0; -} - -[[link(android)]] -class GJPathSprite : CCSpriteCOpacity { - static GJPathSprite* create(int); - - bool init(int) = mac 0x2df780; - ~GJPathSprite(); - - TodoReturn updateState() = mac 0x2db490; - TodoReturn addRankLabel(int) = mac 0x2df890; - TodoReturn addShardSprite() = mac 0x2df370; - TodoReturn changeToLockedArt() = mac 0x2de380; -} - -[[link(android)]] -class GJPromoPopup : FLAlertLayer { - static GJPromoPopup* create(gd::string) = mac 0x2915e0, win 0x211b30; - - bool init(gd::string) = mac 0x291760, win 0x211bf0; - ~GJPromoPopup(); - - void onClose(cocos2d::CCObject* sender); - - virtual void onExit() = mac 0x291a40; - virtual void registerWithTouchDispatcher() = mac 0x291b50; - virtual void keyBackClicked() = mac 0x291a80; - virtual void show() = mac 0x291b90; -} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - static GJRewardItem* create(int, int, gd::string); - static GJRewardItem* create(); - - bool init(int, int, gd::string); - ~GJRewardItem(); - - TodoReturn getRewardCount(SpecialRewardItem); - TodoReturn getNextShardType(SpecialRewardItem); - TodoReturn getRandomShardType(); - TodoReturn getRewardObjectForType(SpecialRewardItem); - TodoReturn getRandomNonMaxShardType(); - - void dataLoaded(DS_Dictionary*); - /* unverified signature */ - bool isShardType(SpecialRewardItem); - TodoReturn createSpecial(GJRewardType, int, int, SpecialRewardItem, int, SpecialRewardItem, int, int, int) = mac 0x78290; - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x8adb0; - TodoReturn createWithObject(GJRewardType, GJRewardObject*); - TodoReturn rewardItemToStat(SpecialRewardItem); - TodoReturn createWithObjects(GJRewardType, cocos2d::CCArray*); - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x8aef0; - virtual bool canEncode() = mac 0x8af50; - - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJValueTween { - virtual void step(float); -} - -[[link(android)]] -class MPLobbyLayer : cocos2d::CCLayer, GJMPDelegate, UploadPopupDelegate, UploadActionDelegate, FLAlertLayerProtocol, TextInputDelegate { - static MPLobbyLayer* create(int); - - bool init(int); - ~MPLobbyLayer(); - - TodoReturn onUpdateLobby(); - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - void onBtn3(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - - TodoReturn postComment(); - TodoReturn updateLobby(float); - TodoReturn tryExitLobby(); - TodoReturn scene(int); - - virtual void keyBackClicked() = mac 0x46fce0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x470490; - virtual TodoReturn joinLobbyFinished(int) = mac 0x46fe60; - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode) = mac 0x4702c0; - virtual TodoReturn updateComments() = mac 0x470190; - virtual TodoReturn didUploadMPComment(int) = mac 0x4702a0; - virtual void textInputOpened(CCTextInputNode*) = mac 0x4703c0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x4703e0; - virtual void textChanged(CCTextInputNode*) = mac 0x470400; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x4704d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x470420; - virtual void uploadActionFinished(int, int) = mac 0x4704f0; - virtual void uploadActionFailed(int, int) = mac 0x470700; - virtual void onClosePopup(UploadActionPopup*) = mac 0x4708a0; -} - -[[link(android)]] -class MusicBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, FLAlertLayerProtocol, SliderDelegate { - static MusicBrowser* create(int); - - bool init(int); - ~MusicBrowser(); - - /* unverified signature */ - void setTextPopupClosed(SetTextPopup*, gd::string) = mac 0x5d4090; - - - void onTagFilters(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onArtistFilters(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void onPlaybackControl(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updatePageLabel(); - TodoReturn setupSongControls(); - TodoReturn trySetupMusicBrowser(); - void setupList(MusicSearchResult*); - - virtual void update(float) = mac 0x5d3510; - virtual void registerWithTouchDispatcher() = mac 0x5d4460; - virtual void keyBackClicked() = mac 0x5d4330; - virtual void musicActionFinished(GJMusicAction) = mac 0x5d3ce0; - virtual void musicActionFailed(GJMusicAction) = mac 0x5d3df0; - virtual TodoReturn sliderEnded(Slider*) = mac 0x5d3690; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x5d4010; - virtual TodoReturn getSelectedCellIdx() = mac 0x5d4070; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5d4290; -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - static OptionsLayer* create() = win 0x2ab510, mac 0x75bcf0; - - ~OptionsLayer(); - - void onMenuMusic(cocos2d::CCObject* sender) = win 0x2abf20; - void onProgressBar(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender) = win 0x2ac1d0; - void onSoundtracks(cocos2d::CCObject* sender) = win 0x2ac170; - void onRecordReplays(cocos2d::CCObject* sender); // mobile platforms only - void onHelp(cocos2d::CCObject* sender) = win 0x2ac640; - void onRate(cocos2d::CCObject* sender) = win 0x2ac600; - void onVideo(cocos2d::CCObject* sender) = win 0x2ac560; - void onAccount(cocos2d::CCObject* sender) = win 0x2ac5c0; - void onOptions(cocos2d::CCObject* sender) = win 0x2ac1b0; - void onSupport(cocos2d::CCObject* sender) = win 0x2ac580; - - TodoReturn tryEnableRecord(); // mobile platforms only - void sfxSliderChanged(cocos2d::CCObject*) = win 0x2ac0b0; - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void musicSliderChanged(cocos2d::CCObject*) = win 0x2abfc0; - void exitLayer() = win 0x2ab110; - - virtual void customSetup() = win 0x2ab510, mac 0x75bf50; - virtual void layerHidden() = win 0x2ac660, mac 0x75d380; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x75d3f0; -} - - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - static SecretLayer2* create() = mac 0x478d00; - - ~SecretLayer2(); - - TodoReturn getMessage(); - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getThreadMessage(); - - void onSecretLevel(cocos2d::CCObject* sender) = win 0x2ff730; - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender) = mac 0x47a0d0, win 0x2ffcc0; - - TodoReturn nodeWithTag(int); - TodoReturn selectAThread(); - TodoReturn playCoinEffect(); - void showSecretLevel(); - void updateSearchLabel(char const*) = win 0x301260; - void showCompletedLevel(); - TodoReturn updateMessageLabel(gd::string); - TodoReturn scene() = mac 0x478cc0; - - virtual bool init() = mac 0x478e30, win 0x2fe1d0; - virtual void onExit() = mac 0x47f0b0; - virtual void keyBackClicked() = mac 0x47efc0; - virtual void textInputOpened(CCTextInputNode*) = mac 0x47e0d0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x47e190; - virtual void textChanged(CCTextInputNode*) = mac 0x47e260; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x47e0b0; - virtual void dialogClosed(DialogLayer*) = mac 0x47cce0; -} - -[[link(android)]] -class SecretLayer3 : cocos2d::CCLayer, DialogDelegate { - static SecretLayer3* create(); - - ~SecretLayer3(); - - void onBack(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onChest02(cocos2d::CCObject* sender); - - TodoReturn animateEyes(); - TodoReturn revealStep1(); - TodoReturn revealStep2(); - TodoReturn revealStep3(); - TodoReturn revealStep4(); - TodoReturn revealStep5(); - void showUnlockDialog(); - TodoReturn firstInteractionStep1(); - TodoReturn firstInteractionStep2(); - TodoReturn firstInteractionStep3(); - TodoReturn firstInteractionStep4(); - TodoReturn scene(); - - virtual bool init() = mac 0x47f550; - virtual void onExit() = mac 0x4843a0; - virtual void keyBackClicked() = mac 0x484370; - virtual void dialogClosed(DialogLayer*) = mac 0x484050; -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - static SecretLayer4* create(); - - ~SecretLayer4(); - - TodoReturn getMessage(); - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getThreadMessage(); - - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - - void showDialog(int); - TodoReturn nodeWithTag(int); - TodoReturn selectAThread(); - TodoReturn playCoinEffect(); - void showFirstDialog(); - TodoReturn updateSearchLabel(char const*); - TodoReturn updateMessageLabel(gd::string); - TodoReturn scene(); - - virtual bool init() = mac 0x38e950; - virtual void onExit() = mac 0x393150; - virtual void keyBackClicked() = mac 0x393060; - virtual void textInputOpened(CCTextInputNode*) = mac 0x3921b0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x392270; - virtual void textChanged(CCTextInputNode*) = mac 0x392340; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x392190; - virtual void dialogClosed(DialogLayer*) = mac 0x391980; -} - - -[[link(android)]] -class SimpleObject : cocos2d::CCObject { - static SimpleObject* create(); - - bool init(); - ~SimpleObject(); -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - static SimplePlayer* create(int) = win 0x1ef610, mac 0x349730; - - bool init(int) = win 0x1ef6b0, mac 0x34e0e0; - ~SimplePlayer(); - - /* unverified signature */ - void setSecondColor(cocos2d::_ccColor3B const& color) { - m_secondLayer->setColor(color); - updateColors(); - } - - /* unverified signature */ - void setColors(cocos2d::_ccColor3B const&, cocos2d::_ccColor3B const&); - /* unverified signature */ - void setFrames(char const*, char const*, char const*, char const*, char const*) = win 0x1f0540; - - void updateColors() = win 0x1efe50, mac 0x34cf50; - TodoReturn asyncLoadIcon(int, IconType); - TodoReturn hideSecondary(); - TodoReturn createRobotSprite(int) = win 0x1efd50; - void updatePlayerFrame(int, IconType) = win 0x1f0140, mac 0x349a00; - TodoReturn createSpiderSprite(int) = mac 0x349850, win 0x1efda0; - TodoReturn iconFinishedLoading(int, IconType); - void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - - void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - - void setGlowOutline(cocos2d::ccColor3B color) { - enableCustomGlowColor(color); - m_hasGlowOutline = true; - updateColors(); - } - - void disableGlowOutline() { - disableCustomGlowColor(); - m_hasGlowOutline = false; - updateColors(); - } - - TodoReturn hideAll(); - - virtual void setOpacity(unsigned char) = win 0x1f06f0, mac 0x34ece0; - virtual void setColor(cocos2d::_ccColor3B const&) = win 0x1efe20, mac 0x34e980; - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; - PAD = win 0x7, android32 0x7, android64 0x7, mac 0x7; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x4, android32 0x4, android64 0x8, mac 0x8; -} - -[[link(android)]] -class SlideInLayer : cocos2d::CCLayerColor { - static SlideInLayer* create(); - - ~SlideInLayer(); - - virtual bool init() = mac 0x26c340; - virtual void draw() = mac 0x26ca70; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x26caa0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x26cb00; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x26cac0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x26cae0; - virtual void registerWithTouchDispatcher() = mac 0x26c770; - virtual void keyBackClicked() = mac 0x26c7b0; - virtual void customSetup() = mac 0x26c6f0; - virtual TodoReturn enterLayer() = mac 0x26c740; - virtual TodoReturn exitLayer(cocos2d::CCObject*) = mac 0x26c7f0; - virtual void showLayer(bool) = mac 0x26c840; - virtual TodoReturn hideLayer(bool) = mac 0x26c930; - virtual TodoReturn layerVisible() = mac 0x26ca10; - virtual void layerHidden() = mac 0x26ca30; - virtual TodoReturn enterAnimFinished() = mac 0x26ca00; - virtual TodoReturn disableUI() = mac 0x26c700; - virtual TodoReturn enableUI() = mac 0x26c720; -} - -[[link(android)]] -class SupportLayer : GJDropDownLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate { - static SupportLayer* create(); - - ~SupportLayer(); - - void onGetReward(cocos2d::CCObject* sender); - void onLowDetail(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender); - void onSFX(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onLinks(cocos2d::CCObject* sender) = win 0x3B6320; - void onRobTop(cocos2d::CCObject* sender); - void onCocos2d(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - - TodoReturn sendSupportMail(); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn exitLayer(); - - virtual void customSetup() = mac 0x376a50; - virtual void uploadActionFinished(int, int) = mac 0x378320; - virtual void uploadActionFailed(int, int) = mac 0x378460; - virtual void onClosePopup(UploadActionPopup*) = mac 0x3782d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x378710; -} - -[[link(android)]] -class URLViewLayer : GJDropDownLayer { - static URLViewLayer* create(gd::string, cocos2d::CCArray*); - - bool init(gd::string, cocos2d::CCArray*); - ~URLViewLayer(); -} - -[[link(android)]] -class BonusDropdown : cocos2d::CCNode { - static BonusDropdown* create(gd::string, int); - - bool init(gd::string, int); - ~BonusDropdown(); - - void show(); -} - -[[link(android)]] -class BoomListLayer : cocos2d::CCLayerColor { - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); - ~BoomListLayer(); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - static CCAlertCircle* create(); - - ~CCAlertCircle(); - - virtual bool init() = mac 0x169fa0; - virtual void draw() = mac 0x16a030; -} - -[[link(android)]] -class CCCircleAlert : CCCircleWave { - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); - ~CCCircleAlert(); -} - -[[link(android), depends(ChallengesPage), depends(GJChallengeItem)]] -class ChallengeNode : cocos2d::CCNode { - static ChallengeNode* create(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew) = mac 0x37bf50; - - bool init(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew) = mac 0x37c510; - ~ChallengeNode(); - - void onClaimReward(cocos2d::CCObject* sender) = mac 0x37d120; - - void updateTimeLabel(gd::string); - - ChallengesPage* m_challengesPage; - GJChallengeItem* m_challengeItem; - cocos2d::CCPoint m_unkPoint; - cocos2d::CCLabelBMFont* m_countdownLabel; - bool m_unloaded; -} - -[[link(android)]] -class CustomSFXCell : TableViewCell, CustomSFXDelegate { - ~CustomSFXCell(); - - TodoReturn shouldReload(); - void updateBGColor(int) = win 0x83100; - void loadFromObject(SFXInfoObject*) = mac 0x2237a0, win 0x83010; - CustomSFXCell(char const*, float, float); - - virtual bool init() = mac 0x232460; - virtual void draw() = mac 0x232560; - virtual TodoReturn sfxObjectSelected(SFXInfoObject*) = mac 0x232480; - virtual TodoReturn getActiveSFXID() = mac 0x232500; -} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - bool init(cocos2d::CCNode*, LevelEditorLayer*); - ~DrawGridLayer(); - - TodoReturn getPortalMinMax(GameObject*); - - float posForTime(float); - void postUpdate(); - float timeForPos(cocos2d::CCPoint, int, int, bool, bool, bool, int); - TodoReturn addToGuides(GameObject*); - TodoReturn addToEffects(EffectGameObject*); - TodoReturn loadTimeMarkers(gd::string); - TodoReturn removeFromGuides(GameObject*) = mac 0xe5b10; - TodoReturn sortSpeedObjects(); - TodoReturn addToSpeedObjects(EffectGameObject*); - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn updateTimeMarkers(); - TodoReturn addAudioLineObject(AudioLineGuideGameObject*); - TodoReturn updateMusicGuideTime(float); - TodoReturn removeAudioLineObject(AudioLineGuideGameObject*); - TodoReturn removeFromSpeedObjects(EffectGameObject*); - - virtual void update(float) = mac 0xf14b0; - virtual void draw() = mac 0xf1640; -} - - -[[link(android)]] -class ExtendedLayer : cocos2d::CCLayer { - static ExtendedLayer* create(); - - ~ExtendedLayer(); - - virtual bool init() = mac 0x385200; - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x385210; -} - -[[link(android)]] -class FileOperation { - TodoReturn getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class GJChestSprite : cocos2d::CCSprite { - static GJChestSprite* create(int) = mac 0x1faf50; - - bool init(int); - ~GJChestSprite(); - - void switchToState(ChestSpriteState, bool) = mac 0x1fc3d0; - - virtual void setOpacity(unsigned char) = mac 0x1fda20; - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x1fd930; -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - static GJGroundLayer* create(int, int) = mac 0x5af5b0; - - bool init(int, int) = mac 0x5af6c0; - ~GJGroundLayer(); - - TodoReturn getGroundY(); - - TodoReturn createLine(int); - TodoReturn hideShadows(); - TodoReturn scaleGround(float); - TodoReturn updateShadows(); - TodoReturn fadeInFinished(); - TodoReturn positionGround(float) = mac 0x5b06f0; - TodoReturn toggleVisible01(bool) = mac 0x5b0040; - TodoReturn toggleVisible02(bool) = mac 0x5b0080; - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateLineBlend(bool) = mac 0x5b04b0; - TodoReturn deactivateGround(); - TodoReturn updateShadowXPos(float, float); - void loadGroundSprites(int, bool); - void updateGroundWidth(bool); - TodoReturn updateGround01Color(cocos2d::_ccColor3B) = win 0x1F3220, mac 0x5affc0; - TodoReturn updateGround02Color(cocos2d::_ccColor3B) = win 0x1F3280, mac 0x5b0110; - - virtual void draw() = mac 0x5b06e0; - virtual void showGround() = mac 0x5b0500; - virtual TodoReturn fadeInGround(float) = mac 0x5b0510; - virtual TodoReturn fadeOutGround(float) = mac 0x5b06b0; -} - -[[link(android)]] -class GJMessageCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - ~GJMessageCell(); - - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn markAsRead(); - TodoReturn updateToggle(); - void updateBGColor(int) = win 0x807B0; - void loadFromMessage(GJUserMessage*) = mac 0x22b1d0, win 0x89BE0; - GJMessageCell(char const*, float, float); - - virtual bool init() = mac 0x236600; - virtual void draw() = mac 0x236910; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x2369e0; - virtual void uploadActionFinished(int, int) = mac 0x236b70; - virtual void uploadActionFailed(int, int) = mac 0x236d40; - virtual void onClosePopup(UploadActionPopup*) = mac 0x236eb0; -} - -[[link(android)]] -class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - ~GJRequestCell(); - - void onViewProfile(cocos2d::CCObject* sender); - void onDeleteRequest(cocos2d::CCObject* sender) = win 0x89710; - void onViewFriendRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn markAsRead(); - TodoReturn updateToggle(); - void loadFromScore(GJUserScore*) = mac 0x22aa60, win 0x88F20; - void updateBGColor(int) = win 0x807B0; - GJRequestCell(char const*, float, float); - - virtual bool init() = mac 0x235860; - virtual void draw() = mac 0x235b70; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x235c40; - virtual void uploadActionFinished(int, int) = mac 0x235e10; - virtual void uploadActionFailed(int, int) = mac 0x236010; - virtual void onClosePopup(UploadActionPopup*) = mac 0x236120; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - static GJRobotSprite* create(int) = win 0x2127D0, mac 0x5a0cc0; - - bool init(int); - bool init(int, gd::string) = mac 0x5a0e70; - ~GJRobotSprite(); - - TodoReturn updateFrame(int) = win 0x213370, mac 0x5a13a0; - TodoReturn updateColors() = win 0x212e30, mac 0x5a1bd0; - TodoReturn updateColor01(cocos2d::_ccColor3B) = mac 0x5a1bb0; - TodoReturn updateColor02(cocos2d::_ccColor3B) = mac 0x5a1ef0; - void updateGlowColor(cocos2d::_ccColor3B, bool) = win 0x212dd0, mac 0x5a1f10; - TodoReturn hideGlow() = mac 0x5a1b90; - void showGlow() = mac 0x5a1b70; - - virtual void setOpacity(unsigned char) = mac 0x5a1f90; - virtual TodoReturn hideSecondary() = mac 0x5a20a0; -} - -[[link(android)]] -class GJShaderState { - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn stopTweenAction(int); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); - TodoReturn timesyncShaderAction(int); - TodoReturn timesyncShaderActions(); - TodoReturn reset(); -} - -[[link(android)]] -class GJSmartPrefab : cocos2d::CCObject { - static GJSmartPrefab* create(); - - bool init(); - ~GJSmartPrefab(); - - void dataLoaded(DS_Dictionary*); - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x4077a0; - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x4078e0; - virtual bool canEncode() = mac 0x407790; -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol, TableViewCellDelegate { - static GJSongBrowser* create() = win 0x220120, mac 0x5c3a70; - - ~GJSongBrowser() = mac 0x5c3b90; - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - - void setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - void loadPage(int); - - virtual bool init() = mac 0x5c3e80; - virtual void customSetup() = win 0x220320, mac 0x5c4150; - virtual TodoReturn exitLayer(cocos2d::CCObject*) = win 0x2202B0, mac 0x5c4120; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5c46e0; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x5c47c0; - virtual TodoReturn getSelectedCellIdx() = mac 0x5c4820; - - int m_page; - int m_songID; - bool m_selected; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - cocos2d::CCLabelBMFont* m_countText; - PAD = android32 0x8; - cocos2d::CCArray* m_downloadedSongs; - CustomListView* m_listView; -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - static GJUserMessage* create(cocos2d::CCDictionary*); - static GJUserMessage* create() = mac 0x52d230; - - ~GJUserMessage(); - - virtual bool init() = mac 0x52d2d0; - - int m_messageID; -} - -[[link(android)]] -class ItemInfoPopup : FLAlertLayer { - static ItemInfoPopup* create(int, UnlockType) = win 0x1f1250, mac 0x34d550; - - bool init(int, UnlockType) = win 0x1f1300, mac 0x34f980; - ~ItemInfoPopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x350f10; - void onCredit(cocos2d::CCObject* sender); - - gd::string nameForUnlockType(int, UnlockType) = win 0x59430, mac 0x350c60; - /* unverified signature */ - bool isUnlockedByDefault(int, UnlockType); - - virtual void keyBackClicked() = mac 0x350fa0; - - int m_itemID; - UnlockType m_unlockType; - int m_accountID; -} - -[[link(android)]] -class LevelListCell : TableViewCell { - static LevelListCell* create(float, float); - - ~LevelListCell(); - - void onListInfo(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - - void loadFromList(GJLevelList*) = mac 0x224660, win 0x8ADB0; - void updateBGColor(int) = win 0x807B0; - LevelListCell(char const*, float, float); - - virtual bool init() = mac 0x237590; - virtual void draw() = mac 0x2376d0; - - GJLevelList* m_levelList; - bool m_addingLevel; -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - static MenuGameLayer* create() = win 0x274450; - - ~MenuGameLayer(); - - TodoReturn getBGColor(int); - - void resetPlayer() = mac 0x4d52a0; - TodoReturn updateColor(float); - TodoReturn updateColors(); - void destroyPlayer() = mac 0x4d5e50; - TodoReturn tryJump(float); - - virtual void update(float) = win 0x274F10, mac 0x4d5ae0; - virtual bool init() = win 0x2744f0, mac 0x4d4940; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4d6050; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4d6170; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4d6190; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4d61b0; - virtual void registerWithTouchDispatcher() = mac 0x4d61f0; -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - ~ObjectManager(); - - TodoReturn getDefinition(char const*) = win 0x4b840; - TodoReturn getGlobalAnimCopy(char const*); - - /* unverified signature */ - void setLoaded(char const*); - - TodoReturn animLoaded(char const*); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn loadCopiedAnimations(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - TodoReturn setup(); - static ObjectManager* instance() = win 0x4a550; - - virtual bool init() = mac 0x7574e0; -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - ~ObjectToolbox(); - - static ObjectToolbox* sharedState() = win 0x286590; - TodoReturn intKeyToFrame(int); - float gridNodeSizeForKey(int); - TodoReturn perspectiveBlockFrame(int); - TodoReturn allKeys(); - - virtual bool init() = mac 0x62dbe0; -} - -[[link(android)]] -class OptionsObject : cocos2d::CCObject { - static OptionsObject* create(int, bool, gd::string, OptionsObjectDelegate*); - - bool init(int, bool, gd::string, OptionsObjectDelegate*); - ~OptionsObject(); - - TodoReturn toggleState(); -} - -[[link(android)]] -class SetupEndPopup : SetupTriggerPopup { - static SetupEndPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupEndPopup(); - - void onReversed(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x62d190; - void onLockY(cocos2d::CCObject* sender); - - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x62ce70; - virtual void textInputClosed(CCTextInputNode*) = mac 0x62d040; - virtual void textChanged(CCTextInputNode*) = mac 0x62d080; -} - -[[link(android)]] -class SetupSFXPopup : SetupAudioTriggerPopup, CustomSFXDelegate, SFXBrowserDelegate { - static SetupSFXPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - ~SetupSFXPopup(); - - void onBrowseSFX(cocos2d::CCObject* sender); - void onPlusButton(cocos2d::CCObject* sender) = mac 0x495bb0; - void onClose(cocos2d::CCObject* sender) = mac 0x495740; - - TodoReturn updateLength(); - TodoReturn createSFXWidget(); - - virtual TodoReturn pageChanged() = mac 0x4956f0; - virtual TodoReturn valueDidChange(int, float) = mac 0x495a90; - virtual TodoReturn sfxObjectSelected(SFXInfoObject*) = mac 0x4959b0; - virtual TodoReturn getActiveSFXID() = mac 0x4959d0; - virtual TodoReturn overridePlaySFX(SFXInfoObject*) = mac 0x4959f0; - virtual TodoReturn sfxBrowserClosed(SFXBrowser*) = mac 0x495c50; -} - -[[link(android)]] -class SFXInfoObject : cocos2d::CCObject { - static SFXInfoObject* create(int, gd::string, int, int, int); - - bool init(int, gd::string, int, int, int); - ~SFXInfoObject(); - - TodoReturn getLowerCaseName(); -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - static SongInfoLayer* create(int); - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - ~SongInfoLayer(); - - void onDownload(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender) = win 0x385300; - void onPracticeMusic(cocos2d::CCObject* sender) = win 0x385280; - void onFB(cocos2d::CCObject* sender); - void onNG(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - void onBPM(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - void showCustomMusicUnlockInfo() = win 0x385000; - - virtual void keyBackClicked() = mac 0x5c67d0; -} - -[[link(android)]] -class TutorialLayer : FLAlertLayer { - static TutorialLayer* create(); - - ~TutorialLayer(); - - void onNext(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn removeTutorialTexture(); - void loadPage(int); - - virtual bool init() = mac 0x4b7b20; - virtual void keyBackClicked() = mac 0x4b8560; -} - -[[link(android)]] -class TutorialPopup : FLAlertLayer { - static TutorialPopup* create(gd::string); - - bool init(gd::string); - ~TutorialPopup(); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked() = mac 0x599b60; - virtual void show() = mac 0x599c30; -} - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - static AchievementBar* create(char const*, char const*, char const*, bool); - - bool init(char const*, char const*, char const*, bool) = win 0x59430; - ~AchievementBar(); - - void show(); - - virtual void setOpacity(unsigned char) = mac 0x5de590; -} - -[[link(android)]] -class CCCounterLabel : cocos2d::CCLabelBMFont { - static CCCounterLabel* create(int, char const*, FormatterType) = win 0x23D00; - - bool init(int, char const*, FormatterType) = win 0x23DB0; - ~CCCounterLabel(); - - TodoReturn getTargetCount(); - - /* unverified signature */ - void setTargetCount(int) = win 0x23E20; - - TodoReturn updateString(); - TodoReturn enableCounter(); - TodoReturn updateCounter(float); - TodoReturn disableCounter(); - TodoReturn calculateStepSize(int); - TodoReturn fastUpdateCounter(); -} - -[[link(android)]] -class CCExtenderNode { - /* unverified signature */ - void setOpacity(unsigned int); -} - -[[link(android)]] -class ChallengesPage : FLAlertLayer, FLAlertLayerProtocol, GJChallengeDelegate, CurrencyRewardDelegate { - static ChallengesPage* create() = mac 0x37aa70; - - ~ChallengesPage(); - - void onClose(cocos2d::CCObject* sender) = mac 0x37b610; - - TodoReturn updateDots(); - callback void updateTimers(float) = mac 0x37b650; - TodoReturn exitNodeAtSlot(int, float); - TodoReturn tryGetChallenges(); - ChallengeNode* createChallengeNode(int number, bool skipAnimation, float animLength, bool isNew) = mac 0x37b890; - TodoReturn claimItem(ChallengeNode*, GJChallengeItem*, cocos2d::CCPoint); - - virtual bool init() = mac 0x37abe0; - virtual void registerWithTouchDispatcher() = mac 0x37c280; - virtual void keyBackClicked() = mac 0x37c1f0; - virtual void show() = mac 0x37c050; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x37c1d0; - virtual TodoReturn challengeStatusFinished() = mac 0x37bb50; - virtual TodoReturn challengeStatusFailed() = mac 0x37be60; - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*) = mac 0x37c3f0; - - cocos2d::CCArray* m_dots; - cocos2d::CCLabelBMFont* m_countdownLabel; - LoadingCircle* m_circle; - bool m_triedToLoad; - bool m_unkBool; - CurrencyRewardLayer* m_currencyRewardLayer; - cocos2d::CCDictionary* m_challengeNodes; -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - ~CreateMenuItem(); -} - -[[link(android)]] -class CurrencySprite : CCSpritePlus { - static CurrencySprite* create(CurrencySpriteType, bool); - - TodoReturn initWithSprite(cocos2d::CCSprite*); - bool init(CurrencySpriteType, bool); - ~CurrencySprite(); - - TodoReturn createWithSprite(cocos2d::CCSprite*); - TodoReturn spriteTypeToStat(CurrencySpriteType); - TodoReturn rewardToSpriteType(int); -} - -[[link(android)]] -class CustomSongCell : TableViewCell, CustomSongDelegate { - ~CustomSongCell(); - - void onDelete(cocos2d::CCObject* sender) = mac 0x232080; - - TodoReturn shouldReload(); - void updateBGColor(int) = win 0x82D40; - void loadFromObject(SongInfoObject*) = mac 0x222fa0, win 0x82B40; - CustomSongCell(char const*, float, float); - - virtual bool init() = mac 0x232060; - virtual void draw() = mac 0x232270; - virtual TodoReturn songIDChanged(int) = mac 0x232150; - virtual TodoReturn getActiveSongID() = mac 0x2321d0; - virtual TodoReturn getSongFileName() = mac 0x232230; - virtual TodoReturn getLevelSettings() = mac 0x232250; - - SongInfoObject* m_songInfoObject; - bool m_unkBool; -} - -[[link(android)]] -class GauntletSprite : cocos2d::CCNode { - static GauntletSprite* create(GauntletType, bool) = mac 0x3723e0; - - bool init(GauntletType, bool); - ~GauntletSprite(); - - TodoReturn colorForType(GauntletType); - TodoReturn addLockedSprite() = mac 0x372ce0; - TodoReturn addNormalSprite() = mac 0x372c10; - TodoReturn luminanceForType(GauntletType); - TodoReturn toggleLockedSprite(bool); -} - -[[link(android)]] -class GJMessagePopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol, DownloadMessageDelegate { - static GJMessagePopup* create(GJUserMessage*); - - bool init(GJUserMessage*); - ~GJMessagePopup(); - - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - void loadFromGJMessage(GJUserMessage*); - void blockUser(); - - virtual void keyBackClicked() = mac 0x284240; - virtual TodoReturn downloadMessageFinished(GJUserMessage*) = mac 0x2842b0; - virtual TodoReturn downloadMessageFailed(int) = mac 0x284370; - virtual void uploadActionFinished(int, int) = mac 0x284410; - virtual void uploadActionFailed(int, int) = mac 0x2845d0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x2846a0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x2847a0; -} - -[[link(android)]] -class GJOptionsLayer : SetupTriggerPopup { - static GJOptionsLayer* create(int); - - bool init(int) = mac 0x279be0; - ~GJOptionsLayer(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn addGVToggle(char const*, char const*, char const*); - TodoReturn didToggleGV(gd::string) = mac 0x250090; - TodoReturn countForPage(int) = mac 0x27b230; - TodoReturn layerForPage(int); - TodoReturn nextPosition(int); - TodoReturn objectsForPage(int) = mac 0x27aea0; - TodoReturn offsetToNextPage(); - TodoReturn addToggleInternal(char const*, int, bool, char const*) = mac 0x27a4b0; - TodoReturn incrementCountForPage(int) = mac 0x27ad90; - TodoReturn infoKey(int); - TodoReturn pageKey(int); - void goToPage(int); - TodoReturn layerKey(int); - TodoReturn addToggle(char const*, int, bool, char const*); - TodoReturn objectKey(int); - - virtual void setupOptions() = mac 0x27a390; - virtual TodoReturn didToggle(int) = mac 0x2923c0; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - static GJRewardObject* create(SpecialRewardItem, int, int); - static GJRewardObject* create(); - - bool init(SpecialRewardItem, int, int); - ~GJRewardObject(); - - void dataLoaded(DS_Dictionary*); - /* unverified signature */ - bool isSpecialType(); - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x8a800; - TodoReturn createItemUnlock(UnlockType, int); - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x8a910; - virtual bool canEncode() = mac 0x8a990; - - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - static GJScaleControl* create() = mac 0xf5e0; - - ~GJScaleControl(); - - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn finishTouch(); - TodoReturn updateLabelX(float); - TodoReturn updateLabelY(float); - TodoReturn skewFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabelXY(float); - TodoReturn valueFromSkew(float); - TodoReturn scaleFromValue(float); - TodoReturn valueFromScale(float); - - virtual bool init() = mac 0x55080; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x55690; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x55880; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x55d30; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x55e90; -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - static GJSpiderSprite* create(int) = mac 0x5a22a0; - - bool init(int); - ~GJSpiderSprite(); -} - -[[link(android)]] -class HSVLiveOverlay : FLAlertLayer, HSVWidgetDelegate { - static HSVLiveOverlay* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - ~HSVLiveOverlay(); - - void onSelectTab(cocos2d::CCObject* sender); - - TodoReturn toggleControls(bool); - TodoReturn createHSVWidget(int); - void closeColorSelect(cocos2d::CCObject*); - TodoReturn determineStartValues(); - - virtual void keyBackClicked() = mac 0x249110; - virtual void show() = mac 0x2491c0; - virtual void hsvChanged(ConfigureHSVWidget*) = mac 0x249290; -} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - static HSVWidgetPopup* create(cocos2d::_ccHSVValue, HSVWidgetDelegate*, gd::string); - - bool init(cocos2d::_ccHSVValue, HSVWidgetDelegate*, gd::string); - ~HSVWidgetPopup(); - - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x40ec10; -} - -[[link(android)]] -class KeyframeObject { - TodoReturn setupSpline(gd::vector&); -} - -[[link(android)]] -class LevelAreaLayer : cocos2d::CCLayer, DialogDelegate { - static LevelAreaLayer* create(); - - ~LevelAreaLayer(); - - void onClickDoor(cocos2d::CCObject* sender); - TodoReturn onEnterTower(); - void onBack(cocos2d::CCObject* sender); - - void showDialog(); - TodoReturn fadeInsideTower(); - TodoReturn scene(); - TodoReturn addTorch(cocos2d::CCNode*, cocos2d::CCPoint, int, float, int, bool); - TodoReturn addGodRay(float, float, float, float, float, cocos2d::CCPoint); - - virtual bool init() = mac 0x255640; - virtual void keyBackClicked() = mac 0x257750; - virtual void dialogClosed(DialogLayer*) = mac 0x257500; -} - -[[link(android)]] -class LevelListLayer : LevelBrowserLayer, TextInputDelegate, SelectListIconDelegate, LikeItemDelegate, LevelListDeleteDelegate { - static LevelListLayer* create(GJLevelList*); - - bool init(GJLevelList*) = win 0x22DE00, mac 0x33a9a0; - ~LevelListLayer() = mac 0x33a830; - - void onFavorite(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onSelectIcon(cocos2d::CCObject* sender); - void onClaimReward(cocos2d::CCObject* sender); - void onDescription(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - void onToggleEditMode(cocos2d::CCObject* sender); - void onRefreshLevelList(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x33e710; - void onInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - TodoReturn onDelete(); - - TodoReturn ownerDelete(); - void confirmClone(cocos2d::CCObject*); - void confirmDelete(cocos2d::CCObject*); - TodoReturn updateEditMode(); - TodoReturn updateStatsArt(); - TodoReturn verifyListName(); - TodoReturn updateSideButtons(); - void confirmOwnerDelete(cocos2d::CCObject*); - void shareCommentClosed(gd::string, ShareCommentLayer*) = mac 0x33ed50; - TodoReturn scene(GJLevelList*) = mac 0x33a8b0; - TodoReturn cloneList(); - - virtual void onEnter() = mac 0x33dbe0; - virtual void onExit() = mac 0x33dc10; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = mac 0x33df90; - virtual void loadLevelsFailed(char const*, int) = mac 0x33e1d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x33e9c0; - virtual void setIDPopupClosed(SetIDPopup*, int) = mac 0x33e5b0; - virtual TodoReturn updateResultArray(cocos2d::CCArray*) = mac 0x33e6f0; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x33e200; - virtual void likedItem(LikeItemType, int, bool) = mac 0x33ee20; - virtual TodoReturn iconSelectClosed(SelectListIconLayer*) = mac 0x33f060; - virtual void levelListDeleteFinished(int) = mac 0x33f1f0; - virtual void levelListDeleteFailed(int) = mac 0x33f2f0; - virtual void textInputOpened(CCTextInputNode*) = mac 0x33f5c0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x33f3f0; - virtual void textChanged(CCTextInputNode*) = mac 0x33f690; -} - -[[link(android)]] -class ListButtonPage : cocos2d::CCLayer { - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float) = mac 0x3d17f0; - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float) = mac 0x3d1ad0; - ~ListButtonPage(); -} - -[[link(android)]] -class MapSelectLayer : cocos2d::CCLayer { - static MapSelectLayer* create(); - - ~MapSelectLayer(); - - TodoReturn getConstrainedMapPos(cocos2d::CCPoint); - - void onBack(cocos2d::CCObject* sender); - - TodoReturn checkTouchMonster(cocos2d::CCPoint); - TodoReturn createObjectAtPoint(cocos2d::CCPoint); - TodoReturn scene(); - - virtual void update(float) = mac 0x246fe0; - virtual bool init() = mac 0x2460d0; - virtual void onExit() = mac 0x2472a0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x247920; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x247a30; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x247c50; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x247d30; - virtual void registerWithTouchDispatcher() = mac 0x247d70; - virtual void keyBackClicked() = mac 0x2471c0; - virtual void scrollWheel(float, float) = mac 0x246da0; -} - -[[link(android)]] -class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - static RateDemonLayer* create(int) = mac 0x261c80; - - bool init(int) = mac 0x261df0; - ~RateDemonLayer(); - - void onRate(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked() = mac 0x2629a0; - virtual void uploadActionFinished(int, int) = mac 0x262660; - virtual void uploadActionFailed(int, int) = mac 0x262750; - virtual void onClosePopup(UploadActionPopup*) = mac 0x2628c0; -} - -[[link(android)]] -class RateLevelLayer : FLAlertLayer { - static RateLevelLayer* create(int); - - bool init(int); - ~RateLevelLayer(); - - void onRate(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked() = mac 0x5340a0; -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - static RateStarsLayer* create(int, bool, bool) = mac 0x2697f0, win 0x2ED3C0; - - bool init(int, bool, bool) = mac 0x269980, win 0x2ED470; - ~RateStarsLayer(); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - - void onToggleCoins(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFeature(cocos2d::CCObject* sender) = win 0x2edae0; - - void selectRating(cocos2d::CCObject*) = win 0x2edbc0, mac 0x26a0a0; - - virtual void keyBackClicked() = mac 0x26a730; - virtual void uploadActionFinished(int, int) = mac 0x26a3f0; - virtual void uploadActionFailed(int, int) = mac 0x26a4e0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x26a650; -} - -[[link(android)]] -class SearchSFXPopup : SetTextPopup { - static SearchSFXPopup* create(gd::string); - - bool init(gd::string); - ~SearchSFXPopup(); - - void onSearchFolders(cocos2d::CCObject* sender); -} - - -[[link(android)]] -class SetFolderPopup : SetIDPopup, SetTextPopupDelegate { - static SetFolderPopup* create(int, bool, gd::string) = mac 0x289770; - - bool init(int, bool, gd::string) = mac 0x289960; - ~SetFolderPopup(); - - /* unverified signature */ - void setTextPopupClosed(SetTextPopup*, gd::string) = mac 0x28a270; - - void onSetFolderName(cocos2d::CCObject* sender); - - virtual TodoReturn valueChanged() = mac 0x289e60; -} - -[[link(android)]] -class SetItemIDLayer : SetupTriggerPopup { - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetItemIDLayer(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x967f0; - void onClose(cocos2d::CCObject* sender) = mac 0x96a00; - - TodoReturn updateEditorLabel(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x96910; -} - -[[link(android)]] -class SetupCoinLayer : SetupTriggerPopup { - static SetupCoinLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCoinLayer(); -} - -[[link(android)]] -class SetupMGTrigger : SetupTriggerPopup { - static SetupMGTrigger* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupMGTrigger(); - - void onEasingRate(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x4e27f0; - void onEasing(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateValueYLabel(); - TodoReturn posFromSliderValue(float); - TodoReturn sliderValueFromPos(int); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateMoveCommandEasing(); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues() = mac 0x4e1f90; - virtual void textChanged(CCTextInputNode*) = mac 0x4e2590; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = mac 0x4e2250; -} - -[[link(android)]] -class ShareListLayer : FLAlertLayer { - static ShareListLayer* create(GJLevelList*); - - bool init(GJLevelList*); - ~ShareListLayer(); - - void onUnlisted(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - - TodoReturn updateUnlistedF(); - - virtual void keyBackClicked() = mac 0x342090; -} - - - -[[link(android)]] -class SongSelectNode : cocos2d::CCNode, FLAlertLayerProtocol, CustomSongLayerDelegate, CustomSongDelegate { - static SongSelectNode* create(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - - bool init(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - ~SongSelectNode(); - - TodoReturn onSongMode(int); - void onSongMode(cocos2d::CCObject* sender); - void onOpenCustomSong(cocos2d::CCObject* sender); - - TodoReturn selectSong(int); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn updateAudioLabel(); - void showCustomSongSelect(); - TodoReturn updateWidgetVisibility(); - TodoReturn audioNext(cocos2d::CCObject*); - - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x1f7c30; - virtual TodoReturn customSongLayerClosed() = mac 0x1f7d10; - virtual TodoReturn songIDChanged(int) = mac 0x1f7d70; - virtual TodoReturn getActiveSongID() = mac 0x1f7da0; - virtual TodoReturn getSongFileName() = mac 0x1f7dc0; - virtual TodoReturn getLevelSettings() = mac 0x1f7f00; -} - -[[link(android)]] -class UIOptionsLayer : SetupTriggerPopup { - static UIOptionsLayer* create(bool); - - bool init(bool); - ~UIOptionsLayer(); - - TodoReturn getNode(int); - - void onSaveLoad(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x28f890; - void onReset(cocos2d::CCObject* sender); - - TodoReturn toggleUIGroup(int); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x290010; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2901e0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x290380; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2904c0; - virtual void registerWithTouchDispatcher() = mac 0x290500; - virtual TodoReturn valueDidChange(int, float) = mac 0x28fa20; - virtual TodoReturn getValue(int) = mac 0x28fd30; -} - -[[link(android)]] -class WorldLevelPage : FLAlertLayer { - static WorldLevelPage* create(GJGameLevel*, GJWorldNode*); - - bool init(GJGameLevel*, GJWorldNode*); - ~WorldLevelPage(); - - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x3a5010; - virtual void show() = mac 0x3a4ed0; -} - -[[link(android)]] -class AchievementCell : TableViewCell { - ~AchievementCell(); - - void loadFromDict(cocos2d::CCDictionary*) = win 0x7C270; - void updateBGColor(int) = win 0x7D0A0; - AchievementCell(char const*, float, float); - - virtual bool init() = mac 0x22d070; - virtual void draw() = mac 0x22d110; -} - -[[link(android)]] -class BitmapFontCache : cocos2d::CCObject { - bool init(); - ~BitmapFontCache(); - - TodoReturn sharedFontCache() = mac 0x1fde50; - TodoReturn fontWithConfigFile(char const*, float) = mac 0x1fdff0; - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - static CCNodeContainer* create(); - - ~CCNodeContainer(); - - virtual bool init() = mac 0x150e60; - virtual void visit() = mac 0x150e70; -} - -[[link(android)]] -class CCSpriteWithHue : cocos2d::CCSprite { - static CCSpriteWithHue* create(gd::string const&); - static CCSpriteWithHue* create(gd::string const&, cocos2d::CCRect const&); - - TodoReturn initShader(); - ~CCSpriteWithHue(); - - TodoReturn getUniformLocations(); - TodoReturn getHue(); - TodoReturn getAlpha(); - - /* unverified signature */ - void setLuminance(float); - /* unverified signature */ - void setHueDegrees(float); - /* unverified signature */ - void setEvenLuminance(float); - /* unverified signature */ - void setCustomLuminance(float, float, float); - /* unverified signature */ - void setHue(float); - - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn updateColorMatrix(); - TodoReturn setupDefaultSettings(); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn updateHue(float); - - virtual void draw() = mac 0x5b6340; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = mac 0x5b5c10; - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&) = mac 0x5b5c80; - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool) = mac 0x5b59d0; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x5b5ca0; - virtual TodoReturn getShaderName() = mac 0x5b5520; - virtual TodoReturn shaderBody() = mac 0x5b5de0; - virtual void updateColor() = mac 0x5b5e00; -} - -[[link(android)]] -class CustomMusicCell : CustomSongCell { - ~CustomMusicCell(); - - TodoReturn updateBGColor(int) = win 0x82D40; - void loadFromObject(SongInfoObject*) = win 0x83240; - CustomMusicCell(char const*, float, float); -} - -[[link(android)]] -class CustomSFXWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - static CustomSFXWidget* create(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - - bool init(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool) = mac 0x5a77d0; - ~CustomSFXWidget(); - - void onDownload(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - TodoReturn updateError(GJSongError); - TodoReturn verifySFXID(int); - TodoReturn startDownload(); - TodoReturn updateSFXInfo() = mac 0x5a8ce0; - TodoReturn downloadFailed(); - TodoReturn hideLoadingArt(); - void showLoadingArt(); - TodoReturn updateLengthMod(float); - TodoReturn updateSFXObject(SFXInfoObject*); - TodoReturn updatePlaybackBtn(); - void updateProgressBar(int) = win 0x2df7a0; - TodoReturn startMonitorDownload(); - TodoReturn updateDownloadProgress(float); - TodoReturn deleteSFX(); - - virtual void downloadSFXFinished(int) = mac 0x5a9940; - virtual void downloadSFXFailed(int, GJSongError) = mac 0x5a99e0; - virtual void songStateChanged() = mac 0x5a98d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5a9bc0; -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, TextInputDelegate, GJDropDownLayerDelegate, MusicBrowserDelegate { - static CustomSongLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - ~CustomSongLayer(); - - void onCreateLines(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void onMusicBrowser(cocos2d::CCObject* sender); - void onNewgroundsBrowser(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - - void showNewgroundsMessage(); - - virtual void keyBackClicked() = mac 0x1f50c0; - virtual void show() = mac 0x1f51a0; - virtual void textChanged(CCTextInputNode*) = mac 0x1f4c90; - virtual void textInputOpened(CCTextInputNode*) = mac 0x1f4c30; - virtual void textInputClosed(CCTextInputNode*) = mac 0x1f4bd0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x1f4cb0; - virtual void textInputReturn(CCTextInputNode*) = mac 0x1f4d70; - virtual void dropDownLayerWillClose(GJDropDownLayer*) = mac 0x1f4f60; - virtual void musicBrowserClosed(MusicBrowser*) = mac 0x1f5010; -} - -[[link(android)]] -class EndPortalObject : GameObject { - static EndPortalObject* create() = mac 0x379e40; - - ~EndPortalObject(); - - TodoReturn getSpawnPos() = win 0xeaa80; - - TodoReturn updateColors(cocos2d::_ccColor3B) = win 0xea8f0, mac 0x37a210; - TodoReturn updateEndPos(bool) = win 0xeac60; - TodoReturn triggerObject(GJBaseGameLayer*) = win 0xeaa00; - - virtual bool init() = mac 0x379ee0; - virtual void setPosition(cocos2d::CCPoint const&) = mac 0x37a3e0; - virtual void setVisible(bool) = mac 0x37a4f0; -} - -[[link(android)]] -class ExplodeItemNode : cocos2d::CCNode { - static ExplodeItemNode* create(cocos2d::CCRenderTexture*); - - bool init(cocos2d::CCRenderTexture*); - ~ExplodeItemNode(); - - TodoReturn createSprites(int, int, float, float, float, float, float, float, cocos2d::_ccColor4F, cocos2d::_ccColor4F, bool); - - virtual void update(float) = mac 0x1f3560; -} - -[[link(android)]] -class FileSaveManager : GManager { - ~FileSaveManager(); - - TodoReturn getStoreData(); - - TodoReturn sharedState(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual void firstLoad(); -} - -[[link(android)]] -class FindObjectPopup : SetIDPopup { - static FindObjectPopup* create(); - - ~FindObjectPopup(); - - void onFindObjectID(cocos2d::CCObject* sender); - - virtual bool init() = mac 0x289330; -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - TodoReturn pauseMusic(int); - void playEffect(gd::string) = mac 0x3c24f0; - void playEffect(gd::string, float, float, float) = win 0x355b0, mac 0x3c2560; - TodoReturn startMusic(int, int, int, int, bool, int) = win 0x38900; - TodoReturn fadeInMusic(float, int); - TodoReturn pauseEffect(unsigned int); - TodoReturn pitchForIdx(int) = win 0x35070; - TodoReturn printResult(FMOD_RESULT); - TodoReturn resumeAudio() = mac 0x3bc1a0; - TodoReturn resumeMusic(int); - TodoReturn stopChannel(int) = win 0x36d00; - void stopChannel(int, AudioTargetType, bool, float) = win 0x36a60; - void stopChannel(FMOD::Channel*, bool, float) = win 0x36d00; - TodoReturn storeEffect(FMOD::Sound*, gd::string) = win 0x37970; - TodoReturn createStream(gd::string) = win 0x3ac10; - TodoReturn fadeOutMusic(float, int) = mac 0x3c8390; - TodoReturn getMusicTime(int); - /* unverified signature */ - bool isSoundReady(FMOD::Sound*); - TodoReturn preloadMusic(gd::string, bool, int); - TodoReturn resumeEffect(unsigned int); - static FMODAudioEngine* sharedEngine() = win 0x32b80, mac 0x3baf40; - void stopAllMusic() = mac 0x3bcc30; - TodoReturn testFunction(int); - TodoReturn unloadEffect(gd::string); - void updateReverb(FMODReverbPreset, bool) = win 0x331b0, mac 0x3bbca0; - TodoReturn clearAllAudio() = mac 0x3bc380; - TodoReturn getFMODStatus(int) = win 0x3ae60; - TodoReturn pauseAllAudio() = mac 0x3bc2e0; - void pauseAllMusic() = win 0x380c0, mac 0x3c50c0; - TodoReturn preloadEffect(gd::string) = win 0x37780; - TodoReturn updateChannel(int, AudioTargetType, AudioModType, float, float) = win 0x36f70; - TodoReturn channelStopped(FMOD::Channel*, bool); - TodoReturn enableMetering(); - TodoReturn getActiveMusic(int) = win 0x3a6b0; - TodoReturn getMusicTimeMS(int); - /* unverified signature */ - bool isEffectLoaded(gd::string); - /* unverified signature */ - bool isMusicPlaying(int) = mac 0x3c5170; - /* unverified signature */ - bool isMusicPlaying(gd::string, int); - TodoReturn lengthForSound(gd::string); - TodoReturn loadAudioState(FMODAudioState&) = win 0x33f90; - TodoReturn resumeAllAudio() = mac 0x3bc330; - TodoReturn resumeAllMusic() = win 0x38110, mac 0x3c5110; - TodoReturn reverbToString(FMODReverbPreset); - TodoReturn saveAudioState(FMODAudioState&) = win 0x33b10; - /* unverified signature */ - void setMusicTimeMS(unsigned int, bool, int) = win 0x3a160; - void stopAllEffects() = mac 0x3bc450, win 0x37D00; - TodoReturn stopAndGetFade(FMOD::Channel*); - TodoReturn swapMusicIndex(int, int); - TodoReturn updateMetering(); - TodoReturn disableMetering() = mac 0x3c1a40; - TodoReturn getChannelGroup(int, bool) = win 0x351d0; - TodoReturn pauseAllEffects(); - TodoReturn playEffectAsync(gd::string); - TodoReturn queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int); - TodoReturn queueStartMusic(gd::string, float, float, float, bool, int, int, int, int, int, bool, int, bool); - TodoReturn registerChannel(FMOD::Channel*, int, int) = win 0x36310; - /* unverified signature */ - void setChannelPitch(int, AudioTargetType, float) = win 0x37620; - TodoReturn channelLinkSound(int, FMODSound*); - TodoReturn countActiveMusic(); - float getEffectsVolume() = mac 0x3c5050; - float getMeteringValue() = mac 0x3c1a50; - TodoReturn getMusicLengthMS(int) = win 0x3a2e0; - TodoReturn getNextChannelID(); - TodoReturn loadAndPlayMusic(gd::string, unsigned int, int); - TodoReturn resumeAllEffects(); - /* unverified signature */ - void setChannelVolume(int, AudioTargetType, float) = win 0x37120; - /* unverified signature */ - void setEffectsVolume(float); - void setupAudioEngine() = win 0x32f20, mac 0x3bb700; - TodoReturn stopChannelTween(int, AudioTargetType, AudioModType); - TodoReturn unloadAllEffects() = win 0x37EA0, mac 0x3c4c80; - TodoReturn getMusicChannelID(int); - TodoReturn getTweenContainer(AudioTargetType); - /* unverified signature */ - bool isChannelStopping(int); - TodoReturn stopChannelTweens(int, AudioTargetType); - TodoReturn stopMusicNotInSet(std::unordered_set, std::equal_to, std::allocator >&); - TodoReturn unregisterChannel(int); - TodoReturn updateQueuedMusic(); - TodoReturn channelForUniqueID(int); - TodoReturn channelUnlinkSound(int); - TodoReturn countActiveEffects(); - void playEffectAdvanced(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, bool, int, int, float, int) = win 0x35740; - TodoReturn preloadEffectAsync(gd::string); - TodoReturn stopAndRemoveMusic(int); - TodoReturn triggerQueuedMusic(FMODQueuedMusic) = win 0x39570; - TodoReturn activateQueuedMusic(int); - TodoReturn channelForChannelID(int) = win 0x369e0, mac 0x3be510; - /* unverified signature */ - void setChannelVolumeMod(int, AudioTargetType, float) = win 0x373a0; - TodoReturn updateChannelTweens(float) = win 0x34d60; - TodoReturn updateQueuedEffects() = win 0x38e90; - TodoReturn waitUntilSoundReady(FMOD::Sound*); - TodoReturn channelIDForUniqueID(int) = win 0x36960; - TodoReturn releaseRemovedSounds(); - TodoReturn updateBackgroundFade(); - TodoReturn fadeInBackgroundMusic(float); - TodoReturn getActiveMusicChannel(int); - TodoReturn updateTemporaryEffects(); - float getBackgroundMusicVolume() = mac 0x3c5010; - /* unverified signature */ - void setBackgroundMusicVolume(float); - TodoReturn queuedEffectFinishedLoading(gd::string) = win 0x38f60; - virtual void stop() = win 0x5b260; - TodoReturn setup() = win 0x32c00, mac 0x3bb2c0; - TodoReturn start() = win 0x337c0; - void loadMusic(gd::string) = win 0x38410; - void loadMusic(gd::string, float, float, float, bool, int, int) = win 0x384b0, mac 0x3bf920; - void playMusic(gd::string, bool, float, int) = mac 0x3c5500; - TodoReturn stopMusic(int); - ~FMODAudioEngine(); - - virtual void update(float) = win 0x33910, mac 0x3bcec0; - - PAD = win 0x88, android32 0x7c, android64 0xdc, mac 0xa8; - FMOD::System* m_system; -} - -[[link(android)]] -class FMODAudioState { - // ~FMODAudioState(); -} - -[[link(android)]] -class FMODLevelVisualizer : cocos2d::CCNode { - void updateVisualizer(float, float, float) = mac 0x28c6e0; - static FMODLevelVisualizer* create() = mac 0x28c230; - ~FMODLevelVisualizer(); - - virtual bool init() = mac 0x28c2a0; -} - -[[link(android)]] -class GJActionManager : cocos2d::CCNode { - static GJActionManager* create(); - - ~GJActionManager(); - - TodoReturn getInternalAction(int); - - TodoReturn runInternalAction(cocos2d::CCAction*, cocos2d::CCNode*); - TodoReturn stopInternalAction(int) = mac 0x5cdf50; - TodoReturn updateInternalActions(float, bool) = win 0x189E70; - TodoReturn stopAllInternalActions(); - - virtual bool init() = mac 0x5cded0; -} - -[[link(android)]] -class GJBigSpriteNode : cocos2d::CCNode { - static GJBigSpriteNode* create(); - - ~GJBigSpriteNode(); - - virtual bool init() = mac 0x247f70; -} - - -[[link(android)]] -class GJFriendRequest : cocos2d::CCNode { - static GJFriendRequest* create(cocos2d::CCDictionary*) = win 0x117AA0; - static GJFriendRequest* create(); - - ~GJFriendRequest(); - - virtual bool init() = mac 0x52d040; -} - -[[link(android)]] -class GJGradientLayer : cocos2d::CCLayerGradient { - static GJGradientLayer* create(); - - ~GJGradientLayer(); - - virtual bool init() = mac 0x150ea0; -} - -[[link(android)]] -class GJObjectDecoder : cocos2d::CCNode, ObjectDecoderDelegate { - ~GJObjectDecoder(); - - TodoReturn sharedDecoder() = mac 0x6e7c70; - - virtual bool init() = mac 0x6e7cf0; - virtual TodoReturn getDecodedObject(int, DS_Dictionary*) = mac 0x6e7d00, win 0x1F7B60; -} - -[[link(android)]] -class GJSmartTemplate : cocos2d::CCObject { - static GJSmartTemplate* create(); - - bool init(); - ~GJSmartTemplate(); - - TodoReturn getPrefabs(gd::string); - TodoReturn getNoCornerKey(gd::string) = mac 0x403360; - TodoReturn getPrefabWithID(gd::string, int); - TodoReturn getRandomPrefab(gd::string); - TodoReturn getSimplifiedKey(gd::string) = mac 0x402b00; - TodoReturn getTemplateState(gd::vector&); - TodoReturn getSimplifiedType(SmartBlockType, bool&); - TodoReturn getVerySimplifiedKey(gd::string) = mac 0x4034a0; - TodoReturn getTotalChanceForPrefab(gd::string); - TodoReturn getPrefab(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn getPrefab(gd::string, bool, bool); - - void dataLoaded(DS_Dictionary*) = mac 0x407300; - TodoReturn savePrefab(gd::string, gd::string); - /* unverified signature */ - bool isUnrequired(gd::string); - TodoReturn offsetForDir(GJSmartDirection, int); - TodoReturn removePrefab(gd::string, int); - TodoReturn flipBlockType(SmartBlockType, bool, bool); - TodoReturn offsetForType(SmartBlockType); - TodoReturn scanForPrefab(gd::string); - TodoReturn flipBlockTypeX(SmartBlockType); - TodoReturn flipBlockTypeY(SmartBlockType); - TodoReturn createWithCoder(DS_Dictionary*) = mac 0x407250; - TodoReturn offsetForObject(SmartGameObject*); - TodoReturn rotateBlockType(SmartBlockType, int); - TodoReturn saveRemapToDict(gd::string, gd::string, cocos2d::CCDictionary*) = mac 0x403130; - TodoReturn keyFromNeighbors(SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType); - TodoReturn keyFromNeighbors(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn generateRemapDict(); - TodoReturn logTemplateStatus(bool) = mac 0x406780; - TodoReturn rotateBlockType90(SmartBlockType); - TodoReturn smartObjectToType(SmartGameObject*, cocos2d::CCPoint); - TodoReturn keyFromNeighborsOld(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn resetScannedPrefabs(); - TodoReturn shouldDiscardObject(SmartBlockType, GJSmartDirection); - TodoReturn smartTypeToObjectKey(SmartBlockType); - TodoReturn applyTransformationsForType(SmartBlockType, cocos2d::CCSprite*); - TodoReturn flipKey(gd::string, bool, bool); - TodoReturn rotateKey(gd::string, int); - TodoReturn saveRemap(gd::string) = mac 0x402210; - - virtual void encodeWithCoder(DS_Dictionary*) = mac 0x4075e0; - virtual bool canEncode() = mac 0x407240; -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - static InfoAlertButton* create(gd::string, gd::string, float) = mac 0x540d10, win 0x2233A0; - - bool init(gd::string, gd::string, float) = win 0x2234C0; - ~InfoAlertButton(); - - virtual void activate() = mac 0x540f40; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject { - static InheritanceNode* create(int, InheritanceNode*) = win 0x1d4760; - - bool init(int, InheritanceNode*); - ~InheritanceNode(); -} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - static MoreSearchLayer* create() = mac 0x5efc80, win 0x260c80; - - ~MoreSearchLayer(); - - void onFeatured(cocos2d::CCObject* sender) = mac 0x5f2b30; - void onFollowed(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender) = mac 0x5f2950; - void onSongMode(cocos2d::CCObject* sender) = mac 0x5f2c30, win 0x262300; - void onCompleted(cocos2d::CCObject* sender) = mac 0x5f2910; - void onLegendary(cocos2d::CCObject* sender) = mac 0x5f2bb0; - void onTwoPlayer(cocos2d::CCObject* sender) = mac 0x5f29d0; - void onSongFilter(cocos2d::CCObject* sender) = mac 0x5f2a10, win 0x262050; - void onUncompleted(cocos2d::CCObject* sender) = mac 0x5f28d0; - void onEpic(cocos2d::CCObject* sender) = mac 0x5f2b70; - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x5f25d0, win 0x262790; - void onCoins(cocos2d::CCObject* sender) = mac 0x5f2990; - void onMythic(cocos2d::CCObject* sender) = mac 0x5f2bf0; - void onNoStar(cocos2d::CCObject* sender) = mac 0x5f2af0; - void onFriends(cocos2d::CCObject* sender); - - TodoReturn selectSong(int); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint) = mac 0x5f26b0; - TodoReturn audioNext(cocos2d::CCObject*); - - virtual bool init() = mac 0x5f11e0, win 0x260D20; - virtual void keyBackClicked() = mac 0x5f33b0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x5f3240; - virtual void textInputReturn(CCTextInputNode*) = mac 0x5f3300; - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; -} - -[[link(android)]] -class RetryLevelLayer : GJDropDownLayer, RewardedVideoDelegate { - static RetryLevelLayer* create(); - - ~RetryLevelLayer(); - - TodoReturn getEndText() = win 0xe96b0; - void onEveryplay(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - - TodoReturn setupLastProgress(); - - virtual void keyBackClicked() = mac 0x4d46e0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x4d4610; - virtual void customSetup() = mac 0x4d3530; - virtual void showLayer(bool) = mac 0x4d40f0; - virtual TodoReturn enterAnimFinished() = mac 0x4d41f0; - virtual TodoReturn rewardedVideoFinished() = mac 0x4d45f0; - virtual TodoReturn shouldOffsetRewardCurrency() = mac 0x4d4730; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x4d46c0; -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - static SelectFontLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - ~SelectFontLayer(); - - void onChangeFont(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateFontLabel(); - - virtual void keyBackClicked() = mac 0x278560; -} - -[[link(android)]] -class SetColorIDPopup : SetIDPopup, GJSpecialColorSelectDelegate { - static SetColorIDPopup* create(int); - - bool init(int); - ~SetColorIDPopup(); - - void onSelectSpecialColor(cocos2d::CCObject* sender); - - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = mac 0x288cf0; -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*) = mac 0x2ef4a0; - ~SetGroupIDLayer(); - - void onAddGroup(cocos2d::CCObject* sender); - void onArrowLeft(cocos2d::CCObject* sender); - void onArrowRight(cocos2d::CCObject* sender); - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onZLayerShift(cocos2d::CCObject* sender); - void onNextGroupID1(cocos2d::CCObject* sender); - void onAddGroupParent(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onToggleSelectedOrder(cocos2d::CCObject* sender); - void onNextFreeEditorLayer1(cocos2d::CCObject* sender); - void onNextFreeEditorLayer2(cocos2d::CCObject* sender); - void onNextFreeOrderChannel(cocos2d::CCObject* sender); - void onAnim(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - TodoReturn onArrow(int, int); - void onClose(cocos2d::CCObject* sender); - void onExtra(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onExtra2(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - - TodoReturn addGroupID(int); - TodoReturn updateZOrder(); - TodoReturn removeGroupID(int); - TodoReturn createTextInput(cocos2d::CCPoint, int, int, gd::string, float, int); - TodoReturn updateEditorLabel(); - TodoReturn updateEditorOrder(); - TodoReturn updateZOrderLabel(); - TodoReturn updateEditorLabel2(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateOrderChannel(); - TodoReturn callRemoveFromGroup(float); - TodoReturn updateEditorLayerID(); - TodoReturn updateZLayerButtons(); - TodoReturn determineStartValues(); - TodoReturn updateEditorLayerID2(); - TodoReturn updateGroupIDButtons(); - TodoReturn updateEditorOrderLabel(); - TodoReturn updateOrderChannelLabel(); - - virtual void keyBackClicked() = mac 0x2f43c0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x2f3c40; - virtual void textChanged(CCTextInputNode*) = mac 0x2f3c80; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_array0; - cocos2d::CCArray* m_groupIDObjects; - CCTextInputNode* m_editorLayerInput; - CCTextInputNode* m_editorLayer2Input; - CCTextInputNode* m_zOrderInput; - CCTextInputNode* m_groupIDInput; - CCTextInputNode* m_orderInput; - CCTextInputNode* m_channelInput; - bool m_showChannelOrder; - int m_channelValue; - bool m_channelUpdated; - int m_groupIDValue; - int m_editorLayerValue; - int m_editorLayer2Value; - int m_zOrderValue; - ZLayer m_zLayerValue; - int m_orderValue; - bool m_channelOrderEdited; - bool m_editorLayerEdited; - bool m_removeGroupsLock; - int m_groupToRemove; - bool m_addedGroup; - bool m_unkBool0; - bool m_hasTargetObjects; -} - -[[link(android)]] -class SetupPulsePopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupPulsePopup(); - - TodoReturn getColorValue(); - - void onExclusive(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x38d4c0; - void onPaste(cocos2d::CCObject* sender); - - TodoReturn selectColor(cocos2d::_ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updateTargetID(); - TodoReturn updateCopyColor(); - TodoReturn updateHoldLabel(bool); - TodoReturn updatePulseMode(); - TodoReturn updateColorValue(); - TodoReturn updateFadeInTime(); - TodoReturn updateColorLabels(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateGroupMainOnly(); - TodoReturn updateTextInputLabel(); - TodoReturn updatePulseTargetType(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateCopyColorTextInputLabel(); - - virtual void show() = mac 0x38dc40; - virtual TodoReturn determineStartValues() = mac 0x38c900; - virtual void textChanged(CCTextInputNode*) = mac 0x38dcc0; - virtual void colorValueChanged(cocos2d::_ccColor3B) = mac 0x38d6a0; - virtual void textInputOpened(CCTextInputNode*) = mac 0x38dca0; - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = mac 0x38ce40; -} - -[[link(android)]] -class SetupShakePopup : SetupTriggerPopup { - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupShakePopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x628fb0; - - TodoReturn updateShake(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateInterval(); - TodoReturn updateShakeLabel(bool); - TodoReturn updateIntervalLabel(bool); - - virtual TodoReturn determineStartValues() = mac 0x6288d0; - virtual void textChanged(CCTextInputNode*) = mac 0x628c30; -} - -[[link(android)]] -class SetupSpawnPopup : SetupTriggerPopup { - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupSpawnPopup(); - - void onAddRemap(cocos2d::CCObject* sender); - void onDeleteRemap(cocos2d::CCObject* sender); - void onSelectRemap(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn queueUpdateButtons(); - TodoReturn updateRemapButtons(float); -} - -[[link(android)]] -class SFXFolderObject : SFXInfoObject { - static SFXFolderObject* create(int, gd::string, int); - - bool init(int, gd::string, int); - ~SFXFolderObject(); -} - -[[link(android)]] -class SFXSearchResult : MusicSearchResult { - static SFXSearchResult* create(int); - - bool init(int); - ~SFXSearchResult(); - - TodoReturn getActiveFolder(); - TodoReturn getSelectedPage(int, int); - - /* unverified signature */ - void setActiveFolder(SFXFolderObject*); - - virtual TodoReturn updateObjects(AudioSortType) = mac 0x5625c0; -} - -[[link(android)]] -class ShareLevelLayer : FLAlertLayer { - static ShareLevelLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - ~ShareLevelLayer(); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - - void onSettings(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x381b90; - - TodoReturn setupStars(); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked() = mac 0x25f410; -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer, OnlineListDelegate { - static TopArtistsLayer* create(); - - ~TopArtistsLayer(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - void setupPageInfo(gd::string, char const*) = mac 0x2ee360; - TodoReturn setupLeaderboard(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - void loadPage(int); - /* unverified signature */ - bool isCorrect(char const*); - - virtual bool init() = mac 0x2ed8a0; - virtual void registerWithTouchDispatcher() = mac 0x2ee210; - virtual void keyBackClicked() = mac 0x2ee1a0; - virtual void show() = mac 0x2eebf0; - virtual void loadListFinished(cocos2d::CCArray*, char const*) = mac 0x2ee260; - virtual void loadListFailed(char const*) = mac 0x2ee320; -} - -[[link(android)]] -class UISaveLoadLayer : SetupTriggerPopup { - static UISaveLoadLayer* create(UIOptionsLayer*); - - bool init(UIOptionsLayer*); - ~UISaveLoadLayer(); - - void onLoad(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UploadListPopup : FLAlertLayer, ListUploadDelegate { - static UploadListPopup* create(GJLevelList*); - - bool init(GJLevelList*); - ~UploadListPopup(); - - void onReturnToList(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x342eb0; - virtual void show() = mac 0x342e40; - virtual TodoReturn listUploadFinished(GJLevelList*) = mac 0x342960; - virtual TodoReturn listUploadFailed(GJLevelList*, int) = mac 0x342b80; -} - -[[link(android)]] -class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtocol { - static AccountHelpLayer* create(); - - ~AccountHelpLayer(); - - void onAccountManagement(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - TodoReturn doUnlink(); - TodoReturn exitLayer(); - - virtual void customSetup() = mac 0xcab60; - virtual void layerHidden() = mac 0xcb740; - virtual TodoReturn accountStatusChanged() = mac 0xcb600; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0xcb630; -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - TodoReturn initWithType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20d20, mac 0x32e2b0; - ~CCAnimatedSprite(); - - TodoReturn runAnimation(gd::string) = win 0x21640, mac 0x32eda0; - TodoReturn switchToMode(spriteMode); - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*, cocos2d::CCTexture2D*, bool); - void tweenToAnimation(gd::string, float) = win 0x21750, mac 0x32eeb0; - TodoReturn willPlayAnimation(); - TodoReturn runAnimationForced(gd::string); - void tweenToAnimationFinished(); - TodoReturn loadType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn stopTween(); - - virtual void setOpacity(unsigned char) = mac 0x32f2d0; - virtual void setColor(cocos2d::_ccColor3B const&) = mac 0x32f380; - virtual TodoReturn animationFinished(char const*) = mac 0x32f2b0; - virtual TodoReturn animationFinishedO(cocos2d::CCObject*) = mac 0x32f280; -} - -[[link(android)]] -class CCPartAnimSprite : cocos2d::CCSprite { - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - ~CCPartAnimSprite(); - - TodoReturn getSpriteForKey(char const*); - - /* unverified signature */ - void setColor(cocos2d::_ccColor3B) = win 0x27270, mac 0x353390; - /* unverified signature */ - void setFlipX(bool); - /* unverified signature */ - void setFlipY(bool); - - TodoReturn countParts(); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - TodoReturn tweenSpriteTo(SpriteDescription*, float); - TodoReturn transformSprite(SpriteDescription*); - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn dirtify(); - - virtual void setScaleX(float) = mac 0x3531d0; - virtual void setScaleY(float) = mac 0x3531f0; - virtual void setScale(float) = mac 0x3531b0; - virtual void setOpacity(unsigned char) = mac 0x353460; - virtual void setBlendFunc(cocos2d::_ccBlendFunc) = mac 0x353210; - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*) = mac 0x352d80; - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*) = mac 0x352ef0; - virtual cocos2d::CCSpriteFrame* displayFrame() = mac 0x352f10; -} - -[[link(android)]] -class CCSpriteCOpacity : cocos2d::CCSprite { - ~CCSpriteCOpacity(); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setOpacity(unsigned char) = mac 0x45eaa0; -} - - -[[link(android), depends(GJAssetDownloadAction)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - static CustomSongWidget* create(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool) = mac 0x5de780; - - bool init(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool) = mac 0x5de910, win 0x921A0; - ~CustomSongWidget() = mac 0x5de750; - - TodoReturn getSongInfoIfUnloaded(); - - void onDownload(cocos2d::CCObject* sender) = mac 0x5dfbe0, win 0x93A90; - void onPlayback(cocos2d::CCObject* sender) = mac 0x5e0080, win 0x93D10; - void onGetSongInfo(cocos2d::CCObject* sender) = mac 0x5dfff0; - void onCancelDownload(cocos2d::CCObject* sender) = mac 0x5dfe70, win 0x93960; - void onMore(cocos2d::CCObject* sender) = mac 0x5e02e0, win 0x93390; - void onDelete(cocos2d::CCObject* sender) = mac 0x5dfeb0; - void onSelect(cocos2d::CCObject* sender) = mac 0x5dff90, win 0x93CC0; - - void deleteSong() = mac 0x5e1850; - TodoReturn updateError(GJSongError); - TodoReturn verifySongID(int); - TodoReturn startDownload(); - TodoReturn downloadFailed(); - void updateSongInfo() = mac 0x5e0a70; - TodoReturn updateLengthMod(float); - TodoReturn updateSongObject(SongInfoObject*) = mac 0x5e09e0; - TodoReturn updatePlaybackBtn() = mac 0x5e1780; - TodoReturn updateProgressBar(int); - TodoReturn toggleUpdateButton(bool); - TodoReturn downloadAssetFailed(int, GJAssetType, GJSongError); - TodoReturn startMonitorDownload(); - void updateMultiAssetInfo(bool) = win 0x94FE0; - TodoReturn downloadAssetFinished(int, GJAssetType); - TodoReturn processNextMultiAsset(); - TodoReturn updateWithMultiAssets(gd::string, gd::string, int) = mac 0x5e2370; - TodoReturn updateDownloadProgress(float); - TodoReturn startMultiAssetDownload(); - void showError(bool) = mac 0x5e1990; - - virtual void loadSongInfoFinished(SongInfoObject*) = mac 0x5e3290; - virtual void loadSongInfoFailed(int, GJSongError) = mac 0x5e3440; - virtual void downloadSongFinished(int) = mac 0x5e3640; - virtual void downloadSongFailed(int, GJSongError) = mac 0x5e3920; - virtual void downloadSFXFinished(int) = mac 0x5e3ab0; - virtual void downloadSFXFailed(int, GJSongError) = mac 0x5e3ae0; - virtual void musicActionFinished(GJMusicAction) = mac 0x5e3da0; - virtual void musicActionFailed(GJMusicAction) = mac 0x5e3e00; - virtual void songStateChanged() = mac 0x5e2300; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x5e3ee0; - - SongInfoObject* m_songInfoObject; - cocos2d::CCMenu* m_buttonMenu; - cocos2d::CCLabelBMFont* m_songLabel; - cocos2d::CCLabelBMFont* m_artistLabel; - cocos2d::CCLabelBMFont* m_songIDLabel; - cocos2d::CCLabelBMFont* m_errorLabel; - CCMenuItemSpriteExtra* m_downloadBtn; - CCMenuItemSpriteExtra* m_cancelDownloadBtn; - CCMenuItemSpriteExtra* m_selectSongBtn; - CCMenuItemSpriteExtra* m_getSongInfoBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_moreBtn; - CCMenuItemSpriteExtra* m_deleteBtn; - cocos2d::CCSprite* m_sliderGroove; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_bgSpr; - CustomSongDelegate* m_songDelegate; - bool m_showSelectSongBtn; - bool m_showPlayMusicBtn; - bool m_showDownloadBtn; - bool m_isNotDownloading; - bool m_isRobtopSong; - bool m_hasMultipleAssets; - int m_customSongID; - float m_unkFloat; - bool m_unkBool1; - void* m_unkPtr; - bool m_hasLibrarySongs; - bool m_hasSFX; - bool m_unkBool2; - gd::map m_songs; - gd::map m_sfx; - gd::vector m_undownloadedAssets; - int m_unkInt; - InfoAlertButton* m_assetInfoBtn; -} - - -[[link(android)]] -class FollowRewardPage : FLAlertLayer, FLAlertLayerProtocol, GameRateDelegate, RewardedVideoDelegate { - static FollowRewardPage* create(); - - ~FollowRewardPage(); - - void onSpecialItem(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - virtual bool init() = mac 0x3ff7b0; - virtual void registerWithTouchDispatcher() = mac 0x401930; - virtual void keyBackClicked() = mac 0x4018c0; - virtual void show() = mac 0x401690; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x401810; - virtual TodoReturn rewardedVideoFinished() = mac 0x401670; - virtual void updateRate() = mac 0x401320; -} - -[[link(android)]] -class GameOptionsLayer : GJOptionsLayer { - static GameOptionsLayer* create(GJBaseGameLayer*) = mac 0x28c970; - - bool init(GJBaseGameLayer*); - ~GameOptionsLayer(); - - void onUIOptions(cocos2d::CCObject* sender); - void onPracticeMusicSync(cocos2d::CCObject* sender) = win 0x20eeb0, mac 0x28d090; - - void showPracticeMusicSyncUnlockInfo() = win 0x20eba0; - - virtual void setupOptions() = win 0x20e710, mac 0x28cc30; - virtual TodoReturn didToggle(int) = mac 0x28d610; -} - -[[link(android)]] -class GhostTrailEffect : cocos2d::CCNode { - static GhostTrailEffect* create() = win 0x46890; - - ~GhostTrailEffect(); - - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn trailSnapshot(float); - TodoReturn doBlendAdditive(); - TodoReturn stopTrail(); - - virtual bool init() = mac 0x5bece0; - virtual void draw() = mac 0x5bf290; -} - -[[link(android)]] -class GJAssetDownloadAction { - int m_id; - GJAssetType m_assetType; - int m_status; -} - -[[link(android)]] -class GJFlyGroundLayer : GJGroundLayer { - static GJFlyGroundLayer* create(); - - ~GJFlyGroundLayer(); - - virtual bool init() = mac 0x5b0840; -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - ~GJLevelScoreCell(); - - void onViewProfile(cocos2d::CCObject* sender); - - void loadFromScore(GJUserScore*) = mac 0x229660, win 0x874F0; - void updateBGColor(int) = win 0x807B0; - GJLevelScoreCell(char const*, float, float); - - virtual bool init() = mac 0x234030; - virtual void draw() = mac 0x234080; -} - -[[link(android)]] -class GJMoreGamesLayer : GJDropDownLayer { - static GJMoreGamesLayer* create(); - - ~GJMoreGamesLayer(); - - TodoReturn getMoreGamesList(); - - virtual void customSetup() = mac 0x757290; -} - -[[link(android)]] -class GJRewardDelegate { - virtual void rewardsStatusFinished(int); - virtual void rewardsStatusFailed(); -} - -[[link(android)]] -class GJUnlockableItem : cocos2d::CCObject { - static GJUnlockableItem* create(); - - bool init(); - ~GJUnlockableItem(); -} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - static KeybindingsLayer* create(); - - ~KeybindingsLayer(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - TodoReturn layerForPage(int); - TodoReturn nextPosition(int); - TodoReturn objectsForPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn pageKey(int); - void goToPage(int); - TodoReturn layerKey(int); - TodoReturn objectKey(int); - - virtual bool init() = win 0x227270, mac 0x5ce680; - virtual void keyBackClicked() = mac 0x5cff50; -} - - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - static LevelLeaderboard* create(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = mac 0x3b8480, win 0x253700; - - bool init(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = mac 0x3b8610, win 0x2537c0; - ~LevelLeaderboard(); - - TodoReturn getLocalScores() = mac 0x3b9fe0; - TodoReturn getSpriteButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint, int) = mac 0x3b9640; - - void onChangeMode(cocos2d::CCObject* sender) = mac 0x3b97f0, win 0x254d50; - void onChangeType(cocos2d::CCObject* sender) = mac 0x3b9a20, win 0x254d00; - void onDeleteLocalScores(cocos2d::CCObject* sender) = mac 0x3b9840; - void onClose(cocos2d::CCObject* sender) = mac 0x3b9910, win 0x6a340; - void onUpdate(cocos2d::CCObject* sender) = mac 0x3b9940, win 0x254d90; - - TodoReturn loadScores() = mac 0x3b9a80; - TodoReturn setupLeaderboard(cocos2d::CCArray*) = mac 0x3b9c60; - TodoReturn deleteLocalScores(); - TodoReturn reloadLeaderboard(LevelLeaderboardType, LevelLeaderboardMode) = win 0x254c50; - /* unverified signature */ - bool isCorrect(char const*); - - virtual void registerWithTouchDispatcher() = mac 0x3ba380; - virtual void keyBackClicked() = mac 0x3ba310; - virtual void show() = mac 0x3ba8d0, win 0x5D2C0; - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) = mac 0x3ba5d0; - virtual void loadLeaderboardFailed(char const*) = mac 0x3ba710; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x3b9f60; - virtual void updateUserScoreFinished() = mac 0x3ba160; - virtual void updateUserScoreFailed() = mac 0x3ba190; - - GJGameLevel* m_level; - LevelLeaderboardType m_type; - LevelLeaderboardMode m_mode; - cocos2d::CCArray* m_scores; - GJCommentListLayer* m_list; - LoadingCircle* m_circle; - TextArea* m_noInternet; - CCMenuItemSpriteExtra* m_refreshBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_pointsBtn; -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate, GJDropDownLayerDelegate { - static MoreOptionsLayer* create() = mac 0x75cfc0; - - ~MoreOptionsLayer(); - - void onGPSignIn(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onParental(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onFMODDebug(cocos2d::CCObject* sender) = win 0x2aea40; - void onGPSignOut(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender) = win 0x2ae9f0; - void onInfo(cocos2d::CCObject* sender); - - void onClose(cocos2d::CCObject* sender) = mac 0x75f210; - void onToggle(cocos2d::CCObject* sender) = mac 0x75fa80; - - - TodoReturn countForPage(int); - TodoReturn layerForPage(int); - TodoReturn nextPosition(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn pageKey(int); - void goToPage(int); - TodoReturn layerKey(int); - TodoReturn toggleGP(); - TodoReturn addToggle(char const*, char const*, char const*) = mac 0x75e760; - TodoReturn objectKey(int); - - virtual bool init() = mac 0x75d590; - virtual void keyBackClicked() = mac 0x760630; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x760660; - virtual void textInputReturn(CCTextInputNode*) = mac 0x760720; - virtual void googlePlaySignedIn() = mac 0x7607d0; - virtual void dropDownLayerWillClose(GJDropDownLayer*) = mac 0x7604b0; -} - -[[link(android)]] -class MultiplayerLayer : cocos2d::CCLayer { - static MultiplayerLayer* create(); - - ~MultiplayerLayer(); - - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - - TodoReturn scene(); - - virtual bool init() = mac 0x3789a0; - virtual void keyBackClicked() = mac 0x378a90; -} - - -[[link(android)]] -class SelectEventLayer : SetupTriggerPopup { - static SelectEventLayer* create(SetupEventLinkPopup*, gd::set&); - - bool init(SetupEventLinkPopup*, gd::set&); - ~SelectEventLayer(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x545320; - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x545550; - - TodoReturn nextPosition(); - TodoReturn addToggle(int, gd::string); - - virtual void keyBackClicked() = mac 0x545620; -} - -[[link(android)]] -class SetTargetIDLayer : SetupTriggerPopup { - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - ~SetTargetIDLayer(); - - virtual TodoReturn determineStartValues() = mac 0x294a40; - virtual TodoReturn valueDidChange(int, float) = mac 0x294a50; -} - -[[link(android)]] -class SetupPortalPopup : FLAlertLayer, TextInputDelegate { - static SetupPortalPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupPortalPopup(); - - void onUnboundMode(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraPadding(); - TodoReturn determineStartValues(); - TodoReturn updateItemVisibility(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPaddingLabel(); - - virtual void keyBackClicked() = mac 0x53c1a0; -} - -[[link(android)]] -class SetupReverbPopup : SetupTriggerPopup { - static SetupReverbPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - ~SetupReverbPopup(); - - void onPlay(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x493d90; - void onReverb(cocos2d::CCObject* sender); - - TodoReturn updateReverbLabel(); -} - -[[link(android)]] -class SetupRotatePopup : SetupTriggerPopup { - static SetupRotatePopup* create(EnhancedGameObject*, cocos2d::CCArray*); - - bool init(EnhancedGameObject*, cocos2d::CCArray*); - ~SetupRotatePopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x565060; - void onClose(cocos2d::CCObject* sender) = mac 0x564fd0; -} - -[[link(android)]] -class SongOptionsLayer : FLAlertLayer { - static SongOptionsLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - ~SongOptionsLayer(); - - void onPlayback(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked() = mac 0x1f60a0; -} - -[[link(android)]] -class TextStyleSection : cocos2d::CCObject { - static TextStyleSection* create(int, int, TextStyleType); - - bool init(int, int, TextStyleType); - ~TextStyleSection(); - - TodoReturn createDelaySection(int, float); - TodoReturn createShakeSection(int, int, int, int); - TodoReturn createColoredSection(cocos2d::_ccColor3B, int, int); - TodoReturn createInstantSection(int, int, float); -} - -[[link(android)]] -class UserListDelegate { - virtual void getUserListFinished(cocos2d::CCArray*, UserListType); - virtual void getUserListFailed(UserListType, GJErrorCode); - virtual void userListChanged(cocos2d::CCArray*, UserListType); - virtual void forceReloadList(UserListType); -} - -[[link(android)]] -class WorldSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate { - static WorldSelectLayer* create(int); - - bool init(int) = mac 0x3a02a0; - ~WorldSelectLayer(); - - TodoReturn getColorValue(int, int, float); - - void onFreeLevels(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender) = mac 0x3a0aa0; - - TodoReturn setupWorlds(); - TodoReturn colorForPage(int); - TodoReturn updateArrows(); - TodoReturn unblockButtons(); - void showCompleteDialog(); - TodoReturn animateInActiveIsland(); - TodoReturn scene(int); - void goToPage(int, bool); - TodoReturn tryShowAd(); - - virtual void onExit() = mac 0x3a1fb0; - virtual void keyBackClicked() = mac 0x3a1ed0; - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int) = mac 0x3a1de0; - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int) = mac 0x3a1cf0; - virtual void scrollLayerMoved(cocos2d::CCPoint) = mac 0x3a2000; -} - -[[link(android)]] -class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegate, FLAlertLayerProtocol { - static AccountLoginLayer* create(gd::string); - - bool init(gd::string); - ~AccountLoginLayer(); - - void onForgotUser(cocos2d::CCObject* sender); - void onForgotPassword(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn updateLabel(AccountError); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void showLoadingUI(); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn toggleUI(bool); - - virtual void registerWithTouchDispatcher() = mac 0x476860; - virtual void keyBackClicked() = mac 0x476720; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x476560; - virtual void textInputOpened(CCTextInputNode*) = mac 0x476a20; - virtual void textInputClosed(CCTextInputNode*) = mac 0x4768a0; - virtual void textChanged(CCTextInputNode*) = mac 0x476a40; - virtual TodoReturn loginAccountFinished(int, int) = mac 0x475f20; - virtual TodoReturn loginAccountFailed(AccountError) = mac 0x476230; -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - static AchievementsLayer* create(); - - ~AchievementsLayer(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - - void setupPageInfo(int, int, int); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - void loadPage(int); - - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x351660; - virtual void customSetup() = mac 0x3511a0; -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - static AudioEffectsLayer* create(gd::string); - - bool init(gd::string); - ~AudioEffectsLayer(); - - TodoReturn getBGSquare(); - - TodoReturn triggerEffect(float) = win 0x5BB70, mac 0x48b650; - TodoReturn resetAudioVars(); - TodoReturn audioStep(float) = win 0x5BAD0, mac 0x48b580; - TodoReturn goingDown(); - - virtual void draw() = mac 0x48b8e0; - virtual void updateTweenAction(float, char const*) = mac 0x48b790; -} - -[[link(android)]] -class CCSpriteGrayscale : CCSpriteWithHue { - static CCSpriteGrayscale* create(gd::string const&); - static CCSpriteGrayscale* create(gd::string const&, cocos2d::CCRect const&); - - ~CCSpriteGrayscale(); - - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*) = mac 0x5b6a70; - static CCSpriteGrayscale* createWithSpriteFrameName(gd::string const&) = mac 0x5b6b50; - - virtual TodoReturn getShaderName() = mac 0x5b66f0; - virtual TodoReturn shaderBody() = mac 0x5b64f0; -} - - -[[link(android)]] -class CustomSFXDelegate { - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); -} - -[[link(android)]] -class DungeonBarsSprite : cocos2d::CCNode { - static DungeonBarsSprite* create(); - - ~DungeonBarsSprite(); - - TodoReturn animateOutBars(); - - virtual bool init() = mac 0x4843e0; - virtual void visit() = mac 0x484460; -} - -[[link(android)]] -class EditTriggersPopup : SetupTriggerPopup { - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~EditTriggersPopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x278b60; - - virtual TodoReturn determineStartValues() = mac 0x278b50; -} - -[[link(android)]] -class ExplodeItemSprite : cocos2d::CCSprite { - static ExplodeItemSprite* create(); - - ~ExplodeItemSprite(); - - virtual bool init() = mac 0x1f38e0; -} - -[[link(android)]] -class GJColorSetupLayer : FLAlertLayer, ColorSelectDelegate, FLAlertLayerProtocol { - static GJColorSetupLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - ~GJColorSetupLayer(); - - void onPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - void showPage(int); - - virtual void keyBackClicked() = mac 0x1eac60; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0x1eac30; -} - -[[link(android)]] -class GJPathRewardPopup : FLAlertLayer { - static GJPathRewardPopup* create(int); - - bool init(int); - ~GJPathRewardPopup(); - - void onClaim(cocos2d::CCObject* sender); - - TodoReturn closePopup(); - - virtual void keyBackClicked() = mac 0x2dffb0; -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - static GJRotationControl* create() = mac 0xf450; - - ~GJRotationControl(); - - void setAngle(float); - - TodoReturn finishTouch(); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init() = mac 0x54a10; - virtual void draw() = mac 0x55010; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x54c80; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x54da0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x54f00; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x54fd0; -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - ~GooglePlayManager(); - - TodoReturn sharedState() = mac 0x455950; - void googlePlaySignedIn(); - - virtual bool init() = mac 0x4559b0; -} - -[[link(android)]] -class HSVWidgetDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::_ccHSVValue); - virtual void hsvChanged(ConfigureHSVWidget*); -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - static LeaderboardsLayer* create(LeaderboardState) = mac 0x4ea500, win 0x228BD0; - - bool init(LeaderboardState) = mac 0x4ea600, win 0x228c70; - ~LeaderboardsLayer(); - - void onCreators(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - - TodoReturn refreshTabs() = mac 0x4eb590; - TodoReturn toggleTabButtons(); - TodoReturn selectLeaderboard(LeaderboardState) = mac 0x4eb260; - TodoReturn setupLevelBrowser(cocos2d::CCArray*) = mac 0x4eb450; - TodoReturn scene(LeaderboardState) = mac 0x4ea3d0; - /* unverified signature */ - bool isCorrect(char const*); - TodoReturn setupTabs() = mac 0x4eae30; - - virtual void keyBackClicked() = mac 0x4ec1a0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x4ec140; - virtual void updateUserScoreFinished() = mac 0x4eb820; - virtual void updateUserScoreFailed() = mac 0x4eb880; - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) = mac 0x4eb920; - virtual void loadLeaderboardFailed(char const*) = mac 0x4ebea0; - - GJListLayer* m_list; - cocos2d::CCArray* m_userScores; - LeaderboardState m_state; - CCMenuItemToggler* m_topBtn; - CCMenuItemToggler* m_globalBtn; - CCMenuItemToggler* m_creatorsBtn; - CCMenuItemToggler* m_friendsBtn; - LoadingCircle* m_circle; - TextArea* m_noInternet; - cocos2d::CCArray* m_tabs; -} - - -[[link(android)]] -class LevelFeatureLayer : FLAlertLayer { - static LevelFeatureLayer* create(int); - - bool init(int); - ~LevelFeatureLayer(); - - void onToggleEpic(cocos2d::CCObject* sender); - void onSetEpicOnly(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - - TodoReturn updateStars(); - - virtual void keyBackClicked() = mac 0x4e0430; -} - -[[link(android)]] -class LevelOptionsLayer : GJOptionsLayer { - static LevelOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - ~LevelOptionsLayer(); - - void onSettings(cocos2d::CCObject* sender); - - virtual TodoReturn valueDidChange(int, float) = mac 0x24fbc0; - virtual TodoReturn getValue(int) = mac 0x24fbe0; - virtual void setupOptions() = mac 0x24f5f0; - virtual TodoReturn didToggle(int) = mac 0x24fc00; -} - -[[link(android)]] -class MultiTriggerPopup : SetupTriggerPopup { - static MultiTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~MultiTriggerPopup(); -} - -[[link(android)]] -class MusicArtistObject : cocos2d::CCObject { - static MusicArtistObject* create(int, gd::string, gd::string, gd::string); - - bool init(int, gd::string, gd::string, gd::string); - ~MusicArtistObject(); -} - -[[link(android)]] -class MusicSearchResult : cocos2d::CCObject, OptionsObjectDelegate { - static MusicSearchResult* create(); - - bool init(); - ~MusicSearchResult(); - - TodoReturn getFilesMatchingSearch(cocos2d::CCArray*, gd::string); - - TodoReturn updateObjects(); - TodoReturn applyTagFilters(cocos2d::CCArray*); - TodoReturn updateFutureCount(cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn applyArtistFilters(cocos2d::CCArray*); - TodoReturn createTagFilterObjects(); - TodoReturn createArtistFilterObjects(); - - virtual TodoReturn updateObjects(AudioSortType) = mac 0x561cc0; - virtual TodoReturn stateChanged(OptionsObject*) = mac 0x561c60; -} - -[[link(android)]] -class PromoInterstitial : FLAlertLayer { - static PromoInterstitial* create(bool); - - bool init(bool); - ~PromoInterstitial(); - - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn setup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2aeef0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2af110; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2aeff0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2af090; - virtual void keyBackClicked() = mac 0x2aed50; - virtual void show() = mac 0x2aed20; -} - -[[link(android)]] -class PulseEffectAction { - /* unverified signature */ - bool isFinished(); - TodoReturn valueForDelta(float, float, float, float); - virtual void step(float); -} - -[[link(android)]] -class PurchaseItemPopup : FLAlertLayer { - static PurchaseItemPopup* create(GJStoreItem*) = win 0x217FB0; - - bool init(GJStoreItem*) = win 0x218050; - ~PurchaseItemPopup(); - - void onPurchase(cocos2d::CCObject* sender) = win 0x218AD0; - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x305650; -} - -[[link(android)]] -class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate { - static RewardUnlockLayer* create(int, RewardsPage*) = win 0x2F0610; - - bool init(int, RewardsPage*) = win 0x2F06C0; - ~RewardUnlockLayer(); - - void onClose(cocos2d::CCObject* sender); - - TodoReturn playDropSound(); - TodoReturn readyToCollect(GJRewardItem*); - TodoReturn playLabelEffect(int, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - void showCloseButton(); - TodoReturn playRewardEffect(); - TodoReturn connectionTimeout(); - void showCollectReward(GJRewardItem*) = win 0x2F1380; - TodoReturn labelEnterFinishedO(cocos2d::CCObject*); - TodoReturn step2(); - TodoReturn step3(); - - virtual void keyBackClicked() = mac 0x1fd870; - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*) = mac 0x1fd830; -} - -[[link(android)]] -class SecretNumberLayer : cocos2d::CCLayer { - static SecretNumberLayer* create(); - - ~SecretNumberLayer(); - - TodoReturn playNumberEffect(int); - - virtual bool init() = mac 0x47f190; -} - - -[[link(android)]] -class SetupOpacityPopup : SetupTriggerPopup { - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*) = mac 0x59f90; - - bool init(EffectGameObject*, cocos2d::CCArray*) = mac 0x5a1e0; - ~SetupOpacityPopup(); - - void onTargetIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x5b9c0; - - TodoReturn sliderChanged(cocos2d::CCObject*) = mac 0x5b000; - void updateOpacity(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTargetID(); - void updateOpacityLabel(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x5b3c0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x5b720; - virtual void textChanged(CCTextInputNode*) = mac 0x5b760; -} - -[[link(android)]] -class SetupSFXEditPopup : SetupAudioTriggerPopup { - static SetupSFXEditPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*, bool); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*, bool); - ~SetupSFXEditPopup(); -} - - - -[[link(android)]] -class SmartTemplateCell : TableViewCell { - ~SmartTemplateCell(); - - void onClick(cocos2d::CCObject* sender); - - void updateBGColor(int) = win 0x8AB60; - void loadFromObject(GJSmartTemplate*) = mac 0x22bb00, win 0x8A860; - SmartTemplateCell(char const*, float, float); - - virtual bool init() = mac 0x237000; - virtual void draw() = mac 0x2370d0; -} - -[[link(android)]] -class SpriteDescription : cocos2d::CCObject { - TodoReturn initDescription(DS_Dictionary*); - TodoReturn initDescription(cocos2d::CCDictionary*); - ~SpriteDescription(); - - TodoReturn createDescription(DS_Dictionary*); - TodoReturn createDescription(cocos2d::CCDictionary*); -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - static VideoOptionsLayer* create() = mac 0x75d140; - - ~VideoOptionsLayer(); - - void onAdvanced(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender) = win 0x2aff80, mac 0x761e10; - void onClose(cocos2d::CCObject* sender); - - TodoReturn reloadMenu(); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool); - TodoReturn updateTextureQuality(int); - - virtual bool init() = mac 0x760bd0; - virtual void keyBackClicked() = mac 0x7625b0; -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - ~AchievementManager(); - - TodoReturn getAllAchievements(); - TodoReturn getAchievementsWithID(char const*) = mac 0x746b10; - TodoReturn getAchievementRewardDict(); - TodoReturn getAllAchievementsSorted(bool); - - void dataLoaded(DS_Dictionary*) = mac 0x7467f0; - void firstSetup(); - TodoReturn sharedState() = win 0x9AC0, mac 0x6eed90; - void encodeDataTo(DS_Dictionary*); - TodoReturn addAchievement(gd::string, gd::string, gd::string, gd::string, gd::string, int) = win 0x9bc0; - TodoReturn resetAchievement(char const*); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn resetAchievements(); - TodoReturn checkAchFromUnlock(char const*); - TodoReturn percentageForCount(int, int); - /* unverified signature */ - bool isAchievementEarned(char const*) = mac 0x7469d0; - TodoReturn limitForAchievement(gd::string) = mac 0x746c60; - TodoReturn achievementForUnlock(int, UnlockType) = mac 0x746d00; - TodoReturn addManualAchievements() = win 0xf74a; - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn percentForAchievement(char const*) = mac 0x7469f0; - /* unverified signature */ - bool isAchievementAvailable(gd::string); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn storeAchievementUnlocks(); - TodoReturn reportPlatformAchievementWithID(char const*, int); - TodoReturn setup(); - - virtual bool init() = mac 0x6eeea0; -} - -[[link(android)]] -class AnimatedGameObject : EnhancedGameObject, AnimatedSpriteDelegate, SpritePartDelegate { - static AnimatedGameObject* create(int); - - bool init(int); - ~AnimatedGameObject(); - - TodoReturn getTweenTime(int, int); - - TodoReturn playAnimation(int); - TodoReturn animationForID(int, int); - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string) = mac 0x1a0fb0; - TodoReturn updateObjectAnimation(); - TodoReturn updateChildSpriteColor(cocos2d::_ccColor3B); - - virtual void setOpacity(unsigned char) = mac 0x19fa60; - virtual void setChildColor(cocos2d::_ccColor3B const&) = mac 0x1a17a0; - virtual void resetObject() = mac 0x1a1730; - virtual void activateObject() = mac 0x19f990; - virtual void deactivateObject(bool) = mac 0x19f9d0; - virtual void setObjectColor(cocos2d::_ccColor3B const&) = mac 0x19fb40; - virtual TodoReturn animationFinished(char const*) = mac 0x19fb70; -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - static AnimatedShopKeeper* create(ShopType); - - bool init(ShopType); - ~AnimatedShopKeeper(); - - TodoReturn startAnimating(); - TodoReturn playReactAnimation(); - - virtual TodoReturn animationFinished(char const*) = mac 0x3057b0; -} - -[[link(android)]] -class CharacterColorPage : FLAlertLayer { - static CharacterColorPage* create() = mac 0x61fec0; - - ~CharacterColorPage(); - - void onPlayerColor(cocos2d::CCObject* sender) = mac 0x621a50; - void onMode(cocos2d::CCObject* sender) = mac 0x620db0; - void onClose(cocos2d::CCObject* sender); - - void checkColor(int, UnlockType); // inlined - void toggleGlow(cocos2d::CCObject*) = mac 0x6214b0; - void toggleShip(cocos2d::CCObject*) = mac 0x620d00; - int colorForIndex(int) = mac 0x621a30; - cocos2d::CCPoint& offsetForIndex(int) = mac 0x621ca0; - void createColorMenu() = mac 0x6210e0; - void FLAlert_Clicked(FLAlertLayer*, bool); - void toggleGlowItems(bool); - void updateColorMode(int) = mac 0x6214f0; - void updateIconColors() = mac 0x620f80; - int activeColorForMode(int mode) { - switch (mode) { - case 0: - return GameManager::get()->m_playerColor; - case 1: - return GameManager::get()->m_playerColor2; - case 2: - return GameManager::get()->m_playerGlowColor; - default: - return 0; - } - } - - virtual bool init() = win 0x5e640, mac 0x620020; - virtual void registerWithTouchDispatcher() = mac 0x621ff0; - virtual void keyBackClicked() = mac 0x621f50; - virtual void show() = mac 0x621dc0; - - int m_currentColorMode; - float m_height; - float m_width; - cocos2d::CCArray* m_players; - cocos2d::CCArray* m_modeSelectButtons; - cocos2d::CCDictionary* m_colorButtons; - cocos2d::CCArray* m_colorSelectCursors; - CharacterColorDelegate* m_colorDelegate; - CCMenuItemToggler* m_glowItemCheck; - cocos2d::CCLabelBMFont* m_glowItemLabel; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual void colorSetupClosed(int); -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode, TextInputDelegate { - static ConfigureHSVWidget* create(cocos2d::_ccHSVValue, bool, bool); - - bool init(cocos2d::_ccHSVValue, bool, bool); - ~ConfigureHSVWidget(); - - TodoReturn getHSV(GameObject*, cocos2d::CCArray*, int); - - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn onClose(); - - TodoReturn updateLabels(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateSliders(); - TodoReturn createTextInputNode(cocos2d::CCPoint, int); - - virtual void textInputOpened(CCTextInputNode*) = mac 0x410320; - virtual void textInputClosed(CCTextInputNode*) = mac 0x410340; - virtual void textChanged(CCTextInputNode*) = mac 0x410380; -} - -[[link(android)]] -class CustomSongDelegate { - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); -} - -[[link(android)]] -class EditorOptionsLayer : GJOptionsLayer { - static EditorOptionsLayer* create() = mac 0x27b7d0; - - ~EditorOptionsLayer(); - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x27c3f0; - - virtual bool init() = mac 0x27ba30; - virtual void setupOptions() = mac 0x27ba60; -} - -[[link(android)]] -class EffectManagerState { - // ~EffectManagerState(); -} - -[[link(android)]] -class FriendRequestPopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - static FriendRequestPopup* create(GJFriendRequest*) = mac 0x280e10; - - bool init(GJFriendRequest*) = mac 0x280f80; - ~FriendRequestPopup(); - - void onBlock(cocos2d::CCObject* sender) = mac 0x282090; - void onClose(cocos2d::CCObject* sender) = mac 0x281550; - void onAccept(cocos2d::CCObject* sender) = mac 0x281ef0; - void onRemove(cocos2d::CCObject* sender) = mac 0x281fc0; - - void loadFromGJFriendRequest(GJFriendRequest*) = mac 0x2815c0; - void blockUser(); - - virtual void keyBackClicked() = mac 0x282380; - virtual void uploadActionFinished(int, int) = mac 0x282470; - virtual void uploadActionFailed(int, int) = mac 0x282630; - virtual void onClosePopup(UploadActionPopup*) = mac 0x282700; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x282870; -} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - static FriendsProfilePage* create(UserListType) = mac 0x61b4b0; - - bool init(UserListType) = mac 0x61b640, win 0xefda0; - ~FriendsProfilePage(); - - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void onBlocked(cocos2d::CCObject* sender); - - TodoReturn setupUsersBrowser(cocos2d::CCArray*, UserListType) = mac 0x61bef0; - - virtual void registerWithTouchDispatcher() = mac 0x61c510; - virtual void keyBackClicked() = mac 0x61c4e0; - virtual void getUserListFinished(cocos2d::CCArray*, UserListType) = mac 0x61c160; - virtual void getUserListFailed(UserListType, GJErrorCode) = mac 0x61c2a0; - virtual void userListChanged(cocos2d::CCArray*, UserListType) = mac 0x61c3b0; - virtual void forceReloadList(UserListType) = mac 0x61c3f0; -} - -[[link(android)]] -class GameEffectsManager : cocos2d::CCNode { - static GameEffectsManager* create(PlayLayer*); - - bool init(PlayLayer*); - ~GameEffectsManager(); - - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); -} - -[[link(android)]] -class GJDifficultySprite : cocos2d::CCSprite { - static GJDifficultySprite* create(int, GJDifficultyName) = mac 0x291d10, win 0x211eb0; - - bool init(int, GJDifficultyName) = win 0x211f80; - ~GJDifficultySprite(); - - gd::string getDifficultyFrame(int, GJDifficultyName) = win 0x212010; - - void updateFeatureState(GJFeatureState) = win 0x2122c0; - void updateDifficultyFrame(int, GJDifficultyName) = win 0x212100, mac 0x291f80; - void updateFeatureStateFromLevel(GJGameLevel*) = mac 0x2920b0, win 0x212240; -} - -[[link(android)]] -class GJGameLoadingLayer : cocos2d::CCLayer { - static GJGameLoadingLayer* create(GJGameLevel*, bool) = win 0x1c6530, mac 0x151030; - - bool init(GJGameLevel*, bool) = mac 0x151390; - ~GJGameLoadingLayer(); - - void gameLayerDidUnload() = mac 0xfa680; - GJGameLoadingLayer* transitionToLoadingLayer(GJGameLevel*, bool) = win 0x1c6430, mac 0x150f10; - void loadLevel() = mac 0x151490; - - virtual void onEnter() = mac 0x151500; - virtual void onEnterTransitionDidFinish() = mac 0x1514f0; - - GJGameLevel* m_level; - bool m_editor; -} - -[[link(android)]] -class GJPurchaseDelegate { - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJTransformControl : cocos2d::CCLayer { - static GJTransformControl* create() = mac 0x57e40; - - ~GJTransformControl(); - - void onToggleLockScale(cocos2d::CCObject* sender); - - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn finishTouch(); - void saveToState(GJTransformState&); - TodoReturn spriteByTag(int); - TodoReturn scaleButtons(float) = win 0xdeff0; - TodoReturn applyRotation(float); - void loadFromState(GJTransformState&); - void updateButtons(bool, bool); - TodoReturn refreshControl(); - TodoReturn logCurrentZeroPos(); - TodoReturn updateAnchorSprite(cocos2d::CCPoint); - TodoReturn updateMinMaxPositions(); - TodoReturn calculateRotationOffset(); - - virtual bool init() = mac 0x561e0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x56650; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x56b20; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x570d0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x572e0; -} - -[[link(android)]] -class KeybindingsManager : cocos2d::CCNode { - ~KeybindingsManager(); - - void dataLoaded(DS_Dictionary*) = win 0x228580, mac 0x4c12a0; - void firstSetup(); - TodoReturn sharedState() = win 0x228470, mac 0x4c0c60; - void encodeDataTo(DS_Dictionary*); - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init() = mac 0x4c0de0; -} - -[[link(android)]] -class LevelOptionsLayer2 : LevelOptionsLayer { - static LevelOptionsLayer2* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - ~LevelOptionsLayer2(); - - virtual void setupOptions() = mac 0x24feb0; -} - - -[[link(android)]] -class OptionsScrollLayer : FLAlertLayer, TableViewCellDelegate { - static OptionsScrollLayer* create(cocos2d::CCArray*, bool); - - bool init(cocos2d::CCArray*, bool); - ~OptionsScrollLayer(); - - TodoReturn getRelevantObjects(cocos2d::CCArray*); - - void onClose(cocos2d::CCObject* sender); - - void setupList(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher() = mac 0x5d4d60; - virtual void keyBackClicked() = mac 0x5d4c30; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = mac 0x5d4da0; -} - -[[link(android)]] -class SecretRewardsLayer : cocos2d::CCLayer, DialogDelegate, BoomScrollLayerDelegate { - static SecretRewardsLayer* create(bool) = mac 0x5f41b0; - - bool init(bool) = mac 0x5f42d0; - ~SecretRewardsLayer(); - - TodoReturn getPageColor(int); - - void onChestType(cocos2d::CCObject* sender) = mac 0x5f5de0; - void onSelectItem(cocos2d::CCObject* sender) = win 0x2F6D50; - void onSwitchPage(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender) = win 0x2F7360; - void onBack(cocos2d::CCObject* sender); - void onShop(cocos2d::CCObject* sender) = win 0x2F70B0; - - void showDialog01() = win 0x2f7970; - void showDialog03(); - TodoReturn moveToMainLayer(cocos2d::CCObject*); - void showLockedChest(); - TodoReturn updateBackButton(); - void showDialogDiamond(); - TodoReturn generateChestItems(int) = win 0x2F63D0; - void showDialogMechanic(); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*) = win 0x2F7630; - TodoReturn updateUnlockedLabel() = win 0x2F76E0, mac 0x5f5ef0; - TodoReturn createSecondaryLayer(int) = win 0x2F5F60; - TodoReturn moveToSecondaryLayer(int); - TodoReturn scene(bool) = win 0x2f4130, mac 0x5f4170; - void goToPage(int); - void showShop(int); - - virtual void onExit() = mac 0x5fdb10; - virtual void keyBackClicked() = mac 0x5fda80; - virtual void dialogClosed(DialogLayer*) = mac 0x5fd930; - virtual void scrollLayerMoved(cocos2d::CCPoint) = mac 0x5f6310; -} - -[[link(android)]] -class SelectPremadeLayer : FLAlertLayer { - static SelectPremadeLayer* create(); - - ~SelectPremadeLayer(); - - void onSelectPremade(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual bool init() = mac 0x2e6ea0; - virtual void keyBackClicked() = mac 0x2e73b0; -} - -[[link(android)]] -class SelectSFXSortLayer : FLAlertLayer { - static SelectSFXSortLayer* create(AudioSortType); - - bool init(AudioSortType); - ~SelectSFXSortLayer(); - - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x41f2e0; -} - -[[link(android)]] -class SetLevelOrderPopup : SetIDPopup { - static SetLevelOrderPopup* create(int, int, int); - - bool init(int, int, int); - ~SetLevelOrderPopup(); - - void onOrderButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupDashRingPopup : SetupTriggerPopup { - static SetupDashRingPopup* create(DashRingObject*, cocos2d::CCArray*); - - bool init(DashRingObject*, cocos2d::CCArray*); - ~SetupDashRingPopup(); -} - -[[link(android)]] -class SetupGradientPopup : SetupTriggerPopup { - static SetupGradientPopup* create(GradientTriggerObject*, cocos2d::CCArray*); - - bool init(GradientTriggerObject*, cocos2d::CCArray*); - ~SetupGradientPopup(); - - void onBlending(cocos2d::CCObject* sender); - void onPlusButton(cocos2d::CCObject* sender) = mac 0x5b8ca0; - void onZLayer(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateBlending(); - TodoReturn updateBlendingLabel(); - TodoReturn updateZLayerButtons(); - TodoReturn updateGradientLabels(bool); - - virtual TodoReturn determineStartValues() = mac 0x5b8b80; - virtual TodoReturn updateToggleItem(int, bool) = mac 0x5b8cf0; - virtual TodoReturn valueDidChange(int, float) = mac 0x5b8eb0; -} - -[[link(android)]] -class SetupKeyframePopup : SetupTriggerPopup { - static SetupKeyframePopup* create(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - - bool init(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - ~SetupKeyframePopup(); - - void onTimeMode(cocos2d::CCObject* sender); - void onCustomButton(cocos2d::CCObject* sender) = mac 0x1e0870; - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x1e07e0; - void onClose(cocos2d::CCObject* sender) = mac 0x1e0c20; - - TodoReturn refreshPreviewArt(); - TodoReturn updateTimeModeButtons(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x1e05b0; -} - -[[link(android)]] -class SetupTeleportPopup : SetupTriggerPopup { - static SetupTeleportPopup* create(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - - bool init(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - ~SetupTeleportPopup(); - - void onTeleportGravity(cocos2d::CCObject* sender); - - TodoReturn updateTeleportGravityState(int); - - virtual TodoReturn determineStartValues() = mac 0x338fb0; - virtual void updateDefaultTriggerValues() = mac 0x338fc0; - virtual TodoReturn valueDidChange(int, float) = mac 0x3390e0; -} - -[[link(android)]] -class SetupTimeWarpPopup : SetupTriggerPopup { - static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupTimeWarpPopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x4de0b0; - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTimeWarp(); - TodoReturn updateTimeWarpLabel(); - - virtual TodoReturn determineStartValues() = mac 0x4ddf20; -} - -[[link(android)]] -class SFXBrowserDelegate { - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SpawnTriggerAction { - /* unverified signature */ - bool isFinished(); - virtual void step(float); -} - -[[link(android)]] -class SpritePartDelegate { - TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class BrowseSmartKeyLayer : BrowseSmartTemplateLayer { - static BrowseSmartKeyLayer* create(GJSmartTemplate*, gd::string); - - bool init(GJSmartTemplate*, gd::string); - ~BrowseSmartKeyLayer(); - - TodoReturn getAllSelectedBlocks(); - - void onPrefabObject(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x4c7670; - void onButton(cocos2d::CCObject* sender); - - TodoReturn updateChanceValues(); - TodoReturn addChanceToSelected(int, bool); - TodoReturn deletedSelectedItems(); - TodoReturn createTemplateObjects(); -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - bool init(); - ~CCAnimateFrameCache(); - - TodoReturn spriteFrameByName(char const*); - TodoReturn removeSpriteFrames(); - TodoReturn sharedSpriteFrameCache(); - TodoReturn addSpriteFramesWithFile(char const*); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); -} - -[[link(android)]] -class CollisionBlockPopup : FLAlertLayer, TextInputDelegate { - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~CollisionBlockPopup(); - - void onNextItemID(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onDynamicBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateItemID(); - TodoReturn updateEditorLabel(); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = mac 0x2653a0; - virtual void show() = mac 0x265340; - virtual void textInputClosed(CCTextInputNode*) = mac 0x265180; - virtual void textChanged(CCTextInputNode*) = mac 0x2651c0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x2653d0; - virtual void textInputReturn(CCTextInputNode*) = mac 0x265490; -} - - -[[link(android)]] -class CommunityCreditNode : cocos2d::CCNode { - static CommunityCreditNode* create(int, int, int, gd::string); - - bool init(int, int, int, gd::string); - ~CommunityCreditNode(); -} - - -[[link(android)]] -class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate { - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string); - static CreateParticlePopup* create(gd::string); - - bool init(ParticleGameObject*, cocos2d::CCArray*, gd::string) = mac 0x044c7e0; - ~CreateParticlePopup(); - - TodoReturn getPageMenu(int); - TodoReturn getPageButton(int); - TodoReturn getPageSliders(int); - TodoReturn getPageContainer(int); - TodoReturn getPageInputNodes(int); - TodoReturn getPage(int); - - void onQuickStart(cocos2d::CCObject* sender); - void onEmitterMode(cocos2d::CCObject* sender); - void onMaxEmission(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onCalcEmission(cocos2d::CCObject* sender); - void onCopySettings(cocos2d::CCObject* sender); - void onDynamicColor(cocos2d::CCObject* sender); - void onUniformColor(cocos2d::CCObject* sender); - void onEndRGBVarSync(cocos2d::CCObject* sender); - void onPasteSettings(cocos2d::CCObject* sender); - void onDuplicateColor(cocos2d::CCObject* sender); - void onOrderSensitive(cocos2d::CCObject* sender); - void onToggleBlending(cocos2d::CCObject* sender); - void onDurationForever(cocos2d::CCObject* sender); - void onDynamicRotation(cocos2d::CCObject* sender); - void onStartRGBVarSync(cocos2d::CCObject* sender); - void onAnimateOnTrigger(cocos2d::CCObject* sender); - void onAnimateActiveOnly(cocos2d::CCObject* sender); - void onSelectParticleTexture(cocos2d::CCObject* sender); - void onToggleStartRotationIsDir(cocos2d::CCObject* sender); - void onToggleStartSizeEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartSpinEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartRadiusEqualToEnd(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPosType(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn toggleGravityMode(bool); - TodoReturn updateColorSprite(int); - TodoReturn particleValueIsInt(gjParticleValue); - TodoReturn centerAlignParticle(cocos2d::CCObject*); - TodoReturn updateSliderForType(gjParticleValue); - TodoReturn createParticleSlider(gjParticleValue, int, bool, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn maxSliderValueForType(gjParticleValue); - TodoReturn minSliderValueForType(gjParticleValue); - TodoReturn titleForParticleValue(gjParticleValue); - TodoReturn valueForParticleValue(gjParticleValue); - TodoReturn updateParticleValueForType(float, gjParticleValue, cocos2d::CCParticleSystemQuad*); - TodoReturn updateInputNodeStringForType(gjParticleValue); - TodoReturn willClose(); - - virtual void update(float) = mac 0x454030; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x454bb0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x454cc0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x455090; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4550e0; - virtual void keyBackClicked() = mac 0x454a10; - virtual TodoReturn sliderBegan(Slider*) = mac 0x4548d0; - virtual TodoReturn sliderEnded(Slider*) = mac 0x4549b0; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0x453da0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x454a40; - virtual void textInputReturn(CCTextInputNode*) = mac 0x454b00; - virtual void textInputClosed(CCTextInputNode*) = mac 0x4541a0; - virtual void textChanged(CCTextInputNode*) = mac 0x4541e0; -} - - -[[link(android)]] -class EditGameObjectPopup : SetupTriggerPopup { - static EditGameObjectPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - ~EditGameObjectPopup(); -} - -[[link(android)]] -class EnterEffectInstance { - TodoReturn animateValue(int, float, float, float, int, float, int); - TodoReturn loadTransitions(EnterEffectObject*, float); - TodoReturn updateTransitions(float, GJBaseGameLayer*); - TodoReturn loadValuesFromObject(EnterEffectObject*); - TodoReturn getValue(int); - /* unverified signature */ - void setValue(int, float); - // ~EnterEffectInstance(); - - PAD = win 0xc4, android32 0xd4; -} - -[[link(android)]] -class FRequestProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, FriendRequestDelegate { - static FRequestProfilePage* create(bool) = mac 0x7515d0, win 0xEE230; - - bool init(bool) = mac 0x751780, win 0xEE2E0; - ~FRequestProfilePage(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - - TodoReturn untoggleAll(); - void setupPageInfo(gd::string, char const*) = mac 0x753750; - TodoReturn deleteSelected(); - TodoReturn updatePageArrows(); - TodoReturn updateLevelsLabel(); - void setupCommentsBrowser(cocos2d::CCArray*) = mac 0x753390; - void loadPage(int) = mac 0x7527d0; - /* unverified signature */ - bool isCorrect(char const*); - - virtual void registerWithTouchDispatcher() = mac 0x752ef0; - virtual void keyBackClicked() = mac 0x752ec0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x752dd0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x752f30; - virtual void uploadActionFinished(int, int) = mac 0x752fa0; - virtual void uploadActionFailed(int, int) = mac 0x753140; - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*) = mac 0x753510; - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode) = mac 0x753600; - virtual TodoReturn forceReloadRequests(bool) = mac 0x753710; -} - -[[link(android)]] -class GauntletSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, LevelManagerDelegate { - static GauntletSelectLayer* create(int) = mac 0x53cd80, win 0x1837C0; - - bool init(int) = mac 0x53ce70, win 0x183860; - ~GauntletSelectLayer() = win 0x1836F0; - - void onBack(cocos2d::CCObject* sender) = win 0x184D50; - void onInfo(cocos2d::CCObject* sender) = win 0x1841F0; - void onNext(cocos2d::CCObject* sender) = win 0x184BA0; - void onPlay(cocos2d::CCObject* sender) = mac 0x53e4d0, win 0x184DC0; - void onPrev(cocos2d::CCObject* sender) = win 0x184BC0; - void onRefresh(cocos2d::CCObject* sender) = mac 0x53dad0, win 0x184250; - - void unblockPlay() = win 0x184D00; - TodoReturn updateArrows(); - void setupGauntlets() = mac 0x53db90, win 0x184670; - bool scene(int) = mac 0x53cc60, win 0x182F70; - void goToPage(int, bool) = mac 0x53e950, win 0x184BE0; - - virtual void onExit() = win 0x185120, mac 0x53ecc0; - virtual void keyBackClicked() = win 0x184DB0, mac 0x53eb90; - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int) = mac 0x53eaf0; - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int) = mac 0x53ea50; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x184300, mac 0x53e100; - virtual void loadLevelsFailed(char const*, int) = win 0x1844D0, mac 0x53e2d0; -} - -[[link(android)]] -class GJChallengeDelegate { - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); -} - -[[link(android)]] -class GJSmartBlockPreview : cocos2d::CCNode { - static GJSmartBlockPreview* create(gd::string); - - bool init(gd::string); - ~GJSmartBlockPreview(); - - TodoReturn addPreview(gd::string, gd::string, LevelEditorLayer*); - TodoReturn createInfoLabel(); - TodoReturn addTemplateGuide(SmartPrefabResult, float); - TodoReturn addTemplateGuide(gd::string, int); - TodoReturn toggleSelectItem(bool); - TodoReturn addCount(int); - TodoReturn addChance(int, int); -} - -[[link(android)]] -class GJWriteMessagePopup : FLAlertLayer, TextInputDelegate, UploadMessageDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - static GJWriteMessagePopup* create(int, int) = mac 0x283ff0; - - bool init(int, int) = mac 0x284a60; - ~GJWriteMessagePopup(); - - void onClearBody(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateBody(gd::string); - TodoReturn updateText(gd::string, int); - TodoReturn updateSubject(gd::string); - TodoReturn closeMessagePopup(bool); - TodoReturn updateCharCountLabel(int); - - virtual void registerWithTouchDispatcher() = mac 0x286000; - virtual void keyBackClicked() = mac 0x285fd0; - virtual void textInputOpened(CCTextInputNode*) = mac 0x286080; - virtual void textInputClosed(CCTextInputNode*) = mac 0x286040; - virtual void textChanged(CCTextInputNode*) = mac 0x2860a0; - virtual void uploadMessageFinished(int) = mac 0x286690; - virtual void uploadMessageFailed(int) = mac 0x2867a0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x2868c0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x286a10; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x286af0; - virtual void textInputReturn(CCTextInputNode*) = mac 0x286bb0; -} - -[[link(android)]] -class GraphicsReloadLayer : cocos2d::CCLayer { - static GraphicsReloadLayer* create(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b3240; - - bool init(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b3300; - ~GraphicsReloadLayer(); - - void performReload() = win 0x2b3380; - TodoReturn scene(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); -} - -[[link(android)]] -class GravityEffectSprite : cocos2d::CCSprite { - static GravityEffectSprite* create(); - - ~GravityEffectSprite(); - - TodoReturn updateSpritesColor(cocos2d::_ccColor3B) = win 0x2e5f40; - - virtual bool init() = mac 0xb8f00; - virtual void draw() = mac 0xb9160; -} - -[[link(android)]] -class GroupCommandObject2 { - TodoReturn resetDelta(bool); - TodoReturn updateAction(int, float); - TodoReturn runMoveCommand(cocos2d::CCPoint, double, int, double, bool, bool, bool, bool, double, double); - TodoReturn runFollowCommand(double, double, double); - TodoReturn runRotateCommand(double, double, int, double, bool, int); - TodoReturn updateEffectAction(float, int); - TodoReturn runTransformCommand(double, int, double); - TodoReturn stepTransformCommand(float, bool, bool); - TodoReturn runPlayerFollowCommand(double, double, int, double, double); - virtual void step(float); - TodoReturn reset(); - // GroupCommandObject2(GroupCommandObject2 const&); - // GroupCommandObject2(); -} - -[[link(android)]] -class LevelAreaInnerLayer : cocos2d::CCLayer, DialogDelegate { - static LevelAreaInnerLayer* create(bool); - - bool init(bool) = win 0x22C1E0, mac 0x2579a0; - ~LevelAreaInnerLayer(); - - void onNextFloor(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x2586b0; - void onDoor(cocos2d::CCObject* sender) = mac 0x258700; - void onInfo(cocos2d::CCObject* sender); - - TodoReturn tryResumeTowerMusic(); - void showFloor1CompleteDialog(); - TodoReturn scene(bool); - TodoReturn playStep1(); - - virtual void keyBackClicked() = mac 0x259590; - virtual void dialogClosed(DialogLayer*) = mac 0x2593b0; -} - -[[link(android)]] -class LoadingCircleSprite : cocos2d::CCSprite { - static LoadingCircleSprite* create(); - - ~LoadingCircleSprite(); - - TodoReturn hideCircle(); - TodoReturn fadeInCircle(bool); - - virtual bool init() = mac 0x49ab60; -} - -[[link(android)]] -class MessageListDelegate { - void setupPageInfo(gd::string, char const*); - - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual void loadMessagesFailed(char const*, GJErrorCode); - virtual void forceReloadMessages(bool); -} - -[[link(android)]] -class MessagesProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, MessageListDelegate { - static MessagesProfilePage* create(bool) = mac 0x20cdd0, win 0x2783B0; - - bool init(bool) = mac 0x20cf80, win 0x278460; - ~MessagesProfilePage(); - - void onNextPage(cocos2d::CCObject* sender) = mac 0x20de00; - void onPrevPage(cocos2d::CCObject* sender) = mac 0x20dde0; - void onSentMessages(cocos2d::CCObject* sender) = mac 0x20daa0; - void onDeleteSelected(cocos2d::CCObject* sender) = mac 0x20db30; - void onToggleAllObjects(cocos2d::CCObject* sender) = mac 0x20dd20; - void onClose(cocos2d::CCObject* sender) = mac 0x20d970; - void onUpdate(cocos2d::CCObject* sender) = mac 0x20de20; - - TodoReturn untoggleAll(); - void setupPageInfo(gd::string, char const*) = mac 0x20ee60; - TodoReturn deleteSelected(); - TodoReturn updatePageArrows(); - TodoReturn updateLevelsLabel(); - void setupCommentsBrowser(cocos2d::CCArray*) = mac 0x20ea70; - void loadPage(int) = mac 0x20de90; - /* unverified signature */ - bool isCorrect(char const*); - - virtual void registerWithTouchDispatcher() = mac 0x20e900; - virtual void keyBackClicked() = mac 0x20e8d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x20e4b0; - virtual void onClosePopup(UploadActionPopup*) = mac 0x20e520; - virtual void uploadActionFinished(int, int) = mac 0x20e590; - virtual void uploadActionFailed(int, int) = mac 0x20e730; - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) = mac 0x20ebe0; - virtual void loadMessagesFailed(char const*, GJErrorCode) = mac 0x20ed10; - virtual void forceReloadMessages(bool) = mac 0x20ee20; -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite { - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool) = mac 0x463bd0; - ~MultilineBitmapFont(); - - TodoReturn readColorInfo(gd::string) = mac 0x464480; - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool) = mac 0x463a80; - TodoReturn stringWithMaxWidth(gd::string, float, float) = mac 0x465060; - TodoReturn moveSpecialDescriptors(int, int); - - virtual void setOpacity(unsigned char) = mac 0x4654e0; -} - -[[link(android)]] -class NewgroundsInfoLayer : FLAlertLayer, FLAlertLayerProtocol { - static NewgroundsInfoLayer* create(); - - ~NewgroundsInfoLayer(); - - void onSupporter(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onArtists(cocos2d::CCObject* sender); - void onChanges(cocos2d::CCObject* sender); - - virtual bool init() = mac 0x1f60d0; - virtual void keyBackClicked() = mac 0x1f6bc0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x1f6b60; -} - -[[link(android)]] -class OpacityEffectAction { - virtual void step(float); -} - -[[link(android)]] -class SelectListIconLayer : FLAlertLayer { - static SelectListIconLayer* create(int); - - bool init(int); - ~SelectListIconLayer(); - - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x340490; -} - -[[link(android)]] -class SetupAdvFollowPopup : SetupTriggerPopup, SelectPremadeDelegate { - static SetupAdvFollowPopup* create(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - ~SetupAdvFollowPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x2e6750; - void onMode(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x2e6e00; - void onPremade(cocos2d::CCObject* sender); - - TodoReturn updateMode(int); - - virtual void updateDefaultTriggerValues() = mac 0x2e63b0; - virtual TodoReturn valueDidChange(int, float) = mac 0x2e64f0; - virtual void selectPremadeClosed(SelectPremadeLayer*, int) = mac 0x2e6980; -} - -[[link(android)]] -class SetupAnimationPopup : SetupTriggerPopup { - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupAnimationPopup(); - - void onTargetIDArrow(cocos2d::CCObject* sender); - void onAnimationIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x3b42b0; - - TodoReturn updateTargetID(); - TodoReturn updateAnimationID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateAnimationTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x3b3e90; - virtual void textChanged(CCTextInputNode*) = mac 0x3b40c0; -} - -[[link(android)]] -class SetupArtSwitchPopup : SetupTriggerPopup, SelectArtDelegate { - static SetupArtSwitchPopup* create(ArtTriggerGameObject*, cocos2d::CCArray*, int); - - bool init(ArtTriggerGameObject*, cocos2d::CCArray*, int); - ~SetupArtSwitchPopup(); - - void onArt(cocos2d::CCObject* sender); - - virtual void selectArtClosed(SelectArtLayer*) = mac 0x551000; -} - -[[link(android)]] -class SetupBGSpeedTrigger : SetupTriggerPopup { - static SetupBGSpeedTrigger* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); - ~SetupBGSpeedTrigger(); -} - -[[link(android)]] -class SetupEventLinkPopup : SetupTriggerPopup { - static SetupEventLinkPopup* create(EventLinkTrigger*, cocos2d::CCArray*); - - bool init(EventLinkTrigger*, cocos2d::CCArray*); - ~SetupEventLinkPopup(); - - void onSelectEvent(cocos2d::CCObject* sender); - - TodoReturn updateEventIDs(gd::set&); -} - -[[link(android)]] -class SetupTransformPopup : SetupTriggerPopup { - static SetupTransformPopup* create(TransformTriggerGameObject*, cocos2d::CCArray*); - - bool init(TransformTriggerGameObject*, cocos2d::CCArray*); - ~SetupTransformPopup(); -} - -[[link(android)]] -class AccountRegisterLayer : FLAlertLayer, TextInputDelegate, GJAccountRegisterDelegate, FLAlertLayerProtocol { - static AccountRegisterLayer* create(); - - ~AccountRegisterLayer(); - - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - - TodoReturn resetLabel(int); - TodoReturn validEmail(gd::string); - TodoReturn resetLabels(); - TodoReturn updateLabel(AccountError); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void showLoadingUI(); - TodoReturn validPassword(gd::string); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn toggleUI(bool); - TodoReturn validUser(gd::string); - - virtual bool init() = mac 0x471180; - virtual void registerWithTouchDispatcher() = mac 0x473c90; - virtual void keyBackClicked() = mac 0x473ac0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x473610; - virtual void textInputOpened(CCTextInputNode*) = mac 0x4746a0; - virtual void textInputClosed(CCTextInputNode*) = mac 0x473cd0; - virtual void textChanged(CCTextInputNode*) = mac 0x4746c0; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x4746e0; - virtual void textInputReturn(CCTextInputNode*) = mac 0x4747a0; - virtual bool allowTextInput(CCTextInputNode*) = mac 0x474850; - virtual TodoReturn registerAccountFinished() = mac 0x472e80; - virtual TodoReturn registerAccountFailed(AccountError) = mac 0x473010; -} - - - -[[link(android)]] -class CommunityCreditsPage : FLAlertLayer { - static CommunityCreditsPage* create(); - - ~CommunityCreditsPage(); - - void onSwitchPage(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - - virtual bool init() = mac 0x2faf40; - virtual void registerWithTouchDispatcher() = mac 0x2fe2d0; - virtual void keyBackClicked() = mac 0x2fe260; - virtual void show() = mac 0x2fe0d0; -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate, ColorSelectDelegate, ColorSetupDelegate { - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*) = mac 0x1d4180; - ~CustomizeObjectLayer(); - - int getActiveMode(bool) = mac 0x1d73f0; - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - - void onLiveEdit(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onBreakApart(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender) = mac 0x1d6550; - void onSelectColor(cocos2d::CCObject* sender) = mac 0x1d6ac0; - void onNextColorChannel(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender) = mac 0x1d6b70; - void onHSV(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onBrowse(cocos2d::CCObject* sender); - - TodoReturn recreateLayer(); - TodoReturn sliderChanged(cocos2d::CCObject*); - void toggleVisible() = mac 0x1d8230; - void updateSelected(int) = mac 0x1d7b80; - TodoReturn updateHSVButtons(); - void highlightSelected(ButtonSprite*) = mac 0x1d7d10; - void updateColorSprite() = mac 0x1d75c0; - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn updateChannelLabel(int); - TodoReturn updateKerningLabel(); - TodoReturn determineStartValues(); - TodoReturn updateCurrentSelection(); - void updateCustomColorLabels() = mac 0x1d6c40; - - virtual void keyBackClicked() = mac 0x1d8750; - virtual void textInputOpened(CCTextInputNode*) = mac 0x1d8390; - virtual void textInputClosed(CCTextInputNode*) = mac 0x1d84c0; - virtual void textChanged(CCTextInputNode*) = mac 0x1d8500; - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::_ccHSVValue) = mac 0x1d8140; - virtual void colorSelectClosed(cocos2d::CCNode*) = mac 0x1d7ee0; - virtual void colorSetupClosed(int) = mac 0x1d7a70; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_colorButtons; - cocos2d::CCArray* m_colorTabNodes; - cocos2d::CCArray* m_textTabNodes; - cocos2d::CCArray* m_unkArray; - cocos2d::CCArray* m_detailTabNodes; - int m_selectedMode; - int m_customColorChannel; - bool m_unk0x200; - bool m_unk0x201; - bool m_glowDisabled; - CCMenuItemSpriteExtra* m_baseButton; - CCMenuItemSpriteExtra* m_detailButton; - CCMenuItemSpriteExtra* m_textButton; - CCMenuItemSpriteExtra* m_baseColorHSV; - CCMenuItemSpriteExtra* m_detailColorHSV; - cocos2d::CCLabelBMFont* m_titleLabel; - cocos2d::CCLabelBMFont* m_selectedColorLabel; - CCTextInputNode* m_customColorInput; - CCTextInputNode* m_textInput; - int m_kerningAmount; - cocos2d::CCLabelBMFont* m_kerningLabel; - Slider* m_kerningSlider; - ButtonSprite* m_customColorButtonSprite; - CCMenuItemSpriteExtra* m_customColorButton; - CCMenuItemSpriteExtra* m_arrowDown; - CCMenuItemSpriteExtra* m_arrowUp; - cocos2d::extension::CCScale9Sprite* m_customColorInputBG; - ColorChannelSprite* m_colorSprite; - CCMenuItemSpriteExtra* m_colorSpriteButton; - CCMenuItemSpriteExtra* m_liveSelectButton; - bool m_showTextInput; - bool m_customColorSelected; -} - -[[link(android)]] -class GJFollowCommandLayer : SetupTriggerPopup { - static GJFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~GJFollowCommandLayer(); - - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x2b1d30; - - TodoReturn updateXMod(); - TodoReturn updateYMod(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateXModLabel(); - TodoReturn updateYModLabel(); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues() = mac 0x2b1160; - virtual void textChanged(CCTextInputNode*) = mac 0x2b1770; -} - -[[link(android)]] -class GJMultiplayerManager : cocos2d::CCNode { - ~GJMultiplayerManager(); - - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getBasePostString(); - TodoReturn getLastCommentIDForGame(int); - - TodoReturn onExitLobbyCompleted(gd::string, gd::string); - TodoReturn onJoinLobbyCompleted(gd::string, gd::string) = mac 0x61cf30; - TodoReturn onUploadCommentCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - - TodoReturn addComment(gd::string, int) = mac 0x61e550; - void dataLoaded(DS_Dictionary*); - void firstSetup(); - void handleItND(cocos2d::CCNode*, void*); - /* unverified signature */ - bool isDLActive(char const*); - TodoReturn sharedState(); - void encodeDataTo(DS_Dictionary*); - void addDLToActive(char const*); - void addDLToActive(char const*, cocos2d::CCObject*); - void uploadComment(gd::string, int); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void removeDLFromActive(char const*); - TodoReturn createAndAddComment(gd::string, int); - void handleIt(bool, gd::string, gd::string, GJHttpType); - TodoReturn exitLobby(int); - TodoReturn joinLobby(int); - - virtual bool init() = mac 0x61da60; -} - -[[link(android)]] -class GJRotateCommandLayer : SetupTriggerPopup { - static GJRotateCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~GJRotateCommandLayer(); - - void onEasingRate(cocos2d::CCObject* sender); - void onLockRotation(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onFollowRotation(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x8ab0; - void onEasing(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTimesLabel(); - TodoReturn updateEasingLabel(); - TodoReturn sliderTimesChanged(cocos2d::CCObject*); - TodoReturn updateCommandTimes(); - TodoReturn updateDegreesLabel(); - TodoReturn updateTargetGroupID(); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn updateCommandDegrees(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateMoveCommandEasing(); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues() = mac 0x7b60; - virtual void textChanged(CCTextInputNode*) = mac 0x8510; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = mac 0x8080; -} - - -[[link(android)]] -class MusicBrowserDelegate { - virtual void musicBrowserClosed(MusicBrowser*); -} - -[[link(android)]] -class MusicDelegateHandler : cocos2d::CCNode { - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - bool init(MusicDownloadDelegate*); - ~MusicDelegateHandler(); -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - ~MusicDownloadManager(); - - TodoReturn getAllSongs(); - cocos2d::CCObject* getDLObject(char const*); - void getSongInfo(int, bool) = mac 0x556950; - TodoReturn getSFXObject(int); - TodoReturn getMusicObject(int); - TodoReturn getSongInfoKey(int); - TodoReturn getAllMusicTags(OptionsObjectDelegate*); - TodoReturn getSongPriority(); - TodoReturn getAllSFXObjects(bool); - TodoReturn getSFXDownloadKey(int); - SongInfoObject* getSongInfoObject(int) = mac 0x556810; - TodoReturn getAllMusicArtists(OptionsObjectDelegate*); - TodoReturn getAllMusicObjects(); - TodoReturn getDownloadedSongs(); - TodoReturn getSongDownloadKey(int); - void getCustomContentURL(); - TodoReturn getDownloadProgress(int); - TodoReturn getMusicArtistForID(int); - TodoReturn getSFXFolderPathForID(int, bool); - TodoReturn getSFXDownloadProgress(int); - TodoReturn getSFXFolderObjectForID(int); - - void onDownloadSFXCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onGetSongInfoCompleted(gd::string, gd::string); - void onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = mac 0x558f70; - void onDownloadSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onGetCustomContentURLCompleted(gd::string, gd::string); - void onTryUpdateSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onTryUpdateMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - - void dataLoaded(DS_Dictionary*) = mac 0x55a150; - void deleteSong(int) = mac 0x5585a0; - void firstSetup(); - void handleItND(cocos2d::CCNode*, void*); - /* unverified signature */ - bool isDLActive(char const*) = mac 0x5565e0; - gd::string pathForSFX(int sfxID) = mac 0x559cb0, win 0x27f630; - TodoReturn downloadSFX(int); - gd::string pathForSong(int songID) = mac 0x5586d0, win 0x27f2c0; - static MusicDownloadManager* sharedState() = win 0x27d490, mac 0x5552f0; - void downloadSong(int songID) = mac 0x558880; - void encodeDataTo(DS_Dictionary*); - TodoReturn nameForTagID(int); - TodoReturn stopDownload(int); - void addDLToActive(char const*); - void addDLToActive(char const*, cocos2d::CCObject*) = mac 0x559210; - /* unverified signature */ - bool isResourceSFX(int); - /* unverified signature */ - bool isResourceSong(int); - static cocos2d::CCDictionary* responseToDict(gd::string, char const*) = mac 0x556fb0; - void createSongsInfo(gd::string) = mac 0x557a60; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - /* unverified signature */ - bool isSFXDownloaded(int sfxID) = mac 0x559880; - TodoReturn parseSFXLibrary(); - TodoReturn clearUnusedSongs(); - TodoReturn filterMusicByTag(int, cocos2d::CCArray*); - /* unverified signature */ - bool isSongDownloaded(int) = mac 0x558160, win 0x27f020; - gd::string pathForSFXFolder(int) = mac 0x559d70, win 0x27f490; - void songStateChanged() = win 0x27dd40; - TodoReturn storeMusicObject(SongInfoObject*); - TodoReturn tryLoadLibraries(); - void downloadSFXFailed(int, GJSongError); - void musicActionFailed(GJMusicAction); - TodoReturn parseMusicLibrary(); - gd::string pathForSongFolder(int) = mac 0x559640, win 0x27f120; - void downloadCustomSong(int) = mac 0x558d00; - TodoReturn downloadSFXLibrary(); - void downloadSongFailed(int, GJSongError); - /* unverified signature */ - bool isSFXLibraryLoaded(); - void loadSongInfoFailed(int, GJSongError); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void removeDLFromActive(char const*) = mac 0x5566b0; - TodoReturn storeSFXInfoObject(SFXInfoObject*); - void downloadSFXFinished(int); - void musicActionFinished(GJMusicAction); - TodoReturn tryUpdateSFXLibrary(); - TodoReturn downloadMusicLibrary(); - void downloadSongFinished(int); - /* unverified signature */ - bool isMusicLibraryLoaded(); - void limitDownloadedSongs() = mac 0x558460; - void loadSongInfoFinished(SongInfoObject*); - TodoReturn filterMusicByArtistID(int, cocos2d::CCArray*); - void ProcessHttpGetRequest(gd::string, gd::string, cocos2d::extension::SEL_HttpResponse, int, int); - TodoReturn tryUpdateMusicLibrary(); - TodoReturn addSongObjectFromString(gd::string) = mac 0x556e20; - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*) = mac 0x556340; - TodoReturn generateCustomContentURL(gd::string); - TodoReturn incrementPriorityForSong(int); - /* unverified signature */ - bool isRunningActionForSongID(int) = mac 0x5564c0; - TodoReturn generateResourceAssetList(); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - void showTOS(FLAlertLayerProtocol*) = mac 0x559fb0; - void handleIt(bool, gd::string, gd::string, GJHttpType); - TodoReturn clearSong(int); - TodoReturn deleteSFX(int); - - virtual bool init() = mac 0x556190; - - cocos2d::CCDictionary* m_activeDownloads; - cocos2d::CCArray* m_musicDownloadDelegates; - cocos2d::CCDictionary* m_songObjects; - cocos2d::CCDictionary* m_MDLM003; - int m_songPriority; - gd::string m_customContentURL; - cocos2d::CCDictionary* m_sfxObjects; - cocos2d::CCArray* m_sfxArtists; - int m_sfxLibraryVersion; - int m_sfxObjectCount; - bool m_requestedSfxLibraryDownloaded; - cocos2d::CCDictionary* m_musicObjects; - cocos2d::CCDictionary* m_musicArtists; - gd::map m_musicTags; - int m_musicLibraryVersion; - int m_musicObjectCount; - bool m_requestedMusicLibraryDownloaded; - bool m_triedToLoadLibraries; - bool m_unkBool; - gd::unordered_set m_resourceSfxUnorderedSet; - gd::unordered_set m_resourceSongUnorderedSet; -} - -[[link(android)]] -class ParentalOptionsLayer : FLAlertLayer { - static ParentalOptionsLayer* create(); - - ~ParentalOptionsLayer(); - - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn countForPage(int); - TodoReturn layerForPage(int); - TodoReturn nextPosition(int); - TodoReturn objectsForPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn pageKey(int); - void goToPage(int); - TodoReturn layerKey(int); - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn objectKey(int); - - virtual bool init() = mac 0x764f10; - virtual void keyBackClicked() = mac 0x766640; -} - -[[link(android)]] -class ParticlePreviewLayer : cocos2d::CCLayerColor { - static ParticlePreviewLayer* create(cocos2d::CCParticleSystemQuad*); - - bool init(cocos2d::CCParticleSystemQuad*); - ~ParticlePreviewLayer(); - - TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - TodoReturn postVisit(); - - virtual void draw() = mac 0x455300; - virtual void visit() = mac 0x455180; -} - - -[[link(android)]] -class SetupCameraEdgePopup : SetupTriggerPopup { - static SetupCameraEdgePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - ~SetupCameraEdgePopup(); - - void onCameraEdge(cocos2d::CCObject* sender); - void onUnlockEdge(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x554ce0; - - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x554a40; - virtual void textChanged(CCTextInputNode*) = mac 0x554bd0; -} - -[[link(android)]] -class SetupCameraModePopup : SetupTriggerPopup { - static SetupCameraModePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCameraModePopup(); - - void onUnboundMode(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x485e40; - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraPadding(); - TodoReturn updateItemVisibility(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPaddingLabel(); - - virtual TodoReturn determineStartValues() = mac 0x485b50; -} - -[[link(android)]] -class SetupCheckpointPopup : SetupTriggerPopup { - static SetupCheckpointPopup* create(CheckpointGameObject*, cocos2d::CCArray*); - - bool init(CheckpointGameObject*, cocos2d::CCArray*); - ~SetupCheckpointPopup(); -} - -[[link(android)]] -class SetupForceBlockPopup : SetupTriggerPopup { - static SetupForceBlockPopup* create(ForceBlockGameObject*, cocos2d::CCArray*); - - bool init(ForceBlockGameObject*, cocos2d::CCArray*); - ~SetupForceBlockPopup(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x550730; -} - -[[link(android)]] -class SetupGravityModPopup : FLAlertLayer, TextInputDelegate { - static SetupGravityModPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - ~SetupGravityModPopup(); - - void onItemIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateValue(); - TodoReturn updateItemID(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateValueLabel(); - TodoReturn determineStartValues(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = mac 0x3b7be0; - virtual void show() = mac 0x3b7b80; - virtual void textInputClosed(CCTextInputNode*) = mac 0x3b7a40; - virtual void textChanged(CCTextInputNode*) = mac 0x3b7a80; -} - -[[link(android)]] -class SetupSmartBlockLayer : FLAlertLayer, TextInputDelegate, SelectArtDelegate { - static SetupSmartBlockLayer* create(SmartGameObject*, cocos2d::CCArray*); - - bool init(SmartGameObject*, cocos2d::CCArray*); - ~SetupSmartBlockLayer(); - - void onCreateAll(cocos2d::CCObject* sender); - void onDontDelete(cocos2d::CCObject* sender); - void onAllowFlipping(cocos2d::CCObject* sender); - void onAllowRotation(cocos2d::CCObject* sender); - void onIgnoreCorners(cocos2d::CCObject* sender); - void onPasteTemplate(cocos2d::CCObject* sender); - void onReferenceOnly(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onSelectTemplate(cocos2d::CCObject* sender); - void onNearbyReference(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCreate(cocos2d::CCObject* sender); - - TodoReturn determineStartValues(); - - virtual void keyBackClicked() = mac 0x4c3160; - virtual void show() = mac 0x4c30d0; - virtual void selectArtClosed(SelectArtLayer*) = mac 0x4c3130; -} - -[[link(android)]] -class SongPlaybackDelegate { - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - static CreateGuidelinesLayer* create(CustomSongDelegate*, AudioGuidelinesType); - - bool init(CustomSongDelegate*, AudioGuidelinesType); - ~CreateGuidelinesLayer(); - - TodoReturn getMergedRecordString(gd::string, gd::string); - - void onClearGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender) = mac 0x4e5010; - void onStop(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x4e5190; - void onRecord(cocos2d::CCObject* sender) = mac 0x4e46c0; - - TodoReturn toggleItems(bool); - TodoReturn doClearGuidelines(); - - virtual void update(float) = mac 0x4e4ff0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4e5260; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4e5350; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4e5370; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4e5410; - virtual void registerWithTouchDispatcher() = mac 0x4e5450; - virtual void keyBackClicked() = mac 0x4e51c0; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x4e5490; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x4e50c0; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x4e54e0; - virtual TodoReturn playMusic() = mac 0x4e47d0; - virtual TodoReturn registerTouch() = mac 0x4e5210; - virtual TodoReturn recordingDidStop() = mac 0x4e4860; -} - -[[link(android)]] -class FriendRequestDelegate { - void setupPageInfo(gd::string, char const*); - - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class GameObjectEditorState { - TodoReturn loadValues(GameObject*); -} - -[[link(android)]] -class GJLocalLevelScoreCell : TableViewCell { - ~GJLocalLevelScoreCell(); - - void loadFromScore(GJLocalScore*) = mac 0x229fc0, win 0x87120; - void updateBGColor(int) = win 0x873B0; - GJLocalLevelScoreCell(char const*, float, float); - - virtual bool init() = mac 0x233e40; - virtual void draw() = mac 0x233e60; -} - -[[link(android)]] -class GJPFollowCommandLayer : SetupTriggerPopup { - static GJPFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~GJPFollowCommandLayer(); - - void onUpdateGroupID(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x3461d0; - - TodoReturn updateXMod(); - TodoReturn updateYMod(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateMaxSpeed(); - TodoReturn updateXModLabel(); - TodoReturn updateYModLabel(); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateOffsetLabel(); - TodoReturn updatePlayerOffset(); - TodoReturn updateMaxSpeedLabel(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x345440; - virtual void textChanged(CCTextInputNode*) = mac 0x345a60; -} - - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer, TextInputDelegate { - static MoreVideoOptionsLayer* create(); - - ~MoreVideoOptionsLayer(); - - void onApplyFPS(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - - TodoReturn countForPage(int); - TodoReturn layerForPage(int); - TodoReturn nextPosition(int); - TodoReturn objectsForPage(int); - void updateFPSButtons() = win 0x2b2130; - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn pageKey(int); - void goToPage(int); - TodoReturn layerKey(int); - void addToggle(char const*, char const*, char const*); - TodoReturn objectKey(int); - - virtual bool init() = win 0x2b0540, mac 0x762a30; - virtual void keyBackClicked() = mac 0x764ae0; -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class OptionsObjectDelegate { - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class PlayerFireBoostSprite : cocos2d::CCSprite { - static PlayerFireBoostSprite* create() = mac 0x3dd7e0; - - ~PlayerFireBoostSprite(); - - void animateFireIn() { - this->stopAllActions(); - - auto scaleto = cocos2d::CCScaleTo::create(0.06f, m_someFloat * 0.6f, m_someFloat * 1.5f); - auto callfunc = cocos2d::CCCallFunc::create(this, callfunc_selector(PlayerFireBoostSprite::loopFireAnimation)); - auto sequence = cocos2d::CCSequence::create(scaleto, callfunc, nullptr); - this->runAction(sequence); - } - void animateFireOut() { - this->stopAllActions(); - auto action = cocos2d::CCScaleTo::create(0.4f, 0.01f, 0.01f); - this->runAction(action); - } - TodoReturn loopFireAnimation() = mac 0x3f8530; - - virtual bool init() = mac 0x3fd6c0; - - float m_someFloat; -} - -[[link(android)]] -class RewardedVideoDelegate { - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); -} - -[[link(android)]] -class SelectPremadeDelegate { - virtual void selectPremadeClosed(SelectPremadeLayer*, int); -} - - -[[link(android)]] -class SelectSFXSortDelegate { - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); -} - -[[link(android)]] -class SetupAreaTriggerPopup : SetupAreaMoveTriggerPopup { - static SetupAreaTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaTriggerPopup(); -} - -[[link(android)]] -class SetupCameraGuidePopup : SetupTriggerPopup { - static SetupCameraGuidePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - ~SetupCameraGuidePopup(); -} - -[[link(android)]] -class SetupEnterEffectPopup : SetupTriggerPopup, HSVWidgetDelegate { - static SetupEnterEffectPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - ~SetupEnterEffectPopup(); - - void onEnterType(cocos2d::CCObject* sender); - void onNextFreeEnterChannel(cocos2d::CCObject* sender); - void onNextFreeEnterEffectID(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x3d4f20; - - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues() = mac 0x3d4b00; - virtual TodoReturn updateInputValue(int, float&) = mac 0x3d50c0; - virtual TodoReturn updateInputNode(int, float) = mac 0x3d5090; - virtual TodoReturn valueDidChange(int, float) = mac 0x3d4cc0; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0x3d5020; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0x3d5060; - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::_ccHSVValue) = mac 0x3d4d90; -} - -[[link(android)]] -class SetupMoveCommandPopup : SetupTriggerPopup { - static SetupMoveCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupMoveCommandPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x5cd6d0; - - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputValue(int, float&) = mac 0x5cd490; - virtual TodoReturn updateInputNode(int, float) = mac 0x5cd450; - virtual TodoReturn valueDidChange(int, float) = mac 0x5cd4d0; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0x5cd370; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0x5cd3c0; -} - -[[link(android)]] -class SetupRandTriggerPopup : SetupTriggerPopup { - static SetupRandTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupRandTriggerPopup(); - - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x5ab930; - - TodoReturn updateChance(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTargetID(); - TodoReturn updateTargetID2(); - TodoReturn updateChanceLabel(bool); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues() = mac 0x5ab350; - virtual void textChanged(CCTextInputNode*) = mac 0x5ab640; -} - -[[link(android)]] -class SetupSongTriggerPopup : SetupAudioTriggerPopup, MusicDownloadDelegate, SongPlaybackDelegate { - static SetupSongTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupSongTriggerPopup(); - - void onResetSongTime(cocos2d::CCObject* sender); - void onSavePlaybackPos(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x2ae810; - - TodoReturn updateLength(); - TodoReturn updateApplyPrepare(bool); - TodoReturn updateSongTimeSlider(); - - virtual TodoReturn pageChanged() = mac 0x2ae780; - virtual TodoReturn valueDidChange(int, float) = mac 0x2ae680; - virtual TodoReturn onPlayback(SongInfoObject*) = win 0x356930, mac 0x2ae450; -} - -[[link(android)]] -class SetupStopTriggerPopup : SetupTriggerPopup { - static SetupStopTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupStopTriggerPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x551990; - void onClose(cocos2d::CCObject* sender) = mac 0x551a00; -} - -[[link(android)]] -class SetupTouchTogglePopup : SetupTriggerPopup { - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupTouchTogglePopup(); - - void onHoldMode(cocos2d::CCObject* sender); - void onTouchMode(cocos2d::CCObject* sender); - void onControlMode(cocos2d::CCObject* sender); - void onDualTouchMode(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x294270; - - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x293f30; - virtual void textChanged(CCTextInputNode*) = mac 0x294150; -} - -[[link(android)]] -class SetupZoomTriggerPopup : SetupTriggerPopup { - static SetupZoomTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupZoomTriggerPopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x2fea60; - - virtual TodoReturn determineStartValues() = mac 0x2fea50; -} - -[[link(android)]] -class UIObjectSettingsPopup : SetupTriggerPopup { - static UIObjectSettingsPopup* create(UISettingsGameObject*, cocos2d::CCArray*); - - bool init(UISettingsGameObject*, cocos2d::CCArray*); - ~UIObjectSettingsPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x548b40; -} - -[[link(android)]] -class UploadMessageDelegate { - virtual void uploadMessageFinished(int); - virtual void uploadMessageFailed(int); -} - - - -[[link(android)]] -class DemonFilterSelectLayer : FLAlertLayer { - static DemonFilterSelectLayer* create(); - - ~DemonFilterSelectLayer(); - - void onClose(cocos2d::CCObject* sender); - - TodoReturn selectRating(cocos2d::CCObject*); - - virtual bool init() = mac 0x5f3710; - virtual void keyBackClicked() = mac 0x5f3d00; -} - -[[link(android)]] -class GJAccountSettingsLayer : FLAlertLayer, TextInputDelegate { - static GJAccountSettingsLayer* create(int) = mac 0x27cea0, win 0x2039D0; - - bool init(int) = mac 0x27d020, win 0x203A70; - ~GJAccountSettingsLayer(); - - void onCommentSetting(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x27eac0; - void onUpdate(cocos2d::CCObject* sender); - - TodoReturn updateScoreValues(); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float) = mac 0x27e750; - - virtual void keyBackClicked() = mac 0x27f320; - virtual void textInputShouldOffset(CCTextInputNode*, float) = mac 0x27ee30; - virtual void textInputReturn(CCTextInputNode*) = mac 0x27eef0; -} - - - -[[link(android)]] -class SelectListIconDelegate { - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); -} - -[[link(android)]] -class SetupAnimSettingsPopup : SetupTriggerPopup { - static SetupAnimSettingsPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupAnimSettingsPopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x95300; - - TodoReturn updateAnimSettings(); -} - -[[link(android)]] -class SetupAudioTriggerPopup : SetupTriggerPopup { - ~SetupAudioTriggerPopup(); - - void onProxMode(cocos2d::CCObject* sender); - - TodoReturn addTimeControls(int, float); - TodoReturn addProxVolControls(int); - TodoReturn updateSpecialGroup(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x4932c0; -} - -[[link(android)]] -class SetupCameraRotatePopup : SetupTriggerPopup { - static SetupCameraRotatePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCameraRotatePopup(); - - void onEasingRate(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x499d90; - void onEasing(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateDegreesLabel(); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn updateCommandDegrees(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues() = mac 0x4995d0; - virtual void textChanged(CCTextInputNode*) = mac 0x499b20; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = mac 0x499850; -} - -[[link(android)]] -class SetupCountTriggerPopup : SetupTriggerPopup { - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCountTriggerPopup(); - - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x296ec0; - - TodoReturn updateItemID(); - TodoReturn updateTargetID(); - TodoReturn updateTargetCount(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetIDInputLabel(); - TodoReturn updateCountTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x296930; - virtual void textChanged(CCTextInputNode*) = mac 0x296c60; -} - -[[link(android)]] -class SetupEnterTriggerPopup : SetupTriggerPopup { - static SetupEnterTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupEnterTriggerPopup(); - - void onEnterType(cocos2d::CCObject* sender); - - virtual TodoReturn determineStartValues() = mac 0x279480; -} - -[[link(android)]] -class SetupInstantCountPopup : SetupTriggerPopup { - static SetupInstantCountPopup* create(CountTriggerGameObject*, cocos2d::CCArray*); - - bool init(CountTriggerGameObject*, cocos2d::CCArray*); - ~SetupInstantCountPopup(); - - void onCountType(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x5af240; - - TodoReturn updateItemID(); - TodoReturn updateTargetID(); - TodoReturn updateTargetCount(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetIDInputLabel(); - TodoReturn updateCountTextInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x5aec10; - virtual void textChanged(CCTextInputNode*) = mac 0x5aef50; -} - -[[link(android)]] -class SetupKeyframeAnimPopup : SetupTriggerPopup { - static SetupKeyframeAnimPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupKeyframeAnimPopup(); -} - -[[link(android)]] -class SetupObjectTogglePopup : SetupTriggerPopup { - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - ~SetupObjectTogglePopup(); - - void onClose(cocos2d::CCObject* sender) = mac 0x354710; - - virtual TodoReturn valueDidChange(int, float) = mac 0x354690; -} - -[[link(android)]] -class SetupResetTriggerPopup : SetupTriggerPopup { - static SetupResetTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupResetTriggerPopup(); -} - -[[link(android)]] -class SetupShaderEffectPopup : SetupTriggerPopup { - static SetupShaderEffectPopup* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); - ~SetupShaderEffectPopup(); - - void onResetColors(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x2aa8b0; - void onZLayer(cocos2d::CCObject* sender); - - TodoReturn setupBulge(); - TodoReturn setupPinch(); - TodoReturn setupSepia(); - TodoReturn setupGlitch(); - TodoReturn setupHueShift(); - TodoReturn setupPixelate(); - TodoReturn setupChromatic(); - TodoReturn setupGrayscale(); - TodoReturn setupShockLine(); - TodoReturn setupShockWave(); - TodoReturn zLayerToString(int); - TodoReturn setupLensCircle(); - TodoReturn setupMotionBlur(); - TodoReturn setupRadialBlur(); - TodoReturn setupColorChange(); - TodoReturn setupInvertColor(); - TodoReturn setupSplitScreen(); - TodoReturn setupShaderTrigger(); - TodoReturn updateZLayerButtons(); - TodoReturn setupChromaticGlitch(); - - virtual TodoReturn toggleGroup(int, bool) = mac 0x2aa870; - virtual void updateDefaultTriggerValues() = mac 0x2aa010; - virtual TodoReturn valueDidChange(int, float) = mac 0x2aa550; -} - -[[link(android)]] -class SetupStaticCameraPopup : SetupTriggerPopup { - static SetupStaticCameraPopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - ~SetupStaticCameraPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x3799a0; - - TodoReturn updateState(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x379910; -} - -[[link(android)]] -class SetupTimerTriggerPopup : SetupTriggerPopup { - static SetupTimerTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - ~SetupTimerTriggerPopup(); -} - -[[link(android)]] -class SpriteAnimationManager : cocos2d::CCNode { - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - ~SpriteAnimationManager(); - - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - - TodoReturn overridePrio() = win 0x4f540; - TodoReturn runAnimation(gd::string) = mac 0x6e69b0; - TodoReturn loadAnimations(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn stopAnimations() = mac 0x6e74f0; - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn createAnimations(gd::string); - TodoReturn executeAnimation(gd::string); - TodoReturn animationFinished(); - TodoReturn runQueuedAnimation(); - TodoReturn updateAnimationSpeed(float); - TodoReturn callAnimationFinished(); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn offsetCurrentAnimation(float) = mac 0x6e7890; - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn switchToFirstFrameOfAnimation(gd::string); - TodoReturn doCleanup(); - TodoReturn playSound(gd::string); -} - - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class SetupCameraRotatePopup2 : SetupTriggerPopup { - static SetupCameraRotatePopup2* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCameraRotatePopup2(); -} - -[[link(android)]] -class SetupObjectControlPopup : SetupTriggerPopup { - static SetupObjectControlPopup* create(ObjectControlGameObject*, cocos2d::CCArray*); - - bool init(ObjectControlGameObject*, cocos2d::CCArray*); - ~SetupObjectControlPopup(); -} - -[[link(android)]] -class SetupObjectOptionsPopup : FLAlertLayer, TextInputDelegate { - static SetupObjectOptionsPopup* create(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - - bool init(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - ~SetupObjectOptionsPopup(); - - void onDontFade(cocos2d::CCObject* sender); - void onIceBlock(cocos2d::CCObject* sender); - void onPassable(cocos2d::CCObject* sender); - void onDontBoost(cocos2d::CCObject* sender); - void onDontEnter(cocos2d::CCObject* sender); - void onGripSlope(cocos2d::CCObject* sender); - void onNonStickX(cocos2d::CCObject* sender); - void onNonStickY(cocos2d::CCObject* sender); - void onAlwaysHide(cocos2d::CCObject* sender); - void onDontBoostX(cocos2d::CCObject* sender); - void onHighDetail(cocos2d::CCObject* sender); - void onNoParticle(cocos2d::CCObject* sender); - void onDisableGlow(cocos2d::CCObject* sender); - void onExtraSticky(cocos2d::CCObject* sender); - void onHideEffects(cocos2d::CCObject* sender); - void onCenterEffect(cocos2d::CCObject* sender); - void onNoAudioScale(cocos2d::CCObject* sender); - void onDisableObject(cocos2d::CCObject* sender); - void onApplyScaleStick(cocos2d::CCObject* sender); - void onToggleAreaParent(cocos2d::CCObject* sender); - void onExtendedCollision(cocos2d::CCObject* sender); - void onSinglePlayerTouch(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x2f77e0; - void onReverse(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x2f7740; - virtual void show() = mac 0x2f7780; - virtual TodoReturn determineStartValues() = mac 0x2f7330; -} - -[[link(android)]] -class SetupPickupTriggerPopup : SetupTriggerPopup { - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupPickupTriggerPopup(); - - void onPlusButton(cocos2d::CCObject* sender) = mac 0x5c4f0; - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x5c530; - - TodoReturn updateState(); -} - -[[link(android)]] -class SetupPlatformerEndPopup : SetupTriggerPopup { - static SetupPlatformerEndPopup* create(EndTriggerGameObject*, cocos2d::CCArray*); - - bool init(EndTriggerGameObject*, cocos2d::CCArray*); - ~SetupPlatformerEndPopup(); -} - -[[link(android)]] -class SetupPlayerControlPopup : SetupTriggerPopup { - static SetupPlayerControlPopup* create(PlayerControlGameObject*, cocos2d::CCArray*); - - bool init(PlayerControlGameObject*, cocos2d::CCArray*); - ~SetupPlayerControlPopup(); -} - -[[link(android)]] -class SetupRotateCommandPopup : SetupTriggerPopup { - static SetupRotateCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupRotateCommandPopup(); - - void onInfiniteDuration(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0xa650; - - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputNode(int, float) = mac 0xa300; - virtual TodoReturn valueDidChange(int, float) = mac 0xa310; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0xa2b0; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0xa2f0; -} - -[[link(android)]] -class SetupSmartTemplateLayer : FLAlertLayer, TextInputDelegate, FLAlertLayerProtocol { - static SetupSmartTemplateLayer* create(GJSmartTemplate*) = mac 0x4c3540; - - bool init(GJSmartTemplate*) = mac 0x4c36a0; - ~SetupSmartTemplateLayer(); - - void onBack(cocos2d::CCObject* sender) = mac 0x4c3f90; - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x4c45f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x4c4300; - virtual void textInputOpened(CCTextInputNode*) = mac 0x4c4510; - virtual void textInputClosed(CCTextInputNode*) = mac 0x4c43e0; - virtual void textChanged(CCTextInputNode*) = mac 0x4c45d0; -} - -[[link(android)]] -class SetupSpawnParticlePopup : SetupTriggerPopup { - static SetupSpawnParticlePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupSpawnParticlePopup(); -} - -[[link(android)]] -class ShareLevelSettingsLayer : FLAlertLayer, NumberInputDelegate { - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - ~ShareLevelSettingsLayer(); - - void onCopyable(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onUnlistedFriendsOnly(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn updateSettingsState(); - - virtual void keyBackClicked(); - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class BrowseSmartTemplateLayer : FLAlertLayer { - static BrowseSmartTemplateLayer* create(GJSmartTemplate*, SmartBrowseFilter); - - bool init(GJSmartTemplate*, SmartBrowseFilter); - ~BrowseSmartTemplateLayer(); - - void onTemplateObject(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender) = mac 0x4c6290; - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - TodoReturn createDots(); - TodoReturn updateDots(); - TodoReturn createPrefab(gd::string, int); - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addPrefabMenuItem(SmartPrefabResult, int); - void goToPage(int); - TodoReturn baseSetup(); - - virtual void keyBackClicked() = mac 0x4c6250; -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual TodoReturn downloadFinished(char const*); - virtual TodoReturn downloadFailed(char const*); -} - -[[link(android)]] -class SetupAudioLineGuidePopup : SetupTriggerPopup, SelectSettingDelegate { - static SetupAudioLineGuidePopup* create(AudioLineGuideGameObject*, cocos2d::CCArray*); - - bool init(AudioLineGuideGameObject*, cocos2d::CCArray*); - ~SetupAudioLineGuidePopup(); - - void onSpeed(cocos2d::CCObject* sender); - - virtual TodoReturn selectSettingClosed(SelectSettingLayer*) = mac 0x54f530; -} - -[[link(android)]] -class SetupCameraOffsetTrigger : SetupTriggerPopup { - static SetupCameraOffsetTrigger* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - ~SetupCameraOffsetTrigger(); - - void onEasingRate(cocos2d::CCObject* sender); - void onTargetMode(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x627640; - void onEasing(cocos2d::CCObject* sender); - - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - TodoReturn posFromSliderValue(float); - TodoReturn sliderValueFromPos(int); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateMoveCommandEasing(); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues() = mac 0x626b10; - virtual void textChanged(CCTextInputNode*) = mac 0x627310; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = mac 0x626ee0; -} - -[[link(android)]] -class SetupGameplayOffsetPopup : SetupTriggerPopup { - static SetupGameplayOffsetPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupGameplayOffsetPopup(); - - void onDefaultValues(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x75ad70; - - virtual TodoReturn updateInputValue(int, float&) = mac 0x75ae80; - virtual TodoReturn updateInputNode(int, float) = mac 0x75ae60; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0x75ae10; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0x75ae40; -} - -[[link(android)]] -class SetupGravityTriggerPopup : SetupTriggerPopup { - static SetupGravityTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupGravityTriggerPopup(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x4a08a0; -} - -[[link(android)]] -class SetupInteractObjectPopup : SetupTriggerPopup { - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupInteractObjectPopup(); - - void onPlusButton(cocos2d::CCObject* sender) = mac 0x4e6b60; - void onClose(cocos2d::CCObject* sender) = mac 0x4e6c50; - - TodoReturn updateItems(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x4e6ba0; -} - -[[link(android)]] -class SetupObjectOptions2Popup : SetupTriggerPopup { - static SetupObjectOptions2Popup* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - ~SetupObjectOptions2Popup(); - - void onPlusButton(cocos2d::CCObject* sender) = mac 0x2f7dc0; -} - -[[link(android)]] -class SetupOptionsTriggerPopup : SetupTriggerPopup { - static SetupOptionsTriggerPopup* create(GameOptionsTrigger*, cocos2d::CCArray*); - - bool init(GameOptionsTrigger*, cocos2d::CCArray*); - ~SetupOptionsTriggerPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x5ac540; - - TodoReturn addOption(int, gd::string); -} - -[[link(android)]] -class SetupRandAdvTriggerPopup : SetupTriggerPopup { - static SetupRandAdvTriggerPopup* create(RandTriggerGameObject*, cocos2d::CCArray*); - - bool init(RandTriggerGameObject*, cocos2d::CCArray*); - ~SetupRandAdvTriggerPopup(); - - void onAddChance(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x36bc50; - - TodoReturn removeGroupID(int); - TodoReturn addChanceToObject(RandTriggerGameObject*, int, int); - TodoReturn callRemoveFromGroup(float); - TodoReturn updateGroupIDButtons(); - TodoReturn removeGroupIDFromObject(RandTriggerGameObject*, int); - TodoReturn addChance(int, int); - - virtual void textChanged(CCTextInputNode*) = mac 0x36bc30; -} - -[[link(android)]] -class SetupRotateGameplayPopup : SetupTriggerPopup { - static SetupRotateGameplayPopup* create(RotateGameplayGameObject*, cocos2d::CCArray*); - - bool init(RotateGameplayGameObject*, cocos2d::CCArray*); - ~SetupRotateGameplayPopup(); - - void onPlusButton(cocos2d::CCObject* sender) = mac 0x75a240; - - virtual TodoReturn valueDidChange(int, float) = mac 0x75a280; -} - -[[link(android)]] -class GJSmartBlockPreviewSprite : cocos2d::CCNode { - static GJSmartBlockPreviewSprite* create(); - - ~GJSmartBlockPreviewSprite(); - - virtual bool init() = mac 0x408950; - virtual void visit() = mac 0x408960; -} - -[[link(android)]] -class SetupAreaAnimTriggerPopup : SetupAreaTintTriggerPopup { - static SetupAreaAnimTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - ~SetupAreaAnimTriggerPopup(); - - void onDeactivateAnimValue(cocos2d::CCObject* sender); - - TodoReturn updateTargetIDLabel(); - TodoReturn createValueControlAdvancedAnim(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle); - - virtual void updateDefaultTriggerValues() = mac 0x4b7670; - virtual TodoReturn valueDidChange(int, float) = mac 0x4b7810; -} - -[[link(android)]] -class SetupAreaFadeTriggerPopup : SetupAreaMoveTriggerPopup { - static SetupAreaFadeTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaFadeTriggerPopup(); -} - -[[link(android)]] -class SetupAreaMoveTriggerPopup : SetupTriggerPopup { - static SetupAreaMoveTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaMoveTriggerPopup(); - - TodoReturn getModeValues(int, int&, bool&, bool&); - - void onSpecialTarget(cocos2d::CCObject* sender); - void onNextFreeEffectID(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - - TodoReturn addAreaDefaultControls(int); - TodoReturn updateEnterTargetIDState(); - - virtual TodoReturn updateInputValue(int, float&) = mac 0x4afcd0; - virtual void updateDefaultTriggerValues() = mac 0x4af850; - virtual TodoReturn updateInputNode(int, float) = mac 0x4afca0; - virtual TodoReturn valueDidChange(int, float) = mac 0x4afb60; - virtual TodoReturn triggerValueFromSliderValue(int, float) = mac 0x4afc30; - virtual TodoReturn triggerSliderValueFromValue(int, float) = mac 0x4afc70; -} - -[[link(android)]] -class SetupAreaTintTriggerPopup : SetupAreaMoveTriggerPopup, HSVWidgetDelegate { - static SetupAreaTintTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaTintTriggerPopup(); - - void onHSV(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x4b40b0; - - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues() = mac 0x4b3da0; - virtual TodoReturn valueDidChange(int, float) = mac 0x4b3cb0; - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::_ccHSVValue) = mac 0x4b3f20; -} - -[[link(android)]] -class SetupItemEditTriggerPopup : SetupTriggerPopup { - static SetupItemEditTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - ~SetupItemEditTriggerPopup(); - - void onOpButton(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x54b700; - - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - TodoReturn updateFormulaLabel(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x54b8e0; -} - -[[link(android)]] -class SetupSequenceTriggerPopup : SetupTriggerPopup { - static SetupSequenceTriggerPopup* create(SequenceTriggerGameObject*); - - bool init(SequenceTriggerGameObject*); - ~SetupSequenceTriggerPopup(); - - void onAddChance(cocos2d::CCObject* sender); - void onChangeOrder(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x4ba110; - void onSelect(cocos2d::CCObject* sender); - - TodoReturn updateGroupIDButtons(); -} - - -[[link(android)]] -class SetupCollisionTriggerPopup : SetupTriggerPopup { - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCollisionTriggerPopup(); - - void onTargetP1(cocos2d::CCObject* sender); - void onTargetP2(cocos2d::CCObject* sender); - void onTargetPP(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onItemID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onActivateOnExit(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = mac 0x374fe0; - - TodoReturn updateItemID(); - TodoReturn updateItemID2(); - TodoReturn updateTargetID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateItemID2InputLabel(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues() = mac 0x374950; - virtual void textChanged(CCTextInputNode*) = mac 0x374cf0; -} - -[[link(android)]] -class UpdateAccountSettingsPopup : FLAlertLayer, GJAccountSettingsDelegate { - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - - bool init(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - ~UpdateAccountSettingsPopup(); - - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = mac 0x27fef0; - virtual TodoReturn updateSettingsFinished() = mac 0x27fce0; - virtual TodoReturn updateSettingsFailed() = mac 0x27fe00; -} - - -[[link(android)]] -class SetupAdvFollowRetargetPopup : SetupTriggerPopup { - static SetupAdvFollowRetargetPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - ~SetupAdvFollowRetargetPopup(); - - virtual void updateDefaultTriggerValues() = mac 0x2e8e10; - virtual TodoReturn valueDidChange(int, float) = mac 0x2e8f50; -} - -[[link(android)]] -class SetupAreaRotateTriggerPopup : SetupAreaMoveTriggerPopup { - static SetupAreaRotateTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaRotateTriggerPopup(); -} - -[[link(android)]] -class SetupTimerEventTriggerPopup : SetupTriggerPopup { - static SetupTimerEventTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - ~SetupTimerEventTriggerPopup(); -} - -[[link(android)]] -class CustomizeObjectSettingsPopup : SetupTriggerPopup { - static CustomizeObjectSettingsPopup* create(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - bool init(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - ~CustomizeObjectSettingsPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x1d8cc0; - void onClose(cocos2d::CCObject* sender) = mac 0x1d8d30; -} - -[[link(android)]] -class SetupItemCompareTriggerPopup : SetupTriggerPopup { - static SetupItemCompareTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - ~SetupItemCompareTriggerPopup(); - - void onOpButton(cocos2d::CCObject* sender); - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x54dc00; - - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - TodoReturn updateFormulaLabel(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x54dd60; -} - -[[link(android)]] -class SetupTimerControlTriggerPopup : SetupTriggerPopup { - static SetupTimerControlTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - ~SetupTimerControlTriggerPopup(); - - void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = mac 0x37ff30; -} - -[[link(android)]] -class SetupAdvFollowEditPhysicsPopup : SetupTriggerPopup { - static SetupAdvFollowEditPhysicsPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - ~SetupAdvFollowEditPhysicsPopup(); - - virtual TodoReturn valueDidChange(int, float) = mac 0x2e8540; -} - -[[link(android)]] -class SetupAreaTransformTriggerPopup : SetupAreaMoveTriggerPopup { - static SetupAreaTransformTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - ~SetupAreaTransformTriggerPopup(); -} - -[[link(android)]] -class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup { - static SetupCollisionStateTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupCollisionStateTriggerPopup(); -} - -[[link(android)]] -class SetupPersistentItemTriggerPopup : SetupTriggerPopup { - static SetupPersistentItemTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - ~SetupPersistentItemTriggerPopup(); -} - -[[link(android)]] -class SetupInstantCollisionTriggerPopup : SetupTriggerPopup { - static SetupInstantCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - ~SetupInstantCollisionTriggerPopup(); - - TodoReturn updateSpecialNodes(); - - virtual void updateDefaultTriggerValues() = mac 0x375cd0; - virtual TodoReturn valueDidChange(int, float) = mac 0x3759c0; -} - -[[link(android)]] -class MD5 { - TodoReturn MD5Transform(unsigned long*, unsigned char*); -} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - static OBB2D* create(cocos2d::CCPoint, float, float, float); - - bool init(cocos2d::CCPoint, float, float, float); - ~OBB2D(); - - TodoReturn getBoundingRect(); - - TodoReturn computeAxes(); - TodoReturn orderCorners(); - TodoReturn overlaps1Way(OBB2D*); - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn overlaps(OBB2D*); -} - -[[link(android)]] -class rtsha1 { - TodoReturn toHexString(unsigned char const*, char*); - TodoReturn calc(void const*, int, unsigned char*); -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor, cocos2d::CCKeyboardDelegate { - static UILayer* create(GJBaseGameLayer*); - - bool init(GJBaseGameLayer*) = mac 0x4a2e40; - ~UILayer(); - - void onDeleteCheck(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0x3b8d90, mac 0x4a3630; - - void enableMenu() = mac 0x4a4600; - void disableMenu() = mac 0x4a3ea0; - void refreshDpad() = mac 0x4a3950; - TodoReturn editorPlaytest(bool); - void handleKeypress(cocos2d::enumKeyCodes, bool) = win 0x3b8900; - TodoReturn updateDualMode(bool); - TodoReturn resetAllButtons() = win 0x3b8f10, mac 0x4a4710; - TodoReturn enableEditorMode(); - void resetUINodeState() = win 0x3b8810; - TodoReturn processUINodeTouch(GJUITouchEvent, int, cocos2d::CCPoint, GJUINode*); - /* unverified signature */ - bool isJumpButtonPressed(bool); - TodoReturn processUINodesTouch(GJUITouchEvent, cocos2d::CCTouch*); - void toggleMenuVisibility(bool) = mac 0x4a4620, win 0x3b8ec0; - void togglePlatformerMode(bool); - TodoReturn toggleCheckpointsMenu(bool); - TodoReturn updateUINodeVisibility(bool); - - virtual void draw() = win 0x3ba4c0, mac 0x4a4800; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4a4850; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4a4c90; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4a5140; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x4a57c0; - virtual void registerWithTouchDispatcher() = mac 0x4a5800; - virtual void keyBackClicked() = mac 0x4a4580; - virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x4a44e0; - virtual void keyUp(cocos2d::enumKeyCodes) = mac 0x4a4530; -} - -[[link(android)]] -class URLCell : TableViewCell { - ~URLCell(); - - void onURL(cocos2d::CCObject* sender); - - void updateBGColor(int) = win 0x807B0; - void loadFromObject(CCURLObject*) = mac 0x2264c0, win 0x8C190; - URLCell(char const*, float, float); - - virtual bool init() = mac 0x237810; - virtual void draw() = mac 0x237880; -} - - -[[link(android)]] -class GameCell : TableViewCell { - ~GameCell(); - - void onTouch(cocos2d::CCObject* sender); - - TodoReturn updateBGColor(int); - void loadFromString(gd::string); - GameCell(char const*, float, float); - - virtual bool init() = mac 0x2ea680; - virtual void draw() = mac 0x2ea740; -} - -[[link(android)]] -class GJUINode : cocos2d::CCNode { - static GJUINode* create(UIButtonConfig&) = mac 0x4a3560; - - bool init(UIButtonConfig&) = mac 0x4a5bb0; - ~GJUINode(); - - TodoReturn getOpacity(); - TodoReturn getButtonScale(); - - void setOpacity(unsigned char); - - TodoReturn resetState() = win 0x3b9be0; - TodoReturn touchEnded(); - TodoReturn updateSize(float, float); - void toggleModeB(bool); - TodoReturn updateWidth(float); - TodoReturn saveToConfig(UIButtonConfig&); - TodoReturn updateHeight(float); - void loadFromConfig(UIButtonConfig&); - TodoReturn updateDeadzone(int); - TodoReturn updateRangePos(cocos2d::CCPoint); - TodoReturn activeTouchTest(cocos2d::CCPoint); - TodoReturn highlightButton(int); - TodoReturn toggleHighlight(int, bool); - TodoReturn updateDragRadius(float); - TodoReturn updateButtonScale(float); - TodoReturn updateButtonFrames(); - TodoReturn activeRangeTouchTest(cocos2d::CCPoint); - TodoReturn updateButtonPositions(); - TodoReturn touchTest(cocos2d::CCPoint); - - virtual void draw() = mac 0x4a6880; -} - -[[link(android)]] -class ListCell : TableViewCell { - ~ListCell(); - - TodoReturn updateBGColor(int); - void loadFromObject(cocos2d::CCObject*, int, int, int); - ListCell(char const*, float, float); - - virtual bool init() = mac 0x2ea4d0; - virtual void draw() = mac 0x2ea560; -} - -[[link(android)]] -class SongCell : TableViewCell { - ~SongCell(); - - void onClick(cocos2d::CCObject* sender); - - void updateBGColor(int) = win 0x807B0; - void loadFromObject(SongObject*) = mac 0x225d30, win 0x82650; - SongCell(char const*, float, float); - - virtual bool init() = mac 0x231e40; - virtual void draw() = mac 0x231e80; -} - -[[link(android)]] -class TOSPopup : FLAlertLayer { - static TOSPopup* create(); - - ~TOSPopup(); - - void onTOS(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - - virtual bool init() = win 0x20d8a0, mac 0x28b9b0; - virtual void keyBackClicked() = mac 0x28c040; -} - -[[link(android)]] -class AdToolbox { - /* unverified signature */ - bool isShowingAd(); - TodoReturn enableBanner(); - TodoReturn disableBanner(); - void showInterstitial(); - TodoReturn cacheInterstitial(); - void showRewardedVideo(); - TodoReturn cacheRewardedVideo(); - TodoReturn queueRefreshBanner(); - TodoReturn enableBannerNoRefresh(); - TodoReturn hasCachedInterstitial(); - TodoReturn hasCachedRewardedVideo(); - TodoReturn setupAds() = mac 0xc8250; - void showDebug(); -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - static GJMapPack* create(cocos2d::CCDictionary*); - static GJMapPack* create(); - - ~GJMapPack(); - - int completedMaps() = mac 0x52c930; - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - bool hasCompletedMapPack() = mac 0x52c9e0; - int totalMaps() { - if (this->m_levels) { - return this->m_levels->count(); - } - - return 0; - } - - virtual bool init() = mac 0x52c8b0; -} - -[[link(android)]] -class GJMGLayer : cocos2d::CCLayer { - static GJMGLayer* create(int); - - bool init(int); - ~GJMGLayer(); - - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateMG01Blend(bool) = mac 0x5b1250; - TodoReturn updateMG02Blend(bool) = mac 0x5b12a0; - TodoReturn deactivateGround(); - void loadGroundSprites(int, bool); - TodoReturn updateGroundColor(cocos2d::_ccColor3B, bool) = mac 0x5b0ec0; - TodoReturn updateGroundWidth(bool); - TodoReturn updateGroundOpacity(unsigned char, bool) = mac 0x5b1020; - - virtual void draw() = mac 0x5b1240; - virtual void showGround() = mac 0x5b1210; -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - static InfoLayer* create(GJGameLevel*, GJUserScore*, GJLevelList*) = mac 0x76fe50, win 0x2239C0; - - bool init(GJGameLevel*, GJUserScore*, GJLevelList*) = mac 0x770000, win 0x223A80; - ~InfoLayer(); - - int getAccountID(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint); - int getID() { - if(m_score) return m_score->m_userID; - if(m_levelList) return - m_levelList->m_listID; - if(m_level) return m_level->m_levelID; - return 0; - } - int getRealID(); - - void onNextPage(cocos2d::CCObject* sender) = mac 0x772a20; - void onOriginal(cocos2d::CCObject* sender) = mac 0x772260; - void onPrevPage(cocos2d::CCObject* sender) = mac 0x772a00; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x225f00, mac 0x7732c0; - void onCopyLevelID(cocos2d::CCObject* sender) = mac 0x7738c0; - void onGetComments(cocos2d::CCObject* sender); - void onRefreshComments(cocos2d::CCObject* sender) = win 0x2258f0; - void onMore(cocos2d::CCObject* sender) = win 0x225bf0, mac 0x772010; - void onClose(cocos2d::CCObject* sender) = mac 0x772980; - void onComment(cocos2d::CCObject* sender) = mac 0x7723a0; - void onSimilar(cocos2d::CCObject* sender); - - TodoReturn reloadWindow(); - TodoReturn confirmReport(cocos2d::CCObject*) = mac 0x7727d0; - void setupPageInfo(gd::string, char const*) = mac 0x774030; - void setupLevelInfo() = mac 0x772060; - TodoReturn toggleCommentMode(cocos2d::CCObject*) = mac 0x772b20; - TodoReturn updateLevelsLabel(); - TodoReturn toggleExtendedMode(cocos2d::CCObject*); - void setupCommentsBrowser(cocos2d::CCArray*) = mac 0x773120, win 0x226770; - TodoReturn toggleSmallCommentMode(cocos2d::CCObject*); - TodoReturn updateCommentModeButtons(); - void loadPage(int, bool) = mac 0x772d80, win 0x226440; - /* unverified signature */ - bool isCorrect(char const*); - - virtual void registerWithTouchDispatcher() = mac 0x773d50; - virtual void keyBackClicked() = mac 0x773c40; - virtual void show() = win 0x8F6A0, mac 0x774ae0; - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) = mac 0x773ec0; - virtual void loadCommentsFailed(char const*) = mac 0x773f90; - virtual void commentUploadFinished(int) = mac 0x774690; - virtual void commentUploadFailed(int, CommentError) = mac 0x7747e0; - virtual void updateUserScoreFinished() = mac 0x7744f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = mac 0x773a00; - - GJGameLevel* m_level; - GJUserScore* m_score; - GJLevelList* m_levelList; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_noComments; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - CommentKeyType m_mode; -} - -[[link(android)]] -class LevelCell : TableViewCell { - static LevelCell* create(float, float) = mac 0x22d270; - - ~LevelCell(); - - void onViewProfile(cocos2d::CCObject* sender) = mac 0x230550, win 0x80910; - void onClick(cocos2d::CCObject* sender) = mac 0x2303f0, win 0x80820; - void onToggle(cocos2d::CCObject* sender) = win 0x7d580; - - TodoReturn updateToggle(); - void loadFromLevel(GJGameLevel*) = mac 0x223890, win 0x7D3F0; - TodoReturn updateBGColor(int) = win 0x807B0; - TodoReturn updateCellMode(int) = mac 0x22cde0; - void loadLocalLevelCell() = mac 0x22d440, win 0x7FE70; - void loadCustomLevelCell() = win 0x7D5A0, mac 0x22dcd0; - LevelCell(char const*, float, float); - - virtual bool init() = mac 0x22d410; - virtual void draw() = mac 0x230580; - - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - CCMenuItemToggler* m_toggler; - cocos2d::CCPoint m_point; - cocos2d::CCMenu* m_mainMenu; - bool m_compactView; - int m_cellMode; -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - static LevelPage* create(GJGameLevel*) = mac 0x411890; - - bool init(GJGameLevel*) = mac 0x414730; - ~LevelPage(); - - void onTheTower(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender); - void onSecretDoor(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender) = win 0x267CB0, mac 0x4140c0; - void onPlay(cocos2d::CCObject* sender) = mac 0x4139b0; - - TodoReturn addSecretCoin() = mac 0x413060; - TodoReturn addSecretDoor(); - TodoReturn playCoinEffect(); - void updateDynamicPage(GJGameLevel*) = mac 0x411b30; - TodoReturn playStep2(); - TodoReturn playStep3(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x416a10; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x416b30; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x416b50; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x416b70; - virtual void registerWithTouchDispatcher() = mac 0x416bb0; - virtual void dialogClosed(DialogLayer*) = mac 0x416760; - - void* m_unk; - GJGameLevel* m_level; -} - -[[link(android)]] -class NodePoint : cocos2d::CCObject { - static NodePoint* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); - ~NodePoint(); -} - - -[[link(android)]] -class PointNode : cocos2d::CCObject { - static PointNode* create(cocos2d::CCPoint) = win 0x222760; - - bool init(cocos2d::CCPoint); - ~PointNode(); -} diff --git a/bindings/bindings/2.202/Cocos2d.bro b/bindings/bindings/2.202/Cocos2d.bro deleted file mode 100644 index 3472c4a..0000000 --- a/bindings/bindings/2.202/Cocos2d.bro +++ /dev/null @@ -1,892 +0,0 @@ -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&); - virtual gd::string getNewFilename(char const*); - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2(); - virtual bool init(); - virtual bool isAbsolutePath(gd::string const&); - virtual bool isPopupNotify(); - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool); - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils(); - virtual bool shouldUseHD(); - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create(); - static void resetGlobalOrderOfArrival(); - - // CCNode(cocos2d::CCNode const&); - CCNode(); - ~CCNode(); - - cocos2d::CCAction* getActionByTag(int); - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - cocos2d::CCRect boundingBox(); - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions(); - void pauseSchedulerAndActions(); - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions(); - cocos2d::CCAction* runAction(cocos2d::CCAction*); - void schedule(cocos2d::SEL_SCHEDULE); - void schedule(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float); - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void scheduleUpdateWithPriorityLua(int, int); - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - void stopAllActions(); - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void unscheduleUpdate(); - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const; - virtual cocos2d::CCSize const& getContentSize() const; - virtual void update(float); - virtual bool init(); - virtual void setZOrder(int); - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getAnchorPoint(); - virtual cocos2d::CCPoint const& getAnchorPointInPoints(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual cocos2d::CCSize getScaledContentSize(); - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual void setParent(cocos2d::CCNode*); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast(); - virtual cocos2d::CCAffineTransform const parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(char const*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); - virtual void updateTweenActionInt(float, int); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*); - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create(); - - // CCLayer(cocos2d::CCLayer const&); - CCLayer(); - ~CCLayer(); - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); - - virtual void keyBackClicked(); - virtual void keyMenuClicked(); - - virtual void keyDown(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*); - - // CCObject(cocos2d::CCObject const&); - CCObject(); - ~CCObject(); - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - cocos2d::CCObject* autorelease(); - cocos2d::CCObject* copy(); - bool isSingleReference() const; - void release(); - void retain(); - unsigned int retainCount() const; - - virtual int getTag() const; - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); - virtual void update(float); - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual void setTag(int); -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&); - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float); - static cocos2d::CCLayerColor* create(); - - // CCLayerColor(cocos2d::CCLayerColor const&); - CCLayerColor(); - ~CCLayerColor(); - - void setVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - - void addToVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void changeHeight(float); - void changeWidth(float); - void changeWidthAndHeight(float, float); - - virtual bool init(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual void draw(); - virtual bool initWithColor(cocos2d::_ccColor4B const&, float, float); - virtual bool initWithColor(cocos2d::_ccColor4B const&); - virtual void updateColor(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - CCLayerRGBA(); - ~CCLayerRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float); - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init(); - - int getTargetPrio() const; - - void setDispatchEvents(bool); - void setPriority(int, cocos2d::CCTouchDelegate*); - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void addStandardDelegate(cocos2d::CCTouchDelegate*, int); - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*); - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*); - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*); - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio(); - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int); - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*); - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int); - void unregisterForcePrio(cocos2d::CCObject*); - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); -} - -[[link(win)]] -class cocos2d::CCEGLView { - // CCEGLView(); - // CCEGLView(cocos2d::CCEGLView const&); - virtual void swapBuffers(); - // rest are in extras -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static cocos2d::CCIMEDispatcher* sharedDispatcher(); - - // CCIMEDispatcher(); - - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool); - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes); - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCDirector { - static cocos2d::CCDirector* sharedDirector(); - - float getActualDeltaTime() const; - double getAnimationInterval(); - float getContentScaleFactor(); - cocos2d::CCDirectorDelegate* getDelegate() const; - bool getDontCallWillSwitch() const; - void getFPSImageData(unsigned char**, unsigned int*); - bool getIsTransitioning() const; - cocos2d::TextureQuality getLoadedTextureQuality() const; - cocos2d::CCScene* getNextScene(); - cocos2d::CCNode* getNotificationNode(); - cocos2d::CCEGLView* getOpenGLView(); - cocos2d::ccDirectorProjection getProjection(); - cocos2d::CCScene* getRunningScene(); - cocos2d::CCScene* getSceneReference() const; - float getScreenBottom(); - float getScreenLeft(); - float getScreenRight(); - float getScreenScaleFactor(); - float getScreenScaleFactorH(); - float getScreenScaleFactorMax(); - float getScreenScaleFactorW(); - float getScreenTop(); - float getSecondsPerFrame(); - bool getSmoothFix() const; - bool getSmoothFixCheck() const; - int getSmoothFixCounter() const; - unsigned int getTotalFrames(); - cocos2d::CCPoint getVisibleOrigin(); - cocos2d::CCSize getVisibleSize(); - cocos2d::CCSize getWinSize(); - cocos2d::CCSize getWinSizeInPixels(); - float getZEye(); - - void setActualDeltaTime(float); - void setAlphaBlending(bool); - void setContentScaleFactor(float); - void setDefaultValues(); - void setDelegate(cocos2d::CCDirectorDelegate*); - void setDeltaTime(float); - void setDepthTest(bool); - void setDisplayStats(bool); - void setDontCallWillSwitch(bool); - void setGLDefaultValues(); - void setNextDeltaTimeZero(bool); - void setNextScene(); - void setNotificationNode(cocos2d::CCNode*); - void setOpenGLView(cocos2d::CCEGLView*); - void setProjection(cocos2d::ccDirectorProjection); - void setSceneReference(cocos2d::CCScene*); - void setSmoothFix(bool); - void setSmoothFixCheck(bool); - void setViewport(); - - // CCDirector(cocos2d::CCDirector const&); - // CCDirector(); - void applySmoothFix(); - void calculateDeltaTime(); - void calculateMPF(); - void checkSceneReference(); - cocos2d::CCPoint convertToGL(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToUI(cocos2d::CCPoint const&); - void createStatsLabel(); - void drawScene(); - void end(); - bool isDisplayStats(); - bool isNextDeltaTimeZero(); - bool isPaused(); - bool isSendCleanupToScene(); - int levelForSceneInStack(cocos2d::CCScene*); - void pause(); - void popScene(); - bool popSceneWithTransition(float, cocos2d::PopTransition); - void popToRootScene(); - void popToSceneInStack(cocos2d::CCScene*); - void popToSceneStackLevel(int); - void purgeCachedData(); - void purgeDirector(); - bool pushScene(cocos2d::CCScene*); - void removeStatsLabel(); - bool replaceScene(cocos2d::CCScene*); - void resetSmoothFixCounter(); - void reshapeProjection(cocos2d::CCSize const&); - void resume(); - void runWithScene(cocos2d::CCScene*); - int sceneCount(); - void setupScreenScale(cocos2d::CCSize, cocos2d::CCSize, cocos2d::TextureQuality); - void showFPSLabel(); - void showStats(); - void toggleShowFPS(bool, gd::string, cocos2d::CCPoint); - void updateContentScale(cocos2d::TextureQuality); - void updateScreenScale(cocos2d::CCSize); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCTouchDispatcher* getTouchDispatcher(); - virtual void setTouchDispatcher(cocos2d::CCTouchDispatcher*); - virtual cocos2d::CCKeypadDispatcher* getKeypadDispatcher(); - virtual void setKeypadDispatcher(cocos2d::CCKeypadDispatcher*); - virtual cocos2d::CCKeyboardDispatcher* getKeyboardDispatcher(); - virtual void setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*); - virtual cocos2d::CCMouseDispatcher* getMouseDispatcher(); - virtual void setMouseDispatcher(cocos2d::CCMouseDispatcher*); - virtual cocos2d::CCAccelerometer* getAccelerometer(); - virtual void setAccelerometer(cocos2d::CCAccelerometer*); - virtual float getDeltaTime(); - virtual void setSceneDelegate(cocos2d::CCSceneDelegate*); - virtual cocos2d::CCSceneDelegate* getSceneDelegate() const; -} - - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - static cocos2d::CCNodeRGBA* create(); - - // CCNodeRGBA(cocos2d::CCNodeRGBA const&); - CCNodeRGBA(); - ~CCNodeRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - - -[[link(win, android)]] -class cocos2d::CCSprite { - static cocos2d::CCSprite* create(char const*); - static cocos2d::CCSprite* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSprite* create(); - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static cocos2d::CCSprite* createWithSpriteFrameName(char const*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - unsigned int getAtlasIndex(); - float getBlVertexMod() const; - float getBrVertexMod() const; - bool getDontDraw() const; - cocos2d::CCPoint const& getOffsetPosition(); - cocos2d::_ccV3F_C4B_T2F_Quad getQuad(); - cocos2d::CCTextureAtlas* getTextureAtlas(); - cocos2d::CCRect const& getTextureRect(); - float getTlVertexMod() const; - float getTrVertexMod() const; - cocos2d::CCPoint const& getUnflippedOffsetPosition(); - bool getUseVertexMod() const; - - void setAtlasIndex(unsigned int); - void setBlVertexMod(float); - void setBrVertexMod(float); - void setDontDraw(bool); - void setFlipX(bool); - void setFlipY(bool); - void setTextureAtlas(cocos2d::CCTextureAtlas*); - void setTlVertexMod(float); - void setTrVertexMod(float); - void setUseVertexMod(bool); - - // CCSprite(cocos2d::CCSprite const&); - CCSprite(); - ~CCSprite(); - bool isFlipX(); - bool isFlipY(); - bool isTextureRectRotated(); - void updateColor(); - - virtual bool init(); - virtual void setVertexZ(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setSkewX(float); - virtual void setSkewY(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void ignoreAnchorPointForPosition(bool); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual void draw(); - virtual void updateTransform(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(char const*); - virtual bool initWithFile(char const*); - virtual bool initWithFile(char const*, cocos2d::CCRect const&); - virtual void setChildColor(cocos2d::_ccColor3B const&); - virtual void setChildOpacity(unsigned char); - virtual cocos2d::CCSpriteBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCSpriteBatchNode*); - virtual void refreshTextureRect(); - virtual void setTextureRect(cocos2d::CCRect const&); - virtual void setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&); - virtual void setVertexRect(cocos2d::CCRect const&); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); - virtual void setDisplayFrameWithAnimationName(char const*, int); - virtual bool isDirty(); - virtual void setDirty(bool); - virtual void setTextureCoords(cocos2d::CCRect const&); - virtual void updateBlendFunc(); - virtual void setReorderChildDirtyRecursively(); - virtual void setDirtyRecursively(bool); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual void updateDisplayedOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - static cocos2d::CCLabelBMFont* create(char const*, char const*); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - static cocos2d::CCLabelBMFont* create(); - static cocos2d::CCLabelBMFont* createBatched(char const*, char const*, cocos2d::CCArray*, int); - static void purgeCachedData(); - - bool initWithString(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - - cocos2d::CCBMFontConfiguration* getConfiguration() const; - int getExtraKerning() const; - char const* getFntFile(); - bool getIsBatched() const; - float getLetterPosXLeft(cocos2d::CCSprite*, float, bool); - float getLetterPosXRight(cocos2d::CCSprite*, float, bool); - cocos2d::CCArray* getTargetArray() const; - - void setExtraKerning(int); - void setFntFile(char const*); - void setIsBatched(bool); - void setTargetArray(cocos2d::CCArray*); - void createFontChars(); - int kerningAmountForFirst(unsigned short, unsigned short); - void limitLabelWidth(float, float, float); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setString(char const*, bool); - virtual void setCString(char const*); - virtual void updateLabel(); - virtual void setAlignment(cocos2d::CCTextAlignment); - virtual void setWidth(float); - virtual void setLineBreakWithoutSpace(bool); - virtual void setString(unsigned short*, bool); - - virtual void setString(char const*); - virtual char const* getString(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCApplication { - virtual void openURL(char const*); -} - -[[link(win, android)]] -class cocos2d::CCArray { - // static cocos2d::CCArray* create(cocos2d::CCObject*, ...); - static cocos2d::CCArray* create(); - static cocos2d::CCArray* createWithArray(cocos2d::CCArray*); - static cocos2d::CCArray* createWithCapacity(unsigned int); - static cocos2d::CCArray* createWithContentsOfFile(char const*); - static cocos2d::CCArray* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCArray* createWithObject(cocos2d::CCObject*); - - bool init(); - bool initWithArray(cocos2d::CCArray*); - bool initWithCapacity(unsigned int); - bool initWithObject(cocos2d::CCObject*); - // bool initWithObjects(cocos2d::CCObject*, ...); - - // CCArray(cocos2d::CCArray const&); - // CCArray(unsigned int); - // CCArray(); - void addObject(cocos2d::CCObject*); - void addObjectNew(cocos2d::CCObject*); - void addObjectsFromArray(cocos2d::CCArray*); - unsigned int capacity() const; - bool containsObject(cocos2d::CCObject*) const; - unsigned int count() const; - void exchangeObject(cocos2d::CCObject*, cocos2d::CCObject*); - void exchangeObjectAtIndex(unsigned int, unsigned int); - void fastRemoveObject(cocos2d::CCObject*); - void fastRemoveObjectAtIndex(unsigned int); - void fastRemoveObjectAtIndexChild(unsigned int); - void fastRemoveObjectAtIndexNew(unsigned int); - unsigned int indexOfObject(cocos2d::CCObject*) const; - void insertObject(cocos2d::CCObject*, unsigned int); - bool isEqualToArray(cocos2d::CCArray*); - cocos2d::CCObject* lastObject(); - cocos2d::CCObject* objectAtIndex(unsigned int); - cocos2d::CCObject* randomObject(); - void recreateNewIndexes(); - void reduceMemoryFootprint(); - void removeAllObjects(); - void removeLastObject(bool); - void removeObject(cocos2d::CCObject*, bool); - void removeObjectAtIndex(unsigned int, bool); - void removeObjectAtIndexChild(unsigned int, bool); - void removeObjectsInArray(cocos2d::CCArray*); - void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool); - void reverseObjects(); - cocos2d::CCString* stringAtIndex(unsigned int); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create(); - static cocos2d::CCDictionary* createWithContentsOfFile(char const*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - - gd::string getFirstKey(); - - void setObject(cocos2d::CCObject*, gd::string const&); - void setObject(cocos2d::CCObject*, int); - void setObjectUnSafe(cocos2d::CCObject*, gd::string const&); - void setObjectUnSafe(cocos2d::CCObject*, int); - - // CCDictionary(cocos2d::CCDictionary const&); - // CCDictionary(); - cocos2d::CCArray* allKeys(); - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - char const* charForKey(gd::string const&); - unsigned int count(); - cocos2d::CCObject* objectForKey(gd::string const&); - cocos2d::CCObject* objectForKey(int); - cocos2d::CCObject* randomObject(); - void removeAllObjects(); - void removeObjectForElememt(cocos2d::CCDictElement*); - void removeObjectForKey(gd::string const&); - void removeObjectForKey(int); - void removeObjectsForKeys(cocos2d::CCArray*); - cocos2d::CCString const* valueForKey(gd::string const&); - cocos2d::CCString const* valueForKey(int); - bool writeToFile(char const*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} \ No newline at end of file diff --git a/bindings/bindings/2.202/Entry.bro b/bindings/bindings/2.202/Entry.bro deleted file mode 100644 index dbaca38..0000000 --- a/bindings/bindings/2.202/Entry.bro +++ /dev/null @@ -1,3 +0,0 @@ -#include -#include -#include diff --git a/bindings/bindings/2.202/Extras.bro b/bindings/bindings/2.202/Extras.bro deleted file mode 100644 index fff40ee..0000000 --- a/bindings/bindings/2.202/Extras.bro +++ /dev/null @@ -1,38 +0,0 @@ -class PlayerButtonCommand { - PlayerButton m_button; - bool m_isPush; - bool m_isPlayer2; - PAD = win 0x6, android32 0x6; -} - -class FMODSound { - -} - -class AdvancedFollowInstance { - -} - -class SFXTriggerInstance { - -} - -class ChanceObject { - -} - -class GameObjectPhysics { - -} - -class DynamicObjectAction { - -} - -class GJTransformState { - -} - -class CAState { - -} \ No newline at end of file diff --git a/bindings/bindings/2.202/GeometryDash.bro b/bindings/bindings/2.202/GeometryDash.bro deleted file mode 100644 index 8f89aae..0000000 --- a/bindings/bindings/2.202/GeometryDash.bro +++ /dev/null @@ -1,14308 +0,0 @@ -// clang-format off - -[[link(android)]] -class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtocol { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create(); - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn accountStatusChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate, GJAccountSyncDelegate, FLAlertLayerProtocol { - // virtual ~AccountLayer(); - - static AccountLayer* create() = win 0x573D0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup() = win 0x57DB0; - TodoReturn doSync() = win 0x57F10; - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender) = win 0x57C60; - void onHelp(cocos2d::CCObject* sender) = win 0x57F80; - void onLogin(cocos2d::CCObject* sender) = win 0x57C10; - void onMore(cocos2d::CCObject* sender) = win 0x58000; - void onRegister(cocos2d::CCObject* sender) = win 0x57C40; - void onSync(cocos2d::CCObject* sender) = win 0x57E20; - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(bool) = win 0x58050; - - virtual TodoReturn customSetup() = win 0x575B0; - virtual TodoReturn layerHidden() = win 0x589A0; - virtual TodoReturn backupAccountFinished() = win 0x58390; - virtual TodoReturn backupAccountFailed(BackupAccountError, int) = win 0x584F0; - virtual TodoReturn syncAccountFinished() = win 0x58720; - virtual TodoReturn syncAccountFailed(BackupAccountError, int) = win 0x58880; - virtual TodoReturn accountStatusChanged() = win 0x58040; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x58930; -} - -[[link(android)]] -class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegate, FLAlertLayerProtocol { - // virtual ~AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string); - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - void onForgotPassword(cocos2d::CCObject* sender); - void onForgotUser(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class AccountRegisterLayer : FLAlertLayer, TextInputDelegate, GJAccountRegisterDelegate, FLAlertLayerProtocol { - // virtual ~AccountRegisterLayer(); - - static AccountRegisterLayer* create(); - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual bool allowTextInput(CCTextInputNode*); - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const*, char const*, char const*, bool); - - bool init(char const*, char const*, char const*, bool); - TodoReturn show(); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class AchievementCell : TableViewCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - void loadFromDict(cocos2d::CCDictionary*) = win 0x7c6a0; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn addAchievement(gd::string, gd::string, gd::string, gd::string, gd::string, int) = win 0x9bc0; - TodoReturn addManualAchievements() = win 0xf74a; - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAchievementRewardDict(); - TodoReturn getAchievementsWithID(char const*); - TodoReturn getAllAchievements(); - TodoReturn getAllAchievementsSorted(bool); - bool isAchievementAvailable(gd::string); - bool isAchievementEarned(char const*); - TodoReturn limitForAchievement(gd::string); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn percentageForCount(int, int); - TodoReturn percentForAchievement(char const*); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPlatformAchievementWithID(char const*, int); - TodoReturn resetAchievement(char const*); - TodoReturn resetAchievements(); - TodoReturn setup(); - TodoReturn storeAchievementUnlocks(); - - virtual bool init(); -} - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState(); - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const*, char const*, char const*, bool); - TodoReturn showNextAchievement(); - TodoReturn willSwitchToScene(cocos2d::CCScene*) = win 0x1c200; - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - // virtual ~AchievementsLayer(); - - static AchievementsLayer* create(); - - TodoReturn loadPage(int); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupPageInfo(int, int, int); - - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn cacheRewardedVideo(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn enableBannerNoRefresh(); - TodoReturn hasCachedInterstitial(); - TodoReturn hasCachedRewardedVideo(); - bool isShowingAd(); - TodoReturn queueRefreshBanner(); - TodoReturn setupAds(); - TodoReturn showDebug(); - TodoReturn showInterstitial(); - TodoReturn showRewardedVideo(); -} - -[[link(android)]] -class AdvancedFollowEditObject : AdvancedFollowTriggerObject { - // virtual ~AdvancedFollowEditObject(); - - static AdvancedFollowEditObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvancedFollowTriggerObject : EffectGameObject { - // virtual ~AdvancedFollowTriggerObject(); - // AdvancedFollowTriggerObject(); - - static AdvancedFollowTriggerObject* create(char const*); - - TodoReturn getAdvancedFollowID(); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvFollowSetup { - // ~AdvFollowSetup(); -} - -[[link(android)]] -class AnimatedGameObject : EnhancedGameObject, AnimatedSpriteDelegate, SpritePartDelegate { - // virtual ~AnimatedGameObject(); - - static AnimatedGameObject* create(int); - - TodoReturn animationForID(int, int); - TodoReturn getTweenTime(int, int); - bool init(int); - TodoReturn playAnimation(int); - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn updateChildSpriteColor(cocos2d::ccColor3B); - TodoReturn updateObjectAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual TodoReturn resetObject(); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - // virtual ~AnimatedShopKeeper(); - - static AnimatedShopKeeper* create(ShopType); - - bool init(ShopType); - TodoReturn playReactAnimation(); - TodoReturn startAnimating(); - - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - // virtual ~AppDelegate(); - inline static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - - TodoReturn bgScale(); - TodoReturn checkSound(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest() = win 0x5b6f0; - TodoReturn pauseGame(); - TodoReturn pauseSound(); - TodoReturn platformShutdown(); - TodoReturn resumeSound() = win 0x5b6a0; - void setIdleTimerDisabled(bool); - TodoReturn setupGLView(); - TodoReturn showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching() = win 0x5b300; - virtual void applicationDidEnterBackground() = win 0x5b4d0; - virtual void applicationWillEnterForeground() = win 0x5b510; - virtual void applicationWillBecomeActive() = win 0x5b4b0; - virtual void applicationWillResignActive() = win 0x5b5c0; - virtual void trySaveGame(bool) = win 0x5b770; - virtual TodoReturn willSwitchToScene(cocos2d::CCScene*) = win 0x5b910; - - PAD = win 0xC, android32 0xC, android64 0x18; - cocos2d::CCScene* m_runningScene; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - // virtual ~ArtistCell(); - ArtistCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83e20; - void onNewgrounds(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x80d80; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ArtTriggerGameObject : EffectGameObject { - // virtual ~ArtTriggerGameObject(); - - static ArtTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string); - - TodoReturn audioStep(float) = win 0x5be90; - TodoReturn getBGSquare(); - TodoReturn goingDown(); - bool init(gd::string); - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float) = win 0x5bf30; - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class AudioLineGuideGameObject : EffectGameObject { - // virtual ~AudioLineGuideGameObject(); - - static AudioLineGuideGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class BitmapFontCache : cocos2d::CCObject { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown : cocos2d::CCNode { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - bool init(gd::string, int); - TodoReturn show(); -} - -[[link(android)]] -class BoomListLayer : cocos2d::CCLayerColor { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - static BoomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float); - - TodoReturn addObjectToList(cocos2d::CCNode*); - bool init(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x1d400; - TodoReturn lockList(bool); - - bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, nullptr, height, width, 0, type, 0.0f); - } - - virtual void draw() {} - virtual TodoReturn setupList(float) = win 0x1d5c0; - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d650; - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned int, TableView*) = win 0x1d660; - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 1; } - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d670; - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(char const*) = win 0x1d6d0; - virtual TodoReturn loadCell(TableViewCell*, int) = win 0x1d7b0; - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; - bool m_locked; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool); - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getPage(int); - TodoReturn getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getTotalPages(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn instantMoveToPage(int); - TodoReturn moveToPage(int); - TodoReturn moveToPageEnded(); - TodoReturn pageNumberForPosition(cocos2d::CCPoint); - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - TodoReturn repositionPagesLooped(); - TodoReturn selectPage(int); - void setDotScale(float); - void setPagesIndicatorPosition(cocos2d::CCPoint); - TodoReturn setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn togglePageIndicators(bool); - TodoReturn updateDots(float); - TodoReturn updatePages(); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual TodoReturn scrollLayerScrollingStarted(BoomScrollLayer*); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); -} - -[[link(android)]] -class BrowseSmartKeyLayer : BrowseSmartTemplateLayer { - // virtual ~BrowseSmartKeyLayer(); - - static BrowseSmartKeyLayer* create(GJSmartTemplate*, gd::string); - - TodoReturn addChanceToSelected(int, bool); - TodoReturn createTemplateObjects(); - TodoReturn deletedSelectedItems(); - TodoReturn getAllSelectedBlocks(); - bool init(GJSmartTemplate*, gd::string); - void onButton(cocos2d::CCObject* sender); - void onPrefabObject(cocos2d::CCObject* sender); - TodoReturn updateChanceValues(); - - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class BrowseSmartTemplateLayer : FLAlertLayer { - // virtual ~BrowseSmartTemplateLayer(); - - static BrowseSmartTemplateLayer* create(GJSmartTemplate*, SmartBrowseFilter); - - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addPrefabMenuItem(SmartPrefabResult, int); - TodoReturn baseSetup(); - TodoReturn createDots(); - TodoReturn createPrefab(gd::string, int); - TodoReturn goToPage(int); - bool init(GJSmartTemplate*, SmartBrowseFilter); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onTemplateObject(cocos2d::CCObject* sender); - TodoReturn updateDots(); - - virtual void keyBackClicked(); - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ButtonPage : cocos2d::CCLayer { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - // virtual ~ButtonSprite(); - // ButtonSprite(); - - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1feb0; - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool) = win 0x1fb90; - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*); - - bool init(char const*, int, int, float, bool, char const*, char const*, float); - bool init(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool); - void setColor(cocos2d::ccColor3B) = win 0x20b20; - void setString(char const*) = win 0x20770; - TodoReturn updateBGImage(char const*) = win 0x20230; - TodoReturn updateSpriteBGSize(); - TodoReturn updateSpriteOffset(cocos2d::CCPoint); -} - -[[link(android)]] -class CameraTriggerGameObject : EffectGameObject { - // virtual ~CameraTriggerGameObject(); - - static CameraTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3afa20; - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn initWithType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20d20; - TodoReturn loadType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn runAnimation(gd::string) = win 0x21640; - TodoReturn runAnimationForced(gd::string); - TodoReturn stopTween(); - TodoReturn switchToMode(spriteMode); - TodoReturn tweenToAnimation(gd::string, float) = win 0x21750; - TodoReturn tweenToAnimationFinished(); - TodoReturn willPlayAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn animationFinishedO(cocos2d::CCObject*); -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn decrementForcePrio(); - TodoReturn incrementForcePrio(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - - void* m_unknown; -} - -[[link(android)]] -class CCCircleAlert : CCCircleWave { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - // virtual ~CCCircleWave(); - // CCCircleWave(); - - static CCCircleWave* create(float, float, float, bool, bool) = win 0x23220; - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool) = win 0x23540; - bool init(float, float, float, bool, bool) = win 0x232f0; - TodoReturn updatePosition(float); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void removeMeAndCleanup(); - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float); - - virtual void setPosition(cocos2d::CCPoint const&) = win 0x23b20; -} - -[[link(android)]] -class CCCountdown : cocos2d::CCSprite { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel : cocos2d::CCLabelBMFont { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(int, char const*, FormatterType) = win 0x23d00; - - TodoReturn calculateStepSize(int); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getTargetCount(); - bool init(int, char const*, FormatterType) = win 0x23db0; - void setTargetCount(int) = win 0x23e20; - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - CCIndexPath() {} - // virtual ~CCIndexPath(); - - TodoReturn CCIndexPathWithSectionRow(int, int); -} - -[[link(android)]] -class CCLightFlash : cocos2d::CCNode { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - TodoReturn fadeAndRemove(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - TodoReturn showFlash(); - - virtual bool init(); -} - -[[link(android)]] -class CCLightStrip : cocos2d::CCNode { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - bool init(float, float, float, float, float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - // virtual ~CCMenuItemSpriteExtra(); - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25830; - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - inline void setSizeMult(float mult) { - //inlined on windows, member is in CCMenuItemSprite - m_scaleMultiplier = mult; - } - TodoReturn useAnimationType(MenuAnimationType); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown1; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; - int m_unknown4; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - CCMenuItemToggler() {} - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25e50; - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - - TodoReturn activeItem(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25f30; - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - void setSizeMult(float); - TodoReturn toggle(bool) = win 0x261e0; - - bool isToggled() { - return m_toggled; - } - bool isOn() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - virtual void activate() = win 0x26100; - virtual void selected() = win 0x260D0; - virtual void unselected() = win 0x26130; - virtual void setEnabled(bool) = win 0x26160; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCObject { - // virtual ~CCMoveCNode(); - - static CCMoveCNode* create(); - - bool init(); - TodoReturn reset(); -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - // virtual ~CCNodeContainer(); - - static CCNodeContainer* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class CCPartAnimSprite : cocos2d::CCSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn dirtify(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - void setColor(cocos2d::ccColor3B) = win 0x27270; - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(SpriteDescription*); - TodoReturn tweenSpriteTo(SpriteDescription*, float); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setOpacity(unsigned char); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect) = win 0x276e0; - - TodoReturn constraintContent(); - TodoReturn doConstraintContent(bool); - TodoReturn getMaxY(); - TodoReturn getMinY(); - TodoReturn moveToTop() = win 0x27b60; - TodoReturn moveToTopWithOffset(float) = win 0x27ae0; - TodoReturn scrollingEnd(); - TodoReturn scrollLayer(float) = win 0x28550; - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - TodoReturn updateIndicators(float); - - virtual void visit() = win 0x28600; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x280d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x28410; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x281c0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x283e0; - virtual void registerWithTouchDispatcher() = win 0x280a0; - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect) = win 0x286d0; - virtual TodoReturn postVisit() = win 0x28760; - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchBegin(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchEnd(CCScrollLayerExt*); -} - -[[link(android)]] -class CCSpriteCOpacity : cocos2d::CCSprite { - // virtual ~CCSpriteCOpacity(); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCSpriteGrayscale : CCSpriteWithHue { - // virtual ~CCSpriteGrayscale(); - - static CCSpriteGrayscale* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteGrayscale* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn frameChanged(gd::string); - TodoReturn getBeingUsed(); - TodoReturn hideInactive(); - TodoReturn markAsNotBeingUsed(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateDisplayFrame(gd::string); - - virtual void setVisible(bool); -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn getFollower(); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&) = win 0x288f0; - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithSpriteFrameName(char const*); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class CCSpriteWithHue : cocos2d::CCSprite { - // virtual ~CCSpriteWithHue(); - // CCSpriteWithHue(); - - static CCSpriteWithHue* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteWithHue* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn getAlpha(); - TodoReturn getHue(); - TodoReturn getUniformLocations(); - TodoReturn initShader(); - void setCustomLuminance(float, float, float); - void setEvenLuminance(float); - void setHue(float); - void setHueDegrees(float); - void setLuminance(float); - TodoReturn setupDefaultSettings(); - TodoReturn updateColorMatrix(); - TodoReturn updateHue(float); - - virtual void draw(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); - virtual void updateColor(); -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - // virtual ~CCTextInputNode(); - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*) = win 0x2e440; - - static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - void setMaxLabelScale(float v) { - m_maxLabelScale = v; - this->refreshLabel(); - } - void setMaxLabelWidth(float v) { - m_maxLabelWidth = v; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float v) { - m_placeholderScale = v; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - void setAllowedChars(gd::string filter) { - m_allowedChars = filter; - } - - TodoReturn addTextArea(TextArea*); - TodoReturn forceOffset(); - gd::string getString() = win 0x2ea50; - bool init(float, float, char const*, char const*, int, char const*) = win 0x2e500; - TodoReturn refreshLabel() = win 0x2ede0; - void setLabelNormalColor(cocos2d::ccColor3B); - void setString(gd::string) = win 0x2e9a0; - TodoReturn updateBlinkLabel(); - TodoReturn updateBlinkLabelToChar(int); - TodoReturn updateCursorPosition(cocos2d::CCPoint, cocos2d::CCRect); - TodoReturn updateDefaultFontValues(gd::string); - TodoReturn updateLabel(gd::string) = win 0x2eac0; - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual TodoReturn textChanged(); - virtual TodoReturn onClickTrackNode(bool) = win 0x2f600; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int, cocos2d::enumKeyCodes); - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*); - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*); - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - PAD = android32 0xc, win 0xc, android64 0x10; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_unknown3; - bool m_usePasswordChar; - bool m_forceOffset; - PAD = android32 0x10, android64 0x18; -} - -[[link(android)]] -class CCURLObject : cocos2d::CCObject { - // virtual ~CCURLObject(); - - static CCURLObject* create(gd::string, gd::string); - - bool init(gd::string, gd::string); -} - -[[link(android)]] -class ChallengeNode : cocos2d::CCNode { - // virtual ~ChallengeNode(); - - static ChallengeNode* create(GJChallengeItem*, ChallengesPage*, bool); - - bool init(GJChallengeItem*, ChallengesPage*, bool); - void onClaimReward(cocos2d::CCObject* sender); - TodoReturn updateTimeLabel(gd::string); -} - -[[link(android)]] -class ChallengesPage : FLAlertLayer, FLAlertLayerProtocol, GJChallengeDelegate, CurrencyRewardDelegate { - // virtual ~ChallengesPage(); - - static ChallengesPage* create(); - - TodoReturn claimItem(ChallengeNode*, GJChallengeItem*, cocos2d::CCPoint); - TodoReturn createChallengeNode(int, bool, float, bool); - TodoReturn exitNodeAtSlot(int, float); - void onClose(cocos2d::CCObject* sender); - TodoReturn tryGetChallenges(); - TodoReturn updateDots(); - callback void updateTimers(float); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class ChanceTriggerGameObject : EffectGameObject { - // virtual ~ChanceTriggerGameObject(); - - TodoReturn editChanceObject(int, int); - bool init(char const*); - TodoReturn remapChanceObjects(gd::unordered_map const*); - TodoReturn revertChanceRemap(); -} - -[[link(android)]] -class CharacterColorDelegate { - virtual TodoReturn playerColorChanged(); - virtual TodoReturn showUnlockPopup(int, UnlockType); -} - -[[link(android)]] -class CharacterColorPage : FLAlertLayer { - // virtual ~CharacterColorPage(); - - static CharacterColorPage* create(); - - TodoReturn activeColorForMode(int); - TodoReturn checkColor(int, UnlockType); - TodoReturn colorForIndex(int); - TodoReturn createColorMenu(); - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn offsetForIndex(int); - void onClose(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onPlayerColor(cocos2d::CCObject* sender); - TodoReturn toggleGlow(cocos2d::CCObject*); - TodoReturn toggleGlowItems(bool); - TodoReturn toggleShip(cocos2d::CCObject*); - TodoReturn updateColorMode(int); - TodoReturn updateIconColors(); - - virtual bool init() = win 0x5ea00; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class CheckpointGameObject : EffectGameObject { - // virtual ~CheckpointGameObject(); - - static CheckpointGameObject* create(); - - TodoReturn resetCheckpoint(); - TodoReturn updateCheckpointSpriteVisibility(); - - virtual bool init(); - virtual TodoReturn setupCustomSprites(gd::string); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - // virtual ~CheckpointObject(); - - static CheckpointObject* create(); - - TodoReturn getObject(); - void setObject(GameObject*); - - virtual bool init(); -} - -[[link(android)]] -class CollisionBlockPopup : FLAlertLayer, TextInputDelegate { - // virtual ~CollisionBlockPopup(); - - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onDynamicBlock(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onNextItemID(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class ColorAction : cocos2d::CCObject { - // virtual ~ColorAction(); - - static ColorAction* create(); - static ColorAction* create(cocos2d::ccColor3B, bool, int); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getCopy(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - bool isInUse(); - void loadFromState(CAState&); - TodoReturn resetAction(); - TodoReturn saveToState(CAState&); - TodoReturn setupFromMap(gd::map&); - TodoReturn setupFromString(gd::string); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - // TodoReturn writeSaveString(fmt::BasicWriter&); - - bool m_stepFinished; - // property 19 - bool m_property19; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_fromOpacity; - float m_toOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - bool m_unknown; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - // more stuff -} - -[[link(android)]] -class ColorAction2 { - ColorAction2(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - - TodoReturn resetAction(); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - // virtual ~ColorActionSprite(); - - static ColorActionSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - // virtual ~ColorChannelSprite(); - - static ColorChannelSprite* create() = win 0x1d7490; - - TodoReturn updateBlending(bool); - TodoReturn updateCopyLabel(int, bool); - TodoReturn updateOpacity(float) = win 0x1d7710; - TodoReturn updateValues(ColorAction*); - - virtual bool init(); -} - -[[link(android)]] -class ColorSelectDelegate { - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - // virtual ~ColorSelectLiveOverlay(); - - static ColorSelectLiveOverlay* create(ColorAction*, ColorAction*, EffectGameObject*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn colorValueChanged(cocos2d::ccColor3B); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn createWithActions(ColorAction*, ColorAction*); - TodoReturn createWithObject(EffectGameObject*); - TodoReturn determineStartValues(); - TodoReturn getColorValue(); - bool init(ColorAction*, ColorAction*, EffectGameObject*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn textChanged(CCTextInputNode*); - TodoReturn textInputClosed(CCTextInputNode*); - TodoReturn toggleControls(bool); - TodoReturn updateColorLabel(); - TodoReturn updateColorValue(); - TodoReturn updateOpacity(); - - virtual void keyBackClicked(); - virtual void show(); - - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; -} - -[[link(android)]] -class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~ColorSelectPopup(); - - static ColorSelectPopup* create(cocos2d::ccColor3B); - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn colorToHex(cocos2d::ccColor3B); - TodoReturn getColorValue(); - TodoReturn hexToColor(gd::string); - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - void onCopy(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onDefault(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateHSVMode(); - TodoReturn updateHSVValue(); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); - - PAD = android32 0x40; - ColorAction* m_colorAction; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - void loadFromComment(GJComment*) = win 0x84400; - void onConfirmDelete(cocos2d::CCObject* sender) = win 0x86230; - TodoReturn onDelete() = win 0x862d0; - void onGoToLevel(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender) = win 0x86080; - TodoReturn onUndelete(); - void onUnhide(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x86000; - TodoReturn updateLabelValues(); - - virtual bool init(); - virtual void draw() = win 0x7D520; - virtual TodoReturn likedItem(LikeItemType, int, bool) = win 0x86160; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x86340; - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class CommentUploadDelegate { - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn commentDeleteFailed(int, int); -} - -[[link(android)]] -class CommunityCreditNode : cocos2d::CCNode { - // virtual ~CommunityCreditNode(); - - static CommunityCreditNode* create(int, int, int, gd::string); - - bool init(int, int, int, gd::string); -} - -[[link(android)]] -class CommunityCreditsPage : FLAlertLayer { - // virtual ~CommunityCreditsPage(); - - static CommunityCreditsPage* create(); - - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode, TextInputDelegate { - // virtual ~ConfigureHSVWidget(); - - static ConfigureHSVWidget* create(cocos2d::ccHSVValue, bool, bool); - - TodoReturn createTextInputNode(cocos2d::CCPoint, int); - TodoReturn getHSV(GameObject*, cocos2d::CCArray*, int); - bool init(cocos2d::ccHSVValue, bool, bool); - TodoReturn onClose(); - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabels(); - TodoReturn updateSliders(); - - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopup : FLAlertLayer, TextInputDelegate { - // virtual ~ConfigureValuePopup(); - - static ConfigureValuePopup* create(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - - bool init(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopupDelegate { - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class CountTriggerAction { - // CountTriggerAction(CountTriggerAction&&); -} - -[[link(android)]] -class CountTriggerGameObject : EffectGameObject { - // virtual ~CountTriggerGameObject(); - - static CountTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(CustomSongDelegate*, AudioGuidelinesType); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(CustomSongDelegate*, AudioGuidelinesType); - void onClearGuidelines(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender); - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); -} - -[[link(android)]] -class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate { - // virtual ~CreateParticlePopup(); - - static CreateParticlePopup* create(gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*); - - TodoReturn centerAlignParticle(cocos2d::CCObject*); - TodoReturn createParticleSlider(gjParticleValue, int, bool, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn getPage(int); - TodoReturn getPageButton(int); - TodoReturn getPageContainer(int); - TodoReturn getPageInputNodes(int); - TodoReturn getPageMenu(int); - TodoReturn getPageSliders(int); - bool init(ParticleGameObject*, cocos2d::CCArray*, gd::string); - TodoReturn maxSliderValueForType(gjParticleValue); - TodoReturn minSliderValueForType(gjParticleValue); - void onAnimateActiveOnly(cocos2d::CCObject* sender); - void onAnimateOnTrigger(cocos2d::CCObject* sender); - void onCalcEmission(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopySettings(cocos2d::CCObject* sender); - void onDuplicateColor(cocos2d::CCObject* sender); - void onDurationForever(cocos2d::CCObject* sender); - void onDynamicColor(cocos2d::CCObject* sender); - void onDynamicRotation(cocos2d::CCObject* sender); - void onEmitterMode(cocos2d::CCObject* sender); - void onEndRGBVarSync(cocos2d::CCObject* sender); - void onMaxEmission(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOrderSensitive(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPasteSettings(cocos2d::CCObject* sender); - void onPosType(cocos2d::CCObject* sender); - void onQuickStart(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectParticleTexture(cocos2d::CCObject* sender); - void onStartRGBVarSync(cocos2d::CCObject* sender); - void onToggleBlending(cocos2d::CCObject* sender); - void onToggleStartRadiusEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartRotationIsDir(cocos2d::CCObject* sender); - void onToggleStartSizeEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartSpinEqualToEnd(cocos2d::CCObject* sender); - void onUniformColor(cocos2d::CCObject* sender); - TodoReturn particleValueIsInt(gjParticleValue); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn titleForParticleValue(gjParticleValue); - TodoReturn toggleGravityMode(bool); - TodoReturn updateColorSprite(int); - TodoReturn updateInputNodeStringForType(gjParticleValue); - TodoReturn updateParticleValueForType(float, gjParticleValue, cocos2d::CCParticleSystemQuad*); - TodoReturn updateSliderForType(gjParticleValue); - TodoReturn valueForParticleValue(gjParticleValue); - TodoReturn willClose(); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - // virtual ~CreatorLayer(); - - static CreatorLayer* create(); - - TodoReturn canPlayOnlineLevels(); - TodoReturn checkQuestsStatus() = win 0x714c0; - void onAdventureMap(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onChallenge(cocos2d::CCObject* sender) = win 0x70d40; - void onDailyLevel(cocos2d::CCObject* sender); - void onEventLevel(cocos2d::CCObject* sender) = win 0x70b70; - void onFameLevels(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender); - void onGauntlets(cocos2d::CCObject* sender); - void onLeaderboards(cocos2d::CCObject* sender); - void onMapPacks(cocos2d::CCObject* sender); - void onMultiplayer(cocos2d::CCObject* sender) = win 0x70760; - void onMyLevels(cocos2d::CCObject* sender) = win 0x702c0; - void onOnlineLevels(cocos2d::CCObject* sender) = win 0x70610; - void onOnlyFullVersion(cocos2d::CCObject* sender); - void onPaths(cocos2d::CCObject* sender); - void onSavedLevels(cocos2d::CCObject* sender) = win 0x703b0; - void onSecretVault(cocos2d::CCObject* sender) = win 0x70d70; - void onTopLists(cocos2d::CCObject* sender) = win 0x70590; - void onTreasureRoom(cocos2d::CCObject* sender) = win 0x71080; - void onWeeklyLevel(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init() = win 0x6f4c0; - virtual void keyBackClicked(); - virtual void sceneWillResume(); - virtual TodoReturn dialogClosed(DialogLayer*) = win 0x71600; -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - // virtual ~CurrencyRewardLayer(); - - static CurrencyRewardLayer* create(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71bb0; - - TodoReturn createObjects(CurrencySpriteType, int, cocos2d::CCPoint, float); - TodoReturn createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn createUnlockObject(cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn incrementCount(int); - TodoReturn incrementDiamondsCount(int); - TodoReturn incrementMoonsCount(int); - TodoReturn incrementSpecialCount1(int); - TodoReturn incrementSpecialCount2(int); - TodoReturn incrementStarsCount(int); - bool init(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71ca0; - TodoReturn pulseSprite(cocos2d::CCSprite*); - - virtual void update(float); -} - -[[link(android)]] -class CurrencySprite : CCSpritePlus { - // virtual ~CurrencySprite(); - // CurrencySprite(); - - static CurrencySprite* create(CurrencySpriteType, bool); - - TodoReturn createWithSprite(cocos2d::CCSprite*); - bool init(CurrencySpriteType, bool); - TodoReturn initWithSprite(cocos2d::CCSprite*); - TodoReturn rewardToSpriteType(int); - TodoReturn spriteTypeToStat(CurrencySpriteType); -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate, ColorSelectDelegate, ColorSetupDelegate { - // virtual ~CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - TodoReturn getActiveMode(bool); - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - TodoReturn highlightSelected(ButtonSprite*); - bool init(GameObject*, cocos2d::CCArray*); - void onBreakApart(cocos2d::CCObject* sender); - void onBrowse(cocos2d::CCObject* sender); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onNextColorChannel(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn recreateLayer(); - TodoReturn sliderChanged(cocos2d::CCObject*); - void toggleVisible(); - TodoReturn updateChannelLabel(int); - TodoReturn updateColorSprite(); - TodoReturn updateCurrentSelection(); - TodoReturn updateCustomColorLabels(); - TodoReturn updateHSVButtons(); - TodoReturn updateKerningLabel(); - TodoReturn updateSelected(int); - - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CustomizeObjectSettingsPopup : SetupTriggerPopup { - // virtual ~CustomizeObjectSettingsPopup(); - - static CustomizeObjectSettingsPopup* create(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - bool init(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class CustomListView : BoomListView { - inline CustomListView() {} - ~CustomListView() {} - - static CustomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x7acb0; - - static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, nullptr, width, height, 0, type, 0.0f); - } - - TodoReturn getCellHeight(BoomListType); - TodoReturn reloadAll(); - - virtual TodoReturn setupList(float) = win 0x7bb40; - virtual TableViewCell* getListCell(char const*); - virtual TodoReturn loadCell(TableViewCell*, int) = win 0x7b700; - - int m_unknown; -} - -[[link(android)]] -class CustomMusicCell : CustomSongCell { - // virtual ~CustomMusicCell(); - CustomMusicCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83810; - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class CustomSFXCell : TableViewCell, CustomSFXDelegate { - // virtual ~CustomSFXCell(); - CustomSFXCell(char const*, float, float); - - void loadFromObject(SFXInfoObject*) = win 0x835e0; - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x836d0; - - virtual bool init(); - virtual void draw(); - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); -} - -[[link(android)]] -class CustomSFXDelegate { - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); -} - -[[link(android)]] -class CustomSFXWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSFXWidget(); - - static CustomSFXWidget* create(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - - TodoReturn deleteSFX(); - TodoReturn downloadFailed(); - TodoReturn hideLoadingArt(); - bool init(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn showLoadingArt(); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - TodoReturn updateSFXInfo(); - TodoReturn updateSFXObject(SFXInfoObject*); - TodoReturn verifySFXID(int); - - virtual TodoReturn downloadSFXFinished(int); - virtual TodoReturn downloadSFXFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CustomSongCell : TableViewCell, CustomSongDelegate { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83110; - void onDelete(cocos2d::CCObject* sender); - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x83310; - - virtual bool init(); - virtual void draw(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongDelegate { - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, TextInputDelegate, GJDropDownLayerDelegate, MusicBrowserDelegate { - // virtual ~CustomSongLayer(); - - static CustomSongLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onMusicBrowser(cocos2d::CCObject* sender); - void onNewgroundsBrowser(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - TodoReturn showNewgroundsMessage(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); - virtual TodoReturn musicBrowserClosed(MusicBrowser*); -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual TodoReturn customSongLayerClosed(); -} - -[[link(android)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool) = win 0x92AD0; - - void deleteSong(); - TodoReturn downloadAssetFailed(int, GJAssetType, GJSongError); - TodoReturn downloadAssetFinished(int, GJAssetType); - TodoReturn downloadFailed(); - TodoReturn getSongInfoIfUnloaded(); - bool init(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool) = win 0x92b90; - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender) = win 0x94480; - void onGetSongInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender) = win 0x93d80; - void onPlayback(cocos2d::CCObject* sender) = win 0x94700; - void onSelect(cocos2d::CCObject* sender) = win 0x946b0; - TodoReturn processNextMultiAsset(); - TodoReturn showError(bool); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn startMultiAssetDownload(); - TodoReturn toggleUpdateButton(bool); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updateMultiAssetInfo(bool); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - void updateSongInfo(); - TodoReturn updateSongObject(SongInfoObject*); - TodoReturn updateWithMultiAssets(gd::string, gd::string, int); - TodoReturn verifySongID(int); - - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(int); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn downloadSFXFinished(int); - virtual TodoReturn downloadSFXFailed(int, GJSongError); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn songStateChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - // virtual ~DailyLevelNode(); - - static DailyLevelNode* create(GJGameLevel*, DailyLevelPage*, bool); - - bool init(GJGameLevel*, DailyLevelPage*, bool) = win 0x995c0; - void onClaimReward(cocos2d::CCObject* sender); - void onSkipLevel(cocos2d::CCObject* sender); - TodoReturn showSkipButton(); - TodoReturn updateTimeLabel(gd::string) = win 0x9a190; - - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x9a160; - - GJGameLevel* m_level; - DailyLevelPage* m_page; - cocos2d::CCLabelBMFont* m_timeLabel; - PAD = win 0x8, android32 0x8; - CCMenuItemSpriteExtra* m_skipButton; - bool m_unkBool; - bool m_needsDownloading; -} - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - // virtual ~DailyLevelPage(); - - static DailyLevelPage* create(GJTimedLevelType); - - TodoReturn claimLevelReward(DailyLevelNode*, GJGameLevel*, cocos2d::CCPoint); - TodoReturn createDailyNode(GJGameLevel*, bool, float, bool); - TodoReturn createNodeIfLoaded() = win 0x988c0; - TodoReturn downloadAndCreateNode() = win 0x98860; - TodoReturn exitDailyNode(DailyLevelNode*, float) = win 0x98b40; - TodoReturn getDailyTime() = win 0x98bf0; - TodoReturn getDailyTimeString(int) = win 0x98ca0; - bool init(GJTimedLevelType) = win 0x975d0; - void onClose(cocos2d::CCObject* sender); - void onTheSafe(cocos2d::CCObject* sender); - TodoReturn refreshDailyPage(); - TodoReturn skipDailyLevel(DailyLevelNode*, GJGameLevel*); - TodoReturn tryGetDailyStatus() = win 0x98810; - callback void updateTimers(float) = win 0x99020; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x5d680; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - - cocos2d::CCLabelBMFont* m_timeLabel; - LoadingCircle* m_timeCircle; - LoadingCircle* m_nodeCircle; - bool m_gettingDailyStatus; - DailyLevelNode* m_dailyNode; - bool m_downloadStarted; - GJTimedLevelType m_type; - int m_downloadLevelID; -} - -[[link(android)]] -class DashRingObject : RingObject { - // virtual ~DashRingObject(); - - static DashRingObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class DemonFilterDelegate { - virtual TodoReturn demonFilterSelectClosed(int); -} - -[[link(android)]] -class DemonFilterSelectLayer : FLAlertLayer { - // virtual ~DemonFilterSelectLayer(); - - static DemonFilterSelectLayer* create(); - - void onClose(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class DialogDelegate { - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate { - // virtual ~DialogLayer(); - - static DialogLayer* create(DialogObject*, int); - - TodoReturn addToMainScene(); - TodoReturn animateIn(DialogAnimationType) = win 0x9b3d0; - TodoReturn animateInDialog(); - TodoReturn animateInRandomSide(); - TodoReturn createDialogLayer(DialogObject*, cocos2d::CCArray*, int); - TodoReturn createWithObjects(cocos2d::CCArray*, int); - TodoReturn displayDialogObject(DialogObject*); - TodoReturn displayNextObject(); - TodoReturn finishCurrentAnimation(); - TodoReturn handleDialogTap(); - bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x9a800; - TodoReturn onClose(); - TodoReturn updateChatPlacement(DialogChatPlacement); - TodoReturn updateNavButtonFrame(); - - virtual void onEnter(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - // virtual ~DialogObject(); - - static DialogObject* create(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a480; - - bool init(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a5c0; -} - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - // virtual ~DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - TodoReturn addAudioLineObject(AudioLineGuideGameObject*); - TodoReturn addToEffects(EffectGameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(EffectGameObject*); - TodoReturn getPortalMinMax(GameObject*); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - TodoReturn loadTimeMarkers(gd::string); - TodoReturn posForTime(float); - TodoReturn postUpdate(); - TodoReturn removeAudioLineObject(AudioLineGuideGameObject*); - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(EffectGameObject*); - TodoReturn sortSpeedObjects(); - TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, bool, bool, int); - TodoReturn updateMusicGuideTime(float); - TodoReturn updateTimeMarkers(); - - virtual void update(float); - virtual void draw(); -} - -[[link(android)]] -class DungeonBarsSprite : cocos2d::CCNode { - // virtual ~DungeonBarsSprite(); - - static DungeonBarsSprite* create(); - - TodoReturn animateOutBars(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class DynamicBitset { - TodoReturn resize(unsigned int); -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual TodoReturn pure_virtual_00a34a60() {} // TODO: figure out what function this is -} - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - void loadFromItems(cocos2d::CCArray*, int, int, bool); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - TodoReturn reloadItems(int, int); -} - -[[link(android)]] -class EditGameObjectPopup : SetupTriggerPopup { - // virtual ~EditGameObjectPopup(); - - static EditGameObjectPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - // virtual ~EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*); - - TodoReturn closeTextInputs(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmMoveToTop(cocos2d::CCObject*); - bool init(GJGameLevel*) = win 0x9C7F0; - void onBack(cocos2d::CCObject* sender); - TodoReturn onClone(); - TodoReturn onDelete(); - void onEdit(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - TodoReturn onMoveToTop(); - void onPlay(cocos2d::CCObject* sender); - void onSetFolder(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onTest(cocos2d::CCObject* sender); - void onUpdateDescription(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_folderLabel; - bool m_unk; - bool m_lowDetailModeTriggered; - GJLevelType m_levelType; -} - -[[link(android)]] -class EditorOptionsLayer : GJOptionsLayer { - // virtual ~EditorOptionsLayer(); - - static EditorOptionsLayer* create(); - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn setupOptions(); -} - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - // virtual ~EditorPauseLayer(); - - static EditorPauseLayer* create(LevelEditorLayer*); - - TodoReturn doResetUnused(); - bool init(LevelEditorLayer*) = win 0x9ff50; - void onAlignX(cocos2d::CCObject* sender); - void onAlignY(cocos2d::CCObject* sender); - void onBuildHelper(cocos2d::CCObject* sender); - void onCopyWColor(cocos2d::CCObject* sender); - void onCreateExtras(cocos2d::CCObject* sender); - void onCreateLoop(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNewGroupX(cocos2d::CCObject* sender); - void onNewGroupY(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onPasteWColor(cocos2d::CCObject* sender); - void onReGroup(cocos2d::CCObject* sender); - void onResetUnusedColors(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); - void onSaveAndExit(cocos2d::CCObject* sender); - void onSaveAndPlay(cocos2d::CCObject* sender); - void onSelectAll(cocos2d::CCObject* sender); - void onSelectAllLeft(cocos2d::CCObject* sender); - void onSelectAllRight(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - void onUnlockAllLayers(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - void saveLevel(); - TodoReturn toggleDebugDraw(cocos2d::CCObject*); - TodoReturn toggleEditorBackground(cocos2d::CCObject*); - TodoReturn toggleEditorColorMode(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*); - TodoReturn toggleEditorGround(cocos2d::CCObject*); - TodoReturn toggleEffectDuration(cocos2d::CCObject*); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleHideInvisible(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn togglePreviewAnim(cocos2d::CCObject*); - TodoReturn togglePreviewParticles(cocos2d::CCObject*); - TodoReturn togglePreviewShaders(cocos2d::CCObject*); - TodoReturn toggleRecordOrder(cocos2d::CCObject*); - TodoReturn toggleSelectFilter(cocos2d::CCObject*); - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*); - TodoReturn updateSongButton(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup() = win 0xa0660; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, GJTransformControlDelegate, MusicDownloadDelegate, SetIDPopupDelegate { - // virtual ~EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*); - TodoReturn activateScaleControl(cocos2d::CCObject*); - TodoReturn activateTransformControl(cocos2d::CCObject*); - TodoReturn addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn alignObjects(cocos2d::CCArray*, bool); - TodoReturn applyOffset(GameObject*); - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn arrayContainsClass(cocos2d::CCArray*, int); - TodoReturn assignNewGroups(bool); - TodoReturn canAllowMultiActivate(GameObject*, cocos2d::CCArray*); - TodoReturn canSelectObject(GameObject*); - TodoReturn centerCameraOnObject(GameObject*); - TodoReturn changeSelectedObjects(cocos2d::CCArray*, bool); - TodoReturn checkDiffAfterTransformAnchor(cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn checkLiveColorSelect(); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn closeLiveColorSelect(); - TodoReturn closeLiveHSVSelect(); - TodoReturn colorSelectClosed(cocos2d::ccColor3B); - TodoReturn constrainGameLayerPosition(); - TodoReturn constrainGameLayerPosition(float, float); - TodoReturn convertKeyBasedOnNeighbors(int, int, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn convertToBaseKey(int); - TodoReturn copyObjects(cocos2d::CCArray*, bool, bool); - TodoReturn copyObjectsDetailed(cocos2d::CCArray*); - TodoReturn createCustomItems(); - TodoReturn createEdgeForObject(GameObject*, int); - TodoReturn createExtraObject(int, cocos2d::CCPoint, GameObject*, cocos2d::CCArray*, int, int); - TodoReturn createExtras(cocos2d::CCArray*); - TodoReturn createExtrasForObject(int, GameObject*, cocos2d::CCArray*); - TodoReturn createGlow(); - TodoReturn createLoop(); - TodoReturn createMoveMenu(); - TodoReturn createNewKeyframeAnim(); - TodoReturn createObject(int, cocos2d::CCPoint); - TodoReturn createOutlines(cocos2d::CCArray*); - TodoReturn createPrefab(GJSmartTemplate*, gd::string, int); - TodoReturn createRockBases(cocos2d::CCArray*); - TodoReturn createRockEdges(cocos2d::CCArray*); - TodoReturn createSmartObjectsFromTemplate(GJSmartTemplate*, cocos2d::CCArray*, bool, bool, bool, bool); - TodoReturn createSmartObjectsFromType(int, cocos2d::CCArray*, bool, bool); - TodoReturn createUndoObject(UndoCommand, bool); - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateRotationControl(); - TodoReturn deactivateScaleControl(); - TodoReturn deactivateTransformControl(); - TodoReturn deleteObject(GameObject*, bool); - TodoReturn deleteSmartBlocksFromObjects(cocos2d::CCArray*); - TodoReturn deleteTypeFromObjects(int, cocos2d::CCArray*); - TodoReturn deselectAll() = win 0xc9510; - TodoReturn deselectObject(); - TodoReturn deselectObject(GameObject*); - TodoReturn deselectObjectsColor(); - TodoReturn deselectTargetPortals(); - TodoReturn disableButton(CreateMenuItem*); - TodoReturn doCopyObjects(bool); - TodoReturn doPasteInPlace(bool); - TodoReturn doPasteObjects(bool); - TodoReturn dynamicGroupUpdate(bool); - TodoReturn edgeForObject(int, int); - TodoReturn editButton2Usable() = win 0xD1510; - TodoReturn editButtonUsable() = win 0xD0E30; - TodoReturn editColor() = win 0xD41D0; - TodoReturn editColorButtonUsable() = win 0xD3E10; - TodoReturn editGroup(cocos2d::CCObject*) = win 0xD47E0; - TodoReturn editHSV() = win 0xD4660; - TodoReturn editObject(cocos2d::CCObject*) = win 0xD2900; - TodoReturn editObject2(cocos2d::CCObject*) = win 0xD3770; - TodoReturn editObject3(cocos2d::CCObject*); - TodoReturn editObjectSpecial(int) = win 0xD3780; - TodoReturn editorLayerForArray(cocos2d::CCArray*, bool); - TodoReturn enableButton(CreateMenuItem*); - TodoReturn findAndSelectObject(int, bool); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn findTriggerTest(); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getCreateBtn(int, int); - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditColorTargets(ColorAction*&, ColorAction*&, EffectGameObject*&) = win 0xD3FD0; - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getGroupCenter(cocos2d::CCArray*, bool); - TodoReturn getGroupInfo(GameObject*, cocos2d::CCArray*, int&, int&, int&); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getModeBtn(char const*, int); - TodoReturn getNeighbor(int, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getRandomStartKey(int); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSelectedObjects(); - TodoReturn getSimpleButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getSmartNeighbor(SmartGameObject*, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getSmartObjectKey(int, GJSmartDirection); - TodoReturn getSnapAngle(GameObject*, cocos2d::CCArray*); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - TodoReturn getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getTransformState(); - TodoReturn getXMin(int) = win 0xd8070; - bool init(LevelEditorLayer*) = win 0xa4130; - bool isLiveColorSelectTrigger(GameObject*); - bool isSpecialSnapObject(int); - TodoReturn liveEditColorUsable(); - TodoReturn menuItemFromObjectString(gd::string, int); - TodoReturn moveForCommand(EditCommand); - TodoReturn moveGamelayer(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, cocos2d::CCPoint); - TodoReturn moveObjectCall(cocos2d::CCObject*); - TodoReturn moveObjectCall(EditCommand); - TodoReturn offsetForKey(int); - TodoReturn onAssignNewGroupID(); - void onColorFilter(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onCopyState(cocos2d::CCObject* sender); - TodoReturn onCreate(); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onDelete(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender) = win 0xD3F70; - void onFindObject(cocos2d::CCObject* sender); - void onGoToBaseLayer(cocos2d::CCObject* sender); - void onGoToLayer(cocos2d::CCObject* sender); - void onGroupDown(cocos2d::CCObject* sender); - void onGroupIDFilter(cocos2d::CCObject* sender); - void onGroupSticky(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - void onLockLayer(cocos2d::CCObject* sender); - void onNewCustomItem(cocos2d::CCObject* sender) = win 0xa8090; - void onPaste(cocos2d::CCObject* sender); - void onPasteColor(cocos2d::CCObject* sender); - void onPasteInPlace(cocos2d::CCObject* sender); - void onPasteState(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0xa6000; - void onPlayback(cocos2d::CCObject* sender) = win 0xc9c30; - void onPlaytest(cocos2d::CCObject* sender) = win 0xc9f90; - void onResetSpecialFilter(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender) = win 0xca100; - TodoReturn onTargetIDChange(int); - TodoReturn onToggleGuide(EffectGameObject*); - TodoReturn onToggleSelectedOrder(EffectGameObject*); - void onUngroupSticky(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - TodoReturn pasteObjects(gd::string, bool); - TodoReturn playCircleAnim(cocos2d::CCPoint, float, float); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped() = win 0xca140; - TodoReturn positionIsInSnapped(cocos2d::CCPoint); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn processSelectObjects(cocos2d::CCArray*); - TodoReturn processSmartObjectsFromType(int, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn recreateButtonTabs(); - TodoReturn redoLastAction(cocos2d::CCObject*); - TodoReturn reloadCustomItems(); - TodoReturn removeOffset(GameObject*); - TodoReturn replaceGroupID(GameObject*, int, int); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool); - TodoReturn resetObjectEditorValues(cocos2d::CCArray*); - TodoReturn resetSelectedObjectsColor(); - TodoReturn resetUI(); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn rotationforCommand(EditCommand); - TodoReturn scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType) = win 0xd6510; - TodoReturn selectAll(); - TodoReturn selectAllWithDirection(bool); - TodoReturn selectBuildTab(int); - TodoReturn selectObject(GameObject*, bool); - TodoReturn selectObjects(cocos2d::CCArray*, bool); - TodoReturn selectObjectsInRect(cocos2d::CCRect); - TodoReturn setupCreateMenu() = win 0xAB150; - TodoReturn setupDeleteMenu(); - TodoReturn setupEditMenu(); - TodoReturn setupTransformControl(); - TodoReturn shouldDeleteObject(GameObject*); - TodoReturn shouldSnap(GameObject*); - TodoReturn showDeleteConfirmation(); - TodoReturn showLiveColorSelectForMode(int); - TodoReturn showLiveColorSelectForModeSpecial(int); - TodoReturn showMaxBasicError(); - TodoReturn showMaxCoinError(); - TodoReturn showMaxError(); - TodoReturn showUI(bool); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn smartTypeForKey(int); - TodoReturn spriteFromObjectString(gd::string, bool, bool, int, cocos2d::CCArray*, cocos2d::CCArray*, GameObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton() = win 0xD17F0; - TodoReturn toggleEnableRotate(cocos2d::CCObject*); - TodoReturn toggleFreeMove(cocos2d::CCObject*); - TodoReturn toggleLockUI(bool); - TodoReturn toggleMode(cocos2d::CCObject*); - TodoReturn toggleObjectInfoLabel(); - TodoReturn toggleSnap(cocos2d::CCObject*); - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleStickyControls(bool); - TodoReturn toggleSwipe(cocos2d::CCObject*); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn transformObjectCall(EditCommand); - TodoReturn transformObjects(cocos2d::CCArray*, cocos2d::CCPoint, float, float, float, float, float, float); - TodoReturn transformObjectsActive(); - TodoReturn transformObjectsReset(); - TodoReturn triggerSwipeMode(); - TodoReturn tryUpdateTimeMarkers(); - TodoReturn undoLastAction(cocos2d::CCObject*); - TodoReturn updateButtons() = win 0xA61E0; - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditButtonColor(int, cocos2d::ccColor3B); - TodoReturn updateEditColorButton(); - TodoReturn updateEditMenu(); - TodoReturn updateGridNodeSize(); - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDBtn2(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateObjectInfoLabel(); - TodoReturn updatePlaybackBtn() = win 0xc9e80; - TodoReturn updateSlider(); - TodoReturn updateSpecialUIElements(); - TodoReturn updateZoom(float) = win 0xca2d0; - TodoReturn valueFromXPos(float) = win 0xa6cf0; - TodoReturn xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*); - TodoReturn zoomOut(cocos2d::CCObject*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn getUI(); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn transformChangeBegin(); - virtual TodoReturn transformChangeEnded(); - virtual TodoReturn getTransformNode(); - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn songStateChanged(); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void scrollWheel(float, float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); - virtual TodoReturn angleChanged(float); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual TodoReturn scaleXYChanged(float, float) = win 0xcc4c0; - - PAD = android32 0xd4; - EditButtonBar* m_editButtonBar; - - PAD = android32 0x30; - - cocos2d::CCArray* m_selectedObjects; - - // all of these are not tested - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x10, win 0x8, android32 0x8; - int m_selectedCreateObjectID; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; - LevelEditorLayer* m_editorLayer; - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android32 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - PAD = mac 0x8, win 0x8, android32 0x8; - - PAD = android32 0x8; - GameObject* m_selectedObject; -} - -[[link(android)]] -class EditTriggersPopup : SetupTriggerPopup { - // virtual ~EditTriggersPopup(); - - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EffectGameObject : EnhancedGameObject { - // virtual ~EffectGameObject(); - // EffectGameObject(); - - static EffectGameObject* create(char const*); - - TodoReturn getTargetColorIndex(); - bool init(char const*); - TodoReturn playTriggerEffect() = win 0x399910; - TodoReturn resetSpawnTrigger(); - void setTargetID(int); - void setTargetID2(int); - TodoReturn triggerEffectFinished(); - TodoReturn updateInteractiveHover(float); - TodoReturn updateSpecialColor(); - TodoReturn updateSpeedModType(); - - virtual void setOpacity(unsigned char); - virtual void firstSetup(); - virtual TodoReturn customSetup() = win 0x39b7f0; - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x399b90; - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - - cocos2d::ccColor3B m_triggerTargetColor; - // property 10 - float m_duration; - // property 35 - float m_opacity; - PAD = android32 0x4; - // property 51 - int m_targetGroupID; - // property 71 - int m_centerGroupID; - // property 11 - bool m_isTouchTriggered; - // property 62 - bool m_isSpawnTriggered; - // property 369 - bool m_hasCenterEffect; - // property 75 - float m_shakeStrength; - // property 84 - float m_shakeInterval; - // property 14 - bool m_tintGround; - // property 15 - bool m_usesPlayerColor1; - // property 16 - bool m_usesPlayerColor2; - // property 17 - bool m_usesBlending; - // property 28 - float m_moveOffsetX; - // property 29 - float m_moveOffsetY; - // property 30 - EasingType m_easingType; - // property 85 - float m_easingRate; - // property 58 - bool m_lockToPlayerX; - // property 59 - bool m_lockToPlayerY; - // property 141 - bool m_lockToCameraX; - // property 142 - bool m_lockToCameraY; - // property 100 - bool m_useMoveTarget; - // property 101 - MoveTargetType m_moveTargetMode; - // property 143 - float m_moveModX; - // property 144 - float m_moveModY; - // property 393 - bool m_property393; - // property 394 - bool m_isDirectionFollowSnap360; // TODO: pls find a better name for this why rob - // property 395 - int m_targetModCenterID; - // property 396 - float m_directionModeDistance; - // property 397 - bool m_isDynamicMode; - // property 544 - bool m_isSilent; - PAD = android32 0x6; - // property 68 - float m_rotationDegrees; - // property 69 - int m_times360; - // property 70 - bool m_lockObjectRotation; - // property 401 - int m_rotationTargetID; - // property 402 - float m_rotationOffset; - // property 403 - EasingType m_dynamicModeEasing; - // property 72 - float m_followXMod; - // property 73 - float m_followYMod; - // property 90 - float m_followYSpeed; - // property 91 - float m_followYDelay; - // property 92 - int m_followYOffset; - // property 105 - float m_followYMaxSpeed; - // property 45 - float m_fadeInDuration; - // property 46 - float m_holdDuration; - // property 47 - float m_fadeOutDuration; - // property 48 - int m_pulseMode; - // property 52 - int m_pulseTargetType; - // property 49 - cocos2d::ccHSVValue m_hsvValue; - // property 50 - int m_copyColorID; - // property 60 - bool m_copyOpacity; - // property 65 - bool m_pulseMainOnly; - // property 66 - bool m_pulseDetailOnly; - // property 86 - bool m_pulseExclusive; - // property 210 - bool m_property210; - // property 56 - bool m_activateGroup; - // property 81 - bool m_touchHoldMode; - // property 82 - TouchToggleMode m_touchToggleMode; - // property 198 - int m_touchPlayerMode; // TODO: add enum - // property 89 - bool m_isDualMode; - // property 76 - int m_animationID; - PAD = android32 0x8; - // property 87 - bool m_isMultiActivate; - PAD = android32 0x2; - // property 93 - bool m_triggerOnExit; - // property 95 - int m_itemID2; - // property 534 - int m_property534; - PAD = android32 0x4; - // property 80 - int m_itemID; - // property 138 - bool m_targetPlayer1; - // property 200 - bool m_targetPlayer2; - // property 201 - bool m_followCPP; - // property 78 - bool m_subtractCount; - // property 381 - bool m_collectibleIsPickupItem; - // property 382 - bool m_collectibleIsToggleTrigger; - // property 440 - int m_collectibleParticleID; - // property 383 - int m_collectiblePoints; - // property 463 - bool m_hasNoAnimation; - PAD = android32 0x1f; - // property 148 - float m_gravityValue; - // property 284 - bool m_isSinglePTouch; - PAD = android32 0x3; - // property 371 - float m_zoomValue; - // property 111 - bool m_cameraIsFreeMode; - // property 112 - bool m_cameraEditCameraSettings; - // property 113 - float m_cameraEasingValue; - // property 114 - float m_cameraPaddingValue; - // property 370 - bool m_cameraDisableGridSnap; - // property 118 - bool m_property118; - // property 120 - float m_timeWarpTimeMod; - // property 13 - bool m_showGamemodeBorders; - // property 115 - int m_ordValue; - // property 170 - int m_channelValue; - // property 117 - bool m_isReverse; - PAD = android32 0xb; - // property 12 - int m_secretCoinID; - PAD = android32 0x1c; - // property 280 - bool m_ignoreGroupParent; - // property 281 - bool m_ignoreLinkedObjects; - PAD = android32 0x1; -} - -[[link(android)]] -class EffectManagerState { - // ~EffectManagerState(); - // EffectManagerState(); -} - -[[link(android)]] -class EndLevelLayer : GJDropDownLayer { - // virtual ~EndLevelLayer(); - - static EndLevelLayer* create(); - - TodoReturn coinEnterFinished(cocos2d::CCPoint); - TodoReturn coinEnterFinishedO(cocos2d::CCObject*); - TodoReturn currencyEnterFinished(); - TodoReturn diamondEnterFinished(); - TodoReturn getCoinString() = win 0xe8940; - TodoReturn getEndText() = win 0xea2e0; - TodoReturn goEdit(); - void onEdit(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender) = win 0xe8e00; - void onReplay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(float); - TodoReturn playCurrencyEffect(float); - TodoReturn playDiamondEffect(float); - TodoReturn playEndEffect(); - void playStarEffect(float) = win 0xe9070; - TodoReturn starEnterFinished(); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup() = win 0xe73e0; - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class EndPortalObject : GameObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create(); - - TodoReturn getSpawnPos() = win 0xeb6b0; - TodoReturn triggerObject(GJBaseGameLayer*) = win 0xeb630; - TodoReturn updateColors(cocos2d::ccColor3B) = win 0xeb520; - TodoReturn updateEndPos(bool) = win 0xeb890; - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); -} - -[[link(android)]] -class EndTriggerGameObject : EffectGameObject { - // virtual ~EndTriggerGameObject(); - - static EndTriggerGameObject* create(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnhancedGameObject : GameObject { - // virtual ~EnhancedGameObject(); - // EnhancedGameObject(); - - static EnhancedGameObject* create(char const*); - - TodoReturn createRotateAction(float, int); - bool init(char const*); - TodoReturn previewAnimateOnTrigger(); - TodoReturn refreshRotateAction(); - TodoReturn resetSyncedAnimation(); - TodoReturn setupAnimationVariables(); - TodoReturn triggerAnimation(); - TodoReturn updateRotateAction(float); - TodoReturn updateState(int); - TodoReturn updateUserCoin() = win 0x1465c0; - TodoReturn waitForAnimationTrigger(); - - virtual TodoReturn customSetup(); - virtual TodoReturn resetObject() = win 0x144720; - virtual TodoReturn deactivateObject(bool); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn powerOnObject(int); - virtual TodoReturn powerOffObject(); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - PAD = android32 0x25; - - bool m_hasCustomAnimation; - bool m_hasCustomRotation; - // property 98 - bool m_disableRotation; - PAD = android32 0x3; - - // property 97 - float m_rotationSpeed; - PAD = android32 0xc; - - // property 106 - bool m_animationRandomizedStart; - // property 107 - float m_animationSpeed; - // property 122 - bool m_animationShouldUseSpeed; - // property 123 - bool m_animateOnTrigger; - // property 126 - bool m_disableDelayedLoop; - // property 127 - bool m_disableAnimShine; - // property 462 - int m_singleFrame; - // property 592 - bool m_animationOffset; - PAD = android32 0xf; - - // property 214 - bool m_animateOnlyWhenActive; - // property 444 - bool m_isNoMultiActivate; // used in platformer stuff - // property 99 - bool m_isMultiActivate; - PAD = android32 0x4; -} - -[[link(android)]] -class EnhancedTriggerObject : EffectGameObject { - // virtual ~EnhancedTriggerObject(); - - static EnhancedTriggerObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectInstance { - // ~EnterEffectInstance(); - // EnterEffectInstance(EnterEffectInstance const&); - // EnterEffectInstance(EnterEffectInstance&&); - EnterEffectInstance(EnterEffectObject*, int, int, int, int, int, int); - - TodoReturn animateValue(int, float, float, float, int, float, int); - TodoReturn getValue(int); - TodoReturn loadTransitions(EnterEffectObject*, float); - TodoReturn loadValuesFromObject(EnterEffectObject*); - void setValue(int, float); - TodoReturn updateTransitions(float, GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectObject : EffectGameObject { - // virtual ~EnterEffectObject(); - - static EnterEffectObject* create(char const*); - - bool init(char const*); - TodoReturn resetEnterAnimValues(); - - virtual TodoReturn customSetup(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EventLinkTrigger : EffectGameObject { - // virtual ~EventLinkTrigger(); - - static EventLinkTrigger* create(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ExplodeItemNode : cocos2d::CCNode { - // virtual ~ExplodeItemNode(); - - static ExplodeItemNode* create(cocos2d::CCRenderTexture*); - - TodoReturn createSprites(int, int, float, float, float, float, float, float, cocos2d::ccColor4F, cocos2d::ccColor4F, bool); - bool init(cocos2d::CCRenderTexture*); - - virtual void update(float); -} - -[[link(android)]] -class ExplodeItemSprite : cocos2d::CCSprite { - // virtual ~ExplodeItemSprite(); - - static ExplodeItemSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ExtendedLayer : cocos2d::CCLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create(); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); -} - -[[link(android)]] -class FileOperation { - TodoReturn getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class FileSaveManager : GManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class FindBPMLayer : CreateGuidelinesLayer { - // virtual ~FindBPMLayer(); - - static FindBPMLayer* create(int); - - TodoReturn calculateBPM(); - bool init(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender); - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class FindObjectPopup : SetIDPopup { - // virtual ~FindObjectPopup(); - - static FindObjectPopup* create(); - - void onFindObjectID(cocos2d::CCObject* sender); - - virtual bool init(); -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - // virtual ~FLAlertLayer(); - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - m_forcePrioRegistered = false; - } - - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30da0; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float) = win 0x30cf0; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*) = win 0x30c40; - - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - TodoReturn incrementForcePrio(); - bool init(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30f40; - bool init(int) = win 0x30ea0; - void onBtn1(cocos2d::CCObject* sender) = win 0x31a80; - void onBtn2(cocos2d::CCObject* sender) = win 0x31ac0; - - // virtual void onEnter(); // only exists on armv7... - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31b00; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c50; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31b90; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c00; - virtual void registerWithTouchDispatcher() = win 0x31e30; - virtual void keyBackClicked() = win 0x319e0; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x31970; - virtual void show() = win 0x31ca0; - - cocos2d::CCMenu* m_buttonMenu; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_controlConnected; - bool m_containsBorder; - bool m_noAction; - int m_joystickConnected; - bool m_forcePrioRegistered; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - // virtual ~FMODAudioEngine(); - // FMODAudioEngine(); - - static FMODAudioEngine* sharedEngine() = win 0x32bc0; - - TodoReturn activateQueuedMusic(int); - TodoReturn channelForChannelID(int); - TodoReturn channelForUniqueID(int); - TodoReturn channelIDForUniqueID(int); - TodoReturn channelLinkSound(int, FMODSound*); - TodoReturn channelStopped(FMOD::Channel*, bool); - TodoReturn channelUnlinkSound(int); - TodoReturn clearAllAudio(); - TodoReturn countActiveEffects(); - TodoReturn countActiveMusic(); - TodoReturn createStream(gd::string) = win 0x3ae60; - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeInBackgroundMusic(float); - TodoReturn fadeInMusic(float, int); - TodoReturn fadeOutMusic(float, int); - TodoReturn getActiveMusic(int) = win 0x3a900; - TodoReturn getActiveMusicChannel(int); - TodoReturn getBackgroundMusicVolume(); - TodoReturn getChannelGroup(int, bool) = win 0x35210; - TodoReturn getEffectsVolume(); - TodoReturn getFMODStatus(int) = win 0x3b0b0; - TodoReturn getMeteringValue(); - TodoReturn getMusicChannelID(int); - TodoReturn getMusicLengthMS(int) = win 0x3a530; - TodoReturn getMusicTime(int); - TodoReturn getMusicTimeMS(int); - TodoReturn getNextChannelID(); - TodoReturn getTweenContainer(AudioTargetType); - bool isChannelStopping(int); - bool isEffectLoaded(gd::string); - bool isMusicPlaying(gd::string, int); - bool isMusicPlaying(int); - bool isSoundReady(FMOD::Sound*); - TodoReturn lengthForSound(gd::string); - TodoReturn loadAndPlayMusic(gd::string, unsigned int, int); - TodoReturn loadAudioState(FMODAudioState&) = win 0x33fd0; - TodoReturn loadMusic(gd::string, float, float, float, bool, int, int); - TodoReturn loadMusic(gd::string); - TodoReturn pauseAllAudio(); - TodoReturn pauseAllEffects(); - TodoReturn pauseAllMusic() = win 0x38310; - TodoReturn pauseEffect(unsigned int); - TodoReturn pauseMusic(int); - TodoReturn pitchForIdx(int) = win 0x350b0; - TodoReturn playEffect(gd::string, float, float, float) = win 0x355f0; - TodoReturn playEffect(gd::string); - TodoReturn playEffectAdvanced(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, bool, int, int, float, int); - TodoReturn playEffectAsync(gd::string); - TodoReturn playMusic(gd::string, bool, float, int); - TodoReturn preloadEffect(gd::string) = win 0x379d0; - TodoReturn preloadEffectAsync(gd::string); - TodoReturn preloadMusic(gd::string, bool, int); - TodoReturn printResult(FMOD_RESULT); - TodoReturn queuedEffectFinishedLoading(gd::string) = win 0x391b0; - TodoReturn queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int); - TodoReturn queueStartMusic(gd::string, float, float, float, bool, int, int, int, int, int, bool, int, bool); - TodoReturn registerChannel(FMOD::Channel*, int, int) = win 0x363e0; - TodoReturn releaseRemovedSounds(); - TodoReturn resumeAllAudio(); - TodoReturn resumeAllEffects(); - TodoReturn resumeAllMusic() = win 0x38360; - TodoReturn resumeAudio(); - TodoReturn resumeEffect(unsigned int); - TodoReturn resumeMusic(int); - TodoReturn reverbToString(FMODReverbPreset); - TodoReturn saveAudioState(FMODAudioState&) = win 0x33b50; - void setBackgroundMusicVolume(float); - void setChannelPitch(int, AudioTargetType, float) = win 0x37870; - void setChannelVolume(int, AudioTargetType, float); - void setChannelVolumeMod(int, AudioTargetType, float); - void setEffectsVolume(float); - void setMusicTimeMS(unsigned int, bool, int) = win 0x3a3b0; - TodoReturn setup() = win 0x32c40; - TodoReturn setupAudioEngine() = win 0x32f60; - TodoReturn start() = win 0x33800; - TodoReturn startMusic(int, int, int, int, bool, int); - TodoReturn stop() = win 0x5b620; - void stopAllEffects() = win 0x37f50; - void stopAllMusic(); - TodoReturn stopAndGetFade(FMOD::Channel*); - TodoReturn stopAndRemoveMusic(int); - TodoReturn stopChannel(FMOD::Channel*, bool, float); - TodoReturn stopChannel(int, AudioTargetType, bool, float); - TodoReturn stopChannel(int); - TodoReturn stopChannelTween(int, AudioTargetType, AudioModType); - TodoReturn stopChannelTweens(int, AudioTargetType); - TodoReturn stopMusic(int); - TodoReturn stopMusicNotInSet(std::unordered_set, std::equal_to, std::allocator >&); - TodoReturn storeEffect(FMOD::Sound*, gd::string) = win 0x37bc0; - TodoReturn swapMusicIndex(int, int); - TodoReturn testFunction(int); - TodoReturn triggerQueuedMusic(FMODQueuedMusic); - TodoReturn unloadAllEffects() = win 0x380f0; - TodoReturn unloadEffect(gd::string); - TodoReturn unregisterChannel(int); - TodoReturn updateBackgroundFade(); - TodoReturn updateChannel(int, AudioTargetType, AudioModType, float, float) = win 0x371c0; - TodoReturn updateChannelTweens(float) = win 0x34da0; - TodoReturn updateMetering(); - TodoReturn updateQueuedEffects() = win 0x390e0; - TodoReturn updateQueuedMusic(); - TodoReturn updateReverb(FMODReverbPreset, bool) = win 0x331f0; - TodoReturn updateTemporaryEffects(); - TodoReturn waitUntilSoundReady(FMOD::Sound*); - - virtual void update(float) = win 0x33950; - - PAD = win 0x88, android32 0x7c, android64 0xdc; - FMOD::System* m_system; -} - -[[link(android)]] -class FMODAudioState { - // ~FMODAudioState(); - // FMODAudioState(); -} - -[[link(android)]] -class FMODLevelVisualizer : cocos2d::CCNode { - // virtual ~FMODLevelVisualizer(); - - static FMODLevelVisualizer* create(); - - TodoReturn updateVisualizer(float, float, float); - - virtual bool init(); -} - -[[link(android)]] -class FollowRewardPage : FLAlertLayer, FLAlertLayerProtocol, GameRateDelegate, RewardedVideoDelegate { - // virtual ~FollowRewardPage(); - - static FollowRewardPage* create(); - - void onClose(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class FontObject : cocos2d::CCObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class ForceBlockGameObject : EffectGameObject { - // virtual ~ForceBlockGameObject(); - - static ForceBlockGameObject* create(char const*); - - TodoReturn calculateForceToTarget(GameObject*); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class FRequestProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, FriendRequestDelegate { - // virtual ~FRequestProfilePage(); - - static FRequestProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool) = win 0xeef10; - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestDelegate { - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestPopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~FriendRequestPopup(); - - static FriendRequestPopup* create(GJFriendRequest*); - - void blockUser(); - bool init(GJFriendRequest*); - void loadFromGJFriendRequest(GJFriendRequest*); - void onAccept(cocos2d::CCObject* sender); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - // virtual ~FriendsProfilePage(); - - static FriendsProfilePage* create(UserListType); - - bool init(UserListType) = win 0xf0990; - void onBlocked(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupUsersBrowser(cocos2d::CCArray*, UserListType); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class GameCell : TableViewCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - void loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GameEffectsManager : cocos2d::CCNode { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - // virtual ~GameLevelManager(); - - static GameLevelManager* sharedState() = win 0xF38F0; - - void acceptFriendRequest(int, int); - int accountIDForUserID(int); - void addDLToActive(char const*); - bool areGauntletsLoaded(); - void banUser(int); - void blockUser(int); - void cleanupDailyLevels() = win 0xf9090; - bool createAndGetAccountComments(gd::string, int); - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - cocos2d::CCArray* createAndGetLevelLists(gd::string); - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetMapPacks(gd::string); - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType); - TodoReturn createNewLevel(); - GJLevelList* createNewLevelList(); - TodoReturn createPageInfo(int, int, int); - GJSmartTemplate* createSmartTemplate(); - TodoReturn dataLoaded(DS_Dictionary*); - void deleteAccountComment(int, int); - void deleteComment(int, CommentType, int) = win 0x10a1f0; - void deleteFriendRequests(int, cocos2d::CCArray*, bool); - void deleteLevel(GJGameLevel*); - void deleteLevelComment(int, int); - void deleteLevelList(GJLevelList*); - void deleteSentFriendRequest(int); - void deleteServerLevel(int); - void deleteServerLevelList(int); - void deleteSmartTemplate(GJSmartTemplate*); - void deleteUserMessages(GJUserMessage*, cocos2d::CCArray*, bool); - void downloadLevel(int, bool) = win 0x100820; - void downloadUserMessage(int, bool); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup() = win 0x39b7d0; - void followUser(int); - GJFriendRequest* friendRequestFromAccountID(int); - void friendRequestWasRemoved(int, bool); - char const* getAccountCommentKey(int, int); - void getAccountComments(int, int, int); - int getActiveDailyID(GJTimedLevelType); - GJSmartTemplate* getActiveSmartTemplate(); - cocos2d::CCArray* getAllSmartTemplates(); - cocos2d::CCDictionary* getAllUsedSongIDs(); - TodoReturn getBasePostString() = win 0xfb1b0; - bool getBoolForKey(char const*) = win 0x111610; - TodoReturn getCommentKey(int, int, int, CommentKeyType); - cocos2d::CCArray* getCompletedLevels(bool) = win 0xf7680; - int getDailyID(GJTimedLevelType); - double getDailyTimer(GJTimedLevelType); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - char const* getDescKey(int); - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - char const* getDiffKey(int); - bool getDiffVal(int); - gd::string getFolderName(int, bool); - char const* getFriendRequestKey(bool, int); - void getFriendRequests(bool, int, int); - char const* getGauntletKey(int); - void getGauntletLevels(int) = win 0x100460; - void getGauntlets(); - void getGauntletsearchKey(int); - void getGJChallenges(); - void getGJDailyLevelState(GJTimedLevelType) = win 0x10ff40; - void getGJRewards(int); - void getGJUserInfo(int) = win 0x106070; - int getHighestLevelOrder(); - int getIntForKey(char const*); - void getLeaderboardScores(char const*); - gd::string getLengthStr(bool, bool, bool, bool, bool, bool); - char const* getLenKey(int); - bool getLenVal(int); - void getLevelComments(int, int, int, int, CommentKeyType); - char const* getLevelDownloadKey(int, bool); - char const* getLevelKey(int); - void getLevelLeaderboard(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x104c80; - char const* getLevelLeaderboardKey(int, LevelLeaderboardType, LevelLeaderboardMode); - char const* getLevelListKey(int); - void getLevelLists(GJSearchObject*) = win 0xFF400; - void getLevelSaveData(); - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - char const* getLikeItemKey(LikeItemType, int, bool, int); - GJGameLevel* getLocalLevel(int); - GJGameLevel* getLocalLevelByName(gd::string); - GJLevelList* getAllUsedSongIDs(int); - int getLowestLevelOrder(); - TodoReturn getMainLevel(int, bool) = win 0xf4c40; - char const* getMapPackKey(int); - void getMapPacks(GJSearchObject*); - char const* getMessageKey(int); - char const* getMessagesKey(bool, int); - void getNews(); - int getNextFreeTemplateID(); - gd::string getNextLevelName(gd::string); - void getOnlineLevels(GJSearchObject*) = win 0xfc8b0; - char const* getPageInfo(char const*); - char const* getPostCommentKey(int); - char const* getRateStarsKey(int); - char const* getReportKey(int); - TodoReturn getSavedDailyLevel(int); - GJGameLevel* getSavedDailyLevelFromLevelID(int); - GJMapPack* getSavedGauntlet(int); - GJGameLevel* getSavedGauntletLevel(int); - TodoReturn getSavedLevel(GJGameLevel*); - TodoReturn getSavedLevel(int); - GJLevelList* getSavedLevelList(int); - cocos2d::CCArray* getSavedLevelLists(int) = win 0xf7680; - TodoReturn getSavedLevels(bool, int) = win 0xf7230; - TodoReturn getSavedMapPack(int); - cocos2d::CCScene* getSearchScene(char const*); - int getSplitIntFromKey(char const*, int); - TodoReturn getStoredLevelComments(char const*); - cocos2d::CCArray* getStoredOnlineLevels(char const*) = win 0xf8320; - cocos2d::CCArray* getStoredUserList(UserListType); - GJUserMessage* getStoredUserMessage(int); - GJUserMessage* getStoredUserMessageReply(int); - double getTimeLeft(char const*, float); - void getTopArtists(int, int); - char const* getTopArtistsKey(int); - char const* getUploadMessageKey(int); - char const* getUserInfoKey(int); - void getUserList(UserListType); - void getUserMessages(bool, int, int); - void getUsers(GJSearchObject*); - void gotoLevelPage(GJGameLevel*); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0xf3d80; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool hasDailyStateBeenLoaded(GJTimedLevelType); - bool hasDownloadedLevel(int); - bool hasDownloadedList(int); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - bool hasLikedItem(LikeItemType, int, bool, int); - bool hasLikedItemFullCheck(LikeItemType, int, int) = win 0x10e5e0; - bool hasRatedDemon(int); - bool hasRatedLevelStars(int); - bool hasReportedLevel(int); - void invalidateMessages(bool, bool); - void invalidateRequests(bool, bool); - void invalidateUserList(UserListType, bool); - bool isDLActive(char const*); - bool isFollowingUser(int) = win 0xF9300; - bool isTimeValid(char const*, float); - bool isUpdateValid(int); - int itemIDFromLikeKey(char const*); - bool keyHasTimer(char const*); - int levelIDFromCommentKey(char const*); - int levelIDFromPostCommentKey(char const*); - int likeFromLikeKey(char const*); - void likeItem(LikeItemType, int, bool, int); - TodoReturn limitSavedLevels() = win 0xf8c00; - void makeTimeStamp(char const*) = win 0xf8760; - void markItemAsLiked(LikeItemType, int, bool, int); - void markLevelAsDownloaded(int); - void markLevelAsRatedDemon(int); - void markLevelAsRatedStars(int); - void markLevelAsReported(int); - void markListAsDownloaded(int); - void messageWasRemoved(int, bool); - TodoReturn onAcceptFriendRequestCompleted(gd::string, gd::string); - TodoReturn onBanUserCompleted(gd::string, gd::string); - TodoReturn onBlockUserCompleted(gd::string, gd::string); - TodoReturn onDeleteCommentCompleted(gd::string, gd::string) = win 0x10a540; - TodoReturn onDeleteFriendRequestCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelListCompleted(gd::string, gd::string) = win 0xff290; - TodoReturn onDeleteUserMessagesCompleted(gd::string, gd::string); - TodoReturn onDownloadLevelCompleted(gd::string, gd::string) = win 0x100C90; - TodoReturn onDownloadUserMessageCompleted(gd::string, gd::string); - TodoReturn onGetAccountCommentsCompleted(gd::string, gd::string); - TodoReturn onGetFriendRequestsCompleted(gd::string, gd::string); - TodoReturn onGetGauntletsCompleted(gd::string, gd::string) = win 0xffe60; - TodoReturn onGetGJChallengesCompleted(gd::string, gd::string); - TodoReturn onGetGJDailyLevelStateCompleted(gd::string, gd::string) = win 0x110140; - TodoReturn onGetGJRewardsCompleted(gd::string, gd::string); - TodoReturn onGetGJUserInfoCompleted(gd::string, gd::string) = win 0x1061d0; - TodoReturn onGetLeaderboardScoresCompleted(gd::string, gd::string); - TodoReturn onGetLevelCommentsCompleted(gd::string, gd::string); - TodoReturn onGetLevelLeaderboardCompleted(gd::string, gd::string); - TodoReturn onGetLevelListsCompleted(gd::string, gd::string) = win 0xff5f0; - TodoReturn onGetLevelSaveDataCompleted(gd::string, gd::string); - TodoReturn onGetMapPacksCompleted(gd::string, gd::string) = win 0xfde80; - TodoReturn onGetNewsCompleted(gd::string, gd::string) = win 0x107a00; - TodoReturn onGetOnlineLevelsCompleted(gd::string, gd::string) = win 0xfd070; - TodoReturn onGetTopArtistsCompleted(gd::string, gd::string) = win 0x105850; - TodoReturn onGetUserListCompleted(gd::string, gd::string); - TodoReturn onGetUserMessagesCompleted(gd::string, gd::string); - TodoReturn onGetUsersCompleted(gd::string, gd::string); - TodoReturn onLikeItemCompleted(gd::string, gd::string) = win 0x10dee0; - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRateDemonCompleted(gd::string, gd::string); - TodoReturn onRateStarsCompleted(gd::string, gd::string); - TodoReturn onReadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onRemoveFriendCompleted(gd::string, gd::string); - TodoReturn onReportLevelCompleted(gd::string, gd::string); - TodoReturn onRequestUserAccessCompleted(gd::string, gd::string); - TodoReturn onRestoreItemsCompleted(gd::string, gd::string); - TodoReturn onSetLevelFeaturedCompleted(gd::string, gd::string); - TodoReturn onSetLevelStarsCompleted(gd::string, gd::string); - TodoReturn onSubmitUserInfoCompleted(gd::string, gd::string); - TodoReturn onSuggestLevelStarsCompleted(gd::string, gd::string); - TodoReturn onUnblockUserCompleted(gd::string, gd::string); - TodoReturn onUpdateDescriptionCompleted(gd::string, gd::string); - TodoReturn onUpdateLevelCompleted(gd::string, gd::string); - TodoReturn onUpdateUserScoreCompleted(gd::string, gd::string); - TodoReturn onUploadCommentCompleted(gd::string, gd::string) = win 0x109a30; - TodoReturn onUploadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onUploadLevelCompleted(gd::string, gd::string) = win 0xfbfb0; - TodoReturn onUploadLevelListCompleted(gd::string, gd::string) = win 0xfef20; - TodoReturn onUploadUserMessageCompleted(gd::string, gd::string); - int pageFromCommentKey(char const*); - void parseRestoreData(gd::string); - void performNetworkTest() = win 0xf3970; - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = win 0xf3ae0; - void processOnDownloadLevelCompleted(gd::string, gd::string, bool) = win 0x100D60; - void purgeUnusedLevels(); - void rateDemon(int, int, bool); - void rateStars(int, int); - void readFriendRequest(int); - TodoReturn removeDelimiterChars(gd::string, bool); - TodoReturn removeDLFromActive(char const*); - void removeFriend(int); - void removeLevelDownloadedKeysFromDict(cocos2d::CCDictionary*); - void removeUserFromList(int, UserListType); - void reportLevel(int); - void requestUserAccess(); - TodoReturn resetAccountComments(int) = win 0x108910; - void resetAllTimers(); - TodoReturn resetCommentTimersForLevelID(int, CommentKeyType) = win 0x109fb0; - void resetDailyLevelState(GJTimedLevelType) = win 0x110600; - void resetGauntlets(); - inline void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetStoredUserList(UserListType); - void resetTimerForKey(char const*); - static cocos2d::CCDictionary* responseToDict(gd::string, bool); - void restoreItems(); - void saveFetchedLevelLists(cocos2d::CCArray*); - TodoReturn saveFetchedLevels(cocos2d::CCArray*); - void saveFetchedMapPacks(cocos2d::CCArray*); - void saveGauntlet(GJMapPack*); - void saveLevel(GJGameLevel*); - void saveLevelList(GJLevelList*); - void saveLocalScore(int, int, int); - void saveMapPack(GJMapPack*); - void setActiveSmartTemplate(GJSmartTemplate*); - void setBoolForKey(bool, char const*) = win 0x111550; - void setDiffVal(int, bool); - void setFolderName(int, gd::string, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int, bool); - void setLevelStars(int, int, bool); - int specialFromLikeKey(char const*); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void storeDailyLevelState(int, int, GJTimedLevelType); - void storeFriendRequest(GJFriendRequest*); - TodoReturn storeSearchResult(cocos2d::CCArray*, gd::string, char const*); - void storeUserInfo(GJUserScore*); - void storeUserMessage(GJUserMessage*); - void storeUserMessageReply(int, GJUserMessage*); - TodoReturn storeUserName(int, int, gd::string) = win 0xf6030; - void storeUserNames(gd::string); - void submitUserInfo(); - void suggestLevelStars(int, int, int); - gd::string tryGetUsername(int) = win 0xf6260; - CommentType typeFromCommentKey(char const*); - LikeItemType typeFromLikeKey(char const*); - void unblockUser(int); - void unfollowUser(int); - void updateDescription(int, gd::string); - void updateLevel(GJGameLevel*); - void updateLevelOrders() = win 0xf74e0; - void updateLevelRewards(GJGameLevel*); - void updateSavedLevelList(GJLevelList*); - void updateUsernames(); - void updateUserScore() = win 0x1036a0; - void uploadAccountComment(gd::string) = win 0x1092b0; - void uploadComment(gd::string, CommentType, int, int) = win 0x109340; - void uploadFriendRequest(int, gd::string) = win 0x10ad10; - TodoReturn uploadLevel(GJGameLevel*) = win 0xfb360; - void uploadLevelComment(int, gd::string, int) = win 0x109220; - void uploadLevelList(GJLevelList*); - void uploadUserMessage(int, gd::string, gd::string); - int userIDForAccountID(int); - GJUserScore* userInfoForAccountID(int); - gd::string userNameForUserID(int) = win 0xf6180; - void verifyLevelState(GJGameLevel*); - TodoReturn writeSpecialFilters(GJSearchObject*); - - virtual bool init(); - - PAD = win 0x8, android32 0x18, android64 0x30; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_GLM21; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - int m_eventTimeLeft; - int m_eventID; - int m_eventIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_unkDict24; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - LevelManagerDelegate* m_levelManagerDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - ListUploadDelegate* m_listUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - LevelListDeleteDelegate* m_levelListDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - void* m_unkDelegate; - /*UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - OnlineListDelegate* m_onlineListDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4;*/ -} - -[[link(android), depends(UIButtonConfig)]] -class GameManager : GManager { - // virtual ~GameManager(); - - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState() = win 0x120860; - - TodoReturn accountStatusChanged(); - TodoReturn activeIconForType(IconType); - TodoReturn addCustomAnimationFrame(int, int, gd::string, gd::string); - TodoReturn addDuplicateLastFrame(int); - TodoReturn addGameAnimation(int, int, float, gd::string, gd::string, int); - TodoReturn addIconDelegate(cocos2d::CCObject*, int); - TodoReturn addNewCustomObject(gd::string); - TodoReturn addToGJLog(cocos2d::CCString*); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground() = win 0x12d130; - TodoReturn calculateBaseKeyForIcons(); - TodoReturn canShowRewardedVideo(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn checkUsedIcons(); - TodoReturn claimItemsResponse(gd::string); - TodoReturn clearGJLog(); - cocos2d::ccColor3B colorForIdx(int) = win 0x1253b0; - TodoReturn colorForPos(int); - TodoReturn colorKey(int, UnlockType); - TodoReturn completedAchievement(gd::string); - TodoReturn countForType(IconType); - TodoReturn defaultFrameForAnimation(int); - TodoReturn defaultYOffsetForBG2(int); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave() = win 0x12d080; - TodoReturn dpadConfigToString(UIButtonConfig&); - TodoReturn eventUnlockFeature(char const*); - TodoReturn fadeInMenuMusic() = win 0x120d10; - TodoReturn fadeInMusic(gd::string); - TodoReturn finishedLoadingBGAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync(int); - TodoReturn finishedLoadingGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync2(cocos2d::CCObject*); - TodoReturn finishedLoadingIconAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync(int); - TodoReturn finishedLoadingMGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync2(cocos2d::CCObject*); - TodoReturn followTwitch(); - TodoReturn followTwitter(); - TodoReturn framesForAnimation(int); - TodoReturn frameTimeForAnimation(int); - TodoReturn generateSecretNumber(); - TodoReturn getBGTexture(int); - TodoReturn getFontFile(int); - TodoReturn getFontTexture(int); - bool getGameVariable(char const*) = win 0x127a50; - TodoReturn getGTexture(int); - TodoReturn getIconRequestID(); - int getIntGameVariable(char const*) = win 0x127fa0; - TodoReturn getMenuMusicFile(); - TodoReturn getMGTexture(int); - TodoReturn getNextUniqueObjectKey(); - TodoReturn getNextUsedKey(int, bool); - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn getPracticeMusicFile() = win 0x120ad0; - TodoReturn getUGV(char const*); - TodoReturn getUnlockForAchievement(gd::string, int&, UnlockType&); - TodoReturn groundHasSecondaryColor(int); - TodoReturn iconAndTypeForKey(int, int&, int&); - TodoReturn iconKey(int, IconType); - UnlockType iconTypeToUnlockType(IconType) = win 0x1213B0; - bool isColorUnlocked(int, UnlockType) = win 0x1217b0; - bool isIconLoaded(int, int); - bool isIconUnlocked(int, IconType) = win 0x1212b0; - TodoReturn itemPurchased(char const*); - TodoReturn joinDiscord(); - TodoReturn joinReddit(); - TodoReturn keyForIcon(int, int); - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook(); - TodoReturn loadBackground(int); - TodoReturn loadBackgroundAsync(int); - TodoReturn loadDeathEffect(int); - TodoReturn loadDpadFromString(UIButtonConfig&, gd::string); - TodoReturn loadDPadLayout(int, bool); - TodoReturn loadFont(int); - TodoReturn loadGround(int); - TodoReturn loadGroundAsync(int); - TodoReturn loadIcon(int, int, int) = win 0x126760; - TodoReturn loadIconAsync(int, int, int, cocos2d::CCObject*); - TodoReturn loadMiddleground(int); - TodoReturn loadMiddlegroundAsync(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, UnlockType); - TodoReturn lockIcon(int, IconType); - TodoReturn logLoadedIconInfo(); - TodoReturn openEditorGuide(); - TodoReturn playMenuMusic(); - TodoReturn playSFXTrigger(SFXTriggerGameObject*) = win 0x120e60; - TodoReturn prepareDPadSettings(); - TodoReturn printGJLog(); - TodoReturn queueReloadMenu() = win 0x12d640; - TodoReturn rateGame(); - TodoReturn recountUserStats(gd::string); - TodoReturn reloadAll(bool, bool, bool) = win 0x12d710; - TodoReturn reloadAllStep2() = win 0x12d7a0; - TodoReturn reloadAllStep3() = win 0x12d900; - TodoReturn reloadAllStep4() = win 0x12d9a0; - TodoReturn reloadAllStep5(); - TodoReturn reloadMenu(); - TodoReturn removeCustomObject(int); - TodoReturn removeIconDelegate(int) = win 0x126690; - TodoReturn reorderKey(int, bool); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPercentageForLevel(int, int, bool) = win 0x122070; - TodoReturn resetAchievement(gd::string); - TodoReturn resetAdTimer(); - TodoReturn resetAllIcons(); - TodoReturn resetCoinUnlocks(); - TodoReturn resetDPadSettings(bool); - TodoReturn resolutionForKey(int) = win 0x12da60; - TodoReturn returnToLastScene(GJGameLevel*) = win 0x12d370; - TodoReturn rewardedVideoAdFinished(int); - TodoReturn rewardedVideoHidden(); - TodoReturn rewardedVideoHiddenDelayed(); - TodoReturn safePopScene(); - TodoReturn saveAdTimer(); - TodoReturn saveDPadLayout(int, bool); - void setGameVariable(char const*, bool) = win 0x127800; - void setHasRatingPower(int); - void setIntGameVariable(char const*, int); - void setPlayerBall(int); - void setPlayerBird(int); - void setPlayerColor(int); - void setPlayerColor2(int); - void setPlayerColor3(int); - void setPlayerDart(int); - void setPlayerDeathEffect(int); - void setPlayerFrame(int); - void setPlayerJetpack(int); - void setPlayerRobot(int); - void setPlayerShip(int); - void setPlayerShipStreak(int); - void setPlayerSpider(int); - void setPlayerStreak(int); - void setPlayerSwing(int); - void setPlayerUserID(int); - void setUGV(char const*, bool) = win 0x127bf0; - TodoReturn setupGameAnimations(); - TodoReturn sheetNameForIcon(int, int); - TodoReturn shortenAdTimer(float); - TodoReturn shouldShowInterstitial(int, int, int); - TodoReturn showInterstitial(); - TodoReturn showInterstitialForced(); - TodoReturn showMainMenuAd(); - TodoReturn startUpdate(); - TodoReturn stringForCustomObject(int); - TodoReturn subYouTube(); - TodoReturn switchCustomObjects(int, int); - TodoReturn switchScreenMode(bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*); - TodoReturn tryCacheAd(); - TodoReturn tryShowInterstitial(int, int, int); - TodoReturn unloadBackground(); - TodoReturn unloadIcon(int, int, int); - TodoReturn unloadIcons(int) = win 0x126b90; - TodoReturn unlockColor(int, UnlockType); - TodoReturn unlockedPremium(); - TodoReturn unlockIcon(int, IconType); - TodoReturn unlockTypeToIconType(int); - TodoReturn updateCustomFPS() = win 0x12dec0; - TodoReturn updateMusic(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual void update(float); - virtual bool init() = win 0x11faa0; - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - cocos2d::CCDictionary* m_unkAnimationDict; - cocos2d::CCDictionary* m_unkAnimationDict2; - cocos2d::CCDictionary* m_frameTimeForAnimation; - cocos2d::CCDictionary* m_framesForAnimation; - cocos2d::CCDictionary* m_defaultFrames; - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - bool m_vsyncEnabled; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - bool m_unkBool3; - int m_unkSize4_1; - double m_unkDouble2; - int m_unkSize4_2; - int m_unkSize4_3; - bool m_loaded; - bool m_googlePlaySignedIn; - gd::string m_unknownString; - int m_unkSize4_4; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - GJBaseGameLayer* m_gameLayer; - void* m_unkPtr; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - int m_playerUserID_a; - int m_playerUserID_b; - int m_playerUserID; - float m_bgVolume; - float m_sfxVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_clickedTwitch; - bool m_clickedDiscord_; - bool m_clickedReddit; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - bool m_searchObjectBool; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerSwing; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerGlowColor; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerShipFire; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueRSV m_playerJetpack; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - int m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_unkBool4; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - void* m_unkPtr2; - void* m_unkPtr3; - int m_unkSize4_5; - int m_unkSize4_6; - int m_unkSize4_7; - int m_unkSize4_8; - int m_loadedBgID; - int m_loadedGroundID; - int m_loadedMG; - int m_loadedFont; - int m_loadedDeathEffect; - bool m_loadingBG; - bool m_loadingG; - bool m_loadingG1; - bool m_finishedLoadingG1; - bool m_shouldLoadG1; - bool m_finishedLoadingMG1; - bool m_finishedLoadingMG2; - bool m_unkBool5; - int m_unkSize4_9; - int m_unkSize4_10; - int m_unkSize4_11; - int m_bootups; - bool m_hasRatedGame; - bool m_unkBool6; - bool m_shouldLoadUnlockValueKeeper; - bool m_unkBool7; - bool m_unkBool8; - geode::SeedValueRSV m_hasRP; - bool m_canGetLevelSaveData; - int m_resolution; - int m_texQuality; - bool m_somethingInMenuLayer; - void* m_unkPtr4; - bool m_unkBool9; - int m_unkSize4_12; - int m_unkSize4_13; - bool m_unkBool10; - int m_unkSize4_14; - bool m_disableThumbstick; - float m_customFPSTarget; - bool m_unkBool11; - int m_customMenuSongID; - int m_customPracticeSongID; - gd::map m_loadIcon; - gd::map> m_loadIcon2; - gd::map m_probablyIsIconLoaded; - void* m_somethingIconAndTypeForKey; - void* m_somethingKeyForIcon; - void* m_idk; - gd::map m_iconDelegates; - int m_iconRequestID; - cocos2d::CCArray* m_unkArray; - void* m_someAdPointer; - int m_unkSize4_15; - int m_unkSize4_16; - int m_unkSize4_17; - UIButtonConfig m_dpad1; - UIButtonConfig m_dpad2; - UIButtonConfig m_dpad3; - UIButtonConfig m_dpad4; - UIButtonConfig m_dpad5; - gd::string m_dpadLayout1; - gd::string m_dpadLayout2; - gd::string m_dpadLayout3; - gd::string m_dpadLayoutDual1; - gd::string m_dpadLayoutDual2; - gd::string m_dpadLayoutDual3; - int m_unkSize4_18; - int m_unkSize4_19; - int m_unkSize4_20; - bool m_unkBool12; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - // virtual ~GameObject(); - // GameObject(); - - TodoReturn addColorSprite(gd::string); - TodoReturn addColorSpriteToParent(bool); - TodoReturn addColorSpriteToSelf(); - TodoReturn addCustomBlackChild(gd::string, float, bool); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addCustomColorChild(gd::string); - TodoReturn addEmptyGlow(); - TodoReturn addGlow(gd::string); - TodoReturn addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalCustomColorChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalGlowChild(gd::string, cocos2d::CCPoint); - TodoReturn addNewSlope01(bool); - TodoReturn addNewSlope01Glow(bool); - TodoReturn addNewSlope02(bool); - TodoReturn addNewSlope02Glow(bool); - TodoReturn addRotation(float, float); - TodoReturn addRotation(float); - TodoReturn addToColorGroup(int); - TodoReturn addToCustomScaleX(float); - TodoReturn addToCustomScaleY(float); - TodoReturn addToOpacityGroup(int); - TodoReturn addToTempOffset(double, double); - TodoReturn assignUniqueID(); - TodoReturn belongsToGroup(int); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canChangeMainColor(); - TodoReturn canChangeSecondaryColor(); - TodoReturn canRotateFree(); - TodoReturn colorForMode(int, bool) = win 0x141c60; - TodoReturn commonInteractiveSetup(); - TodoReturn commonSetup() = win 0x130320; - TodoReturn copyGroups(GameObject*); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x13a9e0; - TodoReturn createColorGroupContainer(int); - TodoReturn createGlow(gd::string); - TodoReturn createGroupContainer(int); - TodoReturn createOpacityGroupContainer(int); - TodoReturn createSpriteColor(int); - TodoReturn createWithFrame(char const*) = win 0x130220; - TodoReturn createWithKey(int) = win 0x12f590; - TodoReturn deselectObject(); - TodoReturn destroyObject(); - TodoReturn determineSlopeDirection() = win 0x13c610; - TodoReturn didScaleXChange(); - TodoReturn didScaleYChange(); - TodoReturn dirtifyObjectPos(); - TodoReturn dirtifyObjectRect(); - TodoReturn disableObject(); - TodoReturn dontCountTowardsLimit(); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn duplicateColorMode(GameObject*); - TodoReturn duplicateValues(GameObject*); - TodoReturn editorColorForCustomMode(int); - TodoReturn editorColorForMode(int); - TodoReturn fastRotateObject(float); - TodoReturn getActiveColorForMode(int, bool) = win 0x141f40; - TodoReturn getBallFrame(int); - TodoReturn getBoundingRect(); - TodoReturn getBoxOffset(); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorIndex(); - TodoReturn getColorKey(bool, bool) = win 0x13d1e0; - TodoReturn getCustomZLayer(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getGroupDisabled(); - TodoReturn getGroupID(int); - TodoReturn getGroupString(); - TodoReturn getLastPosition(); - TodoReturn getMainColor(); - TodoReturn getMainColorMode(); - TodoReturn getObjectDirection(); - TodoReturn getObjectRadius(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectRectPointer(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - TodoReturn getOrientedRectDirty(); - TodoReturn getOuterObjectRect(); - TodoReturn getParentMode(); - TodoReturn getRelativeSpriteColor(int); - TodoReturn getScalePosDelta(); - TodoReturn getSecondaryColor(); - TodoReturn getSecondaryColorMode(); - TodoReturn getSlopeAngle(); - TodoReturn getStartPos(); - TodoReturn getType(); - TodoReturn getUnmodifiedPosition(); - TodoReturn groupColor(cocos2d::ccColor3B const&, bool); - TodoReturn groupOpacityMod() = win 0x13cfc0; - TodoReturn groupWasDisabled(); - TodoReturn groupWasEnabled(); - TodoReturn hasSecondaryColor(); - TodoReturn ignoreEditorDuration(); - TodoReturn ignoreEnter(); - TodoReturn ignoreFade(); - bool init(char const*); - bool isBasicEnterEffect(int); - bool isBasicTrigger(); - bool isColorObject(); - bool isColorTrigger(); - bool isConfigurablePortal(); - bool isEditorSpawnableTrigger(); - bool isFacingDown() = win 0x141390; - bool isFacingLeft(); - bool isSettingsObject(); - bool isSpawnableTrigger(); - bool isSpecialObject(); - bool isSpeedObject() = win 0x142b80; - bool isStoppableTrigger(); - bool isTrigger(); - TodoReturn loadGroupsFromString(gd::string); - TodoReturn makeInvisible(); - TodoReturn objectFromVector(gd::vector&, gd::vector&, GJBaseGameLayer*, bool) = win 0x13d670; - TodoReturn opacityModForMode(int, bool); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn perspectiveFrame(char const*, int); - TodoReturn playDestroyObjectAnim(GJBaseGameLayer*); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float, float, float, float, float, bool, float, float); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float); - TodoReturn playShineEffect(); - TodoReturn quickUpdatePosition(); - TodoReturn quickUpdatePosition2(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetColorGroups(); - TodoReturn resetGroupDisabled(); - TodoReturn resetGroups(); - TodoReturn resetMainColorMode(); - TodoReturn resetMID(); - TodoReturn resetMoveOffset(); - TodoReturn resetRScaleForced(); - TodoReturn resetSecondaryColorMode(); - void setAreaOpacity(float, float, int); - void setCustomZLayer(int); - void setDefaultMainColorMode(int); - void setDefaultSecondaryColorMode(int); - void setGlowOpacity(unsigned char); - void setLastPosition(cocos2d::CCPoint const&); - void setMainColorMode(int); - void setSecondaryColorMode(int); - TodoReturn setupColorSprite(int, bool); - TodoReturn setupPixelScale(); - TodoReturn setupSpriteSize(); - TodoReturn shouldBlendColor(GJSpriteColor*, bool) = win 0x132ad0; - TodoReturn shouldLockX(); - TodoReturn shouldNotHideAnimFreeze(); - TodoReturn shouldShowPickupEffects(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn spawnDefaultPickupParticle(GJBaseGameLayer*); - TodoReturn updateBlendMode() = win 0x13c180; - TodoReturn updateCustomColorType(short); - TodoReturn updateCustomScaleX(float); - TodoReturn updateCustomScaleY(float); - TodoReturn updateHSVState(); - TodoReturn updateIsOriented() = win 0x1411f0; - TodoReturn updateMainColor(); - TodoReturn updateMainColorOnly(); - TodoReturn updateMainOpacity(); - TodoReturn updateObjectEditorColor(); - TodoReturn updateSecondaryColor(); - TodoReturn updateSecondaryColorOnly(); - TodoReturn updateSecondaryOpacity(); - TodoReturn updateStartPos(); - TodoReturn updateUnmodifiedPositions(); - TodoReturn usesFreezeAnimation(); - TodoReturn usesSpecialAnimation(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&) = win 0x139c90; - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setOpacity(unsigned char); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual void firstSetup(); - virtual TodoReturn customSetup(); - virtual TodoReturn setupCustomSprites(gd::string) = win 0x14cfa0; - virtual TodoReturn addMainSpriteToParent(bool) = win 0x13c1e0; - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool) = win 0x1329e0; - virtual TodoReturn transferObjectRect(cocos2d::CCRect&) = win 0x139750; - virtual TodoReturn getObjectRect() = win 0x1397c0; - virtual TodoReturn getObjectRect(float, float); - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual TodoReturn getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual bool isFlipX(); - virtual bool isFlipY(); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual void setRRotation(float); - virtual TodoReturn triggerActivated(float); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual void setGlowColor(cocos2d::ccColor3B const&); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn selectObject(cocos2d::ccColor3B); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn updateOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - virtual void setObjectRectDirty(bool); - virtual void setOrientedRectDirty(bool); - virtual void setType(GameObjectType); - - PAD = android32 0xf, win 0xf; - - // property 511 - bool m_hasExtendedCollision; - PAD = android32 0x13, win 0x13; - - cocos2d::CCSprite* m_baseSprite; - cocos2d::CCSprite* m_detailSprite; - - PAD = android32 0x64, win 0x64; - - gd::string m_particleString; - - PAD = android32 0x1, win 0x1; - - // property 146 - bool m_particleUseObjectColor; - PAD = android32 0x3e, win 0x32; - - // property 108 - int m_linkedGroup; - PAD = android32 0x23, win 0x23; - - int m_uniqueID; - GameObjectType m_objectType; - - PAD = android32 0x14, win 0x14; - double m_realXPosition; - double m_realYPosition; - cocos2d::CCPoint m_startPosition; - PAD = android32 0x1, win 0x1; - - // property 372 - bool m_hasNoAudioScale; - PAD = android32 0x2a, win 0x2a; - - // property 343 - short m_enterChannel; - // property 446 - short m_objectMaterial; - PAD = android32 0x4, win 0x4; - - // property 96 - bool m_hasNoGlow; - - // property 23 - int m_targetColor; - - // property 1 - int m_objectID; - PAD = android32 0x8, win 0x8; - - // property 497 - short m_customColorType; - // property 67 - bool m_isDontEnter; - // property 64 - bool m_isDontFade; - // property 116 - bool m_hasNoEffects; - // property 507 - bool m_hasNoParticles; - PAD = android32 0x16, win 0x16; - - // property 53 - int m_property53; - PAD = android32 0x18, win 0x18; - - // property 21, also used with 41 and 43 - GJSpriteColor* m_baseColor; - // property 22, also used with 42 and 44 - GJSpriteColor* m_detailColor; - PAD = android32 0xc; - - // property 24 - ZLayer m_zLayer; - // property 25 - int m_zOrder; - PAD = android32 0x10, win 0x10; - - bool m_shouldUpdateColorSprite; // m_shouldUpdateColorSprite - PAD = android32 0x1, win 0x1; - - // property 34 - bool m_hasGroupParent; - // property 279 - bool m_hasAreaParent; - // property 128 - float m_scaleX; - // property 129 - float m_scaleY; - - // property 57 - std::array* m_groups; - // used with property 57 - short m_groupCount; - // used with property 274 - bool m_hasGroupParentsString; - PAD = android32 0xf, win 0xf; - - // property 20 - short m_editorLayer; - // property 61 - short m_editorLayer2; - PAD = android32 0x8, win 0x8; - - // property 121 - bool m_isNoTouch; - PAD = android32 0x2c, win 0x2c; - - // property 103 - bool m_isHighDetail; - PAD = android32 0x11, win 0x11; - - // property 134 - bool m_isPassable; - // property 135 - bool m_isHide; - // property 136 - bool m_isNonStickX; - // property 289 - bool m_isNonStickY; - // property 137 - bool m_isIceBlock; - // property 193 - bool m_isGripSlope; - // property 356 - bool m_isScaleStick; - // property 495 - bool m_isExtraSticky; - // property 496 - bool m_isDontBoostY; - // property 509 - bool m_isDontBoostX; - PAD = android32 0x11, win 0x11; - - // property 155 - int m_property155; - // property 156 - int m_property156; - - PAD = android32 0x12, win 0x26; // TODO: yeah someone pls fix windows pads -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*); - - bool init(GameObject*); - TodoReturn resetObject(); - - GameObject* m_object; -} - -[[link(android)]] -class GameObjectEditorState { - TodoReturn loadValues(GameObject*); -} - -[[link(android)]] -class GameOptionsLayer : GJOptionsLayer { - // virtual ~GameOptionsLayer(); - - static GameOptionsLayer* create(GJBaseGameLayer*); - - bool init(GJBaseGameLayer*); - void onPracticeMusicSync(cocos2d::CCObject* sender) = win 0x212430; - void onUIOptions(cocos2d::CCObject* sender); - TodoReturn showPracticeMusicSyncUnlockInfo() = win 0x212120; - - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class GameOptionsTrigger : EffectGameObject { - // virtual ~GameOptionsTrigger(); - - static GameOptionsTrigger* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GameRateDelegate { - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - // virtual ~GameStatsManager(); - - static GameStatsManager* sharedState() = win 0x166FC0; - - TodoReturn accountIDForIcon(int, UnlockType); - TodoReturn addSimpleSpecialChestReward(gd::string, UnlockType, int, bool); - TodoReturn addSpecialRewardDescription(gd::string, gd::string); - TodoReturn addStoreItem(int, int, int, int, ShopType) = win 0x169170; - TodoReturn areChallengesLoaded(); - TodoReturn areRewardsLoaded(); - TodoReturn awardCurrencyForLevel(GJGameLevel*) = win 0x1711b0; - TodoReturn awardDiamondsForLevel(GJGameLevel*) = win 0x1716d0; - TodoReturn awardSecretKey() = win 0x17f1e0; - TodoReturn checkAchievement(char const*) = win 0x16a1e0; - TodoReturn checkCoinAchievement(GJGameLevel*); - TodoReturn checkCoinsForLevel(GJGameLevel*); - TodoReturn claimListReward(GJLevelList*); - TodoReturn collectReward(GJRewardType, GJRewardItem*); - TodoReturn collectVideoReward(int); - TodoReturn completedChallenge(GJChallengeItem*); - TodoReturn completedDailyLevel(GJGameLevel*); - TodoReturn completedDemonLevel(GJGameLevel*) = win 0x16f1e0; - TodoReturn completedLevel(GJGameLevel*); - TodoReturn completedMapPack(GJMapPack*); - TodoReturn completedStarLevel(GJGameLevel*) = win 0x16f2d0; - TodoReturn countSecretChests(GJRewardType); - TodoReturn countUnlockedSecretChests(GJRewardType); - TodoReturn createSecretChestItems(); - TodoReturn createSecretChestRewards(); - TodoReturn createSpecialChestItems(); - TodoReturn createStoreItems(); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn generateItemUnlockableData(); - int getAwardedCurrencyForLevel(GJGameLevel*) = win 0x170fe0; - TodoReturn getAwardedDiamondsForLevel(GJGameLevel*); - TodoReturn getBaseCurrency(int, bool, int); - int getBaseCurrencyForLevel(GJGameLevel*) = win 0x170ec0; - TodoReturn getBaseDiamonds(int); - TodoReturn getBonusDiamonds(int); - TodoReturn getChallenge(int); - TodoReturn getChallengeKey(GJChallengeItem*); - int getCollectedCoinsForLevel(GJGameLevel*) = win 0x16eba0; - TodoReturn getCompletedMapPacks(); - TodoReturn getCurrencyKey(GJGameLevel*) = win 0x170da0; - TodoReturn getDailyLevelKey(int); - TodoReturn getDemonLevelKey(GJGameLevel*); - gd::string getGauntletRewardKey(int); - TodoReturn getItemKey(int, int); - TodoReturn getItemUnlockState(int, UnlockType); - TodoReturn getItemUnlockStateLite(int, UnlockType); - gd::string getLevelKey(GJGameLevel*) = win 0x16EC40; - gd::string getLevelKey(int, bool, bool, bool) = win 0x16ECB0; - TodoReturn getListRewardKey(GJLevelList*); - char const* getMapPackKey(int); - TodoReturn getNextVideoAdReward(); - TodoReturn getPathRewardKey(int); - TodoReturn getQueuedChallenge(int); - TodoReturn getRewardForSecretChest(int); - TodoReturn getRewardForSpecialChest(gd::string); - TodoReturn getRewardItem(GJRewardType); - TodoReturn getRewardKey(GJRewardType, int); - TodoReturn getSecondaryQueuedChallenge(int); - TodoReturn getSecretChestForItem(int, UnlockType); - TodoReturn getSecretCoinKey(char const*); - TodoReturn getSpecialChestKeyForItem(int, UnlockType); - TodoReturn getSpecialRewardDescription(gd::string, bool); - TodoReturn getSpecialUnlockDescription(int, UnlockType, bool); - TodoReturn getStarLevelKey(GJGameLevel*); - int getStat(char const*) = win 0x169ff0; - TodoReturn getStatFromKey(StatKey); - TodoReturn getStoreItem(int, int); - TodoReturn getStoreItem(int); - TodoReturn getTotalCollectedCurrency(); - TodoReturn getTotalCollectedDiamonds(); - TodoReturn hasClaimedListReward(GJLevelList*); - TodoReturn hasCompletedChallenge(GJChallengeItem*); - TodoReturn hasCompletedDailyLevel(int) = win 0x172f10; - TodoReturn hasCompletedDemonLevel(GJGameLevel*); - TodoReturn hasCompletedGauntletLevel(int); - bool hasCompletedLevel(GJGameLevel* level) { - return m_completedLevels->objectForKey(this->getLevelKey(level)) != nullptr; - } - TodoReturn hasCompletedMainLevel(int); - TodoReturn hasCompletedMapPack(int); - bool hasCompletedOnlineLevel(int); - TodoReturn hasCompletedStarLevel(GJGameLevel*); - TodoReturn hasPendingUserCoin(char const*); - TodoReturn hasRewardBeenCollected(GJRewardType, int); - TodoReturn hasSecretCoin(char const*); - TodoReturn hasUserCoin(char const*); - TodoReturn incrementActivePath(int) = win 0x169720; - TodoReturn incrementChallenge(GJChallengeType, int) = win 0x1727a0; - TodoReturn incrementStat(char const*, int) = win 0x169480; - TodoReturn incrementStat(char const*); - bool isGauntletChestUnlocked(int); - bool isItemEnabled(UnlockType, int) = win 0x175920; - bool isItemUnlocked(UnlockType, int) = win 0x1756a0; - bool isPathChestUnlocked(int); - bool isPathUnlocked(StatKey); - bool isSecretChestUnlocked(int); - bool isSecretCoin(gd::string); - bool isSecretCoinValid(gd::string); - bool isSpecialChestLiteUnlockable(gd::string); - bool isSpecialChestUnlocked(gd::string) = win 0x1791f0; - bool isStoreItemUnlocked(int); - TodoReturn keyCostForSecretChest(int) = win 0x179b50; - TodoReturn logCoins(); - TodoReturn markLevelAsCompletedAndClaimed(GJGameLevel*); - TodoReturn postLoadGameStats(); - TodoReturn preProcessReward(GJRewardItem*); - TodoReturn preSaveGameStats(); - TodoReturn processChallengeQueue(int); - TodoReturn purchaseItem(int) = win 0x169320; - TodoReturn recountSpecialStats(); - TodoReturn recountUserCoins(bool); - TodoReturn registerRewardsFromItem(GJRewardItem*); - TodoReturn removeChallenge(int); - TodoReturn removeErrorFromSpecialChests(); - TodoReturn removeQueuedChallenge(int); - TodoReturn removeQueuedSecondaryChallenge(int); - TodoReturn resetChallengeTimer(); - TodoReturn resetPreSync(); - TodoReturn resetSpecialStatAchievements(); - TodoReturn resetUserCoins(); - TodoReturn restorePostSync(); - void setAwardedBonusKeys(int); - void setStarsForMapPack(int, int); - void setStat(char const*, int) = win 0x16a0d0; - void setStatIfHigher(char const*, int); - TodoReturn setupIconCredits(); - TodoReturn shopTypeForItemID(int); - TodoReturn shouldAwardSecretKey(); - TodoReturn starsForMapPack(int); - TodoReturn storeChallenge(int, GJChallengeItem*); - TodoReturn storeChallengeTime(int); - TodoReturn storePendingUserCoin(char const*); - TodoReturn storeQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeRewardState(GJRewardType, int, int, gd::string); - TodoReturn storeSecondaryQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeSecretCoin(char const*); - TodoReturn storeUserCoin(char const*); - TodoReturn tempClear(); - TodoReturn toggleEnableItem(UnlockType, int, bool) = win 0x1759c0; - TodoReturn trySelectActivePath(); - TodoReturn uncompleteLevel(GJGameLevel*); - TodoReturn unlockGauntletChest(int); - TodoReturn unlockPathChest(int); - TodoReturn unlockSecretChest(int) = win 0x179a40; - TodoReturn unlockSpecialChest(gd::string) = win 0x1792d0; - TodoReturn updateActivePath(StatKey); - TodoReturn usernameForAccountID(int) = win 0x15da30; - TodoReturn verifyUserCoins(); - - virtual bool init(); - - bool m_unkBool; - bool m_unkBool2; - bool m_usePlayerStatsCCDictionary; - cocos2d::CCString* m_trueString; - cocos2d::CCDictionary* m_allStoreItems; - cocos2d::CCDictionary* m_storeItems; - cocos2d::CCDictionary* m_allTreasureRoomChests; - cocos2d::CCDictionary* m_allTreasureRoomChestItems; - cocos2d::CCDictionary* m_allSpecialChests; - cocos2d::CCDictionary* m_allSpecialChestItems; - gd::map m_specialRewardDescriptions; - gd::map m_createSpecialChestItemsMap; - cocos2d::CCDictionary* m_specialChestsLite; - cocos2d::CCArray* m_storeItemArray; - cocos2d::CCDictionary* m_rewardItems; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - double m_challengeTime; - cocos2d::CCDictionary* m_playerStats; - gd::map m_playerStatsRandMap; - gd::map m_playerStatsSeedMap; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_completedLists; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; - cocos2d::CCDictionary* m_enabledItems; - bool m_unkBoolIncrementStat; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_unlockedItems; - gd::map m_accountIDForIcon; - gd::map m_usernameForAccountID; - int m_activePath; -} - -[[link(android)]] -class GameToolbox { - static TodoReturn addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*); - static TodoReturn addRThumbScrollButton(cocos2d::CCLayer*); - static TodoReturn alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint, bool); - static TodoReturn alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn bounceTime(float); - static TodoReturn colorToSepia(cocos2d::ccColor3B, float); - static TodoReturn contentScaleClipRect(cocos2d::CCRect&); - static TodoReturn createHashString(gd::string const&, int); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCArray*) = win 0x40F10; - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int, cocos2d::CCArray*) = win 0x41010; - static TodoReturn doWeHaveInternet(); - static TodoReturn easeToText(int); - static TodoReturn fast_rand_0_1(); - static TodoReturn fast_rand_minus1_1(); - static TodoReturn fast_rand(); - static TodoReturn fast_srand(unsigned long); - static TodoReturn gen_random(int); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getEasedAction(cocos2d::CCActionInterval*, int, float); - static TodoReturn getEasedValue(float, int, float); - static TodoReturn getfast_srand(); - static TodoReturn getInvertedEasing(int); - static TodoReturn getLargestMergedIntDicts(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn getMultipliedHSV(cocos2d::ccHSVValue const&, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*); - static TodoReturn getTimeString(int); - static TodoReturn hsvFromString(gd::string const&, char const*); - static TodoReturn intToShortString(int); - static TodoReturn intToString(int); - static bool isIOS(); - static bool isRateEasing(int); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn mergeDictsSkipConflict(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn msToTimeString(int, int); - static TodoReturn multipliedColorValue(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn particleFromString(gd::string const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleFromStruct(cocos2d::ParticleStruct const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleStringToStruct(gd::string const&, cocos2d::ParticleStruct&); - static TodoReturn pointsToString(int); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect); - static TodoReturn preVisitWithClipRect(cocos2d::CCRect); - static TodoReturn saveParticleToString(cocos2d::CCParticleSystemQuad*); - static TodoReturn saveStringToFile(gd::string const&, gd::string const&); - static TodoReturn stringFromHSV(cocos2d::ccHSVValue, char const*); - static TodoReturn stringSetupToDict(gd::string const&, char const*); - static TodoReturn stringSetupToMap(gd::string const&, char const*, gd::map&); - static TodoReturn strongColor(cocos2d::ccColor3B); - static TodoReturn timestampToHumanReadable(long); - static TodoReturn transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue); - static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float); -} - -[[link(android)]] -class GauntletLayer : cocos2d::CCLayer, LevelManagerDelegate { - // virtual ~GauntletLayer(); - - static GauntletLayer* create(GauntletType); - - bool init(GauntletType) = win 0x185cc0; - void onBack(cocos2d::CCObject* sender); - void onLevel(cocos2d::CCObject* sender); - TodoReturn scene(GauntletType); - TodoReturn setupGauntlet(cocos2d::CCArray*); - TodoReturn unlockActiveItem(); - - virtual void keyBackClicked(); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); -} - -[[link(android)]] -class GauntletNode : cocos2d::CCNode { - // virtual ~GauntletNode(); - - static GauntletNode* create(GJMapPack*); - - TodoReturn frameForType(GauntletType); - bool init(GJMapPack*) = win 0x187710; - TodoReturn nameForType(GauntletType); - TodoReturn onClaimReward() = win 0x188ad0; -} - -[[link(android)]] -class GauntletSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, LevelManagerDelegate { - // virtual ~GauntletSelectLayer(); - - static GauntletSelectLayer* create(int); - - TodoReturn goToPage(int, bool) = win 0x1870d0; - bool init(int); - void onBack(cocos2d::CCObject* sender) = win 0x187240; - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender) = win 0x1872b0; - void onPrev(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender) = win 0x186740; - TodoReturn scene(int); - TodoReturn setupGauntlets() = win 0x186b60; - TodoReturn unblockPlay(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x1867f0; - virtual TodoReturn loadLevelsFailed(char const*, int) = win 0x1869c0; -} - -[[link(android)]] -class GauntletSprite : cocos2d::CCNode { - // virtual ~GauntletSprite(); - - static GauntletSprite* create(GauntletType, bool); - - TodoReturn addLockedSprite(); - TodoReturn addNormalSprite(); - TodoReturn colorForType(GauntletType); - bool init(GauntletType, bool); - TodoReturn luminanceForType(GauntletType); - TodoReturn toggleLockedSprite(bool); -} - -[[link(android)]] -class GhostTrailEffect : cocos2d::CCNode { - // virtual ~GhostTrailEffect(); - - static GhostTrailEffect* create(); - - TodoReturn doBlendAdditive(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - // virtual ~GJAccountManager(); - - static GJAccountManager* sharedState() = win 0x1894E0; - - void addDLToActive(char const*, cocos2d::CCObject*) = win 0x189b70; - void addDLToActive(char const*); - bool backupAccount(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - void getAccountBackupURL(); - void getAccountSyncURL(); - cocos2d::CCObject* getDLObject(char const*); - gd::string getShaPassword(gd::string); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - void linkToAccount(gd::string, gd::string, int, int); - void loginAccount(gd::string, gd::string); - TodoReturn onBackupAccountCompleted(gd::string, gd::string); - TodoReturn onGetAccountBackupURLCompleted(gd::string, gd::string); - TodoReturn onGetAccountSyncURLCompleted(gd::string, gd::string); - TodoReturn onLoginAccountCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRegisterAccountCompleted(gd::string, gd::string); - TodoReturn onSyncAccountCompleted(gd::string, gd::string); - TodoReturn onUpdateAccountSettingsCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string); - TodoReturn removeDLFromActive(char const*); - bool syncAccount(gd::string); - void unlinkFromAccount(); - void updateAccountSettings(int, int, int, gd::string, gd::string, gd::string) = win 0x18bbf0; - - virtual bool init(); - - cocos2d::CCDictionary* m_activeDownloads; - gd::string m_username; - int m_accountID; - int m_unkInt1; - int m_unkInt2; - gd::string m_GJP2; - GJAccountRegisterDelegate* m_accountRegisterDelegate; - GJAccountLoginDelegate* m_accountLoginDelegate; - GJAccountDelegate* m_accountDelegate; - GJAccountBackupDelegate* m_backupDelegate; - GJAccountSyncDelegate* m_syncDelegate; - GJAccountSettingsDelegate* m_accountSettingsDelegate; - int m_gameManagerSize; - int m_localLevelsSize; - gd::string m_password; -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJAccountSettingsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~GJAccountSettingsLayer(); - - static GJAccountSettingsLayer* create(int); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float); - bool init(int) = win 0x206ff0; - void onClose(cocos2d::CCObject* sender); - void onCommentSetting(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn updateScoreValues(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJActionManager : cocos2d::CCNode { - // virtual ~GJActionManager(); - - static GJActionManager* create(); - - TodoReturn getInternalAction(int); - TodoReturn runInternalAction(cocos2d::CCAction*, cocos2d::CCNode*); - TodoReturn stopAllInternalActions(); - TodoReturn stopInternalAction(int); - TodoReturn updateInternalActions(float, bool) = win 0x18c3b0; - - virtual bool init(); -} - -[[link(android), depends(GJGameState)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - // ~GJBaseGameLayer(); - // GJBaseGameLayer(); - - TodoReturn activateCustomRing(RingObject*); - TodoReturn activatedAudioTrigger(SFXTriggerGameObject*, float); - TodoReturn activateEventTrigger(EventLinkTrigger*, gd::vector const&); - TodoReturn activateItemCompareTrigger(ItemTriggerGameObject*, gd::vector const&); - TodoReturn activateItemEditTrigger(ItemTriggerGameObject*); - TodoReturn activateObjectControlTrigger(ObjectControlGameObject*); - TodoReturn activatePersistentItemTrigger(ItemTriggerGameObject*); - TodoReturn activatePlayerControlTrigger(PlayerControlGameObject*); - TodoReturn activateResetTrigger(EffectGameObject*); - TodoReturn activateSFXEditTrigger(SFXTriggerGameObject*); - TodoReturn activateSFXTrigger(SFXTriggerGameObject*); - TodoReturn activateSongEditTrigger(SongTriggerGameObject*); - TodoReturn activateSongTrigger(SongTriggerGameObject*); - TodoReturn activateTimerTrigger(TimerTriggerGameObject*, gd::vector const&); - TodoReturn addAreaEffect(EnterEffectObject*, gd::vector*, GJAreaActionType); - TodoReturn addCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn addGuideArt(GameObject*); - TodoReturn addObjectCounter(LabelGameObject*) = win 0x1b6470; - TodoReturn addPickupTrigger(CountTriggerGameObject*); - TodoReturn addPoints(int); - TodoReturn addProximityVolumeEffect(int, int, SFXTriggerGameObject*) = win 0x1c3980; - TodoReturn addRemapTargets(gd::set&); - TodoReturn addToGroupParents(GameObject*); - TodoReturn addToGroups(GameObject*, bool) = win 0x1a7ca0; - TodoReturn addToObjectsToShow(GameObject*); - TodoReturn addUIObject(GameObject*); - TodoReturn animateInDualGroundNew(GameObject*, float, bool, float); - TodoReturn animateInGroundNew(bool, float, bool); - TodoReturn animateOutGroundNew(bool); - TodoReturn animatePortalY(float, float, float, float); - TodoReturn applyLevelSettings(GameObject*); - TodoReturn applyRemap(EffectGameObject*, gd::vector const&, gd::unordered_map&); - TodoReturn applySFXEditTrigger(int, int, SFXTriggerGameObject*) = win 0x1c3510; - TodoReturn applyShake(cocos2d::CCPoint&) = win 0x1c0820; - TodoReturn assignNewStickyGroups(cocos2d::CCArray*); - TodoReturn asyncBGLoaded(int); - TodoReturn asyncGLoaded(int); - TodoReturn asyncMGLoaded(int); - TodoReturn atlasValue(int); - TodoReturn bumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19d6b0; - TodoReturn buttonIDToButton(int); - TodoReturn calculateColorGroups(); - TodoReturn cameraMoveX(float, float, float, bool); - TodoReturn cameraMoveY(float, float, float, bool); - TodoReturn canBeActivatedByPlayer(PlayerObject*, EffectGameObject*) = win 0x19d4b0; - TodoReturn canProcessSFX(SFXTriggerState&, gd::unordered_map&, gd::unordered_map&, gd::vector&); - TodoReturn canTouchObject(GameObject*); - TodoReturn checkCameraLimitAfterTeleport(PlayerObject*, float); - TodoReturn checkCollision(int, int); - TodoReturn checkCollisionBlocks(EffectGameObject*, gd::vector*, int); - TodoReturn checkCollisions(PlayerObject*, float, bool); - TodoReturn checkRepellPlayer(); - TodoReturn checkSpawnObjects() = win 0x1a03b0; - TodoReturn claimMoveAction(int, bool); - TodoReturn claimParticle(gd::string, int); - TodoReturn claimRotationAction(int, int, float&, float&, bool, bool); - TodoReturn clearActivatedAudioTriggers() = win 0x1c44e0; - TodoReturn clearPickedUpItems(); - TodoReturn collectedObject(EffectGameObject*); - TodoReturn collisionCheckObjects(PlayerObject*, gd::vector*, int, float); - TodoReturn controlAdvancedFollowCommand(AdvancedFollowTriggerObject*, int, GJActionCommand); - TodoReturn controlAreaEffect(EnterEffectObject*, gd::vector*, GJActionCommand); - TodoReturn controlAreaEffectWithID(int, int, GJActionCommand); - TodoReturn controlDynamicCommand(EffectGameObject*, int, gd::vector&, GJActionCommand); - TodoReturn controlDynamicMoveCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlDynamicRotateCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlEventLink(int, int, GJActionCommand); - TodoReturn controlGradientTrigger(GradientTriggerObject*, GJActionCommand); - TodoReturn controlTriggersInGroup(int, GJActionCommand); - TodoReturn controlTriggersWithControlID(int, GJActionCommand); - TodoReturn convertToClosestDirection(float, float) = win 0x1b1c20; - TodoReturn createBackground(int); - TodoReturn createGroundLayer(int, int); - TodoReturn createMiddleground(int); - TodoReturn createNewKeyframeAnim(); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c1f10; - TodoReturn createPlayer(); - TodoReturn createPlayerCollisionBlock() = win 0x19e1d0; - TodoReturn createTextLayers() = win 0x196110; - TodoReturn damagingObjectsInRect(cocos2d::CCRect, bool); - TodoReturn destroyObject(GameObject*); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitStaticCamera(bool, bool, float, int, float, bool, float, bool); - TodoReturn flipFinished(); - TodoReturn flipGravity(PlayerObject*, bool, bool) = win 0x199570; - TodoReturn flipObjects() = win 0x1c78d0; - TodoReturn gameEventToString(GJGameEvent); - TodoReturn gameEventTriggered(GJGameEvent, int, int) = win 0x1b4be0; - TodoReturn generateEnterEasingBuffer(int, float); - TodoReturn generateEnterEasingBuffers(EnterEffectObject*); - TodoReturn generatePickupAnimRandVal(GameObject*, float&, float&); - TodoReturn generateSpawnRemap(); - TodoReturn generateTargetGroups(); - TodoReturn generateVisibilityGroups(); - TodoReturn getActiveOrderSpawnObjects(); - TodoReturn getAreaObjectValue(EnterEffectInstance*, GameObject*, cocos2d::CCPoint&, bool&); - TodoReturn getBumpMod(PlayerObject*, int) = win 0x19d5d0; - TodoReturn getCameraEdgeValue(int); - TodoReturn getCapacityString() = win 0x195f60; - TodoReturn getCenterGroupObject(int, int); - TodoReturn getCustomEnterEffects(int, bool); - TodoReturn getEasedAreaValue(GameObject*, EnterEffectInstance*, float, bool, int); - TodoReturn getEnterEasingKey(int, float); - TodoReturn getEnterEasingValue(float, int, float, int); - TodoReturn getFollowSpeedVal(GameObject*, int, int, float, float); - TodoReturn getGroundHeight(PlayerObject*, int); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int); - TodoReturn getGroupParent(int); - TodoReturn getGroupParentsString(GameObject*); - TodoReturn getItemValue(int, int); - TodoReturn getMaxPortalY(); - TodoReturn getMinDistance(cocos2d::CCPoint, cocos2d::CCArray*, float, int) = win 0x1c3df0; - TodoReturn getMinPortalY(); - TodoReturn getModifiedDelta(float); - TodoReturn getMoveTargetDelta(EffectGameObject*, bool); - TodoReturn getOptimizedGroup(int); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c1cd0; - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlayerButtonID(int, bool); - TodoReturn getPlayTimerFullSeconds(); - TodoReturn getPlayTimerMilli(); - TodoReturn getPortalTarget(TeleportPortalObject*); - TodoReturn getPortalTargetPos(TeleportPortalObject*, GameObject*, PlayerObject*); - TodoReturn getRecordString(); - TodoReturn getRotateCommandTargets(EnhancedTriggerObject*, GameObject*&, GameObject*&, GameObject*&); - TodoReturn getSavedPosition(int, float); - TodoReturn getScaledGroundHeight(float); - TodoReturn getSingleGroupObject(int) = win 0x1a8090; - TodoReturn getSpecialKey(int, bool, bool); - TodoReturn getStaticGroup(int); - TodoReturn getStickyGroup(int); - TodoReturn getTargetFlyCameraY(GameObject*); - TodoReturn getTargetGroup(int, int); - TodoReturn getTargetGroupOrigin(int, int); - TodoReturn gravBumpPlayer(PlayerObject*, EffectGameObject*); - TodoReturn groupStickyObjects(cocos2d::CCArray*); - TodoReturn handleButton(bool, int, bool); - TodoReturn hasItem(int); - TodoReturn hasUniqueCoin(EffectGameObject*) = win 0x19c5c0; - TodoReturn increaseBatchNodeCapacity(); - bool isFlipping(); - bool isPlayer2Button(int); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int, bool, float); - TodoReturn loadGroupParentsFromString(GameObject*, gd::string); - TodoReturn loadLevelSettings(); - TodoReturn loadStartPosObject() = win 0x1b7cc0; - TodoReturn loadUpToPosition(float, int, int) = win 0x1b7e30; - TodoReturn maxZOrderForShaderZ(int); - TodoReturn minZOrderForShaderZ(int); - TodoReturn modifyGroupPhysics(AdvancedFollowEditObject*, cocos2d::CCArray*); - TodoReturn modifyObjectPhysics(AdvancedFollowEditObject*, GameObjectPhysics&); - TodoReturn moveAreaObject(GameObject*, float, float); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, double, double, bool); - TodoReturn moveObjects(cocos2d::CCArray*, double, double, bool) = win 0x1b0fb0; - TodoReturn moveObjectsSilent(int, double, double); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn objectTypeToGameEvent(int); - TodoReturn optimizeMoveGroups(); - TodoReturn orderSpawnObjects() = win 0x1c6b70; - TodoReturn parentForZLayer(int, bool, int, int); - TodoReturn pauseAudio() = win 0x1ba580; - TodoReturn performMathOperation(double, double, int); - TodoReturn performMathRounding(double, int); - TodoReturn pickupItem(EffectGameObject*); - TodoReturn playAnimationCommand(int, int); - TodoReturn playerCircleCollision(PlayerObject*, GameObject*); - TodoReturn playerIntersectsCircle(PlayerObject*, GameObject*); - TodoReturn playerTouchedObject(PlayerObject*, GameObject*); - TodoReturn playerTouchedRing(PlayerObject*, RingObject*) = win 0x19dce0; - TodoReturn playerTouchedTrigger(PlayerObject*, EffectGameObject*); - TodoReturn playerWasTouchingObject(PlayerObject*, GameObject*) = win 0x19d570; - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playExitDualEffect(PlayerObject*) = win 0x19cab0; - TodoReturn playFlashEffect(float, int, float); - TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector const&); - TodoReturn playSpeedParticle(float); - TodoReturn positionForShaderTarget(int); - TodoReturn positionUIObjects(); - TodoReturn prepareSavePositionObjects(); - TodoReturn prepareTransformParent(bool); - TodoReturn preResumeGame(); - TodoReturn preUpdateVisibility(float) = win 0x1b8780; - TodoReturn processActivatedAudioTriggers(float); - TodoReturn processAdvancedFollowAction(AdvancedFollowInstance&, bool, float); - TodoReturn processAdvancedFollowActions(float); - TodoReturn processAreaActions(float, bool); - TodoReturn processAreaEffects(gd::vector*, GJAreaActionType, float, bool); - TodoReturn processAreaFadeGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaMoveGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaRotateGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaTintGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaTransformGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaVisualActions(float); - TodoReturn processCameraObject(GameObject*, PlayerObject*); - TodoReturn processCommands(float); - TodoReturn processDynamicObjectActions(int, float) = win 0x1b1750; - TodoReturn processFollowActions(); - TodoReturn processItems() = win 0x19c2f0; - TodoReturn processMoveActions() = win 0x1b0ba0; - TodoReturn processMoveActionsStep(float, bool) = win 0x1aecf0; - TodoReturn processOptionsTrigger(GameOptionsTrigger*); - TodoReturn processPlayerFollowActions(float) = win 0x1b1410; - TodoReturn processQueuedAudioTriggers() = win 0x1bd490; - TodoReturn processQueuedButtons() = win 0x1b4b30; - TodoReturn processRotationActions(); - TodoReturn processSFXObjects(); - TodoReturn processSFXState(SFXTriggerState*, SFXTriggerState*, int, float); - TodoReturn processSongState(int, float, float, int, float, float, gd::vector*); - TodoReturn processStateObjects(); - TodoReturn processTransformActions(bool); - TodoReturn queueButton(int, bool, bool) = win 0x1b4ae0; - TodoReturn reAddToStickyGroup(GameObject*); - TodoReturn recordAction(int, bool, bool); - TodoReturn rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float); - TodoReturn refreshCounterLabels() = win 0x1b7750; - TodoReturn refreshKeyframeAnims(); - TodoReturn regenerateEnterEasingBuffers(); - TodoReturn registerSpawnRemap(gd::vector&); - TodoReturn registerStateObject(EffectGameObject*); - TodoReturn removeBackground(); - TodoReturn removeCustomEnterEffects(int, bool); - TodoReturn removeFromGroupParents(GameObject*); - TodoReturn removeFromGroups(GameObject*); - TodoReturn removeFromStickyGroup(GameObject*); - TodoReturn removeGroundLayer(); - TodoReturn removeGroupParent(int) = win 0x1a8570; - TodoReturn removeKeyframe(KeyframeGameObject*); - TodoReturn removeMiddleground(); - TodoReturn removeObjectFromSection(GameObject*) = win 0x1aaec0; - TodoReturn removePlayer2(); - TodoReturn removeTemporaryParticles() = win 0x1c2c90; - TodoReturn reorderObjectSection(GameObject*); - TodoReturn reparentObject(cocos2d::CCNode*, cocos2d::CCNode*); - TodoReturn resetActiveEnterEffects() = win 0x1952f0; - TodoReturn resetAreaObjectValues(GameObject*, bool); - TodoReturn resetAudio(); - TodoReturn resetCamera() = win 0x1c1210; - TodoReturn resetGradientLayers(); - TodoReturn resetGroupCounters(bool); - TodoReturn resetLevelVariables(); - TodoReturn resetMoveOptimizedValue(); - TodoReturn resetPlayer(); - TodoReturn resetSongTriggerValues() = win 0x3bef0; - TodoReturn resetSpawnChannelIndex() = win 0x1c6d90; - TodoReturn resetStaticCamera(bool, bool) = win 0x1c1470; - TodoReturn resetStoppedAreaObjects(); - TodoReturn restoreAllUIObjects(); - TodoReturn restoreDefaultGameplayOffsetX(); - TodoReturn restoreDefaultGameplayOffsetY(); - TodoReturn restoreRemap(EffectGameObject*, gd::unordered_map&); - TodoReturn resumeAudio() = win 0x1ba5e0; - TodoReturn rotateAreaObjects(GameObject*, cocos2d::CCArray*, float, bool); - TodoReturn rotateObject(GameObject*, float); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint, cocos2d::CCPoint, bool, bool); - void setGroupParent(GameObject*, int); - void setStartPosObject(StartPosObject*); - TodoReturn setupLayers() = win 0x1903d0; - TodoReturn setupLevelStart(LevelSettingsObject*) = win 0x198e50; - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float, float, float); - TodoReturn shouldExitHackedLevel() = win 0x192430; - TodoReturn sortAllGroupsX(); - TodoReturn sortGroups(); - TodoReturn sortSectionVector() = win 0x1ab090; - TodoReturn sortStickyGroups(); - TodoReturn spawnGroupTriggered(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector const&, int, int); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float); - TodoReturn spawnParticleTrigger(SpawnParticleGameObject*); - TodoReturn spawnPlayer2() = win 0x19c9b0; - TodoReturn speedForShaderTarget(int); - TodoReturn staticObjectsInRect(cocos2d::CCRect, bool); - TodoReturn stopAllGroundActions(); - TodoReturn stopCameraShake(); - TodoReturn stopCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn stopCustomEnterEffect(EnterEffectObject*); - TodoReturn stopSFXTrigger(SFXTriggerGameObject*); - TodoReturn swapBackground(int); - TodoReturn swapGround(int); - TodoReturn swapMiddleground(int); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRobotMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToSpiderMode(PlayerObject*, GameObject*, bool); - TodoReturn syncBGTextures() = win 0x1bca00; - TodoReturn teleportPlayer(TeleportPortalObject*, PlayerObject*); - TodoReturn testInstantCountTrigger(int, int, int, bool, int, gd::vector const&, int, int); - TodoReturn toggleAudioVisualizer(bool); - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool) = win 0x19c6e0; - TodoReturn toggleFlipped(bool, bool); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleLockPlayer(bool, bool); - TodoReturn togglePlayerStreakBlend(bool); - TodoReturn togglePlayerVisibility(bool, bool); - TodoReturn togglePlayerVisibility(bool); - TodoReturn transformAreaObjects(GameObject*, cocos2d::CCArray*, float, float, bool); - TodoReturn triggerAdvancedFollowCommand(AdvancedFollowTriggerObject*); - TodoReturn triggerAdvancedFollowEditCommand(AdvancedFollowEditObject*); - TodoReturn triggerAreaEffect(EnterEffectObject*); - TodoReturn triggerAreaEffectAnimation(EnterEffectObject*); - TodoReturn triggerDynamicMoveCommand(EffectGameObject*); - TodoReturn triggerDynamicRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerGradientCommand(GradientTriggerObject*); - TodoReturn triggerGravityChange(EffectGameObject*, int); - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerShaderCommand(ShaderGameObject*); - TodoReturn triggerTransformCommand(TransformTriggerGameObject*); - TodoReturn tryGetGroupParent(int); - TodoReturn tryGetMainObject(int); - TodoReturn tryGetObject(int); - TodoReturn tryResumeAudio(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - TodoReturn ungroupStickyObjects(cocos2d::CCArray*); - TodoReturn unlinkAllEvents(); - TodoReturn updateActiveEnterEffect(EnterEffectObject*); - TodoReturn updateAllObjectSection(); - TodoReturn updateAreaObjectLastValues(GameObject*); - TodoReturn updateAudioVisualizer(); - TodoReturn updateBGArtSpeed(float, float); - TodoReturn updateCamera(float) = win 0x1bd5e0; - TodoReturn updateCameraBGArt(cocos2d::CCPoint, float); - TodoReturn updateCameraEdge(int, int); - TodoReturn updateCameraMode(EffectGameObject*, bool); - TodoReturn updateCameraOffsetX(float, float, int, float, int, int); - TodoReturn updateCameraOffsetY(float, float, int, float, int, int); - TodoReturn updateCollisionBlocks(); - TodoReturn updateCounters(int, int); - TodoReturn updateDualGround(PlayerObject*, int, bool, float); - TodoReturn updateEnterEffects(float); - TodoReturn updateExtendedCollision(GameObject*, bool); - TodoReturn updateExtraGameLayers(); - TodoReturn updateGameplayOffsetX(int, bool); - TodoReturn updateGameplayOffsetY(int, bool); - TodoReturn updateGradientLayers() = win 0x1a47e0; - TodoReturn updateGroundShadows(); - TodoReturn updateGuideArt(); - TodoReturn updateInternalCamOffsetX(float, float, float); - TodoReturn updateInternalCamOffsetY(float, float, float); - TodoReturn updateKeyframeOrder(int); - TodoReturn updateLayerCapacity(gd::string); - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - TodoReturn updateLevelColors() = win 0x193420; - TodoReturn updateMaxGameplayY() = win 0x1bc8e0; - TodoReturn updateMGArtSpeed(float, float); - TodoReturn updateMGOffsetY(float, float, int, float, int, int); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateParticles(float); - TodoReturn updatePlatformerTime() = win 0x1bbce0; - TodoReturn updatePlayerCollisionBlocks(); - TodoReturn updateProximityVolumeEffects(); - TodoReturn updateQueuedLabels(); - TodoReturn updateReplay(); - TodoReturn updateSavePositionObjects(); - TodoReturn updateShaderLayer(float) = win 0x1a6840; - TodoReturn updateSpecialGroupData(); - TodoReturn updateSpecialLabels() = win 0x1bb970; - TodoReturn updateStaticCameraPos(cocos2d::CCPoint, bool, bool, bool, float, int, float) = win 0x1c0c10; - TodoReturn updateStaticCameraPosToGroup(int, bool, bool, bool, float, float, int, float, bool, float); - TodoReturn updateTimeMod(float, bool, bool); - TodoReturn updateTimerLabels(); - TodoReturn updateZoom(float, float, int, float, int, int); - TodoReturn visitWithColorFlash(); - TodoReturn volumeForProximityEffect(SFXTriggerInstance&) = win 0x1c3a40; - - virtual void update(float); - virtual bool init() = win 0x18f210; - virtual void visit(); - virtual TodoReturn postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual TodoReturn updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn opacityForObject(GameObject*); - virtual TodoReturn addToSpeedObjects(EffectGameObject*); - virtual TodoReturn objectsCollided(int, int); - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x1a7780; - virtual TodoReturn toggleGroupTriggered(int, bool, gd::vector const&, int, int); - virtual TodoReturn spawnGroup(int, bool, double, gd::vector const&, int, int); - virtual TodoReturn spawnObject(GameObject*, double, gd::vector const&); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual TodoReturn activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual TodoReturn destroyPlayer(PlayerObject*, GameObject*); - virtual TodoReturn addToSection(GameObject*) = win 0x1aa820; - virtual TodoReturn addToGroup(GameObject*, int, bool) = win 0x1a7d00; - virtual TodoReturn removeFromGroup(GameObject*, int) = win 0x1a7e20; - virtual TodoReturn updateObjectSection(GameObject*) = win 0x1abd60; - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int) {} - virtual TodoReturn posForTime(float) {} - virtual TodoReturn resetSPTriggered() {} - virtual TodoReturn updateScreenRotation(float, bool, bool, float, int, float, int, int) = win 0x1b8400; - virtual TodoReturn reverseDirection(EffectGameObject*) = win 0x19dfd0; - virtual TodoReturn rotateGameplay(RotateGameplayGameObject*) = win 0x19e030; - virtual TodoReturn didRotateGameplay(); - virtual TodoReturn updateTimeWarp(float); - virtual TodoReturn updateTimeWarp(GameObject*, float); - virtual TodoReturn applyTimeWarp(float) = win 0x1b8720; - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn createCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, bool); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual TodoReturn checkpointActivated(CheckpointGameObject*) = win 0x1c79a0; - virtual TodoReturn flipArt(bool); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual TodoReturn updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual TodoReturn toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual TodoReturn removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - - PAD = win 0x8, android32 0x8, android64 0xc; - GJGameState m_gameState; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - PAD = win 0x290, android32 0x28c, android64 0x510; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - PAD = win 0x134, android32 0x134, android64 0x21c; - cocos2d::CCLayer* m_objectLayer; - PAD = win 0x70, android32 0x70, android64 0xec; - std::array m_massiveFloatArray; - PAD = win 0x110, android32 0x114, android64 0x1ec; - bool m_isPracticeMode; - bool m_practiceMusicSync; - PAD = win 0xd2, android32 0xba, android64 0xf0; - gd::vector m_queuedButtons; - PAD = win 0x20a, android32 0x1ea, android64 0x340; -} - -[[link(android)]] -class GJBigSprite : cocos2d::CCNode { - // virtual ~GJBigSprite(); - - static GJBigSprite* create(); - - TodoReturn finishedLoadingSpriteAsync(cocos2d::CCObject*); - TodoReturn loadSpriteAsync(gd::string, int); - TodoReturn unloadAll(); - TodoReturn unloadSprite(gd::string, int); - TodoReturn updateSpriteVisibility(); - - virtual bool init(); -} - -[[link(android)]] -class GJBigSpriteNode : cocos2d::CCNode { - // virtual ~GJBigSpriteNode(); - - static GJBigSpriteNode* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJChallengeDelegate { - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); -} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - // virtual ~GJChallengeItem(); - - static GJChallengeItem* create(); - static GJChallengeItem* create(GJChallengeType, int, int, int, gd::string); - - TodoReturn createFromString(gd::string); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn incrementCount(int); - bool init(GJChallengeType, int, int, int, gd::string); - void setCount(int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class GJChestSprite : cocos2d::CCSprite { - // virtual ~GJChestSprite(); - - static GJChestSprite* create(int); - - bool init(int); - TodoReturn switchToState(ChestSpriteState, bool); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); -} - -[[link(android)]] -class GJColorSetupLayer : FLAlertLayer, ColorSelectDelegate, FLAlertLayerProtocol { - // virtual ~GJColorSetupLayer(); - - static GJColorSetupLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - TodoReturn showPage(int); - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - - virtual void keyBackClicked(); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - // virtual ~GJComment(); - - static GJComment* create(); - static GJComment* create(cocos2d::CCDictionary*); - - virtual bool init(); - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - bool m_unkMultiplayerBool; - GJUserScore* m_userScore; -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, bool) = win 0x2068c0; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, bool) = win 0x2069b0; - - BoomListView* m_list; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); -} - -[[link(android)]] -class GJDifficultySprite : cocos2d::CCSprite { - // virtual ~GJDifficultySprite(); - - static GJDifficultySprite* create(int, GJDifficultyName) = win 0x2156e0; - - TodoReturn getDifficultyFrame(int, GJDifficultyName) = win 0x215840; - bool init(int, GJDifficultyName) = win 0x2157b0; - TodoReturn updateDifficultyFrame(int, GJDifficultyName) = win 0x215930; - TodoReturn updateFeatureState(GJFeatureState) = win 0x215af0; - TodoReturn updateFeatureStateFromLevel(GJGameLevel*) = win 0x215a70; -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - // virtual ~GJDropDownLayer(); - // GJDropDownLayer(); - - static GJDropDownLayer* create(char const*, float); - static GJDropDownLayer* create(char const*); - - bool init(char const*, float) = win 0x1d5600; - bool init(char const*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool) = win 0x1d5a80; - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - bool m_controllerEnabled; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; - int m_unknown; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - // virtual ~GJEffectManager(); - // GJEffectManager(); - - static GJEffectManager* create(); - - TodoReturn activeColorForIndex(int) = win 0x1da660; - TodoReturn activeOpacityForIndex(int); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn addCountToItem(int, int); - TodoReturn addMoveCalculation(CCMoveCNode*, cocos2d::CCPoint, GameObject*); - TodoReturn calculateBaseActiveColors() = win 0x1da6e0; - TodoReturn calculateInheritedColor(int, ColorAction*); - TodoReturn calculateLightBGColor(cocos2d::ccColor3B) = win 0x1e29c0; - TodoReturn checkCollision(int const&, int const&); - TodoReturn colorActionChanged(ColorAction*); - TodoReturn colorExists(int); - TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue); - TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool); - TodoReturn colorForIndex(int); - TodoReturn colorForPulseEffect(cocos2d::ccColor3B const&, PulseEffectAction*) = win 0x1e0ec0; - TodoReturn controlActionsForControlID(int, GJActionCommand); - TodoReturn controlActionsForTrigger(EffectGameObject*, GJActionCommand); - TodoReturn countForItem(int); - TodoReturn createFollowCommand(float, float, float, int, int, int, int); - TodoReturn createKeyframeCommand(int, cocos2d::CCArray*, GameObject*, int, int, bool, float, float, float, float, float, float, gd::vector const&); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, bool, bool, float, float, int, int); - TodoReturn createPlayerFollowCommand(float, float, int, float, float, int, int, int); - TodoReturn createRotateCommand(float, float, int, int, int, float, bool, bool, bool, int, int); - TodoReturn createTransformCommand(double, double, double, double, bool, float, int, int, int, float, bool, bool, int, int); - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - TodoReturn getColorAction(int) = win 0x1dad30; - TodoReturn getColorSprite(int) = win 0x1dadb0; - TodoReturn getLoadedMoveOffset(gd::unordered_map>&); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getMoveCommandNode(GroupCommandObject2*); - TodoReturn getMoveCommandObject(); - TodoReturn getOpacityActionForGroup(int); - TodoReturn getSaveString(); - TodoReturn getTempGroupCommand(); - TodoReturn handleObjectCollision(bool, int, int); - TodoReturn hasActiveDualTouch(); - TodoReturn hasBeenTriggered(int, int); - TodoReturn hasPulseEffectForGroupID(int); - bool isGroupEnabled(int); - TodoReturn keyForGroupIDColor(int, cocos2d::ccColor3B const&, bool); - void loadFromState(EffectManagerState&); - TodoReturn objectsCollided(int, int) = win 0x1db270; - TodoReturn opacityForIndex(int); - TodoReturn opacityModForGroup(int); - TodoReturn pauseTimer(int); - TodoReturn playerButton(bool, bool); - TodoReturn playerDied() = win 0x1e1860; - TodoReturn postCollisionCheck(); - TodoReturn postMoveActions(); - TodoReturn preCollisionCheck(); - TodoReturn prepareMoveActions(float, bool); - TodoReturn processColors(); - TodoReturn processCopyColorPulseActions() = win 0x1e0ca0; - TodoReturn processInheritedColors() = win 0x1da7b0; - TodoReturn processMoveCalculations(); - TodoReturn processPulseActions() = win 0x1e0be0; - TodoReturn registerCollisionTrigger(int, int, int, bool, bool, gd::vector const&, int, int); - TodoReturn registerRotationCommand(GroupCommandObject2*, bool); - TodoReturn removeAllPulseActions(); - TodoReturn removeColorAction(int); - TodoReturn removePersistentFromAllItems(); - TodoReturn removePersistentFromAllTimers(); - TodoReturn removeTriggeredID(int, int); - TodoReturn reset(); - TodoReturn resetEffects(); - TodoReturn resetMoveActions(); - TodoReturn resetTempGroupCommands(bool); - TodoReturn resetToggledGroups(); - TodoReturn resetTriggeredIDs(); - TodoReturn resumeTimer(int); - TodoReturn runCountTrigger(int, int, bool, int, bool, gd::vector const&, int, int); - TodoReturn runDeathTrigger(int, bool, gd::vector const&, int, int); - TodoReturn runOpacityActionOnGroup(int, float, float, int, int); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool, bool, bool, int, int); - TodoReturn runTimerTrigger(int, double, bool, int, gd::vector const&, int, int); - TodoReturn runTouchTriggerCommand(int, bool, TouchTriggerType, TouchTriggerControl, bool, gd::vector const&, int, int); - TodoReturn saveCompletedMove(int, double, double); - TodoReturn saveToState(EffectManagerState&) = win 0x1e3150; - void setColorAction(ColorAction*, int); - void setFollowing(int, int, bool); - TodoReturn setupFromString(gd::string); - TodoReturn shouldBlend(int); - TodoReturn spawnGroup(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObject(GameObject*, float, gd::vector const&, int, int); - TodoReturn startTimer(int, double, double, bool, bool, bool, float, bool, int, gd::vector const&, int, int); - TodoReturn storeTriggeredID(int, int); - TodoReturn timeForItem(int); - TodoReturn timerExists(int); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleItemPersistent(int, bool); - TodoReturn toggleTimerPersistent(int, bool); - TodoReturn transferPersistentItems(); - TodoReturn traverseInheritanceChain(InheritanceNode*) = win 0x1daa00; - TodoReturn tryGetMoveCommandNode(int); - TodoReturn updateActiveOpacityEffects(); - TodoReturn updateColorAction(ColorAction*); - TodoReturn updateColorEffects(float); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateCountForItem(int, int); - TodoReturn updateEffects(float); - TodoReturn updateOpacityAction(OpacityEffectAction*); - TodoReturn updateOpacityEffects(float); - TodoReturn updatePulseEffects(float); - TodoReturn updateSpawnTriggers(float); - TodoReturn updateTimer(int, double); - TodoReturn updateTimers(float, float); - TodoReturn wasFollowing(int, int); - TodoReturn wouldCreateLoop(InheritanceNode*, int) = win 0x1dad00; - - virtual bool init() = win 0x1da220; -} - -[[link(android)]] -class GJFlyGroundLayer : GJGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJFollowCommandLayer(); - - static GJFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJFriendRequest : cocos2d::CCNode { - // virtual ~GJFriendRequest(); - - static GJFriendRequest* create() = win 0x118930; - static GJFriendRequest* create(cocos2d::CCDictionary*); - - virtual bool init(); -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - // virtual ~GJGameLevel(); - - static GJGameLevel* create() = win 0x113330; - static GJGameLevel* create(cocos2d::CCDictionary*, bool) = win 0x111F50; - inline static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - //inlined on windows - auto level = GJGameLevel::create(); - level->dataLoaded(dict); - return level; - } - - TodoReturn areCoinsVerified() = win 0x1166e0; - TodoReturn copyLevelInfo(GJGameLevel*); - void dataLoaded(DS_Dictionary*) = win 0x114930; - TodoReturn demonIconForDifficulty(DemonDifficultyType); - TodoReturn generateSettingsString(); - TodoReturn getAudioFileName() = win 0x113d10; - TodoReturn getAverageDifficulty(); - char const* getCoinKey(int) = win 0x113af0; - TodoReturn getLastBuildPageForTab(int); - TodoReturn getLengthKey(int, bool); - TodoReturn getListSnapshot(); - TodoReturn getNormalPercent(); - TodoReturn getSongName(); - gd::string getUnpackedLevelDescription() = win 0x1167F0; - TodoReturn handleStatsConflict(GJGameLevel*); - inline bool isPlatformer() { - return m_levelLength == 5; - } - TodoReturn lengthKeyToString(int); - TodoReturn levelWasAltered(); - TodoReturn levelWasSubmitted(); - TodoReturn parseSettingsString(gd::string); - TodoReturn saveNewScore(int, int); - TodoReturn savePercentage(int, bool, int, int, bool) = win 0x113640; - TodoReturn scoreStringToVector(gd::string&, gd::vector&); - TodoReturn scoreVectorToString(gd::vector&, int); - void setAccountID(int); - void setAttempts(int); - void setAttemptTime(int); - void setClicks(int); - void setCoinsVerified(int); - void setDailyID(int); - void setDemon(int); - void setJumps(int); - void setLastBuildPageForTab(int, int); - void setLevelID(int); - void setNewNormalPercent(int); - void setNewNormalPercent2(int); - void setNormalPercent(int); - void setObjectCount(int); - void setOriginalLevel(int); - void setPassword(int); - void setStars(int); - TodoReturn storeNewLocalScore(int, int); - TodoReturn unverifyCoins(); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x1159B0; - virtual bool canEncode() = win 0x1D800; //merged func (return true) - virtual bool init() = win 0x1133d0; - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - gd::string m_unkString1; - gd::string m_unkString2; - - cocos2d::CCPoint m_unkPoint; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - bool m_friendsOnly; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - bool m_selected; - bool m_localOrSaved; - bool m_disableShake; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - int m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - bool m_unlimitedObjectsEnabled; - gd::string m_personalBests; - int m_timestamp; - int m_unkInt; - gd::string m_songIDs; - gd::string m_sfxIDs; - int m_54; - int m_bestTime; - int m_bestPoints; - int m_k111; - gd::string m_unkString3; - gd::string m_unkString4; -} - -[[link(android)]] -class GJGameLoadingLayer : cocos2d::CCLayer { - // virtual ~GJGameLoadingLayer(); - - static GJGameLoadingLayer* create(GJGameLevel*, bool); - - TodoReturn gameLayerDidUnload(); - bool init(GJGameLevel*, bool); - TodoReturn loadLevel(); - TodoReturn transitionToLoadingLayer(GJGameLevel*, bool) = win 0x1c9770; - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); -} - -[[link(android)]] -class GJGameState { - // ~GJGameState(); - // GJGameState(); - - TodoReturn controlTweenAction(int, int, GJActionCommand); - TodoReturn getGameObjectPhysics(GameObject*); - TodoReturn processStateTriggers(); - TodoReturn stopTweenAction(int); - TodoReturn tweenValue(float, float, int, float, int, float, int, int); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); - - PAD = win 0x490, android32 0x4a8, android64 0x6e8; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate, CharacterColorDelegate { - // virtual ~GJGarageLayer(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn descriptionForUnlock(int, UnlockType); - TodoReturn getItems(IconType); - TodoReturn getItems(int, int, IconType, int); - TodoReturn getLockFrame(int, UnlockType); - TodoReturn node(); - void onArrow(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNavigate(cocos2d::CCObject* sender); - void onPaint(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender) = win 0x1f1820; - void onSelectTab(cocos2d::CCObject* sender); - void onShards(cocos2d::CCObject* sender); - void onShop(cocos2d::CCObject* sender); - void onSpecial(cocos2d::CCObject* sender); - void onToggleItem(cocos2d::CCObject* sender) = win 0x1f1b40; - TodoReturn playRainbowEffect(); - TodoReturn playShadowEffect(); - TodoReturn scene(); - TodoReturn selectTab(IconType); - TodoReturn setupIconSelect(); - TodoReturn setupPage(int, IconType); - TodoReturn setupSpecialPage(); - TodoReturn showUnlockPopupNew(int, UnlockType); - TodoReturn titleForUnlock(int, UnlockType); - TodoReturn toggleGlow(); - TodoReturn updatePlayerColors(); - TodoReturn updatePlayerName(char const*); - - virtual bool init() = win 0x1edd40; - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); - virtual TodoReturn showUnlockPopup(int, UnlockType) = win 0x1f1da0; - virtual TodoReturn updateRate() = win 0x1f2370; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); - virtual TodoReturn playerColorChanged(); -} - -[[link(android)]] -class GJGradientLayer : cocos2d::CCLayerGradient { - // virtual ~GJGradientLayer(); - - static GJGradientLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int, int); - - TodoReturn createLine(int); - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundY(); - TodoReturn hideShadows(); - bool init(int, int); - TodoReturn loadGroundSprites(int, bool); - TodoReturn positionGround(float); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGround01Color(cocos2d::ccColor3B); - TodoReturn updateGround02Color(cocos2d::ccColor3B); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateLineBlend(bool); - TodoReturn updateShadows(); - TodoReturn updateShadowXPos(float, float); - - virtual void draw(); - virtual TodoReturn showGround(); - virtual TodoReturn fadeInGround(float); - virtual TodoReturn fadeOutGround(float); -} - -[[link(android)]] -class GJHttpResult : cocos2d::CCNode { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - bool init(bool, gd::string, gd::string, GJHttpType); -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - // virtual ~GJItemIcon(); - - static GJItemIcon* create(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f3b00; - - TodoReturn changeToLockedState(float); - inline static GJItemIcon* createBrowserItem(UnlockType unlockType, int itemID) { - return GJItemIcon::create(unlockType, itemID, {0xAF, 0xAF, 0xAF}, {0xFF, 0xFF, 0xFF}, false, true, true, {0xFF, 0xFF, 0xFF}); - } - TodoReturn createStoreItem(UnlockType, int, bool, cocos2d::ccColor3B); - TodoReturn darkenStoreItem(cocos2d::ccColor3B); - TodoReturn darkenStoreItem(ShopType); - bool init(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f3be0; - TodoReturn scaleForType(UnlockType); - TodoReturn toggleEnabledState(bool); - TodoReturn unlockedColorForType(int); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class GJLevelList : cocos2d::CCNode { - // virtual ~GJLevelList(); - - static GJLevelList* create(); - static GJLevelList* create(cocos2d::CCDictionary*); - - TodoReturn addLevelToList(GJGameLevel*); - int completedLevels(); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn duplicateListLevels(GJLevelList*); - TodoReturn frameForListDifficulty(int, DifficultyIconType); - TodoReturn getListLevelsArray(cocos2d::CCArray*); - gd::string getUnpackedDescription() = win 0x11BA00; - TodoReturn orderForLevel(int); - TodoReturn parseListLevels(gd::string); - TodoReturn removeLevelFromList(int); - TodoReturn reorderLevel(int, int); - TodoReturn reorderLevelStep(int, bool); - TodoReturn showListInfo(); - TodoReturn totalLevels(); - TodoReturn updateLevelsString(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual bool init(); -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - // virtual ~GJLevelScoreCell(); - GJLevelScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x87c30; - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f7430; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f7520; - - BoomListView* m_listView; -} - -[[link(android)]] -class GJLocalLevelScoreCell : TableViewCell { - // virtual ~GJLocalLevelScoreCell(); - GJLocalLevelScoreCell(char const*, float, float); - - void loadFromScore(GJLocalScore*) = win 0x87860; - TodoReturn updateBGColor(int) = win 0x87af0; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJLocalScore : cocos2d::CCObject { - // virtual ~GJLocalScore(); - - static GJLocalScore* create(int, int); - - bool init(int, int); -} - -[[link(android)]] -class GJMapObject : cocos2d::CCNode { - // virtual ~GJMapObject(); - - static GJMapObject* create(cocos2d::CCNode*); - - TodoReturn createMonster(int); - bool init(cocos2d::CCNode*); - TodoReturn monsterIdle(); - TodoReturn monsterJump(); - TodoReturn moveFinished(); - TodoReturn moveMonster(); - TodoReturn moveMonster(cocos2d::CCPoint, float); - TodoReturn playerJump(); - void setObjectOrigin(cocos2d::CCPoint, float); - TodoReturn startMonsterJumpLoop(); - TodoReturn startPlayerJumpLoop(); - TodoReturn touchMonster(); - TodoReturn updateShadow(float, float, cocos2d::CCPoint); -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - // virtual ~GJMapPack(); - - static GJMapPack* create(); - static GJMapPack* create(cocos2d::CCDictionary*); - - int completedMaps(); - bool hasCompletedMapPack(); - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - int totalMaps(); - - virtual bool init(); - - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - - - -} - -[[link(android)]] -class GJMessageCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJMessageCell(); - GJMessageCell(char const*, float, float); - - void loadFromMessage(GJUserMessage*) = win 0x8a320; - TodoReturn markAsRead(); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJMessagePopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol, DownloadMessageDelegate { - // virtual ~GJMessagePopup(); - - static GJMessagePopup* create(GJUserMessage*); - - void blockUser(); - bool init(GJUserMessage*); - void loadFromGJMessage(GJUserMessage*); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJMGLayer : cocos2d::CCLayer { - // virtual ~GJMGLayer(); - - static GJMGLayer* create(int); - - TodoReturn deactivateGround(); - bool init(int); - TodoReturn loadGroundSprites(int, bool); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGroundColor(cocos2d::ccColor3B, bool); - TodoReturn updateGroundOpacity(unsigned char, bool); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateMG01Blend(bool); - TodoReturn updateMG02Blend(bool); - - virtual void draw(); - virtual TodoReturn showGround(); -} - -[[link(android)]] -class GJMoreGamesLayer : GJDropDownLayer { - // virtual ~GJMoreGamesLayer(); - - static GJMoreGamesLayer* create(); - - TodoReturn getMoreGamesList(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class GJMPDelegate { - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn updateComments(); -} - -[[link(android)]] -class GJMultiplayerManager : cocos2d::CCNode { - // virtual ~GJMultiplayerManager(); - - static GJMultiplayerManager* sharedState(); - - TodoReturn addComment(gd::string, int); - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - TodoReturn createAndAddComment(gd::string, int); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn exitLobby(int); - void firstSetup(); - TodoReturn getBasePostString(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getLastCommentIDForGame(int); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - TodoReturn joinLobby(int); - TodoReturn onExitLobbyCompleted(gd::string, gd::string); - TodoReturn onJoinLobbyCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onUploadCommentCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - void uploadComment(gd::string, int); - - virtual bool init(); -} - -[[link(android)]] -class GJObjectDecoder : cocos2d::CCNode, ObjectDecoderDelegate { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder(); - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*) = win 0x1faf90; -} - -[[link(android)]] -class GJOptionsLayer : SetupTriggerPopup { - // virtual ~GJOptionsLayer(); - // GJOptionsLayer(); - - static GJOptionsLayer* create(int); - - TodoReturn addGVToggle(char const*, char const*, char const*); - TodoReturn addToggle(char const*, int, bool, char const*); - TodoReturn addToggleInternal(char const*, int, bool, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - bool init(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggleGV(gd::string); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class GJPathPage : FLAlertLayer, FLAlertLayerProtocol, GJPurchaseDelegate { - // virtual ~GJPathPage(); - - static GJPathPage* create(int, GJPathsLayer*); - - bool init(int, GJPathsLayer*) = win 0x1fbe70; - void onActivatePath(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onUnlock(cocos2d::CCObject* sender); - TodoReturn playUnlockAnimation(); - TodoReturn showCantAffordMessage(GJStoreItem*); - TodoReturn unlockAnimationFinished(); - TodoReturn unlockAnimationStep2(); - TodoReturn unlockAnimationStep3(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJPathRewardPopup : FLAlertLayer { - // virtual ~GJPathRewardPopup(); - - static GJPathRewardPopup* create(int); - - TodoReturn closePopup(); - bool init(int); - void onClaim(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class GJPathsLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~GJPathsLayer(); - - static GJPathsLayer* create(); - - TodoReturn darkenButtons(bool); - TodoReturn nameForPath(int); - void onClose(cocos2d::CCObject* sender); - void onPath(cocos2d::CCObject* sender); - - virtual bool init() = win 0x1fb6c0; - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPathSprite : CCSpriteCOpacity { - // virtual ~GJPathSprite(); - - static GJPathSprite* create(int); - - TodoReturn addRankLabel(int); - TodoReturn addShardSprite(); - TodoReturn changeToLockedArt(); - bool init(int); - TodoReturn updateState(); -} - -[[link(android)]] -class GJPFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJPFollowCommandLayer(); - - static GJPFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateMaxSpeed(); - TodoReturn updateMaxSpeedLabel(); - TodoReturn updateOffsetLabel(); - TodoReturn updatePlayerOffset(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJPromoPopup : FLAlertLayer { - // virtual ~GJPromoPopup(); - - static GJPromoPopup* create(gd::string); - - bool init(gd::string) = win 0x215420; - void onClose(cocos2d::CCObject* sender); - - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPurchaseDelegate { - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJRequestCell(); - GJRequestCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x89660; - TodoReturn markAsRead(); - void onDeleteRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJRewardDelegate { - virtual TodoReturn rewardsStatusFinished(int); - virtual TodoReturn rewardsStatusFailed(); -} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - // virtual ~GJRewardItem(); - - static GJRewardItem* create(); - static GJRewardItem* create(int, int, gd::string); - - TodoReturn createSpecial(GJRewardType, int, int, SpecialRewardItem, int, SpecialRewardItem, int, int, int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn createWithObject(GJRewardType, GJRewardObject*); - TodoReturn createWithObjects(GJRewardType, cocos2d::CCArray*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn getNextShardType(SpecialRewardItem); - TodoReturn getRandomNonMaxShardType(); - TodoReturn getRandomShardType(); - TodoReturn getRewardCount(SpecialRewardItem); - TodoReturn getRewardObjectForType(SpecialRewardItem); - bool init(int, int, gd::string); - bool isShardType(SpecialRewardItem); - TodoReturn rewardItemToStat(SpecialRewardItem); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - // virtual ~GJRewardObject(); - - static GJRewardObject* create(); - static GJRewardObject* create(SpecialRewardItem, int, int); - - TodoReturn createItemUnlock(UnlockType, int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - bool init(SpecialRewardItem, int, int); - bool isSpecialType(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - // virtual ~GJRobotSprite(); - // GJRobotSprite(); - - static GJRobotSprite* create(int) = win 0x216010; - - TodoReturn hideGlow(); - bool init(int, gd::string); - bool init(int); - TodoReturn showGlow(); - TodoReturn updateColor01(cocos2d::ccColor3B); - TodoReturn updateColor02(cocos2d::ccColor3B); - TodoReturn updateColors() = win 0x216670; - TodoReturn updateFrame(int) = win 0x216bb0; - TodoReturn updateGlowColor(cocos2d::ccColor3B, bool); - - virtual void setOpacity(unsigned char); - virtual TodoReturn hideSecondary(); -} - -[[link(android)]] -class GJRotateCommandLayer : SetupTriggerPopup { - // virtual ~GJRotateCommandLayer(); - - static GJRotateCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onFollowRotation(cocos2d::CCObject* sender); - void onLockRotation(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn sliderTimesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateCommandTimes(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateTimesLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - // virtual ~GJRotationControl(); - - static GJRotationControl* create(); - - TodoReturn finishTouch(); - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - // virtual ~GJScaleControl(); - - static GJScaleControl* create(); - - TodoReturn finishTouch(); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn scaleFromValue(float); - TodoReturn skewFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabelX(float); - TodoReturn updateLabelXY(float); - TodoReturn updateLabelY(float); - TodoReturn valueFromScale(float); - TodoReturn valueFromSkew(float); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual TodoReturn scaleXYChanged(float, float); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x86520; - void onBan(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender) = win 0x87660; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - - GJUserScore* m_score; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x119CD0; - static GJSearchObject* create(SearchType, gd::string) = win 0x119BD0; - static GJSearchObject* create(SearchType) = win 0x119AE0; - static GJSearchObject* createFromKey(char const*) = win 0x119730; - - char const* getKey() = win 0x11a020; - char const* getNextPageKey(); - GJSearchObject* getNextPageObject(); - GJSearchObject* getPageObject(int); - GJSearchObject* getPrevPageObject(); - TodoReturn getSearchKey(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x11a450; - bool init(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x119e80; - bool isLevelSearchObject() = win 0x11a630; - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_total; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - bool m_legendaryFilter; - bool m_mythicFilter; - GJDifficulty m_demonFilter; - int m_folder; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; - bool m_searchIsOverlay; - int m_searchMode; -} - -[[link(android)]] -class GJShaderState { - TodoReturn reset(); - TodoReturn stopTweenAction(int); - TodoReturn timesyncShaderAction(int); - TodoReturn timesyncShaderActions(); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); -} - -[[link(android)]] -class GJShopLayer : cocos2d::CCLayer, GJPurchaseDelegate, DialogDelegate, RewardedVideoDelegate { - // virtual ~GJShopLayer(); - - static GJShopLayer* create(ShopType); - - TodoReturn exitVideoAdItems(); - bool init(ShopType) = win 0x218670; - void onBack(cocos2d::CCObject* sender); - void onCommunityCredits(cocos2d::CCObject* sender); - void onPlushies(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x219dc0; - void onVideoAd(cocos2d::CCObject* sender); - TodoReturn scene(ShopType); - TodoReturn showCantAffordMessage(GJStoreItem*); - TodoReturn showReactMessage() = win 0x21a950; - TodoReturn updateCurrencyCounter(); - - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class GJSmartBlockPreview : cocos2d::CCNode { - // virtual ~GJSmartBlockPreview(); - - static GJSmartBlockPreview* create(gd::string); - - TodoReturn addChance(int, int); - TodoReturn addCount(int); - TodoReturn addPreview(gd::string, gd::string, LevelEditorLayer*); - TodoReturn addTemplateGuide(gd::string, int); - TodoReturn addTemplateGuide(SmartPrefabResult, float); - TodoReturn createInfoLabel(); - bool init(gd::string); - TodoReturn toggleSelectItem(bool); -} - -[[link(android)]] -class GJSmartBlockPreviewSprite : cocos2d::CCNode { - // virtual ~GJSmartBlockPreviewSprite(); - - static GJSmartBlockPreviewSprite* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class GJSmartPrefab : cocos2d::CCObject { - // virtual ~GJSmartPrefab(); - - static GJSmartPrefab* create(); - - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - bool init(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSmartTemplate : cocos2d::CCObject { - // virtual ~GJSmartTemplate(); - - static GJSmartTemplate* create(); - - TodoReturn applyTransformationsForType(SmartBlockType, cocos2d::CCSprite*); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn flipBlockType(SmartBlockType, bool, bool); - TodoReturn flipBlockTypeX(SmartBlockType); - TodoReturn flipBlockTypeY(SmartBlockType); - TodoReturn flipKey(gd::string, bool, bool); - TodoReturn generateRemapDict(); - TodoReturn getNoCornerKey(gd::string); - TodoReturn getPrefab(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn getPrefab(gd::string, bool, bool); - TodoReturn getPrefabs(gd::string); - TodoReturn getPrefabWithID(gd::string, int); - TodoReturn getRandomPrefab(gd::string); - TodoReturn getSimplifiedKey(gd::string); - TodoReturn getSimplifiedType(SmartBlockType, bool&); - TodoReturn getTemplateState(gd::vector&); - TodoReturn getTotalChanceForPrefab(gd::string); - TodoReturn getVerySimplifiedKey(gd::string); - bool init(); - bool isUnrequired(gd::string); - TodoReturn keyFromNeighbors(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn keyFromNeighbors(SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType); - TodoReturn keyFromNeighborsOld(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn logTemplateStatus(bool); - TodoReturn offsetForDir(GJSmartDirection, int); - TodoReturn offsetForObject(SmartGameObject*); - TodoReturn offsetForType(SmartBlockType); - TodoReturn removePrefab(gd::string, int); - TodoReturn resetScannedPrefabs(); - TodoReturn rotateBlockType(SmartBlockType, int); - TodoReturn rotateBlockType90(SmartBlockType); - TodoReturn rotateKey(gd::string, int); - TodoReturn savePrefab(gd::string, gd::string); - TodoReturn saveRemap(gd::string); - TodoReturn saveRemapToDict(gd::string, gd::string, cocos2d::CCDictionary*); - TodoReturn scanForPrefab(gd::string); - TodoReturn shouldDiscardObject(SmartBlockType, GJSmartDirection); - TodoReturn smartObjectToType(SmartGameObject*, cocos2d::CCPoint); - TodoReturn smartTypeToObjectKey(SmartBlockType); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol, TableViewCellDelegate { - // virtual ~GJSongBrowser(); - - static GJSongBrowser* create() = win 0x223970; - - TodoReturn loadPage(int); - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual bool init(); - virtual TodoReturn customSetup() = win 0x223b70; - virtual TodoReturn exitLayer(cocos2d::CCObject*) = win 0x223b00; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - - int m_page; - int m_songID; - bool m_selected; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - cocos2d::CCLabelBMFont* m_countText; - PAD = android32 0x8; - cocos2d::CCArray* m_downloadedSongs; - CustomListView* m_listView; -} - -[[link(android)]] -class GJSpecialColorSelect : FLAlertLayer { - // virtual ~GJSpecialColorSelect(); - - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*, ColorSelectType); - - TodoReturn getButtonByTag(int); - TodoReturn highlightSelected(ButtonSprite*); - bool init(int, GJSpecialColorSelectDelegate*, ColorSelectType); - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - TodoReturn textForColorIdx(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - // virtual ~GJSpiderSprite(); - - static GJSpiderSprite* create(int); - - bool init(int); -} - -[[link(android)]] -class GJSpriteColor { - // GJSpriteColor(); - - TodoReturn getColorMode(); - - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - -} - -[[link(android)]] -class GJStoreItem : cocos2d::CCNode { - // virtual ~GJStoreItem(); - - static GJStoreItem* create(int, int, int, int, ShopType); - - TodoReturn getCurrencyKey(); - bool init(int, int, int, int, ShopType); -} - -[[link(android)]] -class GJTransformControl : cocos2d::CCLayer { - // virtual ~GJTransformControl(); - - static GJTransformControl* create(); - - TodoReturn applyRotation(float); - TodoReturn calculateRotationOffset(); - TodoReturn finishTouch(); - void loadFromState(GJTransformState&); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn logCurrentZeroPos(); - void onToggleLockScale(cocos2d::CCObject* sender); - TodoReturn refreshControl(); - TodoReturn saveToState(GJTransformState&); - TodoReturn scaleButtons(float) = win 0xdfc20; - TodoReturn spriteByTag(int); - TodoReturn updateAnchorSprite(cocos2d::CCPoint); - TodoReturn updateButtons(bool, bool); - TodoReturn updateMinMaxPositions(); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJTransformControlDelegate { - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformChangeBegin(); - virtual TodoReturn transformChangeEnded(); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn getTransformNode(); - virtual TodoReturn getUI(); -} - -[[link(android)]] -class GJUINode : cocos2d::CCNode { - // virtual ~GJUINode(); - - static GJUINode* create(UIButtonConfig&); - - TodoReturn activeRangeTouchTest(cocos2d::CCPoint); - TodoReturn activeTouchTest(cocos2d::CCPoint); - TodoReturn getButtonScale(); - TodoReturn getOpacity(); - TodoReturn highlightButton(int); - bool init(UIButtonConfig&); - void loadFromConfig(UIButtonConfig&); - TodoReturn resetState() = win 0x3bd3d0; - TodoReturn saveToConfig(UIButtonConfig&); - void setOpacity(unsigned char); - TodoReturn toggleHighlight(int, bool); - TodoReturn toggleModeB(bool); - TodoReturn touchEnded(); - TodoReturn touchTest(cocos2d::CCPoint); - TodoReturn updateButtonFrames(); - TodoReturn updateButtonPositions(); - TodoReturn updateButtonScale(float); - TodoReturn updateDeadzone(int); - TodoReturn updateDragRadius(float); - TodoReturn updateHeight(float); - TodoReturn updateRangePos(cocos2d::CCPoint); - TodoReturn updateSize(float, float); - TodoReturn updateWidth(float); - - virtual void draw(); -} - -[[link(android)]] -class GJUnlockableItem : cocos2d::CCObject { - // virtual ~GJUnlockableItem(); - - static GJUnlockableItem* create(); - - bool init(); -} - -[[link(android)]] -class GJUserCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJUserCell(); - GJUserCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x886c0; - void onCancelFriendRequest(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - // virtual ~GJUserMessage(); - - static GJUserMessage* create(); - static GJUserMessage* create(cocos2d::CCDictionary*); - - virtual bool init(); -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - // virtual ~GJUserScore(); - - static GJUserScore* create() = win 0x1186F0; - static GJUserScore* create(cocos2d::CCDictionary*) = win 0x117750; - - bool isCurrentUser() = win 0x1187f0; - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init(); - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_moons; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_color3; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerSwing; - int m_playerJetpack; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - int m_newFriendCount; - bool m_newFriendRequest; -} - -[[link(android)]] -class GJValueTween { - TodoReturn step(float); -} - -[[link(android)]] -class GJWorldNode : cocos2d::CCNode { - // virtual ~GJWorldNode(); - - static GJWorldNode* create(int, WorldSelectLayer*); - - TodoReturn addDotsToLevel(int, bool); - TodoReturn dotPositionForLevel(int, int); - bool init(int, WorldSelectLayer*); - void onLevel(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn positionForLevelButton(int); - TodoReturn unlockActiveItem(); -} - -[[link(android)]] -class GJWriteMessagePopup : FLAlertLayer, TextInputDelegate, UploadMessageDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~GJWriteMessagePopup(); - - static GJWriteMessagePopup* create(int, int); - - TodoReturn closeMessagePopup(bool); - bool init(int, int); - void onClearBody(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - TodoReturn updateBody(gd::string); - TodoReturn updateCharCountLabel(int); - TodoReturn updateSubject(gd::string); - TodoReturn updateText(gd::string, int); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - TodoReturn getSaveString(); - TodoReturn load(); - TodoReturn loadDataFromFile(gd::string const&); - void loadFromCompressedString(gd::string&); - void loadFromString(gd::string&); - inline void save() { - saveGMTo(m_fileName); - } - TodoReturn saveData(DS_Dictionary*, gd::string); - TodoReturn saveGMTo(gd::string) = win 0x47570; - TodoReturn tryLoadData(DS_Dictionary*, gd::string const&); - inline GManager() {} - - virtual bool init(); - virtual TodoReturn setup() = win 0x472b0; - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn() {} -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState(); - - TodoReturn googlePlaySignedIn(); - - virtual bool init(); -} - -[[link(android)]] -class GradientTriggerObject : EffectGameObject { - // virtual ~GradientTriggerObject(); - - static GradientTriggerObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GraphicsReloadLayer : cocos2d::CCLayer { - // virtual ~GraphicsReloadLayer(); - - static GraphicsReloadLayer* create(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b6ac0; - - bool init(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b6b80; - TodoReturn performReload() = win 0x2b6c00; - TodoReturn scene(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); -} - -[[link(android)]] -class GravityEffectSprite : cocos2d::CCSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create(); - - TodoReturn updateSpritesColor(cocos2d::ccColor3B) = win 0x2e9e50; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GroupCommandObject2 { - // ~GroupCommandObject2(); - // GroupCommandObject2(); - // GroupCommandObject2(GroupCommandObject2 const&); - - TodoReturn reset(); - TodoReturn resetDelta(bool); - TodoReturn runFollowCommand(double, double, double); - TodoReturn runMoveCommand(cocos2d::CCPoint, double, int, double, bool, bool, bool, bool, double, double); - TodoReturn runPlayerFollowCommand(double, double, int, double, double); - TodoReturn runRotateCommand(double, double, int, double, bool, int); - TodoReturn runTransformCommand(double, int, double); - TodoReturn step(float); - TodoReturn stepTransformCommand(float, bool, bool); - TodoReturn updateAction(int, float); - TodoReturn updateEffectAction(float, int); -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - // virtual ~HardStreak(); - - static HardStreak* create(); - - TodoReturn addPoint(cocos2d::CCPoint) = win 0x225d40; - TodoReturn clearAboveXPos(float); - TodoReturn clearBehindXPos(float); - TodoReturn createDuplicate(); - void firstSetup(); - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - TodoReturn reset(); - TodoReturn resumeStroke(); - TodoReturn scheduleAutoUpdate(); - TodoReturn stopStroke(); - TodoReturn updateStroke(float) = win 0x225450; - - virtual bool init(); -} - -[[link(android)]] -class HSVLiveOverlay : FLAlertLayer, HSVWidgetDelegate { - // virtual ~HSVLiveOverlay(); - - static HSVLiveOverlay* create(GameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn createHSVWidget(int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn toggleControls(bool); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn hsvChanged(ConfigureHSVWidget*); -} - -[[link(android)]] -class HSVWidgetDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) {} - virtual void hsvChanged(ConfigureHSVWidget*) {} -} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - // virtual ~HSVWidgetPopup(); - - static HSVWidgetPopup* create(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - - bool init(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - // virtual ~InfoAlertButton(); - - static InfoAlertButton* create(gd::string, gd::string, float) = win 0x226c00; - - bool init(gd::string, gd::string, float) = win 0x226d20; - - virtual void activate(); -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - // virtual ~InfoLayer(); - - static InfoLayer* create(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x227220; - - TodoReturn confirmReport(cocos2d::CCObject*); - TodoReturn getAccountID(); - TodoReturn getID(); - TodoReturn getRealID(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint); - bool init(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x2272e0; - bool isCorrect(char const*); - TodoReturn loadPage(int, bool) = win 0x229e10; - void onClose(cocos2d::CCObject* sender) = win 0x229cd0; - void onComment(cocos2d::CCObject* sender) = win 0x229670; - void onCopyLevelID(cocos2d::CCObject* sender) = win 0x2293c0; - void onGetComments(cocos2d::CCObject* sender) = win 0x229860; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x229870; - void onMore(cocos2d::CCObject* sender) = win 0x229570; - void onNextPage(cocos2d::CCObject* sender) = win 0x22a590; - void onOriginal(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender) = win 0x22a5b0; - void onRefreshComments(cocos2d::CCObject* sender) = win 0x229150; - void onSimilar(cocos2d::CCObject* sender); - TodoReturn reloadWindow(); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*) = win 0x22a140; - void setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCObject*); - TodoReturn toggleExtendedMode(cocos2d::CCObject*); - TodoReturn toggleSmallCommentMode(cocos2d::CCObject*); - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x8ff70; - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - - GJGameLevel* m_level; - GJUserScore* m_score; - GJLevelList* m_levelList; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_noComments; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - CommentKeyType m_mode; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject { - // virtual ~InheritanceNode(); - - static InheritanceNode* create(int, InheritanceNode*) = win 0x1d7a20; - - bool init(int, InheritanceNode*); -} - -[[link(android)]] -class ItemInfoPopup : FLAlertLayer { - // virtual ~ItemInfoPopup(); - - static ItemInfoPopup* create(int, UnlockType) = win 0x1F45C0; - - bool init(int, UnlockType) = win 0x1f4670; - bool isUnlockedByDefault(int, UnlockType); - TodoReturn nameForUnlockType(int, UnlockType) = win 0x597f0; - void onClose(cocos2d::CCObject* sender); - void onCredit(cocos2d::CCObject* sender) = win 0x1f5a10; - - virtual void keyBackClicked(); - - PAD = win 0x8; - int m_accountID; -} - -[[link(android)]] -class ItemTriggerGameObject : EffectGameObject { - // virtual ~ItemTriggerGameObject(); - - static ItemTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customSetup(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - // virtual ~KeybindingsLayer(); - - static KeybindingsLayer* create(); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init() = win 0x22ac30; - virtual void keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager : cocos2d::CCNode { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState(); - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - TodoReturn dataLoaded(DS_Dictionary*) = win 0x22bf40; - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); -} - -[[link(android)]] -class KeyframeAnimTriggerObject : EffectGameObject { - // virtual ~KeyframeAnimTriggerObject(); - - static KeyframeAnimTriggerObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeGameObject : EffectGameObject { - // virtual ~KeyframeGameObject(); - - static KeyframeGameObject* create(); - - TodoReturn updateShadowObjects(GJBaseGameLayer*, EditorUI*); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeObject { - // KeyframeObject(); - // KeyframeObject(KeyframeObject const&); - - TodoReturn setupSpline(gd::vector&); -} - -[[link(android)]] -class LabelGameObject : EffectGameObject { - // virtual ~LabelGameObject(); - - static LabelGameObject* create(); - - TodoReturn createLabel(gd::string); - TodoReturn queueUpdateLabel(gd::string); - TodoReturn removeLabel(); - TodoReturn unlockLabelColor(); - TodoReturn updateLabel(float); - TodoReturn updateLabel(gd::string); - TodoReturn updateLabelAlign(int); - TodoReturn updateLabelIfDirty(); - TodoReturn updatePreviewLabel(); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual TodoReturn setupCustomSprites(gd::string); - virtual TodoReturn addMainSpriteToParent(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - PAD = android32 0x11; - - // property 391 - int m_alignment; - - // property 389 - bool m_showSecondsOnly; - - // property 390 - int m_shownSpecial; - - // property 466 - bool m_isTimeCounter; - - // property 488 - int m_kerning; - - PAD = android32 0x8; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished() {} - virtual void updateUserScoreFailed() {} - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLeaderboardFailed(char const*) {} -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState) = win 0x22C590; - - bool init(LeaderboardState) = win 0x22c630; - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn refreshTabs(); - TodoReturn scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); - - GJListLayer* m_list; - cocos2d::CCArray* m_userScores; - LeaderboardState m_state; - CCMenuItemToggler* m_topBtn; - CCMenuItemToggler* m_globalBtn; - CCMenuItemToggler* m_creatorsBtn; - CCMenuItemToggler* m_friendsBtn; - LoadingCircle* m_circle; - TextArea* m_noInternet; - cocos2d::CCArray* m_tabs; -} - -[[link(android)]] -class LevelAreaInnerLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaInnerLayer(); - - static LevelAreaInnerLayer* create(bool); - - bool init(bool) = win 0x22fba0; - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextFloor(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn scene(bool); - TodoReturn showFloor1CompleteDialog(); - TodoReturn tryResumeTowerMusic(); - - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelAreaLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaLayer(); - - static LevelAreaLayer* create(); - - TodoReturn addGodRay(float, float, float, float, float, cocos2d::CCPoint); - TodoReturn addTorch(cocos2d::CCNode*, cocos2d::CCPoint, int, float, int, bool); - TodoReturn fadeInsideTower(); - void onBack(cocos2d::CCObject* sender); - void onClickDoor(cocos2d::CCObject* sender); - TodoReturn onEnterTower(); - TodoReturn scene(); - TodoReturn showDialog(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayerColor, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate, TableViewCellDelegate, ShareCommentDelegate { - // virtual ~LevelBrowserLayer(); - - static LevelBrowserLayer* create(GJSearchObject*) = win 0x231770; - - TodoReturn createNewLevel(cocos2d::CCObject*); - TodoReturn createNewList(cocos2d::CCObject*); - TodoReturn createNewSmartTemplate(cocos2d::CCObject*); - TodoReturn deleteSelected(); - TodoReturn exitLayer(cocos2d::CCObject*); - TodoReturn getItemsMatchingSearch(cocos2d::CCArray*, gd::string, GJSearchObject*); - TodoReturn getSearchTitle(); - bool init(GJSearchObject*) = win 0x231820; - bool isCorrect(char const*) = win 0x232d60; - TodoReturn loadPage(GJSearchObject*) = win 0x232ea0; - void onClearSearch(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onFavorites(cocos2d::CCObject* sender); - void onGoToFolder(cocos2d::CCObject* sender); - void onGoToLastPage(cocos2d::CCObject* sender); - void onGoToPage(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLocalMode(cocos2d::CCObject* sender); - void onMyOnlineLevels(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender); - void onRemoveAllFavorites(cocos2d::CCObject* sender); - void onSaved(cocos2d::CCObject* sender); - void onSavedMode(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - TodoReturn reloadAllObjects(); - inline static cocos2d::CCScene* scene(GJSearchObject* search) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LevelBrowserLayer::create(search)); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - void setSearchObject(GJSearchObject*); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn show(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageLabel(); - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); - virtual TodoReturn setupPageInfo(gd::string, char const*) = win 0x2343a0; - virtual void onBack(cocos2d::CCObject* sender); - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x236150; - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - - bool m_unk; - bool m_allSelected; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - CCMenuItemSpriteExtra* m_refreshBtn; - cocos2d::CCArray* m_selected; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - CCMenuItemToggler* m_allObjectsToggler; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - LoadingCircle* m_circle; - int m_lastPage; - bool m_isOverlay; - PAD = win 0x4, android32 0x4; - int m_zOffset; - bool m_unk2; - int m_listHeight; - PAD = win 0x16, android32 0x16; - -} - -[[link(android)]] -class LevelCell : TableViewCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float); - - static LevelCell* create(float, float); - - TodoReturn loadCustomLevelCell() = win 0x7D9D0; - void loadFromLevel(GJGameLevel*) = win 0x7d820; - TodoReturn loadLocalLevelCell() = win 0x80440; - void onClick(cocos2d::CCObject* sender) = win 0x80df0; - void onToggle(cocos2d::CCObject* sender) = win 0x7d9b0; - void onViewProfile(cocos2d::CCObject* sender) = win 0x80ee0; - TodoReturn updateBGColor(int); - TodoReturn updateCellMode(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - CCMenuItemToggler* m_toggler; - cocos2d::CCPoint m_point; - cocos2d::CCMenu* m_mainMenu; - bool m_compactView; - int m_cellMode; -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadCommentsFailed(char const*) {} - virtual void updateUserScoreFinished() {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int) {} - virtual void levelDeleteFailed(int) {} -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*) {} - virtual void levelDownloadFailed(int) {} -} - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - // virtual ~LevelEditorLayer(); - - static LevelEditorLayer* create(GJGameLevel*, bool); - - TodoReturn activateTriggerEffect(EffectGameObject*, float, float, float, bool); - TodoReturn addDelayedSpawn(EffectGameObject*, float); - TodoReturn addExclusionList(cocos2d::CCArray*, cocos2d::CCDictionary*); - TodoReturn addObjectFromVector(gd::vector&, gd::vector&); - TodoReturn addObjectsAtPosition(cocos2d::CCPoint, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectsInRect(cocos2d::CCRect, bool, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectToGroup(GameObject*, int); - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerCollisionBlock(); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - TodoReturn addSpecial(GameObject*); - TodoReturn addToRedoList(UndoObject*); - TodoReturn addTouchPoint(cocos2d::CCPoint) = win 0x24f370; - TodoReturn addToUndoList(UndoObject*, bool); - TodoReturn applyAttributeState(GameObject*, GameObject*); - TodoReturn applyGroupState(GameObject*, GameObject*); - TodoReturn breakApartTextObject(TextGameObject*); - TodoReturn canPasteState(); - TodoReturn clearPlayerPoints(); - TodoReturn clearTouchPoints(); - TodoReturn copyObjectState(GameObject*); - TodoReturn copyParticleState(ParticleGameObject*); - TodoReturn createObject(int, cocos2d::CCPoint, bool); - TodoReturn createObjectsFromSetup(gd::string&); - TodoReturn createObjectsFromString(gd::string const&, bool, bool); - TodoReturn dirtifyTriggers(); - TodoReturn duplicateKeyframeAnimation(int); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn findGameObject(int); - TodoReturn findStartPosObject(); - TodoReturn forceShowSelectedObjects(bool); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn getAllObjects(); - TodoReturn getDelayedSpawnNode(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getLastObjectX(); - TodoReturn getLevelString(); - TodoReturn getLockedLayers(); - TodoReturn getNextColorChannel(); - TodoReturn getNextFreeAreaEffectID(cocos2d::CCArray*); - TodoReturn getNextFreeBlockID(cocos2d::CCArray*); - TodoReturn getNextFreeEditorLayer(cocos2d::CCArray*); - TodoReturn getNextFreeEnterChannel(cocos2d::CCArray*); - TodoReturn getNextFreeGradientID(cocos2d::CCArray*); - int getNextFreeGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeItemID(cocos2d::CCArray*); - TodoReturn getNextFreeOrderChannel(cocos2d::CCArray*); - TodoReturn getNextFreeSFXGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeSFXID(cocos2d::CCArray*); - TodoReturn getObjectRect(GameObject*, bool, bool); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSavedEditorPosition(int); - TodoReturn getSavedEditorPositions(); - TodoReturn getSectionCount(); - TodoReturn getSelectedEditorOrder(); - TodoReturn getSelectedEffectPos(); - TodoReturn getSelectedOrderChannel(); - TodoReturn getSFXIDs(); - TodoReturn getSongIDs(bool&); - TodoReturn getTriggerGroup(int); - TodoReturn handleAction(bool, cocos2d::CCArray*); - TodoReturn hasAction(bool); - bool init(GJGameLevel*, bool); - bool isLayerLocked(int); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn objectMoved(GameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect, bool); - TodoReturn onPausePlaytest(); - TodoReturn onPlaytest(); - TodoReturn onResumePlaytest(); - TodoReturn onStopPlaytest(); - TodoReturn pasteAttributeState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteGroupState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteParticleState(ParticleGameObject*, cocos2d::CCArray*); - TodoReturn processLoadedMoveActions(); - TodoReturn quickUpdateAllPositions(); - TodoReturn recreateGroups(); - TodoReturn redoLastAction(); - TodoReturn refreshSpecial(GameObject*); - TodoReturn removeAllObjects(); - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeObject(GameObject*, bool); - TodoReturn removePlayerCollisionBlock(); - TodoReturn removeSpecial(GameObject*); - TodoReturn resetDelayedSpawnNodes(); - TodoReturn resetEffectTriggerOptim(GameObject*, cocos2d::CCArray*); - TodoReturn resetMovingObjects(); - TodoReturn resetObjectVector(); - TodoReturn resetPlayback(); - TodoReturn resetToggledGroups(); - TodoReturn resetToggledGroupsAndObjects(); - TodoReturn resetUnusedColorChannels(); - TodoReturn reverseKeyframeAnimationOrder(int); - TodoReturn reverseObjectChanged(EffectGameObject*); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn runColorEffect(EffectGameObject*, int, float, float, bool); - TodoReturn saveEditorPosition(cocos2d::CCPoint&, int); - TodoReturn scene(GJGameLevel*, bool); - void setObjectCount(int); - TodoReturn shouldBlend(int); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnGroupPreview(int, float, float, float, float, float, bool, bool); - TodoReturn stopPlayback(); - TodoReturn stopTriggersInGroup(int, float); - TodoReturn timeObjectChanged(); - TodoReturn toggleBackground(bool); - TodoReturn toggleGrid(bool); - TodoReturn toggleGround(bool); - TodoReturn toggleGroupPreview(int, bool); - TodoReturn toggleLockActiveLayer(); - TodoReturn transferDefaultColors(GJEffectManager*, GJEffectManager*); - TodoReturn triggerFollowCommand(EffectGameObject*); - TodoReturn triggerPlayerFollowCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EffectGameObject*); - TodoReturn tryUpdateSpeedObject(EffectGameObject*, bool); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn undoLastAction(); - TodoReturn unlockAllLayers(); - TodoReturn updateAnimateOnTriggerObjects(bool); - TodoReturn updateArt(float); - TodoReturn updateBlendValues(); - TodoReturn updateDebugDraw(); - TodoReturn updateEditor(float); - TodoReturn updateEditorMode(); - TodoReturn updateGameObjects(); - TodoReturn updateGridLayer(); - TodoReturn updateGridLayerParent(); - TodoReturn updateKeyframeObjects(); - TodoReturn updateKeyframeVisibility(bool); - TodoReturn updateLevelFont(int); - TodoReturn updateObjectColors(cocos2d::CCArray*); - TodoReturn updateObjectLabel(GameObject*); - TodoReturn updateOptions(); - TodoReturn updatePreviewAnim(); - TodoReturn updatePreviewParticle(ParticleGameObject*); - TodoReturn updatePreviewParticles(); - TodoReturn updateToggledGroups(); - TodoReturn validGroup(GameObject*, bool); - - virtual void draw(); - virtual TodoReturn postUpdate(float) = win 0x245f90; - virtual TodoReturn updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual TodoReturn addToGroup(GameObject*, int, bool); - virtual TodoReturn removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int); - virtual TodoReturn posForTime(float); - virtual TodoReturn resetSPTriggered(); - virtual TodoReturn didRotateGameplay() = win 0x244a70; - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual TodoReturn checkpointActivated(CheckpointGameObject*); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual TodoReturn levelSettingsUpdated(); - - PAD = android32 0x64; - - geode::SeedValueRSV m_coinCount; - - PAD = android32 0x38; - - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; -} - -[[link(android)]] -class LevelFeatureLayer : FLAlertLayer { - // virtual ~LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetEpicOnly(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onToggleEpic(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate, TableViewCellDelegate { - // virtual ~LevelInfoLayer(); - - static LevelInfoLayer* create(GJGameLevel*, bool) = win 0x24ffa0; - - TodoReturn confirmClone(cocos2d::CCObject*) = win 0x254a90; - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmMoveToBottom(cocos2d::CCObject*); - TodoReturn confirmMoveToTop(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - void downloadLevel() = win 0x252350; - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*, bool) = win 0x250050; - TodoReturn loadLevelStep(); - void onAddToList(cocos2d::CCObject* sender) = win 0x251ef0; - void onBack(cocos2d::CCObject* sender) = win 0x256610; - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender) = win 0x252110; - void onFeatured(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender) = win 0x255410; - void onLevelLeaderboard(cocos2d::CCObject* sender) = win 0x252180; - void onLike(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateDemon(cocos2d::CCObject* sender) = win 0x254fc0; - void onRateStars(cocos2d::CCObject* sender) = win 0x254e90; - void onRateStarsMod(cocos2d::CCObject* sender) = win 0x254f70; - void onSetFolder(cocos2d::CCObject* sender) = win 0x252030; - void onUpdate(cocos2d::CCObject* sender) = win 0x255250; - void onViewProfile(cocos2d::CCObject* sender) = win 0x2553b0; - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn playStep4(); - TodoReturn scene(GJGameLevel*, bool); - void setupLevelInfo(); - void setupPlatformerStats(); - void setupProgressBars(); - TodoReturn shouldDownloadLevel(); - TodoReturn showSongWarning(); - TodoReturn showUpdateAlert(UpdateResponse); - TodoReturn tryCloneLevel(cocos2d::CCObject*) = win 0x2548b0; - TodoReturn tryShowAd(); - TodoReturn updateLabelValues() = win 0x2556c0; - TodoReturn updateSideButtons(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn numberInputClosed(NumberInputLayer*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); - virtual TodoReturn rateLevelClosed(); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - - void* m_unk0; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_coins; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; - cocos2d::CCSprite* m_likesIcon; - cocos2d::CCSprite* m_orbsIcon; - int m_unk6; // always 3, maybe level type? - int m_unk7; - LoadingCircle* m_circle; - GJDifficultySprite* m_difficultySprite; - cocos2d::CCSprite* m_starsIcon; - cocos2d::CCLabelBMFont* m_starsLabel; - cocos2d::CCArray* m_icons; - PAD = win 0x10, android32 0x10, android64 0x10; - bool m_challenge; - PAD = win 0x4, android32 0x4, android64 0x8; - cocos2d::CCSprite* m_playSprite; - void* m_unk11; - CustomSongWidget* m_songWidget; -} - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LevelLeaderboard(); - - static LevelLeaderboard* create(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x256930; - - TodoReturn deleteLocalScores(); - TodoReturn getLocalScores(); - TodoReturn getSpriteButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint, int); - bool init(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x2569f0; - bool isCorrect(char const*); - TodoReturn loadScores(); - void onChangeMode(cocos2d::CCObject* sender) = win 0x257f80; - void onChangeType(cocos2d::CCObject* sender) = win 0x257f30; - void onClose(cocos2d::CCObject* sender) = win 0x6a6f0; - void onDeleteLocalScores(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender) = win 0x257fc0; - TodoReturn reloadLeaderboard(LevelLeaderboardType, LevelLeaderboardMode) = win 0x257e80; - TodoReturn setupLeaderboard(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x5D680; //merged func - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - - GJGameLevel* m_level; - LevelLeaderboardType m_type; - LevelLeaderboardMode m_mode; - cocos2d::CCArray* m_scores; - GJCommentListLayer* m_list; - LoadingCircle* m_circle; - TextArea* m_noInternet; - CCMenuItemSpriteExtra* m_refreshBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_pointsBtn; -} - -[[link(android)]] -class LevelListCell : TableViewCell { - // virtual ~LevelListCell(); - LevelListCell(char const*, float, float); - - static LevelListCell* create(float, float); - - void loadFromList(GJLevelList*); - void onClick(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class LevelListDeleteDelegate { - virtual void levelListDeleteFinished(int) {} - virtual void levelListDeleteFailed(int) {} -} - -[[link(android)]] -class LevelListLayer : LevelBrowserLayer, TextInputDelegate, SelectListIconDelegate, LikeItemDelegate, LevelListDeleteDelegate { - // virtual ~LevelListLayer(); - - static LevelListLayer* create(GJLevelList*); - - TodoReturn cloneList(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - bool init(GJLevelList*); - void onClaimReward(cocos2d::CCObject* sender); - TodoReturn onDelete(); - void onDescription(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onRefreshLevelList(cocos2d::CCObject* sender); - void onSelectIcon(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onToggleEditMode(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn ownerDelete(); - TodoReturn scene(GJLevelList*); - TodoReturn updateEditMode(); - TodoReturn updateSideButtons(); - TodoReturn updateStatsArt(); - TodoReturn verifyListName(); - - virtual void onEnter(); - virtual void onExit(); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); - virtual void onBack(cocos2d::CCObject* sender); - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); - virtual TodoReturn levelListDeleteFinished(int); - virtual TodoReturn levelListDeleteFailed(int); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) {} - virtual void loadLevelsFailed(char const*, int) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelOptionsLayer : GJOptionsLayer { - // virtual ~LevelOptionsLayer(); - - static LevelOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onSettings(cocos2d::CCObject* sender); - - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class LevelOptionsLayer2 : LevelOptionsLayer { - // virtual ~LevelOptionsLayer2(); - - static LevelOptionsLayer2* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - - virtual TodoReturn setupOptions(); -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelPage(); - - static LevelPage* create(GJGameLevel*); - - TodoReturn addSecretCoin(); - TodoReturn addSecretDoor(); - bool init(GJGameLevel*); - void onInfo(cocos2d::CCObject* sender) = win 0x26adb0; - void onMoreGames(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSecretDoor(cocos2d::CCObject* sender); - void onTheTower(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn updateDynamicPage(GJGameLevel*); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual TodoReturn dialogClosed(DialogLayer*); - - void* m_unk; - GJGameLevel* m_level; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(int); - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - TodoReturn confirmClearFilters(cocos2d::CCObject*); - char const* getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - GJSearchObject* getSearchObject(SearchType, gd::string) = win 0x262560; - TodoReturn getTimeKey(int); - bool init(int) = win 0x25f8d0; - void onBack(cocos2d::CCObject* sender); - void onClearFreeSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onLatestStars(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender) = win 0x261390; - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender); - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSearchMode(cocos2d::CCObject* sender); - void onSearchUser(cocos2d::CCObject* sender); - void onSpecialDemon(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onSuggested(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - TodoReturn toggleStar(cocos2d::CCObject*); - TodoReturn toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*) = win 0x262290; - - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn demonFilterSelectClosed(int); - - int m_type; - CCTextInputNode* m_searchInput; - cocos2d::CCSprite* m_starsSprite; - cocos2d::CCArray* m_difficultySprites; - cocos2d::CCArray* m_lengthSprites; - cocos2d::CCDictionary* m_difficultyDict; - cocos2d::CCSprite* m_lastDifficultySprite; - CCMenuItemSpriteExtra* m_demonTypeButton; -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, DynamicScrollDelegate { - // virtual ~LevelSelectLayer(); - - static LevelSelectLayer* create(int); - - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn tryShowAd(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated() {} -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, SelectSettingDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate, TextInputDelegate { - // virtual ~LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - bool init(LevelSettingsObject*, LevelEditorLayer*); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCol(cocos2d::CCObject* sender); - void onDisable(cocos2d::CCObject* sender); - void onFGArt(cocos2d::CCObject* sender); - void onGameplayMode(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOptionToggle(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShowPicker(cocos2d::CCObject* sender); - void onSpeed(cocos2d::CCObject* sender); - TodoReturn showPicker(ColorAction*); - TodoReturn updateColorSprite(ColorChannelSprite*); - TodoReturn updateColorSprites(); - TodoReturn updateGameplayModeButtons(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn selectArtClosed(SelectArtLayer*); - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - // virtual ~LevelSettingsObject(); - - static LevelSettingsObject* create(); - - TodoReturn getSaveString(); - TodoReturn objectFromDict(cocos2d::CCDictionary*); - TodoReturn objectFromString(gd::string const&); - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - TodoReturn shouldUseYSection(); - - virtual bool init(); - - GJEffectManager* m_effectManager; - // property kA2 - int m_startMode; - // property kA4 - Speed m_startSpeed; - // property kA3 - bool m_startMini; - // property kA8 - bool m_startDual; - // property kA28 - bool m_propertykA28; - // property kA29 - bool m_propertykA29; - // property kA10 - bool m_twoPlayerMode; - // property kA22 - bool m_platformerMode; - // property kA13 - float m_songOffset; - // property kA15 - bool m_fadeIn; - // property kA16 - bool m_fadeOut; - // property kA6 - int m_backgroundIndex; - // property kA7 - int m_groundIndex; - // property kA18 - int m_fontIndex; - // property kA25 - int m_middleGroundIndex; - // property kA9 - bool m_startsWithStartPos; - // property kA11 - bool m_isFlipped; - // property kA20 - bool m_propertykA20; - // property kA21 - bool m_propertykA21; - // property kA19 - int m_propertykA19; - // property kA26 - int m_propertykA26; - - GJGameLevel* m_level; - // property kA14 - gd::string m_guidelineString; - - int m_defaultSongID; - // property kS39 - int m_colorPage; - // property kA17 - int m_groundLineIndex; - // property kA23 - bool m_propertykA23; - // property kA24 - bool m_propertykA24; - // property kA43 - bool m_propertykA43; - // property kA44 - int m_propertykA44; - // property kA35 - bool m_propertykA35; - // property kA36 - int m_propertykA36; - // property kA27 - bool m_propertykA27; - // property kA31 - bool m_propertykA31; - // property kA32 - bool m_propertykA32; - // property kA33 - bool m_propertykA33; - // property kA34 - bool m_propertykA34; - // property kA37 - bool m_propertykA37; - // property kA38 - bool m_propertykA38; - // property kA39 - bool m_propertykA39; - // property kA40 - bool m_propertykA40; - // property kA41 - bool m_propertykA41; - // property kA42 - bool m_propertykA42; -} - -[[link(android)]] -class LevelTools { - TodoReturn artistForAudio(int); - TodoReturn base64DecodeString(gd::string); - TodoReturn base64EncodeString(gd::string); - TodoReturn createStarPackDict(); - TodoReturn fbURLForArtist(int); - TodoReturn getAudioBPM(int); - TodoReturn getAudioFileName(int); - TodoReturn getAudioString(int); - TodoReturn getAudioTitle(int); - TodoReturn getLastGameplayReversed(); - TodoReturn getLastGameplayRotated(); - TodoReturn getLastTimewarp(); - TodoReturn getLevel(int, bool); - TodoReturn getLevelList(); - TodoReturn getSongObject(int); - TodoReturn moveTriggerObjectsToArray(cocos2d::CCArray*, cocos2d::CCDictionary*, int); - TodoReturn nameForArtist(int); - TodoReturn ngURLForArtist(int); - TodoReturn offsetBPMForTrack(int); - TodoReturn posForTime(float, cocos2d::CCArray*, int, bool, int&); - TodoReturn posForTimeInternal(float, cocos2d::CCArray*, int, bool, bool, bool, int&, int); - TodoReturn sortChannelOrderObjects(cocos2d::CCArray*, cocos2d::CCDictionary*, bool); - TodoReturn sortSpeedObjects(cocos2d::CCArray*, GJBaseGameLayer*); - TodoReturn timeForPos(cocos2d::CCPoint, cocos2d::CCArray*, int, int, int, bool, bool, bool, bool, int); - TodoReturn toggleDebugLogging(bool); - TodoReturn urlForAudio(int); - TodoReturn valueForSpeedMod(int); - TodoReturn verifyLevelIntegrity(gd::string, int); - TodoReturn ytURLForArtist(int); -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) {} - virtual void levelUpdateFailed(int) {} -} - -[[link(android)]] -class LevelUploadDelegate { - virtual void levelUploadFinished(GJGameLevel*) {} - virtual void levelUploadFailed(GJGameLevel*) {} -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - // virtual ~LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int, int) = win 0x2746D0; - - bool init(LikeItemType, int, int) = win 0x274780; - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - TodoReturn triggerLike(bool); - - virtual void keyBackClicked(); - - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage : cocos2d::CCLayer { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell : TableViewCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - void loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ListUploadDelegate { - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - // virtual ~LoadingCircle(); - - static LoadingCircle* create() = win 0x483c0; - - TodoReturn fadeAndRemove() = win 0x48660; - TodoReturn show() = win 0x48580; - - virtual bool init() = win 0x484c0; - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - inline void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class LoadingCircleSprite : cocos2d::CCSprite { - // virtual ~LoadingCircleSprite(); - - static LoadingCircleSprite* create(); - - TodoReturn fadeInCircle(bool); - TodoReturn hideCircle(); - - virtual bool init(); -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool); - - const char* getLoadingString() = win 0x275c10; - bool init(bool) = win 0x274d20; - TodoReturn loadAssets() = win 0x275580; - TodoReturn loadingFinished() = win 0x275490; - TodoReturn scene(bool); - TodoReturn updateProgress(int); - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager : GManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState() = win 0x2760F0; - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - - TodoReturn getAllLevelsInDict(); - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getCreatedLevels(int); - TodoReturn getCreatedLists(int); - TodoReturn getLevelsInNameGroups(); - TodoReturn getMainLevelString(int) = win 0x276420; - TodoReturn markLevelsAsUnmodified(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn reorderLevels(); - TodoReturn tryLoadMainLevelString(int) = win 0x276290; - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - cocos2d::CCArray* m_localLevels; - cocos2d::CCArray* m_LLM03; - gd::map m_mainLevels; -} - -[[link(android)]] -class MapPackCell : TableViewCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - void loadFromMapPack(GJMapPack*) = win 0x81210; - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender) = win 0x81c60; - TodoReturn playCompleteEffect(); - TodoReturn reloadCell(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class MapSelectLayer : cocos2d::CCLayer { - // virtual ~MapSelectLayer(); - - static MapSelectLayer* create(); - - TodoReturn checkTouchMonster(cocos2d::CCPoint); - TodoReturn createObjectAtPoint(cocos2d::CCPoint); - TodoReturn getConstrainedMapPos(cocos2d::CCPoint); - void onBack(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual void update(float); - virtual bool init(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void scrollWheel(float, float); -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - // virtual ~MenuGameLayer(); - - static MenuGameLayer* create(); - - TodoReturn destroyPlayer(); - TodoReturn getBGColor(int); - TodoReturn resetPlayer(); - TodoReturn tryJump(float); - TodoReturn updateColor(float); - TodoReturn updateColors(); - - virtual void update(float) = win 0x278600; - virtual bool init() = win 0x277be0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - // virtual ~MenuLayer(); - - static cocos2d::CCScene* scene(bool) = win 0x279d70; - - TodoReturn endGame(); - TodoReturn firstNetworkTest(); - void onAchievements(cocos2d::CCObject* sender); - void onCreator(cocos2d::CCObject* sender) = win 0x27b370; - void onDaily(cocos2d::CCObject* sender); - void onDiscord(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender) = win 0x27b3e0; - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender) = win 0x27b140; - void onMyProfile(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender) = win 0x27b230; - void onQuit(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onStats(cocos2d::CCObject* sender); - void onTrailer(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn openOptions(bool); - TodoReturn showGCQuestion(); - TodoReturn showMeltdownPromo(); - TodoReturn showTOS() = win 0x27b000; - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn updateUserProfileButton(); - TodoReturn videoOptionsClosed(); - TodoReturn videoOptionsOpened(); - TodoReturn willClose(); - - virtual bool init() = win 0x279df0; - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn googlePlaySignedIn() = win 0x27b200; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x27b590; -} - -[[link(android)]] -class MessageListDelegate { - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) {} - virtual void loadMessagesFailed(char const*, GJErrorCode) {} - virtual void forceReloadMessages(bool) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class MessagesProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, MessageListDelegate { - // virtual ~MessagesProfilePage(); - - static MessagesProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool) = win 0x27bb50; - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentMessages(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadMessagesFailed(char const*, GJErrorCode); - virtual TodoReturn forceReloadMessages(bool); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate, GJDropDownLayerDelegate { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onClose(cocos2d::CCObject* sender); - void onFMODDebug(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onParental(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender) = win 0x2b2130; - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn googlePlaySignedIn(); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreSearchLayer(); - - static MoreSearchLayer* create() = win 0x263FD0; - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender) = win 0x265b70; - void onCoins(cocos2d::CCObject* sender); - void onCompleted(cocos2d::CCObject* sender); - void onEpic(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLegendary(cocos2d::CCObject* sender); - void onMythic(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender) = win 0x2653a0; - void onSongMode(cocos2d::CCObject* sender) = win 0x265650; - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init() = win 0x264070; - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; -} - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onApplyFPS(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn updateFPSButtons() = win 0x2b5940; - - virtual bool init() = win 0x2b3d50; - virtual void keyBackClicked(); -} - -[[link(android)]] -class MPLobbyLayer : cocos2d::CCLayer, GJMPDelegate, UploadPopupDelegate, UploadActionDelegate, FLAlertLayerProtocol, TextInputDelegate { - // virtual ~MPLobbyLayer(); - - static MPLobbyLayer* create(int); - - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - void onBtn3(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - TodoReturn onUpdateLobby(); - TodoReturn postComment(); - TodoReturn scene(int); - TodoReturn tryExitLobby(); - TodoReturn updateLobby(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn updateComments(); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite { - // virtual ~MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn moveSpecialDescriptors(int, int); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class MultiplayerLayer : cocos2d::CCLayer { - // virtual ~MultiplayerLayer(); - - static MultiplayerLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MultiTriggerPopup : SetupTriggerPopup { - // virtual ~MultiTriggerPopup(); - - static MultiTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class MusicArtistObject : cocos2d::CCObject { - // virtual ~MusicArtistObject(); - - static MusicArtistObject* create(int, gd::string, gd::string, gd::string); - - bool init(int, gd::string, gd::string, gd::string); -} - -[[link(android)]] -class MusicBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, FLAlertLayerProtocol, SliderDelegate { - // virtual ~MusicBrowser(); - - static MusicBrowser* create(int); - - bool init(int); - void onArtistFilters(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPlaybackControl(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onTagFilters(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - TodoReturn setupList(MusicSearchResult*); - TodoReturn setupSongControls(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn trySetupMusicBrowser(); - TodoReturn updatePageLabel(); - - virtual void update(float); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn sliderEnded(Slider*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MusicBrowserDelegate { - virtual void musicBrowserClosed(MusicBrowser*) {} -} - -[[link(android)]] -class MusicDelegateHandler : cocos2d::CCNode { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void loadSongInfoFinished(SongInfoObject*) {} - virtual void loadSongInfoFailed(int, GJSongError) {} - virtual void downloadSongFinished(int) {} - virtual void downloadSongFailed(int, GJSongError) {} - virtual void songStateChanged() {} - virtual void downloadSFXFinished(int) {} - virtual void downloadSFXFailed(int, GJSongError) {} - virtual void musicActionFinished(GJMusicAction) {} - virtual void musicActionFailed(GJMusicAction) {} -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState(); - - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn addSongObjectFromString(gd::string); - TodoReturn clearSong(int); - TodoReturn clearUnusedSongs(); - TodoReturn createSongsInfo(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn deleteSFX(int); - void deleteSong(int); - TodoReturn downloadCustomSong(int); - TodoReturn downloadMusicLibrary(); - TodoReturn downloadSFX(int); - TodoReturn downloadSFXFailed(int, GJSongError); - TodoReturn downloadSFXFinished(int); - TodoReturn downloadSFXLibrary(); - TodoReturn downloadSong(int); - TodoReturn downloadSongFailed(int, GJSongError); - TodoReturn downloadSongFinished(int); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn filterMusicByArtistID(int, cocos2d::CCArray*); - TodoReturn filterMusicByTag(int, cocos2d::CCArray*); - void firstSetup(); - TodoReturn generateCustomContentURL(gd::string); - TodoReturn generateResourceAssetList(); - TodoReturn getAllMusicArtists(OptionsObjectDelegate*); - TodoReturn getAllMusicObjects(); - TodoReturn getAllMusicTags(OptionsObjectDelegate*); - TodoReturn getAllSFXObjects(bool); - TodoReturn getAllSongs(); - void getCustomContentURL(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadProgress(int); - TodoReturn getMusicArtistForID(int); - TodoReturn getMusicObject(int); - TodoReturn getSFXDownloadKey(int); - TodoReturn getSFXDownloadProgress(int); - TodoReturn getSFXFolderObjectForID(int); - TodoReturn getSFXFolderPathForID(int, bool); - TodoReturn getSFXObject(int); - TodoReturn getSongDownloadKey(int); - void getSongInfo(int, bool); - TodoReturn getSongInfoKey(int); - TodoReturn getSongInfoObject(int); - TodoReturn getSongPriority(); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const*); - bool isMusicLibraryLoaded(); - bool isResourceSFX(int); - bool isResourceSong(int); - bool isRunningActionForSongID(int); - bool isSFXDownloaded(int); - bool isSFXLibraryLoaded(); - bool isSongDownloaded(int); - void limitDownloadedSongs(); - TodoReturn loadSongInfoFailed(int, GJSongError); - TodoReturn loadSongInfoFinished(SongInfoObject*); - TodoReturn musicActionFailed(GJMusicAction); - TodoReturn musicActionFinished(GJMusicAction); - TodoReturn nameForTagID(int); - TodoReturn onDownloadMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSFXCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onGetCustomContentURLCompleted(gd::string, gd::string); - TodoReturn onGetSongInfoCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onTryUpdateMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onTryUpdateSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn parseMusicLibrary(); - TodoReturn parseSFXLibrary(); - TodoReturn pathForSFX(int) = win 0x282d10; - TodoReturn pathForSFXFolder(int); - TodoReturn pathForSong(int) = win 0x2829a0; - TodoReturn pathForSongFolder(int); - void ProcessHttpGetRequest(gd::string, gd::string, cocos2d::extension::SEL_HttpResponse, int, int); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - static cocos2d::CCDictionary* responseToDict(gd::string, char const*); - TodoReturn showTOS(FLAlertLayerProtocol*); - TodoReturn songStateChanged() = win 0x281420; - TodoReturn stopDownload(int); - TodoReturn storeMusicObject(SongInfoObject*); - TodoReturn storeSFXInfoObject(SFXInfoObject*); - TodoReturn tryLoadLibraries(); - TodoReturn tryUpdateMusicLibrary(); - TodoReturn tryUpdateSFXLibrary(); - - virtual bool init(); -} - -[[link(android)]] -class MusicSearchResult : cocos2d::CCObject, OptionsObjectDelegate { - // virtual ~MusicSearchResult(); - - static MusicSearchResult* create(); - - TodoReturn applyArtistFilters(cocos2d::CCArray*); - TodoReturn applyTagFilters(cocos2d::CCArray*); - TodoReturn createArtistFilterObjects(); - TodoReturn createTagFilterObjects(); - TodoReturn getFilesMatchingSearch(cocos2d::CCArray*, gd::string); - bool init(); - TodoReturn updateFutureCount(cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn updateObjects(); - - virtual TodoReturn updateObjects(AudioSortType); - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class NewgroundsInfoLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~NewgroundsInfoLayer(); - - static NewgroundsInfoLayer* create(); - - void onArtists(cocos2d::CCObject* sender); - void onChanges(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onSupporter(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class NodePoint : cocos2d::CCObject { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class NumberInputLayer : FLAlertLayer { - // virtual ~NumberInputLayer(); - - static NumberInputLayer* create(); - - TodoReturn deleteLast(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init() = win 0x289540; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - // virtual ~OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float); - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn computeAxes(); - TodoReturn getBoundingRect(); - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners(); - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectControlGameObject : EffectGameObject { - // virtual ~ObjectControlGameObject(); - - static ObjectControlGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - - virtual bool init(); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*) = win 0x4bad0; - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance(); - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState(); - - TodoReturn allKeys(); - TodoReturn gridNodeSizeForKey(int); - TodoReturn intKeyToFrame(int); - TodoReturn perspectiveBlockFrame(int); - - virtual bool init(); -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, char const*) {} - virtual void loadListFailed(char const*) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class OpacityEffectAction { - TodoReturn step(float); -} - -[[link(android)]] -class OptionsCell : TableViewCell { - // virtual ~OptionsCell(); - OptionsCell(char const*, float, float); - - void loadFromObject(OptionsObject*) = win 0x839c0; - void onToggleOption(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - // virtual ~OptionsLayer(); - - static OptionsLayer* create() = win 0x2aeae0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*) = win 0x2af6d0; - void onAccount(cocos2d::CCObject* sender) = win 0x2afcd0; - void onHelp(cocos2d::CCObject* sender) = win 0x2afd50; - void onMenuMusic(cocos2d::CCObject* sender) = win 0x2af630; - void onOptions(cocos2d::CCObject* sender) = win 0x2af8c0; - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2afd10; - void onRecordReplays(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender) = win 0x2af8e0; - void onSoundtracks(cocos2d::CCObject* sender) = win 0x2af880; - void onSupport(cocos2d::CCObject* sender) = win 0x2afc90; - void onVideo(cocos2d::CCObject* sender); - TodoReturn sfxSliderChanged(cocos2d::CCObject*) = win 0x2af7c0; - TodoReturn tryEnableRecord(); - - virtual TodoReturn customSetup() = win 0x2aec20; - virtual TodoReturn layerHidden() = win 0x2afd70; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class OptionsObject : cocos2d::CCObject { - // virtual ~OptionsObject(); - - static OptionsObject* create(int, bool, gd::string, OptionsObjectDelegate*); - - bool init(int, bool, gd::string, OptionsObjectDelegate*); - TodoReturn toggleState(); -} - -[[link(android)]] -class OptionsObjectDelegate { - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class OptionsScrollLayer : FLAlertLayer, TableViewCellDelegate { - // virtual ~OptionsScrollLayer(); - - static OptionsScrollLayer* create(cocos2d::CCArray*, bool); - - TodoReturn getRelevantObjects(cocos2d::CCArray*); - bool init(cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - TodoReturn setupList(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); -} - -[[link(android)]] -class ParentalOptionsLayer : FLAlertLayer { - // virtual ~ParentalOptionsLayer(); - - static ParentalOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class ParticleGameObject : EnhancedGameObject { - // virtual ~ParticleGameObject(); - - static ParticleGameObject* create(); - - TodoReturn applyParticleSettings(cocos2d::CCParticleSystemQuad*); - TodoReturn createAndAddCustomParticle(); - TodoReturn createParticlePreviewArt(); - void setParticleString(gd::string); - TodoReturn updateParticle(); - TodoReturn updateParticleAngle(float, cocos2d::CCParticleSystemQuad*); - TodoReturn updateParticlePreviewArtOpacity(float); - TodoReturn updateParticleScale(float); - TodoReturn updateParticleStruct(); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual TodoReturn customSetup(); - virtual TodoReturn addMainSpriteToParent(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn deactivateObject(bool); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - char* m_particleData; - PAD = android32 0x110; - - // property 147 - bool m_hasUniformObjectColor; - PAD = android32 0x7; - - // property 211 - bool m_shouldQuickStart; - PAD = android32 0xf; -} - -[[link(android)]] -class ParticlePreviewLayer : cocos2d::CCLayerColor { - // virtual ~ParticlePreviewLayer(); - - static ParticlePreviewLayer* create(cocos2d::CCParticleSystemQuad*); - - bool init(cocos2d::CCParticleSystemQuad*); - TodoReturn postVisit(); - TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - - virtual void draw(); - virtual void visit(); -} - -[[link(android)]] -class PauseLayer : CCBlockLayer { - // virtual ~PauseLayer(); - - static PauseLayer* create(bool) = win 0x2b6f20; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn goEdit() = win 0x2b86d0; - bool init(bool) = win 0x2b6fd0; - TodoReturn musicSliderChanged(cocos2d::CCObject*) = win 0x2b8380; - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender); - void onPracticeMode(cocos2d::CCObject* sender) = win 0x2b8440; - void onQuit(cocos2d::CCObject* sender) = win 0x2b8800; - void onRecordReplays(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender); - void onRestartFull(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender) = win 0x2b8510; - void onSettings(cocos2d::CCObject* sender); - void onTime(cocos2d::CCObject* sender); - void setupProgressBars(); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x2b88d0; - virtual TodoReturn customSetup(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual TodoReturn downloadFinished(char const*); - virtual TodoReturn downloadFailed(char const*); -} - -[[link(android)]] -class PlatformToolbox { - static TodoReturn activateGameCenter(); - static TodoReturn copyToClipboard(gd::string); - static TodoReturn doesFileExist(gd::string); - static TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - static TodoReturn gameDidSave(); - static TodoReturn getDeviceRefreshRate(); - static TodoReturn getDisplaySize(); - static TodoReturn getRawPath(char const*); - static TodoReturn getUniqueUserID(); - static TodoReturn getUserID(); - static TodoReturn hideCursor(); - static bool isControllerConnected() { - // TODO: mat - return false; - } - static bool isHD(); - static bool isLocalPlayerAuthenticated(); - static bool isLowMemoryDevice(); - static bool isNetworkAvailable(); - static bool isSignedInGooglePlay(); - static TodoReturn loadAndDecryptFileToString(char const*, char const*); - static TodoReturn logEvent(char const*); - static TodoReturn onGameLaunch(); - static TodoReturn onNativePause(); - static TodoReturn onNativeResume(); - static TodoReturn onToggleKeyboard(); - static TodoReturn openAppPage(); - static TodoReturn platformShutdown(); - static TodoReturn refreshWindow(); - static TodoReturn reportAchievementWithID(char const*, int); - static TodoReturn reportLoadingFinished(); - static TodoReturn resizeWindow(float, float); - static TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - static TodoReturn sendMail(char const*, char const*, char const*); - static void setBlockBackButton(bool); - static void setKeyboardState(bool); - static TodoReturn shouldResumeSound(); - static TodoReturn showAchievements(); - static TodoReturn showCursor(); - static TodoReturn signInGooglePlay(); - static TodoReturn signOutGooglePlay(); - static TodoReturn spriteFromSavedFile(gd::string); - static TodoReturn toggleCallGLFinish(bool); - static TodoReturn toggleCPUSleepMode(bool); - static TodoReturn toggleForceTimer(bool); - static TodoReturn toggleFullScreen(bool); - static TodoReturn toggleLockCursor(bool); - static TodoReturn toggleMouseControl(bool); - static TodoReturn toggleSmoothFix(bool); - static TodoReturn toggleVerticalSync(bool); - static TodoReturn tryShowRateDialog(gd::string); - static TodoReturn updateMouseControl(); - static TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - // virtual ~PlayerCheckpoint(); - - static PlayerCheckpoint* create(); - - virtual bool init(); -} - -[[link(android)]] -class PlayerControlGameObject : EffectGameObject { - // virtual ~PlayerControlGameObject(); - - static PlayerControlGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class PlayerFireBoostSprite : cocos2d::CCSprite { - // virtual ~PlayerFireBoostSprite(); - - static PlayerFireBoostSprite* create(); - - TodoReturn animateFireIn(); - TodoReturn animateFireOut(); - TodoReturn loopFireAnimation(); - - virtual bool init(); -} - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - // virtual ~PlayerObject(); - - static PlayerObject* create(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2c0980; - - TodoReturn activateStreak() = win 0x2d6bc0; - TodoReturn addAllParticles() = win 0x2c2080; - TodoReturn addToTouchedRings(RingObject*); - TodoReturn addToYVelocity(double, int) = win 0x2c2690; - TodoReturn animatePlatformerJump(float); - TodoReturn boostPlayer(float); - TodoReturn bumpPlayer(float, int, bool, GameObject*) = win 0x2d62f0; - TodoReturn buttonDown(PlayerButton); - TodoReturn canStickToGround(); - TodoReturn checkSnapJumpToObject(GameObject*); - TodoReturn collidedWithObject(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn collidedWithObject(float, GameObject*); - TodoReturn collidedWithObjectInternal(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn collidedWithSlope(float, GameObject*, bool); - TodoReturn collidedWithSlopeInternal(float, GameObject*, bool); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - TodoReturn createFadeOutDartStreak(); - TodoReturn createRobot(int); - TodoReturn createSpider(int); - TodoReturn deactivateParticle(); - TodoReturn deactivateStreak(bool); - TodoReturn destroyFromHitHead(); - TodoReturn didHitHead(); - TodoReturn disableCustomGlowColor(); - TodoReturn disablePlayerControls(); - TodoReturn disableSwingFire(); - TodoReturn doReversePlayer(bool) = win 0x2d0480; - TodoReturn enableCustomGlowColor(cocos2d::ccColor3B const&); - TodoReturn enablePlayerControls(); - TodoReturn exitPlatformerAnimateJump(); - TodoReturn fadeOutStreak2(float) = win 0x2d6cb0; - TodoReturn flashPlayer(float, float, cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn flipGravity(bool, bool) = win 0x2d1950; - TodoReturn flipMod(); - TodoReturn gameEventTriggered(int, int); - TodoReturn getActiveMode(); - TodoReturn getCurrentXVelocity(); - TodoReturn getModifiedSlopeYVel() = win 0x2c80c0; - TodoReturn getOldPosition(float); - TodoReturn getSecondColor(); - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn handlePlayerCommand(int); - TodoReturn handleRotatedCollisionInternal(float, GameObject*, cocos2d::CCRect, bool, bool, bool); - TodoReturn handleRotatedObjectCollision(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn handleRotatedSlopeCollision(float, GameObject*, bool); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(GameObject*, bool); - TodoReturn hitGroundNoJump(GameObject*, bool) = win 0x2d32d0; - TodoReturn incrementJumps() = win 0x2c5cf0; - bool init(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool); - bool isBoostValid(float) = win 0x2c8060; - bool isFlying() = win 0x2d1c90; - bool isInBasicMode(); - bool isInNormalMode() = win 0x2d39b0; - bool isSafeFlip(float); - bool isSafeHeadTest(); - bool isSafeMode(float); - bool isSafeSpiderFlip(float); - TodoReturn levelFlipFinished(); - TodoReturn levelFlipping() = win 0x2d2af0; - TodoReturn levelWillFlip(); - void loadFromCheckpoint(PlayerCheckpoint*); - TodoReturn lockPlayer() = win 0x2d5f80; - TodoReturn logValues(); - TodoReturn modeDidChange(); - TodoReturn performSlideCheck(); - TodoReturn placeStreakPoint() = win 0x2d7310; - TodoReturn playBumpEffect(int, GameObject*) = win 0x2d65c0; - TodoReturn playBurstEffect(); - TodoReturn playCompleteEffect(bool, bool); - TodoReturn playDeathEffect(); - TodoReturn playDynamicSpiderRun(); - TodoReturn playerDestroyed(bool) = win 0x2cfe60; - TodoReturn playerIsFalling(float); - TodoReturn playerIsFallingBugged(); - TodoReturn playerIsMovingUp(); - TodoReturn playerTeleported(); - TodoReturn playingEndEffect(); - TodoReturn playSpawnEffect(); - TodoReturn playSpiderDashEffect(cocos2d::CCPoint, cocos2d::CCPoint); - TodoReturn postCollision(float); - TodoReturn preCollision() = win 0x2c66b0; - TodoReturn preSlopeCollision(float, GameObject*) = win 0x2c8250; - TodoReturn propellPlayer(float, bool, int); - TodoReturn pushButton(PlayerButton) = win 0x2d0060; - TodoReturn pushDown(); - TodoReturn pushPlayer(float); - TodoReturn redirectDash(float) = win 0x2cdf30; - TodoReturn redirectPlayerForce(float, float, float, float) = win 0x2d6830; - TodoReturn releaseAllButtons(); - TodoReturn releaseButton(PlayerButton) = win 0x2d02a0; - TodoReturn removeAllParticles(); - TodoReturn removePendingCheckpoint() = win 0x2d83c0; - TodoReturn removePlacedCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(bool); - TodoReturn resetCollisionValues(); - TodoReturn resetPlayerIcon() = win 0x2d2820; - TodoReturn resetStateVariables(); - TodoReturn resetStreak(); - TodoReturn resetTouchedRings(); - TodoReturn reverseMod(); - TodoReturn reversePlayer(EffectGameObject*) = win 0x2d03a0; - TodoReturn ringJump(RingObject*, bool); - TodoReturn rotateGameplay(int, int, bool, float, float, bool, bool); - TodoReturn rotateGameplayObject(GameObject*); - TodoReturn rotateGameplayOnly(bool); - TodoReturn rotatePreSlopeObjects(); - TodoReturn runBallRotation(float) = win 0x2c6330; - TodoReturn runBallRotation2() = win 0x2c6470; - TodoReturn runNormalRotation() = win 0x2c61f0; - TodoReturn runNormalRotation(bool, float); - TodoReturn runRotateAction(bool, int) = win 0x2c6190; - TodoReturn saveToCheckpoint(PlayerCheckpoint*); - void setSecondColor(cocos2d::ccColor3B const&) = win 0x2d47d0; - TodoReturn setupStreak(); - void setYVelocity(double, int) = win 0x2c2620; - TodoReturn spawnCircle(); - TodoReturn spawnCircle2(); - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*, bool) = win 0x2d7190; - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float) = win 0x2cfb40; - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - TodoReturn spiderTestJump(bool); - TodoReturn spiderTestJumpInternal(bool); - TodoReturn spiderTestJumpX(bool); - TodoReturn spiderTestJumpY(bool); - TodoReturn startDashing(DashRingObject*); - TodoReturn stopBurstEffect(); - TodoReturn stopDashing() = win 0x2cec90; - TodoReturn stopParticles(); - TodoReturn stopPlatformerJumpAnimation(); - TodoReturn stopRotation(bool, int); - TodoReturn stopStreak2(); - TodoReturn storeCollision(PlayerCollisionDirection, int) = win 0x2c6610; - TodoReturn switchedDirTo(PlayerButton); - TodoReturn switchedToMode(GameObjectType) = win 0x2d3240; - TodoReturn testForMoving(float, GameObject*); - TodoReturn toggleBirdMode(bool, bool) = win 0x2d1fa0; - TodoReturn toggleDartMode(bool, bool) = win 0x2d2560; - TodoReturn toggleFlyMode(bool, bool) = win 0x2d1d10; - TodoReturn toggleGhostEffect(GhostType); - TodoReturn togglePlatformerMode(bool); - TodoReturn togglePlayerScale(bool, bool) = win 0x2d7370; - TodoReturn toggleRobotMode(bool, bool) = win 0x2d2c60; - TodoReturn toggleRollMode(bool, bool) = win 0x2d2b30; - TodoReturn toggleSpiderMode(bool, bool) = win 0x2d2f50; - TodoReturn toggleSwingMode(bool, bool) = win 0x2d2220; - TodoReturn toggleVisibility(bool); - TodoReturn touchedObject(GameObject*); - TodoReturn tryPlaceCheckpoint() = win 0x2d8420; - TodoReturn unrotateGameplayObject(GameObject*); - TodoReturn unrotatePreSlopeObjects(); - TodoReturn updateCheckpointMode(bool); - TodoReturn updateCheckpointTest() = win 0x2c4830; - TodoReturn updateCollide(PlayerCollisionDirection, GameObject*) = win 0x2cc8d0; - TodoReturn updateCollideBottom(float, GameObject*); - TodoReturn updateCollideLeft(float, GameObject*); - TodoReturn updateCollideRight(float, GameObject*); - TodoReturn updateCollideTop(float, GameObject*); - TodoReturn updateDashAnimation(); - TodoReturn updateDashArt() = win 0x2ce880; - TodoReturn updateEffects(float); - TodoReturn updateGlowColor() = win 0x2d4840; - TodoReturn updateInternalActions(float); - TodoReturn updateJump(float); - TodoReturn updateJumpVariables(); - TodoReturn updateLastGroundObject(GameObject*); - TodoReturn updateMove(float); - TodoReturn updatePlayerArt() = win 0x2d0650; - TodoReturn updatePlayerBirdFrame(int) = win 0x2d5320; - TodoReturn updatePlayerDartFrame(int); - TodoReturn updatePlayerForce(cocos2d::CCPoint, bool); - TodoReturn updatePlayerFrame(int) = win 0x2d4dc0; - TodoReturn updatePlayerGlow() = win 0x2d6e50; - TodoReturn updatePlayerJetpackFrame(int); - TodoReturn updatePlayerRobotFrame(int); - TodoReturn updatePlayerRollFrame(int) = win 0x2d5540; - TodoReturn updatePlayerScale() = win 0x2d6df0; - TodoReturn updatePlayerShipFrame(int); - TodoReturn updatePlayerSpiderFrame(int); - TodoReturn updatePlayerSpriteExtra(gd::string); - TodoReturn updatePlayerSwingFrame(int); - TodoReturn updateRobotAnimationSpeed(); - TodoReturn updateRotation(float, float) = win 0x2ca0b0; - TodoReturn updateRotation(float); - TodoReturn updateShipRotation(float); - TodoReturn updateShipSpriteExtra(gd::string); - TodoReturn updateSlopeRotation(float); - TodoReturn updateSlopeYVelocity(float); - TodoReturn updateSpecial(float); - TodoReturn updateStateVariables(); - TodoReturn updateStaticForce(float, float, bool) = win 0x2d66f0; - TodoReturn updateStreakBlend(bool); - TodoReturn updateStreaks(float); - TodoReturn updateSwingFire() = win 0x2d2450; - TodoReturn updateTimeMod(float, bool) = win 0x2d77e0; - TodoReturn usingWallLimitedMode(); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual void update(float) = win 0x2c2710; - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool) = win 0x2d8870; - virtual void setFlipY(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn getRealPosition(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn animationFinished(char const*); - - PAD = win 0x13c; - float m_rotationSpeed; //0x5d8 - PAD = win 0x5; - bool m_isRotating; //0x5e1 - PAD = win 0x1b6; - double m_yVelocity; //0x798 - PAD = win 0x9; - bool m_isShip; //0x7a9 - bool m_isBird; //0x7aa - bool m_isBall; //0x7ab - bool m_isDart; //0x7ac - bool m_isRobot; //0x7ad - bool m_isSpider; //0x7ae - bool m_isUpsideDown; //0x7af - bool m_isDead; //0x7b0 - bool m_isOnGround; //0x7b1 - bool m_isGoingLeft; //0x7b2 - PAD = win 0x1; - bool m_isSwing; //0x7b4 - PAD = win 0x1f; - bool m_isDashing; //0x7d4 - PAD = win 0xf; - float m_speed; //0x7e4 - PAD = win 0x17; - bool m_isLocked; //0x7ff - PAD = win 0x1c; - cocos2d::CCPoint m_position; //0x81c - PAD = win 0x4c; - double m_platformerXVelocity; //0x870 - PAD = win 0x70; - bool m_isPlatformer; //0x8e8 - PAD = win 0x13; - float m_gravityMod; //0x8fc - PAD = win 0x80; -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - // virtual ~PlayLayer(); - - static PlayLayer* create(GJGameLevel*, bool, bool); - - TodoReturn addCircle(CCCircleWave*); - TodoReturn addObject(GameObject*) = win 0x2dfab0; - TodoReturn addToGroupOld(GameObject*); - TodoReturn applyCustomEnterEffect(GameObject*, bool); - TodoReturn applyEnterEffect(GameObject*, int, bool); - TodoReturn canPauseGame(); - TodoReturn checkpointWithID(int); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn commitJumps(); - TodoReturn compareStateSnapshot(); - TodoReturn createCheckpoint() = win 0x2e57d0; - TodoReturn createObjectsFromSetupFinished() = win 0x2df830; - TodoReturn delayedFullReset(); - TodoReturn delayedResetLevel(); - TodoReturn fullReset(); - TodoReturn getCurrentPercent(); - TodoReturn getCurrentPercentInt() = win 0x2e4780; - TodoReturn getEndPosition(); - TodoReturn getLastCheckpoint() = win 0x2e6e20; - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getRelativeModNew(cocos2d::CCPoint, float, float, bool, bool); - TodoReturn getTempMilliTime(); - TodoReturn gravityEffectFinished(); - TodoReturn incrementJumps() = win 0x2e8da0; - bool init(GJGameLevel*, bool, bool) = win 0x2da660; - bool isGameplayActive(); - TodoReturn levelComplete() = win 0x2dbc80; - TodoReturn loadActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn loadDefaultColors() = win 0x2e2f80; - TodoReturn loadDynamicSaveObjects(gd::vector&); - void loadFromCheckpoint(CheckpointObject*) = win 0x2e66c0; - TodoReturn loadLastCheckpoint(); - TodoReturn markCheckpoint(); - TodoReturn onQuit() = win 0x2e9550; - TodoReturn optimizeColorGroups(); - TodoReturn optimizeOpacityGroups(); - TodoReturn pauseGame(bool); - TodoReturn playEndAnimationToPos(cocos2d::CCPoint) = win 0x2ddf10; - TodoReturn playPlatformerEndAnimationToPos(cocos2d::CCPoint, bool) = win 0x2de6f0; - TodoReturn playReplay(gd::string); - TodoReturn prepareCreateObjectsFromSetup(gd::string&) = win 0x2ded50; - TodoReturn prepareMusic(bool) = win 0x2e9380; - TodoReturn processCreateObjectsFromSetup() = win 0x2defd0; - TodoReturn processLoadedMoveActions(); - TodoReturn queueCheckpoint(); - TodoReturn removeAllObjects() = win 0x2e9660; - TodoReturn removeCheckpoint(bool); - TodoReturn removeFromGroupOld(GameObject*); - TodoReturn resetLevel() = win 0x2e8200; - TodoReturn resetLevelFromStart() = win 0x2e8160; - TodoReturn resume(); - TodoReturn resumeAndRestart(bool); - TodoReturn saveActiveSaveObjects(gd::vector&, gd::vector&) = win 0x2e7ce0; - TodoReturn saveDynamicSaveObjects(gd::vector&) = win 0x2e7840; - TodoReturn scanActiveSaveObjects(); - TodoReturn scanDynamicSaveObjects(); - TodoReturn scene(GJGameLevel*, bool, bool) = win 0x2da560; - TodoReturn screenFlipObject(GameObject*); - void setDamageVerifiedIdx(int); - TodoReturn setupHasCompleted(); - TodoReturn shouldBlend(int); - TodoReturn showCompleteEffect(); - TodoReturn showCompleteText() = win 0x2dc520; - TodoReturn showEndLayer(); - TodoReturn showHint() = win 0x2e5080; - TodoReturn showNewBest(bool, int, int, bool, bool, bool) = win 0x2dced0; - TodoReturn showRetryLayer(); - TodoReturn showTwoPlayerGuide(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - TodoReturn startGame() = win 0x2dbbd0; - TodoReturn startGameDelayed(); - TodoReturn startMusic() = win 0x2e9470; - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopRecording(); - TodoReturn storeCheckpoint(CheckpointObject*) = win 0x2e6580; - TodoReturn takeStateSnapshot(); - TodoReturn toggleBGEffectVisibility(bool); - TodoReturn toggleGhostEffect(int) = win 0x2d5c80; - TodoReturn togglePracticeMode(bool); - TodoReturn tryStartRecord(); - TodoReturn updateAttempts() = win 0x2e8c10; - TodoReturn updateEffectPositions() = win 0x2e5220; - TodoReturn updateInfoLabel() = win 0x2e3bd0; - TodoReturn updateInvisibleBlock(GameObject*, float, float, float, float, cocos2d::ccColor3B const&); - TodoReturn updateProgressbar() = win 0x2e3540; - TodoReturn updateScreenRotation(int, bool, bool, float, int, float, int, int); - TodoReturn updateTimeWarp(EffectGameObject*, float) = win 0x1b86b0; - - virtual void onEnterTransitionDidFinish() = win 0x2e97f0; - virtual void onExit() = win 0x2e9820; - virtual TodoReturn postUpdate(float) = win 0x2e5310; - virtual TodoReturn checkForEnd() = win 0x2e55c0; - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage() = win 0x2e56a0; - virtual TodoReturn updateAttemptTime(float) = win 0x2e5720; - virtual TodoReturn updateVisibility(float); - virtual TodoReturn opacityForObject(GameObject*) = win 0x2e1a20; - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x2e31e0; - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual TodoReturn activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&) = win 0x2de5e0; - virtual TodoReturn toggleGlitter(bool) = win 0x2e4730; - virtual TodoReturn destroyPlayer(PlayerObject*, GameObject*) = win 0x2e4840; - virtual TodoReturn toggleGroundVisibility(bool) = win 0x2e45e0; - virtual TodoReturn toggleMGVisibility(bool) = win 0x2e4660; - virtual TodoReturn toggleHideAttempts(bool) = win 0x2e46b0; - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int) = win 0x2e44e0; - virtual TodoReturn posForTime(float) = win 0x2e4550; - virtual TodoReturn resetSPTriggered() = win 0x2e45a0; - virtual TodoReturn updateTimeWarp(float); - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*) = win 0x2e1a40; - virtual TodoReturn checkpointActivated(CheckpointGameObject*) = win 0x2e57b0; - virtual TodoReturn flipArt(bool); - virtual TodoReturn updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual TodoReturn toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual TodoReturn removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); - virtual TodoReturn dialogClosed(DialogLayer*); - - PAD = win 0x12C, android32 0x12C; - bool m_endLayerStars; // not verified on android - PAD = win 0xBF, android32 0xBF; -} - -[[link(android)]] -class PointNode : cocos2d::CCObject { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint) = win 0x225fb0; - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class PriceLabel : cocos2d::CCNode { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - // virtual ~ProfilePage(); - - static ProfilePage* create(int, bool) = win 0x2eb060; - - void blockUser(); - bool init(int, bool) = win 0x2eb110; - bool isCorrect(char const*); - bool isOnWatchlist(int); - TodoReturn loadPage(int); - TodoReturn loadPageFromUserInfo(GJUserScore*) = win 0x2EBE30; - void onBlockUser(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = win 0x2ef3c0; - void onComment(cocos2d::CCObject* sender); - void onCommentHistory(cocos2d::CCObject* sender); - void onFollow(cocos2d::CCObject* sender); - void onFriend(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onMessages(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender) = win 0x2ee460; - void onMyLists(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRequests(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender) = win 0x2ebba0; - void onYouTube(cocos2d::CCObject* sender); - TodoReturn setupComments(); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*) = win 0x2eff40; - TodoReturn showNoAccountError(); - TodoReturn toggleMainPageVisibility(bool); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x2EF420; - virtual void show() = win 0x2ef5d0; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn getUserInfoFinished(GJUserScore*) = win 0x2efb90; - virtual TodoReturn getUserInfoFailed(int) = win 0x2efc20; - virtual TodoReturn userInfoChanged(GJUserScore*) = win 0x2efc70; - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*) = win 0x2f0070; - virtual TodoReturn loadCommentsFailed(char const*) = win 0x2f00d0; - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn commentDeleteFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - - GJUserScore* m_score; - int m_accountID; - bool m_ownProfile; - gd::string m_profileKey; - cocos2d::CCLabelBMFont* m_somethingWentWrong; - cocos2d::CCLabelBMFont* m_usernameLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_followBtn; - void* m_unk; - cocos2d::CCArray* m_buttons; - cocos2d::CCArray* m_arrayWithUsernameLabel; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - LoadingCircle* m_circle; - void* m_popupDelegate; - CCMenuItemSpriteExtra* m_refreshBtn; -} - -[[link(android)]] -class PromoInterstitial : FLAlertLayer { - // virtual ~PromoInterstitial(); - - static PromoInterstitial* create(bool); - - bool init(bool); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class PulseEffectAction { - bool isFinished(); - TodoReturn step(float); - TodoReturn valueForDelta(float, float, float, float); -} - -[[link(android)]] -class PurchaseItemPopup : FLAlertLayer { - // virtual ~PurchaseItemPopup(); - - static PurchaseItemPopup* create(GJStoreItem*); - - bool init(GJStoreItem*) = win 0x21b8a0; - void onClose(cocos2d::CCObject* sender); - void onPurchase(cocos2d::CCObject* sender) = win 0x21c320; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RandTriggerGameObject : ChanceTriggerGameObject { - // virtual ~RandTriggerGameObject(); - - static RandTriggerGameObject* create(); - - TodoReturn getRandomGroupID(); - TodoReturn getTotalChance(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateDemonLayer(); - - static RateDemonLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2f0d30; - void selectRating(cocos2d::CCObject*) = win 0x2f0bd0; - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - - PAD = win 0x12; - int m_demonRate; -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed() {} -} - -[[link(android)]] -class RateLevelLayer : FLAlertLayer { - // virtual ~RateLevelLayer(); - - static RateLevelLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateStarsLayer(); - - static RateStarsLayer* create(int, bool, bool); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int, bool, bool) = win 0x2f1a30; - void onClose(cocos2d::CCObject* sender) = win 0x2f24c0; - void onFeature(cocos2d::CCObject* sender) = win 0x2f20a0; - void onRate(cocos2d::CCObject* sender) = win 0x2f22d0; - void onToggleCoins(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*) = win 0x2f2180; - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - PAD = win 0x10; - int m_starsRate; -} - -[[link(android)]] -class RetryLevelLayer : GJDropDownLayer, RewardedVideoDelegate { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create(); - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class RewardedVideoDelegate { - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); -} - -[[link(android)]] -class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate { - // virtual ~RewardsPage(); - - static RewardsPage* create(); - - TodoReturn getRewardFrame(int, int); - void onClose(cocos2d::CCObject* sender); - void onFreeStuff(cocos2d::CCObject* sender); - void onReward(cocos2d::CCObject* sender); - TodoReturn tryGetRewards(); - TodoReturn unlockLayerClosed(RewardUnlockLayer*); - TodoReturn updateTimers(float); - - virtual bool init() = win 0x2f38d0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn rewardsStatusFinished(int); - virtual TodoReturn rewardsStatusFailed(); - - cocos2d::CCLabelBMFont* m_leftLabel; - cocos2d::CCLabelBMFont* m_rightLabel; - CCMenuItemSpriteExtra* m_leftChest; - CCMenuItemSpriteExtra* m_rightChest; - bool m_leftOpen; - bool m_rightOpen; - cocos2d::CCNode* m_openLayer; -} - -[[link(android)]] -class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate { - // virtual ~RewardUnlockLayer(); - - static RewardUnlockLayer* create(int, RewardsPage*); - - TodoReturn connectionTimeout(); - bool init(int, RewardsPage*) = win 0x2f4c80; - TodoReturn labelEnterFinishedO(cocos2d::CCObject*); - void onClose(cocos2d::CCObject* sender); - TodoReturn playDropSound(); - TodoReturn playLabelEffect(int, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn playRewardEffect(); - TodoReturn readyToCollect(GJRewardItem*); - TodoReturn showCloseButton(); - TodoReturn showCollectReward(GJRewardItem*) = win 0x2f5940; - TodoReturn step2(); - TodoReturn step3(); - - virtual void keyBackClicked(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class RingObject : EffectGameObject { - // virtual ~RingObject(); - - static RingObject* create(char const*); - - bool init(char const*); - TodoReturn spawnCircle(); - - virtual void setScale(float); - virtual void setRotation(float); - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setRScale(float); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn powerOnObject(int); - - bool m_claimTouch; - // property 504 - bool m_isSpawnOnly; -} - -[[link(android)]] -class RotateGameplayGameObject : EffectGameObject { - // virtual ~RotateGameplayGameObject(); - - static RotateGameplayGameObject* create(); - - TodoReturn updateGameplayRotation(); - - virtual bool init(); - virtual TodoReturn updateStartValues(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - // virtual ~ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - void setStartOffset(cocos2d::CCPoint); - - virtual void draw(); - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*) = win 0x263bf0; - - bool init(char const*, char const*, float, char const*) = win 0x263ce0; - - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class SearchSFXPopup : SetTextPopup { - // virtual ~SearchSFXPopup(); - - static SearchSFXPopup* create(gd::string); - - bool init(gd::string); - void onSearchFolders(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SecretLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SecretLayer(); - - static SecretLayer* create(); - - TodoReturn getBasicMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender) = win 0x3042c0; - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*) = win 0x3055b0; - - virtual bool init() = win 0x3027d0; - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer2(); - - static SecretLayer2* create(); - - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onSecretLevel(cocos2d::CCObject* sender) = win 0x303d30; - void onSubmit(cocos2d::CCObject* sender) = win 0x3042c0; - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn showCompletedLevel(); - TodoReturn showSecretLevel(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*) = win 0x3055b0; - - virtual bool init() = win 0x3027d0; - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer3 : cocos2d::CCLayer, DialogDelegate { - // virtual ~SecretLayer3(); - - static SecretLayer3* create(); - - TodoReturn animateEyes(); - TodoReturn firstInteractionStep1(); - TodoReturn firstInteractionStep2(); - TodoReturn firstInteractionStep3(); - TodoReturn firstInteractionStep4(); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onChest02(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn revealStep1(); - TodoReturn revealStep2(); - TodoReturn revealStep3(); - TodoReturn revealStep4(); - TodoReturn revealStep5(); - TodoReturn scene(); - TodoReturn showUnlockDialog(); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer4(); - - static SecretLayer4* create(); - - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn showDialog(int); - TodoReturn showFirstDialog(); - TodoReturn updateMessageLabel(gd::string); - TodoReturn updateSearchLabel(char const*); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretNumberLayer : cocos2d::CCLayer { - // virtual ~SecretNumberLayer(); - - static SecretNumberLayer* create(); - - TodoReturn playNumberEffect(int); - - virtual bool init(); -} - -[[link(android)]] -class SecretRewardsLayer : cocos2d::CCLayer, DialogDelegate, BoomScrollLayerDelegate { - // virtual ~SecretRewardsLayer(); - - static SecretRewardsLayer* create(bool); - - TodoReturn createSecondaryLayer(int) = win 0x2fa540; - TodoReturn generateChestItems(int) = win 0x2fa9b0; - TodoReturn getPageColor(int); - TodoReturn goToPage(int); - bool init(bool); - TodoReturn moveToMainLayer(cocos2d::CCObject*); - TodoReturn moveToSecondaryLayer(int); - void onBack(cocos2d::CCObject* sender); - void onChestType(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x2fb330; - void onShop(cocos2d::CCObject* sender) = win 0x2fb690; - void onSpecialItem(cocos2d::CCObject* sender) = win 0x2fb940; - void onSwitchPage(cocos2d::CCObject* sender); - TodoReturn scene(bool); - TodoReturn showDialog01(); - TodoReturn showDialog03(); - TodoReturn showDialogDiamond(); - TodoReturn showDialogMechanic(); - TodoReturn showLockedChest(); - TodoReturn showShop(int); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*) = win 0x2fbc10; - TodoReturn updateBackButton(); - TodoReturn updateUnlockedLabel() = win 0x2fbcc0; - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class SelectArtDelegate { - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer : FLAlertLayer { - // virtual ~SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType, int); - - bool init(SelectArtType, int); - void onClose(cocos2d::CCObject* sender); - void onSelectCustom(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - TodoReturn updateSelectedCustom(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectEventLayer : SetupTriggerPopup { - // virtual ~SelectEventLayer(); - - static SelectEventLayer* create(SetupEventLinkPopup*, gd::set&); - - TodoReturn addToggle(int, gd::string); - bool init(SetupEventLinkPopup*, gd::set&); - TodoReturn nextPosition(); - void onInfo(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - // virtual ~SelectFontLayer(); - - static SelectFontLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - void onChangeFont(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn updateFontLabel(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectListIconDelegate { - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); -} - -[[link(android)]] -class SelectListIconLayer : FLAlertLayer { - // virtual ~SelectListIconLayer(); - - static SelectListIconLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectPremadeDelegate { - virtual TodoReturn selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SelectPremadeLayer : FLAlertLayer { - // virtual ~SelectPremadeLayer(); - - static SelectPremadeLayer* create(); - - void onClose(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSettingDelegate { - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SelectSettingLayer : FLAlertLayer { - // virtual ~SelectSettingLayer(); - - static SelectSettingLayer* create(SelectSettingType, int); - - TodoReturn frameForItem(SelectSettingType, int); - TodoReturn frameForValue(SelectSettingType, int); - TodoReturn getSelectedFrame(); - TodoReturn getSelectedValue(); - TodoReturn idxToValue(SelectSettingType, int); - bool init(SelectSettingType, int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn valueToIdx(SelectSettingType, int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSFXSortDelegate { - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); -} - -[[link(android)]] -class SelectSFXSortLayer : FLAlertLayer { - // virtual ~SelectSFXSortLayer(); - - static SelectSFXSortLayer* create(AudioSortType); - - bool init(AudioSortType); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SequenceTriggerGameObject : ChanceTriggerGameObject { - // virtual ~SequenceTriggerGameObject(); - - static SequenceTriggerGameObject* create(); - - TodoReturn addCount(int, int); - TodoReturn addTarget(int, int); - TodoReturn deleteTarget(int); - TodoReturn reorderTarget(int, bool); - TodoReturn updateSequenceTotalCount(); - - virtual bool init(); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SetColorIDPopup : SetIDPopup, GJSpecialColorSelectDelegate { - // virtual ~SetColorIDPopup(); - - static SetColorIDPopup* create(int); - - bool init(int); - void onSelectSpecialColor(cocos2d::CCObject* sender); - - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetFolderPopup : SetIDPopup, SetTextPopupDelegate { - // virtual ~SetFolderPopup(); - - static SetFolderPopup* create(int, bool, gd::string); - - bool init(int, bool, gd::string); - void onSetFolderName(cocos2d::CCObject* sender); - - virtual TodoReturn valueChanged(); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - // virtual ~SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn addGroupID(int); - TodoReturn callRemoveFromGroup(float); - TodoReturn createTextInput(cocos2d::CCPoint, int, int, gd::string, float, int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*); - void onAddGroup(cocos2d::CCObject* sender); - void onAddGroupParent(cocos2d::CCObject* sender); - void onAnim(cocos2d::CCObject* sender); - TodoReturn onArrow(int, int); - void onArrowLeft(cocos2d::CCObject* sender); - void onArrowRight(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onExtra(cocos2d::CCObject* sender); - void onExtra2(cocos2d::CCObject* sender); - void onNextFreeEditorLayer1(cocos2d::CCObject* sender); - void onNextFreeEditorLayer2(cocos2d::CCObject* sender); - void onNextFreeOrderChannel(cocos2d::CCObject* sender); - void onNextGroupID1(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onToggleSelectedOrder(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - void onZLayerShift(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn updateEditorLabel(); - TodoReturn updateEditorLabel2(); - TodoReturn updateEditorLayerID(); - TodoReturn updateEditorLayerID2(); - TodoReturn updateEditorOrder(); - TodoReturn updateEditorOrderLabel(); - TodoReturn updateGroupIDButtons(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateOrderChannel(); - TodoReturn updateOrderChannelLabel(); - TodoReturn updateZLayerButtons(); - TodoReturn updateZOrder(); - TodoReturn updateZOrderLabel(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetIDPopup(); - // SetIDPopup(); - - static SetIDPopup* create(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - - bool init(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valueChanged(); -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int); -} - -[[link(android)]] -class SetItemIDLayer : SetupTriggerPopup { - // virtual ~SetItemIDLayer(); - - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateEditorLabel(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetLevelOrderPopup : SetIDPopup { - // virtual ~SetLevelOrderPopup(); - - static SetLevelOrderPopup* create(int, int, int); - - bool init(int, int, int); - void onOrderButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetTargetIDLayer : SetupTriggerPopup { - // virtual ~SetTargetIDLayer(); - - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - virtual TodoReturn determineStartValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetTextPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetTextPopup(); - - static SetTextPopup* create(gd::string, gd::string, int, gd::string, gd::string, bool, float); - - bool init(gd::string, gd::string, int, gd::string, gd::string, bool, float); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetTextPopupDelegate { - virtual void setTextPopupClosed(SetTextPopup*, gd::string) {} -} - -[[link(android)]] -class SetupAdvFollowEditPhysicsPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowEditPhysicsPopup(); - - static SetupAdvFollowEditPhysicsPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAdvFollowPopup : SetupTriggerPopup, SelectPremadeDelegate { - // virtual ~SetupAdvFollowPopup(); - - static SetupAdvFollowPopup* create(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onPremade(cocos2d::CCObject* sender); - TodoReturn updateMode(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); - virtual TodoReturn selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SetupAdvFollowRetargetPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowRetargetPopup(); - - static SetupAdvFollowRetargetPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAnimationPopup : SetupTriggerPopup { - // virtual ~SetupAnimationPopup(); - - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAnimationIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateAnimationID(); - TodoReturn updateAnimationTextInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupAnimSettingsPopup : SetupTriggerPopup { - // virtual ~SetupAnimSettingsPopup(); - - static SetupAnimSettingsPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateAnimSettings(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupAreaAnimTriggerPopup : SetupAreaTintTriggerPopup { - // virtual ~SetupAreaAnimTriggerPopup(); - - static SetupAreaAnimTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - TodoReturn createValueControlAdvancedAnim(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle); - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onDeactivateAnimValue(cocos2d::CCObject* sender); - TodoReturn updateTargetIDLabel(); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAreaFadeTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaFadeTriggerPopup(); - - static SetupAreaFadeTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaMoveTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAreaMoveTriggerPopup(); - // SetupAreaMoveTriggerPopup(); - - static SetupAreaMoveTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - TodoReturn addAreaDefaultControls(int); - TodoReturn getModeValues(int, int&, bool&, bool&); - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onNextFreeEffectID(cocos2d::CCObject* sender); - void onSpecialTarget(cocos2d::CCObject* sender); - TodoReturn updateEnterTargetIDState(); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); -} - -[[link(android)]] -class SetupAreaRotateTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaRotateTriggerPopup(); - - static SetupAreaRotateTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTintTriggerPopup : SetupAreaMoveTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupAreaTintTriggerPopup(); - - static SetupAreaTintTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onHSV(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupAreaTransformTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTransformTriggerPopup(); - - static SetupAreaTransformTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTriggerPopup(); - - static SetupAreaTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupArtSwitchPopup : SetupTriggerPopup, SelectArtDelegate { - // virtual ~SetupArtSwitchPopup(); - - static SetupArtSwitchPopup* create(ArtTriggerGameObject*, cocos2d::CCArray*, int); - - bool init(ArtTriggerGameObject*, cocos2d::CCArray*, int); - void onArt(cocos2d::CCObject* sender); - - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupAudioLineGuidePopup : SetupTriggerPopup, SelectSettingDelegate { - // virtual ~SetupAudioLineGuidePopup(); - - static SetupAudioLineGuidePopup* create(AudioLineGuideGameObject*, cocos2d::CCArray*); - - bool init(AudioLineGuideGameObject*, cocos2d::CCArray*); - void onSpeed(cocos2d::CCObject* sender); - - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SetupAudioTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAudioTriggerPopup(); - - TodoReturn addProxVolControls(int); - TodoReturn addTimeControls(int, float); - void onProxMode(cocos2d::CCObject* sender); - TodoReturn updateSpecialGroup(); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupBGSpeedTrigger : SetupTriggerPopup { - // virtual ~SetupBGSpeedTrigger(); - - static SetupBGSpeedTrigger* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); -} - -[[link(android)]] -class SetupCameraEdgePopup : SetupTriggerPopup { - // virtual ~SetupCameraEdgePopup(); - - static SetupCameraEdgePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onCameraEdge(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onUnlockEdge(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCameraGuidePopup : SetupTriggerPopup { - // virtual ~SetupCameraGuidePopup(); - - static SetupCameraGuidePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCameraModePopup : SetupTriggerPopup { - // virtual ~SetupCameraModePopup(); - - static SetupCameraModePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupCameraOffsetTrigger : SetupTriggerPopup { - // virtual ~SetupCameraOffsetTrigger(); - - static SetupCameraOffsetTrigger* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onTargetMode(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup(); - - static SetupCameraRotatePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup2 : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup2(); - - static SetupCameraRotatePopup2* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCheckpointPopup : SetupTriggerPopup { - // virtual ~SetupCheckpointPopup(); - - static SetupCheckpointPopup* create(CheckpointGameObject*, cocos2d::CCArray*); - - bool init(CheckpointGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCoinLayer : SetupTriggerPopup { - // virtual ~SetupCoinLayer(); - - static SetupCoinLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup { - // virtual ~SetupCollisionStateTriggerPopup(); - - static SetupCollisionStateTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCollisionTriggerPopup(); - - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onActivateOnExit(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemID2Arrow(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetP1(cocos2d::CCObject* sender); - void onTargetP2(cocos2d::CCObject* sender); - void onTargetPP(cocos2d::CCObject* sender); - TodoReturn updateItemID(); - TodoReturn updateItemID2(); - TodoReturn updateItemID2InputLabel(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCountTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCountTriggerPopup(); - - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupDashRingPopup : SetupTriggerPopup { - // virtual ~SetupDashRingPopup(); - - static SetupDashRingPopup* create(DashRingObject*, cocos2d::CCArray*); - - bool init(DashRingObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupEndPopup : SetupTriggerPopup { - // virtual ~SetupEndPopup(); - - static SetupEndPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onLockY(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onReversed(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupEnterEffectPopup : SetupTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupEnterEffectPopup(); - - static SetupEnterEffectPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onEnterType(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onNextFreeEnterChannel(cocos2d::CCObject* sender); - void onNextFreeEnterEffectID(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupEnterTriggerPopup : SetupTriggerPopup { - // virtual ~SetupEnterTriggerPopup(); - - static SetupEnterTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onEnterType(cocos2d::CCObject* sender); - - virtual TodoReturn determineStartValues(); -} - -[[link(android)]] -class SetupEventLinkPopup : SetupTriggerPopup { - // virtual ~SetupEventLinkPopup(); - - static SetupEventLinkPopup* create(EventLinkTrigger*, cocos2d::CCArray*); - - bool init(EventLinkTrigger*, cocos2d::CCArray*); - void onSelectEvent(cocos2d::CCObject* sender); - TodoReturn updateEventIDs(gd::set&); -} - -[[link(android)]] -class SetupForceBlockPopup : SetupTriggerPopup { - // virtual ~SetupForceBlockPopup(); - - static SetupForceBlockPopup* create(ForceBlockGameObject*, cocos2d::CCArray*); - - bool init(ForceBlockGameObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupGameplayOffsetPopup : SetupTriggerPopup { - // virtual ~SetupGameplayOffsetPopup(); - - static SetupGameplayOffsetPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onDefaultValues(cocos2d::CCObject* sender); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupGradientPopup : SetupTriggerPopup { - // virtual ~SetupGradientPopup(); - - static SetupGradientPopup* create(GradientTriggerObject*, cocos2d::CCArray*); - - bool init(GradientTriggerObject*, cocos2d::CCArray*); - void onBlending(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateBlending(); - TodoReturn updateBlendingLabel(); - TodoReturn updateGradientLabels(bool); - TodoReturn updateZLayerButtons(); - - virtual TodoReturn determineStartValues(); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn updateToggleItem(int, bool); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupGravityModPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupGravityModPopup(); - - static SetupGravityModPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateValue(); - TodoReturn updateValueLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupGravityTriggerPopup : SetupTriggerPopup { - // virtual ~SetupGravityTriggerPopup(); - - static SetupGravityTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupInstantCollisionTriggerPopup(); - - static SetupInstantCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateSpecialNodes(); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCountPopup : SetupTriggerPopup { - // virtual ~SetupInstantCountPopup(); - - static SetupInstantCountPopup* create(CountTriggerGameObject*, cocos2d::CCArray*); - - bool init(CountTriggerGameObject*, cocos2d::CCArray*); - void onCountType(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupInteractObjectPopup : SetupTriggerPopup { - // virtual ~SetupInteractObjectPopup(); - - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateItems(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupItemCompareTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemCompareTriggerPopup(); - - static SetupItemCompareTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupItemEditTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemEditTriggerPopup(); - - static SetupItemEditTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupKeyframeAnimPopup : SetupTriggerPopup { - // virtual ~SetupKeyframeAnimPopup(); - - static SetupKeyframeAnimPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupKeyframePopup : SetupTriggerPopup { - // virtual ~SetupKeyframePopup(); - - static SetupKeyframePopup* create(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - - bool init(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - void onTimeMode(cocos2d::CCObject* sender); - TodoReturn refreshPreviewArt(); - TodoReturn updateTimeModeButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupMGTrigger : SetupTriggerPopup { - // virtual ~SetupMGTrigger(); - - static SetupMGTrigger* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupMoveCommandPopup : SetupTriggerPopup { - // virtual ~SetupMoveCommandPopup(); - - static SetupMoveCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectControlPopup : SetupTriggerPopup { - // virtual ~SetupObjectControlPopup(); - - static SetupObjectControlPopup* create(ObjectControlGameObject*, cocos2d::CCArray*); - - bool init(ObjectControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupObjectOptions2Popup : SetupTriggerPopup { - // virtual ~SetupObjectOptions2Popup(); - - static SetupObjectOptions2Popup* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectOptionsPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupObjectOptionsPopup(); - - static SetupObjectOptionsPopup* create(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - - bool init(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - void onAlwaysHide(cocos2d::CCObject* sender); - void onApplyScaleStick(cocos2d::CCObject* sender); - void onCenterEffect(cocos2d::CCObject* sender); - void onDisableGlow(cocos2d::CCObject* sender); - void onDisableObject(cocos2d::CCObject* sender); - void onDontBoost(cocos2d::CCObject* sender); - void onDontBoostX(cocos2d::CCObject* sender); - void onDontEnter(cocos2d::CCObject* sender); - void onDontFade(cocos2d::CCObject* sender); - void onExtendedCollision(cocos2d::CCObject* sender); - void onExtraSticky(cocos2d::CCObject* sender); - void onGripSlope(cocos2d::CCObject* sender); - void onHideEffects(cocos2d::CCObject* sender); - void onHighDetail(cocos2d::CCObject* sender); - void onIceBlock(cocos2d::CCObject* sender); - void onNoAudioScale(cocos2d::CCObject* sender); - void onNonStickX(cocos2d::CCObject* sender); - void onNonStickY(cocos2d::CCObject* sender); - void onNoParticle(cocos2d::CCObject* sender); - void onPassable(cocos2d::CCObject* sender); - void onReverse(cocos2d::CCObject* sender); - void onSinglePlayerTouch(cocos2d::CCObject* sender); - void onToggleAreaParent(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectTogglePopup : SetupTriggerPopup { - // virtual ~SetupObjectTogglePopup(); - - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupOpacityPopup : SetupTriggerPopup { - // virtual ~SetupOpacityPopup(); - - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupOptionsTriggerPopup : SetupTriggerPopup { - // virtual ~SetupOptionsTriggerPopup(); - - static SetupOptionsTriggerPopup* create(GameOptionsTrigger*, cocos2d::CCArray*); - - TodoReturn addOption(int, gd::string); - bool init(GameOptionsTrigger*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPersistentItemTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPersistentItemTriggerPopup(); - - static SetupPersistentItemTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPickupTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPickupTriggerPopup(); - - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPlatformerEndPopup : SetupTriggerPopup { - // virtual ~SetupPlatformerEndPopup(); - - static SetupPlatformerEndPopup* create(EndTriggerGameObject*, cocos2d::CCArray*); - - bool init(EndTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPlayerControlPopup : SetupTriggerPopup { - // virtual ~SetupPlayerControlPopup(); - - static SetupPlayerControlPopup* create(PlayerControlGameObject*, cocos2d::CCArray*); - - bool init(PlayerControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPortalPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupPortalPopup(); - - static SetupPortalPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SetupPulsePopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~SetupPulsePopup(); - - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn getColorValue(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onCopy(cocos2d::CCObject* sender); - void onExclusive(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeInTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateGroupMainOnly(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateHoldLabel(bool); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updatePulseMode(); - TodoReturn updatePulseTargetType(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetupRandAdvTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandAdvTriggerPopup(); - - static SetupRandAdvTriggerPopup* create(RandTriggerGameObject*, cocos2d::CCArray*); - - TodoReturn addChance(int, int); - TodoReturn addChanceToObject(RandTriggerGameObject*, int, int); - TodoReturn callRemoveFromGroup(float); - bool init(RandTriggerGameObject*, cocos2d::CCArray*); - void onAddChance(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn removeGroupIDFromObject(RandTriggerGameObject*, int); - TodoReturn updateGroupIDButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupRandTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandTriggerPopup(); - - static SetupRandTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateChance(); - TodoReturn updateChanceLabel(bool); - TodoReturn updateTargetID(); - TodoReturn updateTargetID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupResetTriggerPopup : SetupTriggerPopup { - // virtual ~SetupResetTriggerPopup(); - - static SetupResetTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupReverbPopup : SetupTriggerPopup { - // virtual ~SetupReverbPopup(); - - static SetupReverbPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onPlay(cocos2d::CCObject* sender); - void onReverb(cocos2d::CCObject* sender); - TodoReturn updateReverbLabel(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateCommandPopup : SetupTriggerPopup { - // virtual ~SetupRotateCommandPopup(); - - static SetupRotateCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onInfiniteDuration(cocos2d::CCObject* sender); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateGameplayPopup : SetupTriggerPopup { - // virtual ~SetupRotateGameplayPopup(); - - static SetupRotateGameplayPopup* create(RotateGameplayGameObject*, cocos2d::CCArray*); - - bool init(RotateGameplayGameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupRotatePopup : SetupTriggerPopup { - // virtual ~SetupRotatePopup(); - - static SetupRotatePopup* create(EnhancedGameObject*, cocos2d::CCArray*); - - bool init(EnhancedGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSequenceTriggerPopup : SetupTriggerPopup { - // virtual ~SetupSequenceTriggerPopup(); - - static SetupSequenceTriggerPopup* create(SequenceTriggerGameObject*); - - bool init(SequenceTriggerGameObject*); - void onAddChance(cocos2d::CCObject* sender); - void onChangeOrder(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn updateGroupIDButtons(); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSFXEditPopup : SetupAudioTriggerPopup { - // virtual ~SetupSFXEditPopup(); - - static SetupSFXEditPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*, bool); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class SetupSFXPopup : SetupAudioTriggerPopup, CustomSFXDelegate, SFXBrowserDelegate { - // virtual ~SetupSFXPopup(); - - static SetupSFXPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - TodoReturn createSFXWidget(); - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onBrowseSFX(cocos2d::CCObject* sender); - TodoReturn updateLength(); - - virtual TodoReturn pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SetupShaderEffectPopup : SetupTriggerPopup { - // virtual ~SetupShaderEffectPopup(); - - static SetupShaderEffectPopup* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); - void onResetColors(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn setupBulge(); - TodoReturn setupChromatic(); - TodoReturn setupChromaticGlitch(); - TodoReturn setupColorChange(); - TodoReturn setupGlitch(); - TodoReturn setupGrayscale(); - TodoReturn setupHueShift(); - TodoReturn setupInvertColor(); - TodoReturn setupLensCircle(); - TodoReturn setupMotionBlur(); - TodoReturn setupPinch(); - TodoReturn setupPixelate(); - TodoReturn setupRadialBlur(); - TodoReturn setupSepia(); - TodoReturn setupShaderTrigger(); - TodoReturn setupShockLine(); - TodoReturn setupShockWave(); - TodoReturn setupSplitScreen(); - TodoReturn updateZLayerButtons(); - TodoReturn zLayerToString(int); - - virtual TodoReturn toggleGroup(int, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupShakePopup : SetupTriggerPopup { - // virtual ~SetupShakePopup(); - - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateInterval(); - TodoReturn updateIntervalLabel(bool); - TodoReturn updateShake(); - TodoReturn updateShakeLabel(bool); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSmartBlockLayer : FLAlertLayer, TextInputDelegate, SelectArtDelegate { - // virtual ~SetupSmartBlockLayer(); - - static SetupSmartBlockLayer* create(SmartGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(SmartGameObject*, cocos2d::CCArray*); - void onAllowFlipping(cocos2d::CCObject* sender); - void onAllowRotation(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCreate(cocos2d::CCObject* sender); - void onCreateAll(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onDontDelete(cocos2d::CCObject* sender); - void onIgnoreCorners(cocos2d::CCObject* sender); - void onNearbyReference(cocos2d::CCObject* sender); - void onPasteTemplate(cocos2d::CCObject* sender); - void onReferenceOnly(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - void onSelectTemplate(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupSmartTemplateLayer : FLAlertLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SetupSmartTemplateLayer(); - - static SetupSmartTemplateLayer* create(GJSmartTemplate*); - - bool init(GJSmartTemplate*); - void onBack(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSongTriggerPopup : SetupAudioTriggerPopup, MusicDownloadDelegate, SongPlaybackDelegate { - // virtual ~SetupSongTriggerPopup(); - - static SetupSongTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onResetSongTime(cocos2d::CCObject* sender); - void onSavePlaybackPos(cocos2d::CCObject* sender); - TodoReturn updateApplyPrepare(bool); - TodoReturn updateLength(); - TodoReturn updateSongTimeSlider(); - - virtual TodoReturn pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SetupSpawnParticlePopup : SetupTriggerPopup { - // virtual ~SetupSpawnParticlePopup(); - - static SetupSpawnParticlePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupSpawnPopup : SetupTriggerPopup { - // virtual ~SetupSpawnPopup(); - - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAddRemap(cocos2d::CCObject* sender); - void onDeleteRemap(cocos2d::CCObject* sender); - void onSelectRemap(cocos2d::CCObject* sender); - TodoReturn queueUpdateButtons(); - TodoReturn updateRemapButtons(float); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStaticCameraPopup : SetupTriggerPopup { - // virtual ~SetupStaticCameraPopup(); - - static SetupStaticCameraPopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStopTriggerPopup : SetupTriggerPopup { - // virtual ~SetupStopTriggerPopup(); - - static SetupStopTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTeleportPopup : SetupTriggerPopup { - // virtual ~SetupTeleportPopup(); - - static SetupTeleportPopup* create(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - - bool init(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - void onTeleportGravity(cocos2d::CCObject* sender); - TodoReturn updateTeleportGravityState(int); - - virtual TodoReturn determineStartValues(); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupTimerControlTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerControlTriggerPopup(); - - static SetupTimerControlTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTimerEventTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerEventTriggerPopup(); - - static SetupTimerEventTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimerTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerTriggerPopup(); - - static SetupTimerTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimeWarpPopup : SetupTriggerPopup { - // virtual ~SetupTimeWarpPopup(); - - static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTimeWarp(); - TodoReturn updateTimeWarpLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTouchTogglePopup : SetupTriggerPopup { - // virtual ~SetupTouchTogglePopup(); - - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onControlMode(cocos2d::CCObject* sender); - void onDualTouchMode(cocos2d::CCObject* sender); - void onHoldMode(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchMode(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupTransformPopup : SetupTriggerPopup { - // virtual ~SetupTransformPopup(); - - static SetupTransformPopup* create(TransformTriggerGameObject*, cocos2d::CCArray*); - - bool init(TransformTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTriggerPopup : FLAlertLayer, TextInputDelegate, ConfigureValuePopupDelegate, SliderDelegate { - // virtual ~SetupTriggerPopup(); - // SetupTriggerPopup(); - - static SetupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*, float, float, int); - static SetupTriggerPopup* create(float, float); - - TodoReturn addCloseButton(gd::string); - TodoReturn addHelpButton(gd::string, gd::string, float); - TodoReturn addInfoLabel(gd::string, float, cocos2d::CCPoint, int, int); - TodoReturn addObjectsToGroup(cocos2d::CCArray*, int); - TodoReturn addObjectsToPage(cocos2d::CCArray*, int); - TodoReturn addObjectToGroup(cocos2d::CCObject*, int); - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addTitle(gd::string); - TodoReturn closeInputNodes(); - TodoReturn createCustomButton(int, gd::string, gd::string, cocos2d::CCPoint, float, float, bool, int, int); - TodoReturn createCustomEasingControls(gd::string, cocos2d::CCPoint, float, int, int, int, int); - TodoReturn createCustomToggleValueControl(int, bool, bool, gd::string, cocos2d::CCPoint, bool, int, int); - TodoReturn createEasingControls(cocos2d::CCPoint, float, int, int); - TodoReturn createMultiTriggerItems(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - TodoReturn createMultiTriggerItemsCorner(); - TodoReturn createMultiTriggerItemsDefault(); - TodoReturn createMultiTriggerItemsDefaultHorizontal(); - TodoReturn createMultiTriggerItemsDefaultVertical(); - TodoReturn createPageButtons(float, int); - TodoReturn createPlusButton(int, cocos2d::CCPoint, float, gd::string, int, int); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCPoint); - TodoReturn createToggleValueControl(int, gd::string, cocos2d::CCPoint, bool, int, int, float); - TodoReturn createToggleValueControlAdvanced(int, gd::string, cocos2d::CCPoint, bool, int, int, float, float, float, cocos2d::CCPoint); - TodoReturn createValueControl(int, gd::string, cocos2d::CCPoint, float, float, float); - TodoReturn createValueControlAdvanced(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle, int, bool); - TodoReturn createValueControlWArrows(int, gd::string, cocos2d::CCPoint, float); - TodoReturn getGroupContainer(int); - TodoReturn getMaxSliderValue(int); - TodoReturn getMinSliderValue(int); - TodoReturn getObjects(); - TodoReturn getPageContainer(int); - TodoReturn getTriggerValue(int, GameObject*); - TodoReturn getTruncatedValue(float, int); - TodoReturn getTruncatedValueByTag(int, float); - TodoReturn goToPage(int, bool); - TodoReturn hideAll(); - bool init(EffectGameObject*, cocos2d::CCArray*, float, float, int); - TodoReturn onCustomEaseArrow(int, bool); - void onCustomEaseArrowDown(cocos2d::CCObject* sender); - void onCustomEaseArrowUp(cocos2d::CCObject* sender); - void onCustomEaseRate(cocos2d::CCObject* sender); - void onDisableValue(cocos2d::CCObject* sender); - void onEase(cocos2d::CCObject* sender); - void onEaseRate(cocos2d::CCObject* sender); - void onMultiTrigger(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onToggleTriggerValue(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn postSetup(); - TodoReturn preSetup(); - TodoReturn refreshGroupVisibility(); - TodoReturn removeObjectFromGroup(cocos2d::CCObject*, int); - TodoReturn removeObjectFromPage(cocos2d::CCObject*, int); - TodoReturn resetDisabledValues(); - void setMaxSliderValue(float, int); - void setMinSliderValue(float, int); - TodoReturn shouldLimitValue(int); - TodoReturn toggleBG(bool); - TodoReturn toggleCustomEaseRateVisibility(int, int); - TodoReturn toggleDisableButtons(bool); - TodoReturn toggleEaseRateVisibility(); - TodoReturn toggleLimitValue(int, bool); - TodoReturn togglePageArrows(bool); - TodoReturn triggerArrowChanged(int, bool); - TodoReturn triggerArrowLeft(cocos2d::CCObject*); - TodoReturn triggerArrowRight(cocos2d::CCObject*); - TodoReturn triggerSliderChanged(cocos2d::CCObject*); - TodoReturn updateCustomEaseLabel(int, int); - TodoReturn updateCustomEaseRateLabel(int, float); - TodoReturn updateCustomToggleTrigger(int, bool); - TodoReturn updateEaseLabel(); - TodoReturn updateEaseRateLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateInputNodeLabel(int, gd::string); - TodoReturn updateLabel(int, gd::string); - TodoReturn updateMultiTriggerBtn(); - TodoReturn updateSlider(int, float); - TodoReturn updateSlider(int); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTouchTriggered(); - TodoReturn updateValue(int, float); - TodoReturn updateValueControls(int, float); - TodoReturn valueChanged(int, float); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn pageChanged(); - virtual TodoReturn toggleGroup(int, bool); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomButton(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn updateToggleItem(int, bool); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); - - PAD = android32 0xac; -} - -[[link(android)]] -class SetupZoomTriggerPopup : SetupTriggerPopup { - // virtual ~SetupZoomTriggerPopup(); - - static SetupZoomTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SFXBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, SelectSFXSortDelegate { - // virtual ~SFXBrowser(); - - static SFXBrowser* create(int); - - bool init(int); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCredits(cocos2d::CCObject* sender); - void onExitFolder(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSorting(cocos2d::CCObject* sender); - void onToggleCompactMode(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - TodoReturn setupList(SFXSearchResult*); - TodoReturn trySetupSFXBrowser(); - TodoReturn updatePageLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class SFXBrowserDelegate { - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SFXFolderObject : SFXInfoObject { - // virtual ~SFXFolderObject(); - - static SFXFolderObject* create(int, gd::string, int); - - bool init(int, gd::string, int); -} - -[[link(android)]] -class SFXInfoObject : cocos2d::CCObject { - // virtual ~SFXInfoObject(); - - static SFXInfoObject* create(int, gd::string, int, int, int); - - TodoReturn getLowerCaseName(); - bool init(int, gd::string, int, int, int); -} - -[[link(android)]] -class SFXSearchResult : MusicSearchResult { - // virtual ~SFXSearchResult(); - - static SFXSearchResult* create(int); - - TodoReturn getActiveFolder(); - TodoReturn getSelectedPage(int, int); - bool init(int); - void setActiveFolder(SFXFolderObject*); - - virtual TodoReturn updateObjects(AudioSortType); -} - -[[link(android)]] -class SFXTriggerGameObject : EffectGameObject { - // virtual ~SFXTriggerGameObject(); - // SFXTriggerGameObject(); - - static SFXTriggerGameObject* create(char const*); - - TodoReturn getSFXRefID(); - TodoReturn getUniqueSFXID(); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderGameObject : EffectGameObject { - // virtual ~ShaderGameObject(); - - static ShaderGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customSetup(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderLayer : cocos2d::CCLayer { - // virtual ~ShaderLayer(); - - static ShaderLayer* create(); - - TodoReturn objectPosToShaderPos(cocos2d::CCPoint); - TodoReturn performCalculations() = win 0x380640; - TodoReturn preBulgeShader(); - TodoReturn preChromaticGlitchShader(); - TodoReturn preChromaticShader(); - TodoReturn preColorChangeShader(); - TodoReturn preCommonShader(); - TodoReturn preGlitchShader(); - TodoReturn preGrayscaleShader(); - TodoReturn preHueShiftShader(); - TodoReturn preInvertColorShader(); - TodoReturn preLensCircleShader(); - TodoReturn preMotionBlurShader(); - TodoReturn prepareTargetContainer(); - TodoReturn prePinchShader(); - TodoReturn prePixelateShader(); - TodoReturn preRadialBlurShader(); - TodoReturn preSepiaShader(); - TodoReturn preShockLineShader(); - TodoReturn preShockWaveShader(); - TodoReturn preSplitScreenShader(); - TodoReturn resetAllShaders(); - TodoReturn resetTargetContainer(); - TodoReturn setupBulgeShader(); - TodoReturn setupChromaticGlitchUniforms(); - TodoReturn setupChromaticUniforms(); - TodoReturn setupColorChangeShader(); - TodoReturn setupCommonUniforms(); - TodoReturn setupGlitchUniforms(); - TodoReturn setupGrayscaleShader(); - TodoReturn setupHueShiftShader(); - TodoReturn setupInvertColorShader(); - TodoReturn setupLensCircleShader(); - TodoReturn setupMotionBlurShader(); - TodoReturn setupPinchShader(); - TodoReturn setupRadialBlurShader(); - TodoReturn setupSepiaShader(); - TodoReturn setupShader(bool); - TodoReturn setupShockLineUniforms(); - TodoReturn setupShockWaveUniforms(); - TodoReturn setupSplitScreenShader(); - TodoReturn toggleAntiAlias(bool); - TodoReturn triggerBulge(float, float, float, float, float, int, int, float, bool); - TodoReturn triggerChromaticGlitch(bool, float, float, float, float, float, float, float, int, float, bool, bool); - TodoReturn triggerChromaticX(float, float, int, float, bool); - TodoReturn triggerChromaticY(float, float, int, float, bool); - TodoReturn triggerColorChange(float, float, float, float, float, float, float, int, float); - TodoReturn triggerGlitch(float, float, float, float, float, float, float, bool); - TodoReturn triggerGrayscale(float, float, bool, int, int, float); - TodoReturn triggerHueShift(float, float, int, float); - TodoReturn triggerInvertColor(float, float, float, float, float, bool, bool, bool, int, float); - TodoReturn triggerLensCircle(float, float, float, float, int, int, float, float, int, float, bool); - TodoReturn triggerMotionBlurX(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerMotionBlurY(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerPinchX(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPinchY(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPixelateX(float, float, bool, bool, int, float, bool); - TodoReturn triggerPixelateY(float, float, bool, bool, int, float, bool); - TodoReturn triggerRadialBlur(float, float, float, float, int, float, float, bool, int, int, float, bool); - TodoReturn triggerSepia(float, float, int, float); - TodoReturn triggerShockLine(float, float, bool, bool, bool, bool, float, float, float, float, float, float, int, bool, bool, bool, float, bool, float, int, float); - TodoReturn triggerShockWave(float, float, float, float, float, float, float, bool, float, float, float, int, bool, bool, bool, float, float, bool, float, int, float); - TodoReturn triggerSplitScreenCols(float, float, int, float); - TodoReturn triggerSplitScreenRows(float, float, int, float); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn tweenValueAuto(float, int, float, int, float); - TodoReturn updateEffectOffsets(cocos2d::CCPoint); - TodoReturn updateMotionBlurSpeedX(float, float); - TodoReturn updateMotionBlurSpeedY(float, float); - TodoReturn updateShockLineCenter(cocos2d::CCPoint); - TodoReturn updateShockWaveCenter(cocos2d::CCPoint); - TodoReturn updateZLayer(int, int, bool); - - virtual void update(float); - virtual bool init(); - virtual void visit() = win 0x380790; -} - -[[link(android)]] -class ShardsPage : FLAlertLayer { - // virtual ~ShardsPage(); - - static ShardsPage* create(); - - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ShareCommentDelegate { - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); -} - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - // virtual ~ShareCommentLayer(); - - static ShareCommentLayer* create(gd::string, int, CommentType, int, gd::string); - - bool init(gd::string, int, CommentType, int, gd::string); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPercent(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x384440; - TodoReturn updateCharCountLabel(); - TodoReturn updateDescText(gd::string); - TodoReturn updatePercentLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class ShareLevelLayer : FLAlertLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x385ea0; - TodoReturn selectRating(cocos2d::CCObject*); - TodoReturn setupStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer : FLAlertLayer, NumberInputDelegate { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*) = win 0x386ab0; - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - void onUnlistedFriendsOnly(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual void keyBackClicked(); - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class ShareListLayer : FLAlertLayer { - // virtual ~ShareListLayer(); - - static ShareListLayer* create(GJLevelList*); - - bool init(GJLevelList*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - TodoReturn updateUnlistedF(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SimpleObject : cocos2d::CCObject { - // virtual ~SimpleObject(); - - static SimpleObject* create(); - - bool init(); -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int) = win 0x1F2980; - - TodoReturn asyncLoadIcon(int, IconType); - TodoReturn createRobotSprite(int) = win 0x1f30c0; - TodoReturn createSpiderSprite(int) = win 0x1f3110; - inline void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - inline void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - TodoReturn hideAll(); - TodoReturn hideSecondary(); - TodoReturn iconFinishedLoading(int, IconType); - bool init(int) = win 0x1f2a20; - void setColors(cocos2d::ccColor3B const&, cocos2d::ccColor3B const&); - void setFrames(char const*, char const*, char const*, char const*, char const*) = win 0x1f38b0; - inline void setSecondColor(cocos2d::_ccColor3B const& color) { - m_secondLayer->setColor(color); - updateColors(); - } - TodoReturn updateColors() = win 0x1f31c0; - TodoReturn updatePlayerFrame(int, IconType) = win 0x1f34b0; - - virtual void setOpacity(unsigned char) = win 0x1f3a60; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x1f3190; - - inline void setGlowOutline(cocos2d::ccColor3B color) { - enableCustomGlowColor(color); - m_hasGlowOutline = true; - updateColors(); - } - - inline void disableGlowOutline() { - disableCustomGlowColor(); - m_hasGlowOutline = false; - updateColors(); - } - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; - PAD = win 0x7, android32 0x7, android64 0x7; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x4, android32 0x4, android64 0x8; -} - -[[link(android)]] -class SlideInLayer : cocos2d::CCLayerColor { - // virtual ~SlideInLayer(); - - static SlideInLayer* create(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = win 0x4d100; - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler) { - return Slider::create(target, handler, 1.f); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler, float idk) { - return Slider::create(target, handler, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", idk); - } - - TodoReturn disableSlider(); - TodoReturn disableTouch(); - TodoReturn enableSlider(); - TodoReturn getLiveDragging(); - SliderThumb* getThumb() { - return m_touchLogic->m_thumb; - } - TodoReturn getValue() = win 0x4d4c0; - TodoReturn hideGroove(bool); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - void setBarVisibility(bool); - void setLiveDragging(bool); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float val) { - this->getThumb()->setValue(val); - this->updateBar(); - } - TodoReturn sliderBegan(); - TodoReturn sliderEnded(); - TodoReturn updateBar() = win 0x4d560; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; - void* m_unknown; - void* m_unknown2; -} - -[[link(android)]] -class SliderDelegate { - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*) = win 0x4c8f0; - - float getValue() { - return (this->getScaleX() * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (this->getScaleX() * m_length); - } - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float) = win 0x4cbc0; - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - // virtual ~SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - void setMaxOffset(float); - void setRotated(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class SmartGameObject : GameObject { - // virtual ~SmartGameObject(); - - static SmartGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateSmartFrame(); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - - bool m_property157; - PAD = android32 0x9; -} - -[[link(android)]] -class SmartTemplateCell : TableViewCell { - // virtual ~SmartTemplateCell(); - SmartTemplateCell(char const*, float, float); - - void loadFromObject(GJSmartTemplate*) = win 0x8afa0; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x8b2a0; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongCell : TableViewCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - void loadFromObject(SongObject*) = win 0x82c20; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - // virtual ~SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - static SongInfoLayer* create(int); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - void onBPM(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender) = win 0x388d40; - void onNG(cocos2d::CCObject* sender); - void onPracticeMusic(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - TodoReturn showCustomMusicUnlockInfo() = win 0x388a40; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*); - static SongInfoObject* create(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - static SongInfoObject* create(int); - - TodoReturn addTags(gd::string); - TodoReturn containsTag(int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn getTagsString(); - bool init(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class SongObject : cocos2d::CCObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer : FLAlertLayer { - // virtual ~SongOptionsLayer(); - - static SongOptionsLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongPlaybackDelegate { - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SongSelectNode : cocos2d::CCNode, FLAlertLayerProtocol, CustomSongLayerDelegate, CustomSongDelegate { - // virtual ~SongSelectNode(); - - static SongSelectNode* create(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - bool init(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - void onOpenCustomSong(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - TodoReturn onSongMode(int); - TodoReturn selectSong(int); - TodoReturn showCustomSongSelect(); - TodoReturn updateAudioLabel(); - TodoReturn updateWidgetVisibility(); - - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn customSongLayerClosed(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class SongsLayer : GJDropDownLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class SongTriggerGameObject : SFXTriggerGameObject { - // virtual ~SongTriggerGameObject(); - - static SongTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnParticleGameObject : EffectGameObject { - // virtual ~SpawnParticleGameObject(); - - static SpawnParticleGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnTriggerAction { - bool isFinished(); - TodoReturn step(float); -} - -[[link(android)]] -class SpawnTriggerGameObject : EffectGameObject { - // virtual ~SpawnTriggerGameObject(); - - static SpawnTriggerGameObject* create(); - - TodoReturn addRemap(int, int); - TodoReturn changeRemap(int, int, bool); - TodoReturn removeRemap(int, int); - TodoReturn updateRemapKeys(gd::vector const&); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpecialAnimGameObject : EnhancedGameObject { - // virtual ~SpecialAnimGameObject(); - - static SpecialAnimGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class SpriteAnimationManager : cocos2d::CCNode { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn callAnimationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn offsetCurrentAnimation(float); - TodoReturn overridePrio() = win 0x4f7b0; - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string); - TodoReturn runQueuedAnimation(); - TodoReturn stopAnimations(); - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn switchToFirstFrameOfAnimation(gd::string); - TodoReturn updateAnimationSpeed(float); -} - -[[link(android)]] -class SpriteDescription : cocos2d::CCObject { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class SpritePartDelegate { - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class StartPosObject : EffectGameObject { - // virtual ~StartPosObject(); - - static StartPosObject* create() = win 0x3a4700; - - TodoReturn loadSettingsFromString(gd::string); - void setSettings(LevelSettingsObject*); - - virtual bool init() = win 0x3a47c0; - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - - int m_unknown; -} - -[[link(android)]] -class StatsCell : TableViewCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - void loadFromObject(StatsObject*) = win 0x821a0; - TodoReturn updateBGColor(int) = win 0x7d4d0; - - virtual bool init(); - virtual void draw() = win 0x7d520; -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class StatsObject : cocos2d::CCObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int); - - bool init(char const*, int); -} - -[[link(android)]] -class SupportLayer : GJDropDownLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate { - // virtual ~SupportLayer(); - - static SupportLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onGetReward(cocos2d::CCObject* sender); - void onLinks(cocos2d::CCObject* sender) = win 0x3b9d60; - void onLowDetail(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onSFX(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - TodoReturn sendSupportMail(); - - virtual TodoReturn customSetup(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android), depends(CCIndexPath)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, TableViewCellDelegate*, cocos2d::CCRect); - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*); - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - TodoReturn reloadData() = win 0x50740; - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual void onEnter(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void scrollWheel(float, float) = win 0x50fa0; - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - TableViewCellDelegate* m_cellDelegate; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[link(android), depends(CCIndexPath)]] -class TableViewCell : cocos2d::CCLayer { - // virtual ~TableViewCell(); - TableViewCell(char const*, float, float) = win 0x51d80; - - TodoReturn updateVisibility(); - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - void* m_unknown2; - void* m_unknown3; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; - BoomListType m_listType; -} - -[[link(android)]] -class TableViewCellDelegate { - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TeleportPortalObject : RingObject { - // virtual ~TeleportPortalObject(); - - static TeleportPortalObject* create(char const*, bool) = win 0x3a4900; - - TodoReturn getTeleportXOff(cocos2d::CCNode*); - bool init(char const*, bool); - void setPositionOverride(cocos2d::CCPoint); - void setStartPosOverride(cocos2d::CCPoint); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual void setRotation2(float); - virtual TodoReturn addToGroup2(int); - virtual TodoReturn removeFromGroup2(int); - - void* m_unknown; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - // property 55 - bool m_teleportEase; - // property 345 - bool m_staticForceEnabled; - // property 346 - int m_staticForce; - // property 347 - bool m_redirectForceEnabled; - // property 350 - float m_redirectForceMod; - // property 348 - float m_redirectForceMin; - // property 349 - float m_redirectForceMax; - // property 351 - bool m_saveOffset; - // property 352 - bool m_ignoreX; - // property 353 - bool m_ignoreY; - // property 354 - int m_gravityMode; - // property 443 - bool m_property443; - // property 464 - bool m_property464; - // property 510 - bool m_property510; - // property 591 - bool m_property591; -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - // virtual ~TextAlertPopup(); - - static TextAlertPopup* create(gd::string, float, float, int, gd::string); - - bool init(gd::string, float, float, int, gd::string); - void setAlertPosition(cocos2d::CCPoint, cocos2d::CCPoint); - void setLabelColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - // virtual ~TextArea(); - - static TextArea* create(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = win 0x52240; - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B); - TodoReturn colorAllLabels(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeInCharacters(float, float); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn hideAll(); - bool init(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = win 0x52340; - void setIgnoreColorCode(bool); - void setString(gd::string) = win 0x52450; - TodoReturn showAll(); - TodoReturn stopAllCharacterActions(); - - virtual void update(float); - virtual void draw(); - virtual void setOpacity(unsigned char); - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c - PAD = win 0x4; - cocos2d::CCPoint m_anchorPoint; -} - -[[link(android)]] -class TextAreaDelegate { - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class TextGameObject : GameObject { - // virtual ~TextGameObject(); - - static TextGameObject* create(cocos2d::CCTexture2D*); - - bool init(cocos2d::CCTexture2D*); - TodoReturn updateTextObject(gd::string, bool); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - char* m_text; - // property 488 - int m_kerning; -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) { return true; } - virtual void enterPressed(CCTextInputNode*) {} -} - -[[link(android)]] -class TextStyleSection : cocos2d::CCObject { - // virtual ~TextStyleSection(); - - static TextStyleSection* create(int, int, TextStyleType); - - TodoReturn createColoredSection(cocos2d::ccColor3B, int, int); - TodoReturn createDelaySection(int, float); - TodoReturn createInstantSection(int, int, float); - TodoReturn createShakeSection(int, int, int, int); - bool init(int, int, TextStyleType); -} - -[[link(android)]] -class TimerTriggerGameObject : EffectGameObject { - // virtual ~TimerTriggerGameObject(); - - static TimerTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer, OnlineListDelegate { - // virtual ~TopArtistsLayer(); - - static TopArtistsLayer* create(); - - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLeaderboard(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn loadListFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadListFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class TOSPopup : FLAlertLayer { - // virtual ~TOSPopup(); - - static TOSPopup* create(); - - void onClose(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - - virtual bool init() = win 0x210de0; - virtual void keyBackClicked(); -} - -[[link(android)]] -class TransformTriggerGameObject : EffectGameObject { - // virtual ~TransformTriggerGameObject(); - - static TransformTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerControlGameObject : EffectGameObject { - // virtual ~TriggerControlGameObject(); - - static TriggerControlGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateTriggerControlFrame(); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual TodoReturn pure_virtual_00a1b9c0() {} // TODO: figure out what function this is - virtual TodoReturn pure_virtual_00a1b9c4() {} // TODO: figure out what function this is - virtual TodoReturn pure_virtual_00a1b9c8() {} // TODO: figure out what function this is -} - -[[link(android)]] -class TutorialLayer : FLAlertLayer { - // virtual ~TutorialLayer(); - - static TutorialLayer* create(); - - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class TutorialPopup : FLAlertLayer { - // virtual ~TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class UIButtonConfig { - TodoReturn reset(); - TodoReturn resetOneBtn(); - - PAD = win 0x28, android32 0x28, android64 0x28; -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor, cocos2d::CCKeyboardDelegate { - // virtual ~UILayer(); - - static UILayer* create(GJBaseGameLayer*); - - TodoReturn disableMenu(); - TodoReturn editorPlaytest(bool); - TodoReturn enableEditorMode(); - TodoReturn enableMenu(); - TodoReturn handleKeypress(cocos2d::enumKeyCodes, bool); - bool init(GJBaseGameLayer*); - bool isJumpButtonPressed(bool); - void onCheck(cocos2d::CCObject* sender); - void onDeleteCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0x3bc870; - TodoReturn processUINodesTouch(GJUITouchEvent, cocos2d::CCTouch*); - TodoReturn processUINodeTouch(GJUITouchEvent, int, cocos2d::CCPoint, GJUINode*); - TodoReturn refreshDpad(); - TodoReturn resetAllButtons() = win 0x3bc990; - TodoReturn resetUINodeState() = win 0x3bc260; - TodoReturn toggleCheckpointsMenu(bool); - TodoReturn toggleMenuVisibility(bool) = win 0x3bc940; - TodoReturn togglePlatformerMode(bool); - TodoReturn updateDualMode(bool); - TodoReturn updateUINodeVisibility(bool); - - virtual void draw() = win 0x3bdcc0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class UIObjectSettingsPopup : SetupTriggerPopup { - // virtual ~UIObjectSettingsPopup(); - - static UIObjectSettingsPopup* create(UISettingsGameObject*, cocos2d::CCArray*); - - bool init(UISettingsGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UIOptionsLayer : SetupTriggerPopup { - // virtual ~UIOptionsLayer(); - - static UIOptionsLayer* create(bool); - - TodoReturn getNode(int); - bool init(bool); - void onReset(cocos2d::CCObject* sender); - void onSaveLoad(cocos2d::CCObject* sender); - TodoReturn toggleUIGroup(int); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); -} - -[[link(android)]] -class UISaveLoadLayer : SetupTriggerPopup { - // virtual ~UISaveLoadLayer(); - - static UISaveLoadLayer* create(UIOptionsLayer*); - - bool init(UIOptionsLayer*); - void onLoad(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UISettingsGameObject : EffectGameObject { - // virtual ~UISettingsGameObject(); - - static UISettingsGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - // virtual ~UndoObject(); - // UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand); - - TodoReturn createWithArray(cocos2d::CCArray*, UndoCommand); - TodoReturn createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - void setObjects(cocos2d::CCArray*); - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - -[[link(android)]] -class UpdateAccountSettingsPopup : FLAlertLayer, GJAccountSettingsDelegate { - // virtual ~UpdateAccountSettingsPopup(); - - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - - bool init(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class UploadActionDelegate { - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - // virtual ~UploadActionPopup(); - - static UploadActionPopup* create(UploadPopupDelegate*, gd::string) = win 0x209730; - - TodoReturn closePopup(); - bool init(UploadPopupDelegate*, gd::string) = win 0x209800; - void onClose(cocos2d::CCObject* sender); - void showFailMessage(gd::string) = win 0x209ce0; - void showSuccessMessage(gd::string) = win 0x209be0; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class UploadListPopup : FLAlertLayer, ListUploadDelegate { - // virtual ~UploadListPopup(); - - static UploadListPopup* create(GJLevelList*); - - bool init(GJLevelList*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToList(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class UploadMessageDelegate { - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); -} - -[[link(android)]] -class UploadPopup : FLAlertLayer, LevelUploadDelegate { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class UploadPopupDelegate { - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class URLCell : TableViewCell { - // virtual ~URLCell(); - URLCell(char const*, float, float); - - void loadFromObject(CCURLObject*) = win 0x8c9d0; - void onURL(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class URLViewLayer : GJDropDownLayer { - // virtual ~URLViewLayer(); - - static URLViewLayer* create(gd::string, cocos2d::CCArray*); - - bool init(gd::string, cocos2d::CCArray*); -} - -[[link(android)]] -class UserInfoDelegate { - virtual TodoReturn getUserInfoFinished(GJUserScore*); - virtual TodoReturn getUserInfoFailed(int); - virtual TodoReturn userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UserListDelegate { - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool) = win 0x2b3990; - void onAdvanced(cocos2d::CCObject* sender) = win 0x2b34c0; - void onApply(cocos2d::CCObject* sender) = win 0x2b3790; - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn reloadMenu(); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int) = win 0x2b35e0; - TodoReturn updateTextureQuality(int) = win 0x2b3520; - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class WorldLevelPage : FLAlertLayer { - // virtual ~WorldLevelPage(); - - static WorldLevelPage* create(GJGameLevel*, GJWorldNode*); - - bool init(GJGameLevel*, GJWorldNode*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class WorldSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate { - // virtual ~WorldSelectLayer(); - - static WorldSelectLayer* create(int); - - TodoReturn animateInActiveIsland(); - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - TodoReturn goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn setupWorlds(); - TodoReturn showCompleteDialog(); - TodoReturn tryShowAd(); - TodoReturn unblockButtons(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} diff --git a/bindings/bindings/2.203/Cocos2d.bro b/bindings/bindings/2.203/Cocos2d.bro deleted file mode 100644 index 13fb41e..0000000 --- a/bindings/bindings/2.203/Cocos2d.bro +++ /dev/null @@ -1,893 +0,0 @@ -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&); - virtual gd::string getNewFilename(char const*); - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2(); - virtual bool init(); - virtual bool isAbsolutePath(gd::string const&); - virtual bool isPopupNotify(); - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool); - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils(); - virtual bool shouldUseHD(); - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create(); - static void resetGlobalOrderOfArrival(); - - // CCNode(cocos2d::CCNode const&); - CCNode(); - ~CCNode(); - - cocos2d::CCAction* getActionByTag(int); - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - cocos2d::CCRect boundingBox(); - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions(); - void pauseSchedulerAndActions(); - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions(); - cocos2d::CCAction* runAction(cocos2d::CCAction*); - void schedule(cocos2d::SEL_SCHEDULE); - void schedule(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float); - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void scheduleUpdateWithPriorityLua(int, int); - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - void stopAllActions(); - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void unscheduleUpdate(); - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const; - virtual cocos2d::CCSize const& getContentSize() const; - virtual void update(float); - virtual bool init(); - virtual void setZOrder(int); - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getAnchorPoint(); - virtual cocos2d::CCPoint const& getAnchorPointInPoints(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual cocos2d::CCSize getScaledContentSize(); - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual void setParent(cocos2d::CCNode*); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast(); - virtual cocos2d::CCAffineTransform const parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(char const*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); - virtual void updateTweenActionInt(float, int); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*); - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create(); - - // CCLayer(cocos2d::CCLayer const&); - CCLayer(); - ~CCLayer(); - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); - - virtual void keyBackClicked(); - virtual void keyMenuClicked(); - - virtual void keyDown(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*); - - // CCObject(cocos2d::CCObject const&); - CCObject(); - ~CCObject(); - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - cocos2d::CCObject* autorelease(); - cocos2d::CCObject* copy(); - bool isSingleReference() const; - void release(); - void retain(); - unsigned int retainCount() const; - - virtual int getTag() const; - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); - virtual void update(float); - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual void setTag(int); -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&); - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float); - static cocos2d::CCLayerColor* create(); - - // CCLayerColor(cocos2d::CCLayerColor const&); - CCLayerColor(); - ~CCLayerColor(); - - void setVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - - void addToVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void changeHeight(float); - void changeWidth(float); - void changeWidthAndHeight(float, float); - - virtual bool init(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual void draw(); - virtual bool initWithColor(cocos2d::_ccColor4B const&, float, float); - virtual bool initWithColor(cocos2d::_ccColor4B const&); - virtual void updateColor(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - CCLayerRGBA(); - ~CCLayerRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float); - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init(); - - int getTargetPrio() const; - - void setDispatchEvents(bool); - void setPriority(int, cocos2d::CCTouchDelegate*); - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void addStandardDelegate(cocos2d::CCTouchDelegate*, int); - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*); - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*); - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*); - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio(); - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int); - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*); - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int); - void unregisterForcePrio(cocos2d::CCObject*); - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); -} - -[[link(win)]] -class cocos2d::CCEGLView { - // CCEGLView(); - // CCEGLView(cocos2d::CCEGLView const&); - virtual void swapBuffers(); - // rest are in extras -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static cocos2d::CCIMEDispatcher* sharedDispatcher(); - - // CCIMEDispatcher(); - - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool); - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes); - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCDirector { - static cocos2d::CCDirector* sharedDirector(); - - float getActualDeltaTime() const; - double getAnimationInterval(); - float getContentScaleFactor(); - cocos2d::CCDirectorDelegate* getDelegate() const; - bool getDontCallWillSwitch() const; - void getFPSImageData(unsigned char**, unsigned int*); - bool getIsTransitioning() const; - cocos2d::TextureQuality getLoadedTextureQuality() const; - cocos2d::CCScene* getNextScene(); - cocos2d::CCNode* getNotificationNode(); - cocos2d::CCEGLView* getOpenGLView(); - cocos2d::ccDirectorProjection getProjection(); - cocos2d::CCScene* getRunningScene(); - cocos2d::CCScene* getSceneReference() const; - float getScreenBottom(); - float getScreenLeft(); - float getScreenRight(); - float getScreenScaleFactor(); - float getScreenScaleFactorH(); - float getScreenScaleFactorMax(); - float getScreenScaleFactorW(); - float getScreenTop(); - float getSecondsPerFrame(); - bool getSmoothFix() const; - bool getSmoothFixCheck() const; - int getSmoothFixCounter() const; - unsigned int getTotalFrames(); - cocos2d::CCPoint getVisibleOrigin(); - cocos2d::CCSize getVisibleSize(); - cocos2d::CCSize getWinSize(); - cocos2d::CCSize getWinSizeInPixels(); - float getZEye(); - - void setActualDeltaTime(float); - void setAlphaBlending(bool); - void setContentScaleFactor(float); - void setDefaultValues(); - void setDelegate(cocos2d::CCDirectorDelegate*); - void setDeltaTime(float); - void setDepthTest(bool); - void setDisplayStats(bool); - void setDontCallWillSwitch(bool); - void setGLDefaultValues(); - void setNextDeltaTimeZero(bool); - void setNextScene(); - void setNotificationNode(cocos2d::CCNode*); - void setOpenGLView(cocos2d::CCEGLView*); - void setProjection(cocos2d::ccDirectorProjection); - void setSceneReference(cocos2d::CCScene*); - void setSmoothFix(bool); - void setSmoothFixCheck(bool); - void setViewport(); - - // CCDirector(cocos2d::CCDirector const&); - // CCDirector(); - void applySmoothFix(); - void calculateDeltaTime(); - void calculateMPF(); - void checkSceneReference(); - cocos2d::CCPoint convertToGL(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToUI(cocos2d::CCPoint const&); - void createStatsLabel(); - void drawScene(); - void end(); - bool isDisplayStats(); - bool isNextDeltaTimeZero(); - bool isPaused(); - bool isSendCleanupToScene(); - int levelForSceneInStack(cocos2d::CCScene*); - void pause(); - void popScene(); - bool popSceneWithTransition(float, cocos2d::PopTransition); - void popToRootScene(); - void popToSceneInStack(cocos2d::CCScene*); - void popToSceneStackLevel(int); - void purgeCachedData(); - void purgeDirector(); - bool pushScene(cocos2d::CCScene*); - void removeStatsLabel(); - bool replaceScene(cocos2d::CCScene*); - void resetSmoothFixCounter(); - void reshapeProjection(cocos2d::CCSize const&); - void resume(); - void runWithScene(cocos2d::CCScene*); - int sceneCount(); - void setupScreenScale(cocos2d::CCSize, cocos2d::CCSize, cocos2d::TextureQuality); - void showFPSLabel(); - void showStats(); - void toggleShowFPS(bool, gd::string, cocos2d::CCPoint); - void updateContentScale(cocos2d::TextureQuality); - void updateScreenScale(cocos2d::CCSize); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCTouchDispatcher* getTouchDispatcher(); - virtual void setTouchDispatcher(cocos2d::CCTouchDispatcher*); - virtual cocos2d::CCKeypadDispatcher* getKeypadDispatcher(); - virtual void setKeypadDispatcher(cocos2d::CCKeypadDispatcher*); - virtual cocos2d::CCKeyboardDispatcher* getKeyboardDispatcher(); - virtual void setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*); - virtual cocos2d::CCMouseDispatcher* getMouseDispatcher(); - virtual void setMouseDispatcher(cocos2d::CCMouseDispatcher*); - virtual cocos2d::CCAccelerometer* getAccelerometer(); - virtual void setAccelerometer(cocos2d::CCAccelerometer*); - virtual float getDeltaTime(); - virtual void setSceneDelegate(cocos2d::CCSceneDelegate*); - virtual cocos2d::CCSceneDelegate* getSceneDelegate() const; -} - - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - static cocos2d::CCNodeRGBA* create(); - - // CCNodeRGBA(cocos2d::CCNodeRGBA const&); - CCNodeRGBA(); - ~CCNodeRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - - -[[link(win, android)]] -class cocos2d::CCSprite { - static cocos2d::CCSprite* create(char const*); - static cocos2d::CCSprite* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSprite* create(); - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static cocos2d::CCSprite* createWithSpriteFrameName(char const*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - unsigned int getAtlasIndex(); - float getBlVertexMod() const; - float getBrVertexMod() const; - bool getDontDraw() const; - cocos2d::CCPoint const& getOffsetPosition(); - cocos2d::_ccV3F_C4B_T2F_Quad getQuad(); - cocos2d::CCTextureAtlas* getTextureAtlas(); - cocos2d::CCRect const& getTextureRect(); - float getTlVertexMod() const; - float getTrVertexMod() const; - cocos2d::CCPoint const& getUnflippedOffsetPosition(); - bool getUseVertexMod() const; - - void setAtlasIndex(unsigned int); - void setBlVertexMod(float); - void setBrVertexMod(float); - void setDontDraw(bool); - void setFlipX(bool); - void setFlipY(bool); - void setTextureAtlas(cocos2d::CCTextureAtlas*); - void setTlVertexMod(float); - void setTrVertexMod(float); - void setUseVertexMod(bool); - - // CCSprite(cocos2d::CCSprite const&); - CCSprite(); - ~CCSprite(); - bool isFlipX(); - bool isFlipY(); - bool isTextureRectRotated(); - void updateColor(); - - virtual bool init(); - virtual void setVertexZ(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setSkewX(float); - virtual void setSkewY(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void ignoreAnchorPointForPosition(bool); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual void draw(); - virtual void updateTransform(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(char const*); - virtual bool initWithFile(char const*); - virtual bool initWithFile(char const*, cocos2d::CCRect const&); - virtual void setChildColor(cocos2d::_ccColor3B const&); - virtual void setChildOpacity(unsigned char); - virtual cocos2d::CCSpriteBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCSpriteBatchNode*); - virtual void refreshTextureRect(); - virtual void setTextureRect(cocos2d::CCRect const&); - virtual void setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&); - virtual void setVertexRect(cocos2d::CCRect const&); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); - virtual void setDisplayFrameWithAnimationName(char const*, int); - virtual bool isDirty(); - virtual void setDirty(bool); - virtual void setTextureCoords(cocos2d::CCRect const&); - virtual void updateBlendFunc(); - virtual void setReorderChildDirtyRecursively(); - virtual void setDirtyRecursively(bool); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual void updateDisplayedOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - static cocos2d::CCLabelBMFont* create(char const*, char const*); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - static cocos2d::CCLabelBMFont* create(); - static cocos2d::CCLabelBMFont* createBatched(char const*, char const*, cocos2d::CCArray*, int); - static void purgeCachedData(); - - bool initWithString(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - - cocos2d::CCBMFontConfiguration* getConfiguration() const; - int getExtraKerning() const; - char const* getFntFile(); - bool getIsBatched() const; - float getLetterPosXLeft(cocos2d::CCSprite*, float, bool); - float getLetterPosXRight(cocos2d::CCSprite*, float, bool); - cocos2d::CCArray* getTargetArray() const; - - void setExtraKerning(int); - void setFntFile(char const*); - void setIsBatched(bool); - void setTargetArray(cocos2d::CCArray*); - void createFontChars(); - int kerningAmountForFirst(unsigned short, unsigned short); - void limitLabelWidth(float, float, float); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setString(char const*, bool); - virtual void setCString(char const*); - virtual void updateLabel(); - virtual void setAlignment(cocos2d::CCTextAlignment); - virtual void setWidth(float); - virtual void setLineBreakWithoutSpace(bool); - virtual void setString(unsigned short*, bool); - - virtual void setString(char const*); - virtual char const* getString(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCApplication { - virtual void gameDidSave(); - virtual void openURL(char const*); -} - -[[link(win, android)]] -class cocos2d::CCArray { - // static cocos2d::CCArray* create(cocos2d::CCObject*, ...); - static cocos2d::CCArray* create(); - static cocos2d::CCArray* createWithArray(cocos2d::CCArray*); - static cocos2d::CCArray* createWithCapacity(unsigned int); - static cocos2d::CCArray* createWithContentsOfFile(char const*); - static cocos2d::CCArray* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCArray* createWithObject(cocos2d::CCObject*); - - bool init(); - bool initWithArray(cocos2d::CCArray*); - bool initWithCapacity(unsigned int); - bool initWithObject(cocos2d::CCObject*); - // bool initWithObjects(cocos2d::CCObject*, ...); - - // CCArray(cocos2d::CCArray const&); - // CCArray(unsigned int); - // CCArray(); - void addObject(cocos2d::CCObject*); - void addObjectNew(cocos2d::CCObject*); - void addObjectsFromArray(cocos2d::CCArray*); - unsigned int capacity() const; - bool containsObject(cocos2d::CCObject*) const; - unsigned int count() const; - void exchangeObject(cocos2d::CCObject*, cocos2d::CCObject*); - void exchangeObjectAtIndex(unsigned int, unsigned int); - void fastRemoveObject(cocos2d::CCObject*); - void fastRemoveObjectAtIndex(unsigned int); - void fastRemoveObjectAtIndexChild(unsigned int); - void fastRemoveObjectAtIndexNew(unsigned int); - unsigned int indexOfObject(cocos2d::CCObject*) const; - void insertObject(cocos2d::CCObject*, unsigned int); - bool isEqualToArray(cocos2d::CCArray*); - cocos2d::CCObject* lastObject(); - cocos2d::CCObject* objectAtIndex(unsigned int); - cocos2d::CCObject* randomObject(); - void recreateNewIndexes(); - void reduceMemoryFootprint(); - void removeAllObjects(); - void removeLastObject(bool); - void removeObject(cocos2d::CCObject*, bool); - void removeObjectAtIndex(unsigned int, bool); - void removeObjectAtIndexChild(unsigned int, bool); - void removeObjectsInArray(cocos2d::CCArray*); - void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool); - void reverseObjects(); - cocos2d::CCString* stringAtIndex(unsigned int); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create(); - static cocos2d::CCDictionary* createWithContentsOfFile(char const*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - - gd::string getFirstKey(); - - void setObject(cocos2d::CCObject*, gd::string const&); - void setObject(cocos2d::CCObject*, int); - void setObjectUnSafe(cocos2d::CCObject*, gd::string const&); - void setObjectUnSafe(cocos2d::CCObject*, int); - - // CCDictionary(cocos2d::CCDictionary const&); - // CCDictionary(); - cocos2d::CCArray* allKeys(); - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - char const* charForKey(gd::string const&); - unsigned int count(); - cocos2d::CCObject* objectForKey(gd::string const&); - cocos2d::CCObject* objectForKey(int); - cocos2d::CCObject* randomObject(); - void removeAllObjects(); - void removeObjectForElememt(cocos2d::CCDictElement*); - void removeObjectForKey(gd::string const&); - void removeObjectForKey(int); - void removeObjectsForKeys(cocos2d::CCArray*); - cocos2d::CCString const* valueForKey(gd::string const&); - cocos2d::CCString const* valueForKey(int); - bool writeToFile(char const*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} \ No newline at end of file diff --git a/bindings/bindings/2.203/Entry.bro b/bindings/bindings/2.203/Entry.bro deleted file mode 100644 index dbaca38..0000000 --- a/bindings/bindings/2.203/Entry.bro +++ /dev/null @@ -1,3 +0,0 @@ -#include -#include -#include diff --git a/bindings/bindings/2.203/Extras.bro b/bindings/bindings/2.203/Extras.bro deleted file mode 100644 index fff40ee..0000000 --- a/bindings/bindings/2.203/Extras.bro +++ /dev/null @@ -1,38 +0,0 @@ -class PlayerButtonCommand { - PlayerButton m_button; - bool m_isPush; - bool m_isPlayer2; - PAD = win 0x6, android32 0x6; -} - -class FMODSound { - -} - -class AdvancedFollowInstance { - -} - -class SFXTriggerInstance { - -} - -class ChanceObject { - -} - -class GameObjectPhysics { - -} - -class DynamicObjectAction { - -} - -class GJTransformState { - -} - -class CAState { - -} \ No newline at end of file diff --git a/bindings/bindings/2.203/GeometryDash.bro b/bindings/bindings/2.203/GeometryDash.bro deleted file mode 100644 index 510dc3e..0000000 --- a/bindings/bindings/2.203/GeometryDash.bro +++ /dev/null @@ -1,14512 +0,0 @@ -// clang-format off - -[[link(android)]] -class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtocol { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create(); - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual TodoReturn customSetup(); - virtual TodoReturn layerHidden(); - virtual TodoReturn accountStatusChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate, GJAccountSyncDelegate, FLAlertLayerProtocol { - // virtual ~AccountLayer(); - - static AccountLayer* create() = win 0x573e0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup() = win 0x57dc0; - TodoReturn doSync() = win 0x57f20; - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender) = win 0x57c70; - void onHelp(cocos2d::CCObject* sender) = win 0x57f90; - void onLogin(cocos2d::CCObject* sender) = win 0x57c20; - void onMore(cocos2d::CCObject* sender) = win 0x58010; - void onRegister(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender) = win 0x57e30; - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(bool) = win 0x58060; - - virtual TodoReturn customSetup() = win 0x575c0; - virtual TodoReturn layerHidden() = win 0x589b0; - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); - virtual TodoReturn accountStatusChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegate, FLAlertLayerProtocol { - // virtual ~AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string); - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - void onForgotPassword(cocos2d::CCObject* sender); - void onForgotUser(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class AccountRegisterLayer : FLAlertLayer, TextInputDelegate, GJAccountRegisterDelegate, FLAlertLayerProtocol { - // virtual ~AccountRegisterLayer(); - - static AccountRegisterLayer* create(); - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - TodoReturn showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual bool allowTextInput(CCTextInputNode*); - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const*, char const*, char const*, bool) = win 0x59720; - - bool init(char const*, char const*, char const*, bool) = win 0x59800; - TodoReturn show(); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class AchievementCell : TableViewCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - void loadFromDict(cocos2d::CCDictionary*) = win 0x7c6d0; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn addAchievement(gd::string, gd::string, gd::string, gd::string, gd::string, int) = win 0x9bc0; - TodoReturn addManualAchievements() = win 0xf74a; - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAchievementRewardDict(); - TodoReturn getAchievementsWithID(char const*); - TodoReturn getAllAchievements(); - TodoReturn getAllAchievementsSorted(bool); - bool isAchievementAvailable(gd::string); - bool isAchievementEarned(char const*); - TodoReturn limitForAchievement(gd::string); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn percentageForCount(int, int); - TodoReturn percentForAchievement(char const*); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPlatformAchievementWithID(char const*, int); - TodoReturn resetAchievement(char const*); - TodoReturn resetAchievements(); - TodoReturn setup(); - TodoReturn storeAchievementUnlocks(); - - virtual bool init(); -} - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState(); - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const*, char const*, char const*, bool); - TodoReturn showNextAchievement(); - TodoReturn willSwitchToScene(cocos2d::CCScene*) = win 0x1c200; - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - // virtual ~AchievementsLayer(); - - static AchievementsLayer* create(); - - TodoReturn loadPage(int); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupPageInfo(int, int, int); - - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn cacheRewardedVideo(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn enableBannerNoRefresh(); - TodoReturn hasCachedInterstitial(); - TodoReturn hasCachedRewardedVideo(); - bool isShowingAd(); - TodoReturn queueRefreshBanner(); - TodoReturn setupAds(); - TodoReturn showDebug(); - TodoReturn showInterstitial(); - TodoReturn showRewardedVideo(); -} - -[[link(android)]] -class AdvancedFollowEditObject : AdvancedFollowTriggerObject { - // virtual ~AdvancedFollowEditObject(); - - static AdvancedFollowEditObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvancedFollowTriggerObject : EffectGameObject { - // virtual ~AdvancedFollowTriggerObject(); - // AdvancedFollowTriggerObject(); - - static AdvancedFollowTriggerObject* create(char const*); - - TodoReturn getAdvancedFollowID(); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvFollowSetup { - // ~AdvFollowSetup(); -} - -[[link(android)]] -class AnimatedGameObject : EnhancedGameObject, AnimatedSpriteDelegate, SpritePartDelegate { - // virtual ~AnimatedGameObject(); - - static AnimatedGameObject* create(int); - - TodoReturn animationForID(int, int); - TodoReturn getTweenTime(int, int); - bool init(int); - TodoReturn playAnimation(int); - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn updateChildSpriteColor(cocos2d::ccColor3B); - TodoReturn updateObjectAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual TodoReturn resetObject(); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - // virtual ~AnimatedShopKeeper(); - - static AnimatedShopKeeper* create(ShopType); - - bool init(ShopType); - TodoReturn playReactAnimation(); - TodoReturn startAnimating(); - - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual TodoReturn animationFinished(char const*); -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - // virtual ~AppDelegate(); - inline static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - - TodoReturn bgScale(); - TodoReturn checkSound(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest() = win 0x5b700; - TodoReturn pauseGame() = win 0x5b5d0; - TodoReturn pauseSound(); - TodoReturn platformShutdown(); - TodoReturn resumeSound() = win 0x5b6b0; - void setIdleTimerDisabled(bool); - TodoReturn setupGLView(); - TodoReturn showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching() = win 0x5b310; - virtual void applicationDidEnterBackground() = win 0x5b4e0; - virtual void applicationWillEnterForeground() = win 0x5b520; - virtual void applicationWillBecomeActive() = win 0x5b4c0; - virtual void applicationWillResignActive(); - virtual void trySaveGame(bool) = win 0x5b780; - virtual TodoReturn willSwitchToScene(cocos2d::CCScene*) = win 0x5b920; - - PAD = win 0xC, android32 0xC, android64 0x18; - cocos2d::CCScene* m_runningScene; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - // virtual ~ArtistCell(); - ArtistCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83e40; - void onNewgrounds(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x80db0; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ArtTriggerGameObject : EffectGameObject { - // virtual ~ArtTriggerGameObject(); - - static ArtTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string); - - TodoReturn audioStep(float) = win 0x5bea0; - TodoReturn getBGSquare(); - TodoReturn goingDown(); - bool init(gd::string); - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float) = win 0x5bf40; - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class AudioLineGuideGameObject : EffectGameObject { - // virtual ~AudioLineGuideGameObject(); - - static AudioLineGuideGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class BitmapFontCache : cocos2d::CCObject { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown : cocos2d::CCNode { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - bool init(gd::string, int); - TodoReturn show(); -} - -[[link(android)]] -class BoomListLayer : cocos2d::CCLayerColor { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - static BoomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float); - - TodoReturn addObjectToList(cocos2d::CCNode*); - bool init(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x1d400; - TodoReturn lockList(bool); - - bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, nullptr, height, width, 0, type, 0.0f); - } - - virtual void draw() {} - virtual TodoReturn setupList(float) = win 0x1d5c0; - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d650; - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned int, TableView*) = win 0x1d660; - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 1; } - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d670; - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(char const*) = win 0x1d6d0; - virtual TodoReturn loadCell(TableViewCell*, int) = win 0x1d7b0; - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; - bool m_locked; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool); - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getPage(int); - TodoReturn getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getTotalPages(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn instantMoveToPage(int); - TodoReturn moveToPage(int); - TodoReturn moveToPageEnded(); - TodoReturn pageNumberForPosition(cocos2d::CCPoint); - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - TodoReturn repositionPagesLooped(); - TodoReturn selectPage(int); - void setDotScale(float); - void setPagesIndicatorPosition(cocos2d::CCPoint); - TodoReturn setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*); - TodoReturn togglePageIndicators(bool); - TodoReturn updateDots(float); - TodoReturn updatePages(); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual TodoReturn scrollLayerScrollingStarted(BoomScrollLayer*); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); -} - -[[link(android)]] -class BrowseSmartKeyLayer : BrowseSmartTemplateLayer { - // virtual ~BrowseSmartKeyLayer(); - - static BrowseSmartKeyLayer* create(GJSmartTemplate*, gd::string); - - TodoReturn addChanceToSelected(int, bool); - TodoReturn createTemplateObjects(); - TodoReturn deletedSelectedItems(); - TodoReturn getAllSelectedBlocks(); - bool init(GJSmartTemplate*, gd::string); - void onButton(cocos2d::CCObject* sender); - void onPrefabObject(cocos2d::CCObject* sender); - TodoReturn updateChanceValues(); - - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class BrowseSmartTemplateLayer : FLAlertLayer { - // virtual ~BrowseSmartTemplateLayer(); - - static BrowseSmartTemplateLayer* create(GJSmartTemplate*, SmartBrowseFilter); - - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addPrefabMenuItem(SmartPrefabResult, int); - TodoReturn baseSetup(); - TodoReturn createDots(); - TodoReturn createPrefab(gd::string, int); - TodoReturn goToPage(int); - bool init(GJSmartTemplate*, SmartBrowseFilter); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onTemplateObject(cocos2d::CCObject* sender); - TodoReturn updateDots(); - - virtual void keyBackClicked(); - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ButtonPage : cocos2d::CCLayer { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - // virtual ~ButtonSprite(); - // ButtonSprite(); - - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1feb0; - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool) = win 0x1fb90; - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*); - - bool init(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1ff80; - bool init(cocos2d::CCSprite*, int, int, float, float, bool, char const*, bool); - void setColor(cocos2d::ccColor3B) = win 0x20b20; - void setString(char const*) = win 0x20770; - TodoReturn updateBGImage(char const*) = win 0x20230; - TodoReturn updateSpriteBGSize(); - TodoReturn updateSpriteOffset(cocos2d::CCPoint); -} - -[[link(android)]] -class CameraTriggerGameObject : EffectGameObject { - // virtual ~CameraTriggerGameObject(); - - static CameraTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn initWithType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20d20; - TodoReturn loadType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn runAnimation(gd::string) = win 0x21640; - TodoReturn runAnimationForced(gd::string); - TodoReturn stopTween(); - TodoReturn switchToMode(spriteMode); - TodoReturn tweenToAnimation(gd::string, float); - TodoReturn tweenToAnimationFinished(); - TodoReturn willPlayAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual TodoReturn animationFinished(char const*); - virtual TodoReturn animationFinishedO(cocos2d::CCObject*); -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn decrementForcePrio(); - TodoReturn incrementForcePrio(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - - void* m_unknown; -} - -[[link(android)]] -class CCCircleAlert : CCCircleWave { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - // virtual ~CCCircleWave(); - // CCCircleWave() = win 0x230e0; - - static CCCircleWave* create(float, float, float, bool, bool) = win 0x23220; - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool); - bool init(float, float, float, bool, bool) = win 0x232f0; - TodoReturn updatePosition(float); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void removeMeAndCleanup(); - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float); - - virtual void setPosition(cocos2d::CCPoint const&) = win 0x23b20; -} - -[[link(android)]] -class CCCountdown : cocos2d::CCSprite { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel : cocos2d::CCLabelBMFont { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(int, char const*, FormatterType); - - TodoReturn calculateStepSize(int); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getTargetCount(); - bool init(int, char const*, FormatterType); - void setTargetCount(int) = win 0x23e20; - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - CCIndexPath() {} - // virtual ~CCIndexPath(); - - TodoReturn CCIndexPathWithSectionRow(int, int); -} - -[[link(android)]] -class CCLightFlash : cocos2d::CCNode { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - TodoReturn fadeAndRemove(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - TodoReturn showFlash(); - - virtual bool init(); -} - -[[link(android)]] -class CCLightStrip : cocos2d::CCNode { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - bool init(float, float, float, float, float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - // virtual ~CCMenuItemSpriteExtra(); - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25830; - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - inline void setSizeMult(float mult) { - //inlined on windows, member is in CCMenuItemSprite - m_scaleMultiplier = mult; - } - TodoReturn useAnimationType(MenuAnimationType); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown1; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; - int m_unknown4; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - CCMenuItemToggler() {} - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25e50; - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - - TodoReturn activeItem(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25f30; - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - void setSizeMult(float); - TodoReturn toggle(bool) = win 0x261e0; - - bool isToggled() { - return m_toggled; - } - bool isOn() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool) = win 0x26160; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCObject { - // virtual ~CCMoveCNode(); - - static CCMoveCNode* create(); - - bool init(); - TodoReturn reset(); -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - // virtual ~CCNodeContainer(); - - static CCNodeContainer* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class CCPartAnimSprite : cocos2d::CCSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn dirtify(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - void setColor(cocos2d::ccColor3B) = win 0x27270; - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(SpriteDescription*); - TodoReturn tweenSpriteTo(SpriteDescription*, float); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setOpacity(unsigned char); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect) = win 0x276e0; - - TodoReturn constraintContent(); - TodoReturn doConstraintContent(bool); - TodoReturn getMaxY(); - TodoReturn getMinY(); - TodoReturn moveToTop() = win 0x27b60; - TodoReturn moveToTopWithOffset(float) = win 0x27ae0; - TodoReturn scrollingEnd(); - TodoReturn scrollLayer(float) = win 0x28550; - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - TodoReturn updateIndicators(float); - - virtual void visit() = win 0x28600; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x280d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x281c0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x28410; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x283e0; - virtual void registerWithTouchDispatcher(); - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect) = win 0x286d0; - virtual TodoReturn postVisit() = win 0x28760; - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchBegin(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchEnd(CCScrollLayerExt*); -} - -[[link(android)]] -class CCSpriteCOpacity : cocos2d::CCSprite { - // virtual ~CCSpriteCOpacity(); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCSpriteGrayscale : CCSpriteWithHue { - // virtual ~CCSpriteGrayscale(); - - static CCSpriteGrayscale* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteGrayscale* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn frameChanged(gd::string); - TodoReturn getBeingUsed(); - TodoReturn hideInactive(); - TodoReturn markAsNotBeingUsed(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateDisplayFrame(gd::string); - - virtual void setVisible(bool); -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn getFollower(); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&) = win 0x288f0; - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithSpriteFrameName(char const*) = win 0x288b0; - virtual void setFlipX(bool); - virtual void setFlipY(bool); - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class CCSpriteWithHue : cocos2d::CCSprite { - // virtual ~CCSpriteWithHue(); - // CCSpriteWithHue(); - - static CCSpriteWithHue* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteWithHue* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn getAlpha(); - TodoReturn getHue(); - TodoReturn getUniformLocations(); - TodoReturn initShader(); - void setCustomLuminance(float, float, float); - void setEvenLuminance(float); - void setHue(float); - void setHueDegrees(float); - void setLuminance(float); - TodoReturn setupDefaultSettings(); - TodoReturn updateColorMatrix(); - TodoReturn updateHue(float); - - virtual void draw(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); - virtual void updateColor(); -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - // virtual ~CCTextInputNode(); - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*) = win 0x2e440; - - static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - void setMaxLabelScale(float v) { - m_maxLabelScale = v; - this->refreshLabel(); - } - void setMaxLabelWidth(float v) { - m_maxLabelWidth = v; - this->refreshLabel(); - } - void setMaxLabelLength(int v) { - m_maxLabelLength = v; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float v) { - m_placeholderScale = v; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - void setAllowedChars(gd::string filter) { - m_allowedChars = filter; - } - - TodoReturn addTextArea(TextArea*); - TodoReturn forceOffset(); - gd::string getString() { - return m_textField->getString(); - } - bool init(float, float, char const*, char const*, int, char const*) = win 0x2e500; - TodoReturn refreshLabel() = win 0x2ede0; - void setLabelNormalColor(cocos2d::ccColor3B); - void setString(gd::string) = win 0x2e9a0; - TodoReturn updateBlinkLabel(); - TodoReturn updateBlinkLabelToChar(int); - TodoReturn updateCursorPosition(cocos2d::CCPoint, cocos2d::CCRect); - TodoReturn updateDefaultFontValues(gd::string); - TodoReturn updateLabel(gd::string) = win 0x2eac0; - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual TodoReturn textChanged(); - virtual TodoReturn onClickTrackNode(bool) = win 0x2f600; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int, cocos2d::enumKeyCodes); - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF*); - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF*); - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - PAD = android32 0xc, win 0xc, android64 0x10; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_unknown3; - bool m_usePasswordChar; - bool m_forceOffset; - PAD = android32 0x10, android64 0x18; -} - -[[link(android)]] -class CCURLObject : cocos2d::CCObject { - // virtual ~CCURLObject(); - - static CCURLObject* create(gd::string, gd::string); - - bool init(gd::string, gd::string); -} - -[[link(android)]] -class ChallengeNode : cocos2d::CCNode { - // virtual ~ChallengeNode(); - - static ChallengeNode* create(GJChallengeItem*, ChallengesPage*, bool); - - bool init(GJChallengeItem*, ChallengesPage*, bool); - void onClaimReward(cocos2d::CCObject* sender); - TodoReturn updateTimeLabel(gd::string); -} - -[[link(android)]] -class ChallengesPage : FLAlertLayer, FLAlertLayerProtocol, GJChallengeDelegate, CurrencyRewardDelegate { - // virtual ~ChallengesPage(); - - static ChallengesPage* create(); - - TodoReturn claimItem(ChallengeNode*, GJChallengeItem*, cocos2d::CCPoint); - TodoReturn createChallengeNode(int, bool, float, bool); - TodoReturn exitNodeAtSlot(int, float); - void onClose(cocos2d::CCObject* sender); - TodoReturn tryGetChallenges(); - TodoReturn updateDots(); - callback void updateTimers(float); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class ChanceTriggerGameObject : EffectGameObject { - // virtual ~ChanceTriggerGameObject(); - - TodoReturn editChanceObject(int, int); - bool init(char const*); - TodoReturn remapChanceObjects(gd::unordered_map const*); - TodoReturn revertChanceRemap(); -} - -[[link(android)]] -class CharacterColorDelegate { - virtual TodoReturn playerColorChanged(); - virtual TodoReturn showUnlockPopup(int, UnlockType); -} - -[[link(android)]] -class CharacterColorPage : FLAlertLayer { - // virtual ~CharacterColorPage(); - - static CharacterColorPage* create(); - - TodoReturn activeColorForMode(int); - TodoReturn checkColor(int, UnlockType); - TodoReturn colorForIndex(int); - TodoReturn createColorMenu(); - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn offsetForIndex(int); - void onClose(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onPlayerColor(cocos2d::CCObject* sender); - TodoReturn toggleGlow(cocos2d::CCObject*); - TodoReturn toggleGlowItems(bool); - TodoReturn toggleShip(cocos2d::CCObject*); - TodoReturn updateColorMode(int); - TodoReturn updateIconColors(); - - virtual bool init() = win 0x5ea10; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class CheckpointGameObject : EffectGameObject { - // virtual ~CheckpointGameObject(); - - static CheckpointGameObject* create(); - - TodoReturn resetCheckpoint(); - TodoReturn updateCheckpointSpriteVisibility(); - - virtual bool init(); - virtual TodoReturn setupCustomSprites(gd::string); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - // virtual ~CheckpointObject(); - - static CheckpointObject* create(); - - TodoReturn getObject(); - void setObject(GameObject*); - - virtual bool init(); -} - -[[link(android)]] -class CollisionBlockPopup : FLAlertLayer, TextInputDelegate { - // virtual ~CollisionBlockPopup(); - - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onDynamicBlock(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onNextItemID(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class ColorAction : cocos2d::CCObject { - // virtual ~ColorAction(); - - static ColorAction* create(); - static ColorAction* create(cocos2d::ccColor3B, bool, int); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getCopy(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - bool isInUse(); - void loadFromState(CAState&); - TodoReturn resetAction(); - TodoReturn saveToState(CAState&); - TodoReturn setupFromMap(gd::map&); - TodoReturn setupFromString(gd::string); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - // TodoReturn writeSaveString(fmt::BasicWriter&); - - bool m_stepFinished; - // property 19 - bool m_property19; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_fromOpacity; - float m_toOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - bool m_unknown; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - // more stuff -} - -[[link(android)]] -class ColorAction2 { - ColorAction2(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - - TodoReturn resetAction(); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - // virtual ~ColorActionSprite(); - - static ColorActionSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - // virtual ~ColorChannelSprite(); - - static ColorChannelSprite* create() = win 0x1d8440; - - TodoReturn updateBlending(bool); - TodoReturn updateCopyLabel(int, bool); - TodoReturn updateOpacity(float) = win 0x1d86c0; - TodoReturn updateValues(ColorAction*); - - virtual bool init(); -} - -[[link(android)]] -class ColorSelectDelegate { - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - // virtual ~ColorSelectLiveOverlay(); - - static ColorSelectLiveOverlay* create(ColorAction*, ColorAction*, EffectGameObject*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn colorValueChanged(cocos2d::ccColor3B); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn createWithActions(ColorAction*, ColorAction*); - TodoReturn createWithObject(EffectGameObject*); - TodoReturn determineStartValues(); - TodoReturn getColorValue(); - bool init(ColorAction*, ColorAction*, EffectGameObject*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn textChanged(CCTextInputNode*); - TodoReturn textInputClosed(CCTextInputNode*); - TodoReturn toggleControls(bool); - TodoReturn updateColorLabel(); - TodoReturn updateColorValue(); - TodoReturn updateOpacity(); - - virtual void keyBackClicked(); - virtual void show(); - - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; -} - -[[link(android)]] -class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~ColorSelectPopup(); - - static ColorSelectPopup* create(cocos2d::ccColor3B); - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn colorToHex(cocos2d::ccColor3B); - TodoReturn getColorValue(); - TodoReturn hexToColor(gd::string); - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - void onCopy(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onDefault(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateHSVMode(); - TodoReturn updateHSVValue(); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); - - PAD = android32 0x40; - ColorAction* m_colorAction; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - void loadFromComment(GJComment*) = win 0x84420; - void onConfirmDelete(cocos2d::CCObject* sender) = win 0x86250; - TodoReturn onDelete() = win 0x862f0; - void onGoToLevel(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender) = win 0x860a0; - TodoReturn onUndelete(); - void onUnhide(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x86020; - TodoReturn updateLabelValues(); - - virtual bool init(); - virtual void draw() = win 0x7d550; - virtual TodoReturn likedItem(LikeItemType, int, bool) = win 0x86180; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x86360; - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class CommentUploadDelegate { - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn commentDeleteFailed(int, int); -} - -[[link(android)]] -class CommunityCreditNode : cocos2d::CCNode { - // virtual ~CommunityCreditNode(); - - static CommunityCreditNode* create(int, int, int, gd::string); - - bool init(int, int, int, gd::string); -} - -[[link(android)]] -class CommunityCreditsPage : FLAlertLayer { - // virtual ~CommunityCreditsPage(); - - static CommunityCreditsPage* create(); - - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode, TextInputDelegate { - // virtual ~ConfigureHSVWidget(); - - static ConfigureHSVWidget* create(cocos2d::ccHSVValue, bool, bool); - - TodoReturn createTextInputNode(cocos2d::CCPoint, int); - TodoReturn getHSV(GameObject*, cocos2d::CCArray*, int); - bool init(cocos2d::ccHSVValue, bool, bool); - TodoReturn onClose(); - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabels(); - TodoReturn updateSliders(); - - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopup : FLAlertLayer, TextInputDelegate { - // virtual ~ConfigureValuePopup(); - - static ConfigureValuePopup* create(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - - bool init(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopupDelegate { - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class CountTriggerAction { - // CountTriggerAction(CountTriggerAction&&); -} - -[[link(android)]] -class CountTriggerGameObject : EffectGameObject { - // virtual ~CountTriggerGameObject(); - - static CountTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(CustomSongDelegate*, AudioGuidelinesType); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(CustomSongDelegate*, AudioGuidelinesType); - void onClearGuidelines(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender); - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); -} - -[[link(android)]] -class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate { - // virtual ~CreateParticlePopup(); - - static CreateParticlePopup* create(gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*); - - TodoReturn centerAlignParticle(cocos2d::CCObject*); - TodoReturn createParticleSlider(gjParticleValue, int, bool, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn getPage(int); - TodoReturn getPageButton(int); - TodoReturn getPageContainer(int); - TodoReturn getPageInputNodes(int); - TodoReturn getPageMenu(int); - TodoReturn getPageSliders(int); - bool init(ParticleGameObject*, cocos2d::CCArray*, gd::string); - TodoReturn maxSliderValueForType(gjParticleValue); - TodoReturn minSliderValueForType(gjParticleValue); - void onAnimateActiveOnly(cocos2d::CCObject* sender); - void onAnimateOnTrigger(cocos2d::CCObject* sender); - void onCalcEmission(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopySettings(cocos2d::CCObject* sender); - void onDuplicateColor(cocos2d::CCObject* sender); - void onDurationForever(cocos2d::CCObject* sender); - void onDynamicColor(cocos2d::CCObject* sender); - void onDynamicRotation(cocos2d::CCObject* sender); - void onEmitterMode(cocos2d::CCObject* sender); - void onEndRGBVarSync(cocos2d::CCObject* sender); - void onMaxEmission(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOrderSensitive(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPasteSettings(cocos2d::CCObject* sender); - void onPosType(cocos2d::CCObject* sender); - void onQuickStart(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectParticleTexture(cocos2d::CCObject* sender); - void onStartRGBVarSync(cocos2d::CCObject* sender); - void onToggleBlending(cocos2d::CCObject* sender); - void onToggleStartRadiusEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartRotationIsDir(cocos2d::CCObject* sender); - void onToggleStartSizeEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartSpinEqualToEnd(cocos2d::CCObject* sender); - void onUniformColor(cocos2d::CCObject* sender); - TodoReturn particleValueIsInt(gjParticleValue); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn titleForParticleValue(gjParticleValue); - TodoReturn toggleGravityMode(bool); - TodoReturn updateColorSprite(int); - TodoReturn updateInputNodeStringForType(gjParticleValue); - TodoReturn updateParticleValueForType(float, gjParticleValue, cocos2d::CCParticleSystemQuad*); - TodoReturn updateSliderForType(gjParticleValue); - TodoReturn valueForParticleValue(gjParticleValue); - TodoReturn willClose(); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - // virtual ~CreatorLayer(); - - static CreatorLayer* create(); - - TodoReturn canPlayOnlineLevels(); - TodoReturn checkQuestsStatus() = win 0x71500; - void onAdventureMap(cocos2d::CCObject* sender) = win 0x70b10; - void onBack(cocos2d::CCObject* sender); - void onChallenge(cocos2d::CCObject* sender) = win 0x70d60; - void onDailyLevel(cocos2d::CCObject* sender); - void onEventLevel(cocos2d::CCObject* sender) = win 0x70b90; - void onFameLevels(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender) = win 0x70510; - void onGauntlets(cocos2d::CCObject* sender); - void onLeaderboards(cocos2d::CCObject* sender); - void onMapPacks(cocos2d::CCObject* sender) = win 0x706a0; - void onMultiplayer(cocos2d::CCObject* sender) = win 0x70780; - void onMyLevels(cocos2d::CCObject* sender) = win 0x702e0; - void onOnlineLevels(cocos2d::CCObject* sender) = win 0x70630; - void onOnlyFullVersion(cocos2d::CCObject* sender); - void onPaths(cocos2d::CCObject* sender); - void onSavedLevels(cocos2d::CCObject* sender) = win 0x703d0; - void onSecretVault(cocos2d::CCObject* sender) = win 0x70db0; - void onTopLists(cocos2d::CCObject* sender) = win 0x705b0; - void onTreasureRoom(cocos2d::CCObject* sender) = win 0x710c0; - void onWeeklyLevel(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init() = win 0x6f4e0; - virtual void keyBackClicked(); - virtual void sceneWillResume(); - virtual TodoReturn dialogClosed(DialogLayer*) = win 0x71640; -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - // virtual ~CurrencyRewardLayer(); - - static CurrencyRewardLayer* create(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71bf0; - - TodoReturn createObjects(CurrencySpriteType, int, cocos2d::CCPoint, float); - TodoReturn createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn createUnlockObject(cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn incrementCount(int); - TodoReturn incrementDiamondsCount(int); - TodoReturn incrementMoonsCount(int); - TodoReturn incrementSpecialCount1(int); - TodoReturn incrementSpecialCount2(int); - TodoReturn incrementStarsCount(int); - bool init(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71ce0; - TodoReturn pulseSprite(cocos2d::CCSprite*); - - virtual void update(float); -} - -[[link(android)]] -class CurrencySprite : CCSpritePlus { - // virtual ~CurrencySprite(); - // CurrencySprite(); - - static CurrencySprite* create(CurrencySpriteType, bool); - - TodoReturn createWithSprite(cocos2d::CCSprite*); - bool init(CurrencySpriteType, bool); - TodoReturn initWithSprite(cocos2d::CCSprite*); - TodoReturn rewardToSpriteType(int); - TodoReturn spriteTypeToStat(CurrencySpriteType); -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate, ColorSelectDelegate, ColorSetupDelegate { - // virtual ~CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - TodoReturn getActiveMode(bool); - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - TodoReturn highlightSelected(ButtonSprite*); - bool init(GameObject*, cocos2d::CCArray*); - void onBreakApart(cocos2d::CCObject* sender); - void onBrowse(cocos2d::CCObject* sender); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onNextColorChannel(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn recreateLayer(); - TodoReturn sliderChanged(cocos2d::CCObject*); - void toggleVisible(); - TodoReturn updateChannelLabel(int); - TodoReturn updateColorSprite(); - TodoReturn updateCurrentSelection(); - TodoReturn updateCustomColorLabels(); - TodoReturn updateHSVButtons(); - TodoReturn updateKerningLabel(); - TodoReturn updateSelected(int); - - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn colorSetupClosed(int); -} - -[[link(android)]] -class CustomizeObjectSettingsPopup : SetupTriggerPopup { - // virtual ~CustomizeObjectSettingsPopup(); - - static CustomizeObjectSettingsPopup* create(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - bool init(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class CustomListView : BoomListView { - inline CustomListView() {} - ~CustomListView() {} - - static CustomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x7ace0; - - static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, nullptr, width, height, 0, type, 0.0f); - } - - TodoReturn getCellHeight(BoomListType); - TodoReturn reloadAll(); - - virtual TodoReturn setupList(float) = win 0x7bb70; - virtual TableViewCell* getListCell(char const*); - virtual TodoReturn loadCell(TableViewCell*, int) = win 0x7b730; - - int m_unknown; -} - -[[link(android)]] -class CustomMusicCell : CustomSongCell { - // virtual ~CustomMusicCell(); - CustomMusicCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83840; - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class CustomSFXCell : TableViewCell, CustomSFXDelegate { - // virtual ~CustomSFXCell(); - CustomSFXCell(char const*, float, float); - - void loadFromObject(SFXInfoObject*) = win 0x83610; - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x83700; - - virtual bool init(); - virtual void draw(); - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); -} - -[[link(android)]] -class CustomSFXDelegate { - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); -} - -[[link(android)]] -class CustomSFXWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSFXWidget(); - - static CustomSFXWidget* create(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - - TodoReturn deleteSFX(); - TodoReturn downloadFailed(); - TodoReturn hideLoadingArt(); - bool init(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn showLoadingArt(); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - TodoReturn updateSFXInfo(); - TodoReturn updateSFXObject(SFXInfoObject*); - TodoReturn verifySFXID(int); - - virtual TodoReturn downloadSFXFinished(int); - virtual TodoReturn downloadSFXFailed(int, GJSongError); - virtual TodoReturn songStateChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CustomSongCell : TableViewCell, CustomSongDelegate { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83140; - void onDelete(cocos2d::CCObject* sender); - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x83340; - - virtual bool init(); - virtual void draw(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongDelegate { - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, TextInputDelegate, GJDropDownLayerDelegate, MusicBrowserDelegate { - // virtual ~CustomSongLayer(); - - static CustomSongLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onMusicBrowser(cocos2d::CCObject* sender); - void onNewgroundsBrowser(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - TodoReturn showNewgroundsMessage(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); - virtual TodoReturn musicBrowserClosed(MusicBrowser*); -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual TodoReturn customSongLayerClosed(); -} - -[[link(android)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool); - - void deleteSong(); - TodoReturn downloadAssetFailed(int, GJAssetType, GJSongError); - TodoReturn downloadAssetFinished(int, GJAssetType); - TodoReturn downloadFailed(); - TodoReturn getSongInfoIfUnloaded(); - bool init(SongInfoObject*, CustomSongDelegate*, bool, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender) = win 0x944c0; - void onGetSongInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender) = win 0x93dc0; - void onPlayback(cocos2d::CCObject* sender) = win 0x94740; - void onSelect(cocos2d::CCObject* sender) = win 0x946f0; - TodoReturn processNextMultiAsset(); - TodoReturn showError(bool); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn startMultiAssetDownload(); - TodoReturn toggleUpdateButton(bool); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updateMultiAssetInfo(bool); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - void updateSongInfo(); - TodoReturn updateSongObject(SongInfoObject*); - TodoReturn updateWithMultiAssets(gd::string, gd::string, int); - TodoReturn verifySongID(int); - - virtual TodoReturn loadSongInfoFinished(SongInfoObject*); - virtual TodoReturn loadSongInfoFailed(int, GJSongError); - virtual TodoReturn downloadSongFinished(int); - virtual TodoReturn downloadSongFailed(int, GJSongError); - virtual TodoReturn downloadSFXFinished(int); - virtual TodoReturn downloadSFXFailed(int, GJSongError); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn songStateChanged(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - // virtual ~DailyLevelNode(); - - static DailyLevelNode* create(GJGameLevel*, DailyLevelPage*, bool); - - bool init(GJGameLevel*, DailyLevelPage*, bool) = win 0x99670; - void onClaimReward(cocos2d::CCObject* sender) = win 0x99ff0; - void onSkipLevel(cocos2d::CCObject* sender); - TodoReturn showSkipButton() = win 0x99fa0; - TodoReturn updateTimeLabel(gd::string) = win 0x9a240; - - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - - GJGameLevel* m_level; - DailyLevelPage* m_page; - cocos2d::CCLabelBMFont* m_timeLabel; - PAD = win 0x8, android32 0x8; - CCMenuItemSpriteExtra* m_skipButton; - bool m_unkBool; - bool m_needsDownloading; -} - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - // virtual ~DailyLevelPage(); - - static DailyLevelPage* create(GJTimedLevelType); - - TodoReturn claimLevelReward(DailyLevelNode*, GJGameLevel*, cocos2d::CCPoint) = win 0x99250; - TodoReturn createDailyNode(GJGameLevel*, bool, float, bool) = win 0x98a20; - TodoReturn createNodeIfLoaded() = win 0x98970; - TodoReturn downloadAndCreateNode() = win 0x98910; - TodoReturn exitDailyNode(DailyLevelNode*, float) = win 0x98bf0; - TodoReturn getDailyTime() = win 0x98ca0; - TodoReturn getDailyTimeString(int) = win 0x98d50; - bool init(GJTimedLevelType) = win 0x97680; - void onClose(cocos2d::CCObject* sender); - void onTheSafe(cocos2d::CCObject* sender); - TodoReturn refreshDailyPage(); - TodoReturn skipDailyLevel(DailyLevelNode*, GJGameLevel*); - TodoReturn tryGetDailyStatus() = win 0x988c0; - callback void updateTimers(float) = win 0x990d0; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void dailyStatusFinished(GJTimedLevelType) = win 0x98500; - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - - cocos2d::CCLabelBMFont* m_timeLabel; - LoadingCircle* m_timeCircle; - LoadingCircle* m_nodeCircle; - bool m_gettingDailyStatus; - DailyLevelNode* m_dailyNode; - bool m_downloadStarted; - GJTimedLevelType m_type; - int m_downloadLevelID; -} - -[[link(android)]] -class DashRingObject : RingObject { - // virtual ~DashRingObject(); - - static DashRingObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class DemonFilterDelegate { - virtual TodoReturn demonFilterSelectClosed(int); -} - -[[link(android)]] -class DemonFilterSelectLayer : FLAlertLayer { - // virtual ~DemonFilterSelectLayer(); - - static DemonFilterSelectLayer* create(); - - void onClose(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class DialogDelegate { - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate { - // virtual ~DialogLayer(); - - static DialogLayer* create(DialogObject*, int); - - TodoReturn addToMainScene(); - TodoReturn animateIn(DialogAnimationType) = win 0x9b470; - TodoReturn animateInDialog(); - TodoReturn animateInRandomSide(); - TodoReturn createDialogLayer(DialogObject*, cocos2d::CCArray*, int); - TodoReturn createWithObjects(cocos2d::CCArray*, int); - TodoReturn displayDialogObject(DialogObject*); - TodoReturn displayNextObject(); - TodoReturn finishCurrentAnimation(); - TodoReturn handleDialogTap(); - bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x9a8b0; - TodoReturn onClose(); - TodoReturn updateChatPlacement(DialogChatPlacement); - TodoReturn updateNavButtonFrame(); - - virtual void onEnter(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - // virtual ~DialogObject(); - - static DialogObject* create(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a530; - - bool init(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a670; -} - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - // virtual ~DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - TodoReturn addAudioLineObject(AudioLineGuideGameObject*); - TodoReturn addToEffects(EffectGameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(EffectGameObject*); - TodoReturn getPortalMinMax(GameObject*); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - TodoReturn loadTimeMarkers(gd::string); - TodoReturn posForTime(float); - TodoReturn postUpdate(); - TodoReturn removeAudioLineObject(AudioLineGuideGameObject*); - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(EffectGameObject*); - TodoReturn sortSpeedObjects(); - TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, bool, bool, int); - TodoReturn updateMusicGuideTime(float); - TodoReturn updateTimeMarkers(); - - virtual void update(float); - virtual void draw(); -} - -[[link(android)]] -class DungeonBarsSprite : cocos2d::CCNode { - // virtual ~DungeonBarsSprite(); - - static DungeonBarsSprite* create(); - - TodoReturn animateOutBars(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class DynamicBitset { - TodoReturn resize(unsigned int) = win 0x2eb910; -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual TodoReturn pure_virtual_00a34a60() {} // TODO: figure out what function this is -} - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, bool, int, int); - void loadFromItems(cocos2d::CCArray*, int, int, bool); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - TodoReturn reloadItems(int, int); -} - -[[link(android)]] -class EditGameObjectPopup : SetupTriggerPopup { - // virtual ~EditGameObjectPopup(); - - static EditGameObjectPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - // virtual ~EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*); - - TodoReturn closeTextInputs(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmMoveToTop(cocos2d::CCObject*); - bool init(GJGameLevel*) = win 0x9c890; - void onBack(cocos2d::CCObject* sender); - TodoReturn onClone(); - TodoReturn onDelete(); - void onEdit(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - TodoReturn onMoveToTop(); - void onPlay(cocos2d::CCObject* sender); - void onSetFolder(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onTest(cocos2d::CCObject* sender); - void onUpdateDescription(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_folderLabel; - bool m_unk; - bool m_lowDetailModeTriggered; - GJLevelType m_levelType; -} - -[[link(android)]] -class EditorOptionsLayer : GJOptionsLayer { - // virtual ~EditorOptionsLayer(); - - static EditorOptionsLayer* create(); - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn setupOptions(); -} - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - // virtual ~EditorPauseLayer(); - - static EditorPauseLayer* create(LevelEditorLayer*); - - TodoReturn doResetUnused(); - bool init(LevelEditorLayer*) = win 0x9fff0; - void onAlignX(cocos2d::CCObject* sender); - void onAlignY(cocos2d::CCObject* sender); - void onBuildHelper(cocos2d::CCObject* sender); - void onCopyWColor(cocos2d::CCObject* sender); - void onCreateExtras(cocos2d::CCObject* sender); - void onCreateLoop(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNewGroupX(cocos2d::CCObject* sender); - void onNewGroupY(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onPasteWColor(cocos2d::CCObject* sender); - void onReGroup(cocos2d::CCObject* sender); - void onResetUnusedColors(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); - void onSaveAndExit(cocos2d::CCObject* sender); - void onSaveAndPlay(cocos2d::CCObject* sender); - void onSelectAll(cocos2d::CCObject* sender); - void onSelectAllLeft(cocos2d::CCObject* sender); - void onSelectAllRight(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - void onUnlockAllLayers(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - void saveLevel(); - TodoReturn toggleDebugDraw(cocos2d::CCObject*); - TodoReturn toggleEditorBackground(cocos2d::CCObject*); - TodoReturn toggleEditorColorMode(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*); - TodoReturn toggleEditorGround(cocos2d::CCObject*); - TodoReturn toggleEffectDuration(cocos2d::CCObject*); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleHideInvisible(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn togglePreviewAnim(cocos2d::CCObject*); - TodoReturn togglePreviewParticles(cocos2d::CCObject*); - TodoReturn togglePreviewShaders(cocos2d::CCObject*); - TodoReturn toggleRecordOrder(cocos2d::CCObject*); - TodoReturn toggleSelectFilter(cocos2d::CCObject*); - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*); - TodoReturn updateSongButton(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup() = win 0xa0700; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, GJTransformControlDelegate, MusicDownloadDelegate, SetIDPopupDelegate { - // virtual ~EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*); - TodoReturn activateScaleControl(cocos2d::CCObject*); - TodoReturn activateTransformControl(cocos2d::CCObject*); - TodoReturn addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn alignObjects(cocos2d::CCArray*, bool); - TodoReturn applyOffset(GameObject*); - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn arrayContainsClass(cocos2d::CCArray*, int); - TodoReturn assignNewGroups(bool); - TodoReturn canAllowMultiActivate(GameObject*, cocos2d::CCArray*); - TodoReturn canSelectObject(GameObject*); - TodoReturn centerCameraOnObject(GameObject*); - TodoReturn changeSelectedObjects(cocos2d::CCArray*, bool); - TodoReturn checkDiffAfterTransformAnchor(cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn checkLiveColorSelect(); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn closeLiveColorSelect(); - TodoReturn closeLiveHSVSelect(); - TodoReturn colorSelectClosed(cocos2d::ccColor3B); - TodoReturn constrainGameLayerPosition() = win 0xd7dc0; - TodoReturn constrainGameLayerPosition(float, float) = win 0xd7dc0; - TodoReturn convertKeyBasedOnNeighbors(int, int, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn convertToBaseKey(int); - TodoReturn copyObjects(cocos2d::CCArray*, bool, bool); - TodoReturn copyObjectsDetailed(cocos2d::CCArray*); - TodoReturn createCustomItems(); - TodoReturn createEdgeForObject(GameObject*, int); - TodoReturn createExtraObject(int, cocos2d::CCPoint, GameObject*, cocos2d::CCArray*, int, int); - TodoReturn createExtras(cocos2d::CCArray*); - TodoReturn createExtrasForObject(int, GameObject*, cocos2d::CCArray*); - TodoReturn createGlow(); - TodoReturn createLoop(); - TodoReturn createMoveMenu(); - TodoReturn createNewKeyframeAnim(); - TodoReturn createObject(int, cocos2d::CCPoint); - TodoReturn createOutlines(cocos2d::CCArray*); - TodoReturn createPrefab(GJSmartTemplate*, gd::string, int); - TodoReturn createRockBases(cocos2d::CCArray*); - TodoReturn createRockEdges(cocos2d::CCArray*); - TodoReturn createSmartObjectsFromTemplate(GJSmartTemplate*, cocos2d::CCArray*, bool, bool, bool, bool); - TodoReturn createSmartObjectsFromType(int, cocos2d::CCArray*, bool, bool); - TodoReturn createUndoObject(UndoCommand, bool); - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateRotationControl(); - TodoReturn deactivateScaleControl(); - TodoReturn deactivateTransformControl(); - TodoReturn deleteObject(GameObject*, bool); - TodoReturn deleteSmartBlocksFromObjects(cocos2d::CCArray*); - TodoReturn deleteTypeFromObjects(int, cocos2d::CCArray*); - TodoReturn deselectAll() = win 0xc95d0; - TodoReturn deselectObject(); - TodoReturn deselectObject(GameObject*); - TodoReturn deselectObjectsColor(); - TodoReturn deselectTargetPortals(); - TodoReturn disableButton(CreateMenuItem*); - TodoReturn doCopyObjects(bool); - TodoReturn doPasteInPlace(bool); - TodoReturn doPasteObjects(bool); - TodoReturn dynamicGroupUpdate(bool); - TodoReturn edgeForObject(int, int); - TodoReturn editButton2Usable() = win 0xd1370; - TodoReturn editButtonUsable() = win 0xd0c90; - TodoReturn editColor() = win 0xd40e0; - TodoReturn editColorButtonUsable() = win 0xd3d20; - TodoReturn editGroup(cocos2d::CCObject*) = win 0xd46f0; - TodoReturn editHSV() = win 0xd4570; - TodoReturn editObject(cocos2d::CCObject*) = win 0xd2810; - TodoReturn editObject2(cocos2d::CCObject*); - TodoReturn editObject3(cocos2d::CCObject*); - TodoReturn editObjectSpecial(int) = win 0xd3690; - TodoReturn editorLayerForArray(cocos2d::CCArray*, bool); - TodoReturn enableButton(CreateMenuItem*); - TodoReturn findAndSelectObject(int, bool); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn findTriggerTest(); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getCreateBtn(int, int); - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditColorTargets(ColorAction*&, ColorAction*&, EffectGameObject*&); - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getGroupCenter(cocos2d::CCArray*, bool); - TodoReturn getGroupInfo(GameObject*, cocos2d::CCArray*, int&, int&, int&); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getModeBtn(char const*, int); - TodoReturn getNeighbor(int, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getRandomStartKey(int); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSelectedObjects(); - TodoReturn getSimpleButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getSmartNeighbor(SmartGameObject*, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getSmartObjectKey(int, GJSmartDirection); - TodoReturn getSnapAngle(GameObject*, cocos2d::CCArray*); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - TodoReturn getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getTransformState(); - TodoReturn getXMin(int) = win 0xd7fe0; - bool init(LevelEditorLayer*) = win 0xa4220; - bool isLiveColorSelectTrigger(GameObject*); - bool isSpecialSnapObject(int); - TodoReturn liveEditColorUsable(); - TodoReturn menuItemFromObjectString(gd::string, int); - TodoReturn moveForCommand(EditCommand); - TodoReturn moveGamelayer(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, cocos2d::CCPoint); - TodoReturn moveObjectCall(cocos2d::CCObject*); - TodoReturn moveObjectCall(EditCommand); - TodoReturn offsetForKey(int); - TodoReturn onAssignNewGroupID(); - void onColorFilter(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onCopyState(cocos2d::CCObject* sender); - TodoReturn onCreate(); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onDelete(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onFindObject(cocos2d::CCObject* sender); - void onGoToBaseLayer(cocos2d::CCObject* sender); - void onGoToLayer(cocos2d::CCObject* sender); - void onGroupDown(cocos2d::CCObject* sender); - void onGroupIDFilter(cocos2d::CCObject* sender); - void onGroupSticky(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - void onLockLayer(cocos2d::CCObject* sender); - void onNewCustomItem(cocos2d::CCObject* sender) = win 0xa8180; - void onPaste(cocos2d::CCObject* sender); - void onPasteColor(cocos2d::CCObject* sender); - void onPasteInPlace(cocos2d::CCObject* sender); - void onPasteState(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0xa60f0; - void onPlayback(cocos2d::CCObject* sender) = win 0xc9cf0; - void onPlaytest(cocos2d::CCObject* sender) = win 0xca050; - void onResetSpecialFilter(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender) = win 0xca1c0; - TodoReturn onTargetIDChange(int); - TodoReturn onToggleGuide(EffectGameObject*); - TodoReturn onToggleSelectedOrder(EffectGameObject*); - void onUngroupSticky(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - TodoReturn pasteObjects(gd::string, bool); - TodoReturn playCircleAnim(cocos2d::CCPoint, float, float); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped() = win 0xca200; - TodoReturn positionIsInSnapped(cocos2d::CCPoint); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn processSelectObjects(cocos2d::CCArray*); - TodoReturn processSmartObjectsFromType(int, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn recreateButtonTabs(); - TodoReturn redoLastAction(cocos2d::CCObject*); - TodoReturn reloadCustomItems(); - TodoReturn removeOffset(GameObject*); - TodoReturn replaceGroupID(GameObject*, int, int); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool); - TodoReturn resetObjectEditorValues(cocos2d::CCArray*); - TodoReturn resetSelectedObjectsColor(); - TodoReturn resetUI(); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn rotationforCommand(EditCommand); - TodoReturn scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType); - TodoReturn selectAll(); - TodoReturn selectAllWithDirection(bool); - TodoReturn selectBuildTab(int); - TodoReturn selectObject(GameObject*, bool); - TodoReturn selectObjects(cocos2d::CCArray*, bool); - TodoReturn selectObjectsInRect(cocos2d::CCRect); - TodoReturn setupCreateMenu() = win 0xab210; - TodoReturn setupDeleteMenu(); - TodoReturn setupEditMenu(); - TodoReturn setupTransformControl(); - TodoReturn shouldDeleteObject(GameObject*); - TodoReturn shouldSnap(GameObject*); - TodoReturn showDeleteConfirmation(); - TodoReturn showLiveColorSelectForMode(int); - TodoReturn showLiveColorSelectForModeSpecial(int); - TodoReturn showMaxBasicError(); - TodoReturn showMaxCoinError(); - TodoReturn showMaxError(); - TodoReturn showUI(bool); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn smartTypeForKey(int); - TodoReturn spriteFromObjectString(gd::string, bool, bool, int, cocos2d::CCArray*, cocos2d::CCArray*, GameObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton() = win 0xd1650; - TodoReturn toggleEnableRotate(cocos2d::CCObject*); - TodoReturn toggleFreeMove(cocos2d::CCObject*); - TodoReturn toggleLockUI(bool); - TodoReturn toggleMode(cocos2d::CCObject*); - TodoReturn toggleObjectInfoLabel(); - TodoReturn toggleSnap(cocos2d::CCObject*); - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleStickyControls(bool); - TodoReturn toggleSwipe(cocos2d::CCObject*); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn transformObjectCall(EditCommand); - TodoReturn transformObjects(cocos2d::CCArray*, cocos2d::CCPoint, float, float, float, float, float, float); - TodoReturn transformObjectsActive(); - TodoReturn transformObjectsReset(); - TodoReturn triggerSwipeMode(); - TodoReturn tryUpdateTimeMarkers(); - TodoReturn undoLastAction(cocos2d::CCObject*); - TodoReturn updateButtons() = win 0xa62d0; - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditButtonColor(int, cocos2d::ccColor3B); - TodoReturn updateEditColorButton(); - TodoReturn updateEditMenu(); - TodoReturn updateGridNodeSize(); - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDBtn2(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateObjectInfoLabel(); - TodoReturn updatePlaybackBtn() = win 0xc9f40; - TodoReturn updateSlider(); - TodoReturn updateSpecialUIElements(); - TodoReturn updateZoom(float) = win 0xca390; - TodoReturn valueFromXPos(float) = win 0xa6de0; - TodoReturn xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*); - TodoReturn zoomOut(cocos2d::CCObject*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn getUI(); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn transformChangeBegin(); - virtual TodoReturn transformChangeEnded(); - virtual TodoReturn getTransformNode(); - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn songStateChanged(); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void scrollWheel(float, float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); - virtual TodoReturn angleChanged(float); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual TodoReturn scaleXYChanged(float, float); - - PAD = android32 0xd4; - EditButtonBar* m_editButtonBar; - - PAD = android32 0x30; - - cocos2d::CCArray* m_selectedObjects; - - // all of these are not tested - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x10, win 0x8, android32 0x8; - int m_selectedCreateObjectID; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; - LevelEditorLayer* m_editorLayer; - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android32 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - PAD = mac 0x8, win 0x8, android32 0x8; - - PAD = android32 0x8; - GameObject* m_selectedObject; -} - -[[link(android)]] -class EditTriggersPopup : SetupTriggerPopup { - // virtual ~EditTriggersPopup(); - - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EffectGameObject : EnhancedGameObject { - // virtual ~EffectGameObject(); - // EffectGameObject(); - - static EffectGameObject* create(char const*); - - TodoReturn getTargetColorIndex(); - bool init(char const*); - TodoReturn playTriggerEffect() = win 0x39c360; - TodoReturn resetSpawnTrigger(); - void setTargetID(int); - void setTargetID2(int); - TodoReturn triggerEffectFinished(); - TodoReturn updateInteractiveHover(float); - TodoReturn updateSpecialColor(); - TodoReturn updateSpeedModType(); - - virtual void setOpacity(unsigned char); - virtual void firstSetup(); - virtual TodoReturn customSetup() = win 0x39e240; - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x39c5e0; - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - - cocos2d::ccColor3B m_triggerTargetColor; - // property 10 - float m_duration; - // property 35 - float m_opacity; - PAD = android32 0x4; - // property 51 - int m_targetGroupID; - // property 71 - int m_centerGroupID; - // property 11 - bool m_isTouchTriggered; - // property 62 - bool m_isSpawnTriggered; - // property 369 - bool m_hasCenterEffect; - // property 75 - float m_shakeStrength; - // property 84 - float m_shakeInterval; - // property 14 - bool m_tintGround; - // property 15 - bool m_usesPlayerColor1; - // property 16 - bool m_usesPlayerColor2; - // property 17 - bool m_usesBlending; - // property 28 - float m_moveOffsetX; - // property 29 - float m_moveOffsetY; - // property 30 - EasingType m_easingType; - // property 85 - float m_easingRate; - // property 58 - bool m_lockToPlayerX; - // property 59 - bool m_lockToPlayerY; - // property 141 - bool m_lockToCameraX; - // property 142 - bool m_lockToCameraY; - // property 100 - bool m_useMoveTarget; - // property 101 - MoveTargetType m_moveTargetMode; - // property 143 - float m_moveModX; - // property 144 - float m_moveModY; - // property 393 - bool m_property393; - // property 394 - bool m_isDirectionFollowSnap360; // TODO: pls find a better name for this why rob - // property 395 - int m_targetModCenterID; - // property 396 - float m_directionModeDistance; - // property 397 - bool m_isDynamicMode; - // property 544 - bool m_isSilent; - PAD = android32 0x6; - // property 68 - float m_rotationDegrees; - // property 69 - int m_times360; - // property 70 - bool m_lockObjectRotation; - // property 401 - int m_rotationTargetID; - // property 402 - float m_rotationOffset; - // property 403 - EasingType m_dynamicModeEasing; - // property 72 - float m_followXMod; - // property 73 - float m_followYMod; - // property 90 - float m_followYSpeed; - // property 91 - float m_followYDelay; - // property 92 - int m_followYOffset; - // property 105 - float m_followYMaxSpeed; - // property 45 - float m_fadeInDuration; - // property 46 - float m_holdDuration; - // property 47 - float m_fadeOutDuration; - // property 48 - int m_pulseMode; - // property 52 - int m_pulseTargetType; - // property 49 - cocos2d::ccHSVValue m_hsvValue; - // property 50 - int m_copyColorID; - // property 60 - bool m_copyOpacity; - // property 65 - bool m_pulseMainOnly; - // property 66 - bool m_pulseDetailOnly; - // property 86 - bool m_pulseExclusive; - // property 210 - bool m_property210; - // property 56 - bool m_activateGroup; - // property 81 - bool m_touchHoldMode; - // property 82 - TouchToggleMode m_touchToggleMode; - // property 198 - int m_touchPlayerMode; // TODO: add enum - // property 89 - bool m_isDualMode; - // property 76 - int m_animationID; - PAD = android32 0x8; - // property 87 - bool m_isMultiActivate; - PAD = android32 0x2; - // property 93 - bool m_triggerOnExit; - // property 95 - int m_itemID2; - // property 534 - int m_property534; - PAD = android32 0x4; - // property 80 - int m_itemID; - // property 138 - bool m_targetPlayer1; - // property 200 - bool m_targetPlayer2; - // property 201 - bool m_followCPP; - // property 78 - bool m_subtractCount; - // property 381 - bool m_collectibleIsPickupItem; - // property 382 - bool m_collectibleIsToggleTrigger; - // property 440 - int m_collectibleParticleID; - // property 383 - int m_collectiblePoints; - // property 463 - bool m_hasNoAnimation; - PAD = android32 0x1f; - // property 148 - float m_gravityValue; - // property 284 - bool m_isSinglePTouch; - PAD = android32 0x3; - // property 371 - float m_zoomValue; - // property 111 - bool m_cameraIsFreeMode; - // property 112 - bool m_cameraEditCameraSettings; - // property 113 - float m_cameraEasingValue; - // property 114 - float m_cameraPaddingValue; - // property 370 - bool m_cameraDisableGridSnap; - // property 118 - bool m_property118; - // property 120 - float m_timeWarpTimeMod; - // property 13 - bool m_showGamemodeBorders; - // property 115 - int m_ordValue; - // property 170 - int m_channelValue; - // property 117 - bool m_isReverse; - PAD = android32 0xb; - // property 12 - int m_secretCoinID; - PAD = android32 0x1c; - // property 280 - bool m_ignoreGroupParent; - // property 281 - bool m_ignoreLinkedObjects; - PAD = android32 0x1; -} - -[[link(android)]] -class EffectManagerState { - // ~EffectManagerState(); - // EffectManagerState(); -} - -[[link(android)]] -class EndLevelLayer : GJDropDownLayer { - // virtual ~EndLevelLayer(); - - static EndLevelLayer* create(); - - TodoReturn coinEnterFinished(cocos2d::CCPoint); - TodoReturn coinEnterFinishedO(cocos2d::CCObject*); - TodoReturn currencyEnterFinished(); - TodoReturn diamondEnterFinished(); - TodoReturn getCoinString(); - TodoReturn getEndText() = win 0xea380; - TodoReturn goEdit(); - void onEdit(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender) = win 0xe8f00; - void onReplay(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(float); - TodoReturn playCurrencyEffect(float); - TodoReturn playDiamondEffect(float); - TodoReturn playEndEffect(); - void playStarEffect(float); - TodoReturn starEnterFinished(); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class EndPortalObject : GameObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create() = win 0xeb150; - - TodoReturn getSpawnPos() = win 0xeb750; - TodoReturn triggerObject(GJBaseGameLayer*) = win 0xeb6d0; - TodoReturn updateColors(cocos2d::ccColor3B) = win 0xeb5c0; - TodoReturn updateEndPos(bool) = win 0xeb930; - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); -} - -[[link(android)]] -class EndTriggerGameObject : EffectGameObject { - // virtual ~EndTriggerGameObject(); - - static EndTriggerGameObject* create(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnhancedGameObject : GameObject { - // virtual ~EnhancedGameObject(); - // EnhancedGameObject(); - - static EnhancedGameObject* create(char const*); - - TodoReturn createRotateAction(float, int); - bool init(char const*); - TodoReturn previewAnimateOnTrigger(); - TodoReturn refreshRotateAction(); - TodoReturn resetSyncedAnimation(); - TodoReturn setupAnimationVariables(); - TodoReturn triggerAnimation(); - TodoReturn updateRotateAction(float); - TodoReturn updateState(int); - TodoReturn updateUserCoin() = win 0x1473b0; - TodoReturn waitForAnimationTrigger(); - - virtual TodoReturn customSetup(); - virtual TodoReturn resetObject() = win 0x145510; - virtual TodoReturn deactivateObject(bool); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn powerOnObject(int); - virtual TodoReturn powerOffObject(); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - PAD = android32 0x25; - - bool m_hasCustomAnimation; - bool m_hasCustomRotation; - // property 98 - bool m_disableRotation; - PAD = android32 0x3; - - // property 97 - float m_rotationSpeed; - PAD = android32 0xc; - - // property 106 - bool m_animationRandomizedStart; - // property 107 - float m_animationSpeed; - // property 122 - bool m_animationShouldUseSpeed; - // property 123 - bool m_animateOnTrigger; - // property 126 - bool m_disableDelayedLoop; - // property 127 - bool m_disableAnimShine; - // property 462 - int m_singleFrame; - // property 592 - bool m_animationOffset; - PAD = android32 0xf; - - // property 214 - bool m_animateOnlyWhenActive; - // property 444 - bool m_isNoMultiActivate; // used in platformer stuff - // property 99 - bool m_isMultiActivate; - PAD = android32 0x4; -} - -[[link(android)]] -class EnhancedTriggerObject : EffectGameObject { - // virtual ~EnhancedTriggerObject(); - - static EnhancedTriggerObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectInstance { - // ~EnterEffectInstance(); - // EnterEffectInstance(EnterEffectInstance const&); - // EnterEffectInstance(EnterEffectInstance&&); - EnterEffectInstance(EnterEffectObject*, int, int, int, int, int, int); - - TodoReturn animateValue(int, float, float, float, int, float, int); - TodoReturn getValue(int); - TodoReturn loadTransitions(EnterEffectObject*, float); - TodoReturn loadValuesFromObject(EnterEffectObject*); - void setValue(int, float); - TodoReturn updateTransitions(float, GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectObject : EffectGameObject { - // virtual ~EnterEffectObject(); - - static EnterEffectObject* create(char const*); - - bool init(char const*); - TodoReturn resetEnterAnimValues(); - - virtual TodoReturn customSetup(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EventLinkTrigger : EffectGameObject { - // virtual ~EventLinkTrigger(); - - static EventLinkTrigger* create(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ExplodeItemNode : cocos2d::CCNode { - // virtual ~ExplodeItemNode(); - - static ExplodeItemNode* create(cocos2d::CCRenderTexture*); - - TodoReturn createSprites(int, int, float, float, float, float, float, float, cocos2d::ccColor4F, cocos2d::ccColor4F, bool); - bool init(cocos2d::CCRenderTexture*); - - virtual void update(float); -} - -[[link(android)]] -class ExplodeItemSprite : cocos2d::CCSprite { - // virtual ~ExplodeItemSprite(); - - static ExplodeItemSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ExtendedLayer : cocos2d::CCLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create(); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); -} - -[[link(android)]] -class FileOperation { - TodoReturn getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class FileSaveManager : GManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual TodoReturn firstLoad(); -} - -[[link(android)]] -class FindBPMLayer : CreateGuidelinesLayer { - // virtual ~FindBPMLayer(); - - static FindBPMLayer* create(int); - - TodoReturn calculateBPM(); - bool init(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender); - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class FindObjectPopup : SetIDPopup { - // virtual ~FindObjectPopup(); - - static FindObjectPopup* create(); - - void onFindObjectID(cocos2d::CCObject* sender); - - virtual bool init(); -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - // virtual ~FLAlertLayer(); - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - m_forcePrioRegistered = false; - } - - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30da0; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float) = win 0x30cf0; - static FLAlertLayer* create(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*) = win 0x30c40; - - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - TodoReturn incrementForcePrio(); - bool init(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30F60; - bool init(int) = win 0x30ea0; - void onBtn1(cocos2d::CCObject* sender) = win 0x31ab0; - void onBtn2(cocos2d::CCObject* sender) = win 0x31af0; - - // virtual void onEnter(); // only exists on armv7... - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31b30; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c80; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31bc0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c30; - virtual void registerWithTouchDispatcher() = win 0x31e60; - virtual void keyBackClicked() = win 0x31a10; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x319a0; - virtual void show() = win 0x31cd0; - - cocos2d::CCMenu* m_buttonMenu; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_controlConnected; - bool m_containsBorder; - bool m_noAction; - int m_joystickConnected; - bool m_forcePrioRegistered; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - // virtual ~FMODAudioEngine(); - // FMODAudioEngine() = win 0x32460; - - static FMODAudioEngine* sharedEngine() = win 0x32bf0; - - TodoReturn activateQueuedMusic(int); - TodoReturn channelForChannelID(int); - TodoReturn channelForUniqueID(int); - TodoReturn channelIDForUniqueID(int); - TodoReturn channelLinkSound(int, FMODSound*); - TodoReturn channelStopped(FMOD::Channel*, bool); - TodoReturn channelUnlinkSound(int); - TodoReturn clearAllAudio(); - TodoReturn countActiveEffects(); - TodoReturn countActiveMusic(); - TodoReturn createStream(gd::string) = win 0x3aea0; - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeInBackgroundMusic(float); - TodoReturn fadeInMusic(float, int) = win 0x3a740; - TodoReturn fadeOutMusic(float, int); - TodoReturn getActiveMusic(int) = win 0x3a940; - TodoReturn getActiveMusicChannel(int); - TodoReturn getBackgroundMusicVolume(); - TodoReturn getChannelGroup(int, bool) = win 0x35240; - TodoReturn getEffectsVolume(); - TodoReturn getFMODStatus(int) = win 0x3b0f0; - TodoReturn getMeteringValue(); - TodoReturn getMusicChannelID(int); - TodoReturn getMusicLengthMS(int) = win 0x3a570; - TodoReturn getMusicTime(int); - TodoReturn getMusicTimeMS(int); - TodoReturn getNextChannelID(); - TodoReturn getTweenContainer(AudioTargetType); - bool isChannelStopping(int); - bool isEffectLoaded(gd::string); - bool isMusicPlaying(gd::string, int); - bool isMusicPlaying(int); - bool isSoundReady(FMOD::Sound*); - TodoReturn lengthForSound(gd::string); - TodoReturn loadAndPlayMusic(gd::string, unsigned int, int); - TodoReturn loadAudioState(FMODAudioState&) = win 0x34000; - TodoReturn loadMusic(gd::string, float, float, float, bool, int, int); - TodoReturn loadMusic(gd::string); - TodoReturn pauseAllAudio(); - TodoReturn pauseAllEffects(); - TodoReturn pauseAllMusic() = win 0x38350; - TodoReturn pauseEffect(unsigned int); - TodoReturn pauseMusic(int); - TodoReturn pitchForIdx(int) = win 0x350e0; - TodoReturn playEffect(gd::string, float, float, float); - TodoReturn playEffect(gd::string); - TodoReturn playEffectAdvanced(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, bool, int, int, float, int) = win 0x357b0; - TodoReturn playEffectAsync(gd::string); - TodoReturn playMusic(gd::string, bool, float, int); - TodoReturn preloadEffect(gd::string) = win 0x37a10; - TodoReturn preloadEffectAsync(gd::string); - TodoReturn preloadMusic(gd::string, bool, int); - TodoReturn printResult(FMOD_RESULT); - TodoReturn queuedEffectFinishedLoading(gd::string) = win 0x391f0; - TodoReturn queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int); - TodoReturn queueStartMusic(gd::string, float, float, float, bool, int, int, int, int, int, bool, int, bool); - TodoReturn registerChannel(FMOD::Channel*, int, int) = win 0x36410; - TodoReturn releaseRemovedSounds(); - TodoReturn resumeAllAudio(); - TodoReturn resumeAllEffects(); - TodoReturn resumeAllMusic() = win 0x383a0; - TodoReturn resumeAudio(); - TodoReturn resumeEffect(unsigned int); - TodoReturn resumeMusic(int); - TodoReturn reverbToString(FMODReverbPreset); - TodoReturn saveAudioState(FMODAudioState&) = win 0x33b80; - void setBackgroundMusicVolume(float); - void setChannelPitch(int, AudioTargetType, float) = win 0x378b0; - void setChannelVolume(int, AudioTargetType, float); - void setChannelVolumeMod(int, AudioTargetType, float); - void setEffectsVolume(float); - void setMusicTimeMS(unsigned int, bool, int) = win 0x3a3f0; - TodoReturn setup() = win 0x32c70; - TodoReturn setupAudioEngine() = win 0x32f90; - TodoReturn start() = win 0x33830; - TodoReturn startMusic(int, int, int, int, bool, int); - TodoReturn stop() = win 0x5b630; - void stopAllEffects() = win 0x37f90; - void stopAllMusic(); - TodoReturn stopAndGetFade(FMOD::Channel*); - TodoReturn stopAndRemoveMusic(int); - TodoReturn stopChannel(FMOD::Channel*, bool, float); - TodoReturn stopChannel(int, AudioTargetType, bool, float); - TodoReturn stopChannel(int); - TodoReturn stopChannelTween(int, AudioTargetType, AudioModType); - TodoReturn stopChannelTweens(int, AudioTargetType); - TodoReturn stopMusic(int); - TodoReturn stopMusicNotInSet(std::unordered_set, std::equal_to, std::allocator >&); - TodoReturn storeEffect(FMOD::Sound*, gd::string) = win 0x37c00; - TodoReturn swapMusicIndex(int, int); - TodoReturn testFunction(int); - TodoReturn triggerQueuedMusic(FMODQueuedMusic) = win 0x39800; - TodoReturn unloadAllEffects() = win 0x38130; - TodoReturn unloadEffect(gd::string); - TodoReturn unregisterChannel(int); - TodoReturn updateBackgroundFade(); - TodoReturn updateChannel(int, AudioTargetType, AudioModType, float, float) = win 0x37200; - TodoReturn updateChannelTweens(float) = win 0x34dd0; - TodoReturn updateMetering(); - TodoReturn updateQueuedEffects() = win 0x39120; - TodoReturn updateQueuedMusic(); - TodoReturn updateReverb(FMODReverbPreset, bool) = win 0x33220; - TodoReturn updateTemporaryEffects(); - TodoReturn waitUntilSoundReady(FMOD::Sound*); - - virtual void update(float) = win 0x33980; - - PAD = win 0x88, android32 0x7c, android64 0xdc; - FMOD::System* m_system; -} - -[[link(android)]] -class FMODAudioState { - // ~FMODAudioState(); - // FMODAudioState(); -} - -[[link(android)]] -class FMODLevelVisualizer : cocos2d::CCNode { - // virtual ~FMODLevelVisualizer(); - - static FMODLevelVisualizer* create(); - - TodoReturn updateVisualizer(float, float, float); - - virtual bool init(); -} - -[[link(android)]] -class FollowRewardPage : FLAlertLayer, FLAlertLayerProtocol, GameRateDelegate, RewardedVideoDelegate { - // virtual ~FollowRewardPage(); - - static FollowRewardPage* create(); - - void onClose(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class FontObject : cocos2d::CCObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class ForceBlockGameObject : EffectGameObject { - // virtual ~ForceBlockGameObject(); - - static ForceBlockGameObject* create(char const*); - - TodoReturn calculateForceToTarget(GameObject*); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class FRequestProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, FriendRequestDelegate { - // virtual ~FRequestProfilePage(); - - static FRequestProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool) = win 0xeefa0; - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestDelegate { - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestPopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~FriendRequestPopup(); - - static FriendRequestPopup* create(GJFriendRequest*); - - void blockUser(); - bool init(GJFriendRequest*); - void loadFromGJFriendRequest(GJFriendRequest*); - void onAccept(cocos2d::CCObject* sender); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - // virtual ~FriendsProfilePage(); - - static FriendsProfilePage* create(UserListType); - - bool init(UserListType) = win 0xf0a20; - void onBlocked(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupUsersBrowser(cocos2d::CCArray*, UserListType); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class GameCell : TableViewCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - void loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GameEffectsManager : cocos2d::CCNode { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - // virtual ~GameLevelManager(); - - static GameLevelManager* sharedState() = win 0xf3a10; - - void acceptFriendRequest(int, int); - int accountIDForUserID(int); - void addDLToActive(char const*); - bool areGauntletsLoaded(); - void banUser(int); - void blockUser(int); - void cleanupDailyLevels() = win 0xf96b0; - bool createAndGetAccountComments(gd::string, int); - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - cocos2d::CCArray* createAndGetLevelLists(gd::string); - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetMapPacks(gd::string); - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType); - TodoReturn createNewLevel(); - GJLevelList* createNewLevelList(); - TodoReturn createPageInfo(int, int, int); - GJSmartTemplate* createSmartTemplate(); - TodoReturn dataLoaded(DS_Dictionary*); - void deleteAccountComment(int, int); - void deleteComment(int, CommentType, int) = win 0x10a920; - void deleteFriendRequests(int, cocos2d::CCArray*, bool); - void deleteLevel(GJGameLevel*); - void deleteLevelComment(int, int); - void deleteLevelList(GJLevelList*); - void deleteSentFriendRequest(int); - void deleteServerLevel(int); - void deleteServerLevelList(int); - void deleteSmartTemplate(GJSmartTemplate*); - void deleteUserMessages(GJUserMessage*, cocos2d::CCArray*, bool); - void downloadLevel(int, bool) = win 0x100c20; - void downloadUserMessage(int, bool); - TodoReturn encodeDataTo(DS_Dictionary*) = win 0xfa210; - void firstSetup() = win 0x39e220; - void followUser(int); - GJFriendRequest* friendRequestFromAccountID(int); - void friendRequestWasRemoved(int, bool); - char const* getAccountCommentKey(int, int); - void getAccountComments(int, int, int); - int getActiveDailyID(GJTimedLevelType); - GJSmartTemplate* getActiveSmartTemplate(); - cocos2d::CCArray* getAllSmartTemplates(); - cocos2d::CCDictionary* getAllUsedSongIDs(); - TodoReturn getBasePostString() = win 0xfb5b0; - bool getBoolForKey(char const*) = win 0x111d40; - TodoReturn getCommentKey(int, int, int, CommentKeyType); - cocos2d::CCArray* getCompletedLevels(bool) = win 0xf77a0; - int getDailyID(GJTimedLevelType); - double getDailyTimer(GJTimedLevelType); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - char const* getDescKey(int); - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - char const* getDiffKey(int); - bool getDiffVal(int); - gd::string getFolderName(int, bool); - char const* getFriendRequestKey(bool, int); - void getFriendRequests(bool, int, int); - char const* getGauntletKey(int); - void getGauntletLevels(int) = win 0x100860; - void getGauntlets(); - void getGauntletsearchKey(int) = win 0x100080; - void getGJChallenges(); - void getGJDailyLevelState(GJTimedLevelType) = win 0x110670; - void getGJRewards(int); - void getGJUserInfo(int) = win 0x106790; - int getHighestLevelOrder(); - int getIntForKey(char const*); - void getLeaderboardScores(char const*); - gd::string getLengthStr(bool, bool, bool, bool, bool, bool); - char const* getLenKey(int); - bool getLenVal(int); - void getLevelComments(int, int, int, int, CommentKeyType); - char const* getLevelDownloadKey(int, bool); - char const* getLevelKey(int); - void getLevelLeaderboard(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x1053A0; - char const* getLevelLeaderboardKey(int, LevelLeaderboardType, LevelLeaderboardMode); - char const* getLevelListKey(int); - void getLevelLists(GJSearchObject*) = win 0xff800; - void getLevelSaveData(); - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - char const* getLikeItemKey(LikeItemType, int, bool, int); - GJGameLevel* getLocalLevel(int); - GJGameLevel* getLocalLevelByName(gd::string); - GJLevelList* getAllUsedSongIDs(int); - int getLowestLevelOrder(); - TodoReturn getMainLevel(int, bool) = win 0xf4d60; - char const* getMapPackKey(int); - void getMapPacks(GJSearchObject*); - char const* getMessageKey(int); - char const* getMessagesKey(bool, int); - void getNews(); - int getNextFreeTemplateID(); - gd::string getNextLevelName(gd::string); - void getOnlineLevels(GJSearchObject*) = win 0xfccb0; - char const* getPageInfo(char const*); - char const* getPostCommentKey(int); - char const* getRateStarsKey(int); - char const* getReportKey(int); - TodoReturn getSavedDailyLevel(int); - GJGameLevel* getSavedDailyLevelFromLevelID(int); - GJMapPack* getSavedGauntlet(int) = win 0x100a40; - GJGameLevel* getSavedGauntletLevel(int); - TodoReturn getSavedLevel(GJGameLevel*) = win 0xf7e00; - TodoReturn getSavedLevel(int) = win 0xf7e00; - GJLevelList* getSavedLevelList(int); - cocos2d::CCArray* getSavedLevelLists(int); - TodoReturn getSavedLevels(bool, int) = win 0xf7350; - TodoReturn getSavedMapPack(int); - cocos2d::CCScene* getSearchScene(char const*); - int getSplitIntFromKey(char const*, int); - TodoReturn getStoredLevelComments(char const*); - cocos2d::CCArray* getStoredOnlineLevels(char const*) = win 0xf8940; - cocos2d::CCArray* getStoredUserList(UserListType); - GJUserMessage* getStoredUserMessage(int); - GJUserMessage* getStoredUserMessageReply(int); - double getTimeLeft(char const*, float); - void getTopArtists(int, int); - char const* getTopArtistsKey(int); - char const* getUploadMessageKey(int); - char const* getUserInfoKey(int); - void getUserList(UserListType); - void getUserMessages(bool, int, int); - void getUsers(GJSearchObject*); - void gotoLevelPage(GJGameLevel*); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0xf3ea0; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool hasDailyStateBeenLoaded(GJTimedLevelType); - bool hasDownloadedLevel(int); - bool hasDownloadedList(int); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - bool hasLikedItem(LikeItemType, int, bool, int); - bool hasLikedItemFullCheck(LikeItemType, int, int) = win 0x10ed10; - bool hasRatedDemon(int); - bool hasRatedLevelStars(int); - bool hasReportedLevel(int); - void invalidateMessages(bool, bool) = win 0x107ff0; - void invalidateRequests(bool, bool) = win 0x10db50; - void invalidateUserList(UserListType, bool); - bool isDLActive(char const*); - bool isFollowingUser(int) = win 0xf9920; - bool isTimeValid(char const*, float); - bool isUpdateValid(int); - int itemIDFromLikeKey(char const*); - bool keyHasTimer(char const*); - int levelIDFromCommentKey(char const*); - int levelIDFromPostCommentKey(char const*); - int likeFromLikeKey(char const*); - void likeItem(LikeItemType, int, bool, int); - TodoReturn limitSavedLevels() = win 0xf9220; - void makeTimeStamp(char const*) = win 0xf8d80; - void markItemAsLiked(LikeItemType, int, bool, int); - void markLevelAsDownloaded(int); - void markLevelAsRatedDemon(int); - void markLevelAsRatedStars(int); - void markLevelAsReported(int); - void markListAsDownloaded(int); - void messageWasRemoved(int, bool); - TodoReturn onAcceptFriendRequestCompleted(gd::string, gd::string); - TodoReturn onBanUserCompleted(gd::string, gd::string); - TodoReturn onBlockUserCompleted(gd::string, gd::string); - TodoReturn onDeleteCommentCompleted(gd::string, gd::string) = win 0x10ac70; - TodoReturn onDeleteFriendRequestCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelCompleted(gd::string, gd::string); - TodoReturn onDeleteServerLevelListCompleted(gd::string, gd::string) = win 0xff690; - TodoReturn onDeleteUserMessagesCompleted(gd::string, gd::string); - TodoReturn onDownloadLevelCompleted(gd::string, gd::string); - TodoReturn onDownloadUserMessageCompleted(gd::string, gd::string); - TodoReturn onGetAccountCommentsCompleted(gd::string, gd::string); - TodoReturn onGetFriendRequestsCompleted(gd::string, gd::string); - TodoReturn onGetGauntletsCompleted(gd::string, gd::string) = win 0x100260; - TodoReturn onGetGJChallengesCompleted(gd::string, gd::string); - TodoReturn onGetGJDailyLevelStateCompleted(gd::string, gd::string) = win 0x110870; - TodoReturn onGetGJRewardsCompleted(gd::string, gd::string); - TodoReturn onGetGJUserInfoCompleted(gd::string, gd::string) = win 0x1068f0; - TodoReturn onGetLeaderboardScoresCompleted(gd::string, gd::string); - TodoReturn onGetLevelCommentsCompleted(gd::string, gd::string); - TodoReturn onGetLevelLeaderboardCompleted(gd::string, gd::string); - TodoReturn onGetLevelListsCompleted(gd::string, gd::string) = win 0xff9f0; - TodoReturn onGetLevelSaveDataCompleted(gd::string, gd::string); - TodoReturn onGetMapPacksCompleted(gd::string, gd::string) = win 0xfe280; - TodoReturn onGetNewsCompleted(gd::string, gd::string) = win 0x108120; - TodoReturn onGetOnlineLevelsCompleted(gd::string, gd::string) = win 0xfd470; - TodoReturn onGetTopArtistsCompleted(gd::string, gd::string) = win 0x105f70; - TodoReturn onGetUserListCompleted(gd::string, gd::string); - TodoReturn onGetUserMessagesCompleted(gd::string, gd::string); - TodoReturn onGetUsersCompleted(gd::string, gd::string); - TodoReturn onLikeItemCompleted(gd::string, gd::string) = win 0x10e610; - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRateDemonCompleted(gd::string, gd::string); - TodoReturn onRateStarsCompleted(gd::string, gd::string); - TodoReturn onReadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onRemoveFriendCompleted(gd::string, gd::string); - TodoReturn onReportLevelCompleted(gd::string, gd::string); - TodoReturn onRequestUserAccessCompleted(gd::string, gd::string); - TodoReturn onRestoreItemsCompleted(gd::string, gd::string); - TodoReturn onSetLevelFeaturedCompleted(gd::string, gd::string); - TodoReturn onSetLevelStarsCompleted(gd::string, gd::string); - TodoReturn onSubmitUserInfoCompleted(gd::string, gd::string); - TodoReturn onSuggestLevelStarsCompleted(gd::string, gd::string); - TodoReturn onUnblockUserCompleted(gd::string, gd::string); - TodoReturn onUpdateDescriptionCompleted(gd::string, gd::string); - TodoReturn onUpdateLevelCompleted(gd::string, gd::string); - TodoReturn onUpdateUserScoreCompleted(gd::string, gd::string); - TodoReturn onUploadCommentCompleted(gd::string, gd::string) = win 0x10a160; - TodoReturn onUploadFriendRequestCompleted(gd::string, gd::string); - TodoReturn onUploadLevelCompleted(gd::string, gd::string) = win 0xfc3b0; - TodoReturn onUploadLevelListCompleted(gd::string, gd::string) = win 0xff320; - TodoReturn onUploadUserMessageCompleted(gd::string, gd::string); - int pageFromCommentKey(char const*); - void parseRestoreData(gd::string); - void performNetworkTest() = win 0xf3a90; - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = win 0xf3c00; - void processOnDownloadLevelCompleted(gd::string, gd::string, bool); - void purgeUnusedLevels(); - void rateDemon(int, int, bool); - void rateStars(int, int); - void readFriendRequest(int); - TodoReturn removeDelimiterChars(gd::string, bool); - TodoReturn removeDLFromActive(char const*); - void removeFriend(int); - void removeLevelDownloadedKeysFromDict(cocos2d::CCDictionary*); - void removeUserFromList(int, UserListType); - void reportLevel(int); - void requestUserAccess(); - TodoReturn resetAccountComments(int) = win 0x109030; - void resetAllTimers(); - void resetCommentTimersForLevelID(int, CommentKeyType) = win 0x10A6E0; - void resetDailyLevelState(GJTimedLevelType) = win 0x110d30; - void resetGauntlets(); - inline void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetStoredUserList(UserListType); - void resetTimerForKey(char const*); - cocos2d::CCDictionary* responseToDict(gd::string, bool); - void restoreItems(); - void saveFetchedLevelLists(cocos2d::CCArray*); - TodoReturn saveFetchedLevels(cocos2d::CCArray*); - void saveFetchedMapPacks(cocos2d::CCArray*); - void saveGauntlet(GJMapPack*); - void saveLevel(GJGameLevel*); - void saveLevelList(GJLevelList*); - void saveLocalScore(int, int, int); - void saveMapPack(GJMapPack*); - void setActiveSmartTemplate(GJSmartTemplate*); - void setBoolForKey(bool, char const*); - void setDiffVal(int, bool); - void setFolderName(int, gd::string, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int, bool); - void setLevelStars(int, int, bool); - int specialFromLikeKey(char const*); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void storeDailyLevelState(int, int, GJTimedLevelType); - void storeFriendRequest(GJFriendRequest*); - TodoReturn storeSearchResult(cocos2d::CCArray*, gd::string, char const*); - void storeUserInfo(GJUserScore*); - void storeUserMessage(GJUserMessage*); - void storeUserMessageReply(int, GJUserMessage*); - TodoReturn storeUserName(int, int, gd::string) = win 0xF6150; - void storeUserNames(gd::string); - void submitUserInfo(); - void suggestLevelStars(int, int, int); - gd::string tryGetUsername(int) = win 0xf6380; - CommentType typeFromCommentKey(char const*); - LikeItemType typeFromLikeKey(char const*); - void unblockUser(int); - void unfollowUser(int); - void updateDescription(int, gd::string); - void updateLevel(GJGameLevel*); - void updateLevelOrders() = win 0xf7600; - void updateLevelRewards(GJGameLevel*); - void updateSavedLevelList(GJLevelList*); - void updateUsernames(); - void updateUserScore() = win 0x103ab0; - void uploadAccountComment(gd::string) = win 0x1099d0; - void uploadComment(gd::string, CommentType, int, int) = win 0x109a70; - void uploadFriendRequest(int, gd::string) = win 0x10b440; - TodoReturn uploadLevel(GJGameLevel*) = win 0xfb760; - void uploadLevelComment(int, gd::string, int) = win 0x109940; - void uploadLevelList(GJLevelList*); - void uploadUserMessage(int, gd::string, gd::string); - int userIDForAccountID(int); - GJUserScore* userInfoForAccountID(int); - gd::string userNameForUserID(int) = win 0xf62a0; - void verifyLevelState(GJGameLevel*); - TodoReturn writeSpecialFilters(GJSearchObject*); - - virtual bool init(); - - PAD = win 0x8, android32 0x18, android64 0x30; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_GLM21; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - int m_eventTimeLeft; - int m_eventID; - int m_eventIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_unkDict24; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - LevelManagerDelegate* m_levelManagerDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - ListUploadDelegate* m_listUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - LevelListDeleteDelegate* m_levelListDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - void* m_unkDelegate; - /*UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - OnlineListDelegate* m_onlineListDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4;*/ -} - -[[link(android), depends(UIButtonConfig)]] -class GameManager : GManager { - // virtual ~GameManager(); - - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState() = win 0x121530; - - PlayLayer* getPlayLayer() { - return m_playLayer; - } - - LevelEditorLayer* getEditorLayer() { - return m_levelEditorLayer; - } - - GJBaseGameLayer* getGameLayer() { - return m_gameLayer; - } - - int getPlayerFrame() { - return m_playerFrame; - } - int getPlayerShip() { - return m_playerShip; - } - int getPlayerBall() { - return m_playerBall; - } - int getPlayerBird() { - return m_playerBird; - } - int getPlayerDart() { - return m_playerDart; - } - int getPlayerRobot() { - return m_playerRobot; - } - int getPlayerSpider() { - return m_playerSpider; - } - int getPlayerSwing() { - return m_playerSwing; - } - int getPlayerGlowColor() { - return m_playerGlowColor; - } - int getPlayerStreak() { - return m_playerStreak; - } - int getPlayerShipFire() { - return m_playerShipFire; - } - int getPlayerDeathEffect() { - return m_playerDeathEffect; - } - int getPlayerJetpack() { - return m_playerJetpack; - } - int getPlayerColor() { - return m_playerColor; - } - int getPlayerColor2() { - return m_playerColor2; - } - bool getPlayerGlow() { - return m_playerGlow; - } - void setPlayerFrame(int id) { - m_playerFrame = id; - } - void setPlayerShip(int id) { - m_playerShip = id; - } - void setPlayerBall(int id) { - m_playerBall = id; - } - void setPlayerBird(int id) { - m_playerBird = id; - } - void setPlayerDart(int id) { - m_playerDart = id; - } - void setPlayerRobot(int id) { - m_playerRobot = id; - } - void setPlayerSpider(int id) { - m_playerSpider = id; - } - void setPlayerSwing(int id) { - m_playerSwing = id; - } - void setPlayerColor3(int id) { - m_playerGlowColor = id; - } - void setPlayerStreak(int id) { - m_playerStreak = id; - } - void setPlayerShipStreak(int id) { - m_playerShipFire = id; - } - void setPlayerDeathEffect(int id) { - m_playerDeathEffect = id; - } - void setPlayerJetpack(int id) { - m_playerJetpack = id; - } - void setPlayerColor(int id) { - m_playerColor = id; - } - void setPlayerColor2(int id) { - m_playerColor2 = id; - } - void setPlayerGlow(bool v) { - m_playerGlow = v; - } - bool getGameVariableDefault(const char* key, bool defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->boolValue(); - } - int getIntGameVariableDefault(const char* key, int defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->intValue(); - } - - TodoReturn accountStatusChanged(); - TodoReturn activeIconForType(IconType); - TodoReturn addCustomAnimationFrame(int, int, gd::string, gd::string); - TodoReturn addDuplicateLastFrame(int); - TodoReturn addGameAnimation(int, int, float, gd::string, gd::string, int); - TodoReturn addIconDelegate(cocos2d::CCObject*, int); - TodoReturn addNewCustomObject(gd::string); - TodoReturn addToGJLog(cocos2d::CCString*); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground() = win 0x12ded0; - TodoReturn calculateBaseKeyForIcons(); - TodoReturn canShowRewardedVideo(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn checkUsedIcons(); - TodoReturn claimItemsResponse(gd::string); - TodoReturn clearGJLog(); - cocos2d::ccColor3B colorForIdx(int) = win 0x126080; - TodoReturn colorForPos(int); - TodoReturn colorKey(int, UnlockType); - TodoReturn completedAchievement(gd::string); - TodoReturn countForType(IconType); - TodoReturn defaultFrameForAnimation(int); - TodoReturn defaultYOffsetForBG2(int); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave() = win 0x12de10; - TodoReturn dpadConfigToString(UIButtonConfig&); - TodoReturn eventUnlockFeature(char const*); - TodoReturn fadeInMenuMusic() = win 0x1219e0; - TodoReturn fadeInMusic(gd::string); - TodoReturn finishedLoadingBGAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync(int); - TodoReturn finishedLoadingGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync2(cocos2d::CCObject*); - TodoReturn finishedLoadingIconAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync(int); - TodoReturn finishedLoadingMGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync2(cocos2d::CCObject*); - TodoReturn followTwitch(); - TodoReturn followTwitter(); - TodoReturn framesForAnimation(int); - TodoReturn frameTimeForAnimation(int); - TodoReturn generateSecretNumber(); - TodoReturn getBGTexture(int); - TodoReturn getFontFile(int); - TodoReturn getFontTexture(int); - bool getGameVariable(char const*) = win 0x128720; - TodoReturn getGTexture(int); - TodoReturn getIconRequestID(); - int getIntGameVariable(char const*) = win 0x128c70; - TodoReturn getMenuMusicFile(); - TodoReturn getMGTexture(int); - TodoReturn getNextUniqueObjectKey(); - TodoReturn getNextUsedKey(int, bool); - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn getPracticeMusicFile() = win 0x1217a0; - TodoReturn getUGV(char const*); - TodoReturn getUnlockForAchievement(gd::string, int&, UnlockType&); - TodoReturn groundHasSecondaryColor(int); - TodoReturn iconAndTypeForKey(int, int&, int&); - TodoReturn iconKey(int, IconType); - UnlockType iconTypeToUnlockType(IconType) = win 0x122080; - bool isColorUnlocked(int, UnlockType) = win 0x122480; - bool isIconLoaded(int, int); - bool isIconUnlocked(int, IconType) = win 0x121f80; - TodoReturn itemPurchased(char const*); - TodoReturn joinDiscord(); - TodoReturn joinReddit(); - TodoReturn keyForIcon(int, int); - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook(); - TodoReturn loadBackground(int); - TodoReturn loadBackgroundAsync(int); - TodoReturn loadDeathEffect(int); - TodoReturn loadDpadFromString(UIButtonConfig&, gd::string); - TodoReturn loadDPadLayout(int, bool); - TodoReturn loadFont(int); - TodoReturn loadGround(int); - TodoReturn loadGroundAsync(int); - TodoReturn loadIcon(int, int, int) = win 0x127430; - TodoReturn loadIconAsync(int, int, int, cocos2d::CCObject*); - TodoReturn loadMiddleground(int); - TodoReturn loadMiddlegroundAsync(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, UnlockType); - TodoReturn lockIcon(int, IconType); - TodoReturn logLoadedIconInfo(); - TodoReturn openEditorGuide(); - TodoReturn playMenuMusic(); - TodoReturn playSFXTrigger(SFXTriggerGameObject*) = win 0x121b30; - TodoReturn prepareDPadSettings(); - TodoReturn printGJLog(); - TodoReturn queueReloadMenu() = win 0x12e3e0; - TodoReturn rateGame(); - TodoReturn recountUserStats(gd::string); - TodoReturn reloadAll(bool, bool, bool) = win 0x12e4b0; - TodoReturn reloadAllStep2() = win 0x12e540; - TodoReturn reloadAllStep3() = win 0x12e6a0; - TodoReturn reloadAllStep4() = win 0x12e740; - TodoReturn reloadAllStep5(); - TodoReturn reloadMenu(); - TodoReturn removeCustomObject(int); - TodoReturn removeIconDelegate(int) = win 0x127360; - TodoReturn reorderKey(int, bool); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPercentageForLevel(int, int, bool) = win 0x122d40; - TodoReturn resetAchievement(gd::string); - TodoReturn resetAdTimer(); - TodoReturn resetAllIcons(); - TodoReturn resetCoinUnlocks(); - TodoReturn resetDPadSettings(bool); - TodoReturn resolutionForKey(int) = win 0x12e800; - TodoReturn returnToLastScene(GJGameLevel*) = win 0x12e110; - TodoReturn rewardedVideoAdFinished(int); - TodoReturn rewardedVideoHidden(); - TodoReturn rewardedVideoHiddenDelayed(); - TodoReturn safePopScene(); - TodoReturn saveAdTimer(); - TodoReturn saveDPadLayout(int, bool); - void setGameVariable(char const*, bool) = win 0x1284d0; - void setHasRatingPower(int); - void setIntGameVariable(char const*, int); - void setPlayerUserID(int); - void setUGV(char const*, bool) = win 0x1288c0; - TodoReturn setupGameAnimations(); - TodoReturn sheetNameForIcon(int, int); - TodoReturn shortenAdTimer(float); - TodoReturn shouldShowInterstitial(int, int, int); - TodoReturn showInterstitial(); - TodoReturn showInterstitialForced(); - TodoReturn showMainMenuAd(); - TodoReturn startUpdate(); - TodoReturn stringForCustomObject(int); - TodoReturn subYouTube(); - TodoReturn switchCustomObjects(int, int); - TodoReturn switchScreenMode(bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*); - TodoReturn tryCacheAd(); - TodoReturn tryShowInterstitial(int, int, int); - TodoReturn unloadBackground(); - TodoReturn unloadIcon(int, int, int); - TodoReturn unloadIcons(int) = win 0x127860; - TodoReturn unlockColor(int, UnlockType); - TodoReturn unlockedPremium(); - TodoReturn unlockIcon(int, IconType); - TodoReturn unlockTypeToIconType(int); - TodoReturn updateCustomFPS() = win 0x12ec60; - TodoReturn updateMusic(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual void update(float); - virtual bool init() = win 0x120770; - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - cocos2d::CCDictionary* m_unkAnimationDict; - cocos2d::CCDictionary* m_unkAnimationDict2; - cocos2d::CCDictionary* m_frameTimeForAnimation; - cocos2d::CCDictionary* m_framesForAnimation; - cocos2d::CCDictionary* m_defaultFrames; - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - bool m_vsyncEnabled; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - bool m_unkBool3; - int m_unkSize4_1; - double m_unkDouble2; - int m_unkSize4_2; - int m_unkSize4_3; - bool m_loaded; - bool m_googlePlaySignedIn; - gd::string m_unknownString; - int m_unkSize4_4; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - GJBaseGameLayer* m_gameLayer; - void* m_unkPtr; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - int m_playerUserID_a; - int m_playerUserID_b; - int m_playerUserID; - float m_bgVolume; - float m_sfxVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_clickedTwitch; - bool m_clickedDiscord_; - bool m_clickedReddit; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - bool m_searchObjectBool; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerSwing; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerGlowColor; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerShipFire; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueRSV m_playerJetpack; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - int m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_unkBool4; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - void* m_unkPtr2; - void* m_unkPtr3; - int m_unkSize4_5; - int m_unkSize4_6; - int m_unkSize4_7; - int m_unkSize4_8; - int m_loadedBgID; - int m_loadedGroundID; - int m_loadedMG; - int m_loadedFont; - int m_loadedDeathEffect; - bool m_loadingBG; - bool m_loadingG; - bool m_loadingG1; - bool m_finishedLoadingG1; - bool m_shouldLoadG1; - bool m_finishedLoadingMG1; - bool m_finishedLoadingMG2; - bool m_unkBool5; - int m_unkSize4_9; - int m_unkSize4_10; - int m_unkSize4_11; - int m_bootups; - bool m_hasRatedGame; - bool m_unkBool6; - bool m_shouldLoadUnlockValueKeeper; - bool m_unkBool7; - bool m_unkBool8; - geode::SeedValueRSV m_hasRP; - bool m_canGetLevelSaveData; - int m_resolution; - int m_texQuality; - bool m_somethingInMenuLayer; - void* m_unkPtr4; - bool m_unkBool9; - int m_unkSize4_12; - int m_unkSize4_13; - bool m_unkBool10; - int m_unkSize4_14; - bool m_disableThumbstick; - float m_customFPSTarget; - bool m_unkBool11; - int m_customMenuSongID; - int m_customPracticeSongID; - gd::map m_loadIcon; - gd::map> m_loadIcon2; - gd::map m_probablyIsIconLoaded; - void* m_somethingIconAndTypeForKey; - void* m_somethingKeyForIcon; - void* m_idk; - gd::map m_iconDelegates; - int m_iconRequestID; - cocos2d::CCArray* m_unkArray; - void* m_someAdPointer; - int m_unkSize4_15; - int m_unkSize4_16; - int m_unkSize4_17; - UIButtonConfig m_dpad1; - UIButtonConfig m_dpad2; - UIButtonConfig m_dpad3; - UIButtonConfig m_dpad4; - UIButtonConfig m_dpad5; - gd::string m_dpadLayout1; - gd::string m_dpadLayout2; - gd::string m_dpadLayout3; - gd::string m_dpadLayoutDual1; - gd::string m_dpadLayoutDual2; - gd::string m_dpadLayoutDual3; - int m_unkSize4_18; - int m_unkSize4_19; - int m_unkSize4_20; - bool m_unkBool12; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - // virtual ~GameObject(); - // GameObject() = win 0xeaad0; - - TodoReturn addColorSprite(gd::string); - TodoReturn addColorSpriteToParent(bool); - TodoReturn addColorSpriteToSelf(); - TodoReturn addCustomBlackChild(gd::string, float, bool); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addCustomColorChild(gd::string); - TodoReturn addEmptyGlow(); - TodoReturn addGlow(gd::string); - TodoReturn addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalCustomColorChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalGlowChild(gd::string, cocos2d::CCPoint); - TodoReturn addNewSlope01(bool); - TodoReturn addNewSlope01Glow(bool); - TodoReturn addNewSlope02(bool); - TodoReturn addNewSlope02Glow(bool); - TodoReturn addRotation(float, float); - TodoReturn addRotation(float); - TodoReturn addToColorGroup(int); - TodoReturn addToCustomScaleX(float); - TodoReturn addToCustomScaleY(float); - TodoReturn addToOpacityGroup(int); - TodoReturn addToTempOffset(double, double); - TodoReturn assignUniqueID(); - TodoReturn belongsToGroup(int); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canChangeMainColor(); - TodoReturn canChangeSecondaryColor(); - TodoReturn canRotateFree(); - TodoReturn colorForMode(int, bool) = win 0x142a50; - TodoReturn commonInteractiveSetup(); - TodoReturn commonSetup() = win 0x1310c0; - TodoReturn copyGroups(GameObject*); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x13b790; - TodoReturn createColorGroupContainer(int); - TodoReturn createGlow(gd::string); - TodoReturn createGroupContainer(int); - TodoReturn createOpacityGroupContainer(int); - TodoReturn createSpriteColor(int); - TodoReturn createWithFrame(char const*) = win 0x130fc0; - TodoReturn createWithKey(int) = win 0x130330; - TodoReturn deselectObject(); - TodoReturn destroyObject(); - TodoReturn determineSlopeDirection() = win 0x13d3c0; - TodoReturn didScaleXChange(); - TodoReturn didScaleYChange(); - TodoReturn dirtifyObjectPos(); - TodoReturn dirtifyObjectRect(); - TodoReturn disableObject(); - TodoReturn dontCountTowardsLimit(); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn duplicateColorMode(GameObject*); - TodoReturn duplicateValues(GameObject*); - TodoReturn editorColorForCustomMode(int); - TodoReturn editorColorForMode(int); - TodoReturn fastRotateObject(float); - TodoReturn getActiveColorForMode(int, bool) = win 0x142d30; - TodoReturn getBallFrame(int); - TodoReturn getBoundingRect(); - TodoReturn getBoxOffset(); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorIndex(); - TodoReturn getColorKey(bool, bool) = win 0x13df90; - TodoReturn getCustomZLayer(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getGroupDisabled(); - TodoReturn getGroupID(int); - TodoReturn getGroupString(); - TodoReturn getLastPosition(); - TodoReturn getMainColor(); - TodoReturn getMainColorMode(); - TodoReturn getObjectDirection(); - TodoReturn getObjectRadius(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectRectPointer(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - TodoReturn getOrientedRectDirty(); - TodoReturn getOuterObjectRect(); - TodoReturn getParentMode(); - TodoReturn getRelativeSpriteColor(int); - TodoReturn getScalePosDelta(); - TodoReturn getSecondaryColor(); - TodoReturn getSecondaryColorMode(); - TodoReturn getSlopeAngle(); - TodoReturn getStartPos(); - TodoReturn getType(); - TodoReturn getUnmodifiedPosition(); - TodoReturn groupColor(cocos2d::ccColor3B const&, bool); - TodoReturn groupOpacityMod() = win 0x13dd70; - TodoReturn groupWasDisabled(); - TodoReturn groupWasEnabled(); - TodoReturn hasSecondaryColor(); - TodoReturn ignoreEditorDuration(); - TodoReturn ignoreEnter(); - TodoReturn ignoreFade(); - bool init(char const*); - bool isBasicEnterEffect(int); - bool isBasicTrigger(); - bool isColorObject(); - bool isColorTrigger(); - bool isConfigurablePortal(); - bool isEditorSpawnableTrigger(); - bool isFacingDown() = win 0x142180; - bool isFacingLeft(); - bool isSettingsObject(); - bool isSpawnableTrigger(); - bool isSpecialObject(); - bool isSpeedObject() = win 0x143970; - bool isStoppableTrigger(); - bool isTrigger(); - TodoReturn loadGroupsFromString(gd::string); - TodoReturn makeInvisible(); - TodoReturn objectFromVector(gd::vector&, gd::vector&, GJBaseGameLayer*, bool) = win 0x13e420; - TodoReturn opacityModForMode(int, bool); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn perspectiveFrame(char const*, int); - TodoReturn playDestroyObjectAnim(GJBaseGameLayer*); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float, float, float, float, float, bool, float, float); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float); - TodoReturn playShineEffect(); - TodoReturn quickUpdatePosition(); - TodoReturn quickUpdatePosition2(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetColorGroups(); - TodoReturn resetGroupDisabled(); - TodoReturn resetGroups(); - TodoReturn resetMainColorMode(); - TodoReturn resetMID(); - TodoReturn resetMoveOffset(); - TodoReturn resetRScaleForced(); - TodoReturn resetSecondaryColorMode(); - void setAreaOpacity(float, float, int); - void setCustomZLayer(int); - void setDefaultMainColorMode(int); - void setDefaultSecondaryColorMode(int); - void setGlowOpacity(unsigned char); - void setLastPosition(cocos2d::CCPoint const&); - void setMainColorMode(int); - void setSecondaryColorMode(int); - TodoReturn setupColorSprite(int, bool); - TodoReturn setupPixelScale(); - TodoReturn setupSpriteSize(); - TodoReturn shouldBlendColor(GJSpriteColor*, bool) = win 0x133880; - TodoReturn shouldLockX(); - TodoReturn shouldNotHideAnimFreeze(); - TodoReturn shouldShowPickupEffects(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn spawnDefaultPickupParticle(GJBaseGameLayer*); - TodoReturn updateBlendMode() = win 0x13cf30; - TodoReturn updateCustomColorType(short); - TodoReturn updateCustomScaleX(float); - TodoReturn updateCustomScaleY(float); - TodoReturn updateHSVState(); - TodoReturn updateIsOriented() = win 0x141fe0; - TodoReturn updateMainColor(); - TodoReturn updateMainColorOnly(); - TodoReturn updateMainOpacity(); - TodoReturn updateObjectEditorColor(); - TodoReturn updateSecondaryColor(); - TodoReturn updateSecondaryColorOnly(); - TodoReturn updateSecondaryOpacity(); - TodoReturn updateStartPos(); - TodoReturn updateUnmodifiedPositions(); - TodoReturn usesFreezeAnimation(); - TodoReturn usesSpecialAnimation(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&) = win 0x13aa40; - virtual void setVisible(bool) = win 0x13b890; - virtual void setRotation(float) = win 0x13ac30; - virtual void setRotationX(float) = win 0x13ad30; - virtual void setRotationY(float) = win 0x13ae30; - virtual void setOpacity(unsigned char); - virtual bool initWithTexture(cocos2d::CCTexture2D*) = win 0x131080; - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual void firstSetup(); - virtual TodoReturn customSetup(); - virtual TodoReturn setupCustomSprites(gd::string) = win 0x14dda0; - virtual TodoReturn addMainSpriteToParent(bool) = win 0x13cf90; - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn activateObject(); - virtual TodoReturn deactivateObject(bool) = win 0x133790; - virtual TodoReturn transferObjectRect(cocos2d::CCRect&) = win 0x13a500; - virtual TodoReturn getObjectRect() = win 0x13a570; - virtual TodoReturn getObjectRect(float, float) = win 0x13a570; - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual TodoReturn getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual bool isFlipX(); - virtual bool isFlipY(); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual void setRRotation(float); - virtual TodoReturn triggerActivated(float); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual void setGlowColor(cocos2d::ccColor3B const&); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn selectObject(cocos2d::ccColor3B); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn updateOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - virtual void setObjectRectDirty(bool); - virtual void setOrientedRectDirty(bool); - virtual void setType(GameObjectType); - - PAD = android32 0xf, win 0xf; - - // property 511 - bool m_hasExtendedCollision; - PAD = android32 0x13, win 0x13; - - cocos2d::CCSprite* m_baseSprite; - cocos2d::CCSprite* m_detailSprite; - - PAD = android32 0x64, win 0x64; - - gd::string m_particleString; - - PAD = android32 0x1, win 0x1; - - // property 146 - bool m_particleUseObjectColor; - PAD = android32 0x3e, win 0x32; - - // property 108 - int m_linkedGroup; - PAD = android32 0x23, win 0x23; - - int m_uniqueID; - GameObjectType m_objectType; - - PAD = android32 0x14, win 0x14; - double m_realXPosition; - double m_realYPosition; - cocos2d::CCPoint m_startPosition; - PAD = android32 0x1, win 0x1; - - // property 372 - bool m_hasNoAudioScale; - PAD = android32 0x2a, win 0x2a; - - // property 343 - short m_enterChannel; - // property 446 - short m_objectMaterial; - PAD = android32 0x4, win 0x4; - - // property 96 - bool m_hasNoGlow; - - // property 23 - int m_targetColor; - - // property 1 - int m_objectID; - PAD = android32 0x8, win 0x8; - - // property 497 - short m_customColorType; - // property 67 - bool m_isDontEnter; - // property 64 - bool m_isDontFade; - // property 116 - bool m_hasNoEffects; - // property 507 - bool m_hasNoParticles; - PAD = android32 0x16, win 0x16; - - // property 53 - int m_property53; - PAD = android32 0x18, win 0x18; - - // property 21, also used with 41 and 43 - GJSpriteColor* m_baseColor; - // property 22, also used with 42 and 44 - GJSpriteColor* m_detailColor; - PAD = android32 0xc; - - // property 24 - ZLayer m_zLayer; - // property 25 - int m_zOrder; - PAD = android32 0x10, win 0x10; - - bool m_shouldUpdateColorSprite; // m_shouldUpdateColorSprite - PAD = android32 0x1, win 0x1; - - // property 34 - bool m_hasGroupParent; - // property 279 - bool m_hasAreaParent; - // property 128 - float m_scaleX; - // property 129 - float m_scaleY; - - // property 57 - std::array* m_groups; - // used with property 57 - short m_groupCount; - // used with property 274 - bool m_hasGroupParentsString; - PAD = android32 0xf, win 0xf; - - // property 20 - short m_editorLayer; - // property 61 - short m_editorLayer2; - PAD = android32 0x8, win 0x8; - - // property 121 - bool m_isNoTouch; - PAD = android32 0x2c, win 0x2c; - - // property 103 - bool m_isHighDetail; - PAD = android32 0x11, win 0x11; - - // property 134 - bool m_isPassable; - // property 135 - bool m_isHide; - // property 136 - bool m_isNonStickX; - // property 289 - bool m_isNonStickY; - // property 137 - bool m_isIceBlock; - // property 193 - bool m_isGripSlope; - // property 356 - bool m_isScaleStick; - // property 495 - bool m_isExtraSticky; - // property 496 - bool m_isDontBoostY; - // property 509 - bool m_isDontBoostX; - PAD = android32 0x11, win 0x11; - - // property 155 - int m_property155; - // property 156 - int m_property156; - - PAD = android32 0x12, win 0x26; // TODO: yeah someone pls fix windows pads -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*); - - bool init(GameObject*); - TodoReturn resetObject(); - - GameObject* m_object; -} - -[[link(android)]] -class GameObjectEditorState { - TodoReturn loadValues(GameObject*); -} - -[[link(android)]] -class GameOptionsLayer : GJOptionsLayer { - // virtual ~GameOptionsLayer(); - - static GameOptionsLayer* create(GJBaseGameLayer*); - - bool init(GJBaseGameLayer*); - void onPracticeMusicSync(cocos2d::CCObject* sender) = win 0x2137b0; - void onUIOptions(cocos2d::CCObject* sender); - TodoReturn showPracticeMusicSyncUnlockInfo() = win 0x2134a0; - - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class GameOptionsTrigger : EffectGameObject { - // virtual ~GameOptionsTrigger(); - - static GameOptionsTrigger* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GameRateDelegate { - virtual TodoReturn updateRate(); -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - // virtual ~GameStatsManager(); - - static GameStatsManager* sharedState() = win 0x167d90; - - TodoReturn accountIDForIcon(int, UnlockType); - TodoReturn addSimpleSpecialChestReward(gd::string, UnlockType, int, bool); - TodoReturn addSpecialRewardDescription(gd::string, gd::string); - TodoReturn addStoreItem(int, int, int, int, ShopType) = win 0x169f40; - TodoReturn areChallengesLoaded(); - TodoReturn areRewardsLoaded(); - TodoReturn awardCurrencyForLevel(GJGameLevel*) = win 0x172080; - TodoReturn awardDiamondsForLevel(GJGameLevel*) = win 0x1725a0; - TodoReturn awardSecretKey() = win 0x180040; - TodoReturn checkAchievement(char const*) = win 0x16b0b0; - TodoReturn checkCoinAchievement(GJGameLevel*); - TodoReturn checkCoinsForLevel(GJGameLevel*); - TodoReturn claimListReward(GJLevelList*); - TodoReturn collectReward(GJRewardType, GJRewardItem*); - TodoReturn collectVideoReward(int); - TodoReturn completedChallenge(GJChallengeItem*); - TodoReturn completedDailyLevel(GJGameLevel*); - TodoReturn completedDemonLevel(GJGameLevel*) = win 0x1700b0; - TodoReturn completedLevel(GJGameLevel*); - TodoReturn completedMapPack(GJMapPack*); - TodoReturn completedStarLevel(GJGameLevel*) = win 0x1701a0; - TodoReturn countSecretChests(GJRewardType); - TodoReturn countUnlockedSecretChests(GJRewardType); - TodoReturn createSecretChestItems(); - TodoReturn createSecretChestRewards(); - TodoReturn createSpecialChestItems(); - TodoReturn createStoreItems(); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*) = win 0x180630; - void firstSetup(); - TodoReturn generateItemUnlockableData(); - int getAwardedCurrencyForLevel(GJGameLevel*) = win 0x171eb0; - TodoReturn getAwardedDiamondsForLevel(GJGameLevel*); - TodoReturn getBaseCurrency(int, bool, int); - int getBaseCurrencyForLevel(GJGameLevel*) = win 0x171d90; - TodoReturn getBaseDiamonds(int); - TodoReturn getBonusDiamonds(int); - TodoReturn getChallenge(int); - TodoReturn getChallengeKey(GJChallengeItem*); - int getCollectedCoinsForLevel(GJGameLevel*) = win 0x16fa70; - TodoReturn getCompletedMapPacks(); - TodoReturn getCurrencyKey(GJGameLevel*) = win 0x171c70; - TodoReturn getDailyLevelKey(int); - TodoReturn getDemonLevelKey(GJGameLevel*) = win 0x16fcb0; - gd::string getGauntletRewardKey(int) = win 0x179d00; - TodoReturn getItemKey(int, int); - TodoReturn getItemUnlockState(int, UnlockType); - TodoReturn getItemUnlockStateLite(int, UnlockType); - gd::string getLevelKey(GJGameLevel*) = win 0x16fb10; - gd::string getLevelKey(int, bool, bool, bool) = win 0x16fb80; - TodoReturn getListRewardKey(GJLevelList*); - char const* getMapPackKey(int); - TodoReturn getNextVideoAdReward(); - TodoReturn getPathRewardKey(int); - TodoReturn getQueuedChallenge(int); - TodoReturn getRewardForSecretChest(int); - TodoReturn getRewardForSpecialChest(gd::string); - TodoReturn getRewardItem(GJRewardType); - TodoReturn getRewardKey(GJRewardType, int); - TodoReturn getSecondaryQueuedChallenge(int); - TodoReturn getSecretChestForItem(int, UnlockType); - TodoReturn getSecretCoinKey(char const*); - TodoReturn getSpecialChestKeyForItem(int, UnlockType); - TodoReturn getSpecialRewardDescription(gd::string, bool); - TodoReturn getSpecialUnlockDescription(int, UnlockType, bool); - TodoReturn getStarLevelKey(GJGameLevel*) = win 0x16fd10; - int getStat(char const*) = win 0x16adc0; - TodoReturn getStatFromKey(StatKey); - TodoReturn getStoreItem(int, int); - TodoReturn getStoreItem(int); - TodoReturn getTotalCollectedCurrency(); - TodoReturn getTotalCollectedDiamonds(); - TodoReturn hasClaimedListReward(GJLevelList*); - TodoReturn hasCompletedChallenge(GJChallengeItem*); - TodoReturn hasCompletedDailyLevel(int) = win 0x173de0; - TodoReturn hasCompletedDemonLevel(GJGameLevel*); - TodoReturn hasCompletedGauntletLevel(int); - bool hasCompletedLevel(GJGameLevel* level) { - return m_completedLevels->objectForKey(this->getLevelKey(level)) != nullptr; - } - TodoReturn hasCompletedMainLevel(int); - TodoReturn hasCompletedMapPack(int); - bool hasCompletedOnlineLevel(int); - TodoReturn hasCompletedStarLevel(GJGameLevel*); - TodoReturn hasPendingUserCoin(char const*); - TodoReturn hasRewardBeenCollected(GJRewardType, int); - TodoReturn hasSecretCoin(char const*); - TodoReturn hasUserCoin(char const*); - TodoReturn incrementActivePath(int) = win 0x16a4f0; - TodoReturn incrementChallenge(GJChallengeType, int) = win 0x173670; - TodoReturn incrementStat(char const*, int) = win 0x16a250; - TodoReturn incrementStat(char const*); - bool isGauntletChestUnlocked(int); - bool isItemEnabled(UnlockType, int) = win 0x1767f0; - bool isItemUnlocked(UnlockType, int) = win 0x176570; - bool isPathChestUnlocked(int); - bool isPathUnlocked(StatKey); - bool isSecretChestUnlocked(int); - bool isSecretCoin(gd::string); - bool isSecretCoinValid(gd::string); - bool isSpecialChestLiteUnlockable(gd::string); - bool isSpecialChestUnlocked(gd::string) = win 0x17a050; - bool isStoreItemUnlocked(int); - TodoReturn keyCostForSecretChest(int) = win 0x17a9b0; - TodoReturn logCoins(); - TodoReturn markLevelAsCompletedAndClaimed(GJGameLevel*); - TodoReturn postLoadGameStats(); - TodoReturn preProcessReward(GJRewardItem*); - TodoReturn preSaveGameStats(); - TodoReturn processChallengeQueue(int); - TodoReturn purchaseItem(int) = win 0x16a0f0; - TodoReturn recountSpecialStats(); - TodoReturn recountUserCoins(bool); - TodoReturn registerRewardsFromItem(GJRewardItem*); - TodoReturn removeChallenge(int); - TodoReturn removeErrorFromSpecialChests(); - TodoReturn removeQueuedChallenge(int); - TodoReturn removeQueuedSecondaryChallenge(int); - TodoReturn resetChallengeTimer(); - TodoReturn resetPreSync(); - TodoReturn resetSpecialStatAchievements(); - TodoReturn resetUserCoins(); - TodoReturn restorePostSync(); - void setAwardedBonusKeys(int); - void setStarsForMapPack(int, int); - void setStat(char const*, int) = win 0x16af10; - void setStatIfHigher(char const*, int); - TodoReturn setupIconCredits(); - TodoReturn shopTypeForItemID(int); - TodoReturn shouldAwardSecretKey(); - TodoReturn starsForMapPack(int); - TodoReturn storeChallenge(int, GJChallengeItem*); - TodoReturn storeChallengeTime(int); - TodoReturn storePendingUserCoin(char const*); - TodoReturn storeQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeRewardState(GJRewardType, int, int, gd::string); - TodoReturn storeSecondaryQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeSecretCoin(char const*); - TodoReturn storeUserCoin(char const*); - TodoReturn tempClear(); - TodoReturn toggleEnableItem(UnlockType, int, bool) = win 0x176890; - TodoReturn trySelectActivePath(); - TodoReturn uncompleteLevel(GJGameLevel*); - TodoReturn unlockGauntletChest(int); - TodoReturn unlockPathChest(int); - TodoReturn unlockSecretChest(int) = win 0x17a8a0; - TodoReturn unlockSpecialChest(gd::string) = win 0x17a130; - TodoReturn updateActivePath(StatKey); - TodoReturn usernameForAccountID(int) = win 0x15e830; - TodoReturn verifyUserCoins(); - - virtual bool init(); - - bool m_unkBool; - bool m_unkBool2; - bool m_usePlayerStatsCCDictionary; - cocos2d::CCString* m_trueString; - cocos2d::CCDictionary* m_allStoreItems; - cocos2d::CCDictionary* m_storeItems; - cocos2d::CCDictionary* m_allTreasureRoomChests; - cocos2d::CCDictionary* m_allTreasureRoomChestItems; - cocos2d::CCDictionary* m_allSpecialChests; - cocos2d::CCDictionary* m_allSpecialChestItems; - gd::map m_specialRewardDescriptions; - gd::map m_createSpecialChestItemsMap; - PAD = win 0x30; //everything before this pad is untested - cocos2d::CCDictionary* m_specialChestsLite; - cocos2d::CCArray* m_storeItemArray; - cocos2d::CCDictionary* m_rewardItems; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - double m_challengeTime; - cocos2d::CCDictionary* m_playerStats; - gd::map m_playerStatsRandMap; - gd::map m_playerStatsSeedMap; - PAD = win 0x30; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_completedLists; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; - cocos2d::CCDictionary* m_enabledItems; - bool m_unkBoolIncrementStat; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_unlockedItems; - gd::map m_accountIDForIcon; - gd::map m_usernameForAccountID; - bool m_GS29; - int m_activePath; -} - -[[link(android)]] -class GameToolbox { - static TodoReturn addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*); - static TodoReturn addRThumbScrollButton(cocos2d::CCLayer*); - static TodoReturn alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint, bool); - static TodoReturn alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn bounceTime(float); - static TodoReturn colorToSepia(cocos2d::ccColor3B, float); - static TodoReturn contentScaleClipRect(cocos2d::CCRect&); - static TodoReturn createHashString(gd::string const&, int); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCArray*) = win 0x40f80; - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int, cocos2d::CCArray*) = win 0x41080; - static TodoReturn doWeHaveInternet(); - static TodoReturn easeToText(int); - static TodoReturn fast_rand_0_1(); - static TodoReturn fast_rand_minus1_1(); - static TodoReturn fast_rand(); - static TodoReturn fast_srand(unsigned long); - static TodoReturn gen_random(int); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getEasedAction(cocos2d::CCActionInterval*, int, float); - static TodoReturn getEasedValue(float, int, float); - static TodoReturn getfast_srand(); - static TodoReturn getInvertedEasing(int); - static TodoReturn getLargestMergedIntDicts(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn getMultipliedHSV(cocos2d::ccHSVValue const&, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*); - static TodoReturn getTimeString(int); - static TodoReturn hsvFromString(gd::string const&, char const*); - static TodoReturn intToShortString(int); - static TodoReturn intToString(int) = win 0x453a0; - static bool isIOS(); - static bool isRateEasing(int); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn mergeDictsSkipConflict(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn msToTimeString(int, int); - static TodoReturn multipliedColorValue(cocos2d::ccColor3B, cocos2d::ccColor3B, float) = win 0x41d80; - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn particleFromString(gd::string const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleFromStruct(cocos2d::ParticleStruct const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleStringToStruct(gd::string const&, cocos2d::ParticleStruct&) = win 0x43ae0; - static TodoReturn pointsToString(int); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect) = win 0x40f00; - static TodoReturn preVisitWithClipRect(cocos2d::CCRect); - static TodoReturn saveParticleToString(cocos2d::CCParticleSystemQuad*); - static TodoReturn saveStringToFile(gd::string const&, gd::string const&); - static TodoReturn stringFromHSV(cocos2d::ccHSVValue, char const*); - static TodoReturn stringSetupToDict(gd::string const&, char const*); - static TodoReturn stringSetupToMap(gd::string const&, char const*, gd::map&); - static TodoReturn strongColor(cocos2d::ccColor3B) = win 0x425e0; - static TodoReturn timestampToHumanReadable(long); - static TodoReturn transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue) = win 0x41b20; - static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float); -} - -[[link(android)]] -class GauntletLayer : cocos2d::CCLayer, LevelManagerDelegate { - // virtual ~GauntletLayer(); - - static GauntletLayer* create(GauntletType); - - bool init(GauntletType) = win 0x186cf0; - void onBack(cocos2d::CCObject* sender); - void onLevel(cocos2d::CCObject* sender); - TodoReturn scene(GauntletType); - TodoReturn setupGauntlet(cocos2d::CCArray*); - TodoReturn unlockActiveItem(); - - virtual void keyBackClicked(); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); -} - -[[link(android)]] -class GauntletNode : cocos2d::CCNode { - // virtual ~GauntletNode(); - - static GauntletNode* create(GJMapPack*); - - TodoReturn frameForType(GauntletType); - bool init(GJMapPack*) = win 0x188740; - TodoReturn nameForType(GauntletType); - TodoReturn onClaimReward() = win 0x189b00; -} - -[[link(android)]] -class GauntletSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, LevelManagerDelegate { - // virtual ~GauntletSelectLayer(); - - static GauntletSelectLayer* create(int); - - TodoReturn goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender) = win 0x188270; - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender) = win 0x1882e0; - void onPrev(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender) = win 0x187770; - TodoReturn scene(int); - TodoReturn setupGauntlets() = win 0x187b90; - TodoReturn unblockPlay(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); -} - -[[link(android)]] -class GauntletSprite : cocos2d::CCNode { - // virtual ~GauntletSprite(); - - static GauntletSprite* create(GauntletType, bool); - - TodoReturn addLockedSprite(); - TodoReturn addNormalSprite(); - TodoReturn colorForType(GauntletType); - bool init(GauntletType, bool); - TodoReturn luminanceForType(GauntletType); - TodoReturn toggleLockedSprite(bool); -} - -[[link(android)]] -class GhostTrailEffect : cocos2d::CCNode { - // virtual ~GhostTrailEffect(); - - static GhostTrailEffect* create(); - - TodoReturn doBlendAdditive(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - // virtual ~GJAccountManager(); - - static GJAccountManager* sharedState() = win 0x18a510; - - void addDLToActive(char const*, cocos2d::CCObject*) = win 0x18aba0; - void addDLToActive(char const*); - bool backupAccount(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - void getAccountBackupURL(); - void getAccountSyncURL(); - cocos2d::CCObject* getDLObject(char const*); - gd::string getShaPassword(gd::string); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - void linkToAccount(gd::string, gd::string, int, int); - void loginAccount(gd::string, gd::string); - TodoReturn onBackupAccountCompleted(gd::string, gd::string); - TodoReturn onGetAccountBackupURLCompleted(gd::string, gd::string); - TodoReturn onGetAccountSyncURLCompleted(gd::string, gd::string); - TodoReturn onLoginAccountCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onRegisterAccountCompleted(gd::string, gd::string); - TodoReturn onSyncAccountCompleted(gd::string, gd::string); - TodoReturn onUpdateAccountSettingsCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string); - TodoReturn removeDLFromActive(char const*); - bool syncAccount(gd::string); - void unlinkFromAccount(); - void updateAccountSettings(int, int, int, gd::string, gd::string, gd::string) = win 0x18cc30; - - virtual bool init(); - - cocos2d::CCDictionary* m_activeDownloads; - gd::string m_username; - int m_accountID; - int m_unkInt1; - int m_unkInt2; - gd::string m_GJP2; - GJAccountRegisterDelegate* m_accountRegisterDelegate; - GJAccountLoginDelegate* m_accountLoginDelegate; - GJAccountDelegate* m_accountDelegate; - GJAccountBackupDelegate* m_backupDelegate; - GJAccountSyncDelegate* m_syncDelegate; - GJAccountSettingsDelegate* m_accountSettingsDelegate; - int m_gameManagerSize; - int m_localLevelsSize; - gd::string m_password; -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJAccountSettingsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~GJAccountSettingsLayer(); - - static GJAccountSettingsLayer* create(int); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float); - bool init(int) = win 0x208370; - void onClose(cocos2d::CCObject* sender); - void onCommentSetting(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn updateScoreValues(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJActionManager : cocos2d::CCNode { - // virtual ~GJActionManager(); - - static GJActionManager* create(); - - TodoReturn getInternalAction(int); - TodoReturn runInternalAction(cocos2d::CCAction*, cocos2d::CCNode*); - TodoReturn stopAllInternalActions(); - TodoReturn stopInternalAction(int); - TodoReturn updateInternalActions(float, bool); - - virtual bool init(); -} - -[[link(android), depends(GJGameState)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - // ~GJBaseGameLayer(); - // GJBaseGameLayer(); - - TodoReturn activateCustomRing(RingObject*); - TodoReturn activatedAudioTrigger(SFXTriggerGameObject*, float); - TodoReturn activateEventTrigger(EventLinkTrigger*, gd::vector const&); - TodoReturn activateItemCompareTrigger(ItemTriggerGameObject*, gd::vector const&); - TodoReturn activateItemEditTrigger(ItemTriggerGameObject*); - TodoReturn activateObjectControlTrigger(ObjectControlGameObject*); - TodoReturn activatePersistentItemTrigger(ItemTriggerGameObject*); - TodoReturn activatePlayerControlTrigger(PlayerControlGameObject*); - TodoReturn activateResetTrigger(EffectGameObject*); - TodoReturn activateSFXEditTrigger(SFXTriggerGameObject*) = win 0x1c4200; - TodoReturn activateSFXTrigger(SFXTriggerGameObject*) = win 0x1c40c0; - TodoReturn activateSongEditTrigger(SongTriggerGameObject*); - TodoReturn activateSongTrigger(SongTriggerGameObject*) = win 0x1c3c80; - TodoReturn activateTimerTrigger(TimerTriggerGameObject*, gd::vector const&); - TodoReturn addAreaEffect(EnterEffectObject*, gd::vector*, GJAreaActionType); - TodoReturn addCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn addGuideArt(GameObject*); - TodoReturn addObjectCounter(LabelGameObject*) = win 0x1b7390; - TodoReturn addPickupTrigger(CountTriggerGameObject*); - TodoReturn addPoints(int); - TodoReturn addProximityVolumeEffect(int, int, SFXTriggerGameObject*) = win 0x1c48b0; - TodoReturn addRemapTargets(gd::set&); - TodoReturn addToGroupParents(GameObject*); - TodoReturn addToGroups(GameObject*, bool) = win 0x1a8b50; - TodoReturn addToObjectsToShow(GameObject*); - TodoReturn addUIObject(GameObject*); - TodoReturn animateInDualGroundNew(GameObject*, float, bool, float); - TodoReturn animateInGroundNew(bool, float, bool); - TodoReturn animateOutGroundNew(bool); - TodoReturn animatePortalY(float, float, float, float); - TodoReturn applyLevelSettings(GameObject*) = win 0x1bd7a0; - TodoReturn applyRemap(EffectGameObject*, gd::vector const&, gd::unordered_map&); - TodoReturn applySFXEditTrigger(int, int, SFXTriggerGameObject*) = win 0x1c4440; - TodoReturn applyShake(cocos2d::CCPoint&) = win 0x1c1750; - TodoReturn assignNewStickyGroups(cocos2d::CCArray*); - TodoReturn asyncBGLoaded(int); - TodoReturn asyncGLoaded(int); - TodoReturn asyncMGLoaded(int); - TodoReturn atlasValue(int); - TodoReturn bumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19e560; - TodoReturn buttonIDToButton(int); - TodoReturn calculateColorGroups(); - TodoReturn cameraMoveX(float, float, float, bool); - TodoReturn cameraMoveY(float, float, float, bool); - TodoReturn canBeActivatedByPlayer(PlayerObject*, EffectGameObject*) = win 0x19e360; - TodoReturn canProcessSFX(SFXTriggerState&, gd::unordered_map&, gd::unordered_map&, gd::vector&); - TodoReturn canTouchObject(GameObject*); - TodoReturn checkCameraLimitAfterTeleport(PlayerObject*, float); - TodoReturn checkCollision(int, int); - TodoReturn checkCollisionBlocks(EffectGameObject*, gd::vector*, int); - TodoReturn checkCollisions(PlayerObject*, float, bool); - TodoReturn checkRepellPlayer(); - TodoReturn checkSpawnObjects() = win 0x1a1260; - TodoReturn claimMoveAction(int, bool); - TodoReturn claimParticle(gd::string, int); - TodoReturn claimRotationAction(int, int, float&, float&, bool, bool); - TodoReturn clearActivatedAudioTriggers() = win 0x1c5410; - TodoReturn clearPickedUpItems(); - TodoReturn collectedObject(EffectGameObject*); - TodoReturn collisionCheckObjects(PlayerObject*, gd::vector*, int, float); - TodoReturn controlAdvancedFollowCommand(AdvancedFollowTriggerObject*, int, GJActionCommand); - TodoReturn controlAreaEffect(EnterEffectObject*, gd::vector*, GJActionCommand); - TodoReturn controlAreaEffectWithID(int, int, GJActionCommand); - TodoReturn controlDynamicCommand(EffectGameObject*, int, gd::vector&, GJActionCommand); - TodoReturn controlDynamicMoveCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlDynamicRotateCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlEventLink(int, int, GJActionCommand); - TodoReturn controlGradientTrigger(GradientTriggerObject*, GJActionCommand); - TodoReturn controlTriggersInGroup(int, GJActionCommand); - TodoReturn controlTriggersWithControlID(int, GJActionCommand); - TodoReturn convertToClosestDirection(float, float) = win 0x1b2b00; - TodoReturn createBackground(int); - TodoReturn createGroundLayer(int, int); - TodoReturn createMiddleground(int); - TodoReturn createNewKeyframeAnim(); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c2e40; - TodoReturn createPlayer(); - TodoReturn createPlayerCollisionBlock() = win 0x19f080; - TodoReturn createTextLayers() = win 0x197090; - TodoReturn damagingObjectsInRect(cocos2d::CCRect, bool); - TodoReturn destroyObject(GameObject*); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitStaticCamera(bool, bool, float, int, float, bool, float, bool); - TodoReturn flipFinished(); - TodoReturn flipGravity(PlayerObject*, bool, bool) = win 0x19a500; - TodoReturn flipObjects() = win 0x1c8800; - TodoReturn gameEventToString(GJGameEvent); - TodoReturn gameEventTriggered(GJGameEvent, int, int) = win 0x1b5ac0; - TodoReturn generateEnterEasingBuffer(int, float); - TodoReturn generateEnterEasingBuffers(EnterEffectObject*); - TodoReturn generatePickupAnimRandVal(GameObject*, float&, float&); - TodoReturn generateSpawnRemap(); - TodoReturn generateTargetGroups(); - TodoReturn generateVisibilityGroups(); - TodoReturn getActiveOrderSpawnObjects(); - TodoReturn getAreaObjectValue(EnterEffectInstance*, GameObject*, cocos2d::CCPoint&, bool&); - TodoReturn getBumpMod(PlayerObject*, int) = win 0x19e480; - TodoReturn getCameraEdgeValue(int); - TodoReturn getCapacityString() = win 0x196ee0; - TodoReturn getCenterGroupObject(int, int); - TodoReturn getCustomEnterEffects(int, bool); - TodoReturn getEasedAreaValue(GameObject*, EnterEffectInstance*, float, bool, int); - TodoReturn getEnterEasingKey(int, float); - TodoReturn getEnterEasingValue(float, int, float, int); - TodoReturn getFollowSpeedVal(GameObject*, int, int, float, float); - TodoReturn getGroundHeight(PlayerObject*, int); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int); - TodoReturn getGroupParent(int); - TodoReturn getGroupParentsString(GameObject*); - TodoReturn getItemValue(int, int); - TodoReturn getMaxPortalY(); - TodoReturn getMinDistance(cocos2d::CCPoint, cocos2d::CCArray*, float, int) = win 0x1c4d20; - TodoReturn getMinPortalY(); - TodoReturn getModifiedDelta(float); - TodoReturn getMoveTargetDelta(EffectGameObject*, bool); - TodoReturn getOptimizedGroup(int); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c2c00; - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlayerButtonID(int, bool); - TodoReturn getPlayTimerFullSeconds(); - TodoReturn getPlayTimerMilli(); - TodoReturn getPortalTarget(TeleportPortalObject*) = win 0x1985c0; - TodoReturn getPortalTargetPos(TeleportPortalObject*, GameObject*, PlayerObject*); - TodoReturn getRecordString(); - TodoReturn getRotateCommandTargets(EnhancedTriggerObject*, GameObject*&, GameObject*&, GameObject*&); - TodoReturn getSavedPosition(int, float); - TodoReturn getScaledGroundHeight(float); - TodoReturn getSingleGroupObject(int) = win 0x1a8f40; - TodoReturn getSpecialKey(int, bool, bool); - TodoReturn getStaticGroup(int); - TodoReturn getStickyGroup(int); - TodoReturn getTargetFlyCameraY(GameObject*); - TodoReturn getTargetGroup(int, int); - TodoReturn getTargetGroupOrigin(int, int); - TodoReturn gravBumpPlayer(PlayerObject*, EffectGameObject*); - TodoReturn groupStickyObjects(cocos2d::CCArray*); - TodoReturn handleButton(bool, int, bool) = win 0x1b68c0; - TodoReturn hasItem(int); - TodoReturn hasUniqueCoin(EffectGameObject*) = win 0x19d470; - TodoReturn increaseBatchNodeCapacity(); - bool isFlipping(); - bool isPlayer2Button(int); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int, bool, float); - TodoReturn loadGroupParentsFromString(GameObject*, gd::string); - TodoReturn loadLevelSettings() = win 0x1bd650; - TodoReturn loadStartPosObject() = win 0x1b8be0; - TodoReturn loadUpToPosition(float, int, int) = win 0x1b8d50; - TodoReturn maxZOrderForShaderZ(int); - TodoReturn minZOrderForShaderZ(int); - TodoReturn modifyGroupPhysics(AdvancedFollowEditObject*, cocos2d::CCArray*); - TodoReturn modifyObjectPhysics(AdvancedFollowEditObject*, GameObjectPhysics&); - TodoReturn moveAreaObject(GameObject*, float, float); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - TodoReturn moveObject(GameObject*, double, double, bool); - TodoReturn moveObjects(cocos2d::CCArray*, double, double, bool) = win 0x1b1e90; - TodoReturn moveObjectsSilent(int, double, double); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - TodoReturn objectTypeToGameEvent(int); - TodoReturn optimizeMoveGroups(); - TodoReturn orderSpawnObjects() = win 0x1c7aa0; - TodoReturn parentForZLayer(int, bool, int, int); - TodoReturn pauseAudio() = win 0x1bb4a0; - TodoReturn performMathOperation(double, double, int); - TodoReturn performMathRounding(double, int); - TodoReturn pickupItem(EffectGameObject*); - TodoReturn playAnimationCommand(int, int); - TodoReturn playerCircleCollision(PlayerObject*, GameObject*); - TodoReturn playerIntersectsCircle(PlayerObject*, GameObject*); - TodoReturn playerTouchedObject(PlayerObject*, GameObject*); - TodoReturn playerTouchedRing(PlayerObject*, RingObject*) = win 0x19eb90; - TodoReturn playerTouchedTrigger(PlayerObject*, EffectGameObject*); - TodoReturn playerWasTouchingObject(PlayerObject*, GameObject*) = win 0x19e420; - TodoReturn playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playExitDualEffect(PlayerObject*) = win 0x19d960; - TodoReturn playFlashEffect(float, int, float); - TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector const&); - TodoReturn playSpeedParticle(float); - TodoReturn positionForShaderTarget(int); - TodoReturn positionUIObjects(); - TodoReturn prepareSavePositionObjects(); - TodoReturn prepareTransformParent(bool); - TodoReturn preResumeGame(); - TodoReturn preUpdateVisibility(float) = win 0x1b96a0; - TodoReturn processActivatedAudioTriggers(float) = win 0x1c57e0; - TodoReturn processAdvancedFollowAction(AdvancedFollowInstance&, bool, float); - TodoReturn processAdvancedFollowActions(float); - TodoReturn processAreaActions(float, bool); - TodoReturn processAreaEffects(gd::vector*, GJAreaActionType, float, bool); - TodoReturn processAreaFadeGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaMoveGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaRotateGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaTintGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaTransformGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaVisualActions(float); - TodoReturn processCameraObject(GameObject*, PlayerObject*); - TodoReturn processCommands(float); - TodoReturn processDynamicObjectActions(int, float) = win 0x1b2630; - TodoReturn processFollowActions(); - TodoReturn processItems() = win 0x19d1a0; - TodoReturn processMoveActions() = win 0x1b1a80; - TodoReturn processMoveActionsStep(float, bool); - TodoReturn processOptionsTrigger(GameOptionsTrigger*); - TodoReturn processPlayerFollowActions(float) = win 0x1b22f0; - TodoReturn processQueuedAudioTriggers() = win 0x1be3c0; - TodoReturn processQueuedButtons() = win 0x1b5a10; - TodoReturn processRotationActions(); - TodoReturn processSFXObjects(); - TodoReturn processSFXState(SFXTriggerState*, SFXTriggerState*, int, float); - TodoReturn processSongState(int, float, float, int, float, float, gd::vector*); - TodoReturn processStateObjects(); - TodoReturn processTransformActions(bool); - TodoReturn queueButton(int, bool, bool) = win 0x1b59c0; - TodoReturn reAddToStickyGroup(GameObject*); - TodoReturn recordAction(int, bool, bool); - TodoReturn rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float); - TodoReturn refreshCounterLabels() = win 0x1b8670; - TodoReturn refreshKeyframeAnims(); - TodoReturn regenerateEnterEasingBuffers(); - TodoReturn registerSpawnRemap(gd::vector&); - TodoReturn registerStateObject(EffectGameObject*); - TodoReturn removeBackground(); - TodoReturn removeCustomEnterEffects(int, bool); - TodoReturn removeFromGroupParents(GameObject*); - TodoReturn removeFromGroups(GameObject*); - TodoReturn removeFromStickyGroup(GameObject*); - TodoReturn removeGroundLayer(); - TodoReturn removeGroupParent(int) = win 0x1a9420; - TodoReturn removeKeyframe(KeyframeGameObject*); - TodoReturn removeMiddleground(); - TodoReturn removeObjectFromSection(GameObject*) = win 0x1abd80; - TodoReturn removePlayer2(); - TodoReturn removeTemporaryParticles() = win 0x1c3bc0; - TodoReturn reorderObjectSection(GameObject*); - TodoReturn reparentObject(cocos2d::CCNode*, cocos2d::CCNode*); - TodoReturn resetActiveEnterEffects() = win 0x196350; - TodoReturn resetAreaObjectValues(GameObject*, bool); - TodoReturn resetAudio(); - TodoReturn resetCamera() = win 0x1c2140; - TodoReturn resetGradientLayers(); - TodoReturn resetGroupCounters(bool); - TodoReturn resetLevelVariables() = win 0x1bd9b0; - TodoReturn resetMoveOptimizedValue(); - TodoReturn resetPlayer(); - TodoReturn resetSongTriggerValues() = win 0x3bf30; - TodoReturn resetSpawnChannelIndex() = win 0x1c7cc0; - TodoReturn resetStaticCamera(bool, bool); - TodoReturn resetStoppedAreaObjects(); - TodoReturn restoreAllUIObjects(); - TodoReturn restoreDefaultGameplayOffsetX(); - TodoReturn restoreDefaultGameplayOffsetY(); - TodoReturn restoreRemap(EffectGameObject*, gd::unordered_map&); - TodoReturn resumeAudio() = win 0x1bb500; - TodoReturn rotateAreaObjects(GameObject*, cocos2d::CCArray*, float, bool); - TodoReturn rotateObject(GameObject*, float); - TodoReturn rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint, cocos2d::CCPoint, bool, bool); - void setGroupParent(GameObject*, int); - void setStartPosObject(StartPosObject*); - TodoReturn setupLayers() = win 0x191440; - TodoReturn setupLevelStart(LevelSettingsObject*) = win 0x199de0; - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float, float, float) = win 0x1be470; - TodoReturn shouldExitHackedLevel() = win 0x1934a0; - TodoReturn sortAllGroupsX(); - TodoReturn sortGroups(); - TodoReturn sortSectionVector() = win 0x1abf50; - TodoReturn sortStickyGroups(); - TodoReturn spawnGroupTriggered(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector const&, int, int); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float); - TodoReturn spawnParticleTrigger(SpawnParticleGameObject*); - TodoReturn spawnPlayer2() = win 0x19d860; - TodoReturn speedForShaderTarget(int); - TodoReturn staticObjectsInRect(cocos2d::CCRect, bool); - TodoReturn stopAllGroundActions(); - TodoReturn stopCameraShake(); - TodoReturn stopCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn stopCustomEnterEffect(EnterEffectObject*); - TodoReturn stopSFXTrigger(SFXTriggerGameObject*); - TodoReturn swapBackground(int); - TodoReturn swapGround(int); - TodoReturn swapMiddleground(int); - TodoReturn switchToFlyMode(PlayerObject*, GameObject*, bool, int); - TodoReturn switchToRobotMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToRollMode(PlayerObject*, GameObject*, bool); - TodoReturn switchToSpiderMode(PlayerObject*, GameObject*, bool); - TodoReturn syncBGTextures() = win 0x1bd920; - TodoReturn teleportPlayer(TeleportPortalObject*, PlayerObject*); - TodoReturn testInstantCountTrigger(int, int, int, bool, int, gd::vector const&, int, int); - TodoReturn toggleAudioVisualizer(bool) = win 0x1ca350; - TodoReturn toggleDualMode(GameObject*, bool, PlayerObject*, bool) = win 0x19d590; - TodoReturn toggleFlipped(bool, bool); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleLockPlayer(bool, bool); - TodoReturn togglePlayerStreakBlend(bool); - TodoReturn togglePlayerVisibility(bool, bool); - TodoReturn togglePlayerVisibility(bool); - TodoReturn transformAreaObjects(GameObject*, cocos2d::CCArray*, float, float, bool); - TodoReturn triggerAdvancedFollowCommand(AdvancedFollowTriggerObject*); - TodoReturn triggerAdvancedFollowEditCommand(AdvancedFollowEditObject*); - TodoReturn triggerAreaEffect(EnterEffectObject*); - TodoReturn triggerAreaEffectAnimation(EnterEffectObject*); - TodoReturn triggerDynamicMoveCommand(EffectGameObject*); - TodoReturn triggerDynamicRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerGradientCommand(GradientTriggerObject*); - TodoReturn triggerGravityChange(EffectGameObject*, int); - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerShaderCommand(ShaderGameObject*); - TodoReturn triggerTransformCommand(TransformTriggerGameObject*); - TodoReturn tryGetGroupParent(int); - TodoReturn tryGetMainObject(int) = win 0x1a9210; - TodoReturn tryGetObject(int); - TodoReturn tryResumeAudio(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - TodoReturn ungroupStickyObjects(cocos2d::CCArray*); - TodoReturn unlinkAllEvents(); - TodoReturn updateActiveEnterEffect(EnterEffectObject*); - TodoReturn updateAllObjectSection(); - TodoReturn updateAreaObjectLastValues(GameObject*); - TodoReturn updateAudioVisualizer(); - TodoReturn updateBGArtSpeed(float, float); - TodoReturn updateCamera(float) = win 0x1be510; - TodoReturn updateCameraBGArt(cocos2d::CCPoint, float); - TodoReturn updateCameraEdge(int, int); - TodoReturn updateCameraMode(EffectGameObject*, bool); - TodoReturn updateCameraOffsetX(float, float, int, float, int, int); - TodoReturn updateCameraOffsetY(float, float, int, float, int, int); - TodoReturn updateCollisionBlocks(); - TodoReturn updateCounters(int, int); - TodoReturn updateDualGround(PlayerObject*, int, bool, float); - TodoReturn updateEnterEffects(float); - TodoReturn updateExtendedCollision(GameObject*, bool); - TodoReturn updateExtraGameLayers(); - TodoReturn updateGameplayOffsetX(int, bool); - TodoReturn updateGameplayOffsetY(int, bool); - TodoReturn updateGradientLayers() = win 0x1a5690; - TodoReturn updateGroundShadows(); - TodoReturn updateGuideArt(); - TodoReturn updateInternalCamOffsetX(float, float, float); - TodoReturn updateInternalCamOffsetY(float, float, float); - TodoReturn updateKeyframeOrder(int); - TodoReturn updateLayerCapacity(gd::string); - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - TodoReturn updateLevelColors() = win 0x194490; - TodoReturn updateMaxGameplayY() = win 0x1bd800; - TodoReturn updateMGArtSpeed(float, float); - TodoReturn updateMGOffsetY(float, float, int, float, int, int); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateParticles(float); - TodoReturn updatePlatformerTime() = win 0x1bcc00; - TodoReturn updatePlayerCollisionBlocks(); - TodoReturn updateProximityVolumeEffects(); - TodoReturn updateQueuedLabels(); - TodoReturn updateReplay(); - TodoReturn updateSavePositionObjects(); - TodoReturn updateShaderLayer(float) = win 0x1a76f0; - TodoReturn updateSpecialGroupData(); - TodoReturn updateSpecialLabels() = win 0x1bc890; - TodoReturn updateStaticCameraPos(cocos2d::CCPoint, bool, bool, bool, float, int, float) = win 0x1c1b40; - TodoReturn updateStaticCameraPosToGroup(int, bool, bool, bool, float, float, int, float, bool, float); - TodoReturn updateTimeMod(float, bool, bool); - TodoReturn updateTimerLabels(); - TodoReturn updateZoom(float, float, int, float, int, int); - TodoReturn visitWithColorFlash(); - TodoReturn volumeForProximityEffect(SFXTriggerInstance&) = win 0x1c4970; - - virtual void update(float); - virtual bool init() = win 0x190290; - virtual void visit(); - virtual TodoReturn postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual TodoReturn updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn opacityForObject(GameObject*); - virtual TodoReturn addToSpeedObjects(EffectGameObject*); - virtual TodoReturn objectsCollided(int, int) = win 0x19f990; - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x1a8630; - virtual TodoReturn toggleGroupTriggered(int, bool, gd::vector const&, int, int); - virtual TodoReturn spawnGroup(int, bool, double, gd::vector const&, int, int); - virtual TodoReturn spawnObject(GameObject*, double, gd::vector const&); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual TodoReturn activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual TodoReturn destroyPlayer(PlayerObject*, GameObject*); - virtual TodoReturn addToSection(GameObject*) = win 0x1ab6e0; - virtual TodoReturn addToGroup(GameObject*, int, bool) = win 0x1a8bb0; - virtual TodoReturn removeFromGroup(GameObject*, int) = win 0x1a8cd0; - virtual TodoReturn updateObjectSection(GameObject*) = win 0x1acc20; - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int) {} - virtual TodoReturn posForTime(float) {} - virtual TodoReturn resetSPTriggered() {} - virtual TodoReturn updateScreenRotation(float, bool, bool, float, int, float, int, int) = win 0x1b9320; - virtual TodoReturn reverseDirection(EffectGameObject*) = win 0x19ee80; - virtual TodoReturn rotateGameplay(RotateGameplayGameObject*) = win 0x19eee0; - virtual TodoReturn didRotateGameplay(); - virtual TodoReturn updateTimeWarp(float) = win 0x2df7d0; - virtual TodoReturn updateTimeWarp(GameObject*, float); - virtual TodoReturn applyTimeWarp(float) = win 0x1b9640; - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn createCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, bool); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual TodoReturn checkpointActivated(CheckpointGameObject*) = win 0x1c88d0; - virtual TodoReturn flipArt(bool); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual TodoReturn updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual TodoReturn toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual TodoReturn removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - - PAD = win 0x8, android32 0x8, android64 0xc; - GJGameState m_gameState; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - PAD = win 0x290, android32 0x28c, android64 0x510; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - cocos2d::CCArray* m_objects; - cocos2d::CCArray* m_unknownCB0; - cocos2d::CCArray* m_unknownCB8; - cocos2d::CCDictionary* m_unknownCC0; - cocos2d::CCNode* m_unknownCC8; - gd::vector m_unknownCD0; - gd::vector m_unknownCE8; - gd::vector m_unknownD00; - gd::vector m_unknownD18; - gd::vector m_unknownD30; - gd::unordered_map> m_unknownD48; - gd::vector m_unknownD70; - gd::unordered_map> m_unknownD88; - int m_unknownDB0; - int m_unknownDB8; - int m_unknownDBC; - int m_unknownDC0; - int m_unknownDC4; - int m_unknownDC8; - int m_unknownDCC; - int m_unknownDD0; - int m_unknownDD4; - cocos2d::CCDictionary* m_groupDict; - cocos2d::CCDictionary* m_staticGroupDict; - cocos2d::CCDictionary* m_optimizedGroupDict; - gd::vector m_groups; - gd::vector m_staticGroups; - gd::vector m_optimizedGroups; - cocos2d::CCDictionary* m_unknownE38; - cocos2d::CCDictionary* m_unknownE40; - cocos2d::CCDictionary* m_unknownE48; - cocos2d::CCArray* m_unknownE50; - gd::unordered_map> m_unknownE58; - cocos2d::CCDictionary* m_unknownE80; - float m_unknownE88; - cocos2d::CCNode* m_unknownE90; - cocos2d::CCNode* m_unknownE98; - cocos2d::CCNode* m_unknownEA0; - cocos2d::CCLayer* m_objectLayer; - PAD = win 0x70, android32 0x70, android64 0xec; - std::array m_massiveFloatArray; - PAD = win 0x110, android32 0x114, android64 0x1ec; - bool m_isPracticeMode; - bool m_practiceMusicSync; - PAD = win 0xd2, android32 0xba, android64 0xf0; - gd::vector m_queuedButtons; - PAD = win 0x222, android32 0x1ea, android64 0x340; -} - -[[link(android)]] -class GJBigSprite : cocos2d::CCNode { - // virtual ~GJBigSprite(); - - static GJBigSprite* create(); - - TodoReturn finishedLoadingSpriteAsync(cocos2d::CCObject*); - TodoReturn loadSpriteAsync(gd::string, int); - TodoReturn unloadAll(); - TodoReturn unloadSprite(gd::string, int); - TodoReturn updateSpriteVisibility(); - - virtual bool init(); -} - -[[link(android)]] -class GJBigSpriteNode : cocos2d::CCNode { - // virtual ~GJBigSpriteNode(); - - static GJBigSpriteNode* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJChallengeDelegate { - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); -} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - // virtual ~GJChallengeItem(); - - static GJChallengeItem* create(); - static GJChallengeItem* create(GJChallengeType, int, int, int, gd::string); - - TodoReturn createFromString(gd::string); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn incrementCount(int); - bool init(GJChallengeType, int, int, int, gd::string); - void setCount(int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class GJChestSprite : cocos2d::CCSprite { - // virtual ~GJChestSprite(); - - static GJChestSprite* create(int); - - bool init(int); - TodoReturn switchToState(ChestSpriteState, bool); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); -} - -[[link(android)]] -class GJColorSetupLayer : FLAlertLayer, ColorSelectDelegate, FLAlertLayerProtocol { - // virtual ~GJColorSetupLayer(); - - static GJColorSetupLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - TodoReturn showPage(int); - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - - virtual void keyBackClicked(); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - // virtual ~GJComment(); - - static GJComment* create(); - static GJComment* create(cocos2d::CCDictionary*); - - virtual bool init(); - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - bool m_unkMultiplayerBool; - GJUserScore* m_userScore; -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, bool) = win 0x207c50; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, bool) = win 0x207d40; - - BoomListView* m_list; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); -} - -[[link(android)]] -class GJDifficultySprite : cocos2d::CCSprite { - // virtual ~GJDifficultySprite(); - - static GJDifficultySprite* create(int, GJDifficultyName) = win 0x216A60; - - gd::string getDifficultyFrame(int, GJDifficultyName) = win 0x216BC0; - bool init(int, GJDifficultyName) = win 0x216B30; - void updateDifficultyFrame(int, GJDifficultyName) = win 0x216CB0; - void updateFeatureState(GJFeatureState) = win 0x216e70; - void updateFeatureStateFromLevel(GJGameLevel*) = win 0x216df0; -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - // virtual ~GJDropDownLayer(); - // GJDropDownLayer(); - - static GJDropDownLayer* create(char const*, float); - static GJDropDownLayer* create(char const*); - - bool init(char const*, float) = win 0x1d6580; - bool init(char const*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool) = win 0x1d69f0; - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - bool m_controllerEnabled; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; - int m_unknown; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - // virtual ~GJEffectManager(); - // GJEffectManager() = win 0x1d7e20; - - static GJEffectManager* create(); - - TodoReturn activeColorForIndex(int) = win 0x1db630; - TodoReturn activeOpacityForIndex(int); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn addCountToItem(int, int); - TodoReturn addMoveCalculation(CCMoveCNode*, cocos2d::CCPoint, GameObject*); - TodoReturn calculateBaseActiveColors() = win 0x1db6b0; - TodoReturn calculateInheritedColor(int, ColorAction*); - TodoReturn calculateLightBGColor(cocos2d::ccColor3B) = win 0x1e3990; - TodoReturn checkCollision(int const&, int const&); - TodoReturn colorActionChanged(ColorAction*); - TodoReturn colorExists(int); - TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue); - TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool); - TodoReturn colorForIndex(int); - TodoReturn colorForPulseEffect(cocos2d::ccColor3B const&, PulseEffectAction*) = win 0x1e1e90; - TodoReturn controlActionsForControlID(int, GJActionCommand); - TodoReturn controlActionsForTrigger(EffectGameObject*, GJActionCommand); - TodoReturn countForItem(int); - TodoReturn createFollowCommand(float, float, float, int, int, int, int); - TodoReturn createKeyframeCommand(int, cocos2d::CCArray*, GameObject*, int, int, bool, float, float, float, float, float, float, gd::vector const&); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, bool, bool, float, float, int, int); - TodoReturn createPlayerFollowCommand(float, float, int, float, float, int, int, int); - TodoReturn createRotateCommand(float, float, int, int, int, float, bool, bool, bool, int, int); - TodoReturn createTransformCommand(double, double, double, double, bool, float, int, int, int, float, bool, bool, int, int); - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - TodoReturn getColorAction(int) = win 0x1dbd00; - TodoReturn getColorSprite(int) = win 0x1dbd80; - TodoReturn getLoadedMoveOffset(gd::unordered_map>&); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getMoveCommandNode(GroupCommandObject2*); - TodoReturn getMoveCommandObject(); - TodoReturn getOpacityActionForGroup(int); - TodoReturn getSaveString(); - TodoReturn getTempGroupCommand(); - TodoReturn handleObjectCollision(bool, int, int); - TodoReturn hasActiveDualTouch(); - TodoReturn hasBeenTriggered(int, int); - TodoReturn hasPulseEffectForGroupID(int); - bool isGroupEnabled(int); - TodoReturn keyForGroupIDColor(int, cocos2d::ccColor3B const&, bool); - void loadFromState(EffectManagerState&); - TodoReturn objectsCollided(int, int) = win 0x1dc240; - TodoReturn opacityForIndex(int); - TodoReturn opacityModForGroup(int); - TodoReturn pauseTimer(int); - TodoReturn playerButton(bool, bool); - TodoReturn playerDied() = win 0x1e2830; - TodoReturn postCollisionCheck(); - TodoReturn postMoveActions(); - TodoReturn preCollisionCheck(); - TodoReturn prepareMoveActions(float, bool); - TodoReturn processColors(); - TodoReturn processCopyColorPulseActions() = win 0x1e1c70; - TodoReturn processInheritedColors() = win 0x1db780; - TodoReturn processMoveCalculations(); - TodoReturn processPulseActions() = win 0x1e1bb0; - TodoReturn registerCollisionTrigger(int, int, int, bool, bool, gd::vector const&, int, int); - TodoReturn registerRotationCommand(GroupCommandObject2*, bool); - TodoReturn removeAllPulseActions(); - TodoReturn removeColorAction(int); - TodoReturn removePersistentFromAllItems(); - TodoReturn removePersistentFromAllTimers(); - TodoReturn removeTriggeredID(int, int); - TodoReturn reset(); - TodoReturn resetEffects(); - TodoReturn resetMoveActions(); - TodoReturn resetTempGroupCommands(bool); - TodoReturn resetToggledGroups(); - TodoReturn resetTriggeredIDs(); - TodoReturn resumeTimer(int); - TodoReturn runCountTrigger(int, int, bool, int, bool, gd::vector const&, int, int); - TodoReturn runDeathTrigger(int, bool, gd::vector const&, int, int); - TodoReturn runOpacityActionOnGroup(int, float, float, int, int); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool, bool, bool, int, int); - TodoReturn runTimerTrigger(int, double, bool, int, gd::vector const&, int, int); - TodoReturn runTouchTriggerCommand(int, bool, TouchTriggerType, TouchTriggerControl, bool, gd::vector const&, int, int); - TodoReturn saveCompletedMove(int, double, double); - TodoReturn saveToState(EffectManagerState&) = win 0x1e4120; - void setColorAction(ColorAction*, int); - void setFollowing(int, int, bool); - TodoReturn setupFromString(gd::string); - TodoReturn shouldBlend(int); - TodoReturn spawnGroup(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObject(GameObject*, float, gd::vector const&, int, int); - TodoReturn startTimer(int, double, double, bool, bool, bool, float, bool, int, gd::vector const&, int, int); - TodoReturn storeTriggeredID(int, int); - TodoReturn timeForItem(int); - TodoReturn timerExists(int); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleItemPersistent(int, bool); - TodoReturn toggleTimerPersistent(int, bool); - TodoReturn transferPersistentItems(); - TodoReturn traverseInheritanceChain(InheritanceNode*) = win 0x1db9d0; - TodoReturn tryGetMoveCommandNode(int); - TodoReturn updateActiveOpacityEffects(); - TodoReturn updateColorAction(ColorAction*); - TodoReturn updateColorEffects(float); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateCountForItem(int, int); - TodoReturn updateEffects(float); - TodoReturn updateOpacityAction(OpacityEffectAction*); - TodoReturn updateOpacityEffects(float); - TodoReturn updatePulseEffects(float); - TodoReturn updateSpawnTriggers(float); - TodoReturn updateTimer(int, double); - TodoReturn updateTimers(float, float); - TodoReturn wasFollowing(int, int); - TodoReturn wouldCreateLoop(InheritanceNode*, int) = win 0x1dbcd0; - - virtual bool init() = win 0x1db1f0; -} - -[[link(android)]] -class GJFlyGroundLayer : GJGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJFollowCommandLayer(); - - static GJFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJFriendRequest : cocos2d::CCNode { - // virtual ~GJFriendRequest(); - - static GJFriendRequest* create() = win 0x1190e0; - static GJFriendRequest* create(cocos2d::CCDictionary*) = win 0x1190e0; - - virtual bool init(); -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - // virtual ~GJGameLevel(); - - static GJGameLevel* create() = win 0x113a60; - static GJGameLevel* create(cocos2d::CCDictionary*, bool); - inline static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - //inlined on windows - auto level = GJGameLevel::create(); - level->dataLoaded(dict); - return level; - } - - TodoReturn areCoinsVerified() = win 0x116e00; - TodoReturn copyLevelInfo(GJGameLevel*); - void dataLoaded(DS_Dictionary*) = win 0x115060; - TodoReturn demonIconForDifficulty(DemonDifficultyType); - TodoReturn generateSettingsString(); - TodoReturn getAudioFileName() = win 0x114440; - TodoReturn getAverageDifficulty() = win 0x114180; - char const* getCoinKey(int) = win 0x114220; - TodoReturn getLastBuildPageForTab(int); - TodoReturn getLengthKey(int, bool) = win 0x1140c0; - TodoReturn getListSnapshot(); - TodoReturn getNormalPercent(); - TodoReturn getSongName(); - gd::string getUnpackedLevelDescription() = win 0x116f10; - TodoReturn handleStatsConflict(GJGameLevel*); - inline bool isPlatformer() { - return m_levelLength == 5; - } - TodoReturn lengthKeyToString(int); - TodoReturn levelWasAltered(); - TodoReturn levelWasSubmitted(); - TodoReturn parseSettingsString(gd::string); - TodoReturn saveNewScore(int, int); - TodoReturn savePercentage(int, bool, int, int, bool) = win 0x113d70; - TodoReturn scoreStringToVector(gd::string&, gd::vector&); - TodoReturn scoreVectorToString(gd::vector&, int); - void setAccountID(int); - void setAttempts(int); - void setAttemptTime(int); - void setClicks(int); - void setCoinsVerified(int); - void setDailyID(int); - void setDemon(int); - void setJumps(int); - void setLastBuildPageForTab(int, int); - void setLevelID(int); - void setNewNormalPercent(int); - void setNewNormalPercent2(int); - void setNormalPercent(int); - void setObjectCount(int); - void setOriginalLevel(int); - void setPassword(int); - void setStars(int); - TodoReturn storeNewLocalScore(int, int); - TodoReturn unverifyCoins(); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x1160d0; - virtual bool canEncode() = win 0x1d800; //merged func (return true) - virtual bool init() = win 0x113b00; - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - gd::string m_unkString1; - gd::string m_unkString2; - - cocos2d::CCPoint m_unkPoint; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - bool m_friendsOnly; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - bool m_selected; - bool m_localOrSaved; - bool m_disableShake; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - int m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - bool m_unlimitedObjectsEnabled; - gd::string m_personalBests; - int m_timestamp; - int m_unkInt; - gd::string m_songIDs; - gd::string m_sfxIDs; - int m_54; - int m_bestTime; - int m_bestPoints; - int m_k111; - gd::string m_unkString3; - gd::string m_unkString4; -} - -[[link(android)]] -class GJGameLoadingLayer : cocos2d::CCLayer { - // virtual ~GJGameLoadingLayer(); - - static GJGameLoadingLayer* create(GJGameLevel*, bool); - - TodoReturn gameLayerDidUnload(); - bool init(GJGameLevel*, bool); - TodoReturn loadLevel(); - TodoReturn transitionToLoadingLayer(GJGameLevel*, bool); - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); -} - -[[link(android)]] -class GJGameState { - // ~GJGameState(); - // GJGameState(); - - TodoReturn controlTweenAction(int, int, GJActionCommand); - TodoReturn getGameObjectPhysics(GameObject*); - TodoReturn processStateTriggers(); - TodoReturn stopTweenAction(int); - TodoReturn tweenValue(float, float, int, float, int, float, int, int) = win 0x18e920; - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); - - PAD = win 0x498; // 2.200, might need to add 8 bytes to those to make them correct -> android32 0x4a8, android64 0x6e8; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate, CharacterColorDelegate { - // virtual ~GJGarageLayer(); - - TodoReturn achievementForUnlock(int, UnlockType); - TodoReturn descriptionForUnlock(int, UnlockType); - TodoReturn getItems(IconType); - TodoReturn getItems(int, int, IconType, int); - TodoReturn getLockFrame(int, UnlockType); - TodoReturn node(); - void onArrow(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNavigate(cocos2d::CCObject* sender); - void onPaint(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender) = win 0x1f2bc0; - void onSelectTab(cocos2d::CCObject* sender); - void onShards(cocos2d::CCObject* sender); - void onShop(cocos2d::CCObject* sender); - void onSpecial(cocos2d::CCObject* sender); - void onToggleItem(cocos2d::CCObject* sender) = win 0x1f2ee0; - TodoReturn playRainbowEffect(); - TodoReturn playShadowEffect(); - TodoReturn scene(); - TodoReturn selectTab(IconType); - TodoReturn setupIconSelect(); - TodoReturn setupPage(int, IconType); - TodoReturn setupSpecialPage(); - TodoReturn showUnlockPopupNew(int, UnlockType); - TodoReturn titleForUnlock(int, UnlockType); - TodoReturn toggleGlow(); - TodoReturn updatePlayerColors(); - TodoReturn updatePlayerName(char const*); - - virtual bool init() = win 0x1ef0e0; - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); - virtual TodoReturn showUnlockPopup(int, UnlockType) = win 0x1f3140; - virtual TodoReturn updateRate() = win 0x1f3710; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); - virtual TodoReturn playerColorChanged(); -} - -[[link(android)]] -class GJGradientLayer : cocos2d::CCLayerGradient { - // virtual ~GJGradientLayer(); - - static GJGradientLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int, int); - - TodoReturn createLine(int); - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundY(); - TodoReturn hideShadows(); - bool init(int, int); - TodoReturn loadGroundSprites(int, bool); - TodoReturn positionGround(float); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGround01Color(cocos2d::ccColor3B); - TodoReturn updateGround02Color(cocos2d::ccColor3B); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateLineBlend(bool); - TodoReturn updateShadows(); - TodoReturn updateShadowXPos(float, float); - - virtual void draw(); - virtual TodoReturn showGround(); - virtual TodoReturn fadeInGround(float); - virtual TodoReturn fadeOutGround(float); -} - -[[link(android)]] -class GJHttpResult : cocos2d::CCNode { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - bool init(bool, gd::string, gd::string, GJHttpType); -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - // virtual ~GJItemIcon(); - - static GJItemIcon* create(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f4ea0; - - TodoReturn changeToLockedState(float); - inline static GJItemIcon* createBrowserItem(UnlockType unlockType, int itemID) { - return GJItemIcon::create(unlockType, itemID, {0xAF, 0xAF, 0xAF}, {0xFF, 0xFF, 0xFF}, false, true, true, {0xFF, 0xFF, 0xFF}); - } - TodoReturn createStoreItem(UnlockType, int, bool, cocos2d::ccColor3B); - TodoReturn darkenStoreItem(cocos2d::ccColor3B); - TodoReturn darkenStoreItem(ShopType); - bool init(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f4f80; - TodoReturn scaleForType(UnlockType); - TodoReturn toggleEnabledState(bool); - TodoReturn unlockedColorForType(int); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class GJLevelList : cocos2d::CCNode { - // virtual ~GJLevelList(); - - static GJLevelList* create(); - static GJLevelList* create(cocos2d::CCDictionary*); - - TodoReturn addLevelToList(GJGameLevel*); - int completedLevels(); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn duplicateListLevels(GJLevelList*); - TodoReturn frameForListDifficulty(int, DifficultyIconType); - TodoReturn getListLevelsArray(cocos2d::CCArray*); - gd::string getUnpackedDescription() = win 0x11c1b0; - TodoReturn orderForLevel(int); - TodoReturn parseListLevels(gd::string); - TodoReturn removeLevelFromList(int); - TodoReturn reorderLevel(int, int); - TodoReturn reorderLevelStep(int, bool); - TodoReturn showListInfo(); - TodoReturn totalLevels(); - TodoReturn updateLevelsString(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual bool init(); - - gd::vector m_levels; - int m_listID; - int m_listVersion; - int m_downloads; - int m_likes; - int m_difficulty; - int m_accountID; - int m_folder; - int m_listRevision; - int m_listOrder; - int m_original; - int m_diamonds; - int m_levelsToClaim; - bool m_unkBool; - bool m_unlisted; - bool m_friendsOnly; - bool m_uploaded; - bool m_favorite; - bool m_featured; - bool m_k100; - gd::string m_creatorName; - gd::string m_listName; - gd::string m_unkString; - gd::string m_levelsString; - gd::string m_listDesc; - int m_uploadDate; - int m_updateDate; - cocos2d::CCDictionary* m_k97; - int m_listType; - int m_M_ID; -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - // virtual ~GJLevelScoreCell(); - GJLevelScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x87c50; - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f87c0; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f88b0; - - BoomListView* m_listView; -} - -[[link(android)]] -class GJLocalLevelScoreCell : TableViewCell { - // virtual ~GJLocalLevelScoreCell(); - GJLocalLevelScoreCell(char const*, float, float); - - void loadFromScore(GJLocalScore*) = win 0x87880; - TodoReturn updateBGColor(int) = win 0x87b10; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJLocalScore : cocos2d::CCObject { - // virtual ~GJLocalScore(); - - static GJLocalScore* create(int, int); - - bool init(int, int); -} - -[[link(android)]] -class GJMapObject : cocos2d::CCNode { - // virtual ~GJMapObject(); - - static GJMapObject* create(cocos2d::CCNode*); - - TodoReturn createMonster(int); - bool init(cocos2d::CCNode*); - TodoReturn monsterIdle(); - TodoReturn monsterJump(); - TodoReturn moveFinished(); - TodoReturn moveMonster(); - TodoReturn moveMonster(cocos2d::CCPoint, float); - TodoReturn playerJump(); - void setObjectOrigin(cocos2d::CCPoint, float); - TodoReturn startMonsterJumpLoop(); - TodoReturn startPlayerJumpLoop(); - TodoReturn touchMonster(); - TodoReturn updateShadow(float, float, cocos2d::CCPoint); -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - // virtual ~GJMapPack(); - - static GJMapPack* create(); - static GJMapPack* create(cocos2d::CCDictionary*); - - int completedMaps(); - bool hasCompletedMapPack(); - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - int totalMaps(); - - virtual bool init(); - - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - - - -} - -[[link(android)]] -class GJMessageCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJMessageCell(); - GJMessageCell(char const*, float, float); - - void loadFromMessage(GJUserMessage*) = win 0x8a330; - TodoReturn markAsRead(); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJMessagePopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol, DownloadMessageDelegate { - // virtual ~GJMessagePopup(); - - static GJMessagePopup* create(GJUserMessage*); - - void blockUser(); - bool init(GJUserMessage*); - void loadFromGJMessage(GJUserMessage*); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJMGLayer : cocos2d::CCLayer { - // virtual ~GJMGLayer(); - - static GJMGLayer* create(int); - - TodoReturn deactivateGround(); - bool init(int); - TodoReturn loadGroundSprites(int, bool); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGroundColor(cocos2d::ccColor3B, bool); - TodoReturn updateGroundOpacity(unsigned char, bool); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateMG01Blend(bool); - TodoReturn updateMG02Blend(bool); - - virtual void draw(); - virtual TodoReturn showGround(); -} - -[[link(android)]] -class GJMoreGamesLayer : GJDropDownLayer { - // virtual ~GJMoreGamesLayer(); - - static GJMoreGamesLayer* create(); - - TodoReturn getMoreGamesList(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class GJMPDelegate { - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn updateComments(); -} - -[[link(android)]] -class GJMultiplayerManager : cocos2d::CCNode { - // virtual ~GJMultiplayerManager(); - - static GJMultiplayerManager* sharedState(); - - TodoReturn addComment(gd::string, int); - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - TodoReturn createAndAddComment(gd::string, int); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn exitLobby(int); - void firstSetup(); - TodoReturn getBasePostString(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getLastCommentIDForGame(int); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const*); - TodoReturn joinLobby(int); - TodoReturn onExitLobbyCompleted(gd::string, gd::string); - TodoReturn onJoinLobbyCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onUploadCommentCompleted(gd::string, gd::string); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - void uploadComment(gd::string, int); - - virtual bool init(); -} - -[[link(android)]] -class GJObjectDecoder : cocos2d::CCNode, ObjectDecoderDelegate { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder(); - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class GJOptionsLayer : SetupTriggerPopup { - // virtual ~GJOptionsLayer(); - // GJOptionsLayer(); - - static GJOptionsLayer* create(int); - - TodoReturn addGVToggle(char const*, char const*, char const*); - TodoReturn addToggle(char const*, int, bool, char const*); - TodoReturn addToggleInternal(char const*, int, bool, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - bool init(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggleGV(gd::string); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class GJPathPage : FLAlertLayer, FLAlertLayerProtocol, GJPurchaseDelegate { - // virtual ~GJPathPage(); - - static GJPathPage* create(int, GJPathsLayer*); - - bool init(int, GJPathsLayer*); - void onActivatePath(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onUnlock(cocos2d::CCObject* sender); - TodoReturn playUnlockAnimation(); - TodoReturn showCantAffordMessage(GJStoreItem*); - TodoReturn unlockAnimationFinished(); - TodoReturn unlockAnimationStep2(); - TodoReturn unlockAnimationStep3(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJPathRewardPopup : FLAlertLayer { - // virtual ~GJPathRewardPopup(); - - static GJPathRewardPopup* create(int); - - TodoReturn closePopup(); - bool init(int); - void onClaim(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class GJPathsLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~GJPathsLayer(); - - static GJPathsLayer* create(); - - TodoReturn darkenButtons(bool); - TodoReturn nameForPath(int); - void onClose(cocos2d::CCObject* sender); - void onPath(cocos2d::CCObject* sender); - - virtual bool init() = win 0x1fca50; - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPathSprite : CCSpriteCOpacity { - // virtual ~GJPathSprite(); - - static GJPathSprite* create(int); - - TodoReturn addRankLabel(int); - TodoReturn addShardSprite(); - TodoReturn changeToLockedArt(); - bool init(int); - TodoReturn updateState(); -} - -[[link(android)]] -class GJPFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJPFollowCommandLayer(); - - static GJPFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateMaxSpeed(); - TodoReturn updateMaxSpeedLabel(); - TodoReturn updateOffsetLabel(); - TodoReturn updatePlayerOffset(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJPromoPopup : FLAlertLayer { - // virtual ~GJPromoPopup(); - - static GJPromoPopup* create(gd::string); - - bool init(gd::string) = win 0x2167a0; - void onClose(cocos2d::CCObject* sender); - - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPurchaseDelegate { - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJRequestCell(); - GJRequestCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x89670; - TodoReturn markAsRead(); - void onDeleteRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJRewardDelegate { - virtual TodoReturn rewardsStatusFinished(int); - virtual TodoReturn rewardsStatusFailed(); -} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - // virtual ~GJRewardItem(); - - static GJRewardItem* create(); - static GJRewardItem* create(int, int, gd::string); - - TodoReturn createSpecial(GJRewardType, int, int, SpecialRewardItem, int, SpecialRewardItem, int, int, int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn createWithObject(GJRewardType, GJRewardObject*); - TodoReturn createWithObjects(GJRewardType, cocos2d::CCArray*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn getNextShardType(SpecialRewardItem); - TodoReturn getRandomNonMaxShardType(); - TodoReturn getRandomShardType(); - TodoReturn getRewardCount(SpecialRewardItem); - TodoReturn getRewardObjectForType(SpecialRewardItem); - bool init(int, int, gd::string); - bool isShardType(SpecialRewardItem); - TodoReturn rewardItemToStat(SpecialRewardItem); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - // virtual ~GJRewardObject(); - - static GJRewardObject* create(); - static GJRewardObject* create(SpecialRewardItem, int, int); - - TodoReturn createItemUnlock(UnlockType, int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - bool init(SpecialRewardItem, int, int); - bool isSpecialType(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - // virtual ~GJRobotSprite(); - // GJRobotSprite() = win 0x2171b0; - - static GJRobotSprite* create(int) = win 0x217390; - - TodoReturn hideGlow(); - bool init(int, gd::string) = win 0x217460; - bool init(int); - TodoReturn showGlow(); - TodoReturn updateColor01(cocos2d::ccColor3B); - TodoReturn updateColor02(cocos2d::ccColor3B); - TodoReturn updateColors() = win 0x2179f0; - TodoReturn updateFrame(int) = win 0x217f30; - TodoReturn updateGlowColor(cocos2d::ccColor3B, bool); - - virtual void setOpacity(unsigned char); - virtual TodoReturn hideSecondary(); -} - -[[link(android)]] -class GJRotateCommandLayer : SetupTriggerPopup { - // virtual ~GJRotateCommandLayer(); - - static GJRotateCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onFollowRotation(cocos2d::CCObject* sender); - void onLockRotation(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn sliderTimesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateCommandTimes(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateTimesLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - // virtual ~GJRotationControl(); - - static GJRotationControl* create(); - - TodoReturn finishTouch(); - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual TodoReturn angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - // virtual ~GJScaleControl(); - - static GJScaleControl* create(); - - TodoReturn finishTouch(); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn scaleFromValue(float); - TodoReturn skewFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabelX(float); - TodoReturn updateLabelXY(float); - TodoReturn updateLabelY(float); - TodoReturn valueFromScale(float); - TodoReturn valueFromSkew(float); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual TodoReturn scaleXYChanged(float, float); - virtual TodoReturn scaleChangeBegin(); - virtual TodoReturn scaleChangeEnded(); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x86540; - void onBan(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender) = win 0x87680; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - - GJUserScore* m_score; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x11A480; - static GJSearchObject* create(SearchType, gd::string) = win 0x11A380; - static GJSearchObject* create(SearchType) = win 0x11a290; - static GJSearchObject* createFromKey(char const*) = win 0x119ee0; - - char const* getKey() = win 0x11a7d0; - char const* getNextPageKey(); - GJSearchObject* getNextPageObject(); - GJSearchObject* getPageObject(int); - GJSearchObject* getPrevPageObject(); - TodoReturn getSearchKey(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int); - bool init(SearchType, gd::string, gd::string, gd::string, int, bool, bool, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int) = win 0x11a630; - bool isLevelSearchObject() = win 0x11ade0; - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_total; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - bool m_legendaryFilter; - bool m_mythicFilter; - GJDifficulty m_demonFilter; - int m_folder; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; - bool m_searchIsOverlay; - int m_searchMode; -} - -[[link(android)]] -class GJShaderState { - TodoReturn reset(); - TodoReturn stopTweenAction(int); - TodoReturn timesyncShaderAction(int); - TodoReturn timesyncShaderActions(); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); -} - -[[link(android)]] -class GJShopLayer : cocos2d::CCLayer, GJPurchaseDelegate, DialogDelegate, RewardedVideoDelegate { - // virtual ~GJShopLayer(); - - static GJShopLayer* create(ShopType); - - TodoReturn exitVideoAdItems(); - bool init(ShopType) = win 0x219a10; - void onBack(cocos2d::CCObject* sender); - void onCommunityCredits(cocos2d::CCObject* sender); - void onPlushies(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x21b160; - void onVideoAd(cocos2d::CCObject* sender); - TodoReturn scene(ShopType); - TodoReturn showCantAffordMessage(GJStoreItem*); - TodoReturn showReactMessage() = win 0x21bce0; - TodoReturn updateCurrencyCounter(); - - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class GJSmartBlockPreview : cocos2d::CCNode { - // virtual ~GJSmartBlockPreview(); - - static GJSmartBlockPreview* create(gd::string); - - TodoReturn addChance(int, int); - TodoReturn addCount(int); - TodoReturn addPreview(gd::string, gd::string, LevelEditorLayer*); - TodoReturn addTemplateGuide(gd::string, int); - TodoReturn addTemplateGuide(SmartPrefabResult, float); - TodoReturn createInfoLabel(); - bool init(gd::string); - TodoReturn toggleSelectItem(bool); -} - -[[link(android)]] -class GJSmartBlockPreviewSprite : cocos2d::CCNode { - // virtual ~GJSmartBlockPreviewSprite(); - - static GJSmartBlockPreviewSprite* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class GJSmartPrefab : cocos2d::CCObject { - // virtual ~GJSmartPrefab(); - - static GJSmartPrefab* create(); - - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - bool init(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSmartTemplate : cocos2d::CCObject { - // virtual ~GJSmartTemplate(); - - static GJSmartTemplate* create(); - - TodoReturn applyTransformationsForType(SmartBlockType, cocos2d::CCSprite*); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn flipBlockType(SmartBlockType, bool, bool); - TodoReturn flipBlockTypeX(SmartBlockType); - TodoReturn flipBlockTypeY(SmartBlockType); - TodoReturn flipKey(gd::string, bool, bool); - TodoReturn generateRemapDict(); - TodoReturn getNoCornerKey(gd::string); - TodoReturn getPrefab(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn getPrefab(gd::string, bool, bool); - TodoReturn getPrefabs(gd::string); - TodoReturn getPrefabWithID(gd::string, int); - TodoReturn getRandomPrefab(gd::string); - TodoReturn getSimplifiedKey(gd::string); - TodoReturn getSimplifiedType(SmartBlockType, bool&); - TodoReturn getTemplateState(gd::vector&); - TodoReturn getTotalChanceForPrefab(gd::string); - TodoReturn getVerySimplifiedKey(gd::string); - bool init(); - bool isUnrequired(gd::string); - TodoReturn keyFromNeighbors(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn keyFromNeighbors(SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType); - TodoReturn keyFromNeighborsOld(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn logTemplateStatus(bool); - TodoReturn offsetForDir(GJSmartDirection, int); - TodoReturn offsetForObject(SmartGameObject*); - TodoReturn offsetForType(SmartBlockType); - TodoReturn removePrefab(gd::string, int); - TodoReturn resetScannedPrefabs(); - TodoReturn rotateBlockType(SmartBlockType, int); - TodoReturn rotateBlockType90(SmartBlockType); - TodoReturn rotateKey(gd::string, int); - TodoReturn savePrefab(gd::string, gd::string); - TodoReturn saveRemap(gd::string); - TodoReturn saveRemapToDict(gd::string, gd::string, cocos2d::CCDictionary*); - TodoReturn scanForPrefab(gd::string); - TodoReturn shouldDiscardObject(SmartBlockType, GJSmartDirection); - TodoReturn smartObjectToType(SmartGameObject*, cocos2d::CCPoint); - TodoReturn smartTypeToObjectKey(SmartBlockType); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol, TableViewCellDelegate { - // virtual ~GJSongBrowser(); - - static GJSongBrowser* create() = win 0x224d00; - - TodoReturn loadPage(int); - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual bool init(); - virtual TodoReturn customSetup() = win 0x224f00; - virtual TodoReturn exitLayer(cocos2d::CCObject*) = win 0x224e90; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - - int m_page; - int m_songID; - bool m_selected; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - cocos2d::CCLabelBMFont* m_countText; - PAD = android32 0x8; - cocos2d::CCArray* m_downloadedSongs; - CustomListView* m_listView; -} - -[[link(android)]] -class GJSpecialColorSelect : FLAlertLayer { - // virtual ~GJSpecialColorSelect(); - - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*, ColorSelectType); - - TodoReturn getButtonByTag(int); - TodoReturn highlightSelected(ButtonSprite*); - bool init(int, GJSpecialColorSelectDelegate*, ColorSelectType); - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - TodoReturn textForColorIdx(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - // virtual ~GJSpiderSprite(); - - static GJSpiderSprite* create(int) = win 0x218560; - - bool init(int); -} - -[[link(android)]] -class GJSpriteColor { - // GJSpriteColor() = win 0x12ff60; - - TodoReturn getColorMode(); - - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - -} - -[[link(android)]] -class GJStoreItem : cocos2d::CCNode { - // virtual ~GJStoreItem(); - - static GJStoreItem* create(int, int, int, int, ShopType); - - TodoReturn getCurrencyKey(); - bool init(int, int, int, int, ShopType); -} - -[[link(android)]] -class GJTransformControl : cocos2d::CCLayer { - // virtual ~GJTransformControl(); - - static GJTransformControl* create(); - - TodoReturn applyRotation(float); - TodoReturn calculateRotationOffset(); - TodoReturn finishTouch(); - void loadFromState(GJTransformState&); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn logCurrentZeroPos(); - void onToggleLockScale(cocos2d::CCObject* sender); - TodoReturn refreshControl(); - TodoReturn saveToState(GJTransformState&); - TodoReturn scaleButtons(float) = win 0xdfd00; - TodoReturn spriteByTag(int); - TodoReturn updateAnchorSprite(cocos2d::CCPoint); - TodoReturn updateButtons(bool, bool); - TodoReturn updateMinMaxPositions(); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJTransformControlDelegate { - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformChangeBegin(); - virtual TodoReturn transformChangeEnded(); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn getTransformNode(); - virtual TodoReturn getUI(); -} - -[[link(android)]] -class GJUINode : cocos2d::CCNode { - // virtual ~GJUINode(); - - static GJUINode* create(UIButtonConfig&); - - TodoReturn activeRangeTouchTest(cocos2d::CCPoint); - TodoReturn activeTouchTest(cocos2d::CCPoint); - TodoReturn getButtonScale(); - TodoReturn getOpacity(); - TodoReturn highlightButton(int); - bool init(UIButtonConfig&); - void loadFromConfig(UIButtonConfig&); - TodoReturn resetState() = win 0x3bfe00; - TodoReturn saveToConfig(UIButtonConfig&); - void setOpacity(unsigned char); - TodoReturn toggleHighlight(int, bool); - TodoReturn toggleModeB(bool); - TodoReturn touchEnded(); - TodoReturn touchTest(cocos2d::CCPoint); - TodoReturn updateButtonFrames(); - TodoReturn updateButtonPositions(); - TodoReturn updateButtonScale(float); - TodoReturn updateDeadzone(int); - TodoReturn updateDragRadius(float); - TodoReturn updateHeight(float); - TodoReturn updateRangePos(cocos2d::CCPoint); - TodoReturn updateSize(float, float); - TodoReturn updateWidth(float); - - virtual void draw(); -} - -[[link(android)]] -class GJUnlockableItem : cocos2d::CCObject { - // virtual ~GJUnlockableItem(); - - static GJUnlockableItem* create(); - - bool init(); -} - -[[link(android)]] -class GJUserCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJUserCell(); - GJUserCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x886e0; - void onCancelFriendRequest(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - // virtual ~GJUserMessage(); - - static GJUserMessage* create(); - static GJUserMessage* create(cocos2d::CCDictionary*); - - virtual bool init(); -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - // virtual ~GJUserScore(); - - static GJUserScore* create() = win 0x118ea0; - static GJUserScore* create(cocos2d::CCDictionary*) = win 0x117ea0; - - bool isCurrentUser() = win 0x118fa0; - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init(); - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_moons; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_color3; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerSwing; - int m_playerJetpack; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - int m_newFriendCount; - bool m_newFriendRequest; -} - -[[link(android)]] -class GJValueTween { - TodoReturn step(float); -} - -[[link(android)]] -class GJWorldNode : cocos2d::CCNode { - // virtual ~GJWorldNode(); - - static GJWorldNode* create(int, WorldSelectLayer*); - - TodoReturn addDotsToLevel(int, bool); - TodoReturn dotPositionForLevel(int, int); - bool init(int, WorldSelectLayer*); - void onLevel(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn positionForLevelButton(int); - TodoReturn unlockActiveItem(); -} - -[[link(android)]] -class GJWriteMessagePopup : FLAlertLayer, TextInputDelegate, UploadMessageDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~GJWriteMessagePopup(); - - static GJWriteMessagePopup* create(int, int); - - TodoReturn closeMessagePopup(bool); - bool init(int, int); - void onClearBody(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - TodoReturn updateBody(gd::string); - TodoReturn updateCharCountLabel(int); - TodoReturn updateSubject(gd::string); - TodoReturn updateText(gd::string, int); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - TodoReturn getSaveString(); - TodoReturn load(); - TodoReturn loadDataFromFile(gd::string const&); - void loadFromCompressedString(gd::string&); - void loadFromString(gd::string&); - inline void save() { - saveGMTo(m_fileName); - } - TodoReturn saveData(DS_Dictionary*, gd::string); - TodoReturn saveGMTo(gd::string) = win 0x47580; - TodoReturn tryLoadData(DS_Dictionary*, gd::string const&); - inline GManager() {} - - virtual bool init(); - virtual TodoReturn setup() = win 0x472c0; - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn() {} -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState(); - - TodoReturn googlePlaySignedIn(); - - virtual bool init(); -} - -[[link(android)]] -class GradientTriggerObject : EffectGameObject { - // virtual ~GradientTriggerObject(); - - static GradientTriggerObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GraphicsReloadLayer : cocos2d::CCLayer { - // virtual ~GraphicsReloadLayer(); - - static GraphicsReloadLayer* create(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); - - bool init(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); - TodoReturn performReload() = win 0x2b8210; - TodoReturn scene(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); -} - -[[link(android)]] -class GravityEffectSprite : cocos2d::CCSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create(); - - TodoReturn updateSpritesColor(cocos2d::ccColor3B) = win 0x2eb770; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GroupCommandObject2 { - // ~GroupCommandObject2(); - // GroupCommandObject2(); - // GroupCommandObject2(GroupCommandObject2 const&); - - TodoReturn reset(); - TodoReturn resetDelta(bool); - TodoReturn runFollowCommand(double, double, double); - TodoReturn runMoveCommand(cocos2d::CCPoint, double, int, double, bool, bool, bool, bool, double, double); - TodoReturn runPlayerFollowCommand(double, double, int, double, double); - TodoReturn runRotateCommand(double, double, int, double, bool, int); - TodoReturn runTransformCommand(double, int, double); - TodoReturn step(float); - TodoReturn stepTransformCommand(float, bool, bool); - TodoReturn updateAction(int, float); - TodoReturn updateEffectAction(float, int); -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - // virtual ~HardStreak(); - - static HardStreak* create(); - - TodoReturn addPoint(cocos2d::CCPoint) = win 0x2270d0; - TodoReturn clearAboveXPos(float); - TodoReturn clearBehindXPos(float); - TodoReturn createDuplicate(); - void firstSetup(); - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - TodoReturn reset(); - TodoReturn resumeStroke(); - TodoReturn scheduleAutoUpdate(); - TodoReturn stopStroke(); - TodoReturn updateStroke(float) = win 0x2267e0; - - virtual bool init(); -} - -[[link(android)]] -class HSVLiveOverlay : FLAlertLayer, HSVWidgetDelegate { - // virtual ~HSVLiveOverlay(); - - static HSVLiveOverlay* create(GameObject*, cocos2d::CCArray*); - - TodoReturn closeColorSelect(cocos2d::CCObject*); - TodoReturn createHSVWidget(int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn toggleControls(bool); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn hsvChanged(ConfigureHSVWidget*); -} - -[[link(android)]] -class HSVWidgetDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) {} - virtual void hsvChanged(ConfigureHSVWidget*) {} -} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - // virtual ~HSVWidgetPopup(); - - static HSVWidgetPopup* create(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - - bool init(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - // virtual ~InfoAlertButton(); - - static InfoAlertButton* create(gd::string, gd::string, float); - - bool init(gd::string, gd::string, float); - - virtual void activate(); -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - // virtual ~InfoLayer(); - - static InfoLayer* create(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x2285B0; - - TodoReturn confirmReport(cocos2d::CCObject*); - TodoReturn getAccountID(); - TodoReturn getID(); - TodoReturn getRealID(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint); - bool init(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x228680; - bool isCorrect(char const*); - void loadPage(int, bool) = win 0x22B1B0; - void onClose(cocos2d::CCObject* sender) = win 0x22b070; - void onComment(cocos2d::CCObject* sender) = win 0x22aa10; - void onCopyLevelID(cocos2d::CCObject* sender) = win 0x22a760; - void onGetComments(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender) = win 0x22ac10; - void onMore(cocos2d::CCObject* sender) = win 0x22a910; - void onNextPage(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefreshComments(cocos2d::CCObject* sender) = win 0x22a4f0; - void onSimilar(cocos2d::CCObject* sender); - TodoReturn reloadWindow(); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*) = win 0x22b4e0; - void setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCObject*); - TodoReturn toggleExtendedMode(cocos2d::CCObject*); - TodoReturn toggleSmallCommentMode(cocos2d::CCObject*); - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x8ff80; - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - - GJGameLevel* m_level; - GJUserScore* m_score; - GJLevelList* m_levelList; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_noComments; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - CommentKeyType m_mode; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject { - // virtual ~InheritanceNode(); - - static InheritanceNode* create(int, InheritanceNode*) = win 0x1d89d0; - - bool init(int, InheritanceNode*); -} - -[[link(android)]] -class ItemInfoPopup : FLAlertLayer { - // virtual ~ItemInfoPopup(); - - static ItemInfoPopup* create(int, UnlockType) = win 0x1F5960; - - bool init(int, UnlockType) = win 0x1F5A10; - bool isUnlockedByDefault(int, UnlockType); - TodoReturn nameForUnlockType(int, UnlockType); - void onClose(cocos2d::CCObject* sender); - void onCredit(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - - PAD = win 0x8; - int m_accountID; -} - -[[link(android)]] -class ItemTriggerGameObject : EffectGameObject { - // virtual ~ItemTriggerGameObject(); - - static ItemTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customSetup(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - // virtual ~KeybindingsLayer(); - - static KeybindingsLayer* create(); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init() = win 0x22c0d0; - virtual void keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager : cocos2d::CCNode { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState(); - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - TodoReturn dataLoaded(DS_Dictionary*) = win 0x22d3e0; - TodoReturn encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); -} - -[[link(android)]] -class KeyframeAnimTriggerObject : EffectGameObject { - // virtual ~KeyframeAnimTriggerObject(); - - static KeyframeAnimTriggerObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeGameObject : EffectGameObject { - // virtual ~KeyframeGameObject(); - - static KeyframeGameObject* create(); - - TodoReturn updateShadowObjects(GJBaseGameLayer*, EditorUI*); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeObject { - // KeyframeObject(); - // KeyframeObject(KeyframeObject const&); - - TodoReturn setupSpline(gd::vector&); -} - -[[link(android)]] -class LabelGameObject : EffectGameObject { - // virtual ~LabelGameObject(); - - static LabelGameObject* create(); - - TodoReturn createLabel(gd::string); - TodoReturn queueUpdateLabel(gd::string); - TodoReturn removeLabel(); - TodoReturn unlockLabelColor(); - TodoReturn updateLabel(float); - TodoReturn updateLabel(gd::string); - TodoReturn updateLabelAlign(int); - TodoReturn updateLabelIfDirty(); - TodoReturn updatePreviewLabel(); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual TodoReturn setupCustomSprites(gd::string) = win 0x3a8580; - virtual TodoReturn addMainSpriteToParent(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - PAD = android32 0x11; - - // property 391 - int m_alignment; - - // property 389 - bool m_showSecondsOnly; - - // property 390 - int m_shownSpecial; - - // property 466 - bool m_isTimeCounter; - - // property 488 - int m_kerning; - - PAD = android32 0x8; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished() {} - virtual void updateUserScoreFailed() {} - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLeaderboardFailed(char const*) {} -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState) = win 0x22da30; - - bool init(LeaderboardState) = win 0x22dad0; - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn refreshTabs(); - TodoReturn scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); - - GJListLayer* m_list; - cocos2d::CCArray* m_userScores; - LeaderboardState m_state; - CCMenuItemToggler* m_topBtn; - CCMenuItemToggler* m_globalBtn; - CCMenuItemToggler* m_creatorsBtn; - CCMenuItemToggler* m_friendsBtn; - LoadingCircle* m_circle; - TextArea* m_noInternet; - cocos2d::CCArray* m_tabs; -} - -[[link(android)]] -class LevelAreaInnerLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaInnerLayer(); - - static LevelAreaInnerLayer* create(bool); - - bool init(bool) = win 0x231050; - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextFloor(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn scene(bool); - TodoReturn showFloor1CompleteDialog(); - TodoReturn tryResumeTowerMusic(); - - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelAreaLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaLayer(); - - static LevelAreaLayer* create(); - - TodoReturn addGodRay(float, float, float, float, float, cocos2d::CCPoint); - TodoReturn addTorch(cocos2d::CCNode*, cocos2d::CCPoint, int, float, int, bool); - TodoReturn fadeInsideTower(); - void onBack(cocos2d::CCObject* sender); - void onClickDoor(cocos2d::CCObject* sender); - TodoReturn onEnterTower(); - TodoReturn scene(); - TodoReturn showDialog(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayerColor, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate, TableViewCellDelegate, ShareCommentDelegate { - // virtual ~LevelBrowserLayer(); - - static LevelBrowserLayer* create(GJSearchObject*) = win 0x232c20; - - TodoReturn createNewLevel(cocos2d::CCObject*); - TodoReturn createNewList(cocos2d::CCObject*); - TodoReturn createNewSmartTemplate(cocos2d::CCObject*); - TodoReturn deleteSelected(); - TodoReturn exitLayer(cocos2d::CCObject*); - TodoReturn getItemsMatchingSearch(cocos2d::CCArray*, gd::string, GJSearchObject*); - TodoReturn getSearchTitle(); - bool init(GJSearchObject*) = win 0x232cd0; - bool isCorrect(char const*) = win 0x234210; - TodoReturn loadPage(GJSearchObject*) = win 0x234350; - void onClearSearch(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onFavorites(cocos2d::CCObject* sender); - void onGoToFolder(cocos2d::CCObject* sender); - void onGoToLastPage(cocos2d::CCObject* sender); - void onGoToPage(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLocalMode(cocos2d::CCObject* sender); - void onMyOnlineLevels(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender); - void onRemoveAllFavorites(cocos2d::CCObject* sender); - void onSaved(cocos2d::CCObject* sender); - void onSavedMode(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - TodoReturn reloadAllObjects(); - inline static cocos2d::CCScene* scene(GJSearchObject* search) { - auto scene = cocos2d::CCScene::create(); - scene->addChild(LevelBrowserLayer::create(search)); - - AppDelegate::get()->m_runningScene = scene; - return scene; - } - void setSearchObject(GJSearchObject*); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn show(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageLabel(); - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x235710; - virtual void loadLevelsFailed(char const*, int) = win 0x235810; - virtual void setupPageInfo(gd::string, char const*) = win 0x235850; - virtual void onBack(cocos2d::CCObject* sender); - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - - bool m_unk; - bool m_allSelected; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - CCMenuItemSpriteExtra* m_refreshBtn; - cocos2d::CCArray* m_selected; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - CCMenuItemToggler* m_allObjectsToggler; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - LoadingCircle* m_circle; - int m_lastPage; - bool m_isOverlay; - PAD = win 0x4, android32 0x4; - int m_zOffset; - bool m_unk2; - int m_listHeight; - PAD = win 0x16, android32 0x16; - -} - -[[link(android)]] -class LevelCell : TableViewCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float); - - static LevelCell* create(float, float); - - TodoReturn loadCustomLevelCell() = win 0x7da00; - void loadFromLevel(GJGameLevel*) = win 0x7d850; - TodoReturn loadLocalLevelCell() = win 0x80470; - void onClick(cocos2d::CCObject* sender) = win 0x80e20; - void onToggle(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender) = win 0x80f10; - TodoReturn updateBGColor(int); - TodoReturn updateCellMode(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - CCMenuItemToggler* m_toggler; - cocos2d::CCPoint m_point; - cocos2d::CCMenu* m_mainMenu; - bool m_compactView; - int m_cellMode; -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadCommentsFailed(char const*) {} - virtual void updateUserScoreFinished() {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int) {} - virtual void levelDeleteFailed(int) {} -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*) {} - virtual void levelDownloadFailed(int) {} -} - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - // virtual ~LevelEditorLayer(); - - static LevelEditorLayer* create(GJGameLevel*, bool); - - TodoReturn activateTriggerEffect(EffectGameObject*, float, float, float, bool); - TodoReturn addDelayedSpawn(EffectGameObject*, float); - TodoReturn addExclusionList(cocos2d::CCArray*, cocos2d::CCDictionary*); - TodoReturn addObjectFromVector(gd::vector&, gd::vector&); - TodoReturn addObjectsAtPosition(cocos2d::CCPoint, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectsInRect(cocos2d::CCRect, bool, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectToGroup(GameObject*, int); - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerCollisionBlock(); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - TodoReturn addSpecial(GameObject*); - TodoReturn addToRedoList(UndoObject*); - TodoReturn addTouchPoint(cocos2d::CCPoint) = win 0x250840; - TodoReturn addToUndoList(UndoObject*, bool); - TodoReturn applyAttributeState(GameObject*, GameObject*); - TodoReturn applyGroupState(GameObject*, GameObject*); - TodoReturn breakApartTextObject(TextGameObject*); - TodoReturn canPasteState(); - TodoReturn clearPlayerPoints(); - TodoReturn clearTouchPoints(); - TodoReturn copyObjectState(GameObject*); - TodoReturn copyParticleState(ParticleGameObject*); - TodoReturn createObject(int, cocos2d::CCPoint, bool); - TodoReturn createObjectsFromSetup(gd::string&); - TodoReturn createObjectsFromString(gd::string const&, bool, bool); - TodoReturn dirtifyTriggers(); - TodoReturn duplicateKeyframeAnimation(int); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn findGameObject(int); - TodoReturn findStartPosObject(); - TodoReturn forceShowSelectedObjects(bool); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn getAllObjects(); - TodoReturn getDelayedSpawnNode(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getLastObjectX(); - TodoReturn getLevelString(); - TodoReturn getLockedLayers(); - TodoReturn getNextColorChannel(); - TodoReturn getNextFreeAreaEffectID(cocos2d::CCArray*); - TodoReturn getNextFreeBlockID(cocos2d::CCArray*); - TodoReturn getNextFreeEditorLayer(cocos2d::CCArray*); - TodoReturn getNextFreeEnterChannel(cocos2d::CCArray*); - TodoReturn getNextFreeGradientID(cocos2d::CCArray*); - int getNextFreeGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeItemID(cocos2d::CCArray*); - TodoReturn getNextFreeOrderChannel(cocos2d::CCArray*); - TodoReturn getNextFreeSFXGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeSFXID(cocos2d::CCArray*); - TodoReturn getObjectRect(GameObject*, bool, bool); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSavedEditorPosition(int); - TodoReturn getSavedEditorPositions(); - TodoReturn getSectionCount(); - TodoReturn getSelectedEditorOrder(); - TodoReturn getSelectedEffectPos(); - TodoReturn getSelectedOrderChannel(); - TodoReturn getSFXIDs(); - TodoReturn getSongIDs(bool&); - TodoReturn getTriggerGroup(int); - TodoReturn handleAction(bool, cocos2d::CCArray*); - TodoReturn hasAction(bool); - bool init(GJGameLevel*, bool); - bool isLayerLocked(int); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn objectMoved(GameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect, bool); - TodoReturn onPausePlaytest(); - TodoReturn onPlaytest(); - TodoReturn onResumePlaytest(); - TodoReturn onStopPlaytest(); - TodoReturn pasteAttributeState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteGroupState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteParticleState(ParticleGameObject*, cocos2d::CCArray*); - TodoReturn processLoadedMoveActions(); - TodoReturn quickUpdateAllPositions(); - TodoReturn recreateGroups(); - TodoReturn redoLastAction(); - TodoReturn refreshSpecial(GameObject*); - TodoReturn removeAllObjects(); - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeObject(GameObject*, bool); - TodoReturn removePlayerCollisionBlock(); - TodoReturn removeSpecial(GameObject*); - TodoReturn resetDelayedSpawnNodes(); - TodoReturn resetEffectTriggerOptim(GameObject*, cocos2d::CCArray*); - TodoReturn resetMovingObjects(); - TodoReturn resetObjectVector(); - TodoReturn resetPlayback(); - TodoReturn resetToggledGroups(); - TodoReturn resetToggledGroupsAndObjects(); - TodoReturn resetUnusedColorChannels(); - TodoReturn reverseKeyframeAnimationOrder(int); - TodoReturn reverseObjectChanged(EffectGameObject*); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn runColorEffect(EffectGameObject*, int, float, float, bool); - TodoReturn saveEditorPosition(cocos2d::CCPoint&, int); - TodoReturn scene(GJGameLevel*, bool); - void setObjectCount(int); - TodoReturn shouldBlend(int); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnGroupPreview(int, float, float, float, float, float, bool, bool); - TodoReturn stopPlayback(); - TodoReturn stopTriggersInGroup(int, float); - TodoReturn timeObjectChanged(); - TodoReturn toggleBackground(bool); - TodoReturn toggleGrid(bool); - TodoReturn toggleGround(bool); - TodoReturn toggleGroupPreview(int, bool); - TodoReturn toggleLockActiveLayer(); - TodoReturn transferDefaultColors(GJEffectManager*, GJEffectManager*); - TodoReturn triggerFollowCommand(EffectGameObject*); - TodoReturn triggerPlayerFollowCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EffectGameObject*); - TodoReturn tryUpdateSpeedObject(EffectGameObject*, bool); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn undoLastAction(); - TodoReturn unlockAllLayers(); - TodoReturn updateAnimateOnTriggerObjects(bool); - TodoReturn updateArt(float); - TodoReturn updateBlendValues(); - TodoReturn updateDebugDraw(); - TodoReturn updateEditor(float); - TodoReturn updateEditorMode(); - TodoReturn updateGameObjects(); - TodoReturn updateGridLayer(); - TodoReturn updateGridLayerParent(); - TodoReturn updateKeyframeObjects(); - TodoReturn updateKeyframeVisibility(bool); - TodoReturn updateLevelFont(int); - TodoReturn updateObjectColors(cocos2d::CCArray*); - TodoReturn updateObjectLabel(GameObject*); - TodoReturn updateOptions(); - TodoReturn updatePreviewAnim(); - TodoReturn updatePreviewParticle(ParticleGameObject*); - TodoReturn updatePreviewParticles(); - TodoReturn updateToggledGroups(); - TodoReturn validGroup(GameObject*, bool); - - virtual void draw(); - virtual TodoReturn postUpdate(float) = win 0x247460; - virtual TodoReturn updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual TodoReturn addToGroup(GameObject*, int, bool); - virtual TodoReturn removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int); - virtual TodoReturn posForTime(float); - virtual TodoReturn resetSPTriggered(); - virtual TodoReturn didRotateGameplay() = win 0x245f40; - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual TodoReturn checkpointActivated(CheckpointGameObject*); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual TodoReturn levelSettingsUpdated(); - - PAD = android32 0x64; - - geode::SeedValueRSV m_coinCount; - - PAD = android32 0x38; - - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; -} - -[[link(android)]] -class LevelFeatureLayer : FLAlertLayer { - // virtual ~LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetEpicOnly(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onToggleEpic(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate, TableViewCellDelegate { - // virtual ~LevelInfoLayer(); - - static LevelInfoLayer* create(GJGameLevel*, bool); - - TodoReturn confirmClone(cocos2d::CCObject*) = win 0x255f50; - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmMoveToBottom(cocos2d::CCObject*); - TodoReturn confirmMoveToTop(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - void downloadLevel() = win 0x253810; - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*, bool) = win 0x251510; - TodoReturn loadLevelStep(); - void onAddToList(cocos2d::CCObject* sender) = win 0x2533b0; - void onBack(cocos2d::CCObject* sender) = win 0x257ae0; - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender) = win 0x256120; - void onFavorite(cocos2d::CCObject* sender) = win 0x2535d0; - void onFeatured(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender) = win 0x2568d0; - void onLevelLeaderboard(cocos2d::CCObject* sender) = win 0x253640; - void onLike(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender) = win 0x2561d0; - void onPlay(cocos2d::CCObject* sender) = win 0x255410; - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateDemon(cocos2d::CCObject* sender); - void onRateStars(cocos2d::CCObject* sender) = win 0x256350; - void onRateStarsMod(cocos2d::CCObject* sender); - void onSetFolder(cocos2d::CCObject* sender) = win 0x2534f0; - void onUpdate(cocos2d::CCObject* sender) = win 0x256710; - void onViewProfile(cocos2d::CCObject* sender) = win 0x256870; - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn playStep4(); - TodoReturn scene(GJGameLevel*, bool); - void setupLevelInfo(); - void setupPlatformerStats(); - void setupProgressBars(); - TodoReturn shouldDownloadLevel(); - TodoReturn showSongWarning(); - TodoReturn showUpdateAlert(UpdateResponse); - TodoReturn tryCloneLevel(cocos2d::CCObject*) = win 0x255d70; - TodoReturn tryShowAd(); - TodoReturn updateLabelValues() = win 0x256b80; - TodoReturn updateSideButtons(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn numberInputClosed(NumberInputLayer*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn levelDownloadFinished(GJGameLevel*); - virtual TodoReturn levelDownloadFailed(int); - virtual TodoReturn levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual TodoReturn levelUpdateFailed(int); - virtual TodoReturn levelDeleteFinished(int); - virtual TodoReturn levelDeleteFailed(int); - virtual TodoReturn rateLevelClosed(); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - - void* m_unk0; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_coins; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; - cocos2d::CCSprite* m_likesIcon; - cocos2d::CCSprite* m_orbsIcon; - int m_unk6; // always 3, maybe level type? - int m_unk7; - LoadingCircle* m_circle; - GJDifficultySprite* m_difficultySprite; - cocos2d::CCSprite* m_starsIcon; - cocos2d::CCLabelBMFont* m_starsLabel; - cocos2d::CCArray* m_icons; - PAD = win 0x10, android32 0x10, android64 0x10; - bool m_challenge; - PAD = win 0x4, android32 0x4, android64 0x8; - cocos2d::CCSprite* m_playSprite; - void* m_unk11; - CustomSongWidget* m_songWidget; -} - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LevelLeaderboard(); - - static LevelLeaderboard* create(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x257E00; - - TodoReturn deleteLocalScores(); - TodoReturn getLocalScores(); - TodoReturn getSpriteButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint, int); - bool init(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x257ec0; - bool isCorrect(char const*); - TodoReturn loadScores(); - void onChangeMode(cocos2d::CCObject* sender) = win 0x259450; - void onChangeType(cocos2d::CCObject* sender) = win 0x259400; - void onClose(cocos2d::CCObject* sender) = win 0x6a700; - void onDeleteLocalScores(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender) = win 0x259490; - TodoReturn reloadLeaderboard(LevelLeaderboardType, LevelLeaderboardMode) = win 0x259350; - TodoReturn setupLeaderboard(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x5d690; //merged func - virtual TodoReturn loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadLeaderboardFailed(char const*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - - GJGameLevel* m_level; - LevelLeaderboardType m_type; - LevelLeaderboardMode m_mode; - cocos2d::CCArray* m_scores; - GJCommentListLayer* m_list; - LoadingCircle* m_circle; - TextArea* m_noInternet; - CCMenuItemSpriteExtra* m_refreshBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_pointsBtn; -} - -[[link(android)]] -class LevelListCell : TableViewCell { - // virtual ~LevelListCell(); - LevelListCell(char const*, float, float); - - static LevelListCell* create(float, float); - - void loadFromList(GJLevelList*) = win 0x8b500; - void onClick(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - - GJLevelList* m_levelList; - bool m_addingLevel; -} - -[[link(android)]] -class LevelListDeleteDelegate { - virtual void levelListDeleteFinished(int) {} - virtual void levelListDeleteFailed(int) {} -} - -[[link(android)]] -class LevelListLayer : LevelBrowserLayer, TextInputDelegate, SelectListIconDelegate, LikeItemDelegate, LevelListDeleteDelegate { - // virtual ~LevelListLayer(); - - static LevelListLayer* create(GJLevelList*); - - TodoReturn cloneList(); - TodoReturn confirmClone(cocos2d::CCObject*); - TodoReturn confirmDelete(cocos2d::CCObject*); - TodoReturn confirmOwnerDelete(cocos2d::CCObject*); - bool init(GJLevelList*); - void onClaimReward(cocos2d::CCObject* sender); - TodoReturn onDelete(); - void onDescription(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onRefreshLevelList(cocos2d::CCObject* sender); - void onSelectIcon(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onToggleEditMode(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn ownerDelete(); - TodoReturn scene(GJLevelList*); - TodoReturn updateEditMode(); - TodoReturn updateSideButtons(); - TodoReturn updateStatsArt(); - TodoReturn verifyListName(); - - virtual void onEnter(); - virtual void onExit(); - virtual TodoReturn loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual TodoReturn loadLevelsFailed(char const*, int); - virtual void onBack(cocos2d::CCObject* sender); - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn likedItem(LikeItemType, int, bool); - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); - virtual TodoReturn levelListDeleteFinished(int); - virtual TodoReturn levelListDeleteFailed(int); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) {} - virtual void loadLevelsFailed(char const*, int) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelOptionsLayer : GJOptionsLayer { - // virtual ~LevelOptionsLayer(); - - static LevelOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onSettings(cocos2d::CCObject* sender); - - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); - virtual TodoReturn setupOptions(); - virtual TodoReturn didToggle(int); -} - -[[link(android)]] -class LevelOptionsLayer2 : LevelOptionsLayer { - // virtual ~LevelOptionsLayer2(); - - static LevelOptionsLayer2* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - - virtual TodoReturn setupOptions(); -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelPage(); - - static LevelPage* create(GJGameLevel*); - - TodoReturn addSecretCoin(); - TodoReturn addSecretDoor(); - bool init(GJGameLevel*); - void onInfo(cocos2d::CCObject* sender) = win 0x26c270; - void onMoreGames(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSecretDoor(cocos2d::CCObject* sender); - void onTheTower(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn updateDynamicPage(GJGameLevel*); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual TodoReturn dialogClosed(DialogLayer*); - - void* m_unk; - GJGameLevel* m_level; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(int); - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - TodoReturn confirmClearFilters(cocos2d::CCObject*); - char const* getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - GJSearchObject* getSearchObject(SearchType, gd::string) = win 0x263A10; - TodoReturn getTimeKey(int); - bool init(int) = win 0x260d80; - void onBack(cocos2d::CCObject* sender); - void onClearFreeSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onLatestStars(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender) = win 0x262840; - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender); - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSearchMode(cocos2d::CCObject* sender); - void onSearchUser(cocos2d::CCObject* sender); - void onSpecialDemon(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onSuggested(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - TodoReturn toggleStar(cocos2d::CCObject*); - TodoReturn toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*) = win 0x263740; - - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn demonFilterSelectClosed(int); - - int m_type; - CCTextInputNode* m_searchInput; - cocos2d::CCSprite* m_starsSprite; - cocos2d::CCArray* m_difficultySprites; - cocos2d::CCArray* m_lengthSprites; - cocos2d::CCDictionary* m_difficultyDict; - cocos2d::CCSprite* m_lastDifficultySprite; - CCMenuItemSpriteExtra* m_demonTypeButton; -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, DynamicScrollDelegate { - // virtual ~LevelSelectLayer(); - - static LevelSelectLayer* create(int); - - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn tryShowAd(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated() {} -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, SelectSettingDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate, TextInputDelegate { - // virtual ~LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - bool init(LevelSettingsObject*, LevelEditorLayer*); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCol(cocos2d::CCObject* sender); - void onDisable(cocos2d::CCObject* sender); - void onFGArt(cocos2d::CCObject* sender); - void onGameplayMode(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOptionToggle(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShowPicker(cocos2d::CCObject* sender); - void onSpeed(cocos2d::CCObject* sender); - TodoReturn showPicker(ColorAction*); - TodoReturn updateColorSprite(ColorChannelSprite*); - TodoReturn updateColorSprites(); - TodoReturn updateGameplayModeButtons(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn colorSelectClosed(cocos2d::CCNode*); - virtual TodoReturn selectArtClosed(SelectArtLayer*); - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - // virtual ~LevelSettingsObject(); - - static LevelSettingsObject* create(); - - TodoReturn getSaveString(); - TodoReturn objectFromDict(cocos2d::CCDictionary*); - TodoReturn objectFromString(gd::string const&); - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - TodoReturn shouldUseYSection(); - - virtual bool init(); - - GJEffectManager* m_effectManager; - // property kA2 - int m_startMode; - // property kA4 - Speed m_startSpeed; - // property kA3 - bool m_startMini; - // property kA8 - bool m_startDual; - // property kA28 - bool m_propertykA28; - // property kA29 - bool m_propertykA29; - // property kA10 - bool m_twoPlayerMode; - // property kA22 - bool m_platformerMode; - // property kA13 - float m_songOffset; - // property kA15 - bool m_fadeIn; - // property kA16 - bool m_fadeOut; - // property kA6 - int m_backgroundIndex; - // property kA7 - int m_groundIndex; - // property kA18 - int m_fontIndex; - // property kA25 - int m_middleGroundIndex; - // property kA9 - bool m_startsWithStartPos; - // property kA11 - bool m_isFlipped; - // property kA20 - bool m_propertykA20; - // property kA21 - bool m_propertykA21; - // property kA19 - int m_propertykA19; - // property kA26 - int m_propertykA26; - - GJGameLevel* m_level; - // property kA14 - gd::string m_guidelineString; - - int m_defaultSongID; - // property kS39 - int m_colorPage; - // property kA17 - int m_groundLineIndex; - // property kA23 - bool m_propertykA23; - // property kA24 - bool m_propertykA24; - // property kA43 - bool m_propertykA43; - // property kA44 - int m_propertykA44; - // property kA35 - bool m_propertykA35; - // property kA36 - int m_propertykA36; - // property kA27 - bool m_propertykA27; - // property kA31 - bool m_propertykA31; - // property kA32 - bool m_propertykA32; - // property kA33 - bool m_propertykA33; - // property kA34 - bool m_propertykA34; - // property kA37 - bool m_propertykA37; - // property kA38 - bool m_propertykA38; - // property kA39 - bool m_propertykA39; - // property kA40 - bool m_propertykA40; - // property kA41 - bool m_propertykA41; - // property kA42 - bool m_propertykA42; -} - -[[link(android)]] -class LevelTools { - TodoReturn artistForAudio(int); - TodoReturn base64DecodeString(gd::string); - TodoReturn base64EncodeString(gd::string); - TodoReturn createStarPackDict(); - TodoReturn fbURLForArtist(int); - TodoReturn getAudioBPM(int); - TodoReturn getAudioFileName(int); - TodoReturn getAudioString(int); - TodoReturn getAudioTitle(int) = win 0x272f10; - TodoReturn getLastGameplayReversed(); - TodoReturn getLastGameplayRotated(); - TodoReturn getLastTimewarp(); - TodoReturn getLevel(int, bool) = win 0x272440; - TodoReturn getLevelList(); - TodoReturn getSongObject(int); - TodoReturn moveTriggerObjectsToArray(cocos2d::CCArray*, cocos2d::CCDictionary*, int); - TodoReturn nameForArtist(int); - TodoReturn ngURLForArtist(int); - TodoReturn offsetBPMForTrack(int); - TodoReturn posForTime(float, cocos2d::CCArray*, int, bool, int&); - TodoReturn posForTimeInternal(float, cocos2d::CCArray*, int, bool, bool, bool, int&, int) = win 0x2748d0; - TodoReturn sortChannelOrderObjects(cocos2d::CCArray*, cocos2d::CCDictionary*, bool) = win 0x275470; - TodoReturn sortSpeedObjects(cocos2d::CCArray*, GJBaseGameLayer*) = win 0x275690; - TodoReturn timeForPos(cocos2d::CCPoint, cocos2d::CCArray*, int, int, int, bool, bool, bool, bool, int) = win 0x274250; - TodoReturn toggleDebugLogging(bool); - TodoReturn urlForAudio(int); - TodoReturn valueForSpeedMod(int) = win 0x274200; - TodoReturn verifyLevelIntegrity(gd::string, int); - TodoReturn ytURLForArtist(int); -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) {} - virtual void levelUpdateFailed(int) {} -} - -[[link(android)]] -class LevelUploadDelegate { - virtual void levelUploadFinished(GJGameLevel*) {} - virtual void levelUploadFailed(GJGameLevel*) {} -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - // virtual ~LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int, int) = win 0x275B90; - - bool init(LikeItemType, int, int) = win 0x275c40; - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - TodoReturn triggerLike(bool); - - virtual void keyBackClicked(); - - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getPage(); - TodoReturn goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual TodoReturn listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage : cocos2d::CCLayer { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell : TableViewCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - void loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ListUploadDelegate { - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - // virtual ~LoadingCircle(); - - static LoadingCircle* create() = win 0x483d0; - - TodoReturn fadeAndRemove() = win 0x48670; - TodoReturn show() = win 0x48590; - - virtual bool init() = win 0x484d0; - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - inline void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class LoadingCircleSprite : cocos2d::CCSprite { - // virtual ~LoadingCircleSprite(); - - static LoadingCircleSprite* create(); - - TodoReturn fadeInCircle(bool); - TodoReturn hideCircle(); - - virtual bool init(); -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool); - - const char* getLoadingString() = win 0x2770f0; - bool init(bool) = win 0x2761e0; - TodoReturn loadAssets() = win 0x276a40; - TodoReturn loadingFinished() = win 0x276950; - TodoReturn scene(bool); - TodoReturn updateProgress(int); - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager : GManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState() = win 0x2775d0; - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - - TodoReturn getAllLevelsInDict(); - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getCreatedLevels(int); - TodoReturn getCreatedLists(int); - TodoReturn getLevelsInNameGroups(); - TodoReturn getMainLevelString(int) = win 0x277900; - TodoReturn markLevelsAsUnmodified(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn reorderLevels(); - TodoReturn tryLoadMainLevelString(int) = win 0x277770; - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - - virtual bool init(); - virtual TodoReturn encodeDataTo(DS_Dictionary*); - virtual TodoReturn dataLoaded(DS_Dictionary*); - virtual TodoReturn firstLoad(); - - cocos2d::CCArray* m_localLevels; - cocos2d::CCArray* m_LLM03; - gd::map m_mainLevels; -} - -[[link(android)]] -class MapPackCell : TableViewCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - void loadFromMapPack(GJMapPack*) = win 0x81240; - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender) = win 0x81c90; - TodoReturn playCompleteEffect(); - TodoReturn reloadCell(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class MapSelectLayer : cocos2d::CCLayer { - // virtual ~MapSelectLayer(); - - static MapSelectLayer* create(); - - TodoReturn checkTouchMonster(cocos2d::CCPoint); - TodoReturn createObjectAtPoint(cocos2d::CCPoint); - TodoReturn getConstrainedMapPos(cocos2d::CCPoint); - void onBack(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual void update(float); - virtual bool init(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void scrollWheel(float, float); -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - // virtual ~MenuGameLayer(); - - static MenuGameLayer* create(); - - TodoReturn destroyPlayer(); - TodoReturn getBGColor(int); - TodoReturn resetPlayer() = win 0x279e50; - TodoReturn tryJump(float); - TodoReturn updateColor(float) = win 0x279550; - TodoReturn updateColors(); - - virtual void update(float) = win 0x279ae0; - virtual bool init() = win 0x2790c0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - // virtual ~MenuLayer(); - - static cocos2d::CCScene* scene(bool) = win 0x27b260; - - TodoReturn endGame(); - TodoReturn firstNetworkTest(); - void onAchievements(cocos2d::CCObject* sender); - void onCreator(cocos2d::CCObject* sender) = win 0x27c860; - void onDaily(cocos2d::CCObject* sender); - void onDiscord(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender) = win 0x27c8d0; - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender) = win 0x27c630; - void onMyProfile(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender) = win 0x27c970; - void onOptions(cocos2d::CCObject* sender); - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender) = win 0x27c720; - void onQuit(cocos2d::CCObject* sender) = win 0x27ca00; - void onRobTop(cocos2d::CCObject* sender); - void onStats(cocos2d::CCObject* sender); - void onTrailer(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn openOptions(bool); - TodoReturn showGCQuestion(); - TodoReturn showMeltdownPromo(); - TodoReturn showTOS() = win 0x27c4f0; - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn updateUserProfileButton(); - TodoReturn videoOptionsClosed(); - TodoReturn videoOptionsOpened(); - TodoReturn willClose(); - - virtual bool init() = win 0x27b2e0; - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn googlePlaySignedIn() = win 0x27c6f0; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool) = win 0x27ca80; -} - -[[link(android)]] -class MessageListDelegate { - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) {} - virtual void loadMessagesFailed(char const*, GJErrorCode) {} - virtual void forceReloadMessages(bool) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class MessagesProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, MessageListDelegate { - // virtual ~MessagesProfilePage(); - - static MessagesProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool) = win 0x27d040; - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentMessages(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadMessagesFailed(char const*, GJErrorCode); - virtual TodoReturn forceReloadMessages(bool); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate, GJDropDownLayerDelegate { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onClose(cocos2d::CCObject* sender); - void onFMODDebug(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onParental(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender) = win 0x2b3710; - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn googlePlaySignedIn(); - virtual TodoReturn dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreSearchLayer(); - - static MoreSearchLayer* create() = win 0x265480; - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender) = win 0x267030; - void onCoins(cocos2d::CCObject* sender); - void onCompleted(cocos2d::CCObject* sender); - void onEpic(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLegendary(cocos2d::CCObject* sender); - void onMythic(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender) = win 0x266850; - void onSongMode(cocos2d::CCObject* sender) = win 0x266b00; - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init() = win 0x265520; - virtual void keyBackClicked(); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; -} - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onApplyFPS(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn updateFPSButtons() = win 0x2b6f50; - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MPLobbyLayer : cocos2d::CCLayer, GJMPDelegate, UploadPopupDelegate, UploadActionDelegate, FLAlertLayerProtocol, TextInputDelegate { - // virtual ~MPLobbyLayer(); - - static MPLobbyLayer* create(int); - - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - void onBtn3(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - TodoReturn onUpdateLobby(); - TodoReturn postComment(); - TodoReturn scene(int); - TodoReturn tryExitLobby(); - TodoReturn updateLobby(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn updateComments(); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite { - // virtual ~MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn moveSpecialDescriptors(int, int); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class MultiplayerLayer : cocos2d::CCLayer { - // virtual ~MultiplayerLayer(); - - static MultiplayerLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MultiTriggerPopup : SetupTriggerPopup { - // virtual ~MultiTriggerPopup(); - - static MultiTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class MusicArtistObject : cocos2d::CCObject { - // virtual ~MusicArtistObject(); - - static MusicArtistObject* create(int, gd::string, gd::string, gd::string); - - bool init(int, gd::string, gd::string, gd::string); -} - -[[link(android)]] -class MusicBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, FLAlertLayerProtocol, SliderDelegate { - // virtual ~MusicBrowser(); - - static MusicBrowser* create(int); - - bool init(int); - void onArtistFilters(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPlaybackControl(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onTagFilters(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - TodoReturn setupList(MusicSearchResult*); - TodoReturn setupSongControls(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn trySetupMusicBrowser(); - TodoReturn updatePageLabel(); - - virtual void update(float); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn sliderEnded(Slider*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MusicBrowserDelegate { - virtual void musicBrowserClosed(MusicBrowser*) {} -} - -[[link(android)]] -class MusicDelegateHandler : cocos2d::CCNode { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void loadSongInfoFinished(SongInfoObject*) {} - virtual void loadSongInfoFailed(int, GJSongError) {} - virtual void downloadSongFinished(int) {} - virtual void downloadSongFailed(int, GJSongError) {} - virtual void songStateChanged() {} - virtual void downloadSFXFinished(int) {} - virtual void downloadSFXFailed(int, GJSongError) {} - virtual void musicActionFinished(GJMusicAction) {} - virtual void musicActionFailed(GJMusicAction) {} -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState(); - - void addDLToActive(char const*, cocos2d::CCObject*); - void addDLToActive(char const*); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn addSongObjectFromString(gd::string); - TodoReturn clearSong(int); - TodoReturn clearUnusedSongs(); - TodoReturn createSongsInfo(gd::string); - TodoReturn dataLoaded(DS_Dictionary*); - TodoReturn deleteSFX(int); - void deleteSong(int); - TodoReturn downloadCustomSong(int); - TodoReturn downloadMusicLibrary(); - TodoReturn downloadSFX(int); - TodoReturn downloadSFXFailed(int, GJSongError); - TodoReturn downloadSFXFinished(int); - TodoReturn downloadSFXLibrary(); - TodoReturn downloadSong(int); - TodoReturn downloadSongFailed(int, GJSongError); - TodoReturn downloadSongFinished(int); - TodoReturn encodeDataTo(DS_Dictionary*); - TodoReturn filterMusicByArtistID(int, cocos2d::CCArray*); - TodoReturn filterMusicByTag(int, cocos2d::CCArray*); - void firstSetup(); - TodoReturn generateCustomContentURL(gd::string); - TodoReturn generateResourceAssetList(); - TodoReturn getAllMusicArtists(OptionsObjectDelegate*); - TodoReturn getAllMusicObjects(); - TodoReturn getAllMusicTags(OptionsObjectDelegate*); - TodoReturn getAllSFXObjects(bool); - TodoReturn getAllSongs(); - void getCustomContentURL(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadProgress(int); - TodoReturn getMusicArtistForID(int); - TodoReturn getMusicObject(int); - TodoReturn getSFXDownloadKey(int); - TodoReturn getSFXDownloadProgress(int); - TodoReturn getSFXFolderObjectForID(int); - TodoReturn getSFXFolderPathForID(int, bool); - TodoReturn getSFXObject(int); - TodoReturn getSongDownloadKey(int); - void getSongInfo(int, bool); - TodoReturn getSongInfoKey(int); - TodoReturn getSongInfoObject(int); - TodoReturn getSongPriority(); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const*); - bool isMusicLibraryLoaded(); - bool isResourceSFX(int); - bool isResourceSong(int); - bool isRunningActionForSongID(int); - bool isSFXDownloaded(int); - bool isSFXLibraryLoaded(); - bool isSongDownloaded(int); - void limitDownloadedSongs(); - TodoReturn loadSongInfoFailed(int, GJSongError); - TodoReturn loadSongInfoFinished(SongInfoObject*); - TodoReturn musicActionFailed(GJMusicAction); - TodoReturn musicActionFinished(GJMusicAction); - TodoReturn nameForTagID(int); - TodoReturn onDownloadMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSFXCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onGetCustomContentURLCompleted(gd::string, gd::string); - TodoReturn onGetSongInfoCompleted(gd::string, gd::string); - TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onTryUpdateMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn onTryUpdateSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - TodoReturn parseMusicLibrary(); - TodoReturn parseSFXLibrary(); - TodoReturn pathForSFX(int) = win 0x284260; - TodoReturn pathForSFXFolder(int); - TodoReturn pathForSong(int) = win 0x283ef0; - TodoReturn pathForSongFolder(int); - void ProcessHttpGetRequest(gd::string, gd::string, cocos2d::extension::SEL_HttpResponse, int, int); - TodoReturn ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - TodoReturn removeDLFromActive(char const*); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - static cocos2d::CCDictionary* responseToDict(gd::string, char const*); - TodoReturn showTOS(FLAlertLayerProtocol*); - TodoReturn songStateChanged() = win 0x282910; - TodoReturn stopDownload(int); - TodoReturn storeMusicObject(SongInfoObject*); - TodoReturn storeSFXInfoObject(SFXInfoObject*); - TodoReturn tryLoadLibraries(); - TodoReturn tryUpdateMusicLibrary(); - TodoReturn tryUpdateSFXLibrary(); - - virtual bool init(); -} - -[[link(android)]] -class MusicSearchResult : cocos2d::CCObject, OptionsObjectDelegate { - // virtual ~MusicSearchResult(); - - static MusicSearchResult* create(); - - TodoReturn applyArtistFilters(cocos2d::CCArray*); - TodoReturn applyTagFilters(cocos2d::CCArray*); - TodoReturn createArtistFilterObjects(); - TodoReturn createTagFilterObjects(); - TodoReturn getFilesMatchingSearch(cocos2d::CCArray*, gd::string); - bool init(); - TodoReturn updateFutureCount(cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn updateObjects(); - - virtual TodoReturn updateObjects(AudioSortType); - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class NewgroundsInfoLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~NewgroundsInfoLayer(); - - static NewgroundsInfoLayer* create(); - - void onArtists(cocos2d::CCObject* sender); - void onChanges(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onSupporter(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class NodePoint : cocos2d::CCObject { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class NumberInputLayer : FLAlertLayer { - // virtual ~NumberInputLayer(); - - static NumberInputLayer* create(); - - TodoReturn deleteLast(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init() = win 0x28aaa0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - // virtual ~OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float) = win 0x49fb0; - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn computeAxes(); - TodoReturn getBoundingRect(); - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners(); - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectControlGameObject : EffectGameObject { - // virtual ~ObjectControlGameObject(); - - static ObjectControlGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - - virtual bool init(); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*) = win 0x4bae0; - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance(); - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState() = win 0x28b1d0; - - TodoReturn allKeys(); - TodoReturn gridNodeSizeForKey(int); - TodoReturn intKeyToFrame(int); - TodoReturn perspectiveBlockFrame(int); - - virtual bool init(); -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, char const*) {} - virtual void loadListFailed(char const*) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class OpacityEffectAction { - TodoReturn step(float); -} - -[[link(android)]] -class OptionsCell : TableViewCell { - // virtual ~OptionsCell(); - OptionsCell(char const*, float, float); - - void loadFromObject(OptionsObject*) = win 0x839f0; - void onToggleOption(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - // virtual ~OptionsLayer(); - - static OptionsLayer* create() = win 0x2b0040; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*) = win 0x2b0c00; - void onAccount(cocos2d::CCObject* sender) = win 0x2b1200; - void onHelp(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender) = win 0x2b0b60; - void onOptions(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2b1240; - void onRecordReplays(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender) = win 0x2b0e10; - void onSoundtracks(cocos2d::CCObject* sender) = win 0x2b0db0; - void onSupport(cocos2d::CCObject* sender) = win 0x2b11c0; - void onVideo(cocos2d::CCObject* sender); - TodoReturn sfxSliderChanged(cocos2d::CCObject*) = win 0x2b0cf0; - TodoReturn tryEnableRecord(); - - virtual TodoReturn customSetup() = win 0x2b0150; - virtual TodoReturn layerHidden() = win 0x2b12a0; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class OptionsObject : cocos2d::CCObject { - // virtual ~OptionsObject(); - - static OptionsObject* create(int, bool, gd::string, OptionsObjectDelegate*); - - bool init(int, bool, gd::string, OptionsObjectDelegate*); - TodoReturn toggleState(); -} - -[[link(android)]] -class OptionsObjectDelegate { - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class OptionsScrollLayer : FLAlertLayer, TableViewCellDelegate { - // virtual ~OptionsScrollLayer(); - - static OptionsScrollLayer* create(cocos2d::CCArray*, bool); - - TodoReturn getRelevantObjects(cocos2d::CCArray*); - bool init(cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - TodoReturn setupList(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); -} - -[[link(android)]] -class ParentalOptionsLayer : FLAlertLayer { - // virtual ~ParentalOptionsLayer(); - - static ParentalOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - TodoReturn goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class ParticleGameObject : EnhancedGameObject { - // virtual ~ParticleGameObject(); - - static ParticleGameObject* create(); - - TodoReturn applyParticleSettings(cocos2d::CCParticleSystemQuad*); - TodoReturn createAndAddCustomParticle(); - TodoReturn createParticlePreviewArt(); - void setParticleString(gd::string); - TodoReturn updateParticle(); - TodoReturn updateParticleAngle(float, cocos2d::CCParticleSystemQuad*); - TodoReturn updateParticlePreviewArtOpacity(float); - TodoReturn updateParticleScale(float); - TodoReturn updateParticleStruct(); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual TodoReturn customSetup(); - virtual TodoReturn addMainSpriteToParent(bool); - virtual TodoReturn resetObject(); - virtual TodoReturn deactivateObject(bool); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - char* m_particleData; - PAD = android32 0x110; - - // property 147 - bool m_hasUniformObjectColor; - PAD = android32 0x7; - - // property 211 - bool m_shouldQuickStart; - PAD = android32 0xf; -} - -[[link(android)]] -class ParticlePreviewLayer : cocos2d::CCLayerColor { - // virtual ~ParticlePreviewLayer(); - - static ParticlePreviewLayer* create(cocos2d::CCParticleSystemQuad*); - - bool init(cocos2d::CCParticleSystemQuad*); - TodoReturn postVisit(); - TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - - virtual void draw(); - virtual void visit(); -} - -[[link(android)]] -class PauseLayer : CCBlockLayer { - // virtual ~PauseLayer(); - - static PauseLayer* create(bool) = win 0x2b8530; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn goEdit() = win 0x2b9ce0; - bool init(bool) = win 0x22f00; - TodoReturn musicSliderChanged(cocos2d::CCObject*) = win 0x2b9990; - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender); - void onPracticeMode(cocos2d::CCObject* sender) = win 0x2b9a50; - void onQuit(cocos2d::CCObject* sender) = win 0x2b9e30; - void onRecordReplays(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender); - void onRestartFull(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender) = win 0x2b9b20; - void onSettings(cocos2d::CCObject* sender); - void onTime(cocos2d::CCObject* sender); - void setupProgressBars(); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup() = win 0x2b85e0; - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual TodoReturn downloadFinished(char const*); - virtual TodoReturn downloadFailed(char const*); -} - -[[link(android)]] -class PlatformToolbox { - static TodoReturn activateGameCenter(); - static TodoReturn copyToClipboard(gd::string); - static TodoReturn doesFileExist(gd::string); - static TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - static TodoReturn gameDidSave(); - static TodoReturn getDeviceRefreshRate(); - static TodoReturn getDisplaySize(); - static TodoReturn getRawPath(char const*); - static TodoReturn getUniqueUserID(); - static TodoReturn getUserID(); - static TodoReturn hideCursor(); - static bool isControllerConnected() { - // TODO: mat - return false; - } - static bool isHD(); - static bool isLocalPlayerAuthenticated(); - static bool isLowMemoryDevice(); - static bool isNetworkAvailable(); - static bool isSignedInGooglePlay(); - static TodoReturn loadAndDecryptFileToString(char const*, char const*); - static TodoReturn logEvent(char const*); - static TodoReturn onGameLaunch(); - static TodoReturn onNativePause(); - static TodoReturn onNativeResume(); - static TodoReturn onToggleKeyboard(); - static TodoReturn openAppPage(); - static TodoReturn platformShutdown(); - static TodoReturn refreshWindow(); - static TodoReturn reportAchievementWithID(char const*, int); - static TodoReturn reportLoadingFinished(); - static TodoReturn resizeWindow(float, float); - static TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - static TodoReturn sendMail(char const*, char const*, char const*); - static void setBlockBackButton(bool); - static void setKeyboardState(bool); - static TodoReturn shouldResumeSound(); - static TodoReturn showAchievements(); - static TodoReturn showCursor(); - static TodoReturn signInGooglePlay(); - static TodoReturn signOutGooglePlay(); - static TodoReturn spriteFromSavedFile(gd::string); - static TodoReturn toggleCallGLFinish(bool); - static TodoReturn toggleCPUSleepMode(bool); - static TodoReturn toggleForceTimer(bool); - static TodoReturn toggleFullScreen(bool); - static TodoReturn toggleLockCursor(bool); - static TodoReturn toggleMouseControl(bool); - static TodoReturn toggleSmoothFix(bool); - static TodoReturn toggleVerticalSync(bool); - static TodoReturn tryShowRateDialog(gd::string); - static TodoReturn updateMouseControl(); - static TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - // virtual ~PlayerCheckpoint(); - - static PlayerCheckpoint* create(); - - virtual bool init(); -} - -[[link(android)]] -class PlayerControlGameObject : EffectGameObject { - // virtual ~PlayerControlGameObject(); - - static PlayerControlGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class PlayerFireBoostSprite : cocos2d::CCSprite { - // virtual ~PlayerFireBoostSprite(); - - static PlayerFireBoostSprite* create(); - - TodoReturn animateFireIn(); - TodoReturn animateFireOut(); - TodoReturn loopFireAnimation(); - - virtual bool init(); -} - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - // virtual ~PlayerObject(); - - static PlayerObject* create(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2c1f80; - - TodoReturn activateStreak() = win 0x2d8440; - TodoReturn addAllParticles() = win 0x2c3680; - TodoReturn addToTouchedRings(RingObject*); - TodoReturn addToYVelocity(double, int); - TodoReturn animatePlatformerJump(float); - TodoReturn boostPlayer(float); - TodoReturn bumpPlayer(float, int, bool, GameObject*) = win 0x2d7b30; - TodoReturn buttonDown(PlayerButton); - TodoReturn canStickToGround(); - TodoReturn checkSnapJumpToObject(GameObject*); - TodoReturn collidedWithObject(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn collidedWithObject(float, GameObject*); - TodoReturn collidedWithObjectInternal(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn collidedWithSlope(float, GameObject*, bool); - TodoReturn collidedWithSlopeInternal(float, GameObject*, bool); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - TodoReturn createFadeOutDartStreak(); - TodoReturn createRobot(int) = win 0x2c3150; - TodoReturn createSpider(int) = win 0x2c33e0; - TodoReturn deactivateParticle(); - TodoReturn deactivateStreak(bool); - TodoReturn destroyFromHitHead(); - TodoReturn didHitHead(); - void disableCustomGlowColor(); - TodoReturn disablePlayerControls(); - TodoReturn disableSwingFire(); - TodoReturn doReversePlayer(bool) = win 0x2d1c90; - void enableCustomGlowColor(cocos2d::_ccColor3B const&); - TodoReturn enablePlayerControls(); - TodoReturn exitPlatformerAnimateJump(); - TodoReturn fadeOutStreak2(float) = win 0x2d8530; - TodoReturn flashPlayer(float, float, cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn flipGravity(bool, bool) = win 0x2d3160; - TodoReturn flipMod(); - TodoReturn gameEventTriggered(int, int); - TodoReturn getActiveMode(); - TodoReturn getCurrentXVelocity(); - TodoReturn getModifiedSlopeYVel() = win 0x2c9880; - TodoReturn getOldPosition(float); - TodoReturn getSecondColor(); - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn handlePlayerCommand(int); - TodoReturn handleRotatedCollisionInternal(float, GameObject*, cocos2d::CCRect, bool, bool, bool); - TodoReturn handleRotatedObjectCollision(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn handleRotatedSlopeCollision(float, GameObject*, bool); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(GameObject*, bool); - TodoReturn hitGroundNoJump(GameObject*, bool); - TodoReturn incrementJumps() = win 0x2c7340; - bool init(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2c2030; - bool isBoostValid(float) = win 0x2c9820; - bool isFlying() = win 0x2d34a0; - bool isInBasicMode(); - bool isInNormalMode() = win 0x2d5200; - bool isSafeFlip(float); - bool isSafeHeadTest(); - bool isSafeMode(float); - bool isSafeSpiderFlip(float); - TodoReturn levelFlipFinished(); - TodoReturn levelFlipping() = win 0x2d4300; - TodoReturn levelWillFlip(); - void loadFromCheckpoint(PlayerCheckpoint*); - TodoReturn lockPlayer() = win 0x2d77c0; - TodoReturn logValues(); - TodoReturn modeDidChange(); - TodoReturn performSlideCheck(); - TodoReturn placeStreakPoint() = win 0x2d8b90; - TodoReturn playBumpEffect(int, GameObject*) = win 0x2d7e00; - TodoReturn playBurstEffect(); - TodoReturn playCompleteEffect(bool, bool); - TodoReturn playDeathEffect() = win 0x2ba060; - TodoReturn playDynamicSpiderRun(); - TodoReturn playerDestroyed(bool) = win 0x2d1670; - TodoReturn playerIsFalling(float); - TodoReturn playerIsFallingBugged(); - TodoReturn playerIsMovingUp(); - TodoReturn playerTeleported(); - TodoReturn playingEndEffect(); - TodoReturn playSpawnEffect(); - TodoReturn playSpiderDashEffect(cocos2d::CCPoint, cocos2d::CCPoint); - TodoReturn postCollision(float); - TodoReturn preCollision() = win 0x2c7d00; - TodoReturn preSlopeCollision(float, GameObject*); - TodoReturn propellPlayer(float, bool, int) = win 0x2d7c30; - TodoReturn pushButton(PlayerButton) = win 0x2d1870; - TodoReturn pushDown(); - TodoReturn pushPlayer(float); - TodoReturn redirectDash(float) = win 0x2cf700; - TodoReturn redirectPlayerForce(float, float, float, float); - TodoReturn releaseAllButtons(); - TodoReturn releaseButton(PlayerButton) = win 0x2d1ab0; - TodoReturn removeAllParticles(); - TodoReturn removePendingCheckpoint() = win 0x2d9c40; - TodoReturn removePlacedCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(bool); - TodoReturn resetCollisionValues(); - TodoReturn resetPlayerIcon() = win 0x2d4030; - TodoReturn resetStateVariables(); - TodoReturn resetStreak() = win 0x2c6090; - TodoReturn resetTouchedRings(); - TodoReturn reverseMod(); - TodoReturn reversePlayer(EffectGameObject*) = win 0x2d1bb0; - TodoReturn ringJump(RingObject*, bool) = win 0x2d2240; - TodoReturn rotateGameplay(int, int, bool, float, float, bool, bool) = win 0x2d2dc0; - TodoReturn rotateGameplayObject(GameObject*); - TodoReturn rotateGameplayOnly(bool); - TodoReturn rotatePreSlopeObjects(); - TodoReturn runBallRotation(float) = win 0x2c7980; - TodoReturn runBallRotation2() = win 0x2c7ac0; - TodoReturn runNormalRotation() = win 0x2c7840; - TodoReturn runNormalRotation(bool, float) = win 0x2c7840; - TodoReturn runRotateAction(bool, int); - TodoReturn saveToCheckpoint(PlayerCheckpoint*); - void setSecondColor(cocos2d::ccColor3B const&) = win 0x2d6020; - TodoReturn setupStreak(); - void setYVelocity(double, int); - TodoReturn spawnCircle(); - TodoReturn spawnCircle2(); - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*, bool) = win 0x2d8a10; - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float) = win 0x2d1350; - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - TodoReturn spiderTestJump(bool); - TodoReturn spiderTestJumpInternal(bool); - TodoReturn spiderTestJumpX(bool); - TodoReturn spiderTestJumpY(bool); - TodoReturn startDashing(DashRingObject*); - TodoReturn stopBurstEffect(); - TodoReturn stopDashing() = win 0x2d0490; - TodoReturn stopParticles(); - TodoReturn stopPlatformerJumpAnimation(); - TodoReturn stopRotation(bool, int); - TodoReturn stopStreak2() = win 0x2d85a0; - TodoReturn storeCollision(PlayerCollisionDirection, int); - TodoReturn switchedDirTo(PlayerButton) = win 0x2d1780; - TodoReturn switchedToMode(GameObjectType) = win 0x2d4a50; - TodoReturn testForMoving(float, GameObject*); - TodoReturn toggleBirdMode(bool, bool) = win 0x2d37b0; - TodoReturn toggleDartMode(bool, bool) = win 0x2d3d70; - TodoReturn toggleFlyMode(bool, bool) = win 0x2d3520; - TodoReturn toggleGhostEffect(GhostType) = win 0x2d74c0; - void togglePlatformerMode(bool val) { - m_isPlatformer = val; - } - TodoReturn togglePlayerScale(bool, bool) = win 0x2d8bf0; - TodoReturn toggleRobotMode(bool, bool) = win 0x2d4470; - TodoReturn toggleRollMode(bool, bool) = win 0x2d4340; - TodoReturn toggleSpiderMode(bool, bool) = win 0x2d4760; - TodoReturn toggleSwingMode(bool, bool) = win 0x2d3a30; - TodoReturn toggleVisibility(bool); - TodoReturn touchedObject(GameObject*); - TodoReturn tryPlaceCheckpoint() = win 0x2d9ca0; - TodoReturn unrotateGameplayObject(GameObject*); - TodoReturn unrotatePreSlopeObjects(); - TodoReturn updateCheckpointMode(bool); - TodoReturn updateCheckpointTest() = win 0x2c5e60; - TodoReturn updateCollide(PlayerCollisionDirection, GameObject*); - TodoReturn updateCollideBottom(float, GameObject*); - TodoReturn updateCollideLeft(float, GameObject*); - TodoReturn updateCollideRight(float, GameObject*); - TodoReturn updateCollideTop(float, GameObject*); - TodoReturn updateDashAnimation(); - TodoReturn updateDashArt() = win 0x2d0080; - TodoReturn updateEffects(float); - TodoReturn updateGlowColor() = win 0x2d6090; - TodoReturn updateInternalActions(float); - TodoReturn updateJump(float) = win 0x2c6300; - TodoReturn updateJumpVariables(); - TodoReturn updateLastGroundObject(GameObject*); - TodoReturn updateMove(float); - TodoReturn updatePlayerArt() = win 0x2d1e60; - TodoReturn updatePlayerBirdFrame(int) = win 0x2d6b60; - TodoReturn updatePlayerDartFrame(int) = win 0x2d7100; - TodoReturn updatePlayerForce(cocos2d::CCPoint, bool); - TodoReturn updatePlayerFrame(int) = win 0x2d6610; - TodoReturn updatePlayerGlow() = win 0x2d86d0; - TodoReturn updatePlayerJetpackFrame(int) = win 0x2d69a0; - void updatePlayerRobotFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x43) id = 0x44; - - createRobot(id); - } - TodoReturn updatePlayerRollFrame(int) = win 0x2d6d80; - TodoReturn updatePlayerScale() = win 0x2d8670; - TodoReturn updatePlayerShipFrame(int) = win 0x2d67e0; - void updatePlayerSpiderFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x44) id = 0x45; - - createSpider(id); - } - - TodoReturn updatePlayerSpriteExtra(gd::string); - TodoReturn updatePlayerSwingFrame(int) = win 0x2d6f40; - TodoReturn updateRobotAnimationSpeed(); - TodoReturn updateRotation(float, float); - TodoReturn updateRotation(float); - TodoReturn updateShipRotation(float); - TodoReturn updateShipSpriteExtra(gd::string); - TodoReturn updateSlopeRotation(float); - TodoReturn updateSlopeYVelocity(float); - TodoReturn updateSpecial(float); - TodoReturn updateStateVariables(); - TodoReturn updateStaticForce(float, float, bool); - TodoReturn updateStreakBlend(bool); - TodoReturn updateStreaks(float); - TodoReturn updateSwingFire() = win 0x2d3c60; - TodoReturn updateTimeMod(float, bool) = win 0x2d9060; - TodoReturn usingWallLimitedMode(); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual void update(float) = win 0x2c3d20; - virtual void setScaleX(float) = win 0x2da200; - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&) = win 0x2d52e0; - virtual void setVisible(bool) = win 0x2da220; - virtual void setRotation(float) = win 0x2da110; - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&) = win 0x2d5fa0; - virtual void setFlipX(bool) = win 0x2da130; - virtual void setFlipY(bool); - virtual TodoReturn resetObject() = win 0x2d0c50; - virtual TodoReturn getRealPosition(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn animationFinished(char const*); - - PAD = win 0x13c; - float m_rotationSpeed; //0x5d8 - PAD = win 0x5; - bool m_isRotating; //0x5e1 - PAD = win 0x1b6; - double m_yVelocity; //0x798 - PAD = win 0x9; - bool m_isShip; //0x7a9 - bool m_isBird; //0x7aa - bool m_isBall; //0x7ab - bool m_isDart; //0x7ac - bool m_isRobot; //0x7ad - bool m_isSpider; //0x7ae - bool m_isUpsideDown; //0x7af - bool m_isDead; //0x7b0 - bool m_isOnGround; //0x7b1 - bool m_isGoingLeft; //0x7b2 - PAD = win 0x1; - bool m_isSwing; //0x7b4 - PAD = win 0x1f; - bool m_isDashing; //0x7d4 - PAD = win 0xf; - float m_speed; //0x7e4 - PAD = win 0x17; - bool m_isLocked; //0x7ff - PAD = win 0x1c; - cocos2d::CCPoint m_position; //0x81c - PAD = win 0x4c; - double m_platformerXVelocity; //0x870 - PAD = win 0x70; - bool m_isPlatformer; //0x8e8 - PAD = win 0x13; - float m_gravityMod; //0x8fc - PAD = win 0x80; -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - // virtual ~PlayLayer(); - - static PlayLayer* create(GJGameLevel*, bool, bool) = win 0x2dbe80; - static PlayLayer* get() { - return GameManager::get()->m_playLayer; - } - - TodoReturn addCircle(CCCircleWave*); - TodoReturn addObject(GameObject*) = win 0x2e13d0; - TodoReturn addToGroupOld(GameObject*); - TodoReturn applyCustomEnterEffect(GameObject*, bool); - TodoReturn applyEnterEffect(GameObject*, int, bool); - TodoReturn canPauseGame(); - TodoReturn checkpointWithID(int); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn commitJumps(); - TodoReturn compareStateSnapshot(); - TodoReturn createCheckpoint() = win 0x2e70f0; - TodoReturn createObjectsFromSetupFinished() = win 0x2e1150; - TodoReturn delayedFullReset(); - TodoReturn delayedResetLevel(); - TodoReturn fullReset(); - TodoReturn getCurrentPercent(); - TodoReturn getCurrentPercentInt() = win 0x2e60b0; - TodoReturn getEndPosition(); - TodoReturn getLastCheckpoint() = win 0x2e8750; - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getRelativeModNew(cocos2d::CCPoint, float, float, bool, bool); - TodoReturn getTempMilliTime(); - TodoReturn gravityEffectFinished(); - TodoReturn incrementJumps() = win 0x2ea6e0; - bool init(GJGameLevel*, bool, bool) = win 0x2dbf30; - bool isGameplayActive(); - TodoReturn levelComplete() = win 0x2dd590; - TodoReturn loadActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn loadDefaultColors() = win 0x2e48a0; - TodoReturn loadDynamicSaveObjects(gd::vector&); - void loadFromCheckpoint(CheckpointObject*) = win 0x2e7ff0; - TodoReturn loadLastCheckpoint(); - TodoReturn markCheckpoint() = win 0x2e7f60; - TodoReturn onQuit() = win 0x2eae90; - TodoReturn optimizeColorGroups(); - TodoReturn optimizeOpacityGroups(); - TodoReturn pauseGame(bool) = win 0x2ea890; - TodoReturn playEndAnimationToPos(cocos2d::CCPoint) = win 0x2df830; - TodoReturn playPlatformerEndAnimationToPos(cocos2d::CCPoint, bool) = win 0x2e0010; - TodoReturn playReplay(gd::string); - TodoReturn prepareCreateObjectsFromSetup(gd::string&) = win 0x2e0670; - TodoReturn prepareMusic(bool) = win 0x2eacc0; - TodoReturn processCreateObjectsFromSetup() = win 0x2e08f0; - TodoReturn processLoadedMoveActions(); - TodoReturn queueCheckpoint(); - TodoReturn removeAllObjects() = win 0x2eaf80; - TodoReturn removeCheckpoint(bool); - TodoReturn removeFromGroupOld(GameObject*); - TodoReturn resetLevel() = win 0x2e9b40; - TodoReturn resetLevelFromStart() = win 0x2e9aa0; - TodoReturn resume(); - TodoReturn resumeAndRestart(bool); - TodoReturn saveActiveSaveObjects(gd::vector&, gd::vector&) = win 0x2e9630; - TodoReturn saveDynamicSaveObjects(gd::vector&) = win 0x2e9190; - TodoReturn scanActiveSaveObjects(); - TodoReturn scanDynamicSaveObjects(); - TodoReturn scene(GJGameLevel*, bool, bool) = win 0x2dbe30; - TodoReturn screenFlipObject(GameObject*); - void setDamageVerifiedIdx(int); - TodoReturn setupHasCompleted() = win 0x2dc870; - TodoReturn shouldBlend(int); - TodoReturn showCompleteEffect(); - TodoReturn showCompleteText() = win 0x2dde40; - TodoReturn showEndLayer(); - TodoReturn showHint() = win 0x2e69a0; - TodoReturn showNewBest(bool, int, int, bool, bool, bool) = win 0x2de7f0; - TodoReturn showRetryLayer(); - TodoReturn showTwoPlayerGuide(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - TodoReturn startGame() = win 0x2dd4e0; - TodoReturn startGameDelayed(); - TodoReturn startMusic() = win 0x2eadb0; - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopRecording(); - TodoReturn storeCheckpoint(CheckpointObject*) = win 0x2e7eb0; - TodoReturn takeStateSnapshot(); - TodoReturn toggleBGEffectVisibility(bool); - TodoReturn toggleGhostEffect(int); - TodoReturn togglePracticeMode(bool); - TodoReturn tryStartRecord(); - TodoReturn updateAttempts() = win 0x2ea550; - TodoReturn updateEffectPositions() = win 0x2e6b40; - TodoReturn updateInfoLabel() = win 0x2e5500; - TodoReturn updateInvisibleBlock(GameObject*, float, float, float, float, cocos2d::ccColor3B const&); - TodoReturn updateProgressbar() = win 0x2e4e70; - TodoReturn updateScreenRotation(int, bool, bool, float, int, float, int, int); - TodoReturn updateTimeWarp(EffectGameObject*, float) = win 0x1b95d0; - - virtual void onEnterTransitionDidFinish() = win 0x2eb110; - virtual void onExit() = win 0x2eb140; - virtual TodoReturn postUpdate(float) = win 0x2e6c30; - virtual TodoReturn checkForEnd() = win 0x2e6ee0; - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage() = win 0x2e6fc0; - virtual TodoReturn updateAttemptTime(float) = win 0x2e7040; - virtual TodoReturn updateVisibility(float) = win 0x2e2610; - virtual TodoReturn opacityForObject(GameObject*) = win 0x2e3340; - virtual TodoReturn updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x2e4b00; - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual TodoReturn activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&) = win 0x2dff00; - virtual TodoReturn toggleGlitter(bool) = win 0x2e6060; - virtual TodoReturn destroyPlayer(PlayerObject*, GameObject*) = win 0x2e6160; - virtual TodoReturn toggleGroundVisibility(bool) = win 0x2e5f10; - virtual TodoReturn toggleMGVisibility(bool) = win 0x2e5f90; - virtual TodoReturn toggleHideAttempts(bool) = win 0x2e5fe0; - virtual TodoReturn timeForPos(cocos2d::CCPoint, int, int, bool, int) = win 0x2e5e10; - virtual TodoReturn posForTime(float) = win 0x2e5e80; - virtual TodoReturn resetSPTriggered() = win 0x2e5ed0; - virtual TodoReturn updateTimeWarp(float); - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*) = win 0x2e3360; - virtual TodoReturn checkpointActivated(CheckpointGameObject*) = win 0x2e70d0; - virtual TodoReturn flipArt(bool); - virtual TodoReturn updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual TodoReturn toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual TodoReturn removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); - virtual TodoReturn circleWaveWillBeRemoved(CCCircleWave*); - virtual TodoReturn dialogClosed(DialogLayer*); - - PAD = win 0x12C, android32 0x12C; - bool m_endLayerStars; // not verified on android - PAD = win 0xBF, android32 0xBF; -} - -[[link(android)]] -class PointNode : cocos2d::CCObject { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint) = win 0x227340; - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class PriceLabel : cocos2d::CCNode { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - // virtual ~ProfilePage(); - - static ProfilePage* create(int, bool) = win 0x2ec9e0; - - void blockUser(); - bool init(int, bool) = win 0x2ecab0; - bool isCorrect(char const*); - bool isOnWatchlist(int); - TodoReturn loadPage(int); - TodoReturn loadPageFromUserInfo(GJUserScore*) = win 0x2ed7d0; - void onBlockUser(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = win 0x2f1010; - void onComment(cocos2d::CCObject* sender); - void onCommentHistory(cocos2d::CCObject* sender); - void onFollow(cocos2d::CCObject* sender); - void onFriend(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onMessages(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender) = win 0x2f00b0; - void onMyLists(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRequests(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender) = win 0x2ed540; - void onYouTube(cocos2d::CCObject* sender); - TodoReturn setupComments(); - TodoReturn setupCommentsBrowser(cocos2d::CCArray*) = win 0x2f1b90; - TodoReturn showNoAccountError(); - TodoReturn toggleMainPageVisibility(bool); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x2f1220; - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateUserScoreFinished(); - virtual TodoReturn updateUserScoreFailed(); - virtual TodoReturn getUserInfoFinished(GJUserScore*) = win 0x2f17e0; - virtual TodoReturn getUserInfoFailed(int) = win 0x2f1870; - virtual TodoReturn userInfoChanged(GJUserScore*) = win 0x2f18c0; - virtual TodoReturn loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadCommentsFailed(char const*) = win 0x2f1d20; - virtual TodoReturn setupPageInfo(gd::string, char const*); - virtual TodoReturn commentUploadFinished(int); - virtual TodoReturn commentUploadFailed(int, CommentError); - virtual TodoReturn commentDeleteFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - - GJUserScore* m_score; - int m_accountID; - bool m_ownProfile; - gd::string m_profileKey; - cocos2d::CCLabelBMFont* m_somethingWentWrong; - cocos2d::CCLabelBMFont* m_usernameLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_followBtn; - void* m_unk; - cocos2d::CCArray* m_buttons; - cocos2d::CCArray* m_arrayWithUsernameLabel; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - LoadingCircle* m_circle; - void* m_popupDelegate; - CCMenuItemSpriteExtra* m_refreshBtn; -} - -[[link(android)]] -class PromoInterstitial : FLAlertLayer { - // virtual ~PromoInterstitial(); - - static PromoInterstitial* create(bool); - - bool init(bool); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class PulseEffectAction { - bool isFinished(); - TodoReturn step(float); - TodoReturn valueForDelta(float, float, float, float); -} - -[[link(android)]] -class PurchaseItemPopup : FLAlertLayer { - // virtual ~PurchaseItemPopup(); - - static PurchaseItemPopup* create(GJStoreItem*); - - bool init(GJStoreItem*) = win 0x21cc30; - void onClose(cocos2d::CCObject* sender); - void onPurchase(cocos2d::CCObject* sender) = win 0x21d6b0; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RandTriggerGameObject : ChanceTriggerGameObject { - // virtual ~RandTriggerGameObject(); - - static RandTriggerGameObject* create(); - - TodoReturn getRandomGroupID(); - TodoReturn getTotalChance(); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateDemonLayer(); - - static RateDemonLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2f3640; - void selectRating(cocos2d::CCObject*) = win 0x2f34e0; - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - - PAD = win 0x12; - int m_demonRate; -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed() {} -} - -[[link(android)]] -class RateLevelLayer : FLAlertLayer { - // virtual ~RateLevelLayer(); - - static RateLevelLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateStarsLayer(); - - static RateStarsLayer* create(int, bool, bool); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int, bool, bool); - void onClose(cocos2d::CCObject* sender) = win 0x2f4dd0; - void onFeature(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2f4be0; - void onToggleCoins(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*) = win 0x2f4a90; - - virtual void keyBackClicked(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - PAD = win 0x10; - int m_starsRate; -} - -[[link(android)]] -class RetryLevelLayer : GJDropDownLayer, RewardedVideoDelegate { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create(); - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn customSetup(); - virtual TodoReturn showLayer(bool); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class RewardedVideoDelegate { - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); -} - -[[link(android)]] -class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate { - // virtual ~RewardsPage(); - - static RewardsPage* create(); - - TodoReturn getRewardFrame(int, int); - void onClose(cocos2d::CCObject* sender); - void onFreeStuff(cocos2d::CCObject* sender); - void onReward(cocos2d::CCObject* sender); - TodoReturn tryGetRewards(); - TodoReturn unlockLayerClosed(RewardUnlockLayer*); - TodoReturn updateTimers(float); - - virtual bool init() = win 0x2f6210; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn rewardsStatusFinished(int); - virtual TodoReturn rewardsStatusFailed(); - - cocos2d::CCLabelBMFont* m_leftLabel; - cocos2d::CCLabelBMFont* m_rightLabel; - CCMenuItemSpriteExtra* m_leftChest; - CCMenuItemSpriteExtra* m_rightChest; - bool m_leftOpen; - bool m_rightOpen; - cocos2d::CCNode* m_openLayer; -} - -[[link(android)]] -class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate { - // virtual ~RewardUnlockLayer(); - - static RewardUnlockLayer* create(int, RewardsPage*); - - TodoReturn connectionTimeout(); - bool init(int, RewardsPage*); - TodoReturn labelEnterFinishedO(cocos2d::CCObject*); - void onClose(cocos2d::CCObject* sender); - TodoReturn playDropSound(); - TodoReturn playLabelEffect(int, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn playRewardEffect(); - TodoReturn readyToCollect(GJRewardItem*); - TodoReturn showCloseButton(); - TodoReturn showCollectReward(GJRewardItem*) = win 0x2f8280; - TodoReturn step2(); - TodoReturn step3(); - - virtual void keyBackClicked(); - virtual TodoReturn currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class RingObject : EffectGameObject { - // virtual ~RingObject(); - - static RingObject* create(char const*); - - bool init(char const*); - TodoReturn spawnCircle(); - - virtual void setScale(float); - virtual void setRotation(float); - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual void setRScale(float); - virtual TodoReturn triggerActivated(float); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn powerOnObject(int); - - bool m_claimTouch; - // property 504 - bool m_isSpawnOnly; -} - -[[link(android)]] -class RotateGameplayGameObject : EffectGameObject { - // virtual ~RotateGameplayGameObject(); - - static RotateGameplayGameObject* create(); - - TodoReturn updateGameplayRotation(); - - virtual bool init(); - virtual TodoReturn updateStartValues(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - // virtual ~ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - void setStartOffset(cocos2d::CCPoint); - - virtual void draw(); - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*) = win 0x2650a0; - - bool init(char const*, char const*, float, char const*) = win 0x265190; - - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class SearchSFXPopup : SetTextPopup { - // virtual ~SearchSFXPopup(); - - static SearchSFXPopup* create(gd::string); - - bool init(gd::string); - void onSearchFolders(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SecretLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SecretLayer(); - - static SecretLayer* create(); - - TodoReturn getBasicMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*); - - virtual bool init(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer2(); - - static SecretLayer2* create(); - - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onSecretLevel(cocos2d::CCObject* sender) = win 0x306650; - void onSubmit(cocos2d::CCObject* sender) = win 0x306be0; - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn showCompletedLevel(); - TodoReturn showSecretLevel(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*) = win 0x307ed0; - - virtual bool init() = win 0x3050f0; - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer3 : cocos2d::CCLayer, DialogDelegate { - // virtual ~SecretLayer3(); - - static SecretLayer3* create(); - - TodoReturn animateEyes(); - TodoReturn firstInteractionStep1(); - TodoReturn firstInteractionStep2(); - TodoReturn firstInteractionStep3(); - TodoReturn firstInteractionStep4(); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onChest02(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn revealStep1(); - TodoReturn revealStep2(); - TodoReturn revealStep3(); - TodoReturn revealStep4(); - TodoReturn revealStep5(); - TodoReturn scene(); - TodoReturn showUnlockDialog(); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer4(); - - static SecretLayer4* create(); - - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn showDialog(int); - TodoReturn showFirstDialog(); - TodoReturn updateMessageLabel(gd::string); - TodoReturn updateSearchLabel(char const*); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretNumberLayer : cocos2d::CCLayer { - // virtual ~SecretNumberLayer(); - - static SecretNumberLayer* create(); - - TodoReturn playNumberEffect(int); - - virtual bool init(); -} - -[[link(android)]] -class SecretRewardsLayer : cocos2d::CCLayer, DialogDelegate, BoomScrollLayerDelegate { - // virtual ~SecretRewardsLayer(); - - static SecretRewardsLayer* create(bool); - - TodoReturn createSecondaryLayer(int) = win 0x2fce50; - TodoReturn generateChestItems(int) = win 0x2fd2c0; - TodoReturn getPageColor(int); - TodoReturn goToPage(int); - bool init(bool); - TodoReturn moveToMainLayer(cocos2d::CCObject*); - TodoReturn moveToSecondaryLayer(int); - void onBack(cocos2d::CCObject* sender); - void onChestType(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x2fdc40; - void onShop(cocos2d::CCObject* sender) = win 0x2fdfa0; - void onSpecialItem(cocos2d::CCObject* sender) = win 0x2fe250; - void onSwitchPage(cocos2d::CCObject* sender); - TodoReturn scene(bool); - TodoReturn showDialog01(); - TodoReturn showDialog03(); - TodoReturn showDialogDiamond(); - TodoReturn showDialogMechanic(); - TodoReturn showLockedChest(); - TodoReturn showShop(int); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*) = win 0x2fe520; - TodoReturn updateBackButton(); - TodoReturn updateUnlockedLabel() = win 0x2fe5d0; - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn dialogClosed(DialogLayer*); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class SelectArtDelegate { - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer : FLAlertLayer { - // virtual ~SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType, int); - - bool init(SelectArtType, int); - void onClose(cocos2d::CCObject* sender); - void onSelectCustom(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - TodoReturn updateSelectedCustom(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectEventLayer : SetupTriggerPopup { - // virtual ~SelectEventLayer(); - - static SelectEventLayer* create(SetupEventLinkPopup*, gd::set&); - - TodoReturn addToggle(int, gd::string); - bool init(SetupEventLinkPopup*, gd::set&); - TodoReturn nextPosition(); - void onInfo(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - // virtual ~SelectFontLayer(); - - static SelectFontLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - void onChangeFont(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn updateFontLabel(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectListIconDelegate { - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); -} - -[[link(android)]] -class SelectListIconLayer : FLAlertLayer { - // virtual ~SelectListIconLayer(); - - static SelectListIconLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectPremadeDelegate { - virtual TodoReturn selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SelectPremadeLayer : FLAlertLayer { - // virtual ~SelectPremadeLayer(); - - static SelectPremadeLayer* create(); - - void onClose(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSettingDelegate { - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SelectSettingLayer : FLAlertLayer { - // virtual ~SelectSettingLayer(); - - static SelectSettingLayer* create(SelectSettingType, int); - - TodoReturn frameForItem(SelectSettingType, int); - TodoReturn frameForValue(SelectSettingType, int); - TodoReturn getSelectedFrame(); - TodoReturn getSelectedValue(); - TodoReturn idxToValue(SelectSettingType, int); - bool init(SelectSettingType, int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn valueToIdx(SelectSettingType, int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSFXSortDelegate { - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); -} - -[[link(android)]] -class SelectSFXSortLayer : FLAlertLayer { - // virtual ~SelectSFXSortLayer(); - - static SelectSFXSortLayer* create(AudioSortType); - - bool init(AudioSortType); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SequenceTriggerGameObject : ChanceTriggerGameObject { - // virtual ~SequenceTriggerGameObject(); - - static SequenceTriggerGameObject* create(); - - TodoReturn addCount(int, int); - TodoReturn addTarget(int, int); - TodoReturn deleteTarget(int); - TodoReturn reorderTarget(int, bool); - TodoReturn updateSequenceTotalCount(); - - virtual bool init(); - virtual TodoReturn resetObject(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SetColorIDPopup : SetIDPopup, GJSpecialColorSelectDelegate { - // virtual ~SetColorIDPopup(); - - static SetColorIDPopup* create(int); - - bool init(int); - void onSelectSpecialColor(cocos2d::CCObject* sender); - - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetFolderPopup : SetIDPopup, SetTextPopupDelegate { - // virtual ~SetFolderPopup(); - - static SetFolderPopup* create(int, bool, gd::string); - - bool init(int, bool, gd::string); - void onSetFolderName(cocos2d::CCObject* sender); - - virtual TodoReturn valueChanged(); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - // virtual ~SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn addGroupID(int); - TodoReturn callRemoveFromGroup(float); - TodoReturn createTextInput(cocos2d::CCPoint, int, int, gd::string, float, int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*); - void onAddGroup(cocos2d::CCObject* sender); - void onAddGroupParent(cocos2d::CCObject* sender); - void onAnim(cocos2d::CCObject* sender); - TodoReturn onArrow(int, int); - void onArrowLeft(cocos2d::CCObject* sender); - void onArrowRight(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onExtra(cocos2d::CCObject* sender); - void onExtra2(cocos2d::CCObject* sender); - void onNextFreeEditorLayer1(cocos2d::CCObject* sender); - void onNextFreeEditorLayer2(cocos2d::CCObject* sender); - void onNextFreeOrderChannel(cocos2d::CCObject* sender); - void onNextGroupID1(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onToggleSelectedOrder(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - void onZLayerShift(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn updateEditorLabel(); - TodoReturn updateEditorLabel2(); - TodoReturn updateEditorLayerID(); - TodoReturn updateEditorLayerID2(); - TodoReturn updateEditorOrder(); - TodoReturn updateEditorOrderLabel(); - TodoReturn updateGroupIDButtons(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateOrderChannel(); - TodoReturn updateOrderChannelLabel(); - TodoReturn updateZLayerButtons(); - TodoReturn updateZOrder(); - TodoReturn updateZOrderLabel(); - - virtual void keyBackClicked(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetIDPopup(); - // SetIDPopup(); - - static SetIDPopup* create(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - - bool init(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valueChanged(); -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int); -} - -[[link(android)]] -class SetItemIDLayer : SetupTriggerPopup { - // virtual ~SetItemIDLayer(); - - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateEditorLabel(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetLevelOrderPopup : SetIDPopup { - // virtual ~SetLevelOrderPopup(); - - static SetLevelOrderPopup* create(int, int, int); - - bool init(int, int, int); - void onOrderButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetTargetIDLayer : SetupTriggerPopup { - // virtual ~SetTargetIDLayer(); - - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - virtual TodoReturn determineStartValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetTextPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetTextPopup(); - - static SetTextPopup* create(gd::string, gd::string, int, gd::string, gd::string, bool, float); - - bool init(gd::string, gd::string, int, gd::string, gd::string, bool, float); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetTextPopupDelegate { - virtual void setTextPopupClosed(SetTextPopup*, gd::string) {} -} - -[[link(android)]] -class SetupAdvFollowEditPhysicsPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowEditPhysicsPopup(); - - static SetupAdvFollowEditPhysicsPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAdvFollowPopup : SetupTriggerPopup, SelectPremadeDelegate { - // virtual ~SetupAdvFollowPopup(); - - static SetupAdvFollowPopup* create(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onPremade(cocos2d::CCObject* sender); - TodoReturn updateMode(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); - virtual TodoReturn selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SetupAdvFollowRetargetPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowRetargetPopup(); - - static SetupAdvFollowRetargetPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAnimationPopup : SetupTriggerPopup { - // virtual ~SetupAnimationPopup(); - - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAnimationIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateAnimationID(); - TodoReturn updateAnimationTextInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupAnimSettingsPopup : SetupTriggerPopup { - // virtual ~SetupAnimSettingsPopup(); - - static SetupAnimSettingsPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateAnimSettings(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupAreaAnimTriggerPopup : SetupAreaTintTriggerPopup { - // virtual ~SetupAreaAnimTriggerPopup(); - - static SetupAreaAnimTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - TodoReturn createValueControlAdvancedAnim(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle); - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onDeactivateAnimValue(cocos2d::CCObject* sender); - TodoReturn updateTargetIDLabel(); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupAreaFadeTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaFadeTriggerPopup(); - - static SetupAreaFadeTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaMoveTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAreaMoveTriggerPopup(); - // SetupAreaMoveTriggerPopup(); - - static SetupAreaMoveTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - TodoReturn addAreaDefaultControls(int); - TodoReturn getModeValues(int, int&, bool&, bool&); - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onNextFreeEffectID(cocos2d::CCObject* sender); - void onSpecialTarget(cocos2d::CCObject* sender); - TodoReturn updateEnterTargetIDState(); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); -} - -[[link(android)]] -class SetupAreaRotateTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaRotateTriggerPopup(); - - static SetupAreaRotateTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTintTriggerPopup : SetupAreaMoveTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupAreaTintTriggerPopup(); - - static SetupAreaTintTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onHSV(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupAreaTransformTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTransformTriggerPopup(); - - static SetupAreaTransformTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTriggerPopup(); - - static SetupAreaTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupArtSwitchPopup : SetupTriggerPopup, SelectArtDelegate { - // virtual ~SetupArtSwitchPopup(); - - static SetupArtSwitchPopup* create(ArtTriggerGameObject*, cocos2d::CCArray*, int); - - bool init(ArtTriggerGameObject*, cocos2d::CCArray*, int); - void onArt(cocos2d::CCObject* sender); - - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupAudioLineGuidePopup : SetupTriggerPopup, SelectSettingDelegate { - // virtual ~SetupAudioLineGuidePopup(); - - static SetupAudioLineGuidePopup* create(AudioLineGuideGameObject*, cocos2d::CCArray*); - - bool init(AudioLineGuideGameObject*, cocos2d::CCArray*); - void onSpeed(cocos2d::CCObject* sender); - - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SetupAudioTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAudioTriggerPopup(); - - TodoReturn addProxVolControls(int); - TodoReturn addTimeControls(int, float); - void onProxMode(cocos2d::CCObject* sender); - TodoReturn updateSpecialGroup(); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupBGSpeedTrigger : SetupTriggerPopup { - // virtual ~SetupBGSpeedTrigger(); - - static SetupBGSpeedTrigger* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); -} - -[[link(android)]] -class SetupCameraEdgePopup : SetupTriggerPopup { - // virtual ~SetupCameraEdgePopup(); - - static SetupCameraEdgePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onCameraEdge(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onUnlockEdge(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCameraGuidePopup : SetupTriggerPopup { - // virtual ~SetupCameraGuidePopup(); - - static SetupCameraGuidePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCameraModePopup : SetupTriggerPopup { - // virtual ~SetupCameraModePopup(); - - static SetupCameraModePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupCameraOffsetTrigger : SetupTriggerPopup { - // virtual ~SetupCameraOffsetTrigger(); - - static SetupCameraOffsetTrigger* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onTargetMode(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup(); - - static SetupCameraRotatePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup2 : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup2(); - - static SetupCameraRotatePopup2* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCheckpointPopup : SetupTriggerPopup { - // virtual ~SetupCheckpointPopup(); - - static SetupCheckpointPopup* create(CheckpointGameObject*, cocos2d::CCArray*); - - bool init(CheckpointGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCoinLayer : SetupTriggerPopup { - // virtual ~SetupCoinLayer(); - - static SetupCoinLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup { - // virtual ~SetupCollisionStateTriggerPopup(); - - static SetupCollisionStateTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCollisionTriggerPopup(); - - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onActivateOnExit(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemID2Arrow(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetP1(cocos2d::CCObject* sender); - void onTargetP2(cocos2d::CCObject* sender); - void onTargetPP(cocos2d::CCObject* sender); - TodoReturn updateItemID(); - TodoReturn updateItemID2(); - TodoReturn updateItemID2InputLabel(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCountTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCountTriggerPopup(); - - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupDashRingPopup : SetupTriggerPopup { - // virtual ~SetupDashRingPopup(); - - static SetupDashRingPopup* create(DashRingObject*, cocos2d::CCArray*); - - bool init(DashRingObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupEndPopup : SetupTriggerPopup { - // virtual ~SetupEndPopup(); - - static SetupEndPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onLockY(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onReversed(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupEnterEffectPopup : SetupTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupEnterEffectPopup(); - - static SetupEnterEffectPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onEnterType(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onNextFreeEnterChannel(cocos2d::CCObject* sender); - void onNextFreeEnterEffectID(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual TodoReturn hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupEnterTriggerPopup : SetupTriggerPopup { - // virtual ~SetupEnterTriggerPopup(); - - static SetupEnterTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onEnterType(cocos2d::CCObject* sender); - - virtual TodoReturn determineStartValues(); -} - -[[link(android)]] -class SetupEventLinkPopup : SetupTriggerPopup { - // virtual ~SetupEventLinkPopup(); - - static SetupEventLinkPopup* create(EventLinkTrigger*, cocos2d::CCArray*); - - bool init(EventLinkTrigger*, cocos2d::CCArray*); - void onSelectEvent(cocos2d::CCObject* sender); - TodoReturn updateEventIDs(gd::set&); -} - -[[link(android)]] -class SetupForceBlockPopup : SetupTriggerPopup { - // virtual ~SetupForceBlockPopup(); - - static SetupForceBlockPopup* create(ForceBlockGameObject*, cocos2d::CCArray*); - - bool init(ForceBlockGameObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupGameplayOffsetPopup : SetupTriggerPopup { - // virtual ~SetupGameplayOffsetPopup(); - - static SetupGameplayOffsetPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onDefaultValues(cocos2d::CCObject* sender); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupGradientPopup : SetupTriggerPopup { - // virtual ~SetupGradientPopup(); - - static SetupGradientPopup* create(GradientTriggerObject*, cocos2d::CCArray*); - - bool init(GradientTriggerObject*, cocos2d::CCArray*); - void onBlending(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateBlending(); - TodoReturn updateBlendingLabel(); - TodoReturn updateGradientLabels(bool); - TodoReturn updateZLayerButtons(); - - virtual TodoReturn determineStartValues(); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn updateToggleItem(int, bool); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupGravityModPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupGravityModPopup(); - - static SetupGravityModPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateValue(); - TodoReturn updateValueLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupGravityTriggerPopup : SetupTriggerPopup { - // virtual ~SetupGravityTriggerPopup(); - - static SetupGravityTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupInstantCollisionTriggerPopup(); - - static SetupInstantCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateSpecialNodes(); - - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCountPopup : SetupTriggerPopup { - // virtual ~SetupInstantCountPopup(); - - static SetupInstantCountPopup* create(CountTriggerGameObject*, cocos2d::CCArray*); - - bool init(CountTriggerGameObject*, cocos2d::CCArray*); - void onCountType(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupInteractObjectPopup : SetupTriggerPopup { - // virtual ~SetupInteractObjectPopup(); - - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateItems(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupItemCompareTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemCompareTriggerPopup(); - - static SetupItemCompareTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupItemEditTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemEditTriggerPopup(); - - static SetupItemEditTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupKeyframeAnimPopup : SetupTriggerPopup { - // virtual ~SetupKeyframeAnimPopup(); - - static SetupKeyframeAnimPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupKeyframePopup : SetupTriggerPopup { - // virtual ~SetupKeyframePopup(); - - static SetupKeyframePopup* create(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - - bool init(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - void onTimeMode(cocos2d::CCObject* sender); - TodoReturn refreshPreviewArt(); - TodoReturn updateTimeModeButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupMGTrigger : SetupTriggerPopup { - // virtual ~SetupMGTrigger(); - - static SetupMGTrigger* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupMoveCommandPopup : SetupTriggerPopup { - // virtual ~SetupMoveCommandPopup(); - - static SetupMoveCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectControlPopup : SetupTriggerPopup { - // virtual ~SetupObjectControlPopup(); - - static SetupObjectControlPopup* create(ObjectControlGameObject*, cocos2d::CCArray*); - - bool init(ObjectControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupObjectOptions2Popup : SetupTriggerPopup { - // virtual ~SetupObjectOptions2Popup(); - - static SetupObjectOptions2Popup* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectOptionsPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupObjectOptionsPopup(); - - static SetupObjectOptionsPopup* create(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - - bool init(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - void onAlwaysHide(cocos2d::CCObject* sender); - void onApplyScaleStick(cocos2d::CCObject* sender); - void onCenterEffect(cocos2d::CCObject* sender); - void onDisableGlow(cocos2d::CCObject* sender); - void onDisableObject(cocos2d::CCObject* sender); - void onDontBoost(cocos2d::CCObject* sender); - void onDontBoostX(cocos2d::CCObject* sender); - void onDontEnter(cocos2d::CCObject* sender); - void onDontFade(cocos2d::CCObject* sender); - void onExtendedCollision(cocos2d::CCObject* sender); - void onExtraSticky(cocos2d::CCObject* sender); - void onGripSlope(cocos2d::CCObject* sender); - void onHideEffects(cocos2d::CCObject* sender); - void onHighDetail(cocos2d::CCObject* sender); - void onIceBlock(cocos2d::CCObject* sender); - void onNoAudioScale(cocos2d::CCObject* sender); - void onNonStickX(cocos2d::CCObject* sender); - void onNonStickY(cocos2d::CCObject* sender); - void onNoParticle(cocos2d::CCObject* sender); - void onPassable(cocos2d::CCObject* sender); - void onReverse(cocos2d::CCObject* sender); - void onSinglePlayerTouch(cocos2d::CCObject* sender); - void onToggleAreaParent(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectTogglePopup : SetupTriggerPopup { - // virtual ~SetupObjectTogglePopup(); - - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupOpacityPopup : SetupTriggerPopup { - // virtual ~SetupOpacityPopup(); - - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateOpacity(); - TodoReturn updateOpacityLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupOptionsTriggerPopup : SetupTriggerPopup { - // virtual ~SetupOptionsTriggerPopup(); - - static SetupOptionsTriggerPopup* create(GameOptionsTrigger*, cocos2d::CCArray*); - - TodoReturn addOption(int, gd::string); - bool init(GameOptionsTrigger*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPersistentItemTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPersistentItemTriggerPopup(); - - static SetupPersistentItemTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPickupTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPickupTriggerPopup(); - - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPlatformerEndPopup : SetupTriggerPopup { - // virtual ~SetupPlatformerEndPopup(); - - static SetupPlatformerEndPopup* create(EndTriggerGameObject*, cocos2d::CCArray*); - - bool init(EndTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPlayerControlPopup : SetupTriggerPopup { - // virtual ~SetupPlayerControlPopup(); - - static SetupPlayerControlPopup* create(PlayerControlGameObject*, cocos2d::CCArray*); - - bool init(PlayerControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPortalPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupPortalPopup(); - - static SetupPortalPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SetupPulsePopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~SetupPulsePopup(); - - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn getColorValue(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onCopy(cocos2d::CCObject* sender); - void onExclusive(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeInTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateGroupMainOnly(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateHoldLabel(bool); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updatePulseMode(); - TodoReturn updatePulseTargetType(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn colorValueChanged(cocos2d::ccColor3B); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetupRandAdvTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandAdvTriggerPopup(); - - static SetupRandAdvTriggerPopup* create(RandTriggerGameObject*, cocos2d::CCArray*); - - TodoReturn addChance(int, int); - TodoReturn addChanceToObject(RandTriggerGameObject*, int, int); - TodoReturn callRemoveFromGroup(float); - bool init(RandTriggerGameObject*, cocos2d::CCArray*); - void onAddChance(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn removeGroupIDFromObject(RandTriggerGameObject*, int); - TodoReturn updateGroupIDButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupRandTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandTriggerPopup(); - - static SetupRandTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateChance(); - TodoReturn updateChanceLabel(bool); - TodoReturn updateTargetID(); - TodoReturn updateTargetID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupResetTriggerPopup : SetupTriggerPopup { - // virtual ~SetupResetTriggerPopup(); - - static SetupResetTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupReverbPopup : SetupTriggerPopup { - // virtual ~SetupReverbPopup(); - - static SetupReverbPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onPlay(cocos2d::CCObject* sender); - void onReverb(cocos2d::CCObject* sender); - TodoReturn updateReverbLabel(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateCommandPopup : SetupTriggerPopup { - // virtual ~SetupRotateCommandPopup(); - - static SetupRotateCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onInfiniteDuration(cocos2d::CCObject* sender); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateGameplayPopup : SetupTriggerPopup { - // virtual ~SetupRotateGameplayPopup(); - - static SetupRotateGameplayPopup* create(RotateGameplayGameObject*, cocos2d::CCArray*); - - bool init(RotateGameplayGameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupRotatePopup : SetupTriggerPopup { - // virtual ~SetupRotatePopup(); - - static SetupRotatePopup* create(EnhancedGameObject*, cocos2d::CCArray*); - - bool init(EnhancedGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSequenceTriggerPopup : SetupTriggerPopup { - // virtual ~SetupSequenceTriggerPopup(); - - static SetupSequenceTriggerPopup* create(SequenceTriggerGameObject*); - - bool init(SequenceTriggerGameObject*); - void onAddChance(cocos2d::CCObject* sender); - void onChangeOrder(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn updateGroupIDButtons(); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSFXEditPopup : SetupAudioTriggerPopup { - // virtual ~SetupSFXEditPopup(); - - static SetupSFXEditPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*, bool); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class SetupSFXPopup : SetupAudioTriggerPopup, CustomSFXDelegate, SFXBrowserDelegate { - // virtual ~SetupSFXPopup(); - - static SetupSFXPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - TodoReturn createSFXWidget(); - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onBrowseSFX(cocos2d::CCObject* sender); - TodoReturn updateLength(); - - virtual TodoReturn pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SetupShaderEffectPopup : SetupTriggerPopup { - // virtual ~SetupShaderEffectPopup(); - - static SetupShaderEffectPopup* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); - void onResetColors(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn setupBulge(); - TodoReturn setupChromatic(); - TodoReturn setupChromaticGlitch(); - TodoReturn setupColorChange(); - TodoReturn setupGlitch(); - TodoReturn setupGrayscale(); - TodoReturn setupHueShift(); - TodoReturn setupInvertColor(); - TodoReturn setupLensCircle(); - TodoReturn setupMotionBlur(); - TodoReturn setupPinch(); - TodoReturn setupPixelate(); - TodoReturn setupRadialBlur(); - TodoReturn setupSepia(); - TodoReturn setupShaderTrigger(); - TodoReturn setupShockLine(); - TodoReturn setupShockWave(); - TodoReturn setupSplitScreen(); - TodoReturn updateZLayerButtons(); - TodoReturn zLayerToString(int); - - virtual TodoReturn toggleGroup(int, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupShakePopup : SetupTriggerPopup { - // virtual ~SetupShakePopup(); - - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateInterval(); - TodoReturn updateIntervalLabel(bool); - TodoReturn updateShake(); - TodoReturn updateShakeLabel(bool); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSmartBlockLayer : FLAlertLayer, TextInputDelegate, SelectArtDelegate { - // virtual ~SetupSmartBlockLayer(); - - static SetupSmartBlockLayer* create(SmartGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(SmartGameObject*, cocos2d::CCArray*); - void onAllowFlipping(cocos2d::CCObject* sender); - void onAllowRotation(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCreate(cocos2d::CCObject* sender); - void onCreateAll(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onDontDelete(cocos2d::CCObject* sender); - void onIgnoreCorners(cocos2d::CCObject* sender); - void onNearbyReference(cocos2d::CCObject* sender); - void onPasteTemplate(cocos2d::CCObject* sender); - void onReferenceOnly(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - void onSelectTemplate(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupSmartTemplateLayer : FLAlertLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SetupSmartTemplateLayer(); - - static SetupSmartTemplateLayer* create(GJSmartTemplate*); - - bool init(GJSmartTemplate*); - void onBack(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSongTriggerPopup : SetupAudioTriggerPopup, MusicDownloadDelegate, SongPlaybackDelegate { - // virtual ~SetupSongTriggerPopup(); - - static SetupSongTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onResetSongTime(cocos2d::CCObject* sender); - void onSavePlaybackPos(cocos2d::CCObject* sender); - TodoReturn updateApplyPrepare(bool); - TodoReturn updateLength(); - TodoReturn updateSongTimeSlider(); - - virtual TodoReturn pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SetupSpawnParticlePopup : SetupTriggerPopup { - // virtual ~SetupSpawnParticlePopup(); - - static SetupSpawnParticlePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupSpawnPopup : SetupTriggerPopup { - // virtual ~SetupSpawnPopup(); - - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAddRemap(cocos2d::CCObject* sender); - void onDeleteRemap(cocos2d::CCObject* sender); - void onSelectRemap(cocos2d::CCObject* sender); - TodoReturn queueUpdateButtons(); - TodoReturn updateRemapButtons(float); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStaticCameraPopup : SetupTriggerPopup { - // virtual ~SetupStaticCameraPopup(); - - static SetupStaticCameraPopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual TodoReturn valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStopTriggerPopup : SetupTriggerPopup { - // virtual ~SetupStopTriggerPopup(); - - static SetupStopTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTeleportPopup : SetupTriggerPopup { - // virtual ~SetupTeleportPopup(); - - static SetupTeleportPopup* create(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - - bool init(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - void onTeleportGravity(cocos2d::CCObject* sender); - TodoReturn updateTeleportGravityState(int); - - virtual TodoReturn determineStartValues(); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn valueDidChange(int, float); -} - -[[link(android)]] -class SetupTimerControlTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerControlTriggerPopup(); - - static SetupTimerControlTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTimerEventTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerEventTriggerPopup(); - - static SetupTimerEventTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimerTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerTriggerPopup(); - - static SetupTimerTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimeWarpPopup : SetupTriggerPopup { - // virtual ~SetupTimeWarpPopup(); - - static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTimeWarp(); - TodoReturn updateTimeWarpLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTouchTogglePopup : SetupTriggerPopup { - // virtual ~SetupTouchTogglePopup(); - - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onControlMode(cocos2d::CCObject* sender); - void onDualTouchMode(cocos2d::CCObject* sender); - void onHoldMode(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchMode(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupTransformPopup : SetupTriggerPopup { - // virtual ~SetupTransformPopup(); - - static SetupTransformPopup* create(TransformTriggerGameObject*, cocos2d::CCArray*); - - bool init(TransformTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTriggerPopup : FLAlertLayer, TextInputDelegate, ConfigureValuePopupDelegate, SliderDelegate { - // virtual ~SetupTriggerPopup(); - // SetupTriggerPopup(); - - static SetupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*, float, float, int); - static SetupTriggerPopup* create(float, float); - - TodoReturn addCloseButton(gd::string); - TodoReturn addHelpButton(gd::string, gd::string, float); - TodoReturn addInfoLabel(gd::string, float, cocos2d::CCPoint, int, int); - TodoReturn addObjectsToGroup(cocos2d::CCArray*, int); - TodoReturn addObjectsToPage(cocos2d::CCArray*, int); - TodoReturn addObjectToGroup(cocos2d::CCObject*, int); - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addTitle(gd::string); - TodoReturn closeInputNodes(); - TodoReturn createCustomButton(int, gd::string, gd::string, cocos2d::CCPoint, float, float, bool, int, int); - TodoReturn createCustomEasingControls(gd::string, cocos2d::CCPoint, float, int, int, int, int); - TodoReturn createCustomToggleValueControl(int, bool, bool, gd::string, cocos2d::CCPoint, bool, int, int); - TodoReturn createEasingControls(cocos2d::CCPoint, float, int, int); - TodoReturn createMultiTriggerItems(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - TodoReturn createMultiTriggerItemsCorner(); - TodoReturn createMultiTriggerItemsDefault(); - TodoReturn createMultiTriggerItemsDefaultHorizontal(); - TodoReturn createMultiTriggerItemsDefaultVertical(); - TodoReturn createPageButtons(float, int); - TodoReturn createPlusButton(int, cocos2d::CCPoint, float, gd::string, int, int); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCPoint); - TodoReturn createToggleValueControl(int, gd::string, cocos2d::CCPoint, bool, int, int, float); - TodoReturn createToggleValueControlAdvanced(int, gd::string, cocos2d::CCPoint, bool, int, int, float, float, float, cocos2d::CCPoint); - TodoReturn createValueControl(int, gd::string, cocos2d::CCPoint, float, float, float); - TodoReturn createValueControlAdvanced(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle, int, bool); - TodoReturn createValueControlWArrows(int, gd::string, cocos2d::CCPoint, float); - TodoReturn getGroupContainer(int); - TodoReturn getMaxSliderValue(int); - TodoReturn getMinSliderValue(int); - TodoReturn getObjects(); - TodoReturn getPageContainer(int); - TodoReturn getTriggerValue(int, GameObject*); - TodoReturn getTruncatedValue(float, int); - TodoReturn getTruncatedValueByTag(int, float); - TodoReturn goToPage(int, bool); - TodoReturn hideAll(); - bool init(EffectGameObject*, cocos2d::CCArray*, float, float, int); - TodoReturn onCustomEaseArrow(int, bool); - void onCustomEaseArrowDown(cocos2d::CCObject* sender); - void onCustomEaseArrowUp(cocos2d::CCObject* sender); - void onCustomEaseRate(cocos2d::CCObject* sender); - void onDisableValue(cocos2d::CCObject* sender); - void onEase(cocos2d::CCObject* sender); - void onEaseRate(cocos2d::CCObject* sender); - void onMultiTrigger(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onToggleTriggerValue(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - TodoReturn postSetup(); - TodoReturn preSetup(); - TodoReturn refreshGroupVisibility(); - TodoReturn removeObjectFromGroup(cocos2d::CCObject*, int); - TodoReturn removeObjectFromPage(cocos2d::CCObject*, int); - TodoReturn resetDisabledValues(); - void setMaxSliderValue(float, int); - void setMinSliderValue(float, int); - TodoReturn shouldLimitValue(int); - TodoReturn toggleBG(bool); - TodoReturn toggleCustomEaseRateVisibility(int, int); - TodoReturn toggleDisableButtons(bool); - TodoReturn toggleEaseRateVisibility(); - TodoReturn toggleLimitValue(int, bool); - TodoReturn togglePageArrows(bool); - TodoReturn triggerArrowChanged(int, bool); - TodoReturn triggerArrowLeft(cocos2d::CCObject*); - TodoReturn triggerArrowRight(cocos2d::CCObject*); - TodoReturn triggerSliderChanged(cocos2d::CCObject*); - TodoReturn updateCustomEaseLabel(int, int); - TodoReturn updateCustomEaseRateLabel(int, float); - TodoReturn updateCustomToggleTrigger(int, bool); - TodoReturn updateEaseLabel(); - TodoReturn updateEaseRateLabel(); - TodoReturn updateEditorLabel(); - TodoReturn updateInputNodeLabel(int, gd::string); - TodoReturn updateLabel(int, gd::string); - TodoReturn updateMultiTriggerBtn(); - TodoReturn updateSlider(int, float); - TodoReturn updateSlider(int); - TodoReturn updateSpawnedByTrigger(); - TodoReturn updateTouchTriggered(); - TodoReturn updateValue(int, float); - TodoReturn updateValueControls(int, float); - TodoReturn valueChanged(int, float); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn pageChanged(); - virtual TodoReturn toggleGroup(int, bool); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn textInputShouldOffset(CCTextInputNode*, float); - virtual TodoReturn textInputReturn(CCTextInputNode*); - virtual TodoReturn updateInputValue(int, float&); - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomButton(cocos2d::CCObject* sender); - virtual TodoReturn updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn updateToggleItem(int, bool); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); - - PAD = android32 0xac; -} - -[[link(android)]] -class SetupZoomTriggerPopup : SetupTriggerPopup { - // virtual ~SetupZoomTriggerPopup(); - - static SetupZoomTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SFXBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, SelectSFXSortDelegate { - // virtual ~SFXBrowser(); - - static SFXBrowser* create(int); - - bool init(int); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCredits(cocos2d::CCObject* sender); - void onExitFolder(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSorting(cocos2d::CCObject* sender); - void onToggleCompactMode(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - TodoReturn setupList(SFXSearchResult*); - TodoReturn trySetupSFXBrowser(); - TodoReturn updatePageLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn musicActionFinished(GJMusicAction); - virtual TodoReturn musicActionFailed(GJMusicAction); - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class SFXBrowserDelegate { - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SFXFolderObject : SFXInfoObject { - // virtual ~SFXFolderObject(); - - static SFXFolderObject* create(int, gd::string, int); - - bool init(int, gd::string, int); -} - -[[link(android)]] -class SFXInfoObject : cocos2d::CCObject { - // virtual ~SFXInfoObject(); - - static SFXInfoObject* create(int, gd::string, int, int, int); - - TodoReturn getLowerCaseName(); - bool init(int, gd::string, int, int, int); -} - -[[link(android)]] -class SFXSearchResult : MusicSearchResult { - // virtual ~SFXSearchResult(); - - static SFXSearchResult* create(int); - - TodoReturn getActiveFolder(); - TodoReturn getSelectedPage(int, int); - bool init(int); - void setActiveFolder(SFXFolderObject*); - - virtual TodoReturn updateObjects(AudioSortType); -} - -[[link(android)]] -class SFXTriggerGameObject : EffectGameObject { - // virtual ~SFXTriggerGameObject(); - // SFXTriggerGameObject(); - - static SFXTriggerGameObject* create(char const*); - - TodoReturn getSFXRefID(); - TodoReturn getUniqueSFXID(); - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderGameObject : EffectGameObject { - // virtual ~ShaderGameObject(); - - static ShaderGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customSetup(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderLayer : cocos2d::CCLayer { - // virtual ~ShaderLayer(); - - static ShaderLayer* create(); - - TodoReturn objectPosToShaderPos(cocos2d::CCPoint); - TodoReturn performCalculations() = win 0x383000; - TodoReturn preBulgeShader(); - TodoReturn preChromaticGlitchShader(); - TodoReturn preChromaticShader(); - TodoReturn preColorChangeShader(); - TodoReturn preCommonShader(); - TodoReturn preGlitchShader(); - TodoReturn preGrayscaleShader(); - TodoReturn preHueShiftShader(); - TodoReturn preInvertColorShader(); - TodoReturn preLensCircleShader(); - TodoReturn preMotionBlurShader(); - TodoReturn prepareTargetContainer(); - TodoReturn prePinchShader(); - TodoReturn prePixelateShader(); - TodoReturn preRadialBlurShader(); - TodoReturn preSepiaShader(); - TodoReturn preShockLineShader(); - TodoReturn preShockWaveShader(); - TodoReturn preSplitScreenShader(); - TodoReturn resetAllShaders(); - TodoReturn resetTargetContainer(); - TodoReturn setupBulgeShader(); - TodoReturn setupChromaticGlitchUniforms(); - TodoReturn setupChromaticUniforms(); - TodoReturn setupColorChangeShader(); - TodoReturn setupCommonUniforms(); - TodoReturn setupGlitchUniforms(); - TodoReturn setupGrayscaleShader(); - TodoReturn setupHueShiftShader(); - TodoReturn setupInvertColorShader(); - TodoReturn setupLensCircleShader(); - TodoReturn setupMotionBlurShader(); - TodoReturn setupPinchShader(); - TodoReturn setupRadialBlurShader(); - TodoReturn setupSepiaShader(); - TodoReturn setupShader(bool); - TodoReturn setupShockLineUniforms(); - TodoReturn setupShockWaveUniforms(); - TodoReturn setupSplitScreenShader(); - TodoReturn toggleAntiAlias(bool); - TodoReturn triggerBulge(float, float, float, float, float, int, int, float, bool); - TodoReturn triggerChromaticGlitch(bool, float, float, float, float, float, float, float, int, float, bool, bool); - TodoReturn triggerChromaticX(float, float, int, float, bool); - TodoReturn triggerChromaticY(float, float, int, float, bool); - TodoReturn triggerColorChange(float, float, float, float, float, float, float, int, float); - TodoReturn triggerGlitch(float, float, float, float, float, float, float, bool); - TodoReturn triggerGrayscale(float, float, bool, int, int, float); - TodoReturn triggerHueShift(float, float, int, float); - TodoReturn triggerInvertColor(float, float, float, float, float, bool, bool, bool, int, float); - TodoReturn triggerLensCircle(float, float, float, float, int, int, float, float, int, float, bool); - TodoReturn triggerMotionBlurX(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerMotionBlurY(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerPinchX(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPinchY(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPixelateX(float, float, bool, bool, int, float, bool); - TodoReturn triggerPixelateY(float, float, bool, bool, int, float, bool); - TodoReturn triggerRadialBlur(float, float, float, float, int, float, float, bool, int, int, float, bool); - TodoReturn triggerSepia(float, float, int, float); - TodoReturn triggerShockLine(float, float, bool, bool, bool, bool, float, float, float, float, float, float, int, bool, bool, bool, float, bool, float, int, float); - TodoReturn triggerShockWave(float, float, float, float, float, float, float, bool, float, float, float, int, bool, bool, bool, float, float, bool, float, int, float); - TodoReturn triggerSplitScreenCols(float, float, int, float); - TodoReturn triggerSplitScreenRows(float, float, int, float); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn tweenValueAuto(float, int, float, int, float); - TodoReturn updateEffectOffsets(cocos2d::CCPoint); - TodoReturn updateMotionBlurSpeedX(float, float); - TodoReturn updateMotionBlurSpeedY(float, float); - TodoReturn updateShockLineCenter(cocos2d::CCPoint); - TodoReturn updateShockWaveCenter(cocos2d::CCPoint); - TodoReturn updateZLayer(int, int, bool); - - virtual void update(float); - virtual bool init(); - virtual void visit() = win 0x383150; -} - -[[link(android)]] -class ShardsPage : FLAlertLayer { - // virtual ~ShardsPage(); - - static ShardsPage* create(); - - TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - TodoReturn goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ShareCommentDelegate { - virtual TodoReturn shareCommentClosed(gd::string, ShareCommentLayer*); -} - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - // virtual ~ShareCommentLayer(); - - static ShareCommentLayer* create(gd::string, int, CommentType, int, gd::string); - - bool init(gd::string, int, CommentType, int, gd::string); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPercent(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x386e00; - TodoReturn updateCharCountLabel(); - TodoReturn updateDescText(gd::string); - TodoReturn updatePercentLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn textInputOpened(CCTextInputNode*); - virtual TodoReturn textInputClosed(CCTextInputNode*); - virtual TodoReturn textChanged(CCTextInputNode*); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class ShareLevelLayer : FLAlertLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x388860; - TodoReturn selectRating(cocos2d::CCObject*); - TodoReturn setupStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer : FLAlertLayer, NumberInputDelegate { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*) = win 0x389450; - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - void onUnlistedFriendsOnly(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual void keyBackClicked(); - virtual TodoReturn numberInputClosed(NumberInputLayer*); -} - -[[link(android)]] -class ShareListLayer : FLAlertLayer { - // virtual ~ShareListLayer(); - - static ShareListLayer* create(GJLevelList*); - - bool init(GJLevelList*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - TodoReturn updateUnlistedF(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SimpleObject : cocos2d::CCObject { - // virtual ~SimpleObject(); - - static SimpleObject* create(); - - bool init(); -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int) = win 0x1f3d20; - - TodoReturn asyncLoadIcon(int, IconType); - TodoReturn createRobotSprite(int) = win 0x1f4460; - TodoReturn createSpiderSprite(int) = win 0x1f44b0; - inline void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - inline void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - TodoReturn hideAll(); - TodoReturn hideSecondary(); - TodoReturn iconFinishedLoading(int, IconType); - bool init(int) = win 0x1f3dc0; - void setColors(cocos2d::ccColor3B const&, cocos2d::ccColor3B const&); - void setFrames(char const*, char const*, char const*, char const*, char const*) = win 0x1f4c50; - inline void setSecondColor(cocos2d::_ccColor3B const& color) { - m_secondLayer->setColor(color); - updateColors(); - } - TodoReturn updateColors() = win 0x1f4560; - TodoReturn updatePlayerFrame(int, IconType) = win 0x1f4850; - - virtual void setOpacity(unsigned char) = win 0x1f4e00; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x1f4530; - - inline void setGlowOutline(cocos2d::ccColor3B color) { - enableCustomGlowColor(color); - m_hasGlowOutline = true; - updateColors(); - } - - inline void disableGlowOutline() { - disableCustomGlowColor(); - m_hasGlowOutline = false; - updateColors(); - } - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; - PAD = win 0x7, android32 0x7, android64 0x7; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x4, android32 0x4, android64 0x8; -} - -[[link(android)]] -class SlideInLayer : cocos2d::CCLayerColor { - // virtual ~SlideInLayer(); - - static SlideInLayer* create(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual TodoReturn showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual TodoReturn layerHidden(); - virtual TodoReturn enterAnimFinished(); - virtual TodoReturn disableUI(); - virtual TodoReturn enableUI(); -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = win 0x4d130; - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler) { - return Slider::create(target, handler, 1.f); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler, float idk) { - return Slider::create(target, handler, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", idk); - } - - TodoReturn disableSlider(); - TodoReturn disableTouch(); - TodoReturn enableSlider(); - TodoReturn getLiveDragging(); - SliderThumb* getThumb() { - return m_touchLogic->m_thumb; - } - TodoReturn getValue() = win 0x4d4f0; - TodoReturn hideGroove(bool); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - void setBarVisibility(bool); - void setLiveDragging(bool); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float val) { - this->getThumb()->setValue(val); - this->updateBar(); - } - TodoReturn sliderBegan(); - TodoReturn sliderEnded(); - TodoReturn updateBar() = win 0x4d590; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; - void* m_unknown; - void* m_unknown2; -} - -[[link(android)]] -class SliderDelegate { - virtual TodoReturn sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*) = win 0x4c900; - - float getValue() { - return (this->getScaleX() * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (this->getScaleX() * m_length); - } - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float) = win 0x4cbd0; - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - // virtual ~SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - void setMaxOffset(float); - void setRotated(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class SmartGameObject : GameObject { - // virtual ~SmartGameObject(); - - static SmartGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateSmartFrame(); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - - bool m_property157; - PAD = android32 0x9; -} - -[[link(android)]] -class SmartTemplateCell : TableViewCell { - // virtual ~SmartTemplateCell(); - SmartTemplateCell(char const*, float, float); - - void loadFromObject(GJSmartTemplate*) = win 0x8afb0; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x8b2b0; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongCell : TableViewCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - void loadFromObject(SongObject*) = win 0x82c50; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - // virtual ~SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - static SongInfoLayer* create(int); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - void onBPM(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender) = win 0x38b6e0; - void onNG(cocos2d::CCObject* sender); - void onPracticeMusic(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - TodoReturn showCustomMusicUnlockInfo() = win 0x38b3e0; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*); - static SongInfoObject* create(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - static SongInfoObject* create(int); - - TodoReturn addTags(gd::string); - TodoReturn containsTag(int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn getTagsString(); - bool init(int, gd::string, gd::string, int, float, gd::string, gd::string, gd::string, int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class SongObject : cocos2d::CCObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer : FLAlertLayer { - // virtual ~SongOptionsLayer(); - - static SongOptionsLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongPlaybackDelegate { - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SongSelectNode : cocos2d::CCNode, FLAlertLayerProtocol, CustomSongLayerDelegate, CustomSongDelegate { - // virtual ~SongSelectNode(); - - static SongSelectNode* create(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - bool init(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - void onOpenCustomSong(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - TodoReturn onSongMode(int); - TodoReturn selectSong(int); - TodoReturn showCustomSongSelect(); - TodoReturn updateAudioLabel(); - TodoReturn updateWidgetVisibility(); - - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn customSongLayerClosed(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class SongsLayer : GJDropDownLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class SongTriggerGameObject : SFXTriggerGameObject { - // virtual ~SongTriggerGameObject(); - - static SongTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnParticleGameObject : EffectGameObject { - // virtual ~SpawnParticleGameObject(); - - static SpawnParticleGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnTriggerAction { - bool isFinished(); - TodoReturn step(float); -} - -[[link(android)]] -class SpawnTriggerGameObject : EffectGameObject { - // virtual ~SpawnTriggerGameObject(); - - static SpawnTriggerGameObject* create(); - - TodoReturn addRemap(int, int); - TodoReturn changeRemap(int, int, bool); - TodoReturn removeRemap(int, int); - TodoReturn updateRemapKeys(gd::vector const&); - - virtual bool init(); - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpecialAnimGameObject : EnhancedGameObject { - // virtual ~SpecialAnimGameObject(); - - static SpecialAnimGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn resetObject(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class SpriteAnimationManager : cocos2d::CCNode { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn callAnimationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn offsetCurrentAnimation(float); - TodoReturn overridePrio() = win 0x4f7e0; - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string); - TodoReturn runQueuedAnimation(); - TodoReturn stopAnimations(); - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn switchToFirstFrameOfAnimation(gd::string); - TodoReturn updateAnimationSpeed(float); -} - -[[link(android)]] -class SpriteDescription : cocos2d::CCObject { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class SpritePartDelegate { - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class StartPosObject : EffectGameObject { - // virtual ~StartPosObject(); - - static StartPosObject* create() = win 0x3a7160; - - TodoReturn loadSettingsFromString(gd::string); - void setSettings(LevelSettingsObject*); - - virtual bool init() = win 0x3a7220; - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - - int m_unknown; -} - -[[link(android)]] -class StatsCell : TableViewCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - void loadFromObject(StatsObject*) = win 0x821d0; - TodoReturn updateBGColor(int) = win 0x7d500; - - virtual bool init(); - virtual void draw() = win 0x7d550; -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create(); - - virtual TodoReturn customSetup(); -} - -[[link(android)]] -class StatsObject : cocos2d::CCObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int); - - bool init(char const*, int); -} - -[[link(android)]] -class SupportLayer : GJDropDownLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate { - // virtual ~SupportLayer(); - - static SupportLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onGetReward(cocos2d::CCObject* sender); - void onLinks(cocos2d::CCObject* sender) = win 0x3bc7a0; - void onLowDetail(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onSFX(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - TodoReturn sendSupportMail(); - - virtual TodoReturn customSetup(); - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); - virtual TodoReturn onClosePopup(UploadActionPopup*); - virtual TodoReturn FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android), depends(CCIndexPath)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, TableViewCellDelegate*, cocos2d::CCRect); - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*); - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - TodoReturn reloadData() = win 0x50770; - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual void onEnter(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void scrollWheel(float, float) = win 0x50fd0; - virtual TodoReturn scrllViewWillBeginDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndDecelerating(CCScrollLayerExt*); - virtual TodoReturn scrollViewTouchMoving(CCScrollLayerExt*); - virtual TodoReturn scrollViewDidEndMoving(CCScrollLayerExt*); - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - TableViewCellDelegate* m_cellDelegate; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[link(android), depends(CCIndexPath)]] -class TableViewCell : cocos2d::CCLayer { - // virtual ~TableViewCell(); - TableViewCell(char const*, float, float) = win 0x51db0; - - TodoReturn updateVisibility(); - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - void* m_unknown2; - void* m_unknown3; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; - BoomListType m_listType; -} - -[[link(android)]] -class TableViewCellDelegate { - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TeleportPortalObject : RingObject { - // virtual ~TeleportPortalObject(); - - static TeleportPortalObject* create(char const*, bool); - - TodoReturn getTeleportXOff(cocos2d::CCNode*); - bool init(char const*, bool); - void setPositionOverride(cocos2d::CCPoint); - void setStartPosOverride(cocos2d::CCPoint); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn addToGroup(int); - virtual TodoReturn removeFromGroup(int); - virtual void setRotation2(float); - virtual TodoReturn addToGroup2(int); - virtual TodoReturn removeFromGroup2(int); - - void* m_unknown; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - // property 55 - bool m_teleportEase; - // property 345 - bool m_staticForceEnabled; - // property 346 - int m_staticForce; - // property 347 - bool m_redirectForceEnabled; - // property 350 - float m_redirectForceMod; - // property 348 - float m_redirectForceMin; - // property 349 - float m_redirectForceMax; - // property 351 - bool m_saveOffset; - // property 352 - bool m_ignoreX; - // property 353 - bool m_ignoreY; - // property 354 - int m_gravityMode; - // property 443 - bool m_property443; - // property 464 - bool m_property464; - // property 510 - bool m_property510; - // property 591 - bool m_property591; -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - // virtual ~TextAlertPopup(); - - static TextAlertPopup* create(gd::string, float, float, int, gd::string); - - bool init(gd::string, float, float, int, gd::string); - void setAlertPosition(cocos2d::CCPoint, cocos2d::CCPoint); - void setLabelColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - // virtual ~TextArea(); - - static TextArea* create(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = win 0x52250; - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B); - TodoReturn colorAllLabels(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeInCharacters(float, float); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn hideAll(); - bool init(gd::string, char const*, float, float, cocos2d::CCPoint, float, bool) = win 0x52350; - void setIgnoreColorCode(bool); - void setString(gd::string) = win 0x52460; - TodoReturn showAll(); - TodoReturn stopAllCharacterActions(); - - virtual void update(float); - virtual void draw(); - virtual void setOpacity(unsigned char); - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c - PAD = win 0x4; - cocos2d::CCPoint m_anchorPoint; -} - -[[link(android)]] -class TextAreaDelegate { - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class TextGameObject : GameObject { - // virtual ~TextGameObject(); - - static TextGameObject* create(cocos2d::CCTexture2D*); - - bool init(cocos2d::CCTexture2D*); - TodoReturn updateTextObject(gd::string, bool); - - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - char* m_text; - // property 488 - int m_kerning; -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) { return true; } - virtual void enterPressed(CCTextInputNode*) {} -} - -[[link(android)]] -class TextStyleSection : cocos2d::CCObject { - // virtual ~TextStyleSection(); - - static TextStyleSection* create(int, int, TextStyleType); - - TodoReturn createColoredSection(cocos2d::ccColor3B, int, int); - TodoReturn createDelaySection(int, float); - TodoReturn createInstantSection(int, int, float); - TodoReturn createShakeSection(int, int, int, int); - bool init(int, int, TextStyleType); -} - -[[link(android)]] -class TimerTriggerGameObject : EffectGameObject { - // virtual ~TimerTriggerGameObject(); - - static TimerTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer, OnlineListDelegate { - // virtual ~TopArtistsLayer(); - - static TopArtistsLayer* create(); - - bool isCorrect(char const*); - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLeaderboard(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn loadListFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadListFailed(char const*); - virtual TodoReturn setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class TOSPopup : FLAlertLayer { - // virtual ~TOSPopup(); - - static TOSPopup* create(); - - void onClose(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - - virtual bool init() = win 0x212160; - virtual void keyBackClicked(); -} - -[[link(android)]] -class TransformTriggerGameObject : EffectGameObject { - // virtual ~TransformTriggerGameObject(); - - static TransformTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerControlGameObject : EffectGameObject { - // virtual ~TriggerControlGameObject(); - - static TriggerControlGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateTriggerControlFrame(); - - virtual TodoReturn triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual TodoReturn pure_virtual_00a1b9c0() {} // TODO: figure out what function this is - virtual TodoReturn pure_virtual_00a1b9c4() {} // TODO: figure out what function this is - virtual TodoReturn pure_virtual_00a1b9c8() {} // TODO: figure out what function this is -} - -[[link(android)]] -class TutorialLayer : FLAlertLayer { - // virtual ~TutorialLayer(); - - static TutorialLayer* create(); - - TodoReturn loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class TutorialPopup : FLAlertLayer { - // virtual ~TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class UIButtonConfig { - TodoReturn reset() = win 0x120660; - TodoReturn resetOneBtn(); - - PAD = win 0x28, android32 0x28, android64 0x28; -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor, cocos2d::CCKeyboardDelegate { - // virtual ~UILayer(); - - static UILayer* create(GJBaseGameLayer*); - - TodoReturn disableMenu(); - TodoReturn editorPlaytest(bool); - TodoReturn enableEditorMode(); - TodoReturn enableMenu(); - TodoReturn handleKeypress(cocos2d::enumKeyCodes, bool); - bool init(GJBaseGameLayer*); - bool isJumpButtonPressed(bool); - void onCheck(cocos2d::CCObject* sender); - void onDeleteCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender) = win 0x3bf2b0; - TodoReturn processUINodesTouch(GJUITouchEvent, cocos2d::CCTouch*); - TodoReturn processUINodeTouch(GJUITouchEvent, int, cocos2d::CCPoint, GJUINode*); - TodoReturn refreshDpad(); - TodoReturn resetAllButtons() = win 0x3bf3e0; - TodoReturn resetUINodeState() = win 0x3beca0; - TodoReturn toggleCheckpointsMenu(bool); - TodoReturn toggleMenuVisibility(bool) = win 0x3bf390; - TodoReturn togglePlatformerMode(bool); - TodoReturn updateDualMode(bool); - TodoReturn updateUINodeVisibility(bool); - - virtual void draw() = win 0x3c06f0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void keyUp(cocos2d::enumKeyCodes); -} - -[[link(android)]] -class UIObjectSettingsPopup : SetupTriggerPopup { - // virtual ~UIObjectSettingsPopup(); - - static UIObjectSettingsPopup* create(UISettingsGameObject*, cocos2d::CCArray*); - - bool init(UISettingsGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UIOptionsLayer : SetupTriggerPopup { - // virtual ~UIOptionsLayer(); - - static UIOptionsLayer* create(bool); - - TodoReturn getNode(int); - bool init(bool); - void onReset(cocos2d::CCObject* sender); - void onSaveLoad(cocos2d::CCObject* sender); - TodoReturn toggleUIGroup(int); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn valueDidChange(int, float); - virtual TodoReturn getValue(int); -} - -[[link(android)]] -class UISaveLoadLayer : SetupTriggerPopup { - // virtual ~UISaveLoadLayer(); - - static UISaveLoadLayer* create(UIOptionsLayer*); - - bool init(UIOptionsLayer*); - void onLoad(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UISettingsGameObject : EffectGameObject { - // virtual ~UISettingsGameObject(); - - static UISettingsGameObject* create(); - - virtual bool init(); - virtual TodoReturn customObjectSetup(gd::vector&, gd::vector&); - virtual TodoReturn getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - // virtual ~UndoObject(); - // UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand); - - TodoReturn createWithArray(cocos2d::CCArray*, UndoCommand); - TodoReturn createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - void setObjects(cocos2d::CCArray*); - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - -[[link(android)]] -class UpdateAccountSettingsPopup : FLAlertLayer, GJAccountSettingsDelegate { - // virtual ~UpdateAccountSettingsPopup(); - - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - - bool init(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class UploadActionDelegate { - virtual TodoReturn uploadActionFinished(int, int); - virtual TodoReturn uploadActionFailed(int, int); -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - // virtual ~UploadActionPopup(); - - static UploadActionPopup* create(UploadPopupDelegate*, gd::string); - - TodoReturn closePopup(); - bool init(UploadPopupDelegate*, gd::string) = win 0x20ab80; - void onClose(cocos2d::CCObject* sender); - void showFailMessage(gd::string) = win 0x20b060; - void showSuccessMessage(gd::string) = win 0x20af60; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class UploadListPopup : FLAlertLayer, ListUploadDelegate { - // virtual ~UploadListPopup(); - - static UploadListPopup* create(GJLevelList*); - - bool init(GJLevelList*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToList(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class UploadMessageDelegate { - virtual TodoReturn uploadMessageFinished(int); - virtual TodoReturn uploadMessageFailed(int); -} - -[[link(android)]] -class UploadPopup : FLAlertLayer, LevelUploadDelegate { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn levelUploadFinished(GJGameLevel*); - virtual TodoReturn levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class UploadPopupDelegate { - virtual TodoReturn onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class URLCell : TableViewCell { - // virtual ~URLCell(); - URLCell(char const*, float, float); - - void loadFromObject(CCURLObject*) = win 0x8c9e0; - void onURL(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class URLViewLayer : GJDropDownLayer { - // virtual ~URLViewLayer(); - - static URLViewLayer* create(gd::string, cocos2d::CCArray*); - - bool init(gd::string, cocos2d::CCArray*); -} - -[[link(android)]] -class UserInfoDelegate { - virtual TodoReturn getUserInfoFinished(GJUserScore*); - virtual TodoReturn getUserInfoFailed(int); - virtual TodoReturn userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UserListDelegate { - virtual TodoReturn getUserListFinished(cocos2d::CCArray*, UserListType); - virtual TodoReturn getUserListFailed(UserListType, GJErrorCode); - virtual TodoReturn userListChanged(cocos2d::CCArray*, UserListType); - virtual TodoReturn forceReloadList(UserListType); -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool); - void onAdvanced(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender) = win 0x2b4d80; - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn reloadMenu(); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int) = win 0x2b4bd0; - TodoReturn updateTextureQuality(int) = win 0x2b4b10; - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class WorldLevelPage : FLAlertLayer { - // virtual ~WorldLevelPage(); - - static WorldLevelPage* create(GJGameLevel*, GJWorldNode*); - - bool init(GJGameLevel*, GJWorldNode*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class WorldSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate { - // virtual ~WorldSelectLayer(); - - static WorldSelectLayer* create(int); - - TodoReturn animateInActiveIsland(); - TodoReturn colorForPage(int); - TodoReturn getColorValue(int, int, float); - TodoReturn goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn setupWorlds(); - TodoReturn showCompleteDialog(); - TodoReturn tryShowAd(); - TodoReturn unblockButtons(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual TodoReturn scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual TodoReturn scrollLayerMoved(cocos2d::CCPoint); -} diff --git a/bindings/bindings/2.204/Cocos2d.bro b/bindings/bindings/2.204/Cocos2d.bro deleted file mode 100644 index 08fb435..0000000 --- a/bindings/bindings/2.204/Cocos2d.bro +++ /dev/null @@ -1,1345 +0,0 @@ -[[link(win, android)]] -class cocos2d::CCEGLViewProtocol { - CCEGLViewProtocol() = win 0xbac00; - virtual ~CCEGLViewProtocol() = win 0xbacc0; - auto getViewPortRect() const; - auto getScaleX() const; - auto getScaleY() const; - virtual auto setDesignResolutionSize(float, float, ResolutionPolicy); - virtual void setFrameSize(float, float); -} - -[[link(win, android)]] -class cocos2d::CCMotionStreak { - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool getDontOpacityFade() const; - float getM_fMaxSeg() const; - - void setDontOpacityFade(bool); - void setFastMode(bool); - void setM_fMaxSeg(float); - void setStartingPositionInitialized(bool); - void setStroke(float); - - // CCMotionStreak(cocos2d::CCMotionStreak const&); - // CCMotionStreak(); - void enableRepeatMode(float); - bool isFastMode(); - bool isStartingPositionInitialized(); - void reset(); - void resumeStroke(); - void stopStroke(); - void tintWithColor(cocos2d::_ccColor3B); - void updateFade(float); - - virtual void update(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void draw(); - - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCScene { - static cocos2d::CCScene* create(); - - int getHighestChildZ(); - - // CCScene(cocos2d::CCScene const&); - // CCScene(); - - virtual bool init(); -} - -[[link(win, android)]] -class cocos2d::CCParticleSystem { - static cocos2d::CCParticleSystem* create(char const*); - static cocos2d::CCParticleSystem* createWithTotalParticles(unsigned int); - - void initParticle(cocos2d::sCCParticle*); - bool initWithDictionary(cocos2d::CCDictionary*, char const*, bool); - bool initWithDictionary(cocos2d::CCDictionary*, bool); - bool initWithFile(char const*, bool); - - unsigned int getAtlasIndex() const; - bool getDontCleanupOnFinish() const; - bool getDynamicRotationIsDir() const; - bool getEndRGBVarSync() const; - float getFadeInTime() const; - float getFadeInTimeVar() const; - float getFadeOutTime() const; - float getFadeOutTimeVar() const; - float getFrictionPos() const; - float getFrictionPosVar() const; - float getFrictionRot() const; - float getFrictionRotVar() const; - float getFrictionSize() const; - float getFrictionSizeVar() const; - bool getOrderSensitive() const; - float getRespawn() const; - float getRespawnVar() const; - bool getStartRGBVarSync() const; - bool getStartRadiusEqualToEnd() const; - bool getStartSizeEqualToEnd() const; - bool getStartSpinEqualToEnd() const; - float getTimeElapsed(); - bool getUseUniformColorMode() const; - bool getUsingSchedule() const; - bool getWasRemoved() const; - - void setAtlasIndex(unsigned int); - void setDontCleanupOnFinish(bool); - void setDynamicRotationIsDir(bool); - void setEndAlpha(float); - void setEndRGBVarSync(bool); - void setFadeInTime(float); - void setFadeInTimeVar(float); - void setFadeOutTime(float); - void setFadeOutTimeVar(float); - void setFrictionPos(float); - void setFrictionPosVar(float); - void setFrictionRot(float); - void setFrictionRotVar(float); - void setFrictionSize(float); - void setFrictionSizeVar(float); - void setOrderSensitive(bool); - void setRespawn(float); - void setRespawnVar(float); - void setStartAlpha(float); - void setStartRGBVarSync(bool); - void setStartRadiusEqualToEnd(bool); - void setStartSizeEqualToEnd(bool); - void setStartSpinEqualToEnd(bool); - void setUsingSchedule(bool); - void setWasRemoved(bool); - - // CCParticleSystem(cocos2d::CCParticleSystem const&); - // CCParticleSystem(); - bool addParticle(); - void calculateWorldSpace(); - bool isFull(); - void loadDefaults(); - void loadScaledDefaults(float); - void resetSystem(); - void resumeSystem(); - void saveDefaults(); - void stopSystem(); - void toggleUniformColorMode(bool); - void updateVisible(); - - virtual void update(float); - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual cocos2d::CCParticleBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual unsigned int getParticleCount(); - virtual float getDuration(); - virtual void setDuration(float); - virtual cocos2d::CCPoint const& getSourcePosition(); - virtual void setSourcePosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosVar(); - virtual void setPosVar(cocos2d::CCPoint const&); - virtual float getLife(); - virtual void setLife(float); - virtual float getLifeVar(); - virtual void setLifeVar(float); - virtual float getAngle(); - virtual void setAngle(float); - virtual float getAngleVar(); - virtual void setAngleVar(float); - virtual void updateEmissionRate(); - virtual cocos2d::CCPoint const& getGravity(); - virtual void setGravity(cocos2d::CCPoint const&); - virtual float getSpeed(); - virtual void setSpeed(float); - virtual float getSpeedVar(); - virtual void setSpeedVar(float); - virtual float getTangentialAccel(); - virtual void setTangentialAccel(float); - virtual float getTangentialAccelVar(); - virtual void setTangentialAccelVar(float); - virtual float getRadialAccel(); - virtual void setRadialAccel(float); - virtual float getRadialAccelVar(); - virtual void setRadialAccelVar(float); - virtual bool getRotationIsDir(); - virtual void setRotationIsDir(bool); - virtual float getStartRadius(); - virtual void setStartRadius(float); - virtual float getStartRadiusVar(); - virtual void setStartRadiusVar(float); - virtual float getEndRadius(); - virtual void setEndRadius(float); - virtual float getEndRadiusVar(); - virtual void setEndRadiusVar(float); - virtual float getRotatePerSecond(); - virtual void setRotatePerSecond(float); - virtual float getRotatePerSecondVar(); - virtual void setRotatePerSecondVar(float); - virtual bool isActive(); - virtual bool isBlendAdditive(); - virtual void setBlendAdditive(bool); - virtual float getStartSize(); - virtual void setStartSize(float); - virtual float getStartSizeVar(); - virtual void setStartSizeVar(float); - virtual float getEndSize(); - virtual void setEndSize(float); - virtual float getEndSizeVar(); - virtual void setEndSizeVar(float); - virtual cocos2d::_ccColor4F const& getStartColor(); - virtual void setStartColor(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getStartColorVar(); - virtual void setStartColorVar(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getEndColor(); - virtual void setEndColor(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getEndColorVar(); - virtual void setEndColorVar(cocos2d::_ccColor4F const&); - virtual float getStartSpin(); - virtual void setStartSpin(float); - virtual float getStartSpinVar(); - virtual void setStartSpinVar(float); - virtual float getEndSpin(); - virtual void setEndSpin(float); - virtual float getEndSpinVar(); - virtual void setEndSpinVar(float); - virtual float getEmissionRate(); - virtual void setEmissionRate(float); - virtual unsigned int getTotalParticles(); - virtual void setTotalParticles(unsigned int); - virtual bool getOpacityModifyRGB(); - virtual void setOpacityModifyRGB(bool); - virtual cocos2d::tCCPositionType getPositionType(); - virtual void setPositionType(cocos2d::tCCPositionType); - virtual bool isAutoRemoveOnFinish(); - virtual void setAutoRemoveOnFinish(bool); - virtual int getEmitterMode(); - virtual void setEmitterMode(int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - virtual void updateWithNoTime(); - virtual void updateBlendFunc(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCParticleSystemQuad { - static cocos2d::CCParticleSystemQuad* create(char const*, bool); - static cocos2d::CCParticleSystemQuad* create(); - static cocos2d::CCParticleSystemQuad* createWithTotalParticles(unsigned int, bool); - - void initIndices(); - void initTexCoordsWithRect(cocos2d::CCRect const&); - - unsigned char getOpacity(); - - void setDisplayFrame(cocos2d::CCSpriteFrame*); - void setOpacity(unsigned char); - void setTextureWithRect(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - // CCParticleSystemQuad(cocos2d::CCParticleSystemQuad const&); - // CCParticleSystemQuad(); - bool allocMemory(); - void listenBackToForeground(cocos2d::CCObject*); - void setupVBO(); - void updateTexCoords(); - - virtual void draw(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual void setTotalParticles(unsigned int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&); - virtual gd::string getNewFilename(char const*); - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2(); - virtual bool init(); - virtual bool isAbsolutePath(gd::string const&); - virtual bool isPopupNotify(); - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool); - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils(); - virtual bool shouldUseHD(); - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create(); - static void resetGlobalOrderOfArrival(); - - // CCNode(cocos2d::CCNode const&); - CCNode(); - ~CCNode(); - - cocos2d::CCAction* getActionByTag(int); - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - cocos2d::CCRect boundingBox(); - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions(); - void pauseSchedulerAndActions(); - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions(); - cocos2d::CCAction* runAction(cocos2d::CCAction*); - void schedule(cocos2d::SEL_SCHEDULE); - void schedule(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float); - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void scheduleUpdateWithPriorityLua(int, int); - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - void stopAllActions(); - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void unscheduleUpdate(); - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const; - virtual cocos2d::CCSize const& getContentSize() const; - virtual void update(float); - virtual bool init(); - virtual void setZOrder(int); - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getAnchorPoint(); - virtual cocos2d::CCPoint const& getAnchorPointInPoints(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual cocos2d::CCSize getScaledContentSize(); - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual void setParent(cocos2d::CCNode*); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast(); - virtual cocos2d::CCAffineTransform const parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(char const*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); - virtual void updateTweenActionInt(float, int); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*); - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create(); - - // CCLayer(cocos2d::CCLayer const&); - CCLayer(); - ~CCLayer(); - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); - - virtual void keyBackClicked(); - virtual void keyMenuClicked(); - - virtual void keyDown(cocos2d::enumKeyCodes); -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*); - - // CCObject(cocos2d::CCObject const&); - CCObject(); - ~CCObject(); - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - cocos2d::CCObject* autorelease(); - cocos2d::CCObject* copy(); - bool isSingleReference() const; - void release(); - void retain(); - unsigned int retainCount() const; - - virtual int getTag() const; - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); - virtual void update(float); - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual void setTag(int); -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&); - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float); - static cocos2d::CCLayerColor* create(); - - // CCLayerColor(cocos2d::CCLayerColor const&); - CCLayerColor(); - ~CCLayerColor(); - - void setVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - - void addToVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void changeHeight(float); - void changeWidth(float); - void changeWidthAndHeight(float, float); - - virtual bool init(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual void draw(); - virtual bool initWithColor(cocos2d::_ccColor4B const&, float, float); - virtual bool initWithColor(cocos2d::_ccColor4B const&); - virtual void updateColor(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - CCLayerRGBA(); - ~CCLayerRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float); - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init(); - - int getTargetPrio() const; - - void setDispatchEvents(bool); - void setPriority(int, cocos2d::CCTouchDelegate*); - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void addStandardDelegate(cocos2d::CCTouchDelegate*, int); - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool); - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*); - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*); - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*); - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio(); - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int); - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*); - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int); - void unregisterForcePrio(cocos2d::CCObject*); - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*); - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*); -} - -[[link(win)]] -class cocos2d::CCEGLView { - // CCEGLView(); - // CCEGLView(cocos2d::CCEGLView const&); - virtual void swapBuffers(); - void toggleFullScreen(bool, bool); - // rest are in extras -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static cocos2d::CCIMEDispatcher* sharedDispatcher(); - - // CCIMEDispatcher(); - - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool); - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes); - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCDirector { - static cocos2d::CCDirector* sharedDirector(); - - float getActualDeltaTime() const; - double getAnimationInterval(); - float getContentScaleFactor(); - cocos2d::CCDirectorDelegate* getDelegate() const; - bool getDontCallWillSwitch() const; - void getFPSImageData(unsigned char**, unsigned int*); - bool getIsTransitioning() const; - cocos2d::TextureQuality getLoadedTextureQuality() const; - cocos2d::CCScene* getNextScene(); - cocos2d::CCNode* getNotificationNode(); - cocos2d::CCEGLView* getOpenGLView(); - cocos2d::ccDirectorProjection getProjection(); - cocos2d::CCScene* getRunningScene(); - cocos2d::CCScene* getSceneReference() const; - float getScreenBottom(); - float getScreenLeft(); - float getScreenRight(); - float getScreenScaleFactor(); - float getScreenScaleFactorH(); - float getScreenScaleFactorMax(); - float getScreenScaleFactorW(); - float getScreenTop(); - float getSecondsPerFrame(); - bool getSmoothFix() const; - bool getSmoothFixCheck() const; - int getSmoothFixCounter() const; - unsigned int getTotalFrames(); - cocos2d::CCPoint getVisibleOrigin(); - cocos2d::CCSize getVisibleSize(); - cocos2d::CCSize getWinSize(); - cocos2d::CCSize getWinSizeInPixels(); - float getZEye(); - - void setActualDeltaTime(float); - void setAlphaBlending(bool); - void setContentScaleFactor(float); - void setDefaultValues(); - void setDelegate(cocos2d::CCDirectorDelegate*); - void setDeltaTime(float); - void setDepthTest(bool); - void setDisplayStats(bool); - void setDontCallWillSwitch(bool); - void setGLDefaultValues(); - void setNextDeltaTimeZero(bool); - void setNextScene(); - void setNotificationNode(cocos2d::CCNode*); - void setOpenGLView(cocos2d::CCEGLView*); - void setProjection(cocos2d::ccDirectorProjection); - void setSceneReference(cocos2d::CCScene*); - void setSmoothFix(bool); - void setSmoothFixCheck(bool); - void setViewport(); - - // CCDirector(cocos2d::CCDirector const&); - // CCDirector(); - void applySmoothFix(); - void calculateDeltaTime(); - void calculateMPF(); - void checkSceneReference(); - cocos2d::CCPoint convertToGL(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToUI(cocos2d::CCPoint const&); - void createStatsLabel(); - void drawScene(); - void end(); - bool isDisplayStats(); - bool isNextDeltaTimeZero(); - bool isPaused(); - bool isSendCleanupToScene(); - int levelForSceneInStack(cocos2d::CCScene*); - void pause(); - void popScene(); - bool popSceneWithTransition(float, cocos2d::PopTransition); - void popToRootScene(); - void popToSceneInStack(cocos2d::CCScene*); - void popToSceneStackLevel(int); - void purgeCachedData(); - void purgeDirector(); - bool pushScene(cocos2d::CCScene*); - void removeStatsLabel(); - bool replaceScene(cocos2d::CCScene*); - void resetSmoothFixCounter(); - void reshapeProjection(cocos2d::CCSize const&); - void resume(); - void runWithScene(cocos2d::CCScene*); - int sceneCount(); - void setupScreenScale(cocos2d::CCSize, cocos2d::CCSize, cocos2d::TextureQuality); - void showFPSLabel(); - void showStats(); - void toggleShowFPS(bool, gd::string, cocos2d::CCPoint); - void updateContentScale(cocos2d::TextureQuality); - void updateScreenScale(cocos2d::CCSize); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCTouchDispatcher* getTouchDispatcher(); - virtual void setTouchDispatcher(cocos2d::CCTouchDispatcher*); - virtual cocos2d::CCKeypadDispatcher* getKeypadDispatcher(); - virtual void setKeypadDispatcher(cocos2d::CCKeypadDispatcher*); - virtual cocos2d::CCKeyboardDispatcher* getKeyboardDispatcher(); - virtual void setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*); - virtual cocos2d::CCMouseDispatcher* getMouseDispatcher(); - virtual void setMouseDispatcher(cocos2d::CCMouseDispatcher*); - virtual cocos2d::CCAccelerometer* getAccelerometer(); - virtual void setAccelerometer(cocos2d::CCAccelerometer*); - virtual float getDeltaTime(); - virtual void setSceneDelegate(cocos2d::CCSceneDelegate*); - virtual cocos2d::CCSceneDelegate* getSceneDelegate() const; -} - - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - static cocos2d::CCNodeRGBA* create(); - - // CCNodeRGBA(cocos2d::CCNodeRGBA const&); - CCNodeRGBA(); - ~CCNodeRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - - -[[link(win, android)]] -class cocos2d::CCSprite { - static cocos2d::CCSprite* create(char const*); - static cocos2d::CCSprite* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSprite* create(); - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static cocos2d::CCSprite* createWithSpriteFrameName(char const*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - unsigned int getAtlasIndex(); - float getBlVertexMod() const; - float getBrVertexMod() const; - bool getDontDraw() const; - cocos2d::CCPoint const& getOffsetPosition(); - cocos2d::_ccV3F_C4B_T2F_Quad getQuad(); - cocos2d::CCTextureAtlas* getTextureAtlas(); - cocos2d::CCRect const& getTextureRect(); - float getTlVertexMod() const; - float getTrVertexMod() const; - cocos2d::CCPoint const& getUnflippedOffsetPosition(); - bool getUseVertexMod() const; - - void setAtlasIndex(unsigned int); - void setBlVertexMod(float); - void setBrVertexMod(float); - void setDontDraw(bool); - void setFlipX(bool); - void setFlipY(bool); - void setTextureAtlas(cocos2d::CCTextureAtlas*); - void setTlVertexMod(float); - void setTrVertexMod(float); - void setUseVertexMod(bool); - - // CCSprite(cocos2d::CCSprite const&); - CCSprite(); - ~CCSprite(); - bool isFlipX(); - bool isFlipY(); - bool isTextureRectRotated(); - void updateColor(); - - virtual bool init(); - virtual void setVertexZ(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setSkewX(float); - virtual void setSkewY(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void ignoreAnchorPointForPosition(bool); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual void draw(); - virtual void updateTransform(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(char const*); - virtual bool initWithFile(char const*); - virtual bool initWithFile(char const*, cocos2d::CCRect const&); - virtual void setChildColor(cocos2d::_ccColor3B const&); - virtual void setChildOpacity(unsigned char); - virtual cocos2d::CCSpriteBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCSpriteBatchNode*); - virtual void refreshTextureRect(); - virtual void setTextureRect(cocos2d::CCRect const&); - virtual void setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&); - virtual void setVertexRect(cocos2d::CCRect const&); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); - virtual void setDisplayFrameWithAnimationName(char const*, int); - virtual bool isDirty(); - virtual void setDirty(bool); - virtual void setTextureCoords(cocos2d::CCRect const&); - virtual void updateBlendFunc(); - virtual void setReorderChildDirtyRecursively(); - virtual void setDirtyRecursively(bool); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual void updateDisplayedOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - static cocos2d::CCLabelBMFont* create(char const*, char const*); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - static cocos2d::CCLabelBMFont* create(); - static cocos2d::CCLabelBMFont* createBatched(char const*, char const*, cocos2d::CCArray*, int); - static void purgeCachedData(); - - bool initWithString(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint); - - cocos2d::CCBMFontConfiguration* getConfiguration() const; - int getExtraKerning() const; - char const* getFntFile(); - bool getIsBatched() const; - float getLetterPosXLeft(cocos2d::CCSprite*, float, bool); - float getLetterPosXRight(cocos2d::CCSprite*, float, bool); - cocos2d::CCArray* getTargetArray() const; - - void setExtraKerning(int); - void setFntFile(char const*); - void setIsBatched(bool); - void setTargetArray(cocos2d::CCArray*); - void createFontChars(); - int kerningAmountForFirst(unsigned short, unsigned short); - void limitLabelWidth(float, float, float); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setString(char const*, bool); - virtual void setCString(char const*); - virtual void updateLabel(); - virtual void setAlignment(cocos2d::CCTextAlignment); - virtual void setWidth(float); - virtual void setLineBreakWithoutSpace(bool); - virtual void setString(unsigned short*, bool); - - virtual void setString(char const*); - virtual char const* getString(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCApplication { - virtual void gameDidSave(); - virtual void openURL(char const*); -} - -[[link(win, android)]] -class cocos2d::CCArray { - // static cocos2d::CCArray* create(cocos2d::CCObject*, ...); - static cocos2d::CCArray* create(); - static cocos2d::CCArray* createWithArray(cocos2d::CCArray*); - static cocos2d::CCArray* createWithCapacity(unsigned int); - static cocos2d::CCArray* createWithContentsOfFile(char const*); - static cocos2d::CCArray* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCArray* createWithObject(cocos2d::CCObject*); - - bool init(); - bool initWithArray(cocos2d::CCArray*); - bool initWithCapacity(unsigned int); - bool initWithObject(cocos2d::CCObject*); - // bool initWithObjects(cocos2d::CCObject*, ...); - - // CCArray(cocos2d::CCArray const&); - // CCArray(unsigned int); - // CCArray(); - void addObject(cocos2d::CCObject*); - void addObjectNew(cocos2d::CCObject*); - void addObjectsFromArray(cocos2d::CCArray*); - unsigned int capacity() const; - bool containsObject(cocos2d::CCObject*) const; - unsigned int count() const; - void exchangeObject(cocos2d::CCObject*, cocos2d::CCObject*); - void exchangeObjectAtIndex(unsigned int, unsigned int); - void fastRemoveObject(cocos2d::CCObject*); - void fastRemoveObjectAtIndex(unsigned int); - void fastRemoveObjectAtIndexChild(unsigned int); - void fastRemoveObjectAtIndexNew(unsigned int); - unsigned int indexOfObject(cocos2d::CCObject*) const; - void insertObject(cocos2d::CCObject*, unsigned int); - bool isEqualToArray(cocos2d::CCArray*); - cocos2d::CCObject* lastObject(); - cocos2d::CCObject* objectAtIndex(unsigned int); - cocos2d::CCObject* randomObject(); - void recreateNewIndexes(); - void reduceMemoryFootprint(); - void removeAllObjects(); - void removeLastObject(bool); - void removeObject(cocos2d::CCObject*, bool); - void removeObjectAtIndex(unsigned int, bool); - void removeObjectAtIndexChild(unsigned int, bool); - void removeObjectsInArray(cocos2d::CCArray*); - void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool); - void reverseObjects(); - cocos2d::CCString* stringAtIndex(unsigned int); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create(); - static cocos2d::CCDictionary* createWithContentsOfFile(char const*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - - gd::string getFirstKey(); - - void setObject(cocos2d::CCObject*, gd::string const&); - void setObject(cocos2d::CCObject*, int); - void setObjectUnSafe(cocos2d::CCObject*, gd::string const&); - void setObjectUnSafe(cocos2d::CCObject*, int); - - // CCDictionary(cocos2d::CCDictionary const&); - // CCDictionary(); - cocos2d::CCArray* allKeys(); - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - char const* charForKey(gd::string const&); - unsigned int count(); - cocos2d::CCObject* objectForKey(gd::string const&); - cocos2d::CCObject* objectForKey(int); - cocos2d::CCObject* randomObject(); - void removeAllObjects(); - void removeObjectForElememt(cocos2d::CCDictElement*); - void removeObjectForKey(gd::string const&); - void removeObjectForKey(int); - void removeObjectsForKeys(cocos2d::CCArray*); - cocos2d::CCString const* valueForKey(gd::string const&); - cocos2d::CCString const* valueForKey(int); - bool writeToFile(char const*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFade { - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*); - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&); - - // CCTransitionFade(cocos2d::CCTransitionFade const&); - // CCTransitionFade(); - - virtual void onEnter(); - virtual void onExit(); - virtual bool initWithDuration(float, cocos2d::CCScene*); - virtual bool initWithDuration(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&); -} - -[[link(win, android)]] -class cocos2d::CCDrawNode { - static cocos2d::CCDrawNode* create(); - - cocos2d::_ccBlendFunc getBlendFunc() const; - - void setBlendFunc(cocos2d::_ccBlendFunc const&); - - // CCDrawNode(cocos2d::CCDrawNode const&); - // CCDrawNode(); - void clear(); - void drawCircle(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&, unsigned int); - void drawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - void drawDot(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - bool drawLines(cocos2d::CCPoint*, unsigned int, float, cocos2d::_ccColor4F const&); - bool drawPolygon(cocos2d::CCPoint *verts, unsigned int count, const cocos2d::ccColor4F &fillColor, float borderWidth, const cocos2d::ccColor4F &borderColor); - void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - bool drawRect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&); - void drawSegment(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - void ensureCapacity(unsigned int); - void listenBackToForeground(cocos2d::CCObject*); - void render(); - - virtual bool init(); - virtual void draw(); -} - -[[link(win, android)]] -class cocos2d::CCSpriteBatchNode { - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCMenuItem { - ~CCMenuItem(); - static cocos2d::CCMenuItem* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItem* create(); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - int getScriptTapHandler(); - - void setTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - // CCMenuItem(cocos2d::CCMenuItem const&); - // CCMenuItem(); - cocos2d::CCRect rect(); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void registerScriptTapHandler(int); - virtual void unregisterScriptTapHandler(); - virtual bool isEnabled(); - virtual void setEnabled(bool); - virtual bool isSelected(); -} - -[[link(win, android)]] -class cocos2d::CCMenu { - // static cocos2d::CCMenu* create(cocos2d::CCMenuItem*, ...); - static cocos2d::CCMenu* create(); - static cocos2d::CCMenu* createWithArray(cocos2d::CCArray*); - static cocos2d::CCMenu* createWithItem(cocos2d::CCMenuItem*); - // static cocos2d::CCMenu* createWithItems(cocos2d::CCMenuItem*, char*); - - bool initWithArray(cocos2d::CCArray*); - - void setHandlerPriority(int); - - // CCMenu(cocos2d::CCMenu const&); - // CCMenu(); - void alignItemsHorizontally(); - void alignItemsHorizontallyWithPadding(float); - // void alignItemsInColumns(unsigned int, ...); - // void alignItemsInColumns(unsigned int, char*); - void alignItemsInColumnsWithArray(cocos2d::CCArray*); - // void alignItemsInRows(unsigned int, ...); - // void alignItemsInRows(unsigned int, char*); - void alignItemsInRowsWithArray(cocos2d::CCArray*); - void alignItemsVertically(); - void alignItemsVerticallyWithPadding(float); - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*); - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*, bool); - - virtual bool init(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(win, android)]] -class cocos2d::CCDelayTime { - static cocos2d::CCDelayTime* create(float); - - // CCDelayTime(cocos2d::CCDelayTime const&); - // CCDelayTime(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::extension::CCScale9Sprite { - static cocos2d::extension::CCScale9Sprite* create(); - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*); - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*, cocos2d::CCRect); - static cocos2d::extension::CCScale9Sprite* create(char const*); - static cocos2d::extension::CCScale9Sprite* create(char const*, cocos2d::CCRect); - - CCScale9Sprite(); - ~CCScale9Sprite(); - - virtual bool init(); - virtual void setContentSize(const cocos2d::CCSize& size); - virtual void visit(); - virtual GLubyte getOpacity(); - virtual void setOpacity(GLubyte opacity); - virtual void updateDisplayedOpacity(GLubyte parentOpacity); - virtual const cocos2d::ccColor3B& getColor(); - virtual void setColor(const cocos2d::ccColor3B& color); - virtual void updateDisplayedColor(const cocos2d::ccColor3B& parentColor); - virtual void setOpacityModifyRGB(bool bValue); - virtual bool isOpacityModifyRGB(); - virtual cocos2d::CCSize getPreferredSize(); - virtual void setPreferredSize(cocos2d::CCSize); - virtual cocos2d::CCRect getCapInsets(); - virtual void setCapInsets(cocos2d::CCRect); - virtual float getInsetLeft(); - virtual void setInsetLeft(float); - virtual float getInsetTop(); - virtual void setInsetTop(float); - virtual float getInsetRight(); - virtual void setInsetRight(float); - virtual float getInsetBottom(); - virtual void setInsetBottom(float); - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect); - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, cocos2d::CCRect); - virtual bool initWithFile(const char*, cocos2d::CCRect, cocos2d::CCRect); - virtual bool initWithFile(const char*, cocos2d::CCRect); - virtual bool initWithFile(cocos2d::CCRect, const char*); - virtual bool initWithFile(const char*); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*, cocos2d::CCRect); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(const char*, cocos2d::CCRect); - virtual bool initWithSpriteFrameName(const char*); - virtual bool updateWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect); - virtual void setSpriteFrame(cocos2d::CCSpriteFrame*); -} diff --git a/bindings/bindings/2.204/Entry.bro b/bindings/bindings/2.204/Entry.bro deleted file mode 100644 index dbaca38..0000000 --- a/bindings/bindings/2.204/Entry.bro +++ /dev/null @@ -1,3 +0,0 @@ -#include -#include -#include diff --git a/bindings/bindings/2.204/Extras.bro b/bindings/bindings/2.204/Extras.bro deleted file mode 100644 index 33d6f15..0000000 --- a/bindings/bindings/2.204/Extras.bro +++ /dev/null @@ -1,66 +0,0 @@ -class PlayerButtonCommand { - PlayerButton m_button; - bool m_isPush; - bool m_isPlayer2; - PAD = win 0x6, android32 0x6; -} - -class FMODSound { - -} - -class AdvancedFollowInstance { - -} - -class SFXTriggerInstance { - -} - -class EventTriggerInstance { - -} - -class SongChannelState { - -} - -class ChanceObject { - -} - -class GameObjectPhysics { - -} - -class DynamicObjectAction { - -} - -class GJTransformState { - -} - -class CAState { - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - cocos2d::ccColor3B m_color; - bool m_property19; - bool m_blending; - bool m_copyOpacity; - bool m_unknown; - int m_playerColor; - int m_colorID; - int m_copyID; - int m_unknown2; - float m_duration; - float m_fromOpacity; - float m_toOpacity; - float m_deltaTime; - float m_unknown3; - cocos2d::ccHSVValue m_copyHSV; -} - -class GJPointDouble { - -} diff --git a/bindings/bindings/2.204/GeometryDash.bro b/bindings/bindings/2.204/GeometryDash.bro deleted file mode 100644 index bc44d54..0000000 --- a/bindings/bindings/2.204/GeometryDash.bro +++ /dev/null @@ -1,15478 +0,0 @@ -// clang-format off - -[[link(android)]] -class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtocol { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create() = win 0x58a10; - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual void customSetup() = win 0x58b90; - virtual void layerHidden() = win 0x594f0; - virtual TodoReturn accountStatusChanged() = win 0x59220; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x59480; -} - -[[link(android)]] -class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate, GJAccountSyncDelegate, FLAlertLayerProtocol { - // virtual ~AccountLayer(); - // AccountLayer() = win 0x571f0; - - static AccountLayer* create() = win 0x573e0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup() = win 0x57dc0; - TodoReturn doSync() = win 0x57f20; - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender) = win 0x57c70; - void onHelp(cocos2d::CCObject* sender); - void onLogin(cocos2d::CCObject* sender) = win 0x57c20; - void onMore(cocos2d::CCObject* sender) = win 0x58010; - void onRegister(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender) = win 0x57e30; - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(bool) = win 0x58060; - - virtual void customSetup() = win 0x575c0; - virtual void layerHidden() = win 0x589b0; - virtual TodoReturn backupAccountFinished() = win 0x583a0; - virtual TodoReturn backupAccountFailed(BackupAccountError, int) = win 0x58500; - virtual TodoReturn syncAccountFinished() = win 0x58730; - virtual TodoReturn syncAccountFailed(BackupAccountError, int) = win 0x58890; - virtual TodoReturn accountStatusChanged() = win 0x58050; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x58940; -} - -[[link(android)]] -class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegate, FLAlertLayerProtocol { - // virtual ~AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string) = win 0x55bf0; - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string) = win 0x55cb0; - void onClose(cocos2d::CCObject* sender); - void onForgotPassword(cocos2d::CCObject* sender) = win 0x56440; - void onForgotUser(cocos2d::CCObject* sender) = win 0x56420; - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x56e10; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x56ab0; - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) = win 0x56f40; - virtual void textChanged(CCTextInputNode*) {} - virtual TodoReturn loginAccountFinished(int, int) = win 0x56680; - virtual TodoReturn loginAccountFailed(AccountError) = win 0x56840; -} - -[[link(android)]] -class AccountRegisterLayer : FLAlertLayer, TextInputDelegate, GJAccountRegisterDelegate, FLAlertLayerProtocol { - // virtual ~AccountRegisterLayer(); - - static AccountRegisterLayer* create() = win 0x53b90; - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init() = win 0x53c30; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x553d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x54ef0; - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) = win 0x554e0; - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) = win 0x559e0; - virtual void textInputReturn(CCTextInputNode*) = win 0x55a40; - virtual bool allowTextInput(CCTextInputNode*) = win 0x55a90; - virtual TodoReturn registerAccountFinished() = win 0x549c0; - virtual TodoReturn registerAccountFailed(AccountError) = win 0x54b20; -} - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const* title, char const* desc, char const* icon, bool quest) = win 0x59720; - - bool init(char const* title, char const* desc, char const* icon, bool quest) = win 0x59800; - void show() = win 0x5a610; - - virtual void setOpacity(unsigned char) = win 0x5a850; -} - -[[link(android)]] -class AchievementCell : TableViewCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - void loadFromDict(cocos2d::CCDictionary*) = win 0x7c730; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState() = win 0x9ac0; - - TodoReturn achievementForUnlock(int, UnlockType) = win 0x1b290; - void addAchievement(gd::string, gd::string, gd::string, gd::string, gd::string, int) = win 0x9bc0; - void addManualAchievements() = win 0x9f60; - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAchievementRewardDict(); - cocos2d::CCDictionary* getAchievementsWithID(char const*) = win 0x1ade0; - TodoReturn getAllAchievements(); - cocos2d::CCArray* getAllAchievementsSorted(bool) = win 0x1ac20; - bool isAchievementAvailable(gd::string); - bool isAchievementEarned(char const* ach) { - int iVal1 = AchievementManager::percentForAchievement(ach); - return 99 < iVal1; - } - TodoReturn limitForAchievement(gd::string); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn notifyAchievementWithID(char const*) = win 0x1b550; - TodoReturn percentageForCount(int, int); - int percentForAchievement(char const*) = win 0x1ab50; - void reportAchievementWithID(char const*, int, bool) = win 0x1b7e0; - void reportPlatformAchievementWithID(char const*, int) = win 0x1b8f0; - void resetAchievement(char const*) = win 0x1b730; - TodoReturn resetAchievements(); - TodoReturn setup(); - void storeAchievementUnlocks() = win 0x1afa0; - - virtual bool init() = win 0x9b40; - - cocos2d::CCArray* m_allAchievements; - cocos2d::CCDictionary* m_platformAchievements; - cocos2d::CCDictionary* m_achievementUnlocks; - PAD = win 0x4; - cocos2d::CCDictionary* m_reportedAchievements; - bool m_dontNotify; - PAD = win 0x3; - cocos2d::CCArray* m_allAchievementsSorted; - int m_order; - cocos2d::CCDictionary* m_unAchieved; -} - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState(); - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const* title, char const* desc, char const* icon, bool quest); - void showNextAchievement() = win 0x1c0a0; - void willSwitchToScene(cocos2d::CCScene*) = win 0x1c200; - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - // virtual ~AchievementsLayer(); - - static AchievementsLayer* create() = win 0x5a9a0; - - void loadPage(int) = win 0x5adc0; - void onNextPage(cocos2d::CCObject* sender) = win 0x5b040; - void onPrevPage(cocos2d::CCObject* sender) = win 0x5b050; - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - void setupPageInfo(int, int, int); - - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x5ad30; - virtual void customSetup() = win 0x5aab0; -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn cacheRewardedVideo(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn enableBannerNoRefresh(); - TodoReturn hasCachedInterstitial(); - TodoReturn hasCachedRewardedVideo(); - bool isShowingAd(); - TodoReturn queueRefreshBanner(); - TodoReturn setupAds(); - void showDebug(); - void showInterstitial(); - void showRewardedVideo(); -} - -[[link(android)]] -class AdvancedFollowEditObject : AdvancedFollowTriggerObject { - // virtual ~AdvancedFollowEditObject(); - - static AdvancedFollowEditObject* create(char const*) = win 0x396ba0; - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x397030; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x396c40; -} - -[[link(android)]] -class AdvancedFollowTriggerObject : EffectGameObject { - // virtual ~AdvancedFollowTriggerObject(); - // AdvancedFollowTriggerObject(); - - static AdvancedFollowTriggerObject* create(char const*) = win 0x393950; - - int getAdvancedFollowID() = win 0x3939f0; - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x395bc0; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x393a50; -} - -[[link(android)]] -class AdvFollowSetup { - // ~AdvFollowSetup(); -} - -[[link(android)]] -class AnimatedGameObject : EnhancedGameObject, AnimatedSpriteDelegate, SpritePartDelegate { - // virtual ~AnimatedGameObject(); - - static AnimatedGameObject* create(int) = win 0x39ab70; - - TodoReturn animationForID(int, int) = win 0x39C630; - TodoReturn getTweenTime(int, int); - bool init(int) = win 0x39ac10; - TodoReturn playAnimation(int) = win 0x39C4E0; - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn updateChildSpriteColor(cocos2d::ccColor3B); - TodoReturn updateObjectAnimation(); - - virtual void setOpacity(unsigned char) = win 0x39bb70; - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void resetObject(); - virtual void activateObject(); - virtual void deactivateObject(bool); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual void animationFinished(char const*) = win 0x39bc50; - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string) = win 0x39c390; -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - // virtual ~AnimatedShopKeeper(); - - static AnimatedShopKeeper* create(ShopType) = win 0x21d880; - - bool init(ShopType) = win 0x21d920; - TodoReturn playReactAnimation() = win 0x21da20; - TodoReturn startAnimating() = win 0x21db40; - - virtual TodoReturn animationFinished(char const*) = win 0x21db80; -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual void animationFinished(char const*); -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - // virtual ~AppDelegate(); - inline static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - - TodoReturn bgScale(); - TodoReturn checkSound(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest() = win 0x5b710; - void pauseGame() = win 0x5b5e0; - TodoReturn pauseSound() = win 0x5b640; - void platformShutdown() = win 0x5b0b0; - TodoReturn resumeSound() = win 0x5b6c0; - void setIdleTimerDisabled(bool); - void setupGLView() = win 0x5b0c0; - void showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching() = win 0x5b320; - virtual void applicationDidEnterBackground() = win 0x5b4f0; - virtual void applicationWillEnterForeground() = win 0x5b530; - virtual void applicationWillBecomeActive() = win 0x5b4d0; - virtual void applicationWillResignActive() = win 0x5b4e0; - virtual void trySaveGame(bool) = win 0x5b790; - virtual void willSwitchToScene(cocos2d::CCScene*) = win 0x5b930; - - PAD = win 0x4, android32 0xC, android64 0x18; - cocos2d::CCScene* m_runningScene; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - // virtual ~ArtistCell(); - ArtistCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x83eb0; - void onNewgrounds(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x80e10; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ArtTriggerGameObject : EffectGameObject { - // virtual ~ArtTriggerGameObject(); - - static ArtTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string) = win 0x5bc60; - - TodoReturn audioStep(float) = win 0x5beb0; - TodoReturn getBGSquare(); - TodoReturn goingDown(); - bool init(gd::string) = win 0x5bd20; - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float) = win 0x5bf70; - - virtual void draw() {} - virtual void updateTweenAction(float, char const*) = win 0x5c0a0; -} - -[[link(android)]] -class AudioLineGuideGameObject : EffectGameObject { - // virtual ~AudioLineGuideGameObject(); - - static AudioLineGuideGameObject* create() = win 0x3b6730; - - virtual bool init() = win 0x3b67d0; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class BitmapFontCache : cocos2d::CCObject { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown : cocos2d::CCNode { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - bool init(gd::string, int); - void show(); -} - -[[link(android)]] -class BoomListLayer : cocos2d::CCLayerColor { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - static BoomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float); - - TodoReturn addObjectToList(cocos2d::CCNode*); - bool init(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x1d400; - TodoReturn lockList(bool); - - bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, nullptr, height, width, 0, type, 0.0f); - } - - virtual void draw() {} - virtual void setupList(float) = win 0x1d5c0; - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d650; - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned, TableView*) = win 0x1d660; - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 1; } - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) = win 0x1d670; - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(char const*) = win 0x1d6d0; - virtual void loadCell(TableViewCell*, int) = win 0x1d7b0; - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; - bool m_locked; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - BoomScrollLayer() = win 0x1de90; - - static BoomScrollLayer* create(cocos2d::CCArray* pages, int unk1, bool unk2, cocos2d::CCArray* unk3, DynamicScrollDelegate* delegate) { - BoomScrollLayer* pRet = new BoomScrollLayer(); - - if (pRet && pRet->init(pages, unk1, unk2, unk3, delegate)) - { - pRet->autorelease(); - return pRet; - } - - delete pRet; - return nullptr; - } - static BoomScrollLayer* create(cocos2d::CCArray* pages, int unk1, bool unk2) { - return BoomScrollLayer::create(pages, unk1, unk2, nullptr, nullptr); - } - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getPage(int); - int getRelativePageForNum(int) = win 0x1f190; - TodoReturn getRelativePosForPage(int); - TodoReturn getTotalPages(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*) = win 0x1E100; - void instantMoveToPage(int) = win 0x1ebe0; - void moveToPage(int) = win 0x1ecb0; - void moveToPageEnded() = win 0x1ea60; - int pageNumberForPosition(cocos2d::CCPoint) = win 0x1eae0; - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); // inlined D: - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - void repositionPagesLooped() = win 0x1ee40; - void selectPage(int) = win 0x1f1d0; - void setDotScale(float); // inlined - void setPagesIndicatorPosition(cocos2d::CCPoint); // inline functions my beloved :heart: - void setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*) = win 0x1e370; - void togglePageIndicators(bool) = win 0x1e9c0; - void updateDots(float) = win 0x1e820; - void updatePages() = win 0x1e710; - - virtual void visit() = win 0x1ea10; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x1f420; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x1f510; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x1f760; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x1f3f0; - virtual void registerWithTouchDispatcher() = win 0x1f270; -} - - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual void scrollLayerScrollingStarted(BoomScrollLayer*); - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void scrollLayerMoved(cocos2d::CCPoint); - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int); -} - -[[link(android)]] -class BrowseSmartKeyLayer : BrowseSmartTemplateLayer { - // virtual ~BrowseSmartKeyLayer(); - - static BrowseSmartKeyLayer* create(GJSmartTemplate*, gd::string) = win 0x35c240; - - TodoReturn addChanceToSelected(int, bool); - TodoReturn createTemplateObjects(); - TodoReturn deletedSelectedItems(); - TodoReturn getAllSelectedBlocks(); - bool init(GJSmartTemplate*, gd::string) = win 0x35c310; - void onButton(cocos2d::CCObject* sender); - void onPrefabObject(cocos2d::CCObject* sender); - TodoReturn updateChanceValues(); - - virtual void onBack(cocos2d::CCObject* sender) = win 0x35cfe0; -} - -[[link(android)]] -class BrowseSmartTemplateLayer : FLAlertLayer { - // virtual ~BrowseSmartTemplateLayer(); - - static BrowseSmartTemplateLayer* create(GJSmartTemplate*, SmartBrowseFilter); - - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addPrefabMenuItem(SmartPrefabResult, int); - TodoReturn baseSetup(); - TodoReturn createDots(); - TodoReturn createPrefab(gd::string, int); - void goToPage(int); - bool init(GJSmartTemplate*, SmartBrowseFilter); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onTemplateObject(cocos2d::CCObject* sender); - TodoReturn updateDots(); - - virtual void keyBackClicked() = win 0x35c140; - virtual void onBack(cocos2d::CCObject* sender) = win 0x35c160; -} - -[[link(android)]] -class ButtonPage : cocos2d::CCLayer { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - // virtual ~ButtonSprite(); - // ButtonSprite() = win 0x1fa30; - - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1feb0; - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(cocos2d::CCSprite* topSprite, int width, int unused, float height, float, bool, char const* bgSprite, bool noScaleSpriteForBG) = win 0x1fb90; - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*); - - bool init(char const*, int, int, float, bool, char const*, char const*, float) = win 0x1ff80; - bool init(cocos2d::CCSprite* topSprite, int width, int unused, float scale, float height, bool unkBool, char const* bgSprite, bool useNormalCCSpriteForBG) = win 0x1fc60; - void setColor(cocos2d::ccColor3B) = win 0x20b20; - void setString(char const*) = win 0x20770; - void updateBGImage(char const*) = win 0x20230; - void updateSpriteBGSize() = win 0x20340; - TodoReturn updateSpriteOffset(cocos2d::CCPoint); - - PAD = mac 0x18, win 0x18; - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_subSprite; - cocos2d::CCSprite* m_subBGSprite; - cocos2d::extension::CCScale9Sprite* m_BGSprite; - PAD = mac 0xC, win 0x8; - cocos2d::CCPoint m_spritePosition; -} - -[[link(android)]] -class CameraTriggerGameObject : EffectGameObject { - // virtual ~CameraTriggerGameObject(); - - static CameraTriggerGameObject* create(char const*) = win 0x3b2aa0; - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite() = win 0x21440; - TodoReturn createWithType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20c80; - bool initWithType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20d20; - TodoReturn loadType(char const*, cocos2d::CCTexture2D*, bool) = win 0x20ec0; - TodoReturn runAnimation(gd::string) = win 0x21640; - TodoReturn runAnimationForced(gd::string) = win 0x216c0; - TodoReturn stopTween(); - TodoReturn switchToMode(spriteMode) = win 0x214f0; - void tweenToAnimation(gd::string, float) = win 0x21750; - void tweenToAnimationFinished() = win 0x219c0; - TodoReturn willPlayAnimation(); - - virtual void setOpacity(unsigned char) = win 0x21ae0; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x21b30; - virtual TodoReturn animationFinished(char const*) = win 0x21ac0; - virtual TodoReturn animationFinishedO(cocos2d::CCObject*) = win 0x21a90; -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn decrementForcePrio(); - TodoReturn incrementForcePrio(); - - virtual bool init() = win 0x22f00; - virtual void draw() = win 0x230a0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x22ff0; - virtual void customSetup() {} - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer() = win 0x23010; - virtual void showLayer(bool) = win 0x23040; - virtual TodoReturn hideLayer(bool) = win 0x23050; - virtual TodoReturn layerVisible(); - virtual void layerHidden() = win 0x23070; - virtual void enterAnimFinished() {} - virtual void disableUI() {} - virtual void enableUI() {} - - void* m_unknown; -} - -[[link(android)]] -class CCCircleAlert : CCCircleWave { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - // virtual ~CCCircleWave(); - // CCCircleWave() = win 0x230e0; - - static CCCircleWave* create(float startRadius, float endRadius, float duration, bool fadeIn, bool easeOut) = win 0x23220; - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool) = win 0x23540; - bool init(float startRadius, float endRadius, float duration, bool fadeIn, bool easeOut) = win 0x232f0; // easeOut is only used in fadeOut - TodoReturn updatePosition(float); - - virtual void setPosition(cocos2d::CCPoint const&) = win 0x234f0; - virtual void removeMeAndCleanup() = win 0x239a0; - virtual void draw() = win 0x23840; - virtual void updateTweenAction(float, char const*) = win 0x235b0; - - PAD = win 0x11; - cocos2d::ccColor3B m_color; -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual void circleWaveWillBeRemoved(CCCircleWave*) {} -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float) = win 0x239c0; - - virtual void setPosition(cocos2d::CCPoint const&) = win 0x23b20; -} - -[[link(android)]] -class CCCountdown : cocos2d::CCSprite { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel : cocos2d::CCLabelBMFont { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(int, char const*, FormatterType) = win 0x23d00; - - TodoReturn calculateStepSize(int); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getTargetCount(); - bool init(int, char const*, FormatterType) = win 0x23db0; - void setTargetCount(int) = win 0x23e20; - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - CCIndexPath() {} - // virtual ~CCIndexPath(); - - TodoReturn CCIndexPathWithSectionRow(int, int); -} - -[[link(android)]] -class CCLightFlash : cocos2d::CCNode { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - void fadeAndRemove(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - void showFlash(); - - virtual bool init(); -} - -[[link(android)]] -class CCLightStrip : cocos2d::CCNode { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - bool init(float, float, float, float, float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - ~CCMenuItemSpriteExtra() {} - CCMenuItemSpriteExtra() { - m_scaleMultiplier = 1.0f; - m_baseScale = 1.0f; - m_animationEnabled = true; - m_colorEnabled = false; - m_unknown1 = 0.0f; - m_colorDip = 0.0f; - m_animationType = MenuAnimationType::Scale; - m_unknown4 = 0; - } - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25830; - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x258f0; - inline void setSizeMult(float mult) { - //inlined on windows, member is in CCMenuItemSprite - m_fSizeMult = mult; - } - TodoReturn useAnimationType(MenuAnimationType); - - virtual void activate() = win 0x259d0; - virtual void selected() = win 0x25aa0; - virtual void unselected() = win 0x25c80; - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown1; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; - int m_unknown4; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - CCMenuItemToggler() {} - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25e50; - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - - TodoReturn activeItem(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x25f30; - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - void setSizeMult(float mult) { - m_offButton->setSizeMult(mult); - m_onButton->setSizeMult(mult); - - this->toggle(this->m_toggled); - } - void toggle(bool) = win 0x261e0; - - bool isToggled() { - return m_toggled; - } - bool isOn() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - virtual void activate() = win 0x26100; - virtual void selected() = win 0x260d0; - virtual void unselected() = win 0x26130; - virtual void setEnabled(bool) = win 0x26160; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCObject { - // virtual ~CCMoveCNode(); - - static CCMoveCNode* create() = win 0x1dedf0; - - bool init(); - TodoReturn reset(); -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - // virtual ~CCNodeContainer(); - - static CCNodeContainer* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class CCPartAnimSprite : cocos2d::CCSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn dirtify(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - void setColor(cocos2d::ccColor3B) = win 0x27270; - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(SpriteDescription*); - TodoReturn tweenSpriteTo(SpriteDescription*, float); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - - virtual void setScaleX(float) = win 0x27160; - virtual void setScaleY(float) = win 0x27190; - virtual void setScale(float) = win 0x27130; - virtual void setOpacity(unsigned char) = win 0x27310; - virtual void setBlendFunc(cocos2d::_ccBlendFunc) = win 0x271c0; - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*) = win 0x26e90; - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*) = win 0x26fa0; - virtual cocos2d::CCSpriteFrame* displayFrame() = win 0x26fc0; -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect) = win 0x276e0; - - TodoReturn constraintContent(); - TodoReturn doConstraintContent(bool); - TodoReturn getMaxY(); - TodoReturn getMinY(); - void moveToTop() = win 0x27b60; - void moveToTopWithOffset(float) = win 0x27ae0; - TodoReturn scrollingEnd(); - void scrollLayer(float) = win 0x28550; - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - TodoReturn updateIndicators(float); - - virtual void visit() = win 0x28600; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x280d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x28410; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x281c0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x283e0; - virtual void registerWithTouchDispatcher() = win 0x280a0; - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect) = win 0x286d0; - virtual TodoReturn postVisit() = win 0x28760; - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - virtual void scrollViewTouchBegin(CCScrollLayerExt*) {} - virtual void scrollViewTouchEnd(CCScrollLayerExt*) {} -} - -[[link(android)]] -class CCSpriteCOpacity : cocos2d::CCSprite { - // virtual ~CCSpriteCOpacity(); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCSpriteGrayscale : CCSpriteWithHue { - // virtual ~CCSpriteGrayscale(); - - static CCSpriteGrayscale* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteGrayscale* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static CCSpriteGrayscale* createWithSpriteFrameName(gd::string const&) = win 0x29c40; - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn frameChanged(gd::string); - TodoReturn getBeingUsed(); - TodoReturn hideInactive(); - TodoReturn markAsNotBeingUsed(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateDisplayFrame(gd::string); - - virtual void setVisible(bool) = win 0x276c0; -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn getFollower(); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float) = win 0x28c10; - virtual void setScaleY(float) = win 0x28c90; - virtual void setScale(float) = win 0x28d10; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x288f0; - virtual void setRotation(float) = win 0x28950; - virtual void setRotationX(float) = win 0x289d0; - virtual void setRotationY(float) = win 0x28a50; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = win 0x288d0; - virtual bool initWithSpriteFrameName(char const*) = win 0x288b0; - virtual void setFlipX(bool) = win 0x28ad0; - virtual void setFlipY(bool) = win 0x28b70; - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class CCSpriteWithHue : cocos2d::CCSprite { - // virtual ~CCSpriteWithHue(); - // CCSpriteWithHue(); - - static CCSpriteWithHue* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteWithHue* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn getAlpha(); - TodoReturn getHue(); - TodoReturn getUniformLocations(); - TodoReturn initShader(); - void setCustomLuminance(float, float, float); - void setEvenLuminance(float); - void setHue(float); - void setHueDegrees(float); - void setLuminance(float); - TodoReturn setupDefaultSettings(); - TodoReturn updateColorMatrix(); - TodoReturn updateHue(float); - - virtual void draw() = win 0x29380; - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool) = win 0x28f80; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*) = win 0x29050; - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); - virtual void updateColor(); -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - // virtual ~CCTextInputNode(); - CCTextInputNode() { - m_numberInput = false; - m_caption = ""; - m_unknown1 = 0; - m_selected = false; - m_unknown2 = false; - m_fontValue1 = -0.5f; - m_fontValue2 = 8.0f; - m_isChatFont = false; - m_allowedChars = ""; - m_maxLabelWidth = 0.0f; - m_maxLabelScale = 0.0f; - m_placeholderScale = 0.0f; - m_placeholderColor = cocos2d::ccc3(0, 0, 0); - m_textColor = cocos2d::ccc3(0, 0, 0); - m_cursor = nullptr; - m_textField = nullptr; - m_delegate = nullptr; - m_maxLabelLength = 0; - m_placeholderLabel = nullptr; - m_filterSwearWords = false; - m_usePasswordChar = false; - m_forceOffset = false; - m_textArea = nullptr; - } - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*) = win 0x2e440; - - static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - void setMaxLabelScale(float v) { - m_maxLabelScale = v; - this->refreshLabel(); - } - void setMaxLabelWidth(float v) { - m_maxLabelWidth = v; - this->refreshLabel(); - } - void setMaxLabelLength(int v) { - m_maxLabelLength = v; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float v) { - m_placeholderScale = v; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - void setAllowedChars(gd::string filter) { - m_allowedChars = filter; - } - cocos2d::CCLabelBMFont* getPlaceholderLabel() { - return m_placeholderLabel; - } - - void addTextArea(TextArea*) = win 0x2e6d0; - TodoReturn forceOffset(); - gd::string getString() { - return m_textField->getString(); - } - bool init(float, float, char const*, char const*, int, char const*) = win 0x2e500; - void refreshLabel() = win 0x2ede0; - void setLabelNormalColor(cocos2d::ccColor3B color) { - m_textColor = color; - this->refreshLabel(); - } - void setString(gd::string) = win 0x2e9a0; - void updateBlinkLabel(); - void updateBlinkLabelToChar(int); - void updateCursorPosition(cocos2d::CCPoint, cocos2d::CCRect) = win 0x2ff50; - void updateDefaultFontValues(gd::string) = win 0x2e7a0; - void updateLabel(gd::string) = win 0x2eac0; - - virtual void visit() = win 0x2e930; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x304f0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher() = win 0x306d0; - virtual void textChanged() = win 0x2f630; - virtual void onClickTrackNode(bool) = win 0x2f600; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&) = win 0x2f4d0; - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&) = win 0x2f5a0; - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF* pSender, char const* text, int nLen, cocos2d::enumKeyCodes keyCodes) = win 0x2f6b0; - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF* tField) = win 0x2fa30; - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF* tField) = win 0x2fd50; - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - float m_fontValue1; - float m_fontValue2; - bool m_isChatFont; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_filterSwearWords; - bool m_usePasswordChar; - bool m_forceOffset; - TextArea* m_textArea; - PAD = android32 0xc, android64 0x10; -} - -[[link(android)]] -class CCURLObject : cocos2d::CCObject { - // virtual ~CCURLObject(); - - static CCURLObject* create(gd::string, gd::string); - - bool init(gd::string, gd::string); -} - -[[link(android), depends(ChallengesPage), depends(GJChallengeItem)]] -class ChallengeNode : cocos2d::CCNode { - // virtual ~ChallengeNode(); - - static ChallengeNode* create(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew) = win 0x5da50; - - bool init(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew) = win 0x5db30; - void onClaimReward(cocos2d::CCObject* sender); - void updateTimeLabel(gd::string); - - ChallengesPage* m_challengesPage; - GJChallengeItem* m_challengeItem; - cocos2d::CCPoint m_unkPoint; - cocos2d::CCLabelBMFont* m_countdownLabel; - bool m_unloaded; -} - -[[link(android)]] -class ChallengesPage : FLAlertLayer, FLAlertLayerProtocol, GJChallengeDelegate, CurrencyRewardDelegate { - // virtual ~ChallengesPage(); - - static ChallengesPage* create() = win 0x5c4c0; - - TodoReturn claimItem(ChallengeNode*, GJChallengeItem*, cocos2d::CCPoint); - ChallengeNode* createChallengeNode(int number, bool skipAnimation, float animLength, bool isNew) = win 0x5d190; - TodoReturn exitNodeAtSlot(int, float); - void onClose(cocos2d::CCObject* sender) = win 0x5d830; - TodoReturn tryGetChallenges(); - TodoReturn updateDots(); - callback void updateTimers(float) = win 0x5d450; - - virtual bool init() = win 0x5c560; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x5d860; - virtual void show() = win 0x5D6D0; - - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - - virtual TodoReturn challengeStatusFinished() = win 0x5cf40; - virtual TodoReturn challengeStatusFailed() = win 0x5d0d0; - virtual void currencyWillExit(CurrencyRewardLayer*) = win 0x5da30; - - cocos2d::CCArray* m_dots; - cocos2d::CCLabelBMFont* m_countdownLabel; - LoadingCircle* m_circle; - bool m_triedToLoad; - bool m_unkBool; - CurrencyRewardLayer* m_currencyRewardLayer; - cocos2d::CCDictionary* m_challengeNodes; -} - -[[link(android)]] -class ChanceTriggerGameObject : EffectGameObject { - // virtual ~ChanceTriggerGameObject(); - - TodoReturn editChanceObject(int, int); - bool init(char const*); - TodoReturn remapChanceObjects(gd::unordered_map const*); - TodoReturn revertChanceRemap(); -} - -[[link(android)]] -class CharacterColorDelegate { - virtual void playerColorChanged(); - virtual void showUnlockPopup(int, UnlockType); -} - -[[link(android)]] -class CharacterColorPage : FLAlertLayer { - // virtual ~CharacterColorPage(); - - static CharacterColorPage* create() = win 0x5e9b0; - - int activeColorForMode(int mode) = win 0x5fa50; - TodoReturn checkColor(int, UnlockType); - int colorForIndex(int) = win 0x60120; - void createColorMenu() = win 0x5f630; - void FLAlert_Clicked(FLAlertLayer*, bool); - cocos2d::CCPoint offsetForIndex(int) = win 0x605f0; - void onClose(cocos2d::CCObject* sender) = win 0x608A0; - void onMode(cocos2d::CCObject* sender) = win 0x5fab0; - void onPlayerColor(cocos2d::CCObject* sender) = win 0x60000; - void toggleGlow(cocos2d::CCObject*) = win 0x5f600; - TodoReturn toggleGlowItems(bool); - void toggleShip(cocos2d::CCObject*) = win 0x5f560; - void updateColorMode(int) = win 0x5fc60; - void updateIconColors() = win 0x60700; - - virtual bool init() = win 0x5ea50; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x608d0; - virtual void show(); - - int m_colorMode; - float m_height; - float m_width; - cocos2d::CCArray* m_playerObjects; - cocos2d::CCArray* m_modeButtons; - cocos2d::CCDictionary* m_colorButtons; - cocos2d::CCArray* m_cursors; - GJGarageLayer* m_garageLayer; - CCMenuItemToggler* m_glowToggler; - cocos2d::CCLabelBMFont* m_glowLabel; -} - -[[link(android)]] -class CheckpointGameObject : EffectGameObject { - // virtual ~CheckpointGameObject(); - - static CheckpointGameObject* create() = win 0x3af510; - - TodoReturn resetCheckpoint(); - TodoReturn updateCheckpointSpriteVisibility(); - - virtual bool init() = win 0x3af5e0; - virtual void setupCustomSprites(gd::string) = win 0x3af940; - virtual void resetObject() = win 0x3b05c0; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3af610; - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x3b04a0; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x3b01f0; - virtual void triggerActivated(float) = win 0x3af630; - virtual TodoReturn restoreObject() = win 0x3b0600; - virtual TodoReturn updateSyncedAnimation(float, int) = win 0x3afc50; -} - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - // virtual ~CheckpointObject(); - // CheckpointObject() = win 0x2db9f0; - - static CheckpointObject* create() = win 0x2eb9a0; - - TodoReturn getObject(); - void setObject(GameObject*); - - virtual bool init() = win 0x52e00; -} - -[[link(android)]] -class CollisionBlockPopup : FLAlertLayer, TextInputDelegate { - // virtual ~CollisionBlockPopup(); - - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x60ab0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x60b60; - void onClose(cocos2d::CCObject* sender); - void onDynamicBlock(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onNextItemID(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = win 0x61900; - virtual void show(); - virtual void textInputClosed(CCTextInputNode*) = win 0x61660; - virtual void textChanged(CCTextInputNode*) = win 0x61670; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class ColorAction : cocos2d::CCObject { - // virtual ~ColorAction(); - - static ColorAction* create(); - static ColorAction* create(cocos2d::ccColor3B, bool, int); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getCopy(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - bool isInUse() = win 0x1d8fa0; - void loadFromState(CAState&) = win 0x1d9090; - TodoReturn resetAction(); - void saveToState(CAState&) = win 0x1d8ff0; - TodoReturn setupFromMap(gd::map&) = win 0x1d9a30; - void setupFromString(gd::string) = win 0x1d9950; - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - // TodoReturn writeSaveString(fmt::BasicWriter&); - - bool m_stepFinished; - // property 19 - bool m_property19; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_fromOpacity; - float m_toOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - bool m_unknown; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - // more stuff -} - -[[link(android)]] -class ColorAction2 { - ColorAction2(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - - TodoReturn resetAction(); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - // virtual ~ColorActionSprite(); - - static ColorActionSprite* create() = win 0x1d8bf0; - - virtual bool init() = win 0x1d8cb0; -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - // virtual ~ColorChannelSprite(); - - static ColorChannelSprite* create() = win 0x1d85c0; - - TodoReturn updateBlending(bool) = win 0x1d8990; - TodoReturn updateCopyLabel(int, bool) = win 0x1d86c0; - void updateOpacity(float) = win 0x1d8840; - TodoReturn updateValues(ColorAction*) = win 0x1d8a80; - - virtual bool init() = win 0x1d86a0; -} - -[[link(android)]] -class ColorSelectDelegate { - virtual void colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - // virtual ~ColorSelectLiveOverlay(); - - static ColorSelectLiveOverlay* create(ColorAction*, ColorAction*, EffectGameObject*) = win 0x61b20; - - void closeColorSelect(cocos2d::CCObject*); - void colorValueChanged(cocos2d::ccColor3B); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn createWithActions(ColorAction*, ColorAction*); - TodoReturn createWithObject(EffectGameObject*); - TodoReturn determineStartValues(); - TodoReturn getColorValue(); - bool init(ColorAction*, ColorAction*, EffectGameObject*) = win 0x61bd0; - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn textChanged(CCTextInputNode*); - void textInputClosed(CCTextInputNode*); - TodoReturn toggleControls(bool); - TodoReturn updateColorLabel(); - TodoReturn updateColorValue(); - void updateOpacity(); - - virtual void keyBackClicked() = win 0x62fa0; - virtual void show(); - - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; -} - -[[link(android)]] -class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~ColorSelectPopup(); - - static ColorSelectPopup* create(cocos2d::ccColor3B); - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*) = win 0x63a10; - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - void closeColorSelect(cocos2d::CCObject*) = win 0x66b30; - TodoReturn colorToHex(cocos2d::ccColor3B); - TodoReturn getColorValue(); - TodoReturn hexToColor(gd::string); - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*) = win 0x63ac0; - void onCopy(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onDefault(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateHSVMode(); - TodoReturn updateHSVValue(); - void updateOpacity(); - void updateOpacityLabel(); - TodoReturn updateTextInputLabel(); - - virtual void show() = win 0x675a0; - virtual TodoReturn determineStartValues() = win 0x65c80; - virtual void textChanged(CCTextInputNode*) = win 0x676b0; - virtual void colorValueChanged(cocos2d::ccColor3B) = win 0x66ca0; - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = win 0x67d60; - - PAD = android32 0x40, win 0x40; - ColorAction* m_colorAction; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual void colorSetupClosed(int); -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - void loadFromComment(GJComment*) = win 0x84490; - void onConfirmDelete(cocos2d::CCObject* sender) = win 0x862c0; - TodoReturn onDelete() = win 0x86360; - void onGoToLevel(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender) = win 0x86110; - TodoReturn onUndelete(); - void onUnhide(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x86090; - void updateLabelValues() = win 0x86240; - - virtual bool init() = win 0x84460; - virtual void draw() = win 0x7d5b0; - virtual void likedItem(LikeItemType, int, bool) = win 0x861f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x863d0; - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class CommentUploadDelegate { - virtual void commentUploadFinished(int); - virtual void commentUploadFailed(int, CommentError); - virtual void commentDeleteFailed(int, int) {} -} - -[[link(android)]] -class CommunityCreditNode : cocos2d::CCNode { - // virtual ~CommunityCreditNode(); - - static CommunityCreditNode* create(int, int, int, gd::string) = win 0x68850; - - bool init(int, int, int, gd::string) = win 0x68920; -} - -[[link(android)]] -class CommunityCreditsPage : FLAlertLayer { - // virtual ~CommunityCreditsPage(); - - static CommunityCreditsPage* create() = win 0x68a70; - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init() = win 0x68b10; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x6a770; - virtual void show() = win 0x6a5f0; -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode, TextInputDelegate { - // virtual ~ConfigureHSVWidget(); - - static ConfigureHSVWidget* create(cocos2d::ccHSVValue, bool, bool); - - TodoReturn createTextInputNode(cocos2d::CCPoint, int); - TodoReturn getHSV(GameObject*, cocos2d::CCArray*, int) = win 0x6c320; - bool init(cocos2d::ccHSVValue, bool, bool); - TodoReturn onClose(); - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabels(); - TodoReturn updateSliders(); - - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x6b860; -} - -[[link(android)]] -class ConfigureValuePopup : FLAlertLayer, TextInputDelegate { - // virtual ~ConfigureValuePopup(); - - static ConfigureValuePopup* create(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string) = win 0x6c600; - - bool init(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string) = win 0x6c740; - void onClose(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = win 0x6d110; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x6cfa0; -} - -[[link(android)]] -class ConfigureValuePopupDelegate { - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class CountTriggerAction { - // CountTriggerAction(CountTriggerAction&&); -} - -[[link(android)]] -class CountTriggerGameObject : EffectGameObject { - // virtual ~CountTriggerGameObject(); - - static CountTriggerGameObject* create(char const*) = win 0x3b0640; - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(CustomSongDelegate*, AudioGuidelinesType); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(CustomSongDelegate*, AudioGuidelinesType); - void onClearGuidelines(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual void update(float) = win 0x6ebd0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x6eda0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x6ee20; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher() = win 0x6ee80; - virtual void keyBackClicked() = win 0x6ed10; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x6eeb0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x6ece0; - virtual void onClose(cocos2d::CCObject* sender); - virtual void keyUp(cocos2d::enumKeyCodes) {} - virtual TodoReturn playMusic() = win 0x6e500; - virtual TodoReturn registerTouch() = win 0x6ed30; - virtual void onInfo(cocos2d::CCObject* sender) = win 0x6ebf0; - virtual void onRecord(cocos2d::CCObject* sender) = win 0x6e400; - virtual TodoReturn recordingDidStop() = win 0x6e5f0; -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0xddb80; - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = win 0x258f0; -} - -[[link(android)]] -class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate { - // virtual ~CreateParticlePopup(); - - static CreateParticlePopup* create(gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string) = win 0x3380b0; - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*); - - TodoReturn centerAlignParticle(cocos2d::CCObject*); - TodoReturn createParticleSlider(gjParticleValue, int, bool, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn getPage(int); - TodoReturn getPageButton(int); - TodoReturn getPageContainer(int); - TodoReturn getPageInputNodes(int); - TodoReturn getPageMenu(int); - TodoReturn getPageSliders(int); - bool init(ParticleGameObject*, cocos2d::CCArray*, gd::string) = win 0x338190; - TodoReturn maxSliderValueForType(gjParticleValue); - TodoReturn minSliderValueForType(gjParticleValue); - void onAnimateActiveOnly(cocos2d::CCObject* sender); - void onAnimateOnTrigger(cocos2d::CCObject* sender); - void onCalcEmission(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = win 0x33f5b0; - void onCopySettings(cocos2d::CCObject* sender); - void onDuplicateColor(cocos2d::CCObject* sender); - void onDurationForever(cocos2d::CCObject* sender); - void onDynamicColor(cocos2d::CCObject* sender); - void onDynamicRotation(cocos2d::CCObject* sender); - void onEmitterMode(cocos2d::CCObject* sender); - void onEndRGBVarSync(cocos2d::CCObject* sender); - void onMaxEmission(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOrderSensitive(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPasteSettings(cocos2d::CCObject* sender); - void onPosType(cocos2d::CCObject* sender); - void onQuickStart(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectParticleTexture(cocos2d::CCObject* sender); - void onStartRGBVarSync(cocos2d::CCObject* sender); - void onToggleBlending(cocos2d::CCObject* sender); - void onToggleStartRadiusEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartRotationIsDir(cocos2d::CCObject* sender); - void onToggleStartSizeEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartSpinEqualToEnd(cocos2d::CCObject* sender); - void onUniformColor(cocos2d::CCObject* sender); - TodoReturn particleValueIsInt(gjParticleValue); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn titleForParticleValue(gjParticleValue); - TodoReturn toggleGravityMode(bool); - TodoReturn updateColorSprite(int); - TodoReturn updateInputNodeStringForType(gjParticleValue); - TodoReturn updateParticleValueForType(float, gjParticleValue, cocos2d::CCParticleSystemQuad*); - TodoReturn updateSliderForType(gjParticleValue); - TodoReturn valueForParticleValue(gjParticleValue); - void willClose() = win 0x33f540; - - virtual void update(float) = win 0x33cbb0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x33f6d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x33f7b0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x33fbd0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked() = win 0x33f6c0; - virtual void sliderBegan(Slider*) = win 0x33ef20; - virtual TodoReturn sliderEnded(Slider*) = win 0x33efc0; - virtual void colorSelectClosed(cocos2d::CCNode*) = win 0x33c570; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x33cd20; -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - // virtual ~CreatorLayer(); - - static CreatorLayer* create() = win 0x6f4b0; - static cocos2d::CCScene* scene() = win 0x6f460; - - TodoReturn canPlayOnlineLevels(); - TodoReturn checkQuestsStatus() = win 0x71550; - void onAdventureMap(cocos2d::CCObject* sender) = win 0x70b80; - void onBack(cocos2d::CCObject* sender) = win 0x71720; - void onChallenge(cocos2d::CCObject* sender) = win 0x70dd0; - void onDailyLevel(cocos2d::CCObject* sender) = win 0x70bc0; - void onEventLevel(cocos2d::CCObject* sender) = win 0x70c00; - void onFameLevels(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender) = win 0x70580; - void onGauntlets(cocos2d::CCObject* sender) = win 0x70790; - void onLeaderboards(cocos2d::CCObject* sender) = win 0x70520; - void onMapPacks(cocos2d::CCObject* sender) = win 0x70710; - void onMultiplayer(cocos2d::CCObject* sender) = win 0x707f0; - void onMyLevels(cocos2d::CCObject* sender) = win 0x70350; - void onOnlineLevels(cocos2d::CCObject* sender) = win 0x706a0; - void onOnlyFullVersion(cocos2d::CCObject* sender); - void onPaths(cocos2d::CCObject* sender) = win 0x70600; - void onSavedLevels(cocos2d::CCObject* sender) = win 0x70440; - void onSecretVault(cocos2d::CCObject* sender) = win 0x70e00; - void onTopLists(cocos2d::CCObject* sender) = win 0x70620; - void onTreasureRoom(cocos2d::CCObject* sender) = win 0x71110; - void onWeeklyLevel(cocos2d::CCObject* sender) = win 0x70be0; - - virtual bool init() = win 0x6f550; - virtual void keyBackClicked() = win 0x71800; - virtual void sceneWillResume() = win 0x71790; - virtual void dialogClosed(DialogLayer*) = win 0x71690; -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual void currencyWillExit(CurrencyRewardLayer*) {} -} - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - // virtual ~CurrencyRewardLayer(); - // CurrencyRewardLayer() = win 0x71880; - - static CurrencyRewardLayer* create(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71c40; - - TodoReturn createObjects(CurrencySpriteType, int, cocos2d::CCPoint, float); - TodoReturn createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn createUnlockObject(cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn incrementCount(int); - TodoReturn incrementDiamondsCount(int); - TodoReturn incrementMoonsCount(int); - TodoReturn incrementSpecialCount1(int); - TodoReturn incrementSpecialCount2(int); - TodoReturn incrementStarsCount(int); - bool init(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float) = win 0x71d30; - TodoReturn pulseSprite(cocos2d::CCSprite*); - - virtual void update(float) = win 0x744c0; -} - -[[link(android)]] -class CurrencySprite : CCSpritePlus { - // virtual ~CurrencySprite(); - // CurrencySprite(); - - static CurrencySprite* create(CurrencySpriteType, bool); - - TodoReturn createWithSprite(cocos2d::CCSprite*); - bool init(CurrencySpriteType, bool); - TodoReturn initWithSprite(cocos2d::CCSprite*); - TodoReturn rewardToSpriteType(int); - TodoReturn spriteTypeToStat(CurrencySpriteType); -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate, ColorSelectDelegate, ColorSetupDelegate { - // virtual ~CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*) = win 0x763f0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues() = win 0x78e70; - int getActiveMode(bool) = win 0x79a00; - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - void highlightSelected(ButtonSprite*) = win 0x7a1b0; - bool init(GameObject*, cocos2d::CCArray*) = win 0x764a0; - void onBreakApart(cocos2d::CCObject* sender) = win 0x79e90; - void onBrowse(cocos2d::CCObject* sender) = win 0x78b50; - void onClear(cocos2d::CCObject* sender) = win 0x79e30; - void onClose(cocos2d::CCObject* sender) = win 0x7a2a0; - void onCopy(cocos2d::CCObject* sender) = win 0x78a30; - void onEditColor(cocos2d::CCObject* sender) = win 0x78ce0; - void onHSV(cocos2d::CCObject* sender) = win 0x79210; - void onLiveEdit(cocos2d::CCObject* sender) = win 0x789f0; - void onNextColorChannel(cocos2d::CCObject* sender) = win 0x79490; - void onPaste(cocos2d::CCObject* sender) = win 0x78a50; - void onSelectColor(cocos2d::CCObject* sender) = win 0x79fa0; - void onSelectMode(cocos2d::CCObject* sender) = win 0x79550; - void onSettings(cocos2d::CCObject* sender) = win 0x78b20; - void onUpdateCustomColor(cocos2d::CCObject* sender) = win 0x79af0; - TodoReturn recreateLayer(); - void sliderChanged(cocos2d::CCObject*) = win 0x78930; - void toggleVisible() = win 0x79780; - void updateChannelLabel(int) = win 0x79720; - void updateColorSprite() = win 0x78d40; - void updateCurrentSelection(); - void updateCustomColorLabels() = win 0x79ec0; - void updateHSVButtons() = win 0x79050; - void updateKerningLabel() = win 0x787e0; - void updateSelected(int) = win 0x7a040; - - virtual void keyBackClicked() = win 0x7a330; - virtual void textInputOpened(CCTextInputNode*) = win 0x79bb0; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x79cf0; - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) = win 0x793f0; - virtual void colorSelectClosed(cocos2d::CCNode*) = win 0x78e60; - virtual void colorSetupClosed(int) = win 0x78c30; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_colorButtons; - cocos2d::CCArray* m_colorTabNodes; - cocos2d::CCArray* m_textTabNodes; - cocos2d::CCArray* m_unkArray; - cocos2d::CCArray* m_detailTabNodes; - int m_selectedMode; - int m_customColorChannel; - bool m_unk0x200; - bool m_unk0x201; - bool m_glowDisabled; - CCMenuItemSpriteExtra* m_baseButton; - CCMenuItemSpriteExtra* m_detailButton; - CCMenuItemSpriteExtra* m_textButton; - CCMenuItemSpriteExtra* m_baseColorHSV; - CCMenuItemSpriteExtra* m_detailColorHSV; - cocos2d::CCLabelBMFont* m_titleLabel; - cocos2d::CCLabelBMFont* m_selectedColorLabel; - CCTextInputNode* m_customColorInput; - CCTextInputNode* m_textInput; - int m_kerningAmount; - cocos2d::CCLabelBMFont* m_kerningLabel; - Slider* m_kerningSlider; - ButtonSprite* m_customColorButtonSprite; - CCMenuItemSpriteExtra* m_customColorButton; - CCMenuItemSpriteExtra* m_arrowDown; - CCMenuItemSpriteExtra* m_arrowUp; - cocos2d::extension::CCScale9Sprite* m_customColorInputBG; - ColorChannelSprite* m_colorSprite; - CCMenuItemSpriteExtra* m_colorSpriteButton; - CCMenuItemSpriteExtra* m_liveSelectButton; - bool m_showTextInput; - bool m_customColorSelected; -} - -[[link(android)]] -class CustomizeObjectSettingsPopup : SetupTriggerPopup { - // virtual ~CustomizeObjectSettingsPopup(); - - static CustomizeObjectSettingsPopup* create(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*) = win 0x7a340; - - bool init(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*) = win 0x7a3f0; - - virtual void onClose(cocos2d::CCObject* sender) = win 0x7a710; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x7a670; -} - -[[link(android)]] -class CustomListView : BoomListView { - inline CustomListView() {} - ~CustomListView() {} - - static CustomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = win 0x7ad30; - - static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, nullptr, width, height, 0, type, 0.0f); - } - - TodoReturn getCellHeight(BoomListType); - TodoReturn reloadAll() = win 0x7c300; - - virtual void setupList(float) = win 0x7bbc0; - virtual TableViewCell* getListCell(char const*) = win 0x7ae00; - virtual void loadCell(TableViewCell*, int) = win 0x7b780; - - int m_unknown; -} - -[[link(android)]] -class CustomMusicCell : CustomSongCell { - // virtual ~CustomMusicCell(); - CustomMusicCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x838a0; - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class CustomSFXCell : TableViewCell, CustomSFXDelegate { - // virtual ~CustomSFXCell(); - CustomSFXCell(char const*, float, float); - - void loadFromObject(SFXInfoObject*) = win 0x83670; - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x83760; - - virtual bool init() = win 0x83650; - virtual void draw(); - virtual void sfxObjectSelected(SFXInfoObject*) = win 0x83730; - virtual TodoReturn getActiveSFXID() = win 0x83340; -} - -[[link(android)]] -class CustomSFXDelegate { - virtual void sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*) = win 0x7abe0; -} - -[[link(android)]] -class CustomSFXWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSFXWidget(); - - static CustomSFXWidget* create(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - - TodoReturn deleteSFX() = win 0x8dcf0; - void downloadFailed() = win 0x8eaf0; - TodoReturn hideLoadingArt() = win 0x8e010; - bool init(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool) = win 0x8cf20; - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender) = win 0x8e0f0; - void onPlayback(cocos2d::CCObject* sender) = win 0x8e270; - void onSelect(cocos2d::CCObject* sender); - void showLoadingArt() = win 0x8dec0; - TodoReturn startDownload(); - TodoReturn startMonitorDownload() = win 0x8e1b0; - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - TodoReturn updateSFXInfo() = win 0x8e490; - TodoReturn updateSFXObject(SFXInfoObject*) = win 0x8de40; - TodoReturn verifySFXID(int); - - virtual void downloadSFXFinished(int) = win 0x8eab0; - virtual void downloadSFXFailed(int, GJSongError) = win 0x8eaf0; - virtual void songStateChanged() = win 0x8e480; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x8ebf0; -} - -[[link(android)]] -class CustomSongCell : TableViewCell, CustomSongDelegate { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - void loadFromObject(SongInfoObject*) = win 0x831a0; - void onDelete(cocos2d::CCObject* sender) = win 0x83410; - TodoReturn shouldReload(); - TodoReturn updateBGColor(int) = win 0x833a0; - - virtual bool init(); - virtual void draw(); - virtual TodoReturn songIDChanged(int) = win 0x83310; - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName() = win 0x83360; - virtual TodoReturn getLevelSettings(); - - SongInfoObject* m_songInfoObject; - bool m_unkBool; -} - -[[link(android)]] -class CustomSongDelegate { - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, TextInputDelegate, GJDropDownLayerDelegate, MusicBrowserDelegate { - // virtual ~CustomSongLayer(); - - static CustomSongLayer* create(CustomSongDelegate*) = win 0x8ef70; - - bool init(CustomSongDelegate*) = win 0x8f010; - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onMusicBrowser(cocos2d::CCObject* sender); - void onNewgroundsBrowser(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void showNewgroundsMessage(); - - virtual void keyBackClicked() = win 0x8ffe0; - virtual void show(); - virtual void textChanged(CCTextInputNode*) = win 0x8fdb0; - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*) = win 0x8fd70; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void dropDownLayerWillClose(GJDropDownLayer*) = win 0x8fee0; - virtual void musicBrowserClosed(MusicBrowser*) = win 0x8ff20; -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual void customSongLayerClosed() {} -} - -[[link(android), depends(GJAssetDownloadAction)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject* songInfo, CustomSongDelegate* songDelegate, bool showSongSelect, bool showPlayMusic, bool showDownload, bool isRobtopSong, bool unkBool, bool isMusicLibrary) = win 0x92b60; - - void deleteSong() = win 0x93c60; - void downloadAssetFailed(int, GJAssetType, GJSongError); - void downloadAssetFinished(int, GJAssetType); - void downloadFailed(); - TodoReturn getSongInfoIfUnloaded(); - bool init(SongInfoObject* songInfo, CustomSongDelegate* songDelegate, bool showSongSelect, bool showPlayMusic, bool showDownload, bool isRobtopSong, bool unkBool, bool isMusicLibrary) = win 0x92c20; - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender) = win 0x94510; - void onGetSongInfo(cocos2d::CCObject* sender) = win 0x94450; - void onMore(cocos2d::CCObject* sender) = win 0x93e10; - void onPlayback(cocos2d::CCObject* sender) = win 0x94790; - void onSelect(cocos2d::CCObject* sender) = win 0x94740; - TodoReturn processNextMultiAsset() = win 0x965f0; - void showError(bool) = win 0x96a70; - void startDownload() = win 0x94660; - TodoReturn startMonitorDownload() = win 0x94690; - TodoReturn startMultiAssetDownload() = win 0x96490; - TodoReturn toggleUpdateButton(bool) = win 0x944c0; - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - void updateMultiAssetInfo(bool) = win 0x95a60; - TodoReturn updatePlaybackBtn() = win 0x94970; - TodoReturn updateProgressBar(int); - void updateSongInfo() = win 0x94b80; - void updateSongObject(SongInfoObject*) = win 0x94280; - void updateWithMultiAssets(gd::string, gd::string, int) = win 0x956f0; - TodoReturn verifySongID(int); - - virtual void loadSongInfoFinished(SongInfoObject*) = win 0x96210; - virtual void loadSongInfoFailed(int, GJSongError) = win 0x962d0; - virtual void downloadSongFinished(int) = win 0x96340; - virtual void downloadSongFailed(int, GJSongError) = win 0x963e0; - virtual void downloadSFXFinished(int) = win 0x96450; - virtual void downloadSFXFailed(int, GJSongError) = win 0x96470; - virtual void musicActionFinished(GJMusicAction) = win 0x968b0; - virtual void musicActionFailed(GJMusicAction) = win 0x968e0; - virtual void songStateChanged() = win 0x94b60; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x96ca0; - - SongInfoObject* m_songInfoObject; - cocos2d::CCMenu* m_buttonMenu; - cocos2d::CCLabelBMFont* m_songLabel; - cocos2d::CCLabelBMFont* m_artistLabel; - cocos2d::CCLabelBMFont* m_songIDLabel; - cocos2d::CCLabelBMFont* m_errorLabel; - CCMenuItemSpriteExtra* m_downloadBtn; - CCMenuItemSpriteExtra* m_cancelDownloadBtn; - CCMenuItemSpriteExtra* m_selectSongBtn; - CCMenuItemSpriteExtra* m_getSongInfoBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_moreBtn; - CCMenuItemSpriteExtra* m_deleteBtn; - cocos2d::CCSprite* m_sliderGroove; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_bgSpr; - CustomSongDelegate* m_songDelegate; - bool m_showSelectSongBtn; - bool m_showPlayMusicBtn; - bool m_showDownloadBtn; - bool m_isNotDownloading; - bool m_isRobtopSong; - bool m_isMusicLibrary; - int m_customSongID; - float m_unkFloat; - bool m_unkBool1; - void* m_unkPtr; - bool m_hasLibrarySongs; - bool m_hasSFX; - bool m_unkBool2; - gd::map m_songs; - gd::map m_sfx; - gd::vector m_undownloadedAssets; - int m_unkInt; - InfoAlertButton* m_assetInfoBtn; -} - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - // virtual ~DailyLevelNode(); - - static DailyLevelNode* create(GJGameLevel*, DailyLevelPage*, bool) = win 0x99610; - - bool init(GJGameLevel*, DailyLevelPage*, bool) = win 0x996c0; - void onClaimReward(cocos2d::CCObject* sender) = win 0x9a040; - void onSkipLevel(cocos2d::CCObject* sender); - void showSkipButton() = win 0x99ff0; - void updateTimeLabel(gd::string) = win 0x9a290; - - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x9a260; - - GJGameLevel* m_level; - DailyLevelPage* m_page; - cocos2d::CCLabelBMFont* m_timeLabel; - PAD = win 0x8, android32 0x8; - CCMenuItemSpriteExtra* m_skipButton; - bool m_unkBool; - bool m_needsDownloading; -} - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - // virtual ~DailyLevelPage(); - - static DailyLevelPage* create(GJTimedLevelType) = win 0x97630; - - TodoReturn claimLevelReward(DailyLevelNode*, GJGameLevel*, cocos2d::CCPoint) = win 0x992a0; - TodoReturn createDailyNode(GJGameLevel*, bool, float, bool) = win 0x98a70; - TodoReturn createNodeIfLoaded() = win 0x989c0; - TodoReturn downloadAndCreateNode() = win 0x98960; - TodoReturn exitDailyNode(DailyLevelNode*, float) = win 0x98c40; - TodoReturn getDailyTime() = win 0x98cf0; - TodoReturn getDailyTimeString(int) = win 0x98da0; - bool init(GJTimedLevelType) = win 0x976d0; - void onClose(cocos2d::CCObject* sender); - void onTheSafe(cocos2d::CCObject* sender); - TodoReturn refreshDailyPage(); - TodoReturn skipDailyLevel(DailyLevelNode*, GJGameLevel*); - TodoReturn tryGetDailyStatus() = win 0x98910; - callback void updateTimers(float) = win 0x99120; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x5D6D0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dailyStatusFinished(GJTimedLevelType) = win 0x98550; - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode) = win 0x986f0; - virtual void levelDownloadFinished(GJGameLevel*) = win 0x988a0; - virtual void levelDownloadFailed(int) = win 0x988f0; - - cocos2d::CCLabelBMFont* m_timeLabel; - LoadingCircle* m_timeCircle; - LoadingCircle* m_nodeCircle; - bool m_gettingDailyStatus; - DailyLevelNode* m_dailyNode; - bool m_downloadStarted; - GJTimedLevelType m_type; - int m_downloadLevelID; -} - -[[link(android)]] -class DashRingObject : RingObject { - // virtual ~DashRingObject(); - - static DashRingObject* create(char const*) = win 0x39a540; - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class DemonFilterDelegate { - virtual void demonFilterSelectClosed(int); -} - -[[link(android)]] -class DemonFilterSelectLayer : FLAlertLayer { - // virtual ~DemonFilterSelectLayer(); - - static DemonFilterSelectLayer* create() = win 0x267340; - - void onClose(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual bool init() = win 0x2673e0; - virtual void keyBackClicked() = win 0x267980; -} - -[[link(android)]] -class DialogDelegate { - virtual void dialogClosed(DialogLayer*) {} -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate { - // virtual ~DialogLayer(); - - static DialogLayer* create(DialogObject*, int); - - TodoReturn addToMainScene(); - TodoReturn animateIn(DialogAnimationType) = win 0x9b4c0; - TodoReturn animateInDialog(); - TodoReturn animateInRandomSide() = win 0x9b460; - static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = win 0x9a850; - TodoReturn createWithObjects(cocos2d::CCArray*, int); - TodoReturn displayDialogObject(DialogObject*); - TodoReturn displayNextObject(); - TodoReturn finishCurrentAnimation(); - TodoReturn handleDialogTap(); - bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x9a900; - TodoReturn onClose(); - TodoReturn updateChatPlacement(DialogChatPlacement); - TodoReturn updateNavButtonFrame(); - - virtual void onEnter(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x9b390; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x9b3c0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x9b3e0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x9b320; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x9b700; - virtual TodoReturn fadeInTextFinished(TextArea*) = win 0x9b400; -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - // virtual ~DialogObject(); - - static DialogObject* create(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a580; - - bool init(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B) = win 0x9a6c0; -} - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - // virtual ~DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - void addAudioLineObject(AudioLineGuideGameObject*) = win 0x24ae00; - TodoReturn addToEffects(EffectGameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(EffectGameObject*) = win 0x24adc0; - TodoReturn getPortalMinMax(GameObject*); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - void loadTimeMarkers(gd::string) = win 0x24afa0; - float posForTime(float); - void postUpdate(); - TodoReturn removeAudioLineObject(AudioLineGuideGameObject*) = win 0x24ae60; - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(EffectGameObject*); - TodoReturn sortSpeedObjects(); - float timeForPos(cocos2d::CCPoint, int, int, bool, bool, bool, int); - TodoReturn updateMusicGuideTime(float); - TodoReturn updateTimeMarkers(); - - virtual void update(float) = win 0x24b310; - virtual void draw() = win 0x24b4c0; -} - -[[link(android)]] -class DungeonBarsSprite : cocos2d::CCNode { - // virtual ~DungeonBarsSprite(); - - static DungeonBarsSprite* create(); - - TodoReturn animateOutBars(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class DynamicBitset { - TodoReturn resize(unsigned int) = win 0x2ebf00; -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual void updatePageWithObject(cocos2d::CCObject* p0, cocos2d::CCObject* p1) {} -} - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray* objects, cocos2d::CCPoint size, int unk, bool unkBool, int columns, int rows) = win 0x9b7e0; - - TodoReturn getPage(); - void goToPage(int); - bool init(cocos2d::CCArray* objects, cocos2d::CCPoint size, int unk, bool unkBool, int columns, int rows) = win 0x9b8e0; - void loadFromItems(cocos2d::CCArray*, int, int, bool) = win 0x9b970; - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - void reloadItems(int rowCount, int columnCount) { - if (m_buttonArray) - this->loadFromItems(m_buttonArray, rowCount, columnCount, m_unknown); - } - - cocos2d::CCPoint m_position; - int m_unknown; - bool m_unknownBool; - cocos2d::CCArray* m_buttonArray; - BoomScrollLayer* m_scrollLayer; - cocos2d::CCArray* m_pagesArray; -} - -[[link(android)]] -class EditGameObjectPopup : SetupTriggerPopup { - // virtual ~EditGameObjectPopup(); - - static EditGameObjectPopup* create(EffectGameObject*, cocos2d::CCArray*, bool) = win 0x20f5a0; - - bool init(EffectGameObject*, cocos2d::CCArray*, bool) = win 0x20f650; -} - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - // virtual ~EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*) = win 0x9c840; - - TodoReturn closeTextInputs() = win 0x9e520; - void confirmClone(cocos2d::CCObject*) = win 0x9f560; - void confirmDelete(cocos2d::CCObject*) = win 0x9f0e0; - void confirmMoveToTop(cocos2d::CCObject*) = win 0x9f5e0; - bool init(GJGameLevel*) = win 0x9c8e0; - void onBack(cocos2d::CCObject* sender) = win 0x9f7a0; - void onClone() = win 0x9f440; - void onDelete(); - void onEdit(cocos2d::CCObject* sender) = win 0x9ed00; - void onGuidelines(cocos2d::CCObject* sender) = win 0x9da70; - void onHelp(cocos2d::CCObject* sender) = win 0x9f3c0; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x9db40; - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - void onMoveToTop() = win 0x9f740; - void onPlay(cocos2d::CCObject* sender) = win 0x9ea10; - void onSetFolder(cocos2d::CCObject* sender) = win 0x9f660; - void onShare(cocos2d::CCObject* sender) = win 0x9ee00; - void onTest(cocos2d::CCObject* sender); - void onUpdateDescription(cocos2d::CCObject* sender) = win 0x9ec80; - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn scene(GJGameLevel*); - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName() = win 0x9f8f0; - - virtual void keyBackClicked() = win 0x9fb90; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x9fba0; - virtual void setIDPopupClosed(SetIDPopup*, int) = win 0x9f6c0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x9f160; - virtual void textInputOpened(CCTextInputNode*) = win 0x9e7c0; - virtual void textInputClosed(CCTextInputNode*) = win 0x9e570; - virtual void textChanged(CCTextInputNode*) = win 0x9e900; - virtual void uploadActionFinished(int, int) = win 0x9fc00; - virtual void uploadActionFailed(int, int) = win 0x9fce0; - virtual void onClosePopup(UploadActionPopup*) = win 0x9fbd0; - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_folderLabel; - bool m_unk; - bool m_lowDetailModeTriggered; - GJLevelType m_levelType; -} - -[[link(android)]] -class EditorOptionsLayer : GJOptionsLayer { - // virtual ~EditorOptionsLayer(); - - static EditorOptionsLayer* create() = win 0x207350; - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - - virtual bool init() = win 0x2073f0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x207cc0; - virtual void setupOptions() = win 0x207420; -} - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - // virtual ~EditorPauseLayer(); - // EditorPauseLayer() = win 0x9fd40; - - static EditorPauseLayer* create(LevelEditorLayer*) = win 0x9ff80; - - TodoReturn doResetUnused() = win 0x242150; - bool init(LevelEditorLayer*) = win 0xa0020; - void onAlignX(cocos2d::CCObject* sender); - void onAlignY(cocos2d::CCObject* sender); - void onBuildHelper(cocos2d::CCObject* sender); - void onCopyWColor(cocos2d::CCObject* sender); - void onCreateExtras(cocos2d::CCObject* sender); - void onCreateLoop(cocos2d::CCObject* sender) = win 0xa2040; - void onCreateTemplate(cocos2d::CCObject* sender); - void onExitEditor(cocos2d::CCObject* sender) = win 0xa2ef0; - void onExitNoSave(cocos2d::CCObject* sender) = win 0xa2f50; - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNewGroupX(cocos2d::CCObject* sender); - void onNewGroupY(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onPasteWColor(cocos2d::CCObject* sender); - void onReGroup(cocos2d::CCObject* sender); - void onResetUnusedColors(cocos2d::CCObject* sender) = win 0xa1f30; - void onResume(cocos2d::CCObject* sender) = win 0xa2640; - void onSave(cocos2d::CCObject* sender) = win 0xa2e40; - void onSaveAndExit(cocos2d::CCObject* sender) = win 0xa2eb0; - void onSaveAndPlay(cocos2d::CCObject* sender) = win 0xa2c90; - void onSelectAll(cocos2d::CCObject* sender) = win 0xa20e0; - void onSelectAllLeft(cocos2d::CCObject* sender) = win 0xa2100; - void onSelectAllRight(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender) = win 0xa25a0; - void onUnlockAllLayers(cocos2d::CCObject* sender); - TodoReturn playStep2() = win 0xa2cf0; - TodoReturn playStep3() = win 0xa2dc0; - void saveLevel() = win 0xa26c0; - TodoReturn toggleDebugDraw(cocos2d::CCObject*); - TodoReturn toggleEditorBackground(cocos2d::CCObject*); - TodoReturn toggleEditorColorMode(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*); - TodoReturn toggleEditorGround(cocos2d::CCObject*); - TodoReturn toggleEffectDuration(cocos2d::CCObject*); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleHideInvisible(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn togglePreviewAnim(cocos2d::CCObject*); - TodoReturn togglePreviewParticles(cocos2d::CCObject*); - TodoReturn togglePreviewShaders(cocos2d::CCObject*); - TodoReturn toggleRecordOrder(cocos2d::CCObject*); - TodoReturn toggleSelectFilter(cocos2d::CCObject*); - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*) = win 0xa1e70; - TodoReturn updateSongButton() = win 0xa25d0; - - virtual void keyBackClicked() = win 0xa3070; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0xa3080; - virtual void customSetup() = win 0xa0730; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0xa2fc0; - - bool m_saved; - CCMenuItemSpriteExtra* m_guidelinesOffButton; - CCMenuItemSpriteExtra* m_guidelinesOnButton; - LevelEditorLayer* m_editorLayer; -} - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, GJTransformControlDelegate, MusicDownloadDelegate, SetIDPopupDelegate { - // virtual ~EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*) = win 0xd83d0; - TodoReturn activateScaleControl(cocos2d::CCObject*) = win 0xcc130; - TodoReturn activateTransformControl(cocos2d::CCObject*); - TodoReturn addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn alignObjects(cocos2d::CCArray*, bool); - TodoReturn applyOffset(GameObject*) = win 0xd7d70; - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn arrayContainsClass(cocos2d::CCArray*, int); - TodoReturn assignNewGroups(bool); - TodoReturn canAllowMultiActivate(GameObject*, cocos2d::CCArray*); - TodoReturn canSelectObject(GameObject*) = win 0xc89c0; - TodoReturn centerCameraOnObject(GameObject*) = win 0xaa950; - TodoReturn changeSelectedObjects(cocos2d::CCArray*, bool); - TodoReturn checkDiffAfterTransformAnchor(cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn checkLiveColorSelect() = win 0xc8b70; - TodoReturn clickOnPosition(cocos2d::CCPoint) = win 0xa6870; - TodoReturn closeLiveColorSelect() = win 0xd4550; - TodoReturn closeLiveHSVSelect() = win 0xd46d0; - void colorSelectClosed(cocos2d::ccColor3B); - void constrainGameLayerPosition() = win 0xd7df0; - void constrainGameLayerPosition(float, float) = win 0xd7df0; - TodoReturn convertKeyBasedOnNeighbors(int, int, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn convertToBaseKey(int); - TodoReturn copyObjects(cocos2d::CCArray*, bool, bool) = win 0xca970; - TodoReturn copyObjectsDetailed(cocos2d::CCArray*); - cocos2d::CCArray* createCustomItems() = win 0xa8570; - TodoReturn createEdgeForObject(GameObject*, int); - TodoReturn createExtraObject(int, cocos2d::CCPoint, GameObject*, cocos2d::CCArray*, int, int); - TodoReturn createExtras(cocos2d::CCArray*); - TodoReturn createExtrasForObject(int, GameObject*, cocos2d::CCArray*); - TodoReturn createGlow(); - void createLoop() = win 0xd0430; - void createMoveMenu() = win 0xd1be0; - TodoReturn createNewKeyframeAnim() = win 0xd0230; - TodoReturn createObject(int, cocos2d::CCPoint) = win 0xc86a0; - TodoReturn createOutlines(cocos2d::CCArray*); - TodoReturn createPrefab(GJSmartTemplate*, gd::string, int); - TodoReturn createRockBases(cocos2d::CCArray*); - TodoReturn createRockEdges(cocos2d::CCArray*); - TodoReturn createSmartObjectsFromTemplate(GJSmartTemplate*, cocos2d::CCArray*, bool, bool, bool, bool); - TodoReturn createSmartObjectsFromType(int, cocos2d::CCArray*, bool, bool); - TodoReturn createUndoObject(UndoCommand, bool) = win 0xc9320; - TodoReturn createUndoSelectObject(bool) = win 0xc9470; - TodoReturn deactivateRotationControl(); - TodoReturn deactivateScaleControl() = win 0xcc2d0; - TodoReturn deactivateTransformControl() = win 0xcc800; - void deleteObject(GameObject*, bool) = win 0xaa120; - TodoReturn deleteSmartBlocksFromObjects(cocos2d::CCArray*); - TodoReturn deleteTypeFromObjects(int, cocos2d::CCArray*); - void deselectAll() = win 0xc9600; - void deselectObject() = win 0xc94f0; - void deselectObject(GameObject*) = win 0xc9540; - void deselectObjectsColor(); - TodoReturn deselectTargetPortals() = win 0xaa480; - TodoReturn disableButton(CreateMenuItem*); - TodoReturn doCopyObjects(bool) = win 0xcaf10; - TodoReturn doPasteInPlace(bool); - TodoReturn doPasteObjects(bool) = win 0xcb090; - TodoReturn dynamicGroupUpdate(bool); - TodoReturn edgeForObject(int, int); - TodoReturn editButton2Usable() = win 0xd13a0; - TodoReturn editButtonUsable() = win 0xd0cc0; - TodoReturn editColor() = win 0xd4110; - TodoReturn editColorButtonUsable() = win 0xd3d50; - TodoReturn editGroup(cocos2d::CCObject*) = win 0xd4720; - TodoReturn editHSV() = win 0xd45a0; - TodoReturn editObject(cocos2d::CCObject*) = win 0xd2840; - TodoReturn editObject2(cocos2d::CCObject*) = win 0xd36b0; - TodoReturn editObject3(cocos2d::CCObject*); - TodoReturn editObjectSpecial(int) = win 0xd36c0; - TodoReturn editorLayerForArray(cocos2d::CCArray*, bool) = win 0xcbda0; - TodoReturn enableButton(CreateMenuItem*); - TodoReturn findAndSelectObject(int, bool) = win 0xaa870; - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn findTriggerTest(); - TodoReturn flipObjectsX(cocos2d::CCArray*) = win 0xd5c20; - TodoReturn flipObjectsY(cocos2d::CCArray*) = win 0xd5e50; - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - CreateMenuItem* getCreateBtn(int id, int bg) = win 0xC78A0; - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditColorTargets(ColorAction*&, ColorAction*&, EffectGameObject*&); - TodoReturn getGridSnappedPos(cocos2d::CCPoint) = win 0xd8aa0; - TodoReturn getGroupCenter(cocos2d::CCArray*, bool) = win 0xd8140; - TodoReturn getGroupInfo(GameObject*, cocos2d::CCArray*, int&, int&, int&); - TodoReturn getLimitedPosition(cocos2d::CCPoint) = win 0xd4ff0; - TodoReturn getModeBtn(char const*, int); - TodoReturn getNeighbor(int, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getRandomStartKey(int); - TodoReturn getRelativeOffset(GameObject*); - cocos2d::CCArray* getSelectedObjects() = win 0xc92a0; - TodoReturn getSimpleButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getSmartNeighbor(SmartGameObject*, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getSmartObjectKey(int, GJSmartDirection); - TodoReturn getSnapAngle(GameObject*, cocos2d::CCArray*) = win 0x23c490; - CCMenuItemSpriteExtra* getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - CCMenuItemSpriteExtra* getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float) = win 0xa6c00; - CCMenuItemSpriteExtra* getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getTransformState(); - TodoReturn getXMin(int) = win 0xd8010; - bool init(LevelEditorLayer* editorLayer) = win 0xa4260; - bool isLiveColorSelectTrigger(GameObject*); - bool isSpecialSnapObject(int) = win 0xdd6e0; - TodoReturn liveEditColorUsable(); - TodoReturn menuItemFromObjectString(gd::string, int); - cocos2d::CCPoint moveForCommand(EditCommand command) = win 0xd4a20; - TodoReturn moveGamelayer(cocos2d::CCPoint) = win 0xa7070; - void moveObject(GameObject*, cocos2d::CCPoint) = win 0xd4f10; - void moveObjectCall(cocos2d::CCObject*); - void moveObjectCall(EditCommand) = win 0xd4d40; - TodoReturn offsetForKey(int) = win 0xdb460; - TodoReturn onAssignNewGroupID(); - void onColorFilter(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender) = win 0xcaf00; - void onCopyState(cocos2d::CCObject* sender) = win 0xcbcd0; - bool onCreate() = win 0xc7ee0; - void onCreateButton(cocos2d::CCObject* sender) = win 0xc7d50; - TodoReturn onCreateObject(int) = win 0xc7fc0; - void onDelete(cocos2d::CCObject* sender) = win 0xa9b50; - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender) = win 0xaa1a0; - void onDeleteSelectedType(cocos2d::CCObject* sender) = win 0xaa5f0; - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender) = win 0xc95c0; - void onDuplicate(cocos2d::CCObject* sender) = win 0xca7d0; - void onEditColor(cocos2d::CCObject* sender) = win 0xd3eb0; - void onFindObject(cocos2d::CCObject* sender); - void onGoToBaseLayer(cocos2d::CCObject* sender) = win 0xcbec0; - void onGoToLayer(cocos2d::CCObject* sender) = win 0xcbe10; - void onGroupDown(cocos2d::CCObject* sender) = win 0xd47a0; - void onGroupIDFilter(cocos2d::CCObject* sender); - void onGroupSticky(cocos2d::CCObject* sender) = win 0xca5c0; - void onGroupUp(cocos2d::CCObject* sender) = win 0xd4780; - void onLockLayer(cocos2d::CCObject* sender) = win 0xd48f0; - void onNewCustomItem(cocos2d::CCObject* sender) = win 0xa81c0; - void onPaste(cocos2d::CCObject* sender) = win 0xcb080; - void onPasteColor(cocos2d::CCObject* sender) = win 0xcbd50; - void onPasteInPlace(cocos2d::CCObject* sender); - void onPasteState(cocos2d::CCObject* sender) = win 0xcbd00; - void onPause(cocos2d::CCObject* sender) = win 0xa6130; - void onPlayback(cocos2d::CCObject* sender) = win 0xc9d20; - void onPlaytest(cocos2d::CCObject* sender) = win 0xca090; - void onResetSpecialFilter(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender) = win 0xcbee0; - void onSettings(cocos2d::CCObject* sender) = win 0xa60e0; - void onStopPlaytest(cocos2d::CCObject* sender) = win 0xca200; - TodoReturn onTargetIDChange(int); - TodoReturn onToggleGuide(EffectGameObject*); - TodoReturn onToggleSelectedOrder(EffectGameObject*); - void onUngroupSticky(cocos2d::CCObject* sender) = win 0xca600; - void onUpdateDeleteFilter(cocos2d::CCObject* sender) = win 0xaabe0; - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - TodoReturn pasteObjects(gd::string, bool) = win 0xcb240; - TodoReturn playCircleAnim(cocos2d::CCPoint, float, float); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped() = win 0xca240; - TodoReturn positionIsInSnapped(cocos2d::CCPoint) = win 0xc8720; - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn processSelectObjects(cocos2d::CCArray*); - TodoReturn processSmartObjectsFromType(int, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*); - void recreateButtonTabs() = win 0xa8a60; - TodoReturn redoLastAction(cocos2d::CCObject*) = win 0xc9ba0; - void reloadCustomItems() = win 0xa8a10; - TodoReturn removeOffset(GameObject*) = win 0xd7cf0; - TodoReturn replaceGroupID(GameObject*, int, int); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool) = win 0xcbc50; - void resetObjectEditorValues(cocos2d::CCArray*) = win 0xcca80; - TodoReturn resetSelectedObjectsColor() = win 0xd4990; - TodoReturn resetUI() = win 0xa8b10; - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint) = win 0xd6080; - TodoReturn rotationforCommand(EditCommand); - TodoReturn scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType) = win 0xd64b0; - TodoReturn selectAll() = win 0xc9750; - TodoReturn selectAllWithDirection(bool) = win 0xc9890; - TodoReturn selectBuildTab(int) = win 0xcbf00; - void selectObject(GameObject*, bool) = win 0xc8aa0; - void selectObjects(cocos2d::CCArray*, bool) = win 0xc8d40; - void selectObjectsInRect(cocos2d::CCRect); - void setupCreateMenu() = win 0xab240; - void setupDeleteMenu() = win 0xa8cc0; - void setupEditMenu(); - TodoReturn setupTransformControl(); - static bool shouldDeleteObject(GameObject*) = win 0xAA080; - TodoReturn shouldSnap(GameObject*); - void showDeleteConfirmation(); - void showLiveColorSelectForMode(int) = win 0xd4460; - void showLiveColorSelectForModeSpecial(int); - void showMaxBasicError() = win 0xca6c0; - void showMaxCoinError() = win 0xca750; - void showMaxError() = win 0xca640; - void showUI(bool) = win 0xc9c10; - TodoReturn sliderChanged(cocos2d::CCObject*) = win 0xa6cd0; - TodoReturn smartTypeForKey(int); - TodoReturn spriteFromObjectString(gd::string, bool, bool, int, cocos2d::CCArray*, cocos2d::CCArray*, GameObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton() = win 0xd1680; - TodoReturn toggleEnableRotate(cocos2d::CCObject*) = win 0xc8900; - TodoReturn toggleFreeMove(cocos2d::CCObject*) = win 0xc8810; - TodoReturn toggleLockUI(bool); - void toggleMode(cocos2d::CCObject*) = win 0xa8c20; - TodoReturn toggleObjectInfoLabel(); - TodoReturn toggleSnap(cocos2d::CCObject*) = win 0xc8880; - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleStickyControls(bool) = win 0xa6080; - TodoReturn toggleSwipe(cocos2d::CCObject*) = win 0xc87a0; - TodoReturn transformObject(GameObject*, EditCommand, bool) = win 0xd5780; - TodoReturn transformObjectCall(cocos2d::CCObject*) = win 0xd5360; - TodoReturn transformObjectCall(EditCommand) = win 0xd5380; - TodoReturn transformObjects(cocos2d::CCArray*, cocos2d::CCPoint, float, float, float, float, float, float) = win 0xd6e40; - TodoReturn transformObjectsActive() = win 0xd6d20; - TodoReturn transformObjectsReset() = win 0xd6da0; - TodoReturn triggerSwipeMode(); - TodoReturn tryUpdateTimeMarkers(); - TodoReturn undoLastAction(cocos2d::CCObject*) = win 0xc9b40; - void updateButtons() = win 0xa6310; - TodoReturn updateCreateMenu(bool) = win 0xc7d90; - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditButtonColor(int, cocos2d::ccColor3B) = win 0xcc030; - TodoReturn updateEditColorButton(); - TodoReturn updateEditMenu() = win 0xd0c90; - void updateGridNodeSize() = win 0xa6f20; - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDBtn2(); - TodoReturn updateGroupIDLabel() = win 0xd47d0; - TodoReturn updateObjectInfoLabel() = win 0xa70d0; - TodoReturn updatePlaybackBtn() = win 0xc9f80; - TodoReturn updateSlider() = win 0xa6ed0; - TodoReturn updateSpecialUIElements(); - void updateZoom(float) = win 0xca3d0; - float valueFromXPos(float) = win 0xa6e20; - float xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*) = win 0xca2f0; - TodoReturn zoomOut(cocos2d::CCObject*) = win 0xca360; - - virtual void draw() = win 0xd80f0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xd8be0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xd9160; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xd9730; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4c830; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0xcc020; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0xda300; - virtual TodoReturn getUI() = win 0xa3aa0; - virtual void setIDPopupClosed(SetIDPopup*, int) = win 0xaa700; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0xaa650; - virtual TodoReturn updateTransformControl() = win 0xcc870; - virtual TodoReturn transformChangeBegin() = win 0xccc50; - virtual void transformChangeEnded() {} - virtual TodoReturn getTransformNode() = win 0xa3ab0; - virtual TodoReturn transformScaleXChanged(float) = win 0xd6ba0; - virtual TodoReturn transformScaleYChanged(float) = win 0xd6bc0; - virtual TodoReturn transformScaleXYChanged(float, float) = win 0xd6be0; - virtual TodoReturn transformSkewXChanged(float) = win 0xd6c10; - virtual TodoReturn transformSkewYChanged(float) = win 0xd6c30; - virtual TodoReturn transformRotationXChanged(float) = win 0xd6c50; - virtual TodoReturn transformRotationYChanged(float) = win 0xd6c70; - virtual TodoReturn transformRotationChanged(float) = win 0xd6c90; - virtual TodoReturn transformResetRotation() = win 0xd6cc0; - virtual TodoReturn transformRestoreRotation() = win 0xd6cf0; - virtual void songStateChanged() = win 0xca080; - virtual void colorSelectClosed(cocos2d::CCNode*) = win 0xd4930; - virtual void keyUp(cocos2d::enumKeyCodes) = win 0xdb210; - virtual void scrollWheel(float, float) = win 0xdb260; - virtual TodoReturn angleChangeBegin() = win 0xd84d0; - virtual void angleChangeEnded() {} - virtual TodoReturn angleChanged(float) = win 0xd84e0; - virtual TodoReturn updateScaleControl() = win 0xcc380; - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint) = win 0xccc60; - virtual TodoReturn scaleChangeBegin() = win 0xcc4b0; - virtual void scaleChangeEnded() {} - virtual TodoReturn scaleXChanged(float) = win 0xcc4c0; - virtual TodoReturn scaleYChanged(float) = win 0xcc540; - virtual void scaleXYChanged(float, float) = win 0xcc5c0; - - - PAD = win 0x60, android32 0x5c; - - float m_unk1b8; - float m_unk1bc; - PAD = win 0x4, android32 0x4; - EditButtonBar* m_buttonBar; - PAD = win 0x4, android32 0x4; - cocos2d::CCArray* m_unk1cc; - float m_unk1d0; - PAD = win 0x30, android32 0x30; - cocos2d::CCLabelBMFont* m_objectInfoLabel; - GJRotationControl* m_rotationControl; - PAD = win 0xc, android32 0xc; - GJScaleControl* m_scaleControl; - GJTransformControl* m_transformControl; - cocos2d::CCNode* m_unk220; - cocos2d::CCNode* m_unk224; - cocos2d::CCDictionary* m_editButtonDict; // win 0x228 - EditButtonBar* m_createButtonBar; - EditButtonBar* m_editButtonBar; // win 0x230 - Slider* m_positionSlider; - float m_unk238; - float m_unk23c; - float m_unk240; - float m_unk244; - - PAD = win 0x10, android32 0x10; - cocos2d::CCArray* m_unk258; - PAD = win 0x8, android32 0x8; - - cocos2d::CCArray* m_selectedObjects; // win 0x264 - - // most of these are not tested - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - PAD = win 0x4, android32 0x4; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - // CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - ButtonSprite* m_unk31c; - ButtonSprite* m_unk320; - int m_selectedCreateObjectID; - PAD = win 0x8, android32 0x8; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; // win 0x33c - LevelEditorLayer* m_editorLayer; // win 0x340 - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android32 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - cocos2d::CCPoint m_clickAtPosition; - GameObject* m_selectedObject; - void* m_unk530; - void* m_unk538; - void* m_unk540; - int m_selectedTab; - PAD = win 0x2c; - bool m_unk3b4; - - PAD = win 0x8; -} - -[[link(android)]] -class EditTriggersPopup : SetupTriggerPopup { - // virtual ~EditTriggersPopup(); - - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x205550; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x205600; - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EffectGameObject : EnhancedGameObject { - // virtual ~EffectGameObject(); - // EffectGameObject() = win 0x38CFD0; - - static EffectGameObject* create(char const*) = win 0x39c8b0; - - TodoReturn getTargetColorIndex(); - bool init(char const*) = win 0x39c950; - TodoReturn playTriggerEffect() = win 0x39ca70; - TodoReturn resetSpawnTrigger(); - void setTargetID(int); - void setTargetID2(int); - TodoReturn triggerEffectFinished() = win 0x39cca0; - TodoReturn updateInteractiveHover(float); - TodoReturn updateSpecialColor() = win 0x39e750; - TodoReturn updateSpeedModType() = win 0x3a1c10; - - virtual void setOpacity(unsigned char) = win 0x39ccb0; - virtual void firstSetup(); - virtual void customSetup() = win 0x39e950; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x39ccf0; - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x39eb70; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x3a1df0; // = win 0x13f9a0; - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - - cocos2d::ccColor3B m_triggerTargetColor; - // property 10 - float m_duration; - // property 35 - float m_opacity; - PAD = android32 0x4, win 0x4; - // property 51 - int m_targetGroupID; - // property 71 - int m_centerGroupID; - // property 11 - bool m_isTouchTriggered; - // property 62 - bool m_isSpawnTriggered; - // property 369 - bool m_hasCenterEffect; - // property 75 - float m_shakeStrength; - // property 84 - float m_shakeInterval; - // property 14 - bool m_tintGround; - // property 15 - bool m_usesPlayerColor1; - // property 16 - bool m_usesPlayerColor2; - // property 17 - bool m_usesBlending; - // property 28 - float m_moveOffsetX; - // property 29 - float m_moveOffsetY; - // property 30 - EasingType m_easingType; - // property 85 - float m_easingRate; - // property 58 - bool m_lockToPlayerX; - // property 59 - bool m_lockToPlayerY; - // property 141 - bool m_lockToCameraX; - // property 142 - bool m_lockToCameraY; - // property 100 - bool m_useMoveTarget; - // property 101 - MoveTargetType m_moveTargetMode; - // property 143 - float m_moveModX; - // property 144 - float m_moveModY; - // property 393 - bool m_property393; - // property 394 - bool m_isDirectionFollowSnap360; // TODO: pls find a better name for this why rob - // property 395 - int m_targetModCenterID; - // property 396 - float m_directionModeDistance; - // property 397 - bool m_isDynamicMode; - // property 544 - bool m_isSilent; - PAD = android32 0x6, win 0x6; - // property 68 - float m_rotationDegrees; - // property 69 - int m_times360; - // property 70 - bool m_lockObjectRotation; - // property 401 - int m_rotationTargetID; - // property 402 - float m_rotationOffset; - // property 403 - EasingType m_dynamicModeEasing; - // property 72 - float m_followXMod; - // property 73 - float m_followYMod; - // property 90 - float m_followYSpeed; - // property 91 - float m_followYDelay; - // property 92 - int m_followYOffset; - // property 105 - float m_followYMaxSpeed; - // property 45 - float m_fadeInDuration; - // property 46 - float m_holdDuration; - // property 47 - float m_fadeOutDuration; - // property 48 - int m_pulseMode; - // property 52 - int m_pulseTargetType; - // property 49 - cocos2d::ccHSVValue m_hsvValue; - // property 50 - int m_copyColorID; - // property 60 - bool m_copyOpacity; - // property 65 - bool m_pulseMainOnly; - // property 66 - bool m_pulseDetailOnly; - // property 86 - bool m_pulseExclusive; - // property 210 - bool m_property210; - // property 56 - bool m_activateGroup; - // property 81 - bool m_touchHoldMode; - // property 82 - TouchToggleMode m_touchToggleMode; - // property 198 - int m_touchPlayerMode; // TODO: add enum - // property 89 - bool m_isDualMode; - // property 76 - int m_animationID; - PAD = android32 0x8, win 0x8; - // property 87 - bool m_isMultiActivate; - PAD = android32 0x2, win 0x2; - // property 93 - bool m_triggerOnExit; - // property 95 - int m_itemID2; - // property 534 - int m_property534; - PAD = android32 0x4, win 0x4; - // property 80 - int m_itemID; - // property 138 - bool m_targetPlayer1; - // property 200 - bool m_targetPlayer2; - // property 201 - bool m_followCPP; - // property 78 - bool m_subtractCount; - // property 381 - bool m_collectibleIsPickupItem; - // property 382 - bool m_collectibleIsToggleTrigger; - // property 440 - int m_collectibleParticleID; - // property 383 - int m_collectiblePoints; - // property 463 - bool m_hasNoAnimation; - PAD = android32 0x1f, win 0x1f; - // property 148 - float m_gravityValue; - // property 284 - bool m_isSinglePTouch; - PAD = android32 0x3, win 0x3; - // property 371 - float m_zoomValue; - // property 111 - bool m_cameraIsFreeMode; - // property 112 - bool m_cameraEditCameraSettings; - // property 113 - float m_cameraEasingValue; - // property 114 - float m_cameraPaddingValue; - // property 370 - bool m_cameraDisableGridSnap; - // property 118 - bool m_property118; - // property 120 - float m_timeWarpTimeMod; - // property 13 - bool m_showGamemodeBorders; - // property 115 - int m_ordValue; - // property 170 - int m_channelValue; - // property 117 - bool m_isReverse; - PAD = android32 0xb, win 0xb; - // property 12 - int m_secretCoinID; - PAD = android32 0x1c, win 0x1c; - // property 280 - bool m_ignoreGroupParent; - // property 281 - bool m_ignoreLinkedObjects; - PAD = android32 0x1, win 0x1; -} - -[[link(android)]] -class EffectManagerState { - // ~EffectManagerState(); - // EffectManagerState(); -} - -[[link(android)]] -class EndLevelLayer : GJDropDownLayer { - // virtual ~EndLevelLayer(); - // EndLevelLayer() = win 0xe7240; - - static EndLevelLayer* create() = win 0xe7380; - - TodoReturn coinEnterFinished(cocos2d::CCPoint) = win 0xe9720; - TodoReturn coinEnterFinishedO(cocos2d::CCObject*) = win 0xe96f0; - TodoReturn currencyEnterFinished() = win 0xe9cd0; - TodoReturn diamondEnterFinished() = win 0xea0c0; - TodoReturn getCoinString() = win 0xe8a60; - TodoReturn getEndText() = win 0xea370; - void goEdit() = win 0xe9060; - void onEdit(cocos2d::CCObject* sender) = win 0xe8fb0; - void onEveryplay(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender) = win 0xe89f0; - void onMenu(cocos2d::CCObject* sender) = win 0xe8ec0; - void onReplay(cocos2d::CCObject* sender) = win 0xe8dc0; - void playCoinEffect(float) = win 0xe9570; - void playCurrencyEffect(float) = win 0xe99c0; - void playDiamondEffect(float) = win 0xe9db0; - void playEndEffect() = win 0xea1a0; - void playStarEffect(float) = win 0xe9120; - TodoReturn starEnterFinished() = win 0xe9440; - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked() = win 0xe9110; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0xea310; - virtual void customSetup() = win 0xe74f0; - virtual void showLayer(bool) = win 0xe8c20; - virtual void enterAnimFinished() {} - virtual void keyUp(cocos2d::enumKeyCodes) {} - - PlayLayer* m_playLayer; - bool m_unknown1; - bool m_unknown2; - bool m_unknown3; - bool m_unknown4; - bool m_unknown5; - int m_unknown6; - cocos2d::CCArray* m_coinsToAnimate; -} - -[[link(android)]] -class EndPortalObject : GameObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create() = win 0xeb140; - - TodoReturn getSpawnPos() = win 0xeb740; - TodoReturn triggerObject(GJBaseGameLayer*) = win 0xeb6c0; - TodoReturn updateColors(cocos2d::ccColor3B) = win 0xeb5b0; - TodoReturn updateEndPos(bool) = win 0xeb920; - - virtual bool init() = win 0xeb210; - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); -} - -[[link(android)]] -class EndTriggerGameObject : EffectGameObject { - // virtual ~EndTriggerGameObject(); - - static EndTriggerGameObject* create(); - - virtual bool init(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnhancedGameObject : GameObject { - // virtual ~EnhancedGameObject(); - // EnhancedGameObject(); - - static EnhancedGameObject* create(char const*); - - TodoReturn createRotateAction(float, int); - bool init(char const*); - TodoReturn previewAnimateOnTrigger(); - TodoReturn refreshRotateAction(); - TodoReturn resetSyncedAnimation(); - TodoReturn setupAnimationVariables(); - TodoReturn triggerAnimation(); - TodoReturn updateRotateAction(float); - TodoReturn updateState(int); - TodoReturn updateUserCoin() = win 0x1473b0; - TodoReturn waitForAnimationTrigger(); - - virtual void customSetup() = win 0x145af0; - virtual void resetObject() = win 0x145510; - virtual void deactivateObject(bool) = win 0x1474c0; - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x1457b0; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x147520; - virtual void triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn powerOnObject(int); - virtual TodoReturn powerOffObject(); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - PAD = android32 0x25, win 0x2a; - - bool m_hasCustomAnimation; - bool m_hasCustomRotation; - // property 98 - bool m_disableRotation; - PAD = android32 0x3, win 0x3; - - // property 97 - float m_rotationSpeed; - PAD = android32 0xc, win 0xc; - - // property 106 - bool m_animationRandomizedStart; - // property 107 - float m_animationSpeed; - // property 122 - bool m_animationShouldUseSpeed; - // property 123 - bool m_animateOnTrigger; - // property 126 - bool m_disableDelayedLoop; - // property 127 - bool m_disableAnimShine; - // property 462 - int m_singleFrame; - // property 592 - bool m_animationOffset; - PAD = android32 0xf, win 0xf; - - // property 214 - bool m_animateOnlyWhenActive; - // property 444 - bool m_isNoMultiActivate; // used in platformer stuff - // property 99 - bool m_isMultiActivate; - PAD = android32 0x4, win 0x4; -} - -[[link(android)]] -class EnhancedTriggerObject : EffectGameObject { - // virtual ~EnhancedTriggerObject(); - - static EnhancedTriggerObject* create(char const*) = win 0x3a7370; - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectInstance { - // ~EnterEffectInstance(); - // EnterEffectInstance(EnterEffectInstance const&); - // EnterEffectInstance(EnterEffectInstance&&); - EnterEffectInstance(EnterEffectObject*, int, int, int, int, int, int); - - TodoReturn animateValue(int, float, float, float, int, float, int); - TodoReturn getValue(int); - TodoReturn loadTransitions(EnterEffectObject*, float); - TodoReturn loadValuesFromObject(EnterEffectObject*); - void setValue(int, float); - TodoReturn updateTransitions(float, GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectObject : EffectGameObject { - // virtual ~EnterEffectObject(); - - static EnterEffectObject* create(char const*) = win 0x38e9c0; - - bool init(char const*); - TodoReturn resetEnterAnimValues(); - - virtual void customSetup(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EventLinkTrigger : EffectGameObject { - // virtual ~EventLinkTrigger(); - - static EventLinkTrigger* create() = win 0x3adfa0; - - virtual bool init() = win 0x3ae040; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ExplodeItemNode : cocos2d::CCNode { - // virtual ~ExplodeItemNode(); - - static ExplodeItemNode* create(cocos2d::CCRenderTexture*); - - TodoReturn createSprites(int, int, float, float, float, float, float, float, cocos2d::ccColor4F, cocos2d::ccColor4F, bool); - bool init(cocos2d::CCRenderTexture*); - - virtual void update(float); -} - -[[link(android)]] -class ExplodeItemSprite : cocos2d::CCSprite { - // virtual ~ExplodeItemSprite(); - - static ExplodeItemSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ExtendedLayer : cocos2d::CCLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create() = win 0x1f930; - - virtual bool init() = win 0x1f9d0; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x1f9e0; -} - -[[link(android)]] -class FileOperation { - TodoReturn getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class FileSaveManager : GManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual void firstLoad(); -} - -[[link(android)]] -class FindBPMLayer : CreateGuidelinesLayer { - // virtual ~FindBPMLayer(); - - static FindBPMLayer* create(int) = win 0x6eee0; - - TodoReturn calculateBPM(); - bool init(int) = win 0x6ef80; - - virtual void onClose(cocos2d::CCObject* sender) = win 0x6f2f0; - virtual TodoReturn playMusic() = win 0x6f150; - virtual TodoReturn registerTouch() = win 0x6f1e0; - virtual void onInfo(cocos2d::CCObject* sender) {} - virtual void onRecord(cocos2d::CCObject* sender) = win 0x6f0b0; - virtual TodoReturn recordingDidStop() = win 0x6f0f0; -} - -[[link(android)]] -class FindObjectPopup : SetIDPopup { - // virtual ~FindObjectPopup(); - - static FindObjectPopup* create() = win 0x210890; - - void onFindObjectID(cocos2d::CCObject* sender); - - virtual bool init() = win 0x210930; -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - ~FLAlertLayer() { - if (m_forcePrioRegistered) { - cocos2d::CCTouchDispatcher::get()->unregisterForcePrio(this); - } - } - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - m_forcePrioRegistered = false; - } - - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2, float width, bool scroll, float height, float textScale) = win 0x30da0; - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2, float width) = win 0x30cf0; - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2) = win 0x30c40; - - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - TodoReturn incrementForcePrio(); - bool init(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = win 0x30f60; - bool init(int) = win 0x30ea0; - void onBtn1(cocos2d::CCObject* sender) = win 0x31ab0; - void onBtn2(cocos2d::CCObject* sender) = win 0x31af0; - - // virtual void onEnter(); // only exists on armv7... - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31b30; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c80; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31bc0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x31c30; - virtual void registerWithTouchDispatcher() = win 0x31e60; - virtual void keyBackClicked() = win 0x31a10; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x319a0; - virtual void show() = win 0x31cd0; - - cocos2d::CCMenu* m_buttonMenu; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_controlConnected; - bool m_containsBorder; - bool m_noAction; - int m_joystickConnected; - bool m_forcePrioRegistered; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - // virtual ~FMODAudioEngine(); - // FMODAudioEngine() = win 0x32460; - - static FMODAudioEngine* sharedEngine() = win 0x32bf0; - - TodoReturn activateQueuedMusic(int); - TodoReturn channelForChannelID(int); - TodoReturn channelForUniqueID(int); - TodoReturn channelIDForUniqueID(int); - TodoReturn channelLinkSound(int, FMODSound*); - TodoReturn channelStopped(FMOD::Channel*, bool); - TodoReturn channelUnlinkSound(int); - void clearAllAudio() = win 0x338a0; - TodoReturn countActiveEffects(); - TodoReturn countActiveMusic(); - TodoReturn createStream(gd::string) = win 0x3aea0; - TodoReturn disableMetering(); - TodoReturn enableMetering(); - TodoReturn fadeInBackgroundMusic(float); - TodoReturn fadeInMusic(float, int) = win 0x3a740; - TodoReturn fadeOutMusic(float, int); - TodoReturn getActiveMusic(int) = win 0x3a940; - TodoReturn getActiveMusicChannel(int); - float getBackgroundMusicVolume(); - TodoReturn getChannelGroup(int, bool) = win 0x35240; - inline float getEffectsVolume() { - return m_sfxVolume; - } - TodoReturn getFMODStatus(int) = win 0x3b0f0; - float getMeteringValue(); - TodoReturn getMusicChannelID(int); - TodoReturn getMusicLengthMS(int) = win 0x3a570; - TodoReturn getMusicTime(int); - TodoReturn getMusicTimeMS(int); - TodoReturn getNextChannelID(); - TodoReturn getTweenContainer(AudioTargetType); - bool isChannelStopping(int); - bool isEffectLoaded(gd::string); - bool isMusicPlaying(gd::string, int) = win 0x383e0; - bool isMusicPlaying(int); - bool isSoundReady(FMOD::Sound*); - TodoReturn lengthForSound(gd::string); - TodoReturn loadAndPlayMusic(gd::string, unsigned int, int); - TodoReturn loadAudioState(FMODAudioState&) = win 0x34000; - void loadMusic(gd::string, float, float, float, bool, int, int) = win 0x38740; - void loadMusic(gd::string) = win 0x386a0; - TodoReturn pauseAllAudio(); - TodoReturn pauseAllEffects(); - TodoReturn pauseAllMusic() = win 0x38350; - TodoReturn pauseEffect(unsigned int); - TodoReturn pauseMusic(int); - TodoReturn pitchForIdx(int) = win 0x350e0; - void playEffect(gd::string, float, float, float) = win 0x356e0; - void playEffect(gd::string) = win 0x35590; - void playEffectAdvanced(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, bool, int, int, float, int) = win 0x357b0; - TodoReturn playEffectAsync(gd::string) = win 0x35620; - void playMusic(gd::string, bool, float, int) = win 0x385b0; - TodoReturn preloadEffect(gd::string) = win 0x37a10; - TodoReturn preloadEffectAsync(gd::string); - TodoReturn preloadMusic(gd::string, bool, int); - TodoReturn printResult(FMOD_RESULT); - TodoReturn queuedEffectFinishedLoading(gd::string) = win 0x391f0; - TodoReturn queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int) = win 0x4361f0; - TodoReturn queueStartMusic(gd::string, float, float, float, bool, int, int, int, int, int, bool, int, bool); - TodoReturn registerChannel(FMOD::Channel*, int, int) = win 0x36410; - void releaseRemovedSounds() = win 0x3b040; - TodoReturn resumeAllAudio(); - TodoReturn resumeAllEffects(); - TodoReturn resumeAllMusic() = win 0x383a0; - TodoReturn resumeAudio(); - TodoReturn resumeEffect(unsigned int); - TodoReturn resumeMusic(int); - TodoReturn reverbToString(FMODReverbPreset); - TodoReturn saveAudioState(FMODAudioState&) = win 0x33b80; - void setBackgroundMusicVolume(float); - void setChannelPitch(int, AudioTargetType, float) = win 0x378b0; - void setChannelVolume(int, AudioTargetType, float) = win 0x373b0; - void setChannelVolumeMod(int, AudioTargetType, float) = win 0x37630; - void setEffectsVolume(float); - void setMusicTimeMS(unsigned int, bool, int) = win 0x3a3f0; - TodoReturn setup() = win 0x32c70; - TodoReturn setupAudioEngine() = win 0x32f90; - TodoReturn start() = win 0x33830; - TodoReturn startMusic(int, int, int, int, bool, int) = win 0x38b90; - TodoReturn stop(); - void stopAllEffects() = win 0x37f90; - void stopAllMusic() = win 0x38310; - TodoReturn stopAndGetFade(FMOD::Channel*); - TodoReturn stopAndRemoveMusic(int); - TodoReturn stopChannel(FMOD::Channel*, bool, float); - TodoReturn stopChannel(int, AudioTargetType, bool, float); - TodoReturn stopChannel(int); - TodoReturn stopChannelTween(int, AudioTargetType, AudioModType); - TodoReturn stopChannelTweens(int, AudioTargetType); - TodoReturn stopMusic(int); - TodoReturn stopMusicNotInSet(std::unordered_set, std::equal_to, std::allocator >&); - TodoReturn storeEffect(FMOD::Sound*, gd::string) = win 0x37c00; - TodoReturn swapMusicIndex(int, int); - TodoReturn testFunction(int); - TodoReturn triggerQueuedMusic(FMODQueuedMusic) = win 0x39800; - TodoReturn unloadAllEffects() = win 0x38130; - TodoReturn unloadEffect(gd::string); - TodoReturn unregisterChannel(int); - void updateBackgroundFade() = win 0x38230; - TodoReturn updateChannel(int, AudioTargetType, AudioModType, float, float) = win 0x37200; - TodoReturn updateChannelTweens(float) = win 0x34dd0; - void updateMetering() = win 0x34f80; - TodoReturn updateQueuedEffects() = win 0x39120; - void updateQueuedMusic() = win 0x396c0; - TodoReturn updateReverb(FMODReverbPreset, bool) = win 0x33220; - void updateTemporaryEffects() = win 0x39520; - TodoReturn waitUntilSoundReady(FMOD::Sound*); - - virtual void update(float) = win 0x33980; - - PAD = win 0x60, android32 0x50, android64 0xac; - float m_musicVolume; - float m_sfxVolume; - PAD = win 0x1c, android32 0x20, android64 0x20; - FMOD::Channel* m_backgroundMusicChannel; - FMOD::System* m_system; - FMOD::Sound* m_sound; - FMOD::Channel* m_currentSoundChannel; - FMOD::Channel* m_globalChannel; - FMOD::DSP* m_DSP; - FMOD_RESULT m_lastResult; - int m_version; - void* m_extraDriverData; - int m_musicOffset; -} - -[[link(android)]] -class FMODAudioState { - // ~FMODAudioState(); - // FMODAudioState(); -} - -[[link(android)]] -class FMODLevelVisualizer : cocos2d::CCNode { - // virtual ~FMODLevelVisualizer(); - - static FMODLevelVisualizer* create() = win 0x2129f0; - - void updateVisualizer(float, float, float) = win 0x212e70; - - virtual bool init() = win 0x212aa0; -} - -[[link(android)]] -class FollowRewardPage : FLAlertLayer, FLAlertLayerProtocol, GameRateDelegate, RewardedVideoDelegate { - // virtual ~FollowRewardPage(); - - static FollowRewardPage* create() = win 0xed030; - - void onClose(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - - virtual bool init() = win 0xed0d0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0xee9c0; - virtual TodoReturn rewardedVideoFinished() = win 0xee490; - virtual void updateRate() = win 0xee0f0; -} - -[[link(android)]] -class FontObject : cocos2d::CCObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class ForceBlockGameObject : EffectGameObject { - // virtual ~ForceBlockGameObject(); - - static ForceBlockGameObject* create(char const*) = win 0x3b6c50; - - TodoReturn calculateForceToTarget(GameObject*); - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class FRequestProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, FriendRequestDelegate { - // virtual ~FRequestProfilePage(); - - static FRequestProfilePage* create(bool) = win 0xeeee0; - - TodoReturn deleteSelected() = win 0xefb90; - bool init(bool) = win 0xeef90; - bool isCorrect(char const*) = win 0xf0000; - void loadPage(int) = win 0xf00d0; - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void setupCommentsBrowser(cocos2d::CCArray*) = win 0xf0320; - TodoReturn untoggleAll() = win 0xefe50; - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0xefea0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0xefd00; - virtual void onClosePopup(UploadActionPopup*) = win 0xefeb0; - virtual void uploadActionFinished(int, int) = win 0xefef0; - virtual void uploadActionFailed(int, int) = win 0xeffd0; - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*) = win 0xf0490; - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode) = win 0xf04f0; - virtual void setupPageInfo(gd::string, char const*) = win 0xf05a0; - virtual TodoReturn forceReloadRequests(bool) = win 0xf0570; -} - -[[link(android)]] -class FriendRequestDelegate { - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual void setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestPopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~FriendRequestPopup(); - - static FriendRequestPopup* create(GJFriendRequest*) = win 0x20b440; - - void blockUser(); - bool init(GJFriendRequest*) = win 0x20b4e0; - void loadFromGJFriendRequest(GJFriendRequest*); - void onAccept(cocos2d::CCObject* sender); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x20c480; - virtual void uploadActionFinished(int, int) = win 0x20c4e0; - virtual void uploadActionFailed(int, int) = win 0x20c5e0; - virtual void onClosePopup(UploadActionPopup*) = win 0x20c630; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x20c680; -} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - // virtual ~FriendsProfilePage(); - - static FriendsProfilePage* create(UserListType) = win 0xf0960; - - bool init(UserListType) = win 0xf0a10; - void onBlocked(cocos2d::CCObject* sender) = win 0xf15c0; - void onClose(cocos2d::CCObject* sender) = win 0xf1630; - void onUpdate(cocos2d::CCObject* sender) = win 0xf1550; - void setupUsersBrowser(cocos2d::CCArray*, UserListType) = win 0xf1090; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0xf16d0; - virtual void getUserListFinished(cocos2d::CCArray*, UserListType) = win 0xf13a0; - virtual void getUserListFailed(UserListType, GJErrorCode) = win 0xf1480; - virtual void userListChanged(cocos2d::CCArray*, UserListType); - virtual void forceReloadList(UserListType) = win 0xf14f0; -} - -[[link(android)]] -class GameCell : TableViewCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - void loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw() = win 0x1dd40; -} - -[[link(android)]] -class GameEffectsManager : cocos2d::CCNode { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - // virtual ~GameLevelManager(); - - static GameLevelManager* sharedState() = win 0xf3a00; - static GameLevelManager* get() { - return GameLevelManager::sharedState(); - } - - void acceptFriendRequest(int, int) = win 0x10be70; - int accountIDForUserID(int userID); - void addDLToActive(char const*) = win 0xf8c10; - bool areGauntletsLoaded(); - void banUser(int); - void blockUser(int) = win 0x10ca10; - void cleanupDailyLevels() = win 0xf96a0; - bool createAndGetAccountComments(gd::string, int); - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - cocos2d::CCArray* createAndGetLevelLists(gd::string); - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetMapPacks(gd::string) = win 0xf6e60; - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType); - GJGameLevel* createNewLevel() = win 0xf5130; - GJLevelList* createNewLevelList() = win 0xf5ac0; - TodoReturn createPageInfo(int, int, int) = win 0xf8ac0; - GJSmartTemplate* createSmartTemplate(); - void dataLoaded(DS_Dictionary*) = win 0xfa620; - void deleteAccountComment(int, int); - void deleteComment(int, CommentType, int) = win 0x10a920; - void deleteFriendRequests(int, cocos2d::CCArray*, bool) = win 0x10b8c0; - void deleteLevel(GJGameLevel*) = win 0xf58b0; - void deleteLevelComment(int, int); - void deleteLevelList(GJLevelList*) = win 0xf5e00; - void deleteSentFriendRequest(int); - void deleteServerLevel(int) = win 0x102990; - void deleteServerLevelList(int) = win 0xff440; - void deleteSmartTemplate(GJSmartTemplate*); - void deleteUserMessages(GJUserMessage* message, cocos2d::CCArray* messages, bool isSender) = win 0x107880; - void downloadLevel(int, bool) = win 0x100c20; - void downloadUserMessage(int, bool) = win 0x107070; - void encodeDataTo(DS_Dictionary*) = win 0xfa200; - void firstSetup() = win 0x39e930; - void followUser(int) = win 0xf99f0; - GJFriendRequest* friendRequestFromAccountID(int); - void friendRequestWasRemoved(int, bool); - char const* getAccountCommentKey(int, int); - void getAccountComments(int accountID, int page, int total) = win 0x108720; - int getActiveDailyID(GJTimedLevelType); - GJSmartTemplate* getActiveSmartTemplate(); - cocos2d::CCArray* getAllSmartTemplates(); - cocos2d::CCDictionary* getAllUsedSongIDs(); - gd::string getBasePostString() = win 0xfb5b0; - bool getBoolForKey(char const*) = win 0x111d40; - gd::string getCommentKey(int ID, int page, int mode, CommentKeyType keytype) = win 0x1091d0; - cocos2d::CCArray* getCompletedLevels(bool) = win 0xf7790; - int getDailyID(GJTimedLevelType); - double getDailyTimer(GJTimedLevelType); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - char const* getDescKey(int); - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - char const* getDiffKey(int); - bool getDiffVal(int); - gd::string getFolderName(int, bool); - char const* getFriendRequestKey(bool, int); - void getFriendRequests(bool, int, int) = win 0x10ae30; - char const* getGauntletKey(int); - void getGauntletLevels(int) = win 0x100860; - void getGauntlets() = win 0x100100; - void getGauntletsearchKey(int) = win 0x100080; - void getGJChallenges() = win 0x10fd60; - void getGJDailyLevelState(GJTimedLevelType) = win 0x110670; - void getGJRewards(int) = win 0x10f140; - void getGJUserInfo(int) = win 0x106790; - int getHighestLevelOrder() = win 0xf7550; - int getIntForKey(char const*); - void getLeaderboardScores(char const*) = win 0x104c40; - gd::string getLengthStr(bool, bool, bool, bool, bool, bool); - const char *getLenKey(int len); - bool getLenVal(int); - void getLevelComments(int ID, int page, int total, int mode, CommentKeyType keytype) = win 0x108160; - const char* getLevelDownloadKey(int levelID, bool isGauntlet){ - return cocos2d::CCString::createWithFormat("%i_%i", levelID, isGauntlet)->getCString(); - } - const char* getLevelKey(int levelID); - void getLevelLeaderboard(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x1053a0; - char const* getLevelLeaderboardKey(int, LevelLeaderboardType, LevelLeaderboardMode); - char const* getLevelListKey(int); - void getLevelLists(GJSearchObject*) = win 0xff800; - void getLevelSaveData() = win 0xfdd10; - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - char const* getLikeItemKey(LikeItemType, int, bool, int); - GJGameLevel* getLocalLevel(int); - GJGameLevel* getLocalLevelByName(gd::string); - GJLevelList* getAllUsedSongIDs(int); - int getLowestLevelOrder() = win 0xf75a0; - GJGameLevel* getMainLevel(int, bool) = win 0xf4d50; - const char* getMapPackKey(int pack); - void getMapPacks(GJSearchObject*) = win 0xfe120; - char const* getMessageKey(int); - char const* getMessagesKey(bool, int); - void getNews(); - int getNextFreeTemplateID() = win 0xf9e00; - gd::string getNextLevelName(gd::string); - void getOnlineLevels(GJSearchObject*) = win 0xfccb0; - char const* getPageInfo(char const*) = win 0xf89e0; - char const* getPostCommentKey(int); - const char *getRateStarsKey(int key); - char const* getReportKey(int); - GJGameLevel* getSavedDailyLevel(int) = win 0xf7f20; - GJGameLevel* getSavedDailyLevelFromLevelID(int); - GJGameLevel* getSavedGauntlet(int) = win 0x100a40; - GJGameLevel* getSavedGauntletLevel(int) = win 0xf8060; - GJGameLevel* getSavedLevel(GJGameLevel*) = win 0xf7df0; - GJGameLevel* getSavedLevel(int) = win 0xf7e50; - GJLevelList* getSavedLevelList(int); - cocos2d::CCArray* getSavedLevelLists(int) = win 0xf74c0; - cocos2d::CCArray* getSavedLevels(bool, int) = win 0xf7340; - TodoReturn getSavedMapPack(int); - cocos2d::CCScene* getSearchScene(char const*); - int getSplitIntFromKey(char const*, int) = win 0x109250; - TodoReturn getStoredLevelComments(char const*) = win 0x1098a0; - cocos2d::CCArray* getStoredOnlineLevels(char const*) = win 0xf8930; - cocos2d::CCArray* getStoredUserList(UserListType) = win 0x10d820; - GJUserMessage* getStoredUserMessage(int); - GJUserMessage* getStoredUserMessageReply(int); - double getTimeLeft(char const*, float) = win 0xf8fc0; - void getTopArtists(int page, int total) = win 0x105d80; - const char* getTopArtistsKey(int page){ - return cocos2d::CCString::createWithFormat("topArtists_%i", page)->getCString(); - } - char const* getUploadMessageKey(int); - char const* getUserInfoKey(int); - void getUserList(UserListType) = win 0x10d2a0; - void getUserMessages(bool, int, int) = win 0x106ad0; - void getUsers(GJSearchObject*) = win 0x106320; - void gotoLevelPage(GJGameLevel*); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0xf3e90; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool hasDailyStateBeenLoaded(GJTimedLevelType); - bool hasDownloadedLevel(int); - bool hasDownloadedList(int); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - bool hasLikedItem(LikeItemType, int, bool, int) = win 0x10ed90; - bool hasLikedItemFullCheck(LikeItemType, int, int) = win 0x10ed10; - bool hasRatedDemon(int); - bool hasRatedLevelStars(int); - bool hasReportedLevel(int); - void invalidateMessages(bool, bool) = win 0x107ff0; - void invalidateRequests(bool, bool) = win 0x10db50; - void invalidateUserList(UserListType, bool); - bool isDLActive(char const* tag) = win 0xf8b50; - bool isFollowingUser(int) = win 0xf9910; - bool isTimeValid(char const*, float) = win 0xf8e90; - bool isUpdateValid(int); - int itemIDFromLikeKey(char const*); - bool keyHasTimer(char const*); - int levelIDFromCommentKey(char const*) = win 0x109430; - int levelIDFromPostCommentKey(char const*); - int likeFromLikeKey(char const*); - void likeItem(LikeItemType, int, bool, int) = win 0x10e100; - void limitSavedLevels() = win 0xf9210; - void makeTimeStamp(char const*) = win 0xf8d70; - void markItemAsLiked(LikeItemType, int, bool, int) = win 0x10eba0; - void markLevelAsDownloaded(int) = win 0x101b40; - void markLevelAsRatedDemon(int); - void markLevelAsRatedStars(int) = win 0x102590; - void markLevelAsReported(int); - void markListAsDownloaded(int id) { - this->markLevelAsDownloaded(-id); - } - void messageWasRemoved(int, bool); - void onAcceptFriendRequestCompleted(gd::string response, gd::string tag) = win 0x10c080; - void onBanUserCompleted(gd::string response, gd::string tag) = win 0x102db0; - void onBlockUserCompleted(gd::string response, gd::string tag) = win 0x10cc20; - void onDeleteCommentCompleted(gd::string response, gd::string tag) = win 0x10ac70; - void onDeleteFriendRequestCompleted(gd::string response, gd::string tag) = win 0x10bc60; - void onDeleteServerLevelCompleted(gd::string response, gd::string tag) = win 0x102c10; - void onDeleteServerLevelListCompleted(gd::string response, gd::string tag) = win 0xff690; - void onDeleteUserMessagesCompleted(gd::string response, gd::string tag) = win 0x107c80; - void onDownloadLevelCompleted(gd::string response, gd::string tag) = win 0x101090; - void onDownloadUserMessageCompleted(gd::string response, gd::string tag) = win 0x1071e0; - void onGetAccountCommentsCompleted(gd::string response, gd::string tag) = win 0x108890; - void onGetFriendRequestsCompleted(gd::string response, gd::string tag) = win 0x10afb0; - void onGetGauntletsCompleted(gd::string response, gd::string tag) = win 0x100260; - void onGetGJChallengesCompleted(gd::string response, gd::string tag) = win 0x10ffc0; - void onGetGJDailyLevelStateCompleted(gd::string response, gd::string tag) = win 0x110870; - void onGetGJRewardsCompleted(gd::string response, gd::string tag) = win 0x10f6d0; - void onGetGJUserInfoCompleted(gd::string response, gd::string tag) = win 0x1068f0; - void onGetLeaderboardScoresCompleted(gd::string response, gd::string tag) = win 0x105050; - void onGetLevelCommentsCompleted(gd::string response, gd::string tag) = win 0x108440; - void onGetLevelLeaderboardCompleted(gd::string response, gd::string tag) = win 0x105bf0; - void onGetLevelListsCompleted(gd::string response, gd::string tag) = win 0xff9f0; - void onGetLevelSaveDataCompleted(gd::string response, gd::string tag) = win 0xfde50; - void onGetMapPacksCompleted(gd::string response, gd::string tag) = win 0xfe280; - void onGetNewsCompleted(gd::string response, gd::string tag) = win 0x108120; - void onGetOnlineLevelsCompleted(gd::string response, gd::string tag) = win 0xfd470; - void onGetTopArtistsCompleted(gd::string response, gd::string tag) = win 0x105f70; - void onGetUserListCompleted(gd::string response, gd::string tag) = win 0x10d3f0; - void onGetUserMessagesCompleted(gd::string response, gd::string tag) = win 0x106c50; - void onGetUsersCompleted(gd::string response, gd::string tag) = win 0x1064b0; - void onLikeItemCompleted(gd::string response, gd::string tag) = win 0x10e610; - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = win 0xf3d70; - void onRateDemonCompleted(gd::string response, gd::string tag) = win 0x1035a0; - void onRateStarsCompleted(gd::string response, gd::string tag) = win 0x102410; - void onReadFriendRequestCompleted(gd::string response, gd::string tag) = win 0x10c4a0; - void onRemoveFriendCompleted(gd::string response, gd::string tag) = win 0x10c7a0; - void onReportLevelCompleted(gd::string response, gd::string tag) = win 0x111410; - void onRequestUserAccessCompleted(gd::string response, gd::string tag) = win 0x10e9c0; - void onRestoreItemsCompleted(gd::string response, gd::string tag) = win 0x110d90; - void onSetLevelFeaturedCompleted(gd::string response, gd::string tag) = win 0x103a00; - void onSetLevelStarsCompleted(gd::string response, gd::string tag) = win 0x103860; - void onSubmitUserInfoCompleted(gd::string response, gd::string tag); - void onSuggestLevelStarsCompleted(gd::string response, gd::string tag) = win 0x1030d0; - void onUnblockUserCompleted(gd::string response, gd::string tag) = win 0x10d060; - void onUpdateDescriptionCompleted(gd::string response, gd::string tag) = win 0x10ded0; - void onUpdateLevelCompleted(gd::string response, gd::string tag) = win 0x101eb0; - void onUpdateUserScoreCompleted(gd::string response, gd::string tag) = win 0x104a00; - void onUploadCommentCompleted(gd::string response, gd::string tag) = win 0x10a160; - void onUploadFriendRequestCompleted(gd::string response, gd::string tag) = win 0x10b6e0; - void onUploadLevelCompleted(gd::string response, gd::string tag) = win 0xfc3b0; - void onUploadLevelListCompleted(gd::string response, gd::string tag) = win 0xff320; - void onUploadUserMessageCompleted(gd::string response, gd::string tag) = win 0x1076a0; - int pageFromCommentKey(char const*); - void parseRestoreData(gd::string); - void performNetworkTest() = win 0xf3a80; - void ProcessHttpRequest(gd::string endpoint, gd::string params, gd::string tag, GJHttpType httpType) = win 0xf3bf0; - void processOnDownloadLevelCompleted(gd::string, gd::string, bool) = win 0x101160; - void purgeUnusedLevels(); - void rateDemon(int, int, bool) = win 0x103330; - void rateStars(int, int) = win 0x101f90; - void readFriendRequest(int) = win 0x10c2a0; - TodoReturn removeDelimiterChars(gd::string, bool); - void removeDLFromActive(char const*) = win 0xf8cc0; - void removeFriend(int) = win 0x10c590; - void removeLevelDownloadedKeysFromDict(cocos2d::CCDictionary*); - void removeUserFromList(int, UserListType); - void reportLevel(int) = win 0x111310; - void requestUserAccess() = win 0x10e7c0; - void resetAccountComments(int) = win 0x109030; - void resetAllTimers(); - void resetCommentTimersForLevelID(int, CommentKeyType) = win 0x10a6e0; - void resetDailyLevelState(GJTimedLevelType) = win 0x110d30; - void resetGauntlets(); - inline void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetStoredUserList(UserListType); - void resetTimerForKey(char const*) = win 0xf9130; - static cocos2d::CCDictionary* responseToDict(gd::string, bool) = win 0x111fa0; - void restoreItems(); - void saveFetchedLevelLists(cocos2d::CCArray*); - void saveFetchedLevels(cocos2d::CCArray*) = win 0xf69d0; - void saveFetchedMapPacks(cocos2d::CCArray*); - void saveGauntlet(GJMapPack*) = win 0x100b20; - void saveLevel(GJGameLevel*) = win 0xf8130; - void saveLevelList(GJLevelList*); - void saveLocalScore(int, int, int); - void saveMapPack(GJMapPack*); - void setActiveSmartTemplate(GJSmartTemplate*); - void setBoolForKey(bool, char const*); - void setDiffVal(int, bool); - void setFolderName(int, gd::string, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int, bool); - void setLevelStars(int, int, bool); - int specialFromLikeKey(char const*); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void storeDailyLevelState(int, int, GJTimedLevelType) = win 0x110bc0; - void storeFriendRequest(GJFriendRequest*); - void storeSearchResult(cocos2d::CCArray* levels, gd::string pageInfo, char const* searchKey) = win 0xf8810; - void storeUserInfo(GJUserScore*); - void storeUserMessage(GJUserMessage*); - void storeUserMessageReply(int, GJUserMessage*); - void storeUserName(int userID, int accountID, gd::string userName) = win 0xf6140; - void storeUserNames(gd::string usernameString); - void submitUserInfo() = win 0x110f40; - void suggestLevelStars(int, int, int) = win 0x102ec0; - gd::string tryGetUsername(int) = win 0xf6370; - CommentType typeFromCommentKey(char const*); - LikeItemType typeFromLikeKey(char const*); - void unblockUser(int) = win 0x10ce50; - void unfollowUser(int) = win 0xf9b10; - void updateDescription(int, gd::string) = win 0x10dc80; - void updateLevel(GJGameLevel*) = win 0x101d40; - void updateLevelOrders() = win 0xf75f0; - void updateLevelRewards(GJGameLevel*) = win 0xf66c0; - void updateSavedLevelList(GJLevelList*); - void updateUsernames(); - void updateUserScore() = win 0x103ab0; - void uploadAccountComment(gd::string) = win 0x1099d0; - void uploadComment(gd::string, CommentType, int, int) = win 0x109a70; - void uploadFriendRequest(int, gd::string) = win 0x10b440; - void uploadLevel(GJGameLevel*) = win 0xfb760; - void uploadLevelComment(int, gd::string, int) = win 0x109940; - void uploadLevelList(GJLevelList*) = win 0xfeac0; - void uploadUserMessage(int, gd::string, gd::string) = win 0x107370; - int userIDForAccountID(int); - GJUserScore* userInfoForAccountID(int); - gd::string userNameForUserID(int) = win 0xf6290; - void verifyLevelState(GJGameLevel*) = win 0xf6510; - gd::string writeSpecialFilters(GJSearchObject*) = win 0xfca10; - - virtual bool init() = win 0xf4c40; - - PAD = win 0x8, android32 0x18, android64 0x30; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_GLM21; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - int m_eventTimeLeft; - int m_eventID; - int m_eventIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_friendReqAndUserBlocks; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - LevelManagerDelegate* m_levelManagerDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - ListUploadDelegate* m_listUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - LevelListDeleteDelegate* m_levelListDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - void* m_unkDelegate; - UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - OnlineListDelegate* m_onlineListDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4; -} - -[[link(android)]] -class GameLevelOptionsLayer : GJOptionsLayer{ - // virtual ~GameLevelOptionsLayer(); - - static GameLevelOptionsLayer* create(GJGameLevel*) = win 0x213c10; - - bool init(GJGameLevel*) = win 0x213cb0; - - virtual void setupOptions() = win 0x213d20; - virtual void didToggle(int) = win 0x213d70; -} - -[[link(android), depends(UIButtonConfig)]] -class GameManager : GManager { - // virtual ~GameManager(); - // GameManager() = win 0x120770; - - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState() = win 0x121540; - - PlayLayer* getPlayLayer() { - return m_playLayer; - } - - LevelEditorLayer* getEditorLayer() { - return m_levelEditorLayer; - } - - GJBaseGameLayer* getGameLayer() { - return m_gameLayer; - } - - int getPlayerFrame() { - return m_playerFrame; - } - int getPlayerShip() { - return m_playerShip; - } - int getPlayerBall() { - return m_playerBall; - } - int getPlayerBird() { - return m_playerBird; - } - int getPlayerDart() { - return m_playerDart; - } - int getPlayerRobot() { - return m_playerRobot; - } - int getPlayerSpider() { - return m_playerSpider; - } - int getPlayerSwing() { - return m_playerSwing; - } - int getPlayerGlowColor() { - return m_playerGlowColor; - } - int getPlayerStreak() { - return m_playerStreak; - } - int getPlayerShipFire() { - return m_playerShipFire; - } - int getPlayerDeathEffect() { - return m_playerDeathEffect; - } - int getPlayerJetpack() { - return m_playerJetpack; - } - int getPlayerColor() { - return m_playerColor; - } - int getPlayerColor2() { - return m_playerColor2; - } - bool getPlayerGlow() { - return m_playerGlow; - } - void setPlayerFrame(int id) { - m_playerFrame = id; - } - void setPlayerShip(int id) { - m_playerShip = id; - } - void setPlayerBall(int id) { - m_playerBall = id; - } - void setPlayerBird(int id) { - m_playerBird = id; - } - void setPlayerDart(int id) { - m_playerDart = id; - } - void setPlayerRobot(int id) { - m_playerRobot = id; - } - void setPlayerSpider(int id) { - m_playerSpider = id; - } - void setPlayerSwing(int id) { - m_playerSwing = id; - } - void setPlayerColor3(int id) { - m_playerGlowColor = id; - } - void setPlayerStreak(int id) { - m_playerStreak = id; - } - void setPlayerShipStreak(int id) { - m_playerShipFire = id; - } - void setPlayerDeathEffect(int id) { - m_playerDeathEffect = id; - } - void setPlayerJetpack(int id) { - m_playerJetpack = id; - } - void setPlayerColor(int id) { - m_playerColor = id; - } - void setPlayerColor2(int id) { - m_playerColor2 = id; - } - void setPlayerGlow(bool v) { - m_playerGlow = v; - } - bool getGameVariableDefault(const char* key, bool defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->boolValue(); - } - int getIntGameVariableDefault(const char* key, int defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->intValue(); - } - - TodoReturn accountStatusChanged(); - int activeIconForType(IconType) = win 0x1270f0; - TodoReturn addCustomAnimationFrame(int, int, gd::string, gd::string) = win 0x14da60; - TodoReturn addDuplicateLastFrame(int); - TodoReturn addGameAnimation(int, int, float, gd::string, gd::string, int) = win 0x14d8c0; - TodoReturn addIconDelegate(cocos2d::CCObject*, int); - TodoReturn addNewCustomObject(gd::string) = win 0x128ea0; - TodoReturn addToGJLog(cocos2d::CCString*); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground() = win 0x12ded0; - TodoReturn calculateBaseKeyForIcons() = win 0x1278d0; - TodoReturn canShowRewardedVideo(); - TodoReturn checkSteamAchievementUnlock() = win 0x1234f0; - TodoReturn checkUsedIcons() = win 0x1297d0; - TodoReturn claimItemsResponse(gd::string); - TodoReturn clearGJLog(); - cocos2d::ccColor3B colorForIdx(int) = win 0x126090; - TodoReturn colorForPos(int); - TodoReturn colorKey(int, UnlockType) = win 0x122350; - bool completedAchievement(gd::string) = win 0x122b50; - static int countForType(IconType) = win 0x127270; - TodoReturn defaultFrameForAnimation(int); - TodoReturn defaultYOffsetForBG2(int); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave() = win 0x12de10; - TodoReturn dpadConfigToString(UIButtonConfig&); - TodoReturn eventUnlockFeature(char const*); - void fadeInMenuMusic() = win 0x1219f0; - void fadeInMusic(gd::string) = win 0x121a60; - TodoReturn finishedLoadingBGAsync(cocos2d::CCObject*) = win 0x127ed0; - TodoReturn finishedLoadingGAsync(int); - TodoReturn finishedLoadingGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync2(cocos2d::CCObject*); - TodoReturn finishedLoadingIconAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync(int); - TodoReturn finishedLoadingMGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync2(cocos2d::CCObject*); - TodoReturn followTwitch() = win 0x126f20; - TodoReturn followTwitter() = win 0x126e00; - TodoReturn framesForAnimation(int); - TodoReturn frameTimeForAnimation(int); - TodoReturn generateSecretNumber(); - TodoReturn getBGTexture(int); // = win 0x127dc0; actually loadBackground, source: LevelSettingsLayer::selectArtClosed - TodoReturn getFontFile(int); - TodoReturn getFontTexture(int) = win 0x127c30; - bool getGameVariable(char const*) = win 0x128730; - TodoReturn getGTexture(int); - int getIconRequestID() { - return m_iconRequestID++; - } - int getIntGameVariable(char const*) = win 0x128c80; - TodoReturn getMenuMusicFile() = win 0x1216e0; - TodoReturn getMGTexture(int); - TodoReturn getNextUniqueObjectKey() = win 0x128d70; - TodoReturn getNextUsedKey(int, bool) = win 0x128de0; - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn getPracticeMusicFile() = win 0x1217b0; - bool getUGV(char const*) = win 0x128a20; - TodoReturn getUnlockForAchievement(gd::string, int&, UnlockType&) = win 0x122690; - TodoReturn groundHasSecondaryColor(int); - TodoReturn iconAndTypeForKey(int, int&, int&); - TodoReturn iconKey(int, IconType) = win 0x121d30; - UnlockType iconTypeToUnlockType(IconType) = win 0x122090; - bool isColorUnlocked(int, UnlockType) = win 0x122490; - bool isIconLoaded(int, int); - bool isIconUnlocked(int, IconType) = win 0x121f90; - TodoReturn itemPurchased(char const*); - TodoReturn joinDiscord() = win 0x126fb0; - TodoReturn joinReddit() = win 0x127040; - int keyForIcon(int iconIdx, int iconEnum) { - return m_keyStartForIcon->at(iconEnum) + iconIdx - 1; - } - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook() = win 0x126d70; - void loadBackground(int) = win 0x127dc0; - void loadBackgroundAsync(int) = win 0x127e60; - void loadDeathEffect(int) = win 0x127c80; - TodoReturn loadDpadFromString(UIButtonConfig&, gd::string); - TodoReturn loadDPadLayout(int, bool) = win 0x12af80; - TodoReturn loadFont(int) = win 0x127ba0; - void loadGround(int) = win 0x1281f0; - void loadGroundAsync(int); - cocos2d::CCTexture2D* loadIcon(int, int, int) = win 0x127440; - TodoReturn loadIconAsync(int, int, int, cocos2d::CCObject*); - void loadMiddleground(int) = win 0x127f50; - void loadMiddlegroundAsync(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, UnlockType) = win 0x122610; - TodoReturn lockIcon(int, IconType) = win 0x1222d0; - TodoReturn logLoadedIconInfo(); - void openEditorGuide() = win 0x1270d0; - TodoReturn playMenuMusic() = win 0x121890; - TodoReturn playSFXTrigger(SFXTriggerGameObject*) = win 0x121b40; - TodoReturn prepareDPadSettings() = win 0x12b720; - TodoReturn printGJLog(); - TodoReturn queueReloadMenu() = win 0x12e3e0; - TodoReturn rateGame(); - void recountUserStats(gd::string) = win 0x129ce0; - void reloadAll(bool switchingModes, bool toFullscreen, bool borderless, bool unused) = win 0x12e4b0; - void reloadAll(bool switchingModes, bool toFullscreen, bool unused) { - return this->reloadAll(switchingModes, toFullscreen, false, unused); - } - void reloadAllStep2() = win 0x12e540; - void reloadAllStep3() = win 0x12e6a0; - void reloadAllStep4() = win 0x12e740; - void reloadAllStep5() = win 0x12e7b0; - TodoReturn reloadMenu(); - TodoReturn removeCustomObject(int); - TodoReturn removeIconDelegate(int) = win 0x127370; - TodoReturn reorderKey(int, bool); - void reportAchievementWithID(char const*, int, bool) = win 0x1234a0; - TodoReturn reportPercentageForLevel(int, int, bool) = win 0x122d50; - TodoReturn resetAchievement(gd::string); - TodoReturn resetAdTimer(); - TodoReturn resetAllIcons(); - TodoReturn resetCoinUnlocks(); - TodoReturn resetDPadSettings(bool); - TodoReturn resolutionForKey(int) = win 0x12e800; - void returnToLastScene(GJGameLevel*) = win 0x12e110; - TodoReturn rewardedVideoAdFinished(int); - TodoReturn rewardedVideoHidden(); - TodoReturn rewardedVideoHiddenDelayed(); - // partially inlined on windows - void safePopScene() = win 0x12e390; - TodoReturn saveAdTimer(); - TodoReturn saveDPadLayout(int, bool) = win 0x12ac70; - void setGameVariable(char const*, bool) = win 0x1284e0; - void setHasRatingPower(int); - void setIntGameVariable(char const*, int) = win 0x128b80; - void setPlayerUserID(int) = win 0xf3760; - void setUGV(char const*, bool) = win 0x1288d0; - TodoReturn setupGameAnimations() = win 0x14b280; - gd::string sheetNameForIcon(int, int) = win 0x1279a0; - TodoReturn shortenAdTimer(float); - TodoReturn shouldShowInterstitial(int, int, int); - void showInterstitial(); - void showInterstitialForced(); - void showMainMenuAd(); - TodoReturn startUpdate(); - TodoReturn stringForCustomObject(int) = win 0x128f90; - TodoReturn subYouTube() = win 0x126e90; - TodoReturn switchCustomObjects(int, int); - TodoReturn switchScreenMode(bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*) = win 0x128890; - TodoReturn tryCacheAd(); - TodoReturn tryShowInterstitial(int, int, int); - TodoReturn unloadBackground() = win 0x127d40; - void unloadIcon(int, int, int) = win 0x1276b0; - void unloadIcons(int) = win 0x127870; - TodoReturn unlockColor(int, UnlockType) = win 0x122560; - TodoReturn unlockedPremium(); - void unlockIcon(int, IconType) = win 0x122220; - TodoReturn unlockTypeToIconType(int) = win 0x122190; - void updateCustomFPS() = win 0x12ec60; - TodoReturn updateMusic(); - void verifyAchievementUnlocks() = win 0x1235e0; - TodoReturn verifyCoinUnlocks() = win 0x123910; - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual void update(float) = win 0x12de70; - virtual bool init() = win 0x1215c0; - virtual void encodeDataTo(DS_Dictionary*) = win 0x12d480; - virtual void dataLoaded(DS_Dictionary*) = win 0x12b830; - virtual void firstLoad() = win 0x12cb20; - - cocos2d::CCDictionary* m_unkAnimationDict; - cocos2d::CCDictionary* m_unkAnimationDict2; - cocos2d::CCDictionary* m_frameTimeForAnimation; - cocos2d::CCDictionary* m_framesForAnimation; - cocos2d::CCDictionary* m_defaultFrames; - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - bool m_vsyncEnabled; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - bool m_unkBool3; - int m_unkSize4_1; - double m_unkDouble2; - int m_unkSize4_2; - int m_unkSize4_3; - bool m_loaded; - bool m_googlePlaySignedIn; - gd::string m_unknownString; - int m_unkSize4_4; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - GJBaseGameLayer* m_gameLayer; - void* m_unkPtr; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - geode::SeedValueRSV m_playerUserID; - float m_bgVolume; - float m_sfxVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_clickedTwitch; - bool m_clickedDiscord_; - bool m_clickedReddit; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - bool m_searchObjectBool; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerSwing; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerGlowColor; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerShipFire; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueRSV m_playerJetpack; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - IconType m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_unkBool4; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - void* m_unkPtr2; - void* m_unkPtr3; - int m_unkSize4_5; - int m_unkSize4_6; - int m_unkSize4_7; - int m_unkSize4_8; - int m_loadedBgID; - int m_loadedGroundID; - int m_loadedMG; - int m_loadedFont; - int m_loadedDeathEffect; - bool m_loadingBG; - bool m_loadingG; - bool m_loadingG1; - bool m_finishedLoadingG1; - bool m_shouldLoadG1; - bool m_finishedLoadingMG1; - bool m_finishedLoadingMG2; - bool m_unkBool5; - int m_unkSize4_9; - int m_unkSize4_10; - int m_unkSize4_11; - int m_bootups; - bool m_hasRatedGame; - bool m_unkBool6; - bool m_shouldLoadUnlockValueKeeper; - bool m_unkBool7; - bool m_unkBool8; - geode::SeedValueRSV m_hasRP; - bool m_canGetLevelSaveData; - int m_resolution; - int m_texQuality; - bool m_somethingInMenuLayer; - void* m_unkPtr4; - bool m_unkBool9; - int m_unkSize4_12; - int m_unkSize4_13; - bool m_unkBool10; - int m_unkSize4_14; - bool m_disableThumbstick; - float m_customFPSTarget; - bool m_unkBool11; - int m_customMenuSongID; - int m_customPracticeSongID; - gd::map m_loadIcon; - gd::map> m_loadIcon2; - gd::map m_isIconBeingLoaded; - std::array* m_keyStartForIcon; - void* m_somethingKeyForIcon; - void* m_idk; - gd::map> m_iconDelegates; - int m_iconRequestID; - cocos2d::CCArray* m_unkArray; - void* m_someAdPointer; - int m_unkSize4_15; - int m_unkSize4_16; - int m_unkSize4_17; - UIButtonConfig m_dpad1; - UIButtonConfig m_dpad2; - UIButtonConfig m_dpad3; - UIButtonConfig m_dpad4; - UIButtonConfig m_dpad5; - gd::string m_dpadLayout1; - gd::string m_dpadLayout2; - gd::string m_dpadLayout3; - gd::string m_dpadLayoutDual1; - gd::string m_dpadLayoutDual2; - gd::string m_dpadLayoutDual3; - int m_unkSize4_18; - int m_unkSize4_19; - int m_unkSize4_20; - bool m_unkBool12; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - // virtual ~GameObject(); - // GameObject() = win 0xeaac0; - - TodoReturn addColorSprite(gd::string); - TodoReturn addColorSpriteToParent(bool); - TodoReturn addColorSpriteToSelf(); - TodoReturn addCustomBlackChild(gd::string, float, bool); - TodoReturn addCustomChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addCustomColorChild(gd::string); - TodoReturn addEmptyGlow(); - TodoReturn addGlow(gd::string); - TodoReturn addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalCustomColorChild(gd::string, cocos2d::CCPoint, int); - TodoReturn addInternalGlowChild(gd::string, cocos2d::CCPoint); - TodoReturn addNewSlope01(bool); - TodoReturn addNewSlope01Glow(bool); - TodoReturn addNewSlope02(bool); - TodoReturn addNewSlope02Glow(bool); - TodoReturn addRotation(float, float); - TodoReturn addRotation(float); - TodoReturn addToColorGroup(int); - TodoReturn addToCustomScaleX(float); - TodoReturn addToCustomScaleY(float); - TodoReturn addToOpacityGroup(int); - TodoReturn addToTempOffset(double, double); - TodoReturn assignUniqueID(); - TodoReturn belongsToGroup(int); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canChangeMainColor(); - TodoReturn canChangeSecondaryColor(); - TodoReturn canRotateFree(); - TodoReturn colorForMode(int, bool) = win 0x142a50; - TodoReturn commonInteractiveSetup(); - void commonSetup() = win 0x1310c0; - TodoReturn copyGroups(GameObject*) = win 0x13d8f0; - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x13b790; - TodoReturn createColorGroupContainer(int); - TodoReturn createGlow(gd::string); - void createGroupContainer(int) = win 0x13d790; - TodoReturn createOpacityGroupContainer(int); - TodoReturn createSpriteColor(int); - static GameObject* createWithFrame(char const*) = win 0x130fc0; - static GameObject* createWithKey(int) = win 0x130330; - void deselectObject(); // = win 0x141b70; actually updateObjectEditorColor, source: LevelEditorLayer::updateVisibility - inline void destroyObject() { - m_unk34a = true; - m_unk292 = true; - setOpacity(0); - } - TodoReturn determineSlopeDirection() = win 0x13d3c0; - TodoReturn didScaleXChange(); - TodoReturn didScaleYChange(); - TodoReturn dirtifyObjectPos(); - TodoReturn dirtifyObjectRect(); - TodoReturn disableObject(); - TodoReturn dontCountTowardsLimit(); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn duplicateColorMode(GameObject*) = win 0x1424c0; - void duplicateValues(GameObject*) = win 0x1426f0; - TodoReturn editorColorForCustomMode(int); - TodoReturn editorColorForMode(int); - TodoReturn fastRotateObject(float); - TodoReturn getActiveColorForMode(int, bool) = win 0x142d30; - TodoReturn getBallFrame(int); //inlined on windows - TodoReturn getBoundingRect(); - TodoReturn getBoxOffset(); - TodoReturn getColorFrame(gd::string) = win 0x132f00; - TodoReturn getColorIndex(); - TodoReturn getColorKey(bool, bool) = win 0x13df90; - TodoReturn getCustomZLayer(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getGroupDisabled(); - TodoReturn getGroupID(int); - TodoReturn getGroupString(); - TodoReturn getLastPosition(); - TodoReturn getMainColor(); - TodoReturn getMainColorMode(); - TodoReturn getObjectDirection() = win 0x13D620; - TodoReturn getObjectRadius(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectRectPointer(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - TodoReturn getOrientedRectDirty(); - TodoReturn getOuterObjectRect(); - TodoReturn getParentMode() = win 0x13ca30; - TodoReturn getRelativeSpriteColor(int) = win 0x142320; - TodoReturn getScalePosDelta(); - TodoReturn getSecondaryColor(); - TodoReturn getSecondaryColorMode(); - TodoReturn getSlopeAngle(); - TodoReturn getStartPos(); - TodoReturn getType(); - TodoReturn getUnmodifiedPosition(); - TodoReturn groupColor(cocos2d::ccColor3B const&, bool); - TodoReturn groupOpacityMod() = win 0x13dd70; - TodoReturn groupWasDisabled(); - TodoReturn groupWasEnabled(); - TodoReturn hasSecondaryColor(); - bool ignoreEditorDuration() = win 0x143d60; - TodoReturn ignoreEnter(); - TodoReturn ignoreFade(); - bool init(char const*); - bool isBasicEnterEffect(int); - bool isBasicTrigger(); - bool isColorObject(); - bool isColorTrigger(); - bool isConfigurablePortal(); - bool isEditorSpawnableTrigger() = win 0x1431d0; - bool isFacingDown() = win 0x142180; - bool isFacingLeft() = win 0x142220; - bool isSettingsObject(); - bool isSpawnableTrigger() = win 0x1434e0; - bool isSpecialObject(); - bool isSpeedObject() = win 0x143970; - bool isStoppableTrigger() = win 0x143800; - bool isTrigger() = win 0x142ea0; - void loadGroupsFromString(gd::string) = win 0x13dc20; - TodoReturn makeInvisible(); - static GameObject* objectFromVector(gd::vector&, gd::vector&, GJBaseGameLayer*, bool) = win 0x13e420; - TodoReturn opacityModForMode(int, bool); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn perspectiveFrame(char const*, int); - void playDestroyObjectAnim(GJBaseGameLayer*) = win 0x14a660; - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float, float, float, float, float, bool, float, float); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float); - void playShineEffect() = win 0x13bf40; - TodoReturn quickUpdatePosition(); - TodoReturn quickUpdatePosition2(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetColorGroups(); - TodoReturn resetGroupDisabled(); - TodoReturn resetGroups(); - TodoReturn resetMainColorMode(); - TodoReturn resetMID(); - TodoReturn resetMoveOffset(); - TodoReturn resetRScaleForced(); - TodoReturn resetSecondaryColorMode(); - void setAreaOpacity(float, float, int); - void setCustomZLayer(int); - void setDefaultMainColorMode(int); - void setDefaultSecondaryColorMode(int); - void setGlowOpacity(unsigned char); - void setLastPosition(cocos2d::CCPoint const&); - void setMainColorMode(int); - void setSecondaryColorMode(int); - TodoReturn setupColorSprite(int, bool); - TodoReturn setupPixelScale(); - TodoReturn setupSpriteSize(); - TodoReturn shouldBlendColor(GJSpriteColor*, bool) = win 0x133880; - TodoReturn shouldLockX() = win 0x139d10; - TodoReturn shouldNotHideAnimFreeze(); - TodoReturn shouldShowPickupEffects(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn spawnDefaultPickupParticle(GJBaseGameLayer*); - TodoReturn updateBlendMode() = win 0x13cf30; - TodoReturn updateCustomColorType(short); - void updateCustomScaleX(float) = win 0x13b290; - void updateCustomScaleY(float) = win 0x13b350; - TodoReturn updateHSVState(); - TodoReturn updateIsOriented() = win 0x141fe0; - TodoReturn updateMainColorOnly(); - TodoReturn updateMainOpacity(); - void updateObjectEditorColor() = win 0x141b70; - TodoReturn updateSecondaryColorOnly(); - TodoReturn updateSecondaryOpacity(); - TodoReturn updateStartPos() = win 0x133160; - TodoReturn updateUnmodifiedPositions(); - TodoReturn usesFreezeAnimation(); - TodoReturn usesSpecialAnimation(); - - // MSVC changed virtual table ordering somewhere between what Rob uses - // and now, and now virtual functions that have non virtual overloads - // are added to the first of the vtable regardless of the order - // defined in the header. This is why we simply can not use these - // two functions since defining them would break the vtable layout. - // TodoReturn updateMainColor(); - // TodoReturn updateSecondaryColor(); - - virtual void update(float); - virtual void setScaleX(float) = win 0x13af80; - virtual void setScaleY(float) = win 0x13b010; - virtual void setScale(float) = win 0x13b0a0; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x13aa40; - virtual void setVisible(bool) = win 0x13b890; - virtual void setRotation(float) = win 0x13ac30; - virtual void setRotationX(float) = win 0x13ad30; - virtual void setRotationY(float) = win 0x13ae30; - virtual void setOpacity(unsigned char) = win 0x13b490; - virtual bool initWithTexture(cocos2d::CCTexture2D*) = win 0x131080; - virtual void setChildColor(cocos2d::ccColor3B const&) = win 0x141630; - virtual void setFlipX(bool) = win 0x13af00; - virtual void setFlipY(bool) = win 0x13af40; - virtual void firstSetup(); - virtual void customSetup() = win 0x133940; - virtual void setupCustomSprites(gd::string) = win 0x14DDA0; - virtual TodoReturn addMainSpriteToParent(bool) = win 0x13cf90; - virtual void resetObject(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void activateObject(); - virtual void deactivateObject(bool) = win 0x133790; - virtual TodoReturn transferObjectRect(cocos2d::CCRect&) = win 0x13a500; - virtual cocos2d::CCRect const& getObjectRect() = win 0x13a570; - virtual cocos2d::CCRect getObjectRect(float, float) = win 0x13a570; - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual cocos2d::CCPoint getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x13f9a0; - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual bool isFlipX() = win 0x13aee0; - virtual bool isFlipY() = win 0x13aef0; - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual void setRRotation(float); - virtual void triggerActivated(float); - virtual void setObjectColor(cocos2d::ccColor3B const&) = win 0x141300; - virtual void setGlowColor(cocos2d::ccColor3B const&); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual void selectObject(cocos2d::ccColor3B) = win 0x141690; - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn updateOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual void addToGroup(int) = win 0x13d7f0; - virtual void removeFromGroup(int) = win 0x13d870; - virtual TodoReturn saveActiveColors(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - virtual void setObjectRectDirty(bool); - virtual void setOrientedRectDirty(bool); - virtual void setType(GameObjectType); - - // windows members may be wrong! yay! - - PAD = android32 0x5, win 0x3, android64 0x5; // i will not question the windows pad - - int m_innerSectionIndex; - int m_outerSectionIndex; - int m_middleSectionIndex; - - // property 511 - bool m_hasExtendedCollision; - PAD = android32 0x13, win 0x13, android64 0x13; - - // somehow related to property 155 and 156 if anyone wants to reverse engineer - int m_activeMainColorID; - int m_activeDetailColorID; - - PAD = android32 0x4c, win 0x4c, android64 0x54; - - cocos2d::CCSprite* m_glowSprite; - - PAD = android32 0x8, win 0x4, android64 0x4; - - float m_unk288; - float m_unk28c; - short m_unk290; - bool m_unk292; - PAD = android32 0x5, win 0x5, android64 0x5; - gd::string m_particleString; - - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 146 - bool m_particleUseObjectColor; - PAD = android32 0x3e, win 0x3e, android64 0x3e; - - // property 108 - int m_linkedGroup; - - PAD = android32 0xc, win 0xc, android64 0xc; - - cocos2d::CCSprite* m_colorSprite; - - PAD = android32 0x13, win 0x13, android64 0x13; - - int m_uniqueID; - GameObjectType m_objectType; - - PAD = android32 0x10, win 0x10, android64 0x10; - double m_realXPosition; - double m_realYPosition; - cocos2d::CCPoint m_startPosition; - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 372 - bool m_hasNoAudioScale; - bool m_unk34a; - PAD = android32 0x29, win 0x29, android64 0x29; - - // property 343 - short m_enterChannel; - // property 446 - short m_objectMaterial; - PAD = android32 0x4, win 0x4, android64 0x4; - - // property 96 - bool m_hasNoGlow; - - // property 23 - int m_targetColor; - - // property 1 - int m_objectID; - PAD = android32 0x8, win 0x8, android64 0x8; - - // property 497 - short m_customColorType; - // property 67 - bool m_isDontEnter; - // property 64 - bool m_isDontFade; - // property 116 - bool m_hasNoEffects; - // property 507 - bool m_hasNoParticles; - PAD = android32 0x16, win 0x16, android64 0x16; - - // property 53 - int m_property53; - PAD = android32 0x18, win 0x18, android64 0x18; - - // property 21, also used with 41 and 43 - GJSpriteColor* m_baseColor; - // property 22, also used with 42 and 44 - GJSpriteColor* m_detailColor; - PAD = android32 0xc, win 0xa, android64 0xc; // i will not question the windows pad - - // property 24 - ZLayer m_zLayer; - // property 25 - int m_zOrder; - PAD = android32 0x1, win 0x1, android64 0x1; - - bool m_isSelected; - - PAD = android32 0xe, win 0xe, android64 0xe; - - bool m_shouldUpdateColorSprite; // m_shouldUpdateColorSprite - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 34 - bool m_hasGroupParent; - // property 279 - bool m_hasAreaParent; - // property 128 - float m_scaleX; - // property 129 - float m_scaleY; - - // property 57 - std::array* m_groups; - // used with property 57 - short m_groupCount; - // used with property 274 - bool m_hasGroupParentsString; - - std::array* m_colorGroups; - short m_colorGroupCount; - std::array* m_opacityGroups; - short m_opacityGroupCount; - - // property 20 - short m_editorLayer; - // property 61 - short m_editorLayer2; - PAD = android32 0x8, win 0x8, android64 0x8; - - // property 121 - bool m_isNoTouch; - PAD = android32 0x9, win 0x9, android64 0x9; - - cocos2d::CCPoint m_lastPosition; - - PAD = android32 0x1b, win 0x1b, android64 0x1b; - - // property 103 - bool m_isHighDetail; - PAD = android32 0x11, win 0x11, android64 0x21; - - // property 134 - bool m_isPassable; - // property 135 - bool m_isHide; - // property 136 - bool m_isNonStickX; - // property 289 - bool m_isNonStickY; - // property 137 - bool m_isIceBlock; - // property 193 - bool m_isGripSlope; - // property 356 - bool m_isScaleStick; - // property 495 - bool m_isExtraSticky; - // property 496 - bool m_isDontBoostY; - // property 509 - bool m_isDontBoostX; - PAD = android32 0x11, win 0x11, android64 0x11; - - // property 155 - int m_property155; - // property 156 - int m_property156; - - PAD = android32 0x12, win 0x12, android64 0x12; // TODO: yeah someone pls fix windows pads -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*) = win 0x24a8b0; - - bool init(GameObject*) = win 0x24a960; - void resetObject(); - - GameObject* m_object; -} - -[[link(android)]] -class GameObjectEditorState { - TodoReturn loadValues(GameObject*); -} - -[[link(android)]] -class GameOptionsLayer : GJOptionsLayer { - // virtual ~GameOptionsLayer(); - - static GameOptionsLayer* create(GJBaseGameLayer*) = win 0x213050; - - bool init(GJBaseGameLayer*) = win 0x2130f0; - void onPracticeMusicSync(cocos2d::CCObject* sender) = win 0x213930; - void onUIOptions(cocos2d::CCObject* sender) = win 0x2139A0; - void showPracticeMusicSyncUnlockInfo() = win 0x213620; - - virtual void setupOptions() = win 0x213150; - virtual void didToggle(int) = win 0x2139c0; -} - -[[link(android)]] -class GameOptionsTrigger : EffectGameObject { - // virtual ~GameOptionsTrigger(); - - static GameOptionsTrigger* create(char const*) = win 0x3971d0; - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GameRateDelegate { - virtual void updateRate(); -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - // virtual ~GameStatsManager(); - // GameStatsManager() = win 0x167860; - - static GameStatsManager* sharedState() = win 0x167d90; - - int accountIDForIcon(int, UnlockType) = win 0x15e7c0; - TodoReturn addSimpleSpecialChestReward(gd::string, UnlockType, int, bool) = win 0x179bd0; - void addSpecialRewardDescription(gd::string, gd::string) = win 0x179e00; - TodoReturn addStoreItem(int, int, int, int, ShopType) = win 0x169f40; - TodoReturn areChallengesLoaded(); - TodoReturn areRewardsLoaded(); - void awardCurrencyForLevel(GJGameLevel*) = win 0x172080; - TodoReturn awardDiamondsForLevel(GJGameLevel*) = win 0x1725a0; - TodoReturn awardSecretKey() = win 0x180040; - TodoReturn checkAchievement(char const*) = win 0x16b0b0; - TodoReturn checkCoinAchievement(GJGameLevel*); - void checkCoinsForLevel(GJGameLevel*) = win 0x1713c0; - TodoReturn claimListReward(GJLevelList*); - TodoReturn collectReward(GJRewardType, GJRewardItem*); - TodoReturn collectVideoReward(int); - TodoReturn completedChallenge(GJChallengeItem*); - TodoReturn completedDailyLevel(GJGameLevel*); - void completedDemonLevel(GJGameLevel*) = win 0x1700b0; - TodoReturn completedLevel(GJGameLevel*); - TodoReturn completedMapPack(GJMapPack*); - void completedStarLevel(GJGameLevel*) = win 0x1701a0; - TodoReturn countSecretChests(GJRewardType); - TodoReturn countUnlockedSecretChests(GJRewardType); - TodoReturn createSecretChestItems() = win 0x17a620; - TodoReturn createSecretChestRewards() = win 0x17aab0; - TodoReturn createSpecialChestItems() = win 0x176940; - TodoReturn createStoreItems() = win 0x168680; - void dataLoaded(DS_Dictionary*) = win 0x180820; - void encodeDataTo(DS_Dictionary*) = win 0x180630; - void firstSetup(); - TodoReturn generateItemUnlockableData() = win 0x1680a0; - int getAwardedCurrencyForLevel(GJGameLevel*) = win 0x171eb0; - TodoReturn getAwardedDiamondsForLevel(GJGameLevel*) = win 0x1723f0; - TodoReturn getBaseCurrency(int, bool, int); - int getBaseCurrencyForLevel(GJGameLevel*) = win 0x171d90; - TodoReturn getBaseDiamonds(int); - TodoReturn getBonusDiamonds(int); - GJChallengeItem* getChallenge(int) = win 0x173400; - TodoReturn getChallengeKey(GJChallengeItem*) = win 0x1738f0; - int getCollectedCoinsForLevel(GJGameLevel*) = win 0x16fa70; - TodoReturn getCompletedMapPacks(); - TodoReturn getCurrencyKey(GJGameLevel*) = win 0x171c70; - TodoReturn getDailyLevelKey(int) = win 0x173d60; - TodoReturn getDemonLevelKey(GJGameLevel*) = win 0x16fcb0; - gd::string getGauntletRewardKey(int) = win 0x179d00; - TodoReturn getItemKey(int, int) = win 0x1729f0; - int getItemUnlockState(int, UnlockType) = win 0x176730; - int getItemUnlockStateLite(int, UnlockType); - gd::string getLevelKey(GJGameLevel*) = win 0x16fb10; - gd::string getLevelKey(int, bool, bool, bool) = win 0x16fb80; - TodoReturn getListRewardKey(GJLevelList*) = win 0x173b70; - char const* getMapPackKey(int); - TodoReturn getNextVideoAdReward(); - TodoReturn getPathRewardKey(int) = win 0x17a3d0; - GJChallengeItem* getQueuedChallenge(int) = win 0x1734d0; - TodoReturn getRewardForSecretChest(int); - TodoReturn getRewardForSpecialChest(gd::string); - TodoReturn getRewardItem(GJRewardType); - TodoReturn getRewardKey(GJRewardType, int); - GJChallengeItem* getSecondaryQueuedChallenge(int) = win 0x1735a0; - TodoReturn getSecretChestForItem(int, UnlockType); - TodoReturn getSecretCoinKey(char const*); - TodoReturn getSpecialChestKeyForItem(int, UnlockType) = win 0x179c70; - TodoReturn getSpecialRewardDescription(gd::string, bool); - TodoReturn getSpecialUnlockDescription(int, UnlockType, bool); - TodoReturn getStarLevelKey(GJGameLevel*) = win 0x16fd10; - int getStat(char const*) = win 0x16adc0; - TodoReturn getStatFromKey(StatKey); - TodoReturn getStoreItem(int, int); - TodoReturn getStoreItem(int); - int getTotalCollectedCurrency() = win 0x1740d0; - int getTotalCollectedDiamonds(); - bool hasClaimedListReward(GJLevelList*) = win 0x173bf0; - bool hasCompletedChallenge(GJChallengeItem*) = win 0x173970; - bool hasCompletedDailyLevel(int) = win 0x173de0; - bool hasCompletedDemonLevel(GJGameLevel*) = win 0x16fe00; - bool hasCompletedGauntletLevel(int); - bool hasCompletedLevel(GJGameLevel* level) { - return m_completedLevels->objectForKey(this->getLevelKey(level)) != nullptr; - } - bool hasCompletedMainLevel(int levelID) { - return m_completedLevels->objectForKey(this->getLevelKey(levelID, false, false, false)) != nullptr; - } - bool hasCompletedMapPack(int); - bool hasCompletedOnlineLevel(int); - bool hasCompletedStarLevel(GJGameLevel*) = win 0x16fec0; - bool hasPendingUserCoin(char const*) = win 0x171670; - bool hasRewardBeenCollected(GJRewardType, int); - bool hasSecretCoin(char const*) = win 0x1717e0; - bool hasUserCoin(char const*) = win 0x171500; - TodoReturn incrementActivePath(int) = win 0x16a4f0; - TodoReturn incrementChallenge(GJChallengeType, int) = win 0x173670; - TodoReturn incrementStat(char const*, int) = win 0x16a250; - TodoReturn incrementStat(char const*); - bool isGauntletChestUnlocked(int); - bool isItemEnabled(UnlockType, int) = win 0x1767f0; - bool isItemUnlocked(UnlockType, int) = win 0x176570; - bool isPathChestUnlocked(int) = win 0x17a4d0; - bool isPathUnlocked(StatKey); - bool isSecretChestUnlocked(int) = win 0x17a7c0; - bool isSecretCoin(gd::string); - bool isSecretCoinValid(gd::string); - bool isSpecialChestLiteUnlockable(gd::string); - bool isSpecialChestUnlocked(gd::string) = win 0x17a050; - bool isStoreItemUnlocked(int) = win 0x16a010; - TodoReturn keyCostForSecretChest(int) = win 0x17a9b0; - TodoReturn logCoins(); - TodoReturn markLevelAsCompletedAndClaimed(GJGameLevel*); - TodoReturn postLoadGameStats() = win 0x181810; - TodoReturn preProcessReward(GJRewardItem*) = win 0x172c80; - TodoReturn preSaveGameStats() = win 0x1819d0; - TodoReturn processChallengeQueue(int) = win 0x173b10; - TodoReturn purchaseItem(int) = win 0x16a0f0; - TodoReturn recountSpecialStats() = win 0x174ec0; - TodoReturn recountUserCoins(bool); - TodoReturn registerRewardsFromItem(GJRewardItem*) = win 0x17fee0; - TodoReturn removeChallenge(int) = win 0x172ff0; - TodoReturn removeErrorFromSpecialChests(); - TodoReturn removeQueuedChallenge(int) = win 0x173190; - TodoReturn removeQueuedSecondaryChallenge(int) = win 0x173330; - TodoReturn resetChallengeTimer(); - TodoReturn resetPreSync(); - TodoReturn resetSpecialStatAchievements(); - TodoReturn resetUserCoins(); - TodoReturn restorePostSync(); - void setAwardedBonusKeys(int); - void setStarsForMapPack(int, int); - void setStat(char const*, int) = win 0x16af10; - void setStatIfHigher(char const*, int); - TodoReturn setupIconCredits() = win 0x15e8d0; - TodoReturn shopTypeForItemID(int); - TodoReturn shouldAwardSecretKey(); - TodoReturn starsForMapPack(int); - TodoReturn storeChallenge(int, GJChallengeItem*) = win 0x172f20; - TodoReturn storeChallengeTime(int) = win 0x172ea0; - TodoReturn storePendingUserCoin(char const*); - TodoReturn storeQueuedChallenge(int, GJChallengeItem*) = win 0x1730c0; - TodoReturn storeRewardState(GJRewardType, int, int, gd::string) = win 0x1728f0; - TodoReturn storeSecondaryQueuedChallenge(int, GJChallengeItem*) = win 0x173260; - TodoReturn storeSecretCoin(char const*); - void storeUserCoin(char const*) = win 0x1715c0; - TodoReturn tempClear(); - void toggleEnableItem(UnlockType, int, bool) = win 0x176890; - TodoReturn trySelectActivePath() = win 0x16a350; - TodoReturn uncompleteLevel(GJGameLevel*); - TodoReturn unlockGauntletChest(int); - TodoReturn unlockPathChest(int); - TodoReturn unlockSecretChest(int) = win 0x17a8a0; - TodoReturn unlockSpecialChest(gd::string) = win 0x17a130; - TodoReturn updateActivePath(StatKey); - gd::string usernameForAccountID(int) = win 0x15e830; - TodoReturn verifyUserCoins(); - - virtual bool init() = win 0x168000; - - bool m_usePlayerStatsCCDictionary; - cocos2d::CCString* m_trueString; - cocos2d::CCDictionary* m_allStoreItems; - cocos2d::CCDictionary* m_storeItems; - cocos2d::CCDictionary* m_allTreasureRoomChests; - cocos2d::CCDictionary* m_allTreasureRoomChestItems; - cocos2d::CCDictionary* m_allSpecialChests; - cocos2d::CCDictionary* m_allSpecialChestItems; - gd::unordered_map m_specialRewardDescriptions; //todo: is gd::string gd::string - gd::unordered_map m_createSpecialChestItemsMap; //todo: is gd::string gd::string - cocos2d::CCDictionary* m_specialChestsLite; - cocos2d::CCArray* m_storeItemArray; - cocos2d::CCDictionary* m_rewardItems; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - double m_challengeTime; - cocos2d::CCDictionary* m_playerStats; - gd::unordered_map m_playerStatsRandMap; - gd::unordered_map m_playerStatsSeedMap; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_completedLists; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; - cocos2d::CCDictionary* m_enabledItems; - bool m_unkBoolIncrementStat; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_unlockedItems; - gd::map m_accountIDForIcon; - gd::map m_usernameForAccountID; - bool m_GS29; - int m_activePath; -} - -[[link(android)]] -class GameToolbox { - static void addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*) = win 0x41910; - static void addRThumbScrollButton(cocos2d::CCLayer*) = win 0x419c0; - static void alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint, bool) = win 0x40a50; - static void alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn bounceTime(float); - static TodoReturn colorToSepia(cocos2d::ccColor3B, float); - static TodoReturn contentScaleClipRect(cocos2d::CCRect&); - static TodoReturn createHashString(gd::string const&, int); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCArray*) = win 0x40f80; - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int, cocos2d::CCArray*) = win 0x41080; - static TodoReturn doWeHaveInternet(); - static TodoReturn easeToText(int); - static TodoReturn fast_rand_0_1(); - static TodoReturn fast_rand_minus1_1(); - static TodoReturn fast_rand(); - static TodoReturn fast_srand(unsigned long); - static TodoReturn gen_random(int); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getEasedAction(cocos2d::CCActionInterval*, int, float); - static TodoReturn getEasedValue(float, int, float); - static TodoReturn getfast_srand(); - static TodoReturn getInvertedEasing(int); - static TodoReturn getLargestMergedIntDicts(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn getMultipliedHSV(cocos2d::ccHSVValue const&, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint) = win 0x41300; - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*) = win 0x40dd0; - static gd::string getTimeString(int) = win 0x426b0; - static TodoReturn hsvFromString(gd::string const&, char const*); - static TodoReturn intToShortString(int); - static TodoReturn intToString(int) = win 0x453a0; - static bool isIOS(); - static bool isRateEasing(int); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*) = win 0x41510; - static TodoReturn mergeDictsSkipConflict(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn msToTimeString(int, int); - static TodoReturn multipliedColorValue(cocos2d::ccColor3B, cocos2d::ccColor3B, float) = win 0x41d80; - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn particleFromString(gd::string const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleFromStruct(cocos2d::ParticleStruct const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleStringToStruct(gd::string const&, cocos2d::ParticleStruct&) = win 0x43ae0; - static TodoReturn pointsToString(int); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect) = win 0x40f00; - static TodoReturn preVisitWithClipRect(cocos2d::CCRect); - static TodoReturn saveParticleToString(cocos2d::CCParticleSystemQuad*) = win 0x428f0; - static TodoReturn saveStringToFile(gd::string const&, gd::string const&); - static TodoReturn stringFromHSV(cocos2d::ccHSVValue, char const*); - static cocos2d::CCDictionary* stringSetupToDict(gd::string const&, char const*) = win 0x42430; - static TodoReturn stringSetupToMap(gd::string const&, char const*, gd::map&) = win 0x42230; - static TodoReturn strongColor(cocos2d::ccColor3B) = win 0x425e0; - static gd::string timestampToHumanReadable(time_t, time_t) = win 0x45640; - static TodoReturn transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue) = win 0x41b20; - static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float); -} - -[[link(android)]] -class GauntletLayer : cocos2d::CCLayer, LevelManagerDelegate { - // virtual ~GauntletLayer(); - - static GauntletLayer* create(GauntletType) = win 0x1845f0; - - bool init(GauntletType) = win 0x184970; - void onBack(cocos2d::CCObject* sender); - void onLevel(cocos2d::CCObject* sender); - TodoReturn scene(GauntletType); - TodoReturn setupGauntlet(cocos2d::CCArray*) = win 0x1851d0; - TodoReturn unlockActiveItem(); - - virtual void keyBackClicked() = win 0x186450; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x184f30; - virtual void loadLevelsFailed(char const*, int) = win 0x185080; -} - -[[link(android)]] -class GauntletNode : cocos2d::CCNode { - // virtual ~GauntletNode(); - - static GauntletNode* create(GJMapPack*); - - TodoReturn frameForType(GauntletType) = win 0x189b30; - bool init(GJMapPack*) = win 0x188740; - static gd::string nameForType(GauntletType) = win 0x189f90; - TodoReturn onClaimReward() = win 0x189b00; -} - -[[link(android)]] -class GauntletSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, LevelManagerDelegate { - // virtual ~GauntletSelectLayer(); - - static GauntletSelectLayer* create(int) = win 0x186c40; - - void goToPage(int, bool); - bool init(int) = win 0x186cf0; - void onBack(cocos2d::CCObject* sender) = win 0x188270; - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender) = win 0x1882e0; - void onPrev(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender) = win 0x187770; - TodoReturn scene(int); - void setupGauntlets() = win 0x187b90; - TodoReturn unblockPlay(); - TodoReturn updateArrows(); - - virtual void onExit() = win 0x188640; - virtual void keyBackClicked() = win 0x1882d0; - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int) = win 0x188230; - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x187820; - virtual void loadLevelsFailed(char const*, int) = win 0x1879f0; -} - -[[link(android)]] -class GauntletSprite : cocos2d::CCNode { - // virtual ~GauntletSprite(); - - static GauntletSprite* create(GauntletType, bool); - - TodoReturn addLockedSprite(); - TodoReturn addNormalSprite(); - TodoReturn colorForType(GauntletType); - bool init(GauntletType, bool); - TodoReturn luminanceForType(GauntletType); - TodoReturn toggleLockedSprite(bool); -} - -[[link(android)]] -class GhostTrailEffect : cocos2d::CCNode { - // virtual ~GhostTrailEffect(); - - static GhostTrailEffect* create() = win 0x46b20; - - TodoReturn doBlendAdditive(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init() = win 0x46bc0; - virtual void draw() {} -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - // virtual ~GJAccountManager(); - // GJAccountManager() = win 0x18a400; - - static GJAccountManager* get() { - return GJAccountManager::sharedState(); - } - - static GJAccountManager* sharedState() = win 0x18a510; - - void addDLToActive(char const* tag, cocos2d::CCObject*) = win 0x18aba0; - void addDLToActive(char const* tag); - bool backupAccount(gd::string); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - void getAccountBackupURL() = win 0x18b530; - void getAccountSyncURL() = win 0x18bdc0; - cocos2d::CCObject* getDLObject(char const*); - gd::string getShaPassword(gd::string); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0x18a830; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const* tag); - void linkToAccount(gd::string, gd::string, int, int); - void loginAccount(gd::string, gd::string) = win 0x18afe0; - void onBackupAccountCompleted(gd::string, gd::string) = win 0x18bb20; - void onGetAccountBackupURLCompleted(gd::string, gd::string) = win 0x18b660; - void onGetAccountSyncURLCompleted(gd::string, gd::string) = win 0x18bef0; - void onLoginAccountCompleted(gd::string, gd::string) = win 0x18b260; - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onRegisterAccountCompleted(gd::string, gd::string) = win 0x18ae80; - void onSyncAccountCompleted(gd::string, gd::string) = win 0x18c230; - void onUpdateAccountSettingsCompleted(gd::string, gd::string) = win 0x18ce40; - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string) = win 0x18ad00; - void removeDLFromActive(char const*) = win 0x18ac50; - bool syncAccount(gd::string); - void unlinkFromAccount(); - void updateAccountSettings(int, int, int, gd::string, gd::string, gd::string) = win 0x18cc30; - - virtual bool init() = win 0x18ab70; - - cocos2d::CCDictionary* m_activeDownloads; - gd::string m_username; - int m_accountID; - int m_unkInt1; - int m_unkInt2; - gd::string m_GJP2; - GJAccountRegisterDelegate* m_accountRegisterDelegate; - GJAccountLoginDelegate* m_accountLoginDelegate; - GJAccountDelegate* m_accountDelegate; - GJAccountBackupDelegate* m_backupDelegate; - GJAccountSyncDelegate* m_syncDelegate; - GJAccountSettingsDelegate* m_accountSettingsDelegate; - int m_gameManagerSize; - int m_localLevelsSize; - gd::string m_password; -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJAccountSettingsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~GJAccountSettingsLayer(); - - static GJAccountSettingsLayer* create(int) = win 0x208440; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float); - bool init(int) = win 0x2084f0; - void onClose(cocos2d::CCObject* sender); - void onCommentSetting(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn updateScoreValues(); - - virtual void keyBackClicked() = win 0x20a2f0; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJActionManager : cocos2d::CCNode { - // virtual ~GJActionManager(); - - static GJActionManager* create() = win 0x18d340; - - TodoReturn getInternalAction(int); - TodoReturn runInternalAction(cocos2d::CCAction*, cocos2d::CCNode*); - TodoReturn stopAllInternalActions(); - TodoReturn stopInternalAction(int); - TodoReturn updateInternalActions(float, bool); - - virtual bool init(); -} - -[[link(android)]] -class GJAssetDownloadAction { - int m_id; - GJAssetType m_assetType; - int m_status; -} - -[[link(android), depends(GJGameState), depends(PlayerButtonCommand)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - ~GJBaseGameLayer() = win 0x18ef50; - // GJBaseGameLayer() = win 0x237ce0; - - static GJBaseGameLayer* get() { - return GameManager::get()->m_gameLayer; - } - - void activateCustomRing(RingObject*) = win 0x1a4270; - TodoReturn activatedAudioTrigger(SFXTriggerGameObject*, float); - TodoReturn activateEventTrigger(EventLinkTrigger*, gd::vector const&); - TodoReturn activateItemCompareTrigger(ItemTriggerGameObject*, gd::vector const&); - TodoReturn activateItemEditTrigger(ItemTriggerGameObject*); - void activateObjectControlTrigger(ObjectControlGameObject*); - TodoReturn activatePersistentItemTrigger(ItemTriggerGameObject*); - void activatePlayerControlTrigger(PlayerControlGameObject*) = win 0x19E0D0; - TodoReturn activateResetTrigger(EffectGameObject*); - void activateSFXEditTrigger(SFXTriggerGameObject*) = win 0x1c4370; - void activateSFXTrigger(SFXTriggerGameObject*) = win 0x1c4230; - TodoReturn activateSongEditTrigger(SongTriggerGameObject*); - void activateSongTrigger(SongTriggerGameObject*) = win 0x1c3df0; - TodoReturn activateTimerTrigger(TimerTriggerGameObject*, gd::vector const&); - TodoReturn addAreaEffect(EnterEffectObject*, gd::vector*, GJAreaActionType); - void addCustomEnterEffect(EnterEffectObject*, bool) = win 0x1965F0; - TodoReturn addGuideArt(GameObject*); - void addObjectCounter(LabelGameObject*) = win 0x1b74c0; - TodoReturn addPickupTrigger(CountTriggerGameObject*); - TodoReturn addPoints(int); - void addProximityVolumeEffect(int, int, SFXTriggerGameObject*) = win 0x1c4a20; - TodoReturn addRemapTargets(gd::set&); - void addToGroupParents(GameObject*) = win 0x1a96a0; - void addToGroups(GameObject*, bool) = win 0x1a8c80; - TodoReturn addToObjectsToShow(GameObject*); - TodoReturn addUIObject(GameObject*); - void animateInDualGroundNew(GameObject*, float, bool, float) = win 0x19AE90; - TodoReturn animateInGroundNew(bool, float, bool); - void animateOutGroundNew(bool) = win 0x19B120; - TodoReturn animatePortalY(float, float, float, float); - TodoReturn applyLevelSettings(GameObject*) = win 0x1bd900; - TodoReturn applyRemap(EffectGameObject*, gd::vector const&, gd::unordered_map&); - void applySFXEditTrigger(int, int, SFXTriggerGameObject*) = win 0x1c45b0; - void applyShake(cocos2d::CCPoint&) = win 0x1c18c0; - void assignNewStickyGroups(cocos2d::CCArray*) = win 0x1a9cb0; - TodoReturn asyncBGLoaded(int); - TodoReturn asyncGLoaded(int); - TodoReturn asyncMGLoaded(int); - TodoReturn atlasValue(int); - void bumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19e670; - TodoReturn buttonIDToButton(int); - TodoReturn calculateColorGroups() = win 0x1960b0; - TodoReturn cameraMoveX(float, float, float, bool); - TodoReturn cameraMoveY(float, float, float, bool); - bool canBeActivatedByPlayer(PlayerObject*, EffectGameObject*) = win 0x19e470; - TodoReturn canProcessSFX(SFXTriggerState&, gd::unordered_map&, gd::unordered_map&, gd::vector&); - TodoReturn canTouchObject(GameObject*); - TodoReturn checkCameraLimitAfterTeleport(PlayerObject*, float); - TodoReturn checkCollision(int, int); - TodoReturn checkCollisionBlocks(EffectGameObject*, gd::vector*, int); - int checkCollisions(PlayerObject*, float, bool) = win 0x19b310; - TodoReturn checkRepellPlayer(); - TodoReturn checkSpawnObjects() = win 0x1a1390; - TodoReturn claimMoveAction(int, bool); - TodoReturn claimParticle(gd::string, int); - TodoReturn claimRotationAction(int, int, float&, float&, bool, bool); - TodoReturn clearActivatedAudioTriggers() = win 0x1c5590; - TodoReturn clearPickedUpItems(); - TodoReturn collectedObject(EffectGameObject*); - void collisionCheckObjects(PlayerObject*, gd::vector*, int, float) = win 0x19c1b0; - TodoReturn controlAdvancedFollowCommand(AdvancedFollowTriggerObject*, int, GJActionCommand); - TodoReturn controlAreaEffect(EnterEffectObject*, gd::vector*, GJActionCommand); - TodoReturn controlAreaEffectWithID(int, int, GJActionCommand) = win 0x1AC670; - TodoReturn controlDynamicCommand(EffectGameObject*, int, gd::vector&, GJActionCommand); - TodoReturn controlDynamicMoveCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlDynamicRotateCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlEventLink(int, int, GJActionCommand); - TodoReturn controlGradientTrigger(GradientTriggerObject*, GJActionCommand); - TodoReturn controlTriggersInGroup(int, GJActionCommand); - TodoReturn controlTriggersWithControlID(int, GJActionCommand); - TodoReturn convertToClosestDirection(float, float) = win 0x1b2c10; - void createBackground(int) = win 0x193890; - void createGroundLayer(int, int) = win 0x193c60; - void createMiddleground(int) = win 0x193bc0; - TodoReturn createNewKeyframeAnim() = win 0x1b6bd0; - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c2fb0; - TodoReturn createPlayer() = win 0x193550; - TodoReturn createPlayerCollisionBlock() = win 0x19f1b0; - TodoReturn createTextLayers() = win 0x197090; - TodoReturn damagingObjectsInRect(cocos2d::CCRect, bool); - void destroyObject(GameObject*) = win 0x19cf50; - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitStaticCamera(bool, bool, float, int, float, bool, float, bool); - TodoReturn flipFinished(); - TodoReturn flipGravity(PlayerObject*, bool, bool) = win 0x19a5f0; - TodoReturn flipObjects() = win 0x1c8980; - TodoReturn gameEventToString(GJGameEvent); - void gameEventTriggered(GJGameEvent, int, int) = win 0x1b5bf0; - TodoReturn generateEnterEasingBuffer(int, float); - TodoReturn generateEnterEasingBuffers(EnterEffectObject*); - TodoReturn generatePickupAnimRandVal(GameObject*, float&, float&); - TodoReturn generateSpawnRemap() = win 0x1a3fc0; - TodoReturn generateTargetGroups() = win 0x1a9f10; - TodoReturn generateVisibilityGroups() = win 0x1b5060; - TodoReturn getActiveOrderSpawnObjects(); - TodoReturn getAreaObjectValue(EnterEffectInstance*, GameObject*, cocos2d::CCPoint&, bool&); - TodoReturn getBumpMod(PlayerObject*, int) = win 0x19e590; - TodoReturn getCameraEdgeValue(int); - TodoReturn getCapacityString() = win 0x196ee0; - TodoReturn getCenterGroupObject(int, int); - TodoReturn getCustomEnterEffects(int, bool); - TodoReturn getEasedAreaValue(GameObject*, EnterEffectInstance*, float, bool, int); - TodoReturn getEnterEasingKey(int, float); - TodoReturn getEnterEasingValue(float, int, float, int); - TodoReturn getFollowSpeedVal(GameObject*, int, int, float, float); - float getGroundHeight(PlayerObject*, int) = win 0x199740; - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int) = win 0x1a8f50; - TodoReturn getGroupParent(int); - TodoReturn getGroupParentsString(GameObject*); - TodoReturn getItemValue(int, int); - TodoReturn getMaxPortalY(); - TodoReturn getMinDistance(cocos2d::CCPoint, cocos2d::CCArray*, float, int) = win 0x1c4ea0; - TodoReturn getMinPortalY(); - TodoReturn getModifiedDelta(float); - TodoReturn getMoveTargetDelta(EffectGameObject*, bool); - TodoReturn getOptimizedGroup(int) = win 0x1a9010; - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType) = win 0x1c2d70; - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlayerButtonID(int, bool); - TodoReturn getPlayTimerFullSeconds(); - TodoReturn getPlayTimerMilli(); - TeleportPortalObject* getPortalTarget(TeleportPortalObject*) = win 0x1985c0; - cocos2d::CCPoint getPortalTargetPos(TeleportPortalObject*, GameObject*, PlayerObject*) = win 0x198660; - TodoReturn getRecordString(); - TodoReturn getRotateCommandTargets(EnhancedTriggerObject*, GameObject*&, GameObject*&, GameObject*&); - TodoReturn getSavedPosition(int, float); - TodoReturn getScaledGroundHeight(float); - TodoReturn getSingleGroupObject(int) = win 0x1a9070; - TodoReturn getSpecialKey(int, bool, bool); - TodoReturn getStaticGroup(int) = win 0x1a8fb0; - TodoReturn getStickyGroup(int); - TodoReturn getTargetFlyCameraY(GameObject*); - TodoReturn getTargetGroup(int, int); - TodoReturn getTargetGroupOrigin(int, int); - TodoReturn gravBumpPlayer(PlayerObject*, EffectGameObject*) = win 0x19e770; - void groupStickyObjects(cocos2d::CCArray*) = win 0x1a9b20; - void handleButton(bool down, int button, bool isPlayer1) = win 0x1b69f0; // button may be a PlayerButton enum - TodoReturn hasItem(int); - bool hasUniqueCoin(EffectGameObject*) = win 0x19d580; - TodoReturn increaseBatchNodeCapacity() = win 0x194b40; - bool isFlipping(); - bool isPlayer2Button(int); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int, bool, float); - TodoReturn loadGroupParentsFromString(GameObject*, gd::string); - void loadLevelSettings() = win 0x1bd7b0; - TodoReturn loadStartPosObject() = win 0x1b8d10; - TodoReturn loadUpToPosition(float, int, int) = win 0x1b8e80; - TodoReturn maxZOrderForShaderZ(int) = win 0x1A8530; - TodoReturn minZOrderForShaderZ(int) = win 0x1A84A0; - TodoReturn modifyGroupPhysics(AdvancedFollowEditObject*, cocos2d::CCArray*); - TodoReturn modifyObjectPhysics(AdvancedFollowEditObject*, GameObjectPhysics&); - TodoReturn moveAreaObject(GameObject*, float, float); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - void moveObject(GameObject*, double, double, bool); - void moveObjects(cocos2d::CCArray*, double, double, bool) = win 0x1b1fa0; - void moveObjectsSilent(int, double, double); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - GJGameEvent objectTypeToGameEvent(int) = win 0x1B6190; - TodoReturn optimizeMoveGroups() = win 0x1b4cd0; - TodoReturn orderSpawnObjects() = win 0x1c7c20; - TodoReturn parentForZLayer(int, bool, int, int); - TodoReturn pauseAudio() = win 0x1bb600; - TodoReturn performMathOperation(double, double, int); - TodoReturn performMathRounding(double, int); - void pickupItem(EffectGameObject*) = win 0x19d100; - TodoReturn playAnimationCommand(int, int) = win 0x19E880; - TodoReturn playerCircleCollision(PlayerObject*, GameObject*); - TodoReturn playerIntersectsCircle(PlayerObject*, GameObject*); - TodoReturn playerTouchedObject(PlayerObject*, GameObject*); - TodoReturn playerTouchedRing(PlayerObject*, RingObject*) = win 0x19eca0; - TodoReturn playerTouchedTrigger(PlayerObject*, EffectGameObject*); - TodoReturn playerWasTouchingObject(PlayerObject*, GameObject*) = win 0x19e530; - void playerWillSwitchMode(PlayerObject*, GameObject*) = win 0x19AB80; - TodoReturn playExitDualEffect(PlayerObject*) = win 0x19da70; - TodoReturn playFlashEffect(float, int, float); - TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector const&); - TodoReturn playSpeedParticle(float); - TodoReturn positionForShaderTarget(int); - TodoReturn positionUIObjects() = win 0x1ab2f0; - TodoReturn prepareSavePositionObjects() = win 0x1a0220; - TodoReturn prepareTransformParent(bool); - TodoReturn preResumeGame(); - TodoReturn preUpdateVisibility(float) = win 0x1b97e0; - TodoReturn processActivatedAudioTriggers(float) = win 0x1c5960; - TodoReturn processAdvancedFollowAction(AdvancedFollowInstance&, bool, float); - TodoReturn processAdvancedFollowActions(float); - TodoReturn processAreaActions(float, bool); - TodoReturn processAreaEffects(gd::vector*, GJAreaActionType, float, bool); - TodoReturn processAreaFadeGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaMoveGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaRotateGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaTintGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaTransformGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaVisualActions(float); - TodoReturn processCameraObject(GameObject*, PlayerObject*); - TodoReturn processCommands(float); - TodoReturn processDynamicObjectActions(int, float) = win 0x1b2740; - TodoReturn processFollowActions(); - TodoReturn processItems() = win 0x19d2b0; - TodoReturn processMoveActions() = win 0x1b1b90; - TodoReturn processMoveActionsStep(float, bool) = win 0x1afce0; - TodoReturn processOptionsTrigger(GameOptionsTrigger*) = win 0x1A8A80; - TodoReturn processPlayerFollowActions(float) = win 0x1b2400; - TodoReturn processQueuedAudioTriggers() = win 0x1be520; - TodoReturn processQueuedButtons() = win 0x1b5b40; - TodoReturn processRotationActions(); - TodoReturn processSFXObjects() = win 0x1c3fe0; - TodoReturn processSFXState(SFXTriggerState*, SFXTriggerState*, int, float); - TodoReturn processSongState(int, float, float, int, float, float, gd::vector*); - TodoReturn processStateObjects(); - TodoReturn processTransformActions(bool); - TodoReturn queueButton(int, bool, bool) = win 0x1b5af0; - TodoReturn reAddToStickyGroup(GameObject*) = win 0x1a9e40; - TodoReturn recordAction(int, bool, bool); - TodoReturn rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float); - TodoReturn refreshCounterLabels() = win 0x1b87a0; - TodoReturn refreshKeyframeAnims() = win 0x1b6d70; - TodoReturn regenerateEnterEasingBuffers() = win 0x196be0; - TodoReturn registerSpawnRemap(gd::vector&); - TodoReturn registerStateObject(EffectGameObject*); - TodoReturn removeBackground(); - TodoReturn removeCustomEnterEffects(int, bool) = win 0x1CB000; - void removeFromGroupParents(GameObject*) = win 0x1a9600; - void removeFromGroups(GameObject*) = win 0x1a8da0; - TodoReturn removeFromStickyGroup(GameObject*) = win 0x1a9da0; - TodoReturn removeGroundLayer(); - TodoReturn removeGroupParent(int) = win 0x1a9550; - TodoReturn removeKeyframe(KeyframeGameObject*) = win 0x1b6c90; - TodoReturn removeMiddleground(); - void removeObjectFromSection(GameObject*) = win 0x1abea0; - TodoReturn removePlayer2(); - TodoReturn removeTemporaryParticles() = win 0x1c3d30; - TodoReturn reorderObjectSection(GameObject*); - TodoReturn reparentObject(cocos2d::CCNode*, cocos2d::CCNode*); - TodoReturn resetActiveEnterEffects() = win 0x196350; - TodoReturn resetAreaObjectValues(GameObject*, bool); - TodoReturn resetAudio(); - void resetCamera() = win 0x1c22b0; - void resetGradientLayers() = win 0x1A6CD0; - TodoReturn resetGroupCounters(bool); - void resetLevelVariables() = win 0x1bdb10; - TodoReturn resetMoveOptimizedValue(); - void resetPlayer(); - void resetSongTriggerValues() = win 0x3bf30; //someone keeps adding win 0x3bf30 for this but it's WRONG! that addr is an stl func - TodoReturn resetSpawnChannelIndex() = win 0x1c7e40; - TodoReturn resetStaticCamera(bool, bool); - TodoReturn resetStoppedAreaObjects(); - TodoReturn restoreAllUIObjects(); - TodoReturn restoreDefaultGameplayOffsetX(); - TodoReturn restoreDefaultGameplayOffsetY(); - TodoReturn restoreRemap(EffectGameObject*, gd::unordered_map&); - TodoReturn resumeAudio() = win 0x1bb660; - TodoReturn rotateAreaObjects(GameObject*, cocos2d::CCArray*, float, bool); - TodoReturn rotateObject(GameObject*, float); - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint, cocos2d::CCPoint, bool, bool); - void setGroupParent(GameObject*, int) = win 0x1a9460; - void setStartPosObject(StartPosObject*) = win 0x199e90; - TodoReturn setupLayers() = win 0x191440; - TodoReturn setupLevelStart(LevelSettingsObject*) = win 0x199ed0; - TodoReturn setupReplay(gd::string) = win 0x1bd3d0; - TodoReturn shakeCamera(float, float, float) = win 0x1be5d0; - TodoReturn shouldExitHackedLevel() = win 0x1934a0; - TodoReturn sortAllGroupsX(); - TodoReturn sortGroups() = win 0x1a90f0; - TodoReturn sortSectionVector() = win 0x1ac070; - TodoReturn sortStickyGroups() = win 0x1a99e0; - TodoReturn spawnGroupTriggered(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector const&, int, int); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint) = win 0x1c2b80; - TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float); - TodoReturn spawnParticleTrigger(SpawnParticleGameObject*); - TodoReturn spawnPlayer2() = win 0x19d970; - TodoReturn speedForShaderTarget(int); - TodoReturn staticObjectsInRect(cocos2d::CCRect, bool); - TodoReturn stopAllGroundActions(); - TodoReturn stopCameraShake(); - TodoReturn stopCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn stopCustomEnterEffect(EnterEffectObject*) = win 0x196890; - TodoReturn stopSFXTrigger(SFXTriggerGameObject*); - TodoReturn swapBackground(int); - TodoReturn swapGround(int); - TodoReturn swapMiddleground(int); - void switchToFlyMode(PlayerObject*, GameObject*, bool, int) = win 0x19a6d0; - void switchToRobotMode(PlayerObject*, GameObject*, bool) = win 0x19a800; - void switchToRollMode(PlayerObject*, GameObject*, bool) = win 0x19a9c0; - void switchToSpiderMode(PlayerObject*, GameObject*, bool) = win 0x19a8e0; - TodoReturn syncBGTextures() = win 0x1bda80; - void teleportPlayer(TeleportPortalObject*, PlayerObject*) = win 0x1980c0; - TodoReturn testInstantCountTrigger(int, int, int, bool, int, gd::vector const&, int, int); - void toggleAudioVisualizer(bool) = win 0x1ca4d0; - void toggleDualMode(GameObject*, bool, PlayerObject*, bool) = win 0x19d6a0; - void toggleFlipped(bool, bool) = win 0x1c87e0; - TodoReturn toggleGroup(int, bool); - TodoReturn toggleLockPlayer(bool, bool); - TodoReturn togglePlayerStreakBlend(bool); - void togglePlayerVisibility(bool, bool) = win 0x1B9320; - TodoReturn togglePlayerVisibility(bool); //inlined on windows - TodoReturn transformAreaObjects(GameObject*, cocos2d::CCArray*, float, float, bool); - TodoReturn triggerAdvancedFollowCommand(AdvancedFollowTriggerObject*); - TodoReturn triggerAdvancedFollowEditCommand(AdvancedFollowEditObject*); - TodoReturn triggerAreaEffect(EnterEffectObject*) = win 0x1AC210; - TodoReturn triggerAreaEffectAnimation(EnterEffectObject*); - TodoReturn triggerDynamicMoveCommand(EffectGameObject*); - TodoReturn triggerDynamicRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerGradientCommand(GradientTriggerObject*) = win 0x1A5450; - TodoReturn triggerGravityChange(EffectGameObject*, int) = win 0x1A86E0; - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EnhancedTriggerObject*); - bool triggerShaderCommand(ShaderGameObject*) = win 0x1A6D40; - TodoReturn triggerTransformCommand(TransformTriggerGameObject*); - TodoReturn tryGetGroupParent(int); - TodoReturn tryGetMainObject(int) = win 0x1a9340; - TodoReturn tryGetObject(int) = win 0x1a9380; - TodoReturn tryResumeAudio(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - void ungroupStickyObjects(cocos2d::CCArray*) = win 0x1a9c10; - TodoReturn unlinkAllEvents(); - TodoReturn updateActiveEnterEffect(EnterEffectObject*) = win 0x196450; - TodoReturn updateAllObjectSection(); - TodoReturn updateAreaObjectLastValues(GameObject*); - TodoReturn updateAudioVisualizer() = win 0x1ca410; - TodoReturn updateBGArtSpeed(float, float); - TodoReturn updateCamera(float) = win 0x1be670; - TodoReturn updateCameraBGArt(cocos2d::CCPoint, float); - TodoReturn updateCameraEdge(int, int); - void updateCameraMode(EffectGameObject*, bool) = win 0x19aaa0; - TodoReturn updateCameraOffsetX(float, float, int, float, int, int); - TodoReturn updateCameraOffsetY(float, float, int, float, int, int); - TodoReturn updateCollisionBlocks(); - TodoReturn updateCounters(int, int); - void updateDualGround(PlayerObject*, int, bool, float) = win 0x19AD50; - TodoReturn updateEnterEffects(float); - TodoReturn updateExtendedCollision(GameObject*, bool); - TodoReturn updateExtraGameLayers(); - TodoReturn updateGameplayOffsetX(int, bool); - TodoReturn updateGameplayOffsetY(int, bool); - TodoReturn updateGradientLayers() = win 0x1a57c0; - TodoReturn updateGroundShadows(); - TodoReturn updateGuideArt() = win 0x1c8700; - TodoReturn updateInternalCamOffsetX(float, float, float); - TodoReturn updateInternalCamOffsetY(float, float, float); - TodoReturn updateKeyframeOrder(int) = win 0x1b6ce0; - TodoReturn updateLayerCapacity(gd::string) = win 0x194ca0; - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - TodoReturn updateLevelColors() = win 0x194490; - TodoReturn updateMaxGameplayY() = win 0x1bd960; - TodoReturn updateMGArtSpeed(float, float); - void updateMGOffsetY(float, float, int, float, int, int) = win 0x1B9680; - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateParticles(float); - TodoReturn updatePlatformerTime() = win 0x1bcd60; - TodoReturn updatePlayerCollisionBlocks(); - TodoReturn updateProximityVolumeEffects(); - TodoReturn updateQueuedLabels(); - TodoReturn updateReplay(); - TodoReturn updateSavePositionObjects(); - TodoReturn updateShaderLayer(float) = win 0x1a7820; - TodoReturn updateSpecialGroupData() = win 0x196060; - TodoReturn updateSpecialLabels() = win 0x1bc9f0; - void updateStaticCameraPos(cocos2d::CCPoint, bool, bool, bool, float, int, float) = win 0x1c1cb0; - TodoReturn updateStaticCameraPosToGroup(int, bool, bool, bool, float, float, int, float, bool, float); - TodoReturn updateTimeMod(float, bool, bool); - TodoReturn updateTimerLabels(); - void updateZoom(float, float, int, float, int, int) = win 0x1B9350; - TodoReturn visitWithColorFlash(); - TodoReturn volumeForProximityEffect(SFXTriggerInstance&) = win 0x1c4ae0; - - virtual void update(float) = win 0x1bb780; - virtual bool init() = win 0x190290; - virtual void visit() = win 0x1c8ea0; - virtual void postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual void updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn opacityForObject(GameObject*); - virtual TodoReturn addToSpeedObjects(EffectGameObject*); - virtual TodoReturn objectsCollided(int, int) = win 0x19fac0; - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x1a8760; - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int); - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int); - virtual void spawnObject(GameObject*, double, gd::vector const&); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual void destroyPlayer(PlayerObject*, GameObject*); - virtual void updateDebugDraw() = win 0x1986f0; - virtual void addToSection(GameObject*) = win 0x1ab800; - virtual void addToGroup(GameObject*, int, bool) = win 0x1a8ce0; - virtual void removeFromGroup(GameObject*, int) = win 0x1a8e00; - virtual TodoReturn updateObjectSection(GameObject*) = win 0x1acd40; - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) { return 0.f; } - virtual float posForTime(float) { return 0.f; } - virtual void resetSPTriggered() {} - virtual TodoReturn updateScreenRotation(float, bool, bool, float, int, float, int, int) = win 0x1b9450; - virtual TodoReturn reverseDirection(EffectGameObject*) = win 0x19efb0; - virtual TodoReturn rotateGameplay(RotateGameplayGameObject*) = win 0x19f010; - virtual TodoReturn didRotateGameplay(); - virtual TodoReturn updateTimeWarp(float) = win 0x2dfda0; - virtual TodoReturn updateTimeWarp(GameObject*, float) = win 0x2dfda0; - virtual TodoReturn applyTimeWarp(float) = win 0x1b9770; - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn createCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, bool); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*) = win 0x1c8a50; - virtual TodoReturn flipArt(bool); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - - PAD = win 0x8, android32 0x8, android64 0x8; - GJGameState m_gameState; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - PAD = win 0x290, android32 0x28c, android64 0x510; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - cocos2d::CCArray* m_objects; - cocos2d::CCArray* m_unknownCB0; - cocos2d::CCArray* m_unknownCB8; - cocos2d::CCDictionary* m_unknownCC0; - cocos2d::CCNode* m_unknownCC8; - gd::vector m_unknownCD0; - gd::vector m_unknownCE8; - gd::vector m_unknownD00; - gd::vector m_unknownD18; - gd::vector m_unknownD30; - gd::unordered_map> m_unknownD48; - gd::vector m_unknownD70; - gd::unordered_map> m_unknownD88; - int m_unknownDB0; - int m_unknownDB8; - int m_unknownDBC; - int m_unknownDC0; - int m_unknownDC4; - int m_unknownDC8; - int m_unknownDCC; - int m_unknownDD0; - int m_unknownDD4; - cocos2d::CCDictionary* m_groupDict; - cocos2d::CCDictionary* m_staticGroupDict; - cocos2d::CCDictionary* m_optimizedGroupDict; - gd::vector m_groups; - gd::vector m_staticGroups; - gd::vector m_optimizedGroups; - cocos2d::CCDictionary* m_unknownE38; - cocos2d::CCDictionary* m_unknownE40; - cocos2d::CCDictionary* m_unknownE48; - cocos2d::CCArray* m_unknownE50; - gd::unordered_map> m_unknownE58; - cocos2d::CCDictionary* m_unknownE80; - float m_unknownE88; - cocos2d::CCNode* m_unknownE90; - cocos2d::CCNode* m_unknownE98; - cocos2d::CCNode* m_unknownEA0; - cocos2d::CCLayer* m_objectLayer; - PAD = win 0x70, android32 0x70, android64 0xec; - std::array m_massiveFloatArray; - PAD = win 0x48, android32 0x54, android64 0x98; // not sure about the android paddings - int m_leftSectionIndex; // 29b4 win, 29d4 android32, 30b4 android64 - int m_rightSectionIndex; - int m_bottomSectionIndex; - int m_topSectionIndex; - PAD = win 0xB8, android32 0xB0, android64 0x144; - bool m_isPracticeMode; // 2a7c win, 2a94 android32, 3208 android64 - bool m_practiceMusicSync; - float m_unk2a80; - cocos2d::CCNode* m_unk2a84; - int m_unk2a88; - float m_unk2a8c; - int m_unk2a90; - int m_unk2a94; - int m_unk2a98; - cocos2d::CCDictionary* m_unk2a9c; - float m_levelLength; - int m_unk2aa4; - EndPortalObject* m_endPortal; - bool m_isTestMode; - PAD = win 0x23; - bool m_started; - PAD = win 0x7C; // wrong, android32 0xba - 0x24, android64 0xf0 - 0x24; - gd::vector m_queuedButtons; - PAD = win 0xb0; - UILayer* m_uiLayer; - PAD = win 0x38; - gd::vector*>*> m_sections; // 2c48 win - PAD = win 0x48; - gd::vector*> m_nonEffectObjectsPerSection; // 2c9c win - PAD = win 0xC5; - cocos2d::CCDrawNode* m_debugDrawNode; - PAD = win 0x4; - bool m_isDebugDrawEnabled; -} - -[[link(android)]] -class GJBigSprite : cocos2d::CCNode { - // virtual ~GJBigSprite(); - - static GJBigSprite* create(); - - TodoReturn finishedLoadingSpriteAsync(cocos2d::CCObject*); - TodoReturn loadSpriteAsync(gd::string, int); - TodoReturn unloadAll(); - TodoReturn unloadSprite(gd::string, int); - TodoReturn updateSpriteVisibility(); - - virtual bool init(); -} - -[[link(android)]] -class GJBigSpriteNode : cocos2d::CCNode { - // virtual ~GJBigSpriteNode(); - - static GJBigSpriteNode* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJChallengeDelegate { - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); -} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - // virtual ~GJChallengeItem(); - - static GJChallengeItem* create(); - static GJChallengeItem* create(GJChallengeType, int, int, int, gd::string) = win 0x182900; - - TodoReturn createFromString(gd::string) = win 0x1827c0; - TodoReturn createWithCoder(DS_Dictionary*) = win 0x182ab0; - void dataLoaded(DS_Dictionary*); - TodoReturn incrementCount(int); - bool init(GJChallengeType, int, int, int, gd::string) = win 0x1829d0; - void setCount(int); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x182c80; - virtual bool canEncode(); - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class GJChestSprite : cocos2d::CCSprite { - // virtual ~GJChestSprite(); - - static GJChestSprite* create(int) = win 0x2fa380; - - bool init(int); - void switchToState(ChestSpriteState, bool) = win 0x2fa590; - - virtual void setOpacity(unsigned char) = win 0x2fa540; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x2fa480; -} - -[[link(android)]] -class GJColorSetupLayer : FLAlertLayer, ColorSelectDelegate, FLAlertLayerProtocol { - // virtual ~GJColorSetupLayer(); - - static GJColorSetupLayer* create(LevelSettingsObject*) = win 0x1d5ae0; - - bool init(LevelSettingsObject*) = win 0x1d5b80; - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void showPage(int); - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - - virtual void keyBackClicked() = win 0x1d65f0; - virtual void colorSelectClosed(cocos2d::CCNode*) = win 0x1d65a0; -} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - // virtual ~GJComment(); - - static GJComment* create() = win 0x11b650; - static GJComment* create(cocos2d::CCDictionary*); - - virtual bool init() = win 0x11b6f0; - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - bool m_unkMultiplayerBool; - GJUserScore* m_userScore; -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView* listView, char const* title, cocos2d::ccColor4B color, float width, float height, bool blueBorder) = win 0x207dc0; - - bool init(BoomListView* listView, char const* title, cocos2d::ccColor4B color, float width, float height, bool blueBorder) = win 0x207eb0; - - BoomListView* m_list; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); -} - -[[link(android)]] -class GJDifficultySprite : cocos2d::CCSprite { - // virtual ~GJDifficultySprite(); - - static GJDifficultySprite* create(int, GJDifficultyName) = win 0x216be0; - - gd::string getDifficultyFrame(int, GJDifficultyName); - bool init(int, GJDifficultyName) = win 0x216cb0; - void updateDifficultyFrame(int, GJDifficultyName) = win 0x216e30; - void updateFeatureState(GJFeatureState) = win 0x216ff0; - void updateFeatureStateFromLevel(GJGameLevel*) = win 0x216f70; -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - // virtual ~GJDropDownLayer(); - inline GJDropDownLayer() { - m_endPosition = cocos2d::CCPointMake(0.f, 0.f); - m_startPosition = cocos2d::CCPointMake(0.f, 0.f); - m_buttonMenu = nullptr; - m_listLayer = nullptr; - m_mainLayer = nullptr; - m_hidden = false; - m_delegate = nullptr; - } - - bool init(char const*, float, bool) = win 0x1d6700; - bool init(char const* title) { - return init(title, 220.0f, false); - } - - static GJDropDownLayer* create(const char* title, float height, bool p2) { - GJDropDownLayer* pRet = new GJDropDownLayer(); - if (pRet && pRet->init(title, height, p2)) { - pRet->autorelease(); - return pRet; - } - CC_SAFE_DELETE(pRet); - return nullptr; - } - static GJDropDownLayer* create(const char* title) { - GJDropDownLayer* pRet = new GJDropDownLayer(); - if (pRet && pRet->init(title)) { - pRet->autorelease(); - return pRet; - } - CC_SAFE_DELETE(pRet); - return nullptr; - } - - virtual void draw() = win 0x230a0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x230d0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher() = win 0x22fc0; - virtual void keyBackClicked() = win 0x1d6b20; - virtual void customSetup() {} - virtual void enterLayer() = win 0x22fa0; - virtual void exitLayer(cocos2d::CCObject*) = win 0x1d6b40; - virtual void showLayer(bool) = win 0x1d6b70; - virtual void hideLayer(bool) = win 0x1d6c60; - virtual void layerVisible() = win 0x23060; - virtual void layerHidden() = win 0x1d6d50; - virtual void enterAnimFinished() {} - virtual void disableUI() = win 0x1d6ae0; - virtual void enableUI() = win 0x1d6b00; - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; - bool m_unknown; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual void dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - // virtual ~GJEffectManager(); - // GJEffectManager() = win 0x1d7fa0; - - static GJEffectManager* create() = win 0x1db2d0; - - TodoReturn activeColorForIndex(int) = win 0x1db7b0; - TodoReturn activeOpacityForIndex(int); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn addCountToItem(int, int); - TodoReturn addMoveCalculation(CCMoveCNode*, cocos2d::CCPoint, GameObject*); - TodoReturn calculateBaseActiveColors() = win 0x1db830; - TodoReturn calculateInheritedColor(int, ColorAction*); - TodoReturn calculateLightBGColor(cocos2d::ccColor3B) = win 0x1e3b10; - TodoReturn checkCollision(int const&, int const&); - TodoReturn colorActionChanged(ColorAction*); - TodoReturn colorExists(int); - TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue); - TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool); - TodoReturn colorForIndex(int); - TodoReturn colorForPulseEffect(cocos2d::ccColor3B const&, PulseEffectAction*) = win 0x1e2010; - TodoReturn controlActionsForControlID(int, GJActionCommand); - TodoReturn controlActionsForTrigger(EffectGameObject*, GJActionCommand); - TodoReturn countForItem(int); - TodoReturn createFollowCommand(float, float, float, int, int, int, int) = win 0x1DCA10; - TodoReturn createKeyframeCommand(int, cocos2d::CCArray*, GameObject*, int, int, bool, float, float, float, float, float, float, gd::vector const&); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, bool, bool, float, float, int, int); - TodoReturn createPlayerFollowCommand(float, float, int, float, float, int, int, int); - TodoReturn createRotateCommand(float, float, int, int, int, float, bool, bool, bool, int, int); - TodoReturn createTransformCommand(double, double, double, double, bool, float, int, int, int, float, bool, bool, int, int); - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - ColorAction* getColorAction(int) = win 0x1dbe80; - ColorActionSprite* getColorSprite(int) = win 0x1dbf00; - TodoReturn getLoadedMoveOffset(gd::unordered_map>&); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getMoveCommandNode(GroupCommandObject2*); - TodoReturn getMoveCommandObject(); - TodoReturn getOpacityActionForGroup(int); - TodoReturn getSaveString(); - TodoReturn getTempGroupCommand(); - TodoReturn handleObjectCollision(bool, int, int); - TodoReturn hasActiveDualTouch(); - TodoReturn hasBeenTriggered(int, int); - TodoReturn hasPulseEffectForGroupID(int); - bool isGroupEnabled(int); - TodoReturn keyForGroupIDColor(int, cocos2d::ccColor3B const&, bool); - void loadFromState(EffectManagerState&) = win 0x1e44a0; - TodoReturn objectsCollided(int, int) = win 0x1dc3c0; - TodoReturn opacityForIndex(int); - TodoReturn opacityModForGroup(int); - TodoReturn pauseTimer(int); - TodoReturn playerButton(bool, bool); - TodoReturn playerDied() = win 0x1e29b0; - TodoReturn postCollisionCheck(); - TodoReturn postMoveActions(); - TodoReturn preCollisionCheck(); - TodoReturn prepareMoveActions(float, bool); - TodoReturn processColors(); - TodoReturn processCopyColorPulseActions() = win 0x1e1df0; - TodoReturn processInheritedColors() = win 0x1db900; - TodoReturn processMoveCalculations(); - TodoReturn processPulseActions() = win 0x1e1d30; - TodoReturn registerCollisionTrigger(int, int, int, bool, bool, gd::vector const&, int, int); - TodoReturn registerRotationCommand(GroupCommandObject2*, bool); - TodoReturn removeAllPulseActions(); - TodoReturn removeColorAction(int); - TodoReturn removePersistentFromAllItems(); - TodoReturn removePersistentFromAllTimers(); - TodoReturn removeTriggeredID(int, int); - TodoReturn reset(); - TodoReturn resetEffects(); - TodoReturn resetMoveActions(); - TodoReturn resetTempGroupCommands(bool); - TodoReturn resetToggledGroups(); - TodoReturn resetTriggeredIDs(); - TodoReturn resumeTimer(int); - TodoReturn runCountTrigger(int, int, bool, int, bool, gd::vector const&, int, int); - TodoReturn runDeathTrigger(int, bool, gd::vector const&, int, int); - TodoReturn runOpacityActionOnGroup(int, float, float, int, int); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool, bool, bool, int, int); - TodoReturn runTimerTrigger(int, double, bool, int, gd::vector const&, int, int); - TodoReturn runTouchTriggerCommand(int, bool, TouchTriggerType, TouchTriggerControl, bool, gd::vector const&, int, int) = win 0x1E2760; - TodoReturn saveCompletedMove(int, double, double); - void saveToState(EffectManagerState&) = win 0x1e42a0; - void setColorAction(ColorAction*, int); - void setFollowing(int, int, bool); - void setupFromString(gd::string); - TodoReturn shouldBlend(int); - TodoReturn spawnGroup(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObject(GameObject*, float, gd::vector const&, int, int); - TodoReturn startTimer(int, double, double, bool, bool, bool, float, bool, int, gd::vector const&, int, int); - TodoReturn storeTriggeredID(int, int); - TodoReturn timeForItem(int); - TodoReturn timerExists(int); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleItemPersistent(int, bool); - TodoReturn toggleTimerPersistent(int, bool); - TodoReturn transferPersistentItems(); - TodoReturn traverseInheritanceChain(InheritanceNode*) = win 0x1dbb50; - TodoReturn tryGetMoveCommandNode(int); - TodoReturn updateActiveOpacityEffects(); - TodoReturn updateColorAction(ColorAction*); - TodoReturn updateColorEffects(float); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateCountForItem(int, int); - TodoReturn updateEffects(float); - void updateOpacityAction(OpacityEffectAction*); - void updateOpacityEffects(float); - TodoReturn updatePulseEffects(float); - TodoReturn updateSpawnTriggers(float); - TodoReturn updateTimer(int, double); - TodoReturn updateTimers(float, float); - TodoReturn wasFollowing(int, int); - TodoReturn wouldCreateLoop(InheritanceNode*, int) = win 0x1dbe50; - - virtual bool init() = win 0x1db370; -} - -[[link(android)]] -class GJFlyGroundLayer : GJGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJFollowCommandLayer(); - - static GJFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*) = win 0x1ecb80; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x1ecc30; - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues() = win 0x1edcb0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x1eeb60; - virtual void textChanged(CCTextInputNode*) = win 0x1ee4a0; -} - -[[link(android)]] -class GJFriendRequest : cocos2d::CCNode { - // virtual ~GJFriendRequest(); - - static GJFriendRequest* create() = win 0x1194e0; - static GJFriendRequest* create(cocos2d::CCDictionary*) = win 0x1190e0; - - virtual bool init(); -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - // virtual ~GJGameLevel(); - - static GJGameLevel* create() = win 0x113a60; - static GJGameLevel* create(cocos2d::CCDictionary*, bool) = win 0x112680; - inline static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - //inlined on windows - auto level = GJGameLevel::create(); - level->dataLoaded(dict); - return level; - } - - TodoReturn areCoinsVerified() = win 0x116e00; - TodoReturn copyLevelInfo(GJGameLevel*); - void dataLoaded(DS_Dictionary*) = win 0x115060; - TodoReturn demonIconForDifficulty(DemonDifficultyType); - TodoReturn generateSettingsString(); - gd::string getAudioFileName() = win 0x114440; - int getAverageDifficulty() = win 0x114180; - char const* getCoinKey(int) = win 0x114220; - TodoReturn getLastBuildPageForTab(int); - TodoReturn getLengthKey(int, bool) = win 0x1140c0; - TodoReturn getListSnapshot(); - TodoReturn getNormalPercent(); - TodoReturn getSongName(); - gd::string getUnpackedLevelDescription() = win 0x116f10; - TodoReturn handleStatsConflict(GJGameLevel*); - inline bool isPlatformer() { - return m_levelLength == 5; - } - TodoReturn lengthKeyToString(int); - TodoReturn levelWasAltered(); - TodoReturn levelWasSubmitted(); - TodoReturn parseSettingsString(gd::string); - void saveNewScore(int, int) = win 0x114660; - void savePercentage(int percent, bool, int clicks, int attempts, bool) = win 0x113d70; - TodoReturn scoreStringToVector(gd::string&, gd::vector&); - TodoReturn scoreVectorToString(gd::vector&, int); - void setAccountID(int); - void setAttempts(int); - void setAttemptTime(int); - void setClicks(int); - void setCoinsVerified(int); - void setDailyID(int); - void setDemon(int); - void setJumps(int); - void setLastBuildPageForTab(int, int); - void setLevelID(int); - void setNewNormalPercent(int); - void setNewNormalPercent2(int); - void setNormalPercent(int); - void setObjectCount(int); - void setOriginalLevel(int); - void setPassword(int); - void setStars(int); - TodoReturn storeNewLocalScore(int, int); - TodoReturn unverifyCoins(); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x1160d0; - virtual bool canEncode(); //merged func (return true) - virtual bool init() = win 0x113b00; - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - gd::string m_unkString1; - gd::string m_unkString2; - - cocos2d::CCPoint m_unkPoint; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - bool m_friendsOnly; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - bool m_selected; - bool m_localOrSaved; - bool m_disableShake; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - int m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - bool m_unlimitedObjectsEnabled; - gd::string m_personalBests; - int m_timestamp; - int m_unkInt; - gd::string m_songIDs; - gd::string m_sfxIDs; - int m_54; - int m_bestTime; - int m_bestPoints; - int m_k111; - gd::string m_unkString3; - gd::string m_unkString4; -} - -[[link(android)]] -class GJGameLoadingLayer : cocos2d::CCLayer { - // virtual ~GJGameLoadingLayer(); - - static GJGameLoadingLayer* create(GJGameLevel* level, bool editor) = win 0x1ca920; - - void gameLayerDidUnload(); - bool init(GJGameLevel* level, bool editor) = win 0x1ca9d0; - void loadLevel() = win 0x1caab0; - static GJGameLoadingLayer* transitionToLoadingLayer(GJGameLevel* level, bool editor) = win 0x1ca820; - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - - GJGameLevel* m_level; - bool m_editor; -} - -[[link(android), depends(EventTriggerInstance), depends(SongChannelState), depends(DynamicObjectAction), depends(AdvancedFollowInstance), depends(EnterEffectInstance), depends(GameObjectPhysics), depends(GJValueTween), depends(SFXTriggerInstance)]] -class GJGameState { - // ~GJGameState(); - // GJGameState() = win 0x18d990; - - TodoReturn controlTweenAction(int, int, GJActionCommand); - TodoReturn getGameObjectPhysics(GameObject*); - TodoReturn processStateTriggers(); - void stopTweenAction(int) = win 0x18EA30; - TodoReturn tweenValue(float, float, int, float, int, float, int, int) = win 0x18e920; - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); - - float m_unk0; - float m_unk4; - cocos2d::CCPoint m_unk8; - cocos2d::CCPoint m_unk10; - cocos2d::CCPoint m_unk18; - cocos2d::CCPoint m_unk20; - cocos2d::CCPoint m_unk28; - cocos2d::CCPoint m_unk30; - cocos2d::CCPoint m_unk38; - cocos2d::CCPoint m_unk40; - cocos2d::CCPoint m_unk48; - cocos2d::CCPoint m_unk50; - cocos2d::CCPoint m_unk58; - cocos2d::CCPoint m_unk60; - cocos2d::CCPoint m_unk68; - cocos2d::CCPoint m_unk70; - cocos2d::CCPoint m_unk78; - cocos2d::CCPoint m_unk80; - cocos2d::CCPoint m_unk88; - cocos2d::CCPoint m_unk90; - cocos2d::CCPoint m_unk98; - cocos2d::CCPoint m_unka0; - cocos2d::CCPoint m_unka8; - cocos2d::CCPoint m_unkb0; - cocos2d::CCPoint m_unkb8; - cocos2d::CCPoint m_unkc0; - cocos2d::CCPoint m_unkc8; - cocos2d::CCPoint m_unkd0; - cocos2d::CCPoint m_unkd8; - cocos2d::CCPoint m_unke0; - cocos2d::CCPoint m_unke8; - cocos2d::CCPoint m_unkf0; - bool m_unkf8; - int m_unkfc; - bool m_unk100; - int m_unk104; - bool m_unk108; - cocos2d::CCPoint m_unk10c; - PAD = win 0x10, android32 0x10, android64 0x10; - float m_unk124; - float m_unk128; - PAD = win 0x1c, android32 0x1c, android64 0x1c; - float m_unk148; - PAD = win 0x1c, android32 0x1c, android64 0x1c; - bool m_unk168; - bool m_unk169; - bool m_unk16a; - float m_unk16c; - float m_unk170; - float m_unk174; - float m_unk178; - int m_unk17c; - int m_unk180; - bool m_unk184; - float m_unk188; - float m_unk18c; - int m_currentChannel; - int m_unk194; - gd::unordered_map m_unk198; - gd::unordered_map m_unk1b4; - float m_unk1d0; // unsure types of all 4 floats - float m_unk1d4; - float m_unk1d8; - float m_unk1dc; - double m_unk1e0; // unsure type - PAD = win 0x8; - int m_unk1f8; // used in PlayLayer::getCurrentPercent - PAD = win 0x18; - cocos2d::CCPoint m_unk20c; - PAD = win 0xa, android32 0xa, android64 0xa; - bool m_isDualMode; - PAD = win 0x5, android32 0x5, android64 0x5; - gd::unordered_map m_unk224; - PAD = win 0x10, android32 0x10, android64 0x10; - gd::unordered_map m_unk250; - PAD = win 0x18, android32 0x18, android64 0x24; - cocos2d::CCPoint m_unk284; - int m_unk288; - int m_unk28c; - bool m_unk290; - gd::map, int> m_unk298; - int m_unkidk; - cocos2d::CCPoint m_unk2b8; - cocos2d::CCPoint m_unk2c0; - bool m_unk2c8; - bool m_unk2c9; - bool m_unk2ca; - PAD = win 0x6, android32 0x6, android64 0x6; - bool m_unk2d0; - bool m_unk2d1; - PAD = win 0x10, android32 0x10, android64 0x10; - double m_unk2e4; // unsure type - cocos2d::CCPoint m_unk2e8; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::unordered_map m_unk2f4; - gd::map, gd::vector> m_unk310; - gd::map, int> m_unk328; - gd::unordered_map> m_unk340; - gd::unordered_map> m_unk35c; - gd::vector m_unk378; - gd::vector m_unk384; - gd::vector m_unk390; - gd::vector m_unk39c; - gd::vector m_unk3a8; - gd::vector m_unk3b4; - gd::vector m_unk3c0; - gd::unordered_set m_unk3cc; - bool m_unk3e8; - gd::vector m_unk3ec; - gd::vector m_unk3f8; - gd::vector m_unk404; - bool m_unk410; - bool m_unk411; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::unordered_map> m_unk418; - gd::map, SFXTriggerInstance> m_unk434; - gd::unordered_map m_unk44c; - gd::unordered_map> m_unk468; - gd::vector m_unk484; - PAD = win 0x1c, android32 0x1c, android64 0x1c; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate, CharacterColorDelegate { - // virtual ~GJGarageLayer(); - // GJGarageLayer() = win 0x1eec50; - - TodoReturn achievementForUnlock(int, UnlockType); - gd::string descriptionForUnlock(int, UnlockType) = win 0x1f3420; - cocos2d::CCArray* getItems(IconType); - cocos2d::CCArray* getItems(int, int, IconType, int) = win 0x1f2310; - TodoReturn getLockFrame(int, UnlockType); - static GJGarageLayer* node() = win 0x1eedc0; - void onArrow(cocos2d::CCObject* sender) = win 0x1f1bf0; - void onBack(cocos2d::CCObject* sender) = win 0x1f3c70; - void onInfo(cocos2d::CCObject* sender) = win 0x1f0c90; - void onNavigate(cocos2d::CCObject* sender) = win 0x1f1c80; - void onPaint(cocos2d::CCObject* sender) = win 0x1f3bb0; - void onSelect(cocos2d::CCObject* sender) = win 0x1f2d30; - void onSelectTab(cocos2d::CCObject* sender) = win 0x1f1cb0; - void onShards(cocos2d::CCObject* sender) = win 0x1f3b90; - void onShop(cocos2d::CCObject* sender) = win 0x1f3c00; - void onSpecial(cocos2d::CCObject* sender) = win 0x1f3110; - void onToggleItem(cocos2d::CCObject* sender) = win 0x1f3050; - void playRainbowEffect() = win 0x1f3a00; - TodoReturn playShadowEffect(); - inline static cocos2d::CCScene* scene() { - auto scene = cocos2d::CCScene::create(); - scene->addChild(GJGarageLayer::node()); - return scene; - } - void selectTab(IconType) = win 0x1f1cd0; - void setupIconSelect() = win 0x1f1170; - void setupPage(int, IconType) = win 0x1f1d70; - void setupSpecialPage() = win 0x1f2590; - void showUnlockPopupNew(int, UnlockType); - gd::string titleForUnlock(int, UnlockType) = win 0x1f32f0; - TodoReturn toggleGlow(); - void updatePlayerColors() = win 0x1f3180; - TodoReturn updatePlayerName(char const*); - - virtual bool init() = win 0x1ef250; - virtual void keyBackClicked() = win 0x1f3de0; - virtual void textInputOpened(CCTextInputNode*) = win 0x1f0e40; - virtual void textInputClosed(CCTextInputNode*) = win 0x1f0f90; - virtual void textChanged(CCTextInputNode*); - virtual void listButtonBarSwitchedPage(ListButtonBar*, int) = win 0x1f32a0; - virtual void showUnlockPopup(int, UnlockType) = win 0x1f32b0; - virtual void updateRate() = win 0x1f3880; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x1f3570; - virtual void dialogClosed(DialogLayer*) = win 0x1f36a0; - virtual void playerColorChanged() = win 0x1f3160; - - CCTextInputNode* m_usernameInput; - SimplePlayer* m_playerObject; - cocos2d::CCArray* m_tabButtons; - cocos2d::CCArray* m_pageButtons; - PAD = android32 0x8, win 0x8, android64 0x10; - bool m_hasClosed; - PAD = android32 0x3, win 0x3, android64 0x3; - IconType m_iconType; - gd::map m_iconPages; - cocos2d::CCSprite* m_cursor1; - cocos2d::CCSprite* m_cursor2; - CCMenuItemSpriteExtra* m_currentIcon; - ListButtonBar* m_iconSelection; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_rightArrow; - cocos2d::CCMenu* m_iconSelectionMenu; - int m_iconID; - IconType m_selectedIconType; -} -[[link(android)]] -class GJGradientLayer : cocos2d::CCLayerGradient { - // virtual ~GJGradientLayer(); - - static GJGradientLayer* create() = win 0x1ca710; - - virtual bool init() = win 0x1ca7b0; -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int, int) = win 0x1f73f0; - - void createLine(int) = win 0x1f7b70; - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundY(); - TodoReturn hideShadows(); - bool init(int, int) = win 0x1f74a0; - void loadGroundSprites(int, bool) = win 0x1f7900; - TodoReturn positionGround(float); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - void updateGround01Color(cocos2d::ccColor3B) = win 0x1f7ab0; - void updateGround02Color(cocos2d::ccColor3B) = win 0x1f7b10; - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateLineBlend(bool); - TodoReturn updateShadows(); - TodoReturn updateShadowXPos(float, float); - - virtual void draw() {} - virtual void showGround() = win 0x1f7e80; - virtual TodoReturn fadeInGround(float) = win 0x1f7e90; - virtual TodoReturn fadeOutGround(float) = win 0x1f8020; -} - -[[link(android)]] -class GJHttpResult : cocos2d::CCNode { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - bool init(bool, gd::string, gd::string, GJHttpType); -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - // virtual ~GJItemIcon(); - - static GJItemIcon* create(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f5010; - - void changeToLockedState(float) = win 0x1f5920; - inline static GJItemIcon* createBrowserItem(UnlockType unlockType, int itemID) { - return GJItemIcon::create(unlockType, itemID, {0xAF, 0xAF, 0xAF}, {0xFF, 0xFF, 0xFF}, false, true, true, {0xFF, 0xFF, 0xFF}); - } - TodoReturn createStoreItem(UnlockType, int, bool, cocos2d::ccColor3B); - void darkenStoreItem(cocos2d::ccColor3B) = win 0x1f5720; - TodoReturn darkenStoreItem(ShopType); - bool init(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B) = win 0x1f50f0; - float scaleForType(UnlockType) = win 0x1f59e0; - TodoReturn toggleEnabledState(bool) = win 0x1f5870; - TodoReturn unlockedColorForType(int); - - virtual void setOpacity(unsigned char) = win 0x1f55e0; -} - -[[link(android)]] -class GJLevelList : cocos2d::CCNode { - // virtual ~GJLevelList(); - - static GJLevelList* create() = win 0x11bf40; - static GJLevelList* create(cocos2d::CCDictionary*); - - TodoReturn addLevelToList(GJGameLevel*) = win 0x11c470; - TodoReturn completedLevels() = win 0x11cdd0; - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*) = win 0x11d290; - TodoReturn duplicateListLevels(GJLevelList*) = win 0x11c420; - TodoReturn frameForListDifficulty(int, DifficultyIconType) = win 0x11d7e0; - cocos2d::CCArray* getListLevelsArray(cocos2d::CCArray*) = win 0x11c7c0; - gd::string getUnpackedDescription() = win 0x11c1b0; - TodoReturn orderForLevel(int); - TodoReturn parseListLevels(gd::string); - TodoReturn removeLevelFromList(int) = win 0x11c5c0; - TodoReturn reorderLevel(int, int) = win 0x11c6d0; - TodoReturn reorderLevelStep(int, bool) = win 0x11c770; - void showListInfo() = win 0x11cef0; - TodoReturn totalLevels(); - TodoReturn updateLevelsString() = win 0x11ccb0; - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x11d5c0; - virtual bool canEncode(); - virtual bool init() = win 0x11bfe0; - - gd::vector m_levels; - int m_listID; - int m_listVersion; - int m_downloads; - int m_likes; - int m_difficulty; - int m_accountID; - int m_folder; - int m_listRevision; - int m_listOrder; - int m_original; - int m_diamonds; - int m_levelsToClaim; - bool m_unkBool; - bool m_unlisted; - bool m_friendsOnly; - bool m_uploaded; - bool m_favorite; - bool m_featured; - bool m_k100; - gd::string m_creatorName; - gd::string m_listName; - gd::string m_unkString; - gd::string m_levelsString; - gd::string m_listDesc; - int m_uploadDate; - int m_updateDate; - cocos2d::CCDictionary* m_k97; - int m_listType; - int m_M_ID; -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - // virtual ~GJLevelScoreCell(); - GJLevelScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x87cc0; - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f8930; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = win 0x1f8a20; - - BoomListView* m_listView; -} - -[[link(android)]] -class GJLocalLevelScoreCell : TableViewCell { - // virtual ~GJLocalLevelScoreCell(); - GJLocalLevelScoreCell(char const*, float, float); - - void loadFromScore(GJLocalScore*) = win 0x878f0; - TodoReturn updateBGColor(int) = win 0x87b80; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJLocalScore : cocos2d::CCObject { - // virtual ~GJLocalScore(); - - static GJLocalScore* create(int, int); - - bool init(int, int); -} - -[[link(android)]] -class GJMapObject : cocos2d::CCNode { - // virtual ~GJMapObject(); - - static GJMapObject* create(cocos2d::CCNode*); - - TodoReturn createMonster(int); - bool init(cocos2d::CCNode*); - TodoReturn monsterIdle(); - TodoReturn monsterJump(); - TodoReturn moveFinished(); - TodoReturn moveMonster(); - TodoReturn moveMonster(cocos2d::CCPoint, float); - TodoReturn playerJump(); - void setObjectOrigin(cocos2d::CCPoint, float); - TodoReturn startMonsterJumpLoop(); - TodoReturn startPlayerJumpLoop(); - TodoReturn touchMonster(); - TodoReturn updateShadow(float, float, cocos2d::CCPoint); -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - // virtual ~GJMapPack(); - - static GJMapPack* create() = win 0x117650; - static GJMapPack* create(cocos2d::CCDictionary*) = win 0x117050; - - int completedMaps() = win 0x117ab0; - bool hasCompletedMapPack() = win 0x117cd0; - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - int totalMaps() { - if (this->m_levels) { - return this->m_levels->count(); - } - - return 0; - } - - virtual bool init() = win 0x1176f0; - - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - - - -} - -[[link(android)]] -class GJMessageCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJMessageCell(); - GJMessageCell(char const*, float, float); - - void loadFromMessage(GJUserMessage*) = win 0x8a3a0; - TodoReturn markAsRead(); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init() = win 0x896b0; - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x8ad70; - virtual void uploadActionFinished(int, int) = win 0x8ae30; - virtual void uploadActionFailed(int, int) = win 0x8af10; - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJMessagePopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol, DownloadMessageDelegate { - // virtual ~GJMessagePopup(); - - static GJMessagePopup* create(GJUserMessage*) = win 0x20c7d0; - - void blockUser(); - bool init(GJUserMessage*) = win 0x20c870; - void loadFromGJMessage(GJUserMessage*); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn downloadMessageFinished(GJUserMessage*) = win 0x20db20; - virtual TodoReturn downloadMessageFailed(int) = win 0x20db70; - virtual void uploadActionFinished(int, int) = win 0x20dbb0; - virtual void uploadActionFailed(int, int) = win 0x20dcb0; - virtual void onClosePopup(UploadActionPopup*) = win 0x20dd00; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x20dd70; -} - -[[link(android)]] -class GJMGLayer : cocos2d::CCLayer { - // virtual ~GJMGLayer(); - - static GJMGLayer* create(int) = win 0x1f8030; - - TodoReturn deactivateGround(); - bool init(int) = win 0x1f80d0; - void loadGroundSprites(int, bool); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGroundColor(cocos2d::ccColor3B, bool); - TodoReturn updateGroundOpacity(unsigned char, bool); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateMG01Blend(bool); - TodoReturn updateMG02Blend(bool); - - virtual void draw() {} - virtual void showGround(); -} - -[[link(android)]] -class GJMoreGamesLayer : GJDropDownLayer { - // virtual ~GJMoreGamesLayer(); - // GJMoreGamesLayer() = win 0x1f8ff0; - - static GJMoreGamesLayer* create() = win 0x1f9090; - - TodoReturn getMoreGamesList() = win 0x1f9330; - - virtual void customSetup() = win 0x1f95e0; -} - -[[link(android)]] -class GJMPDelegate { - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn updateComments(); -} - -[[link(android)]] -class GJMultiplayerManager : cocos2d::CCNode { - // virtual ~GJMultiplayerManager(); - - static GJMultiplayerManager* sharedState(); - - void addComment(gd::string, int) = win 0x1fc100; - void addDLToActive(char const* tag, cocos2d::CCObject* obj); - void addDLToActive(char const* tag); - TodoReturn createAndAddComment(gd::string, int) = win 0x1fbfc0; - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - TodoReturn exitLobby(int); - void firstSetup(); - TodoReturn getBasePostString(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getLastCommentIDForGame(int); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0x1faf80; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const* tag); - TodoReturn joinLobby(int); - void onExitLobbyCompleted(gd::string, gd::string) = win 0x1fb820; - void onJoinLobbyCompleted(gd::string, gd::string) = win 0x1fb220; - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = win 0x1fae60; - void onUploadCommentCompleted(gd::string, gd::string) = win 0x1fbe80; - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = win 0x1fac50; - void removeDLFromActive(char const*); - void uploadComment(gd::string, int) = win 0x1fb970; - - virtual bool init() = win 0x1FB1C0; -} - -[[link(android)]] -class GJObjectDecoder : cocos2d::CCNode, ObjectDecoderDelegate { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder() = win 0x1fc3f0; - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*) = win 0x1fc490; -} - -[[link(android)]] -class GJOptionsLayer : SetupTriggerPopup { - // virtual ~GJOptionsLayer(); - // GJOptionsLayer(); - - static GJOptionsLayer* create(int); - - TodoReturn addGVToggle(char const*, char const*, char const*); - TodoReturn addToggle(char const*, int, bool, char const*); - TodoReturn addToggleInternal(char const*, int, bool, char const*) = win 0x206350; - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - bool init(int) = win 0x205f80; - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual void setupOptions() {} - virtual TodoReturn didToggleGV(gd::string) = win 0x203b00; - virtual void didToggle(int) {} -} - -[[link(android)]] -class GJPathPage : FLAlertLayer, FLAlertLayerProtocol, GJPurchaseDelegate { - // virtual ~GJPathPage(); - - static GJPathPage* create(int, GJPathsLayer*) = win 0x1fd2c0; - - bool init(int, GJPathsLayer*) = win 0x1fd370; - void onActivatePath(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onUnlock(cocos2d::CCObject* sender); - TodoReturn playUnlockAnimation(); - void showCantAffordMessage(GJStoreItem*); - TodoReturn unlockAnimationFinished(); - TodoReturn unlockAnimationStep2(); - TodoReturn unlockAnimationStep3(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x200110; - virtual void show(); - virtual TodoReturn didPurchaseItem(GJStoreItem*) = win 0x1fee60; -} - -[[link(android)]] -class GJPathRewardPopup : FLAlertLayer { - // virtual ~GJPathRewardPopup(); - - static GJPathRewardPopup* create(int) = win 0x200930; - - TodoReturn closePopup(); - bool init(int) = win 0x2009d0; - void onClaim(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} -} - -[[link(android)]] -class GJPathsLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~GJPathsLayer(); - - static GJPathsLayer* create() = win 0x1fcb20; - - TodoReturn darkenButtons(bool); - static gd::string nameForPath(int) = win 0x1fc9a0; - void onClose(cocos2d::CCObject* sender); - void onPath(cocos2d::CCObject* sender) = win 0x1fd0a0; - - virtual bool init() = win 0x1fcbc0; - virtual void onExit() = win 0x1fd060; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x1fd200; - virtual void show() = win 0x5D6D0; -} - -[[link(android)]] -class GJPathSprite : CCSpriteCOpacity { - // virtual ~GJPathSprite(); - - static GJPathSprite* create(int) = win 0x200120; - - TodoReturn addRankLabel(int); - TodoReturn addShardSprite(); - TodoReturn changeToLockedArt(); - bool init(int) = win 0x2001e0; - TodoReturn updateState() = win 0x2002c0; - - int m_pathNumber; -} - -[[link(android)]] -class GJPFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJPFollowCommandLayer(); - - static GJPFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*) = win 0x2010e0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x201190; - void onUpdateGroupID(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateMaxSpeed(); - TodoReturn updateMaxSpeedLabel(); - TodoReturn updateOffsetLabel(); - TodoReturn updatePlayerOffset(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues() = win 0x2027d0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x203630; - virtual void textChanged(CCTextInputNode*) = win 0x202f60; -} - -[[link(android)]] -class GJPromoPopup : FLAlertLayer { - // virtual ~GJPromoPopup(); - - static GJPromoPopup* create(gd::string) = win 0x216860; - - bool init(gd::string) = win 0x216920; - void onClose(cocos2d::CCObject* sender); - - virtual void onExit() = win 0x216bb0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPurchaseDelegate { - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJRequestCell(); - GJRequestCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x896e0; - TodoReturn markAsRead(); - void onDeleteRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x89f80; - virtual void uploadActionFinished(int, int) = win 0x8a050; - virtual void uploadActionFailed(int, int) = win 0x8a160; - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJRewardDelegate { - virtual void rewardsStatusFinished(int); - virtual void rewardsStatusFailed(); -} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - // virtual ~GJRewardItem(); - - static GJRewardItem* create(); - static GJRewardItem* create(int, int, gd::string); - - TodoReturn createSpecial(GJRewardType, int, int, SpecialRewardItem, int, SpecialRewardItem, int, int, int) = win 0x181cd0; - TodoReturn createWithCoder(DS_Dictionary*) = win 0x1826b0; - TodoReturn createWithObject(GJRewardType, GJRewardObject*); - TodoReturn createWithObjects(GJRewardType, cocos2d::CCArray*) = win 0x181e10; - void dataLoaded(DS_Dictionary*); - TodoReturn getNextShardType(SpecialRewardItem); - TodoReturn getRandomNonMaxShardType(); - TodoReturn getRandomShardType(); - TodoReturn getRewardCount(SpecialRewardItem); - TodoReturn getRewardObjectForType(SpecialRewardItem) = win 0x1825b0; - bool init(int, int, gd::string); - bool isShardType(SpecialRewardItem); - TodoReturn rewardItemToStat(SpecialRewardItem); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - // virtual ~GJRewardObject(); - - static GJRewardObject* create() = win 0x181ba0; - static GJRewardObject* create(SpecialRewardItem, int, int) = win 0x181c30; - - TodoReturn createItemUnlock(UnlockType, int); - TodoReturn createWithCoder(DS_Dictionary*) = win 0x181d60; - void dataLoaded(DS_Dictionary*); - bool init(SpecialRewardItem, int, int); - bool isSpecialType(); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x181db0; - virtual bool canEncode(); - - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - // virtual ~GJRobotSprite(); - // GJRobotSprite() = win 0x217330; - - static GJRobotSprite* create(int) = win 0x217510; - - TodoReturn hideGlow(); - bool init(int, gd::string) = win 0x2175e0; - bool init(int); - void showGlow(); - TodoReturn updateColor01(cocos2d::ccColor3B); - TodoReturn updateColor02(cocos2d::ccColor3B); - TodoReturn updateColors() = win 0x217b70; - TodoReturn updateFrame(int) = win 0x2180b0; - void updateGlowColor(cocos2d::ccColor3B, bool) = win 0x217b10; - - virtual void setOpacity(unsigned char) = win 0x217ff0; - virtual TodoReturn hideSecondary() = win 0x218680; -} - -[[link(android)]] -class GJRotateCommandLayer : SetupTriggerPopup { - // virtual ~GJRotateCommandLayer(); - - static GJRotateCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onFollowRotation(cocos2d::CCObject* sender); - void onLockRotation(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn sliderTimesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateCommandTimes(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateTimesLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - // virtual ~GJRotationControl(); - - static GJRotationControl* create() = win 0xddc40; - - TodoReturn finishTouch() = win 0xddf70; - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init() = win 0xddce0; - virtual void draw() = win 0xde140; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xddfd0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xde0b0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xde120; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual void angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - // virtual ~GJScaleControl(); - - static GJScaleControl* create() = win 0xde1c0; - - TodoReturn finishTouch(); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&) = win 0xde650; - TodoReturn scaleFromValue(float); - TodoReturn skewFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabelX(float); - TodoReturn updateLabelXY(float); - TodoReturn updateLabelY(float); - TodoReturn valueFromScale(float); - TodoReturn valueFromSkew(float); - - virtual bool init() = win 0xde260; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xdedc0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xdef50; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xdf410; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleXChanged(float); - virtual TodoReturn scaleYChanged(float); - virtual void scaleXYChanged(float, float); - virtual TodoReturn scaleChangeBegin(); - virtual void scaleChangeEnded(); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x865b0; - void onBan(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender) = win 0x876f0; - TodoReturn updateBGColor(int); - - virtual bool init() = win 0x83190; - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x87810; - - GJUserScore* m_score; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode) = win 0x11a480; - static GJSearchObject* create(SearchType searchType, gd::string searchQuery) = win 0x11a380; - static GJSearchObject* create(SearchType searchType) = win 0x11a290; - static GJSearchObject* createFromKey(char const* key) = win 0x119ee0; - - char const* getKey() = win 0x11a7d0; - char const* getNextPageKey(); - GJSearchObject* getNextPageObject(); - GJSearchObject* getPageObject(int page) = win 0x11aa90; - GJSearchObject* getPrevPageObject(); - char const* getSearchKey(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode); - bool init(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode) = win 0x11a630; - bool isLevelSearchObject() = win 0x11ade0; - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_total; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - bool m_legendaryFilter; - bool m_mythicFilter; - GJDifficulty m_demonFilter; - int m_folder; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; - bool m_searchIsOverlay; - int m_searchMode; -} - -[[link(android)]] -class GJShaderState { - TodoReturn reset(); - TodoReturn stopTweenAction(int); - TodoReturn timesyncShaderAction(int); - TodoReturn timesyncShaderActions(); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); -} - -[[link(android)]] -class GJShopLayer : cocos2d::CCLayer, GJPurchaseDelegate, DialogDelegate, RewardedVideoDelegate { - // virtual ~GJShopLayer(); - - static GJShopLayer* create(ShopType) = win 0x219ad0; - - TodoReturn exitVideoAdItems(); - bool init(ShopType) = win 0x219b70; - void onBack(cocos2d::CCObject* sender); - void onCommunityCredits(cocos2d::CCObject* sender); - void onPlushies(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x21b2c0; - void onVideoAd(cocos2d::CCObject* sender); - TodoReturn scene(ShopType) = win 0x219a90; - void showCantAffordMessage(GJStoreItem*); - void showReactMessage() = win 0x21be50; - TodoReturn updateCurrencyCounter(); - - virtual void onExit() = win 0x21b120; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x21caa0; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x21be30; - virtual TodoReturn didPurchaseItem(GJStoreItem*) = win 0x21b7a0; - virtual TodoReturn rewardedVideoFinished() = win 0x21b240; - virtual void dialogClosed(DialogLayer*) = win 0x21c8d0; -} - -[[link(android)]] -class GJSmartBlockPreview : cocos2d::CCNode { - // virtual ~GJSmartBlockPreview(); - - static GJSmartBlockPreview* create(gd::string) = win 0x222fc0; - - TodoReturn addChance(int, int); - TodoReturn addCount(int); - TodoReturn addPreview(gd::string, gd::string, LevelEditorLayer*); - TodoReturn addTemplateGuide(gd::string, int); - TodoReturn addTemplateGuide(SmartPrefabResult, float); - TodoReturn createInfoLabel(); - bool init(gd::string) = win 0x223080; - TodoReturn toggleSelectItem(bool); -} - -[[link(android)]] -class GJSmartBlockPreviewSprite : cocos2d::CCNode { - // virtual ~GJSmartBlockPreviewSprite(); - - static GJSmartBlockPreviewSprite* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class GJSmartPrefab : cocos2d::CCObject { - // virtual ~GJSmartPrefab(); - - static GJSmartPrefab* create() = win 0x222e20; - - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*) = win 0x222ee0; - bool init(); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x222f80; - virtual bool canEncode(); -} - -[[link(android)]] -class GJSmartTemplate : cocos2d::CCObject { - // virtual ~GJSmartTemplate(); - - static GJSmartTemplate* create() = win 0x21e860; - - TodoReturn applyTransformationsForType(SmartBlockType, cocos2d::CCSprite*); - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*) = win 0x222ab0; - TodoReturn flipBlockType(SmartBlockType, bool, bool); - TodoReturn flipBlockTypeX(SmartBlockType); - TodoReturn flipBlockTypeY(SmartBlockType); - TodoReturn flipKey(gd::string, bool, bool); - TodoReturn generateRemapDict(); - TodoReturn getNoCornerKey(gd::string); - TodoReturn getPrefab(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn getPrefab(gd::string, bool, bool); - TodoReturn getPrefabs(gd::string); - TodoReturn getPrefabWithID(gd::string, int); - TodoReturn getRandomPrefab(gd::string); - TodoReturn getSimplifiedKey(gd::string); - TodoReturn getSimplifiedType(SmartBlockType, bool&); - TodoReturn getTemplateState(gd::vector&); - TodoReturn getTotalChanceForPrefab(gd::string); - TodoReturn getVerySimplifiedKey(gd::string); - bool init() = win 0x21e900; - bool isUnrequired(gd::string); - TodoReturn keyFromNeighbors(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn keyFromNeighbors(SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType); - TodoReturn keyFromNeighborsOld(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn logTemplateStatus(bool) = win 0x222330; - TodoReturn offsetForDir(GJSmartDirection, int); - TodoReturn offsetForObject(SmartGameObject*); - TodoReturn offsetForType(SmartBlockType); - TodoReturn removePrefab(gd::string, int); - TodoReturn resetScannedPrefabs(); - TodoReturn rotateBlockType(SmartBlockType, int); - TodoReturn rotateBlockType90(SmartBlockType); - TodoReturn rotateKey(gd::string, int); - TodoReturn savePrefab(gd::string, gd::string); - TodoReturn saveRemap(gd::string); - TodoReturn saveRemapToDict(gd::string, gd::string, cocos2d::CCDictionary*); - TodoReturn scanForPrefab(gd::string); - TodoReturn shouldDiscardObject(SmartBlockType, GJSmartDirection); - TodoReturn smartObjectToType(SmartGameObject*, cocos2d::CCPoint); - TodoReturn smartTypeToObjectKey(SmartBlockType); - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x222d30; - virtual bool canEncode(); -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol, TableViewCellDelegate { - // virtual ~GJSongBrowser(); - - static GJSongBrowser* create() = win 0x224e80; - - void loadPage(int) = win 0x2253c0; - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual bool init() = win 0x224fe0; - virtual void customSetup() = win 0x225080; - virtual void exitLayer(cocos2d::CCObject*) = win 0x225010; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x2257d0; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x225990; - virtual TodoReturn getSelectedCellIdx() = win 0x2259d0; - - int m_page; - int m_songID; - bool m_selected; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - cocos2d::CCLabelBMFont* m_countText; - PAD = android32 0x8; - cocos2d::CCArray* m_downloadedSongs; - CustomListView* m_listView; -} - -[[link(android)]] -class GJSpecialColorSelect : FLAlertLayer { - // virtual ~GJSpecialColorSelect(); - - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*, ColorSelectType) = win 0x225b40; - - TodoReturn getButtonByTag(int); - TodoReturn highlightSelected(ButtonSprite*); - bool init(int, GJSpecialColorSelectDelegate*, ColorSelectType) = win 0x225bf0; - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - static const char* textForColorIdx(int) = win 0x2265d0; - - virtual void keyBackClicked() = win 0x226590; -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual void colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - // virtual ~GJSpiderSprite(); - - static GJSpiderSprite* create(int) = win 0x2186e0; - - bool init(int); -} - -[[link(android)]] -class GJSpriteColor { - // GJSpriteColor() = win 0x12ff60; - - TodoReturn getColorMode(); - - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - -} - -[[link(android)]] -class GJStoreItem : cocos2d::CCNode { - // virtual ~GJStoreItem(); - - static GJStoreItem* create(int, int, int, int, ShopType) = win 0x182d20; - - TodoReturn getCurrencyKey() = win 0x182ed0; - bool init(int, int, int, int, ShopType) = win 0x182dd0; -} - -[[link(android)]] -class GJTransformControl : cocos2d::CCLayer { - // virtual ~GJTransformControl(); - - static GJTransformControl* create() = win 0xdf700; - - TodoReturn applyRotation(float) = win 0xe14d0; - TodoReturn calculateRotationOffset(); - TodoReturn finishTouch(); - void loadFromState(GJTransformState&); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&) = win 0xdfda0; - TodoReturn logCurrentZeroPos(); - void onToggleLockScale(cocos2d::CCObject* sender); - TodoReturn refreshControl(); - void saveToState(GJTransformState&); - TodoReturn scaleButtons(float) = win 0xdfd10; - TodoReturn spriteByTag(int); - TodoReturn updateAnchorSprite(cocos2d::CCPoint); - void updateButtons(bool, bool) = win 0xdffc0; - TodoReturn updateMinMaxPositions(); - - virtual bool init() = win 0xdf7a0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xe0c60; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xe0de0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0xe1330; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJTransformControlDelegate { - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformChangeBegin(); - virtual void transformChangeEnded(); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn getTransformNode(); - virtual TodoReturn getUI(); -} - -[[link(android)]] -class GJUINode : cocos2d::CCNode { - // virtual ~GJUINode(); - - static GJUINode* create(UIButtonConfig&) = win 0x3c0230; - - TodoReturn activeRangeTouchTest(cocos2d::CCPoint); - TodoReturn activeTouchTest(cocos2d::CCPoint); - TodoReturn getButtonScale(); - TodoReturn getOpacity(); - TodoReturn highlightButton(int); - bool init(UIButtonConfig&) = win 0x3c02d0; - void loadFromConfig(UIButtonConfig&); - TodoReturn resetState() = win 0x3c04f0; - TodoReturn saveToConfig(UIButtonConfig&); - void setOpacity(unsigned char); - TodoReturn toggleHighlight(int, bool); - void toggleModeB(bool); - TodoReturn touchEnded(); - TodoReturn touchTest(cocos2d::CCPoint); - TodoReturn updateButtonFrames(); - TodoReturn updateButtonPositions(); - TodoReturn updateButtonScale(float); - TodoReturn updateDeadzone(int); - TodoReturn updateDragRadius(float); - TodoReturn updateHeight(float); - TodoReturn updateRangePos(cocos2d::CCPoint); - TodoReturn updateSize(float, float); - TodoReturn updateWidth(float); - - virtual void draw() = win 0x3c0de0; -} - -[[link(android)]] -class GJUnlockableItem : cocos2d::CCObject { - // virtual ~GJUnlockableItem(); - - static GJUnlockableItem* create(); - - bool init(); -} - -[[link(android)]] -class GJUserCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJUserCell(); - GJUserCell(char const*, float, float); - - void loadFromScore(GJUserScore*) = win 0x88750; - void onCancelFriendRequest(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init() = win 0x88730; - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x891b0; - virtual void uploadActionFinished(int, int) = win 0x89350; - virtual void uploadActionFailed(int, int) = win 0x89460; - virtual void onClosePopup(UploadActionPopup*) = win 0x894b0; -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - // virtual ~GJUserMessage(); - - static GJUserMessage* create() = win 0x119d90; - static GJUserMessage* create(cocos2d::CCDictionary*); - - virtual bool init() = mac 0x52d2d0; - - int m_messageID; -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - // virtual ~GJUserScore(); - - static GJUserScore* create() = win 0x118ea0; - static GJUserScore* create(cocos2d::CCDictionary*) = win 0x117ea0; - - bool isCurrentUser() = win 0x118fa0; - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init() = win 0x118f40; - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_moons; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_color3; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerSwing; - int m_playerJetpack; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - int m_newFriendCount; - bool m_newFriendRequest; -} - -[[link(android)]] -class GJValueTween { - void step(float); -} - -[[link(android)]] -class GJWorldNode : cocos2d::CCNode { - // virtual ~GJWorldNode(); - - static GJWorldNode* create(int, WorldSelectLayer*); - - TodoReturn addDotsToLevel(int, bool); - TodoReturn dotPositionForLevel(int, int); - bool init(int, WorldSelectLayer*); - void onLevel(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn positionForLevelButton(int); - TodoReturn unlockActiveItem(); -} - -[[link(android)]] -class GJWriteMessagePopup : FLAlertLayer, TextInputDelegate, UploadMessageDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~GJWriteMessagePopup(); - - static GJWriteMessagePopup* create(int, int) = win 0x20df90; - - TodoReturn closeMessagePopup(bool); - bool init(int, int) = win 0x20e040; - void onClearBody(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - TodoReturn updateBody(gd::string) = win 0x20f0e0; - TodoReturn updateCharCountLabel(int) = win 0x20f340; - TodoReturn updateSubject(gd::string) = win 0x20f060; - TodoReturn updateText(gd::string, int) = win 0x20f160; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x20ef70; - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x20ef80; - virtual void uploadMessageFinished(int) = win 0x20f400; - virtual void uploadMessageFailed(int) = win 0x20f440; - virtual void onClosePopup(UploadActionPopup*) = win 0x20f470; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x20f4f0; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - TodoReturn getSaveString(); - TodoReturn load(); - void loadDataFromFile(gd::string const&) = win 0x47690; - void loadFromCompressedString(gd::string&); - void loadFromString(gd::string&); - inline void save() { - saveGMTo(m_fileName); - } - TodoReturn saveData(DS_Dictionary*, gd::string); - void saveGMTo(gd::string) = win 0x47580; - TodoReturn tryLoadData(DS_Dictionary*, gd::string const&); - inline GManager() {} - - virtual bool init(); - virtual void setup() = win 0x472c0; - virtual void encodeDataTo(DS_Dictionary*); - virtual void dataLoaded(DS_Dictionary*); - virtual void firstLoad(); - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn() {} -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState() = win 0x478b0; - - void googlePlaySignedIn(); - - virtual bool init(); -} - -[[link(android)]] -class GradientTriggerObject : EffectGameObject { - // virtual ~GradientTriggerObject(); - - static GradientTriggerObject* create() = win 0x3915d0; - - virtual bool init() = win 0x391670; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GraphicsReloadLayer : cocos2d::CCLayer { - // virtual ~GraphicsReloadLayer(); - - static GraphicsReloadLayer* create(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b8460; - - bool init(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool) = win 0x2b8520; - TodoReturn performReload(); - TodoReturn scene(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool); -} - -[[link(android)]] -class GravityEffectSprite : cocos2d::CCSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create() = win 0x2eba40; - - TodoReturn updateSpritesColor(cocos2d::ccColor3B) = win 0x2ebd60; - - virtual bool init() = win 0x2ebb00; - virtual void draw(); -} - -[[link(android)]] -class GroupCommandObject2 { - // ~GroupCommandObject2(); - // GroupCommandObject2(); - // GroupCommandObject2(GroupCommandObject2 const&); - - TodoReturn reset(); - TodoReturn resetDelta(bool); - TodoReturn runFollowCommand(double, double, double); - TodoReturn runMoveCommand(cocos2d::CCPoint, double, int, double, bool, bool, bool, bool, double, double); - TodoReturn runPlayerFollowCommand(double, double, int, double, double); - TodoReturn runRotateCommand(double, double, int, double, bool, int); - TodoReturn runTransformCommand(double, int, double); - TodoReturn step(float); - TodoReturn stepTransformCommand(float, bool, bool); - TodoReturn updateAction(int, float); - TodoReturn updateEffectAction(float, int); -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - // virtual ~HardStreak(); - - static HardStreak* create() = win 0x2267c0; - - void addPoint(cocos2d::CCPoint) = win 0x227250; - TodoReturn clearAboveXPos(float); - TodoReturn clearBehindXPos(float); - TodoReturn createDuplicate(); - void firstSetup() = win 0x2268C0; - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - inline void reset() { - this->clear(); - m_pointArray->removeAllObjects(); - } - TodoReturn resumeStroke(); - TodoReturn scheduleAutoUpdate(); - TodoReturn stopStroke(); - callback void updateStroke(float) = win 0x226960; - - virtual bool init() = win 0x226860; - - PAD = win 0x20; - cocos2d::CCArray* m_pointArray; - cocos2d::CCPoint m_currentPoint; - float m_waveSize; - float m_pulseSize; // win = 0x5c (0x168) - // bool m_isSolid; -} - -[[link(android)]] -class HSVLiveOverlay : FLAlertLayer, HSVWidgetDelegate { - // virtual ~HSVLiveOverlay(); - - static HSVLiveOverlay* create(GameObject*, cocos2d::CCArray*) = win 0x227740; - - void closeColorSelect(cocos2d::CCObject*); - TodoReturn createHSVWidget(int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*) = win 0x2277f0; - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn toggleControls(bool); - - virtual void keyBackClicked() = win 0x227ef0; - virtual void show(); - virtual void hsvChanged(ConfigureHSVWidget*) = win 0x227f30; -} - -[[link(android)]] -class HSVWidgetDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) {} - virtual void hsvChanged(ConfigureHSVWidget*) {} -} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - // virtual ~HSVWidgetPopup(); - - static HSVWidgetPopup* create(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string) = win 0x6a970; - - bool init(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string) = win 0x6aa50; - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x6adb0; -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - // virtual ~InfoAlertButton(); - - static InfoAlertButton* create(gd::string, gd::string, float) = win 0x228110; - - bool init(gd::string, gd::string, float) = win 0x228230; - - virtual void activate() = win 0x228330; -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - // virtual ~InfoLayer(); - - static InfoLayer* create(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x228730; - - TodoReturn confirmReport(cocos2d::CCObject*); - int getAccountID(); - int getID() { - if(m_score) return m_score->m_userID; - if(m_levelList) return - m_levelList->m_listID; - if(m_level) return m_level->m_levelID; - return 0; - } - int getRealID(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint) = win 0x22a410; - bool init(GJGameLevel*, GJUserScore*, GJLevelList*) = win 0x228810; - bool isCorrect(char const*); - void loadPage(int, bool) = win 0x22b340; - void onClose(cocos2d::CCObject* sender) = win 0x22b200; - void onComment(cocos2d::CCObject* sender) = win 0x22aba0; - void onCopyLevelID(cocos2d::CCObject* sender) = win 0x22a8f0; - void onGetComments(cocos2d::CCObject* sender) = win 0x22ad90; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x22ada0; - void onMore(cocos2d::CCObject* sender) = win 0x22aaa0; - void onNextPage(cocos2d::CCObject* sender) = win 0x22bac0; - void onOriginal(cocos2d::CCObject* sender) = win 0x22aae0; - void onPrevPage(cocos2d::CCObject* sender) = win 0x22bae0; - void onRefreshComments(cocos2d::CCObject* sender) = win 0x22a680; - void onSimilar(cocos2d::CCObject* sender); - TodoReturn reloadWindow() = win 0x22bd00; - void setupCommentsBrowser(cocos2d::CCArray*) = win 0x22b670; - void setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCObject*); - TodoReturn toggleExtendedMode(cocos2d::CCObject*); - TodoReturn toggleSmallCommentMode(cocos2d::CCObject*) = win 0x22bc10; - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x22b260; - virtual void show() = win 0x22bf40; - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) = win 0x22b800; - virtual void loadCommentsFailed(char const*) = win 0x22b850; - virtual void setupPageInfo(gd::string, char const*) = win 0x22b890; - virtual void commentUploadFinished(int) = win 0x22bb00; - virtual void commentUploadFailed(int, CommentError) = win 0x22bb90; - virtual void updateUserScoreFinished() = win 0x22b9e0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x22aa10; - - GJGameLevel* m_level; - GJUserScore* m_score; - GJLevelList* m_levelList; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_noComments; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - CommentKeyType m_mode; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject { - // virtual ~InheritanceNode(); - - static InheritanceNode* create(int, InheritanceNode*) = win 0x1d8b50; - - bool init(int, InheritanceNode*); -} - -[[link(android)]] -class ItemInfoPopup : FLAlertLayer { - // virtual ~ItemInfoPopup(); - - static ItemInfoPopup* create(int, UnlockType) = win 0x1f5ad0; - - bool init(int, UnlockType) = win 0x1f5b80; - bool isUnlockedByDefault(int, UnlockType); - TodoReturn nameForUnlockType(int, UnlockType) = win 0x1f6f40; - void onClose(cocos2d::CCObject* sender); - void onCredit(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - - int m_itemID; - UnlockType m_unlockType; - int m_accountID; -} - -[[link(android)]] -class ItemTriggerGameObject : EffectGameObject { - // virtual ~ItemTriggerGameObject(); - - static ItemTriggerGameObject* create(char const*) = win 0x3b5040; - - bool init(char const*); - - virtual void customSetup() = win 0x3b50e0; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - // virtual ~KeybindingsLayer(); - - static KeybindingsLayer* create() = win 0x22c1c0; - - TodoReturn addKeyPair(char const*, char const*) = win 0x22c9d0; - TodoReturn countForPage(int) = win 0x22ccd0; - void goToPage(int) = win 0x22d010; - TodoReturn incrementCountForPage(int) = win 0x22cda0; - TodoReturn infoKey(int); - TodoReturn layerForPage(int) = win 0x22ce80; - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init() = win 0x22c260; - virtual void keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager : cocos2d::CCNode { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState() = win 0x22d460; - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - void dataLoaded(DS_Dictionary*) = win 0x22d570; - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); -} - -[[link(android)]] -class KeyframeAnimTriggerObject : EffectGameObject { - // virtual ~KeyframeAnimTriggerObject(); - - static KeyframeAnimTriggerObject* create() = win 0x3a6cd0; - - virtual bool init() = win 0x3a6d70; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeGameObject : EffectGameObject { - // virtual ~KeyframeGameObject(); - - static KeyframeGameObject* create() = win 0x3aaf20; - - TodoReturn updateShadowObjects(GJBaseGameLayer*, EditorUI*); - - virtual bool init() = win 0x3aafc0; - virtual void setOpacity(unsigned char) = win 0x3ab230; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeObject { - // KeyframeObject(); - // KeyframeObject(KeyframeObject const&); - - TodoReturn setupSpline(gd::vector&); -} - -[[link(android)]] -class LabelGameObject : EffectGameObject { - // virtual ~LabelGameObject(); - - static LabelGameObject* create() = win 0x3a8b90; - - TodoReturn createLabel(gd::string); - TodoReturn queueUpdateLabel(gd::string); - TodoReturn removeLabel(); - TodoReturn unlockLabelColor(); - TodoReturn updateLabel(float); - TodoReturn updateLabel(gd::string); - TodoReturn updateLabelAlign(int); - TodoReturn updateLabelIfDirty(); - TodoReturn updatePreviewLabel(); - - virtual bool init() = win 0x3a8c30; - virtual void setOpacity(unsigned char) = win 0x3a8f20; - virtual void setupCustomSprites(gd::string) = win 0x3A8C70; - virtual TodoReturn addMainSpriteToParent(bool); - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - PAD = android32 0x11; - - // property 391 - int m_alignment; - - // property 389 - bool m_showSecondsOnly; - - // property 390 - int m_shownSpecial; - - // property 466 - bool m_isTimeCounter; - - // property 488 - int m_kerning; - - PAD = android32 0x8; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished() {} - virtual void updateUserScoreFailed() {} - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLeaderboardFailed(char const*) {} -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState) = win 0x22dbc0; - - bool init(LeaderboardState) = win 0x22dc60; - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn refreshTabs(); - TodoReturn scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual void keyBackClicked() = win 0x22f2f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x22f270; - virtual void updateUserScoreFinished() = win 0x22eb60; - virtual void updateUserScoreFailed() = win 0x22eb80; - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) = win 0x22eb90; - virtual void loadLeaderboardFailed(char const*) = win 0x22ec00; - - GJListLayer* m_list; - cocos2d::CCArray* m_userScores; - LeaderboardState m_state; - CCMenuItemToggler* m_topBtn; - CCMenuItemToggler* m_globalBtn; - CCMenuItemToggler* m_creatorsBtn; - CCMenuItemToggler* m_friendsBtn; - LoadingCircle* m_circle; - TextArea* m_noInternet; - cocos2d::CCArray* m_tabs; -} - -[[link(android)]] -class LevelAreaInnerLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaInnerLayer(); - - static LevelAreaInnerLayer* create(bool) = win 0x231140; - - bool init(bool) = win 0x2311e0; - void onBack(cocos2d::CCObject* sender) = win 0x232940; - void onDoor(cocos2d::CCObject* sender) = win 0x232720; - void onInfo(cocos2d::CCObject* sender) = win 0x232c30; - void onNextFloor(cocos2d::CCObject* sender) = win 0x231ef0; - bool playStep1() = win 0x232850; - TodoReturn scene(bool); - cocos2d::CCAction* showFloor1CompleteDialog() = win 0x231f40; - TodoReturn tryResumeTowerMusic() = win 0x2326a0; - - virtual void keyBackClicked() = win 0x2329a0; - virtual void dialogClosed(DialogLayer*) = win 0x232350; -} - -[[link(android)]] -class LevelAreaLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaLayer(); - - static LevelAreaLayer* create() = win 0x22f560; - - cocos2d::CCAction* addGodRay(float, float, float, float, float, cocos2d::CCPoint) = win 0x230d50; - void addTorch(cocos2d::CCNode*, cocos2d::CCPoint, int, float, int, bool) = win 0x230800; - cocos2d::CCAction* fadeInsideTower() = win 0x2306c0; - void onBack(cocos2d::CCObject* sender) = win 0x231080; - void onClickDoor(cocos2d::CCObject* sender) = win 0x230580; - bool onEnterTower() = win 0x230750; - TodoReturn scene(); - cocos2d::CCAction* showDialog() = win 0x230300; - - virtual bool init() = win 0x22f610; - virtual void keyBackClicked() = win 0x2310f0; - virtual void dialogClosed(DialogLayer*) = win 0x230570; -} - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayerColor, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate, TableViewCellDelegate, ShareCommentDelegate { - ~LevelBrowserLayer() = win 0x232c10; - - static LevelBrowserLayer* create(GJSearchObject*) = win 0x232db0; - - TodoReturn createNewLevel(cocos2d::CCObject*) = win 0x236600; - TodoReturn createNewList(cocos2d::CCObject*) = win 0x236690; - TodoReturn createNewSmartTemplate(cocos2d::CCObject*); - TodoReturn deleteSelected() = win 0x237600; - TodoReturn exitLayer(cocos2d::CCObject*); - TodoReturn getItemsMatchingSearch(cocos2d::CCArray*, gd::string, GJSearchObject*) = win 0x2371f0; - gd::string getSearchTitle() = win 0x235390; - bool init(GJSearchObject*) = win 0x232e60; - bool isCorrect(char const*) = win 0x2343a0; - void loadPage(GJSearchObject*) = win 0x2344e0; - void onClearSearch(cocos2d::CCObject* sender) = win 0x236e90; - void onDeleteAll(cocos2d::CCObject* sender) = win 0x236c30; - void onDeleteSelected(cocos2d::CCObject* sender) = win 0x237460; - void onFavorites(cocos2d::CCObject* sender) = win 0x236a10; - void onGoToFolder(cocos2d::CCObject* sender) = win 0x235d10; - void onGoToLastPage(cocos2d::CCObject* sender) = win 0x235c10; - void onGoToPage(cocos2d::CCObject* sender) = win 0x235c40; - void onHelp(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender) = win 0x236140; - void onLocalMode(cocos2d::CCObject* sender) = win 0x236500; - void onMyOnlineLevels(cocos2d::CCObject* sender) = win 0x236860; - void onNew(cocos2d::CCObject* sender) = win 0x236440; - void onNextPage(cocos2d::CCObject* sender) = win 0x235f90; - void onPrevPage(cocos2d::CCObject* sender) = win 0x235fd0; - void onRefresh(cocos2d::CCObject* sender) = win 0x236dc0; - void onRemoveAllFavorites(cocos2d::CCObject* sender); - void onSaved(cocos2d::CCObject* sender) = win 0x236b20; - void onSavedMode(cocos2d::CCObject* sender) = win 0x236470; - void onSearch(cocos2d::CCObject* sender) = win 0x236f60; - void onToggleAllObjects(cocos2d::CCObject* sender) = win 0x2376e0; - void reloadAllObjects(); - static cocos2d::CCScene* scene(GJSearchObject* search) = win 0x232d70; - void setSearchObject(GJSearchObject*); - void setupLevelBrowser(cocos2d::CCArray*) = win 0x235080; - void show() = win 0x237c60; - void updateLevelsLabel() = win 0x235b90; - void updatePageLabel() = win 0x235e80; - - virtual void onEnter() = win 0x237ae0; - virtual void onEnterTransitionDidFinish(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher() = win 0x237c20; - virtual void keyBackClicked() = win 0x236090; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x2360b0; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x2358a0; - virtual void loadLevelsFailed(char const*, int) = win 0x2359a0; - virtual void setupPageInfo(gd::string, char const*) = win 0x2359e0; - virtual void onBack(cocos2d::CCObject* sender) = win 0x236010; - virtual void shareCommentClosed(gd::string, ShareCommentLayer*) = win 0x2367c0; - virtual void setTextPopupClosed(SetTextPopup*, gd::string) = win 0x237120; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x237760; - virtual void setIDPopupClosed(SetIDPopup*, int) = win 0x235d80; - virtual TodoReturn updateResultArray(cocos2d::CCArray*) = win 0x232bd0; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x237b80; - - bool m_unk; - bool m_allSelected; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - CCMenuItemSpriteExtra* m_refreshBtn; - cocos2d::CCArray* m_selected; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - CCMenuItemToggler* m_allObjectsToggler; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - LoadingCircle* m_circle; - int m_lastPage; - bool m_isOverlay; - PAD = win 0x4, android32 0x4; - int m_zOffset; - bool m_unk2; - int m_listHeight; - PAD = win 0x16, android32 0x16; - -} - -[[link(android)]] -class LevelCell : TableViewCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float) = win 0x7d7b0; - - static LevelCell* create(float, float) = win 0x7d6f0; - - void loadCustomLevelCell() = win 0x7da60; - void loadFromLevel(GJGameLevel*) = win 0x7d8b0; - void loadLocalLevelCell() = win 0x804d0; - void onClick(cocos2d::CCObject* sender) = win 0x80e80; - void onToggle(cocos2d::CCObject* sender) = win 0x7da40; - void onViewProfile(cocos2d::CCObject* sender) = win 0x80f70; - TodoReturn updateBGColor(int); - TodoReturn updateCellMode(int) = win 0x80d80; - TodoReturn updateToggle(); - - virtual bool init() = win 0x7d880; - virtual void draw() = win 0x80fb0; - - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - CCMenuItemToggler* m_toggler; - cocos2d::CCPoint m_point; - cocos2d::CCMenu* m_mainMenu; - bool m_compactView; - int m_cellMode; -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadCommentsFailed(char const*) {} - virtual void updateUserScoreFinished() {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int) {} - virtual void levelDeleteFailed(int) {} -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*) {} - virtual void levelDownloadFailed(int) {} -} - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - // virtual ~LevelEditorLayer(); - // LevelEditorLayer() = win 0x238990; - - static LevelEditorLayer* get() { - return GameManager::sharedState()->m_levelEditorLayer; - } - - static LevelEditorLayer* create(GJGameLevel*, bool) = win 0x2399c0; - - TodoReturn activateTriggerEffect(EffectGameObject*, float, float, float, bool); - TodoReturn addDelayedSpawn(EffectGameObject*, float); - TodoReturn addExclusionList(cocos2d::CCArray*, cocos2d::CCDictionary*) = win 0x241da0; - TodoReturn addObjectFromVector(gd::vector&, gd::vector&); - TodoReturn addObjectsAtPosition(cocos2d::CCPoint, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectsInRect(cocos2d::CCRect, bool, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectToGroup(GameObject*, int); - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerCollisionBlock(); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - void addSpecial(GameObject*) = win 0x23ec50; - TodoReturn addToRedoList(UndoObject*); - TodoReturn addTouchPoint(cocos2d::CCPoint) = win 0x2509d0; - TodoReturn addToUndoList(UndoObject*, bool); - TodoReturn applyAttributeState(GameObject*, GameObject*); - TodoReturn applyGroupState(GameObject*, GameObject*); - TodoReturn breakApartTextObject(TextGameObject*); - TodoReturn canPasteState(); - TodoReturn clearPlayerPoints(); - TodoReturn clearTouchPoints(); - TodoReturn copyObjectState(GameObject*) = win 0x2477f0; - TodoReturn copyParticleState(ParticleGameObject*); - GameObject* createObject(int, cocos2d::CCPoint, bool) = win 0x23bf10; - void createObjectsFromSetup(gd::string&) = win 0x23b330; - cocos2d::CCArray* createObjectsFromString(gd::string const&, bool, bool) = win 0x23b970; - TodoReturn dirtifyTriggers(); - TodoReturn duplicateKeyframeAnimation(int); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn findGameObject(int) = win 0x23d260; - TodoReturn findStartPosObject(); - TodoReturn forceShowSelectedObjects(bool); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn getAllObjects(); - TodoReturn getDelayedSpawnNode(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getLastObjectX(); - TodoReturn getLevelString() = win 0x23db70; - TodoReturn getLockedLayers(); - TodoReturn getNextColorChannel(); - TodoReturn getNextFreeAreaEffectID(cocos2d::CCArray*); - TodoReturn getNextFreeBlockID(cocos2d::CCArray*); - TodoReturn getNextFreeEditorLayer(cocos2d::CCArray*) = win 0x241950; - TodoReturn getNextFreeEnterChannel(cocos2d::CCArray*); - TodoReturn getNextFreeGradientID(cocos2d::CCArray*); - int getNextFreeGroupID(cocos2d::CCArray*) = win 0x241530; - TodoReturn getNextFreeItemID(cocos2d::CCArray*); - TodoReturn getNextFreeOrderChannel(cocos2d::CCArray*) = win 0x241870; - TodoReturn getNextFreeSFXGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeSFXID(cocos2d::CCArray*); - TodoReturn getObjectRect(GameObject*, bool, bool) = win 0x23cb10; - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSavedEditorPosition(int); - TodoReturn getSavedEditorPositions(); - TodoReturn getSectionCount(); - TodoReturn getSelectedEditorOrder(); - TodoReturn getSelectedEffectPos(); - TodoReturn getSelectedOrderChannel(); - TodoReturn getSFXIDs(); - TodoReturn getSongIDs(bool&); - TodoReturn getTriggerGroup(int); - void handleAction(bool, cocos2d::CCArray*) = win 0x23d670; - TodoReturn hasAction(bool); - bool init(GJGameLevel*, bool) = win 0x239a70; - bool isLayerLocked(int layer) { - if (layer < 10000 && m_layerLockingEnabled) { - return m_lockedLayers.at(layer); - } - return false; - } - TodoReturn objectAtPosition(cocos2d::CCPoint) = win 0x23c610; - TodoReturn objectMoved(GameObject*) = win 0x23f080; - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect, bool); - TodoReturn onPausePlaytest() = win 0x246c70; - void onPlaytest() = win 0x2463a0; - TodoReturn onResumePlaytest() = win 0x246d60; - TodoReturn onStopPlaytest(); - TodoReturn pasteAttributeState(GameObject*, cocos2d::CCArray*) = win 0x247940; - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*) = win 0x2478d0; - TodoReturn pasteGroupState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteParticleState(ParticleGameObject*, cocos2d::CCArray*); - TodoReturn processLoadedMoveActions(); - TodoReturn quickUpdateAllPositions(); - TodoReturn recreateGroups(); - TodoReturn redoLastAction(); - TodoReturn refreshSpecial(GameObject*); - TodoReturn removeAllObjects() = win 0x23d360; - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeObject(GameObject*, bool) = win 0x23d2b0; - TodoReturn removePlayerCollisionBlock(); - void removeSpecial(GameObject*) = win 0x23f2f0; - TodoReturn resetDelayedSpawnNodes(); - TodoReturn resetEffectTriggerOptim(GameObject*, cocos2d::CCArray*); - TodoReturn resetMovingObjects(); - void resetObjectVector(); - TodoReturn resetPlayback(); - TodoReturn resetToggledGroups(); - TodoReturn resetToggledGroupsAndObjects(); - TodoReturn resetUnusedColorChannels(); - TodoReturn reverseKeyframeAnimationOrder(int); - TodoReturn reverseObjectChanged(EffectGameObject*); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn runColorEffect(EffectGameObject*, int, float, float, bool); - TodoReturn saveEditorPosition(cocos2d::CCPoint&, int); - static cocos2d::CCScene* scene(GJGameLevel*, bool) = win 0x239980; - void setObjectCount(int); - TodoReturn shouldBlend(int); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnGroupPreview(int, float, float, float, float, float, bool, bool); - TodoReturn stopPlayback(); - TodoReturn stopTriggersInGroup(int, float); - TodoReturn timeObjectChanged(); - TodoReturn toggleBackground(bool); - TodoReturn toggleGrid(bool); - TodoReturn toggleGround(bool); - TodoReturn toggleGroupPreview(int, bool); - TodoReturn toggleLockActiveLayer() = win 0x23e6a0; - TodoReturn transferDefaultColors(GJEffectManager*, GJEffectManager*); - TodoReturn triggerFollowCommand(EffectGameObject*); - TodoReturn triggerPlayerFollowCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EffectGameObject*); - TodoReturn tryUpdateSpeedObject(EffectGameObject*, bool) = win 0x23f600; - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float) = win 0x23c100; - TodoReturn undoLastAction(); - TodoReturn unlockAllLayers(); - TodoReturn updateAnimateOnTriggerObjects(bool); - TodoReturn updateArt(float); - TodoReturn updateBlendValues(); - TodoReturn updateEditor(float); - TodoReturn updateEditorMode() = win 0x2423a0; - TodoReturn updateGameObjects(); - TodoReturn updateGridLayer(); - TodoReturn updateGridLayerParent(); - TodoReturn updateKeyframeObjects(); - TodoReturn updateKeyframeVisibility(bool); - void updateLevelFont(int) = win 0x2458c0; - TodoReturn updateObjectColors(cocos2d::CCArray*); - static void updateObjectLabel(GameObject*) = win 0x23e710; - TodoReturn updateOptions() = win 0x23afa0; - TodoReturn updatePreviewAnim() = win 0x247c90; - void updatePreviewParticle(ParticleGameObject*) = win 0x247ec0; - TodoReturn updatePreviewParticles() = win 0x247e20; - TodoReturn updateToggledGroups(); - TodoReturn validGroup(GameObject*, bool); - - virtual void draw(); - virtual void postUpdate(float) = win 0x2475d0; - virtual void updateVisibility(float) = win 0x23fa90; - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual void updateDebugDraw(); - virtual void addToGroup(GameObject*, int, bool); - virtual void removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) = win 0x245020; - virtual float posForTime(float) = win 0x2450B0; - virtual void resetSPTriggered(); - virtual TodoReturn didRotateGameplay() = win 0x2460b0; - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void levelSettingsUpdated() = win 0x23b2b0; - - bool m_drawTriggerBoxes; - bool m_showGrid; - bool m_hideGridOnPlay; - bool m_drawEffectLines; - bool m_showGround; - bool m_showDurationLines; - bool m_increaseMaxUndoRedo; - bool m_hideBackground; - bool m_gv0120; - bool m_layerLockingEnabled; - bool m_unkBool4; - bool m_previewParticles; - bool m_previewAnimations; - bool m_previewShaders; - bool m_hideParticleIcons; - bool m_unkBool5; - bool m_playTestSmoothFix; - - // haven't verified the mac padding - PAD = win 0xf, android32 0xf, android64 0xf, mac 0xf; - - cocos2d::CCArray* m_unkArr0; - cocos2d::CCArray* m_unkArr1; - cocos2d::CCArray* m_unkArr2; - cocos2d::CCArray* m_unkArr3; - cocos2d::CCArray* m_unkArr4; - cocos2d::CCArray* m_unkArr8; - cocos2d::CCArray* m_unkArr11; - cocos2d::CCArray* m_unkArr12; - cocos2d::CCArray* m_unkArr13; - cocos2d::CCDictionary* m_unkDict3; - cocos2d::CCArray* m_unkArr5; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x10, mac 0x10; - - cocos2d::CCDictionary* m_unkDict4; - cocos2d::CCArray* m_unkArr7; - bool m_unkBool3; - bool m_unkBool2; - geode::SeedValueRSV m_coinCount; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x8, mac 0x8; - - cocos2d::CCArray* m_unkArr6; - - // haven't verified the mac padding - PAD = win 0x4, android32 0x4, android64 0x8, mac 0x8; - - cocos2d::CCDictionary* m_unkDict1; - cocos2d::CCDictionary* m_unkDict2; - bool m_unkBool0; - bool m_unkBool1; - short m_currentLayer; - - // haven't verified the mac padding - PAD = win 0x18, android32 0x18, android64 0x24, mac 0x24; - - EditorUI* m_editorUI; - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; - geode::SeedValueRSV m_objectCount; - DrawGridLayer* m_drawGridLayer; - bool m_unkBool; - bool m_previewMode; - - PAD = win 0x86, android32 0x7a, android64 0xfa; - - gd::vector m_lockedLayers; -} - -[[link(android)]] -class LevelFeatureLayer : FLAlertLayer { - // virtual ~LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetEpicOnly(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onToggleEpic(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate, TableViewCellDelegate { - // virtual ~LevelInfoLayer(); - // LevelInfoLayer() = win 0x2511a0; - - static LevelInfoLayer* create(GJGameLevel*, bool) = win 0x2515f0; - - void confirmClone(cocos2d::CCObject*) = win 0x2560f0; - void confirmDelete(cocos2d::CCObject*); - void confirmMoveToBottom(cocos2d::CCObject*) = win 0x256cb0; - void confirmMoveToTop(cocos2d::CCObject*) = win 0x256c40; - void confirmOwnerDelete(cocos2d::CCObject*); - void downloadLevel() = win 0x2539a0; - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*, bool) = win 0x2516a0; - TodoReturn loadLevelStep(); - void onAddToList(cocos2d::CCObject* sender) = win 0x253540; - void onBack(cocos2d::CCObject* sender) = win 0x257c80; - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender) = win 0x2562c0; - void onFavorite(cocos2d::CCObject* sender) = win 0x253760; - void onFeatured(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender) = win 0x253830; - void onInfo(cocos2d::CCObject* sender) = win 0x255ee0; - void onLevelInfo(cocos2d::CCObject* sender) = win 0x256a70; - void onLevelLeaderboard(cocos2d::CCObject* sender) = win 0x2537d0; - void onLike(cocos2d::CCObject* sender) = win 0x256660; - void onLowDetailMode(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender) = win 0x256370; - void onPlay(cocos2d::CCObject* sender) = win 0x2555b0; - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateDemon(cocos2d::CCObject* sender) = win 0x256620; - void onRateStars(cocos2d::CCObject* sender) = win 0x2564f0; - void onRateStarsMod(cocos2d::CCObject* sender) = win 0x2565d0; - void onSetFolder(cocos2d::CCObject* sender) = win 0x253680; - void onUpdate(cocos2d::CCObject* sender) = win 0x2568b0; - void onViewProfile(cocos2d::CCObject* sender) = win 0x256a10; - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn playStep4(); - static cocos2d::CCScene* scene(GJGameLevel*, bool) = win 0x2515b0; - void setupLevelInfo() = win 0x2544a0; - void setupPlatformerStats() = win 0x253a90; - void setupProgressBars() = win 0x253e20; - bool shouldDownloadLevel() = win 0x253890; - void showSongWarning() = win 0x255510; - void showUpdateAlert(UpdateResponse) = win 0x255280; - void tryCloneLevel(cocos2d::CCObject*) = win 0x255f10; - TodoReturn tryShowAd(); - void updateLabelValues() = win 0x256d20; - TodoReturn updateSideButtons(); - - virtual void keyBackClicked() = win 0x257d50; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x257d60; - virtual void numberInputClosed(NumberInputLayer*) = win 0x255fc0; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x253590; - virtual void levelDownloadFinished(GJGameLevel*) = win 0x254f00; - virtual void levelDownloadFailed(int) = win 0x255120; - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) = win 0x255230; - virtual void levelUpdateFailed(int) = win 0x255320; - virtual void levelDeleteFinished(int) = win 0x255430; - virtual void levelDeleteFailed(int) = win 0x2554a0; - virtual void rateLevelClosed() = win 0x256610; - virtual void likedItem(LikeItemType, int, bool) = win 0x2566d0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x257b00; - virtual void setIDPopupClosed(SetIDPopup*, int) = win 0x2536e0; - - void* m_unk0; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_coins; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; - cocos2d::CCSprite* m_likesIcon; - cocos2d::CCSprite* m_orbsIcon; - int m_unk6; // always 3, maybe level type? - int m_unk7; - LoadingCircle* m_circle; - GJDifficultySprite* m_difficultySprite; - cocos2d::CCSprite* m_starsIcon; - cocos2d::CCLabelBMFont* m_starsLabel; - cocos2d::CCArray* m_icons; - PAD = win 0x10, android32 0x10, android64 0x10; - bool m_challenge; - PAD = win 0x4, android32 0x4, android64 0x8; - cocos2d::CCSprite* m_playSprite; - void* m_unk11; - CustomSongWidget* m_songWidget; -} - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LevelLeaderboard(); - - static LevelLeaderboard* create(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x257fa0; - - TodoReturn deleteLocalScores(); - TodoReturn getLocalScores(); - TodoReturn getSpriteButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint, int); - bool init(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode) = win 0x258060; - bool isCorrect(char const*); - TodoReturn loadScores(); - void onChangeMode(cocos2d::CCObject* sender) = win 0x2595f0; - void onChangeType(cocos2d::CCObject* sender) = win 0x2595a0; - void onClose(cocos2d::CCObject* sender) = win 0x6a750; - void onDeleteLocalScores(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender) = win 0x259630; - TodoReturn reloadLeaderboard(LevelLeaderboardType, LevelLeaderboardMode) = win 0x2594f0; - TodoReturn setupLeaderboard(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x5d6d0; //merged func - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) = win 0x259880; - virtual void loadLeaderboardFailed(char const*) = win 0x259910; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x2590f0; - virtual void updateUserScoreFinished() = win 0x2594d0; - virtual void updateUserScoreFailed() = win 0x2594e0; - - GJGameLevel* m_level; - LevelLeaderboardType m_type; - LevelLeaderboardMode m_mode; - cocos2d::CCArray* m_scores; - GJCommentListLayer* m_list; - LoadingCircle* m_circle; - TextArea* m_noInternet; - CCMenuItemSpriteExtra* m_refreshBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_pointsBtn; -} - -[[link(android)]] -class LevelListCell : TableViewCell { - // virtual ~LevelListCell(); - LevelListCell(char const*, float, float); - - static LevelListCell* create(float, float); - - void loadFromList(GJLevelList*) = win 0x8b570; - void onClick(cocos2d::CCObject* sender) = win 0x8c8b0; - void onListInfo(cocos2d::CCObject* sender) = win 0x8c9a0; - void onViewProfile(cocos2d::CCObject* sender) = win 0x8c9c0; - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - - GJLevelList* m_levelList; - bool m_addingLevel; -} - -[[link(android)]] -class LevelListDeleteDelegate { - virtual void levelListDeleteFinished(int) {} - virtual void levelListDeleteFailed(int) {} -} - -[[link(android)]] -class LevelListLayer : LevelBrowserLayer, TextInputDelegate, SelectListIconDelegate, LikeItemDelegate, LevelListDeleteDelegate { - // virtual ~LevelListLayer(); - - static LevelListLayer* create(GJLevelList*) = win 0x25a1e0; - - void cloneList() = win 0x25da00; - void confirmClone(cocos2d::CCObject*); - void confirmDelete(cocos2d::CCObject*); - void confirmOwnerDelete(cocos2d::CCObject*); - bool init(GJLevelList*) = win 0x25a280; - void onClaimReward(cocos2d::CCObject* sender); - void onDelete() = win 0x25dc30; - void onDescription(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onRefreshLevelList(cocos2d::CCObject* sender); - void onSelectIcon(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onToggleEditMode(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - void ownerDelete() = win 0x25dce0; - static cocos2d::CCScene* scene(GJLevelList*); - TodoReturn updateEditMode() = win 0x25d960; - TodoReturn updateSideButtons() = win 0x25d770; - TodoReturn updateStatsArt() = win 0x25bab0; - TodoReturn verifyListName() = win 0x25e150; - - virtual void onEnter() = win 0x25ba70; - virtual void onExit() = win 0x25ba90; - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) = win 0x25ce60; - virtual void loadLevelsFailed(char const*, int); - virtual void onBack(cocos2d::CCObject* sender) = win 0x25d190; - virtual void shareCommentClosed(gd::string, ShareCommentLayer*) = win 0x25d5c0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x25d3b0; - virtual void setIDPopupClosed(SetIDPopup*, int) = win 0x25d110; - virtual TodoReturn updateResultArray(cocos2d::CCArray*) = win 0x25d180; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x25cf90; - virtual void likedItem(LikeItemType, int, bool) = win 0x25d720; - virtual TodoReturn iconSelectClosed(SelectListIconLayer*) = win 0x25d850; - virtual void levelListDeleteFinished(int) = win 0x25dd30; - virtual void levelListDeleteFailed(int) = win 0x25dda0; - virtual void textInputOpened(CCTextInputNode*) = win 0x25df40; - virtual void textInputClosed(CCTextInputNode*) = win 0x25de10; - virtual void textChanged(CCTextInputNode*) = win 0x25e080; -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) {} - virtual void loadLevelsFailed(char const*, int) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelOptionsLayer : GJOptionsLayer { - // virtual ~LevelOptionsLayer(); - - static LevelOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onSettings(cocos2d::CCObject* sender); - - virtual void valueDidChange(int, float) = win 0x271c40; - virtual TodoReturn getValue(int) = win 0x271c60; - virtual void setupOptions() = win 0x271840; - virtual void didToggle(int) = win 0x271c90; -} - -[[link(android)]] -class LevelOptionsLayer2 : LevelOptionsLayer { - // virtual ~LevelOptionsLayer2(); - - static LevelOptionsLayer2* create(LevelSettingsObject*) = win 0x271f10; - - bool init(LevelSettingsObject*) = win 0x271fb0; - - virtual void setupOptions() = win 0x272080; -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelPage(); - - static LevelPage* create(GJGameLevel*) = win 0x268f30; - - TodoReturn addSecretCoin() = win 0x26b3b0; - TodoReturn addSecretDoor(); - bool init(GJGameLevel*) = win 0x268ff0; - void onInfo(cocos2d::CCObject* sender) = win 0x26c400; - void onMoreGames(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender) = win 0x26c080; - void onSecretDoor(cocos2d::CCObject* sender) = win 0x26bad0; - void onTheTower(cocos2d::CCObject* sender) = win 0x26af90; - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - void updateDynamicPage(GJGameLevel*) = win 0x269a80; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x26c660; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void dialogClosed(DialogLayer*) = win 0x26c000; - - void* m_unk; - GJGameLevel* m_level; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(int) = win 0x260e70; - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - void confirmClearFilters(cocos2d::CCObject*); - char const* getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - GJSearchObject* getSearchObject(SearchType, gd::string) = win 0x263ba0; - TodoReturn getTimeKey(int); - bool init(int) = win 0x260f10; - void onBack(cocos2d::CCObject* sender) = win 0x2646e0; - void onClearFreeSearch(cocos2d::CCObject* sender) = win 0x2646a0; - void onClose(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onLatestStars(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender) = win 0x2629d0; - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender) = win 0x263e40; - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender) = win 0x264340; - void onSearchMode(cocos2d::CCObject* sender); - void onSearchUser(cocos2d::CCObject* sender) = win 0x2644f0; - void onSpecialDemon(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onSuggested(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - TodoReturn scene(int); - void toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - void toggleStar(cocos2d::CCObject*); - void toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*) = win 0x2638d0; - - virtual void keyBackClicked() = win 0x265220; - virtual void textInputOpened(CCTextInputNode*) = win 0x263660; - virtual void textInputClosed(CCTextInputNode*) = win 0x263790; - virtual void textChanged(CCTextInputNode*) = win 0x263830; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x263630; - virtual void demonFilterSelectClosed(int) = win 0x2627d0; - - int m_type; - CCTextInputNode* m_searchInput; - cocos2d::CCSprite* m_starsSprite; - cocos2d::CCArray* m_difficultySprites; - cocos2d::CCArray* m_lengthSprites; - cocos2d::CCDictionary* m_difficultyDict; - cocos2d::CCSprite* m_lastDifficultySprite; - CCMenuItemSpriteExtra* m_demonTypeButton; -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, DynamicScrollDelegate { - ~LevelSelectLayer() = win 0x267bc0; - - static LevelSelectLayer* create(int) = win 0x267c60; - - cocos2d::ccColor3B colorForPage(int page) = win 0x268ac0; - TodoReturn getColorValue(int, int, float) = win 0x268980; - bool init(int) = win 0x267d00; - void onBack(cocos2d::CCObject* sender) = win 0x268d00; - void onDownload(cocos2d::CCObject* sender) = win 0x268750; - void onInfo(cocos2d::CCObject* sender) = win 0x268e30; - void onNext(cocos2d::CCObject* sender) = win 0x268c40; - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender) = win 0x268ca0; - static cocos2d::CCScene* scene(int) = win 0x267c20; - TodoReturn tryShowAd(); - - virtual void keyBackClicked() = win 0x268d60; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x268d70; - virtual void updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*) = win 0x268790; - virtual void scrollLayerMoved(cocos2d::CCPoint) = win 0x2687f0; -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated() {} -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, SelectSettingDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate, TextInputDelegate { - // virtual ~LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*) = win 0x26cd70; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - bool init(LevelSettingsObject*, LevelEditorLayer*) = win 0x26CE20; - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender) = win 0x26f640; - void onCol(cocos2d::CCObject* sender) = win 0x26f7e0; - void onDisable(cocos2d::CCObject* sender); - void onFGArt(cocos2d::CCObject* sender) = win 0x26f990; - void onGameplayMode(cocos2d::CCObject* sender) = win 0x26eff0; - void onGArt(cocos2d::CCObject* sender) = win 0x26f930; - void onLiveEdit(cocos2d::CCObject* sender) = win 0x26f760; - void onMode(cocos2d::CCObject* sender); - void onOptionToggle(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender) = win 0x26f9d0; - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShowPicker(cocos2d::CCObject* sender) = win 0x26f790; - void onSpeed(cocos2d::CCObject* sender); - void showPicker(ColorAction*); - TodoReturn updateColorSprite(ColorChannelSprite*) = win 0x26f870; - TodoReturn updateColorSprites() = win 0x26f810; - TodoReturn updateGameplayModeButtons(); - - virtual void registerWithTouchDispatcher() = win 0x26f2b0; - virtual void keyBackClicked() = win 0x26fbe0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void colorSelectClosed(cocos2d::CCNode*) = win 0x26f800; - virtual void selectArtClosed(SelectArtLayer*) = win 0x26f9f0; - virtual TodoReturn selectSettingClosed(SelectSettingLayer*) = win 0x26f170; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x26f560; -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - // virtual ~LevelSettingsObject(); - - static LevelSettingsObject* create() = win 0x24d2f0; - - gd::string getSaveString() = win 0x24d7f0; - static LevelSettingsObject* objectFromDict(cocos2d::CCDictionary*) = win 0x24eb70; - static LevelSettingsObject* objectFromString(gd::string const& str) { - return objectFromDict(GameToolbox::stringSetupToDict(str, ",")); - } - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - TodoReturn shouldUseYSection(); - - virtual bool init() = win 0x24d390; - - GJEffectManager* m_effectManager; - // property kA2 - int m_startMode; - // property kA4 - Speed m_startSpeed; - // property kA3 - bool m_startMini; - // property kA8 - bool m_startDual; - // property kA28 - bool m_mirrorMode; - // property kA29 - bool m_rotateGameplay; - // property kA10 - bool m_twoPlayerMode; - // property kA22 - bool m_platformerMode; - // property kA13 - float m_songOffset; - // property kA15 - bool m_fadeIn; - // property kA16 - bool m_fadeOut; - // property kA6 - int m_backgroundIndex; - // property kA7 - int m_groundIndex; - // property kA18 - int m_fontIndex; - // property kA25 - int m_middleGroundIndex; - // property kA9 - bool m_startsWithStartPos; - // property kA11 - bool m_isFlipped; - // property kA20 - bool m_reverseGameplay; - // property kA21 - bool m_disableStartPos; - // property kA19 - int m_targetOrder; - // property kA26 - int m_targetChannel; - - GJGameLevel* m_level; - // property kA14 - gd::string m_guidelineString; - - int m_defaultSongID; - // property kS39 - int m_colorPage; - // property kA17 - int m_groundLineIndex; - // property kA23 - bool m_propertykA23; - // property kA24 - bool m_propertykA24; - // property kA43 - bool m_noTimePenalty; - // property kA44 - int m_propertykA44; - // property kA35 - bool m_resetCamera; - // property kA36 - int m_spawnGroup; - // property kA27 - bool m_allowMultiRotation; - // property kA31 - bool m_enablePlayerSqueeze; - // property kA32 - bool m_fixGravityBug; - // property kA33 - bool m_fixNegativeScale; - // property kA34 - bool m_fixRobotJump; - // property kA37 - bool m_dynamicLevelHeight; - // property kA38 - bool m_sortGroups; - // property kA39 - bool m_fixRadiusCollision; - // property kA40 - bool m_enable22Changes; - // property kA41 - bool m_allowStaticRotate; - // property kA42 - bool m_reverseSync; -} - -[[link(android)]] -class LevelTools { - static int artistForAudio(int) = win 0x2737c0; - static gd::string base64DecodeString(gd::string) = win 0x2753e0; - static gd::string base64EncodeString(gd::string) = win 0x275360; - static cocos2d::CCDictionary* createStarPackDict(); - static gd::string fbURLForArtist(int) = win 0x274010; - static int getAudioBPM(int); - static gd::string getAudioFileName(int) = win 0x273430; - static gd::string getAudioString(int) = win 0x274140; - static gd::string getAudioTitle(int) = win 0x273090; - static TodoReturn getLastGameplayReversed(); - static TodoReturn getLastGameplayRotated(); - static TodoReturn getLastTimewarp(); - static GJGameLevel* getLevel(int, bool) = win 0x2725d0; - static TodoReturn getLevelList(); - static SongInfoObject* getSongObject(int) = win 0x275040; - static TodoReturn moveTriggerObjectsToArray(cocos2d::CCArray*, cocos2d::CCDictionary*, int); - static gd::string nameForArtist(int) = win 0x2738c0; - static gd::string ngURLForArtist(int) = win 0x273d90; - static TodoReturn offsetBPMForTrack(int); - static float posForTime(float, cocos2d::CCArray*, int, bool, int&); - static float posForTimeInternal(float, cocos2d::CCArray*, int, bool, bool, bool, int&, int) = win 0x274a60; - static TodoReturn sortChannelOrderObjects(cocos2d::CCArray*, cocos2d::CCDictionary*, bool) = win 0x275600; - static TodoReturn sortSpeedObjects(cocos2d::CCArray*, GJBaseGameLayer*) = win 0x275820; - static float timeForPos(cocos2d::CCPoint, cocos2d::CCArray*, int, int, int, bool, bool, bool, bool, int) = win 0x2743d0; - static TodoReturn toggleDebugLogging(bool); - static gd::string urlForAudio(int) = win 0x273a00; - static TodoReturn valueForSpeedMod(int) = win 0x274380; - static bool verifyLevelIntegrity(gd::string, int) = win 0x2751d0; - static gd::string ytURLForArtist(int) = win 0x273ed0; -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) {} - virtual void levelUpdateFailed(int) {} -} - -[[link(android)]] -class LevelUploadDelegate { - virtual void levelUploadFinished(GJGameLevel*) {} - virtual void levelUploadFailed(GJGameLevel*) {} -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - // virtual ~LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int, int) = win 0x275d20; - - bool init(LikeItemType, int, int) = win 0x275dd0; - void onClose(cocos2d::CCObject* sender) = win 0x6a750; - void onDislike(cocos2d::CCObject* sender) = win 0x276180; - void onLike(cocos2d::CCObject* sender) = win 0x276170; - void triggerLike(bool isLiked) = win 0x276190; - - virtual void keyBackClicked(); - - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getPage(); - void goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual void listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage : cocos2d::CCLayer { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell : TableViewCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - void loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw() = win 0x1d890; -} - -[[link(android)]] -class ListUploadDelegate { - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - // virtual ~LoadingCircle(); - - static LoadingCircle* create() = win 0x483d0; - - void fadeAndRemove() = win 0x48670; - void show() = win 0x48590; - - void setFade(bool fade) { - m_fade = fade; - } - - virtual bool init() = win 0x484d0; - virtual void draw() = win 0x486f0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher() = win 0x48700; - - inline void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class LoadingCircleSprite : cocos2d::CCSprite { - // virtual ~LoadingCircleSprite(); - - static LoadingCircleSprite* create(); - - TodoReturn fadeInCircle(bool); - TodoReturn hideCircle(); - - virtual bool init(); -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool) = win 0x2762d0; - - const char* getLoadingString() = win 0x277280; - bool init(bool) = win 0x276370; - void loadAssets() = win 0x276bd0; - void loadingFinished() = win 0x276ae0; - TodoReturn scene(bool); - TodoReturn updateProgress(int); - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager : GManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState() = win 0x277760; - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - - cocos2d::CCDictionary* getAllLevelsInDict() = win 0x277cb0; - TodoReturn getAllLevelsWithName(gd::string) = win 0x277e00; - TodoReturn getCreatedLevels(int); - TodoReturn getCreatedLists(int) = win 0x2784f0; - TodoReturn getLevelsInNameGroups(); - gd::string getMainLevelString(int) = win 0x277a90; - TodoReturn markLevelsAsUnmodified(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn reorderLevels(); - TodoReturn tryLoadMainLevelString(int) = win 0x277900; - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - - virtual bool init() = win 0x2778d0; - virtual void encodeDataTo(DS_Dictionary*) = win 0x2785d0; - virtual void dataLoaded(DS_Dictionary*) = win 0x278620; - virtual void firstLoad() = win 0x278560; - - cocos2d::CCArray* m_localLevels; - cocos2d::CCArray* m_LLM03; - gd::map m_mainLevels; -} - -[[link(android)]] -class MapPackCell : TableViewCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - void loadFromMapPack(GJMapPack*) = win 0x812a0; - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender) = win 0x81cf0; - TodoReturn playCompleteEffect(); - TodoReturn reloadCell(); - TodoReturn updateBGColor(int); - - virtual bool init() = win 0x81250; - virtual void draw(); -} - -[[link(android)]] -class MapSelectLayer : cocos2d::CCLayer { - // virtual ~MapSelectLayer(); - - static MapSelectLayer* create(); - - TodoReturn checkTouchMonster(cocos2d::CCPoint); - TodoReturn createObjectAtPoint(cocos2d::CCPoint); - TodoReturn getConstrainedMapPos(cocos2d::CCPoint); - void onBack(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual void update(float); - virtual bool init(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void scrollWheel(float, float); -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - // virtual ~MenuGameLayer(); - - static MenuGameLayer* create() = win 0x2791a0; - - void destroyPlayer() = win 0x27AE40; - TodoReturn getBGColor(int); - TodoReturn resetPlayer() = win 0x279fd0; - TodoReturn tryJump(float); - TodoReturn updateColor(float) = win 0x2796d0; - TodoReturn updateColors(); - - virtual void update(float) = win 0x279c60; - virtual bool init() = win 0x279240; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x27b020; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher() = win 0x27b130; - - bool m_unkBool1; - float m_deltaCount; - bool m_isDestroyingPlayer; - int m_initCount; - cocos2d::CCPoint* m_unused1; - int m_unused2; - PlayerObject* m_playerObject; - cocos2d::CCSprite* m_backgroundSprite; - GJGroundLayer* m_groundLayer; - float m_backgroundSpeed; -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - // virtual ~MenuLayer(); - - static cocos2d::CCScene* scene(bool) = win 0x27b3d0; - - TodoReturn endGame(); - TodoReturn firstNetworkTest(); - void onAchievements(cocos2d::CCObject* sender) = win 0x27c830; - void onCreator(cocos2d::CCObject* sender) = win 0x27c9d0; - void onDaily(cocos2d::CCObject* sender) = win 0x27c500; - void onDiscord(cocos2d::CCObject* sender) = win 0x27c780; - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender) = win 0x27c700; - void onFreeLevels(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender) = win 0x27ca40; - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender) = win 0x27c7a0; - void onMyProfile(cocos2d::CCObject* sender) = win 0x27c690; - void onNewgrounds(cocos2d::CCObject* sender) = win 0x27cae0; - void onOptions(cocos2d::CCObject* sender) = win 0x27c930; - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender) = win 0x27c890; - void onQuit(cocos2d::CCObject* sender) = win 0x27cb70; - void onRobTop(cocos2d::CCObject* sender) = win 0x27c6e0; - void onStats(cocos2d::CCObject* sender) = win 0x27c9a0; - void onTrailer(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender) = win 0x27c760; - void onTwitter(cocos2d::CCObject* sender) = win 0x27c720; - void onYouTube(cocos2d::CCObject* sender) = win 0x27c740; - TodoReturn openOptions(bool); - void showGCQuestion(); - void showMeltdownPromo(); - void showTOS() = win 0x27c660; - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn updateUserProfileButton() = win 0x27c520; - TodoReturn videoOptionsClosed(); - TodoReturn videoOptionsOpened(); - TodoReturn willClose(); - - virtual bool init() = win 0x27b450; - virtual void keyBackClicked() = win 0x27CB60; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x27CD70; - virtual void googlePlaySignedIn() = win 0x27c860; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x27cbf0; -} - -[[link(android)]] -class MessageListDelegate { - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) {} - virtual void loadMessagesFailed(char const*, GJErrorCode) {} - virtual void forceReloadMessages(bool) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class MessagesProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, MessageListDelegate { - // virtual ~MessagesProfilePage(); - - static MessagesProfilePage* create(bool) = win 0x27d110; - - TodoReturn deleteSelected(); - bool init(bool) = win 0x27d1c0; - bool isCorrect(char const*); - void loadPage(int) = win 0x27e140; - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentMessages(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void setupCommentsBrowser(cocos2d::CCArray*) = win 0x27e390; - TodoReturn untoggleAll() = win 0x27e0f0; - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x27e0e0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x27df30; - virtual void onClosePopup(UploadActionPopup*); - virtual void uploadActionFinished(int, int) = win 0x27df60; - virtual void uploadActionFailed(int, int); - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) = win 0x27e500; - virtual void loadMessagesFailed(char const*, GJErrorCode); - virtual void forceReloadMessages(bool) = win 0x27e5e0; - virtual void setupPageInfo(gd::string, char const*) = win 0x27e610; -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate, GJDropDownLayerDelegate { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create() = win 0x2b1590; - - TodoReturn addToggle(char const*, char const*, char const*) = win 0x2b25f0; - TodoReturn countForPage(int) = win 0x2b2b90; - void goToPage(int) = win 0x2b2fd0; - TodoReturn incrementCountForPage(int) = win 0x2b2c60; - TodoReturn infoKey(int); - TodoReturn layerForPage(int) = win 0x2b2e70; - TodoReturn layerKey(int); - TodoReturn nextPosition(int) = win 0x2b2a50; - TodoReturn objectKey(int); - TodoReturn objectsForPage(int) = win 0x2b2d40; - TodoReturn offsetToNextPage(); - void onClose(cocos2d::CCObject* sender) = win 0x2b3c60; - void onFMODDebug(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender) = win 0xa21a0; - void onNextPage(cocos2d::CCObject* sender); - void onParental(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender) = win 0x2b3890; - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init() = win 0x2b1630; - virtual void keyBackClicked() = win 0x2b3d40; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void googlePlaySignedIn() = win 0x2b3d50; - virtual void dropDownLayerWillClose(GJDropDownLayer*) = win 0x2b3a50; -} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreSearchLayer(); - - static MoreSearchLayer* create() = win 0x265610; - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender) = win 0x2671b0; - void onCoins(cocos2d::CCObject* sender); - void onCompleted(cocos2d::CCObject* sender); - void onEpic(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLegendary(cocos2d::CCObject* sender); - void onMythic(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender) = win 0x2669e0; - void onSongMode(cocos2d::CCObject* sender) = win 0x266c90; - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init() = win 0x2656b0; - virtual void keyBackClicked() = win 0x267280; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; -} - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create() = win 0x2b5630; - - void addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onApplyFPS(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void pageKey(int); - void updateFPSButtons() = win 0x2b72e0; - - virtual bool init() = win 0x2b56d0; - virtual void keyBackClicked() = win 0x2b77f0; -} - -[[link(android)]] -class MPLobbyLayer : cocos2d::CCLayer, GJMPDelegate, UploadPopupDelegate, UploadActionDelegate, FLAlertLayerProtocol, TextInputDelegate { - // virtual ~MPLobbyLayer(); - - static MPLobbyLayer* create(int); - - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - void onBtn3(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - TodoReturn onUpdateLobby(); - TodoReturn postComment(); - TodoReturn scene(int); - TodoReturn tryExitLobby(); - TodoReturn updateLobby(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn updateComments(); - virtual TodoReturn didUploadMPComment(int); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite { - // virtual ~MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn moveSpecialDescriptors(int, int); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char) = win 0x492a0; -} - -[[link(android)]] -class MultiplayerLayer : cocos2d::CCLayer { - // virtual ~MultiplayerLayer(); - - static MultiplayerLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - TodoReturn scene(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MultiTriggerPopup : SetupTriggerPopup { - // virtual ~MultiTriggerPopup(); - - static MultiTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x366f20; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x366fd0; -} - -[[link(android)]] -class MusicArtistObject : cocos2d::CCObject { - // virtual ~MusicArtistObject(); - - static MusicArtistObject* create(int, gd::string, gd::string, gd::string) = win 0x289cb0; - - bool init(int, gd::string, gd::string, gd::string) = win 0x289e20; -} - -[[link(android)]] -class MusicBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, FLAlertLayerProtocol, SliderDelegate { - // virtual ~MusicBrowser(); - - static MusicBrowser* create(int) = win 0x27eb00; - - bool init(int) = win 0x27eba0; - void onArtistFilters(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPlaybackControl(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onTagFilters(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void setupList(MusicSearchResult*) = win 0x27fd00; - TodoReturn setupSongControls() = win 0x27f760; - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn trySetupMusicBrowser() = win 0x27fad0; - TodoReturn updatePageLabel() = win 0x280340; - - virtual void update(float) = win 0x27f5f0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x2807c0; - virtual void musicActionFinished(GJMusicAction) = win 0x27fbd0; - virtual void musicActionFailed(GJMusicAction) = win 0x27fc30; - virtual TodoReturn sliderEnded(Slider*) = win 0x27f9f0; - virtual void setTextPopupClosed(SetTextPopup*, gd::string) = win 0x280600; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x280230; - virtual TodoReturn getSelectedCellIdx() = win 0x280270; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x280710; -} - -[[link(android)]] -class MusicBrowserDelegate { - virtual void musicBrowserClosed(MusicBrowser*) {} -} - -[[link(android)]] -class MusicDelegateHandler : cocos2d::CCNode { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void loadSongInfoFinished(SongInfoObject*) {} - virtual void loadSongInfoFailed(int, GJSongError) {} - virtual void downloadSongFinished(int) {} - virtual void downloadSongFailed(int, GJSongError) {} - virtual void songStateChanged() {} - virtual void downloadSFXFinished(int) {} - virtual void downloadSFXFailed(int, GJSongError) {} - virtual void musicActionFinished(GJMusicAction) {} - virtual void musicActionFailed(GJMusicAction) {} -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState() = win 0x2821e0; - - void addDLToActive(char const* tag, cocos2d::CCObject* obj) = win 0x283b30; - void addDLToActive(char const* tag); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*) = win 0x2828d0; - TodoReturn addSongObjectFromString(gd::string) = win 0x282f20; - TodoReturn clearSong(int); - TodoReturn clearUnusedSongs(); - void createSongsInfo(gd::string) = win 0x283080; - void dataLoaded(DS_Dictionary*) = win 0x284530; - void deleteSFX(int); - void deleteSong(int); - void downloadCustomSong(int) = win 0x284bc0; - void downloadMusicLibrary() = win 0x284fd0; - void downloadSFX(int) = win 0x2863f0; - void downloadSFXFailed(int, GJSongError); - void downloadSFXFinished(int); - void downloadSFXLibrary() = win 0x286940; - void downloadSong(int) = win 0x283780; - void downloadSongFailed(int, GJSongError) = win 0x287be0; - void downloadSongFinished(int) = win 0x287b90; - void encodeDataTo(DS_Dictionary*); - TodoReturn filterMusicByArtistID(int, cocos2d::CCArray*); - TodoReturn filterMusicByTag(int, cocos2d::CCArray*); - void firstSetup(); - TodoReturn generateCustomContentURL(gd::string) = win 0x287540; - TodoReturn generateResourceAssetList() = win 0x28a5a0; - TodoReturn getAllMusicArtists(OptionsObjectDelegate*); - TodoReturn getAllMusicObjects(); - TodoReturn getAllMusicTags(OptionsObjectDelegate*); - TodoReturn getAllSFXObjects(bool); - TodoReturn getAllSongs(); - void getCustomContentURL() = win 0x2849c0; - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadProgress(int); - TodoReturn getMusicArtistForID(int); - TodoReturn getMusicObject(int); - TodoReturn getSFXDownloadKey(int); - TodoReturn getSFXDownloadProgress(int); - TodoReturn getSFXFolderObjectForID(int) = win 0x2872b0; - TodoReturn getSFXFolderPathForID(int, bool); - TodoReturn getSFXObject(int); - TodoReturn getSongDownloadKey(int); - void getSongInfo(int, bool) = win 0x282ae0; - TodoReturn getSongInfoKey(int); - SongInfoObject* getSongInfoObject(int) = win 0x283cb0; - TodoReturn getSongPriority(); - void handleIt(bool, gd::string, gd::string, GJHttpType) = win 0x282600; - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const* tag); - bool isMusicLibraryLoaded(); - bool isResourceSFX(int); - bool isResourceSong(int); - bool isRunningActionForSongID(int) = win 0x282a30; - bool isSFXDownloaded(int) = win 0x284140; - bool isSFXLibraryLoaded(); - bool isSongDownloaded(int) = win 0x283dd0; - void limitDownloadedSongs() = win 0x283550; - void loadSongInfoFailed(int, GJSongError) = win 0x287b30; - void loadSongInfoFinished(SongInfoObject*) = win 0x287ae0; - void musicActionFailed(GJMusicAction) = win 0x287d40; - void musicActionFinished(GJMusicAction) = win 0x287cf0; - TodoReturn nameForTagID(int); - void onDownloadMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSFXCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = win 0x2839b0; - void onGetCustomContentURLCompleted(gd::string, gd::string) = win 0x284a70; - void onGetSongInfoCompleted(gd::string, gd::string) = win 0x282d00; - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = win 0x2824e0; - void onTryUpdateMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onTryUpdateSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void parseMusicLibrary() = win 0x285270; - void parseSFXLibrary() = win 0x286bd0; - gd::string pathForSFX(int) = win 0x2843e0; - gd::string pathForSFXFolder(int) = win 0x284240; - gd::string pathForSong(int) = win 0x284070; - gd::string pathForSongFolder(int) = win 0x283ed0; - void ProcessHttpGetRequest(gd::string, gd::string, cocos2d::extension::SEL_HttpResponse, int, int) = win 0x2823c0; - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = win 0x282260; - void removeDLFromActive(char const*) = win 0x283c00; - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*) = win 0x2829d0; - static cocos2d::CCDictionary* responseToDict(gd::string, char const*) = win 0x283260; - void showTOS(FLAlertLayerProtocol*) = win 0x2844b0; - void songStateChanged() = win 0x282a90; - TodoReturn stopDownload(int); - TodoReturn storeMusicObject(SongInfoObject*); - TodoReturn storeSFXInfoObject(SFXInfoObject*); - TodoReturn tryLoadLibraries() = win 0x287210; - TodoReturn tryUpdateMusicLibrary(); - TodoReturn tryUpdateSFXLibrary() = win 0x2866f0; - - virtual bool init() = win 0x282880; - - cocos2d::CCDictionary* m_activeDownloads; - cocos2d::CCArray* m_musicDownloadDelegates; - cocos2d::CCDictionary* m_songObjects; - cocos2d::CCDictionary* m_MDLM003; - int m_songPriority; - gd::string m_customContentURL; - cocos2d::CCDictionary* m_sfxObjects; - cocos2d::CCArray* m_sfxArtists; - int m_sfxLibraryVersion; - int m_sfxObjectCount; - bool m_requestedSfxLibraryDownloaded; - cocos2d::CCDictionary* m_musicObjects; - cocos2d::CCDictionary* m_musicArtists; - gd::map m_musicTags; - int m_musicLibraryVersion; - int m_musicObjectCount; - bool m_requestedMusicLibraryDownloaded; - bool m_triedToLoadLibraries; - bool m_unkBool; - gd::unordered_set m_resourceSfxUnorderedSet; - gd::unordered_set m_resourceSongUnorderedSet; -} - -[[link(android)]] -class MusicSearchResult : cocos2d::CCObject, OptionsObjectDelegate { - // virtual ~MusicSearchResult(); - - static MusicSearchResult* create(); - - TodoReturn applyArtistFilters(cocos2d::CCArray*); - TodoReturn applyTagFilters(cocos2d::CCArray*); - TodoReturn createArtistFilterObjects(); - TodoReturn createTagFilterObjects(); - TodoReturn getFilesMatchingSearch(cocos2d::CCArray*, gd::string); - bool init(); - TodoReturn updateFutureCount(cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn updateObjects() = win 0x2898e0; - - virtual TodoReturn updateObjects(AudioSortType); - virtual TodoReturn stateChanged(OptionsObject*) = win 0x2898d0; -} - -[[link(android)]] -class NewgroundsInfoLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~NewgroundsInfoLayer(); - - static NewgroundsInfoLayer* create() = win 0x90e90; - - void onArtists(cocos2d::CCObject* sender); - void onChanges(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onSupporter(cocos2d::CCObject* sender); - - virtual bool init() = win 0x90f30; - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x918e0; -} - -[[link(android)]] -class NodePoint : cocos2d::CCObject { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class NumberInputLayer : FLAlertLayer { - // virtual ~NumberInputLayer(); - - static NumberInputLayer* create() = win 0x28ab70; - - TodoReturn deleteLast(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init() = win 0x28ac10; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - // virtual ~OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float) = win 0x49fb0; - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float) = win 0x4a140; - TodoReturn computeAxes() = win 0x4a310; - TodoReturn getBoundingRect() = win 0x4a670; - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners() = win 0x4a3e0; - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectControlGameObject : EffectGameObject { - // virtual ~ObjectControlGameObject(); - - static ObjectControlGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - - virtual bool init(); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*) = win 0x4bae0; - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance() = win 0x4a7f0; - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState() = win 0x28b340; - - TodoReturn allKeys(); - float gridNodeSizeForKey(int) = win 0x2af310; - const char* intKeyToFrame(int key) { - return m_allKeys[key].c_str(); - } - TodoReturn perspectiveBlockFrame(int); - - virtual bool init(); - - gd::map m_allKeys; -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, char const*) {} - virtual void loadListFailed(char const*) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class OpacityEffectAction { - TodoReturn step(float); -} - -[[link(android)]] -class OptionsCell : TableViewCell { - // virtual ~OptionsCell(); - OptionsCell(char const*, float, float); - - void loadFromObject(OptionsObject*) = win 0x83a50; - void onToggleOption(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - // virtual ~OptionsLayer(); - - static OptionsLayer* create() = win 0x2b01c0; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*) = win 0x2b0d80; - void onAccount(cocos2d::CCObject* sender) = win 0x2b1380; - void onHelp(cocos2d::CCObject* sender) = win 0x2b1400; - void onMenuMusic(cocos2d::CCObject* sender) = win 0x2b0ce0; - void onOptions(cocos2d::CCObject* sender) = win 0x2b0f70; - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2b13c0; - void onRecordReplays(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender) = win 0x2b0f90; - void onSoundtracks(cocos2d::CCObject* sender) = win 0x2b0f30; - void onSupport(cocos2d::CCObject* sender) = win 0x2b1340; - void onVideo(cocos2d::CCObject* sender) = win 0x2b1320; - TodoReturn sfxSliderChanged(cocos2d::CCObject*) = win 0x2b0e70; - TodoReturn tryEnableRecord(); - - virtual void customSetup() = win 0x2b02d0; - virtual void layerHidden() = win 0x2b1420; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class OptionsObject : cocos2d::CCObject { - // virtual ~OptionsObject(); - - static OptionsObject* create(int, bool, gd::string, OptionsObjectDelegate*); - - bool init(int, bool, gd::string, OptionsObjectDelegate*); - TodoReturn toggleState(); -} - -[[link(android)]] -class OptionsObjectDelegate { - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class OptionsScrollLayer : FLAlertLayer, TableViewCellDelegate { - // virtual ~OptionsScrollLayer(); - - static OptionsScrollLayer* create(cocos2d::CCArray*, bool) = win 0x280890; - - TodoReturn getRelevantObjects(cocos2d::CCArray*); - bool init(cocos2d::CCArray*, bool) = win 0x280940; - void onClose(cocos2d::CCObject* sender); - void setupList(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x280c40; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x280c50; -} - -[[link(android)]] -class ParentalOptionsLayer : FLAlertLayer { - // virtual ~ParentalOptionsLayer(); - - static ParentalOptionsLayer* create() = win 0x2b78f0; - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init() = win 0x2b7990; - virtual void keyBackClicked(); -} - -[[link(android)]] -class ParticleGameObject : EnhancedGameObject { - // virtual ~ParticleGameObject(); - - static ParticleGameObject* create() = win 0x398080; - - TodoReturn applyParticleSettings(cocos2d::CCParticleSystemQuad*); - TodoReturn createAndAddCustomParticle(); - TodoReturn createParticlePreviewArt(); - void setParticleString(gd::string) = win 0x398c00; - void updateParticle() = win 0x398cd0; - TodoReturn updateParticleAngle(float, cocos2d::CCParticleSystemQuad*); - TodoReturn updateParticlePreviewArtOpacity(float); - TodoReturn updateParticleScale(float); - TodoReturn updateParticleStruct(); - - virtual bool init() = win 0x398120; - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void customSetup() = win 0x3983f0; - virtual TodoReturn addMainSpriteToParent(bool); - virtual void resetObject(); - virtual void deactivateObject(bool); - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x398170; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x399880; - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - gd::string m_particleData; - bool m_updatedParticleData; - PAD = android32 0x10f, win 0x123; - - // property 147 - bool m_hasUniformObjectColor; - PAD = android32 0x7, win 0x7; - - // property 211 - bool m_shouldQuickStart; - PAD = android32 0xf, win 0xf; -} - -[[link(android)]] -class ParticlePreviewLayer : cocos2d::CCLayerColor { - // virtual ~ParticlePreviewLayer(); - - static ParticlePreviewLayer* create(cocos2d::CCParticleSystemQuad*) = win 0x33fc00; - - bool init(cocos2d::CCParticleSystemQuad*); - TodoReturn postVisit(); - TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - - virtual void draw() = win 0x33fd90; - virtual void visit() = win 0x33fce0; -} - -[[link(android)]] -class PauseLayer : CCBlockLayer { - // virtual ~PauseLayer(); - // PauseLayer() = win 0x2b8830; - - static PauseLayer* create(bool) = win 0x2b8940; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void goEdit() = win 0x2ba0f0; - bool init(bool); - void musicSliderChanged(cocos2d::CCObject*) = win 0x2b9da0; - void onEdit(cocos2d::CCObject* sender) = win 0x2ba020; - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender) = win 0x2b9ed0; - void onPracticeMode(cocos2d::CCObject* sender) = win 0x2b9e60; - void onQuit(cocos2d::CCObject* sender) = win 0x2ba240; - void onRecordReplays(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender) = win 0x2b9f80; - void onRestartFull(cocos2d::CCObject* sender) = win 0x2b9fd0; - void onResume(cocos2d::CCObject* sender) = win 0x2b9f30; - void onSettings(cocos2d::CCObject* sender) = win 0x2b94d0; - void onTime(cocos2d::CCObject* sender); - void setupProgressBars() = win 0x2b94f0; - void sfxSliderChanged(cocos2d::CCObject*) = win 0x2b0e70; - TodoReturn tryShowBanner(float); - void tryQuit(cocos2d::CCObject* sender) = win 0x2ba170; - - virtual void keyBackClicked() = win 0x2ba3a0; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x2ba310; - virtual void customSetup() = win 0x2b89f0; - virtual void keyUp(cocos2d::enumKeyCodes) {} -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual void downloadFinished(char const*) {} - virtual void downloadFailed(char const*) {} -} - -[[link(android)]] -class PlatformToolbox { - static TodoReturn activateGameCenter(); - static TodoReturn copyToClipboard(gd::string); - static TodoReturn doesFileExist(gd::string); - static TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - static TodoReturn gameDidSave(); - static TodoReturn getDeviceRefreshRate(); - static TodoReturn getDisplaySize(); - static TodoReturn getRawPath(char const*); - static TodoReturn getUniqueUserID(); - static TodoReturn getUserID(); - static TodoReturn hideCursor(); - static bool isControllerConnected() { - //todo: mac - #ifdef GEODE_IS_WINDOWS - return cocos2d::CCApplication::sharedApplication()->getControllerConnected(); - #else - return false; - #endif - } - static bool isHD(); - static bool isLocalPlayerAuthenticated(); - static bool isLowMemoryDevice(); - static bool isNetworkAvailable(); - static bool isSignedInGooglePlay(); - static TodoReturn loadAndDecryptFileToString(char const*, char const*); - static TodoReturn logEvent(char const*); - static TodoReturn onGameLaunch(); - static TodoReturn onNativePause(); - static TodoReturn onNativeResume(); - static TodoReturn onToggleKeyboard(); - static TodoReturn openAppPage(); - static void platformShutdown(); - static TodoReturn refreshWindow(); - static TodoReturn reportAchievementWithID(char const*, int); - static TodoReturn reportLoadingFinished(); - static TodoReturn resizeWindow(float, float); - static TodoReturn saveAndEncryptStringToFile(gd::string, char const*, char const*); - static TodoReturn sendMail(char const*, char const*, char const*); - static void setBlockBackButton(bool); - static void setKeyboardState(bool); - static TodoReturn shouldResumeSound(); - static void showAchievements(); - static void showCursor(); - static TodoReturn signInGooglePlay(); - static TodoReturn signOutGooglePlay(); - static TodoReturn spriteFromSavedFile(gd::string); - static TodoReturn toggleCallGLFinish(bool); - static TodoReturn toggleCPUSleepMode(bool); - static TodoReturn toggleForceTimer(bool); - static TodoReturn toggleFullScreen(bool); - static TodoReturn toggleLockCursor(bool); - static TodoReturn toggleMouseControl(bool); - static TodoReturn toggleSmoothFix(bool); - static TodoReturn toggleVerticalSync(bool); - static TodoReturn tryShowRateDialog(gd::string); - static TodoReturn updateMouseControl(); - static TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - // virtual ~PlayerCheckpoint(); - - static PlayerCheckpoint* create() = win 0x2eb770; - - virtual bool init() = win 0x52e00; -} - -[[link(android)]] -class PlayerControlGameObject : EffectGameObject { - // virtual ~PlayerControlGameObject(); - - static PlayerControlGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class PlayerFireBoostSprite : cocos2d::CCSprite { - // virtual ~PlayerFireBoostSprite(); - - static PlayerFireBoostSprite* create() = win 0x2dab20; - - void animateFireIn() = win 0x2dac30; - void animateFireOut() { - this->stopAllActions(); - auto action = cocos2d::CCScaleTo::create(0.4f, 0.01f, 0.01f); - this->runAction(action); - } - TodoReturn loopFireAnimation(); - - virtual bool init() = win 0x2dabe0; - - float m_size; -} - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - // virtual ~PlayerObject(); - // PlayerObject() = win 0x2c0f30; - - static PlayerObject* create(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2c2410; - - void activateStreak() = win 0x2d89c0; - TodoReturn addAllParticles() = win 0x2c3b10; - TodoReturn addToTouchedRings(RingObject*); - TodoReturn addToYVelocity(double, int); - void animatePlatformerJump(float) = win 0x2c7820; - void boostPlayer(float) = win 0x2d8820; - void bumpPlayer(float, int, bool, GameObject*) = win 0x2d80b0; - TodoReturn buttonDown(PlayerButton); - TodoReturn canStickToGround(); - TodoReturn checkSnapJumpToObject(GameObject*); - void collidedWithObject(float, GameObject*, cocos2d::CCRect, bool) = win 0x2cc3d0; - void collidedWithObject(float, GameObject*); - void collidedWithObjectInternal(float, GameObject*, cocos2d::CCRect, bool) = win 0x2cc450; - void collidedWithSlope(float, GameObject*, bool); - void collidedWithSlopeInternal(float, GameObject*, bool); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - void createFadeOutDartStreak() = win 0x2d2320; - void createRobot(int) = win 0x2c35e0; - void createSpider(int) = win 0x2c3870; - void deactivateParticle(); - void deactivateStreak(bool); - TodoReturn destroyFromHitHead(); - TodoReturn didHitHead(); - void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - TodoReturn disablePlayerControls(); - void disableSwingFire() = win 0x2D4280; - void doReversePlayer(bool) = win 0x2d2210; - void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - void enablePlayerControls(); - void exitPlatformerAnimateJump(); - void fadeOutStreak2(float) = win 0x2d8ab0; - void flashPlayer(float, float, cocos2d::ccColor3B mainColor, cocos2d::ccColor3B secondColor) = win 0x2d1080; - void flipGravity(bool, bool) = win 0x2d36e0; - TodoReturn flipMod(); - TodoReturn gameEventTriggered(int, int); - bool getActiveMode() = win 0x2D3A50; - TodoReturn getCurrentXVelocity(); - TodoReturn getModifiedSlopeYVel() = win 0x2c9d30; - TodoReturn getOldPosition(float); - cocos2d::ccColor3B getSecondColor() = win 0x2d90e0; - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn handlePlayerCommand(int); - TodoReturn handleRotatedCollisionInternal(float, GameObject*, cocos2d::CCRect, bool, bool, bool); - TodoReturn handleRotatedObjectCollision(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn handleRotatedSlopeCollision(float, GameObject*, bool); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(GameObject*, bool); - TodoReturn hitGroundNoJump(GameObject*, bool); - void incrementJumps() = win 0x2c77f0; - bool init(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = win 0x2c24c0; - bool isBoostValid(float) = win 0x2c9cd0; - bool isFlying() = win 0x2d3a20; - bool isInBasicMode() = win 0x2D57D0; - bool isInNormalMode() = win 0x2d5780; - bool isSafeFlip(float); - bool isSafeHeadTest(); - bool isSafeMode(float); - bool isSafeSpiderFlip(float); - TodoReturn levelFlipFinished(); - bool levelFlipping() = win 0x2d4880; - TodoReturn levelWillFlip(); - void loadFromCheckpoint(PlayerCheckpoint*) = win 0x2d9e60; - TodoReturn lockPlayer() = win 0x2d7d40; - TodoReturn logValues(); - TodoReturn modeDidChange(); - TodoReturn performSlideCheck(); - void placeStreakPoint() = win 0x2d9110; - TodoReturn playBumpEffect(int, GameObject*) = win 0x2d8380; - TodoReturn playBurstEffect(); - TodoReturn playCompleteEffect(bool, bool) = win 0x2bfd50; - void playDeathEffect() = win 0x2ba470; - void playDynamicSpiderRun() = win 0x2d9ac0; - void playerDestroyed(bool) = win 0x2d1b30; - bool playerIsFalling(float) = win 0x2D39B0; - TodoReturn playerIsFallingBugged(); - TodoReturn playerIsMovingUp(); - TodoReturn playerTeleported(); - TodoReturn playingEndEffect(); - TodoReturn playSpawnEffect(); - void playSpiderDashEffect(cocos2d::CCPoint from, cocos2d::CCPoint to) = win 0x2cf5b0; - void postCollision(float) = win 0x2c82f0; - TodoReturn preCollision() = win 0x2c81b0; - TodoReturn preSlopeCollision(float, GameObject*); - void propellPlayer(float, bool, int) = win 0x2d81b0; - void pushButton(PlayerButton) = win 0x2d1d30; - TodoReturn pushDown(); - void pushPlayer(float); - TodoReturn redirectDash(float) = win 0x2cfbb0; - TodoReturn redirectPlayerForce(float, float, float, float); - TodoReturn releaseAllButtons(); - void releaseButton(PlayerButton) = win 0x2d1f70; - TodoReturn removeAllParticles(); - void removePendingCheckpoint() = win 0x2da1c0; - TodoReturn removePlacedCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(bool); - TodoReturn resetCollisionValues(); - void resetPlayerIcon() = win 0x2d45b0; - TodoReturn resetStateVariables(); - void resetStreak() = win 0x2c6540; - TodoReturn resetTouchedRings(); - TodoReturn reverseMod(); - void reversePlayer(EffectGameObject*) = win 0x2d2130; - void ringJump(RingObject*, bool) = win 0x2d27c0; - void rotateGameplay(int, int, bool, float, float, bool, bool) = win 0x2d3340; - TodoReturn rotateGameplayObject(GameObject*); - TodoReturn rotateGameplayOnly(bool); - TodoReturn rotatePreSlopeObjects(); - void runBallRotation(float) = win 0x2c7e30; - void runBallRotation2() = win 0x2c7f70; - void runNormalRotation() { - this->runNormalRotation(false, 1.0f); - } - void runNormalRotation(bool, float) = win 0x2c7cf0; - void runRotateAction(bool, int) = win 0x2c7c90; - TodoReturn saveToCheckpoint(PlayerCheckpoint*) = win 0x2d9c20; - void setSecondColor(cocos2d::ccColor3B const&) = win 0x2d65a0; - void setupStreak() = win 0x2c3c80; - void setYVelocity(double, int) = win 0x2c40c0; - TodoReturn spawnCircle(); - TodoReturn spawnCircle2(); - TodoReturn spawnDualCircle() = win 0x2d1a50; - TodoReturn spawnFromPlayer(PlayerObject*, bool) = win 0x2d8f90; - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float) = win 0x2d1810; - TodoReturn spawnScaleCircle() = win 0x2d1920; - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - void spiderTestJump(bool) = win 0x2CE8C0; - void spiderTestJumpInternal(bool) = win 0x2CE970; - void spiderTestJumpX(bool); - void spiderTestJumpY(bool); - void startDashing(DashRingObject*) = win 0x2cfdb0; - TodoReturn stopBurstEffect(); - void stopDashing() = win 0x2d0940; - TodoReturn stopParticles(); - void stopPlatformerJumpAnimation() = win 0x2C7B10; - TodoReturn stopRotation(bool, int); - TodoReturn stopStreak2() = win 0x2d8b20; - TodoReturn storeCollision(PlayerCollisionDirection, int); - TodoReturn switchedDirTo(PlayerButton) = win 0x2d1c40; - void switchedToMode(GameObjectType) = win 0x2d4fd0; - TodoReturn testForMoving(float, GameObject*); - void toggleBirdMode(bool, bool) = win 0x2d3d30; - void toggleDartMode(bool, bool) = win 0x2d42f0; - void toggleFlyMode(bool, bool) = win 0x2d3aa0; - void toggleGhostEffect(GhostType) = win 0x2d7a40; - void togglePlatformerMode(bool val) { - m_isPlatformer = val; - } - void togglePlayerScale(bool, bool) = win 0x2d9170; - void toggleRobotMode(bool, bool) = win 0x2d49f0; - void toggleRollMode(bool, bool) = win 0x2d48c0; - void toggleSpiderMode(bool, bool) = win 0x2d4ce0; - void toggleSwingMode(bool, bool) = win 0x2d3fb0; - void toggleVisibility(bool) = win 0x2c63f0; - TodoReturn touchedObject(GameObject*); - void tryPlaceCheckpoint() = win 0x2da220; - TodoReturn unrotateGameplayObject(GameObject*); - TodoReturn unrotatePreSlopeObjects(); - TodoReturn updateCheckpointMode(bool); - TodoReturn updateCheckpointTest() = win 0x2c6310; - TodoReturn updateCollide(PlayerCollisionDirection, GameObject*); - TodoReturn updateCollideBottom(float, GameObject*); - TodoReturn updateCollideLeft(float, GameObject*); - TodoReturn updateCollideRight(float, GameObject*); - TodoReturn updateCollideTop(float, GameObject*); - void updateDashAnimation() = win 0x2d0ea0; - void updateDashArt() = win 0x2d0530; - TodoReturn updateEffects(float); - void updateGlowColor() = win 0x2d6610; - TodoReturn updateInternalActions(float); - void updateJump(float) = win 0x2c67b0; - TodoReturn updateJumpVariables(); - TodoReturn updateLastGroundObject(GameObject*); - TodoReturn updateMove(float); - void updatePlayerArt() = win 0x2d23e0; - void updatePlayerBirdFrame(int) = win 0x2d70e0; - void updatePlayerDartFrame(int) = win 0x2d7680; - void updatePlayerForce(cocos2d::CCPoint, bool); - void updatePlayerFrame(int) = win 0x2d6b90; - void updatePlayerGlow() = win 0x2d8c50; - void updatePlayerJetpackFrame(int) = win 0x2d6f20; - void updatePlayerRobotFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x43) id = 0x44; - - createRobot(id); - } - void updatePlayerRollFrame(int) = win 0x2d7300; - void updatePlayerScale() = win 0x2d8bf0; - void updatePlayerShipFrame(int) = win 0x2d6d60; - void updatePlayerSpiderFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x44) id = 0x45; - - createSpider(id); - } - - void updatePlayerSpriteExtra(gd::string) = win 0x2d7840; - void updatePlayerSwingFrame(int) = win 0x2d74c0; - void updateRobotAnimationSpeed(); - TodoReturn updateRotation(float, float); - TodoReturn updateRotation(float) = win 0x2cbd20; - void updateShipRotation(float); - void updateShipSpriteExtra(gd::string) = win 0x2d7940; - TodoReturn updateSlopeRotation(float); - TodoReturn updateSlopeYVelocity(float); - void updateSpecial(float) = win 0x2c62c0; - TodoReturn updateStateVariables(); - TodoReturn updateStaticForce(float, float, bool); - void updateStreakBlend(bool) = win 0x2c4050; - TodoReturn updateStreaks(float); - void updateSwingFire() = win 0x2d41e0; - void updateTimeMod(float, bool) = win 0x2d95e0; - TodoReturn usingWallLimitedMode(); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual void update(float) = win 0x2c41b0; - virtual void setScaleX(float) = win 0x2da740; - virtual void setScaleY(float) = win 0x2da760; - virtual void setScale(float) = win 0x2da780; - virtual void setPosition(cocos2d::CCPoint const&) = win 0x2d5860; - virtual void setVisible(bool) = win 0x2da7a0; - virtual void setRotation(float) = win 0x2da690; - virtual void setOpacity(unsigned char) = win 0x2d6a90; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x2d6520; - virtual void setFlipX(bool) = win 0x2da6b0; - virtual void setFlipY(bool); - virtual void resetObject() = win 0x2d1100; - virtual cocos2d::CCPoint getRealPosition() = win 0x2d6b70; - virtual TodoReturn getOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual void animationFinished(char const*) = win 0x2da7c0; - - cocos2d::CCNode* m_mainLayer; - PAD = win 0x44, android32 0x44; - cocos2d::CCNode* m_unk4e4; - cocos2d::CCDictionary* m_unk4e8; - cocos2d::CCDictionary* m_unk4ec; - cocos2d::CCDictionary* m_unk4f0; - cocos2d::CCDictionary* m_unk4f4; - PAD = win 0x20, android32 0x20; - float m_unk518; - bool m_unk51c; - bool m_unk51d; - bool m_unk51e; - bool m_unk51f; - PAD = win 0x4, android32 0x4; - GameObject* m_collidedObject; - PAD = win 0x40, android32 0x40; - float m_unk568; - cocos2d::CCSprite* m_unk56c; - PAD = win 0x4, android32 0x4; - GameObject* m_unk574; - GameObject* m_unk578; - PAD = win 0x8, android32 0x8; - float unk_584; - int unk_588; // seems to always be 0, but when you respawn it's -1 until you move at least 1 block from the respawn place - PAD = win 0x4, android32 0x4; - cocos2d::CCArray* m_particleSystems; - gd::unordered_map m_unk594; // insertions are in PlayerObject::rotateGameplayObject - gd::unordered_map m_unk5b4; - float m_unk5d4; - float m_rotationSpeed; - float m_unk5dc; - bool m_isRotating; - bool m_unk5e1; - bool m_hasGlow; - bool m_isHidden; - int m_hasGhostTrail; - GhostTrailEffect* m_ghostTrail; - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCSprite* m_iconSpriteSecondary; - cocos2d::CCSprite* m_iconSpriteWhitener; - cocos2d::CCSprite* m_iconGlow; - cocos2d::CCSprite* m_vehicleSprite; - cocos2d::CCSprite* m_vehicleSpriteSecondary; - cocos2d::CCSprite* m_unk604; - cocos2d::CCSprite* m_vehicleSpriteWhitener; - cocos2d::CCSprite* m_vehicleGlow; - PlayerFireBoostSprite* m_swingFireMiddle; - PlayerFireBoostSprite* m_swingFireBottom; - PlayerFireBoostSprite* m_swingFireTop; - cocos2d::CCSprite* m_unk61c; - cocos2d::CCMotionStreak* m_regularTrail; - PAD = win 0x4, android32 0x4; - HardStreak* m_waveTrail; - float m_unk62c; - PAD = win 0x14, android32 0x14; - float m_unk644; - float m_unk648; - PAD = win 0xc, android32 0xc; - bool m_unk658; - bool m_unk659; - bool m_unk65a; - bool m_unk65b; // midair ?? - bool m_unk65c; - bool m_unk65d; // walking ??? - bool m_unk65e; - bool m_unk65f; - PAD = win 0x28, android32 0x28; - float m_unk688; - float m_unk68c; - PAD = win 0x12, android32 0x12; - bool m_unk6a2; // = GameManager::getGameVariable("0096") - bool m_unk6a3; // = GameManager::getGameVariable("0100") - PAD = win 0x18, android32 0x18; - int m_unk6c0; - GameObject* m_objectSnappedTo; - PAD = win 0x4, android32 0x4; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - PAD = win 0x4, android32 0x4; - cocos2d::CCParticleSystemQuad* m_unk6dc; - cocos2d::CCParticleSystemQuad* m_trailingParticles; // 0x6d8 - cocos2d::CCParticleSystemQuad* m_shipClickParticles; // 0x6dc - cocos2d::CCParticleSystemQuad* m_unk6e8; - cocos2d::CCParticleSystemQuad* m_ufoClickParticles; // 0x6e4 - cocos2d::CCParticleSystemQuad* m_robotBurstParticles; - cocos2d::CCParticleSystemQuad* m_unk6f4; - cocos2d::CCParticleSystemQuad* m_swingBurstParticles1; // 0x6f0 - cocos2d::CCParticleSystemQuad* m_swingBurstParticles2; // 0x6f4 - PAD = win 0x4, android32 0x4; - cocos2d::CCParticleSystemQuad* m_unk704; - cocos2d::CCParticleSystemQuad* m_unk708; - float m_unk70c; - float m_unk710; - PAD = win 0x64, android32 0x64; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x24, android32 0x1c; - double m_yVelocity; - bool m_isOnSlope; - bool m_wasOnSlope; - PAD = win 0x7, android32 0x7; - bool m_isShip; - bool m_isBird; - bool m_isBall; - bool m_isDart; - bool m_isRobot; - bool m_isSpider; - bool m_isUpsideDown; - bool m_isDead; - bool m_isOnGround; - bool m_isGoingLeft; - bool m_isSideways; - bool m_isSwing; - PAD = win 0x10, android32 0x10; - float m_unk7c8; - float m_unk7cc; // unsure if float - float m_unk7d0; - bool m_isDashing; - PAD = win 0x8, android32 0x8; - float m_vehicleSize; - float m_playerSpeed; - float m_unk7e0; - float m_unk7e4; - cocos2d::CCPoint m_unk7e8; - cocos2d::CCPoint m_unk7f0; // maybe m_lastPortalPos - bool m_unk7f8; - PAD = win 0x18, android32 0x18; - cocos2d::CCPoint m_lastGroundedPos; - cocos2d::CCArray* m_touchingRings; - gd::unordered_set m_unk828; - GameObject* m_lastActivatedPortal; - bool m_unk814; - bool m_unk815; - cocos2d::ccColor3B m_playerColor1; // 0x816 - cocos2d::ccColor3B m_playerColor2; // 0x819 - cocos2d::CCPoint m_position; - PAD = win 0x14, android32 0x14; - float m_unk838; - PAD = win 0x4; - bool m_gamevar0060; - bool m_gamevar0061; - bool m_gamevar0062; - PAD = win 0x4; - gd::vector m_unk880; - PAD = win 0x1c; - double m_platformerXVelocity; - PAD = win 0x70; - bool m_isPlatformer; - int m_unk8ec; - int m_unk8f0; - int m_unk8f4; - int m_unk8f8; - float m_gravityMod; - PAD = win 0x4, android32 0x4; - cocos2d::CCPoint m_unk904; - PAD = win 0x4, android32 0x4; - gd::map m_unk910; - float m_unk918; // increments whenever you're midiar? - float m_unk91c; - PAD = win 0x4, android32 0x4; - gd::map m_unk924; - PAD = win 0x4, android32 0x4; - gd::string m_unk930; // this is always "run" ??? - bool m_unk948; // = getGameVariable("0123") - PAD = win 0x3, android32 0x3; - int m_iconRequestID; - cocos2d::CCSpriteBatchNode* m_unk950; - cocos2d::CCSpriteBatchNode* m_unk954; - cocos2d::CCArray* m_unk958; - PlayerFireBoostSprite* m_robotFire; - PAD = win 0x4, android32 0x4; - GJBaseGameLayer* m_gameLayer; - cocos2d::CCLayer* m_parentLayer; - GJActionManager* m_actionManager; - PAD = win 0x4, android32 0x4; - float m_unk974; - bool m_unk978; - bool m_unk979; // = isItemEnabled(0xc, 0x12); - bool m_unk97a; // = isItemEnabled(0xc, 0x13); - bool m_unk97b; // = isItemEnabled(0xc, 0x14); - PAD = win 0x4, android32 0x4; -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - virtual ~PlayLayer() = win 0x2dc080; - // PlayLayer() = win 0x2db390; - - static PlayLayer* create(GJGameLevel* level, bool useReplay, bool dontCreateObjects) = win 0x2dc3f0; - static PlayLayer* get() { - return GameManager::get()->m_playLayer; - } - - void addCircle(CCCircleWave* cw) { - m_circleWaveArray->addObject(cw); - } - void addObject(GameObject*) = win 0x2e19b0; - void addToGroupOld(GameObject*); - TodoReturn applyCustomEnterEffect(GameObject*, bool); - TodoReturn applyEnterEffect(GameObject*, int, bool); - bool canPauseGame() = win 0x2eae60; - TodoReturn checkpointWithID(int); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn commitJumps(); - TodoReturn compareStateSnapshot(); - CheckpointObject* createCheckpoint() = win 0x2e76e0; - void createObjectsFromSetupFinished() = win 0x2e1730; - void delayedFullReset() = win 0x2e9f20; - void delayedResetLevel() = win 0x2ea080; - void fullReset() = win 0x2e9f80; - float getCurrentPercent() { - float percent; - - if (m_level->m_timestamp > 0) { - percent = static_cast(m_gameState.m_unk1f8) / m_level->m_timestamp * 100.f; - } else { - percent = m_player1->getPosition().x / m_levelLength * 100.f; - } - - if (percent >= 100.f) { - return 100.f; - } else if (percent <= 0.f) { - return 0.f; - } else { - return percent; - } - } - int getCurrentPercentInt() = win 0x2e6680; - TodoReturn getEndPosition(); - TodoReturn getLastCheckpoint() = win 0x2e8d40; - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getRelativeModNew(cocos2d::CCPoint, float, float, bool, bool); - TodoReturn getTempMilliTime(); - TodoReturn gravityEffectFinished(); - void incrementJumps() = win 0x2eacd0; - bool init(GJGameLevel* level, bool useReplay, bool dontCreateObjects) = win 0x2dc4a0; - bool isGameplayActive(); - void levelComplete() = win 0x2ddb60; - TodoReturn loadActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn loadDefaultColors() = win 0x2e4e80; - TodoReturn loadDynamicSaveObjects(gd::vector&); - void loadFromCheckpoint(CheckpointObject*) = win 0x2e85e0; - TodoReturn loadLastCheckpoint(); - CheckpointObject * markCheckpoint() = win 0x2e8550; - void onQuit() = win 0x2eb480; - TodoReturn optimizeColorGroups() = win 0x2e2530; - TodoReturn optimizeOpacityGroups() = win 0x2e2790; - void pauseGame(bool) = win 0x2eae80; - void playEndAnimationToPos(cocos2d::CCPoint) = win 0x2dfe00; - void playPlatformerEndAnimationToPos(cocos2d::CCPoint, bool) = win 0x2e05e0; - TodoReturn playReplay(gd::string); - void prepareCreateObjectsFromSetup(gd::string&) = win 0x2e0c40; - void prepareMusic(bool) = win 0x2eb2b0; - void processCreateObjectsFromSetup() = win 0x2e0ed0; - TodoReturn processLoadedMoveActions(); - TodoReturn queueCheckpoint(); - void removeAllObjects() = win 0x2eb570; - void removeCheckpoint(bool) = win 0x2e8d70; - void removeFromGroupOld(GameObject*); - void resetLevel() = win 0x2ea130; - void resetLevelFromStart() = win 0x2ea090; - void resume() = win 0x2eb100; - void resumeAndRestart(bool) = win 0x2eafe0; - TodoReturn saveActiveSaveObjects(gd::vector&, gd::vector&) = win 0x2e9c20; - TodoReturn saveDynamicSaveObjects(gd::vector&) = win 0x2e9780; - TodoReturn scanActiveSaveObjects() = win 0x2e9b70; - TodoReturn scanDynamicSaveObjects() = win 0x2e8f80; - static cocos2d::CCScene* scene(GJGameLevel* level, bool useReplay, bool dontCreateObjects) = win 0x2dc3a0; - TodoReturn screenFlipObject(GameObject*); - void setDamageVerifiedIdx(int) = win 0x2db7c0; - void setupHasCompleted() = win 0x2dce40; - TodoReturn shouldBlend(int); - void showCompleteEffect() = win 0x2DE940; - void showCompleteText() = win 0x2de410; - void showEndLayer() = win 0x2e0870; - void showHint() = win 0x2e6f90; - void showNewBest(bool, int, int, bool, bool, bool) = win 0x2dedc0; - void showRetryLayer() = win 0x2e08e0; - void showTwoPlayerGuide(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - void startGame() = win 0x2ddab0; - void startGameDelayed() = win 0x2ddaf0; - void startMusic() = win 0x2eb3a0; - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopRecording(); - void storeCheckpoint(CheckpointObject*) = win 0x2e84a0; - TodoReturn takeStateSnapshot(); - TodoReturn toggleBGEffectVisibility(bool); - TodoReturn toggleGhostEffect(int); - //void toggleDebugDraw(bool) = win 0x2dda61; - void togglePracticeMode(bool) = win 0x2ead30; - TodoReturn tryStartRecord(); - void updateAttempts() = win 0x2eab40; - void updateEffectPositions() = win 0x2e7130; - void updateInfoLabel() = win 0x2e5ad0; - TodoReturn updateInvisibleBlock(GameObject*, float, float, float, float, cocos2d::ccColor3B const&); - void updateProgressbar() = win 0x2e5440; - void updateScreenRotation(int, bool, bool, float, int, float, int, int); - void updateTimeWarp(EffectGameObject*, float) = win 0x1b9700; - - virtual void onEnterTransitionDidFinish() = win 0x2eb700; - virtual void onExit() = win 0x2eb730; - virtual void postUpdate(float) = win 0x2e7220; - virtual TodoReturn checkForEnd() = win 0x2e74d0; - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage() = win 0x2e75b0; - virtual TodoReturn updateAttemptTime(float) = win 0x2e7630; - virtual void updateVisibility(float) = win 0x2e2bf0; - virtual TodoReturn opacityForObject(GameObject*) = win 0x2e3920; - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int) = win 0x2e50e0; - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&) = win 0x2e04d0; - virtual TodoReturn toggleGlitter(bool) = win 0x2e6630; - virtual void destroyPlayer(PlayerObject*, GameObject*) = win 0x2e6730; - virtual TodoReturn toggleGroundVisibility(bool) = win 0x2e64e0; - virtual TodoReturn toggleMGVisibility(bool) = win 0x2e6560; - virtual TodoReturn toggleHideAttempts(bool) = win 0x2e65b0; - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) = win 0x2e63e0; - virtual float posForTime(float) = win 0x2e6450; - virtual void resetSPTriggered() = win 0x2e64a0; - virtual TodoReturn updateTimeWarp(float); - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*) = win 0x2e3940; - virtual void checkpointActivated(CheckpointGameObject*) = win 0x2e76c0; - virtual TodoReturn flipArt(bool); - virtual void updateTimeLabel(int, int, bool) = win 0x2e5670; - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar(); - virtual TodoReturn toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual TodoReturn toggleMusicInPractice(); - virtual void currencyWillExit(CurrencyRewardLayer*); - virtual void circleWaveWillBeRemoved(CCCircleWave*); - virtual void dialogClosed(DialogLayer*) = win 0x2e6f50; - - PAD = win 0x24; - cocos2d::CCArray* m_coinArray; - PAD = win 0x5c; - float m_unksomefloat; - PAD = win 0x24; - cocos2d::CCArray* m_circleWaveArray; - PAD = win 0x10; - cocos2d::CCLabelBMFont* m_attemptLabel; - PAD = win 0x8; - cocos2d::CCSprite* m_progressBar; - PAD = win 0x5c; - bool m_endLayerStars; // not verified on android - PAD = win 0x3; - PAD = win 0x74; - cocos2d::CCDictionary* m_colorKeyDict; - gd::vector m_keyColors; // type not really accurate - gd::vector m_keyOpacities; // type not really accurate - gd::vector m_keyPulses; // type not really accurate - int m_nextColorKey; - PAD = win 0x1c; -} - -[[link(android)]] -class PointNode : cocos2d::CCObject { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint) = win 0x2274c0; - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class PriceLabel : cocos2d::CCNode { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - // virtual ~ProfilePage(); - // ProfilePage() = win 0x2ecb80; - - static ProfilePage* create(int accountID, bool ownProfile) = win 0x2ecfd0; - - void blockUser(); - bool init(int accountID, bool ownProfile) = win 0x2ed080; - bool isCorrect(char const* key) = win 0x2f1ef0; - bool isOnWatchlist(int); - void loadPage(int) = win 0x2f1fc0; - void loadPageFromUserInfo(GJUserScore*) = win 0x2edda0; - void onBlockUser(cocos2d::CCObject* sender) = win 0x2f0c90; - void onClose(cocos2d::CCObject* sender) = win 0x2f15e0; - void onComment(cocos2d::CCObject* sender) = win 0x2f09a0; - void onCommentHistory(cocos2d::CCObject* sender) = win 0x2f0930; - void onFollow(cocos2d::CCObject* sender) = win 0x2f0e70; - void onFriend(cocos2d::CCObject* sender) = win 0x2f0ab0; - void onFriends(cocos2d::CCObject* sender) = win 0x2f1d70; - void onMessages(cocos2d::CCObject* sender) = win 0x2f1d50; - void onMyLevels(cocos2d::CCObject* sender) = win 0x2f0680; - void onMyLists(cocos2d::CCObject* sender) = win 0x2f07e0; - void onNextPage(cocos2d::CCObject* sender) = win 0x2f24c0; - void onPrevPage(cocos2d::CCObject* sender) = win 0x2f24d0; - void onRequests(cocos2d::CCObject* sender) = win 0x2f1d90; - void onSendMessage(cocos2d::CCObject* sender) = win 0x2f0960; - void onSettings(cocos2d::CCObject* sender) = win 0x2f1d30; - void onTwitch(cocos2d::CCObject* sender) = win 0x2f1bd0; - void onTwitter(cocos2d::CCObject* sender) = win 0x2f1a70; - void onUpdate(cocos2d::CCObject* sender) = win 0x2edb10; - void onYouTube(cocos2d::CCObject* sender) = win 0x2f1910; - TodoReturn setupComments() = win 0x2f1170; - void setupCommentsBrowser(cocos2d::CCArray*) = win 0x2f2160; - void showNoAccountError() = win 0x2f1650; - TodoReturn toggleMainPageVisibility(bool); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher() = win 0x22fc0; - virtual void keyBackClicked() = win 0x2f1640; - virtual void show() = win 0x2f17f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x2f1340; - virtual void updateUserScoreFinished() = win 0x2f1740; - virtual void updateUserScoreFailed() = win 0x2f17b0; - virtual void getUserInfoFinished(GJUserScore*) = win 0x2f1db0; - virtual void getUserInfoFailed(int) = win 0x2f1e40; - virtual void userInfoChanged(GJUserScore*) = win 0x2f1e90; - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) = win 0x2f2290; - virtual void loadCommentsFailed(char const*) = win 0x2f22f0; - virtual void setupPageInfo(gd::string, char const*) = win 0x2f2350; - virtual void commentUploadFinished(int) = win 0x2f24e0; - virtual void commentUploadFailed(int, CommentError) = win 0x2f2520; - virtual void commentDeleteFailed(int, int) = win 0x2f2570; - virtual void onClosePopup(UploadActionPopup*) = win 0x2f1480; - virtual void uploadActionFinished(int, int) = win 0x2f14c0; - virtual void uploadActionFailed(int, int) = win 0x2f15b0; - - GJUserScore* m_score; - int m_accountID; - bool m_ownProfile; - gd::string m_profileKey; - cocos2d::CCLabelBMFont* m_somethingWentWrong; - cocos2d::CCLabelBMFont* m_usernameLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_followBtn; - void* m_unk; - cocos2d::CCArray* m_buttons; - cocos2d::CCArray* m_arrayWithUsernameLabel; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - LoadingCircle* m_circle; - void* m_popupDelegate; - CCMenuItemSpriteExtra* m_refreshBtn; -} - -[[link(android)]] -class PromoInterstitial : FLAlertLayer { - // virtual ~PromoInterstitial(); - - static PromoInterstitial* create(bool); - - bool init(bool); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class PulseEffectAction { - bool isFinished(); - TodoReturn step(float); - TodoReturn valueForDelta(float, float, float, float); -} - -[[link(android)]] -class PurchaseItemPopup : FLAlertLayer { - // virtual ~PurchaseItemPopup(); - // PurchaseItemPopup() = win 0x219820; - - static PurchaseItemPopup* create(GJStoreItem*) = win 0x21cd00; - - bool init(GJStoreItem*) = win 0x21cda0; - void onClose(cocos2d::CCObject* sender) = win 0x6a750; - void onPurchase(cocos2d::CCObject* sender) = win 0x21d820; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RandTriggerGameObject : ChanceTriggerGameObject { - // virtual ~RandTriggerGameObject(); - - static RandTriggerGameObject* create() = win 0x3a9860; - - int getRandomGroupID() = win 0x3a9950; - int getTotalChance(); - - virtual bool init() = win 0x3a9940; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3a9a00; - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x3a9b30; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x3a9d70; -} - -[[link(android)]] -class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateDemonLayer(); - - static RateDemonLayer* create(int) = win 0x2f3510; - - bool init(int) = win 0x2f35b0; - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender) = win 0x2f3c20; - void selectRating(cocos2d::CCObject*) = win 0x2f3ac0; - - virtual void keyBackClicked() = win 0x2f3e20; - virtual void uploadActionFinished(int, int) = win 0x2f3cf0; - virtual void uploadActionFailed(int, int) = win 0x2f3d30; - virtual void onClosePopup(UploadActionPopup*) = win 0x2f3d80; - - PAD = win 0x12; - int m_demonRate; -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed() {} -} - -[[link(android)]] -class RateLevelLayer : FLAlertLayer { - // virtual ~RateLevelLayer(); - - static RateLevelLayer* create(int) = win 0x2f3fd0; - - bool init(int) = win 0x2f4070; - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked() = win 0x2f4630; -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateStarsLayer(); - - static RateStarsLayer* create(int, bool, bool) = win 0x2f4870; - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int, bool, bool) = win 0x2f4920; - void onClose(cocos2d::CCObject* sender) = win 0x2f53b0; - void onFeature(cocos2d::CCObject* sender) = win 0x2f4f90; - void onRate(cocos2d::CCObject* sender) = win 0x2f51c0; - void onToggleCoins(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*) = win 0x2f5070; - - virtual void keyBackClicked() = win 0x2f53e0; - virtual void uploadActionFinished(int, int) = win 0x2f52b0; - virtual void uploadActionFailed(int, int) = win 0x2f52f0; - virtual void onClosePopup(UploadActionPopup*) = win 0x2f5340; - PAD = win 0x10; - int m_starsRate; -} - -[[link(android)]] -class RetryLevelLayer : GJDropDownLayer, RewardedVideoDelegate { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create() = win 0x2f54d0; - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender) = win 0x2f6230; - void onReplay(cocos2d::CCObject* sender) = win 0x2f6140; - void onRewardedVideo(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual void keyBackClicked() = win 0x2f62e0; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x2f6190; - virtual void customSetup() = win 0x2f5650; - virtual void showLayer(bool) = win 0x2f6010; - virtual void enterAnimFinished() = win 0x2f6100; - virtual TodoReturn rewardedVideoFinished() = win 0x2f6130; - virtual TodoReturn shouldOffsetRewardCurrency(); - virtual void keyUp(cocos2d::enumKeyCodes) {} -} - -[[link(android)]] -class RewardedVideoDelegate { - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency() = win 0xeb070; -} - -[[link(android)]] -class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate { - // virtual ~RewardsPage(); - - static RewardsPage* create() = win 0x2f6750; - - static char const* getRewardFrame(int, int); - void onClose(cocos2d::CCObject* sender) = win 0x6a750; - void onFreeStuff(cocos2d::CCObject* sender) = win 0x2f7A00; - void onReward(cocos2d::CCObject* sender) = win 0x2f74a0; - TodoReturn tryGetRewards(); - TodoReturn unlockLayerClosed(RewardUnlockLayer*); - callback void updateTimers(float); - - virtual bool init() = win 0x2f67f0; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = win 0x2f17f0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void rewardsStatusFinished(int) = win 0x2f7580; - virtual void rewardsStatusFailed() = win 0x2f7660; - - cocos2d::CCLabelBMFont* m_leftLabel; - cocos2d::CCLabelBMFont* m_rightLabel; - CCMenuItemSpriteExtra* m_leftChest; - CCMenuItemSpriteExtra* m_rightChest; - bool m_leftOpen; - bool m_rightOpen; - cocos2d::CCNode* m_openLayer; -} - -[[link(android)]] -class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate { - // virtual ~RewardUnlockLayer(); - - static RewardUnlockLayer* create(int, RewardsPage*) = win 0x2f7af0; - - TodoReturn connectionTimeout(); - bool init(int, RewardsPage*) = win 0x2f7ba0; - TodoReturn labelEnterFinishedO(cocos2d::CCObject*); - void onClose(cocos2d::CCObject* sender); - TodoReturn playDropSound(); - TodoReturn playLabelEffect(int, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn playRewardEffect(); - TodoReturn readyToCollect(GJRewardItem*); - void showCloseButton(); - void showCollectReward(GJRewardItem*) = win 0x2f8860; - TodoReturn step2(); - TodoReturn step3(); - - virtual void keyBackClicked() {} - virtual void currencyWillExit(CurrencyRewardLayer*) = win 0x2fa330; -} - -[[link(android)]] -class RingObject : EffectGameObject { - // virtual ~RingObject(); - - static RingObject* create(char const*) = win 0x399e70; - - bool init(char const*); - TodoReturn spawnCircle(); - - virtual void setScale(float); - virtual void setRotation(float); - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void setRScale(float); - virtual void triggerActivated(float); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn powerOnObject(int); - - bool m_claimTouch; - // property 504 - bool m_isSpawnOnly; -} - -[[link(android)]] -class RotateGameplayGameObject : EffectGameObject { - // virtual ~RotateGameplayGameObject(); - - static RotateGameplayGameObject* create() = win 0x3b9090; - - TodoReturn updateGameplayRotation(); - - virtual bool init() = win 0x3b9130; - virtual TodoReturn updateStartValues(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - // virtual ~ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float) = win 0x4c290; - - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float) = win 0x4c360; - void setStartOffset(cocos2d::CCPoint); - - virtual void draw() = win 0x4c510; - virtual void visit() = win 0x4c5f0; - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4c640; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4c710; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4c810; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*) = win 0x265230; - - bool init(char const*, char const*, float, char const*) = win 0x265320; - - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class SearchSFXPopup : SetTextPopup { - // virtual ~SearchSFXPopup(); - - static SearchSFXPopup* create(gd::string) = win 0x37a130; - - bool init(gd::string) = win 0x37a1f0; - void onSearchFolders(cocos2d::CCObject* sender) = win 0x37a3f0; -} - -[[link(android)]] -class SecretLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SecretLayer(); - - static SecretLayer* create(); - - TodoReturn getBasicMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*); - - virtual bool init() = win 0x3017d0; - virtual void keyBackClicked() = win 0x3052b0; - virtual void textInputOpened(CCTextInputNode*) = win 0x303560; - virtual void textInputClosed(CCTextInputNode*) = win 0x303690; - virtual void textChanged(CCTextInputNode*) = win 0x303730; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer2(); - - static SecretLayer2* create() = win 0x305630; - - gd::string getBasicMessage() = win 0x309030; - gd::string getErrorMessage() = win 0x3093c0; - gd::string getMessage() = win 0x308810; - gd::string getThreadMessage() = win 0x308a70; - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender) = win 0x309ce0; - void onDoor(cocos2d::CCObject* sender) = win 0x306e30; - void onSecretLevel(cocos2d::CCObject* sender) = win 0x306c30; - void onSubmit(cocos2d::CCObject* sender) = win 0x3071c0; - void playCoinEffect() = win 0x309890; - TodoReturn scene(); - void selectAThread() = win 0x3088b0; - void showCompletedLevel() = win 0x306460; - void showSecretLevel() = win 0x306370; - void updateMessageLabel(gd::string) = win 0x308770; - void updateSearchLabel(char const*) = win 0x3084b0; - - virtual bool init() = win 0x3056d0; - virtual void onExit() = win 0x309d50; - virtual void keyBackClicked() = win 0x309d40; - virtual void textInputOpened(CCTextInputNode*) = win 0x308240; - virtual void textInputClosed(CCTextInputNode*) = win 0x308370; - virtual void textChanged(CCTextInputNode*) = win 0x308410; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dialogClosed(DialogLayer*) = win 0x306be0; -} - -[[link(android)]] -class SecretLayer3 : cocos2d::CCLayer, DialogDelegate { - // virtual ~SecretLayer3(); - - static SecretLayer3* create(); - - TodoReturn animateEyes(); - TodoReturn firstInteractionStep1(); - TodoReturn firstInteractionStep2(); - TodoReturn firstInteractionStep3(); - TodoReturn firstInteractionStep4(); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onChest02(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn revealStep1(); - TodoReturn revealStep2(); - TodoReturn revealStep3(); - TodoReturn revealStep4(); - TodoReturn revealStep5(); - TodoReturn scene(); - void showUnlockDialog(); - - virtual bool init() = win 0x30a320; - virtual void onExit() = win 0x30deb0; - virtual void keyBackClicked() = win 0x30dea0; - virtual void dialogClosed(DialogLayer*) = win 0x30dc10; -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer4(); - - static SecretLayer4* create() = win 0x30e500; - - TodoReturn getBasicMessage() = win 0x310480; - TodoReturn getErrorMessage(); - TodoReturn getMessage() = win 0x30fd10; - TodoReturn getThreadMessage() = win 0x30fdb0; - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn scene(); - TodoReturn selectAThread() = win 0x3088b0; - void showDialog(int); - void showFirstDialog(); - TodoReturn updateMessageLabel(gd::string) = win 0x308770; - void updateSearchLabel(char const*) = win 0x3084b0; - - virtual bool init() = win 0x30e5a0; - virtual void onExit(); - virtual void keyBackClicked() = win 0x310870; - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dialogClosed(DialogLayer*) {} -} - -[[link(android)]] -class SecretNumberLayer : cocos2d::CCLayer { - // virtual ~SecretNumberLayer(); - - static SecretNumberLayer* create(); - - TodoReturn playNumberEffect(int); - - virtual bool init(); -} - -[[link(android)]] -class SecretRewardsLayer : cocos2d::CCLayer, DialogDelegate, BoomScrollLayerDelegate { - // virtual ~SecretRewardsLayer(); - - static SecretRewardsLayer* create(bool) = win 0x2fb610; - - TodoReturn createSecondaryLayer(int) = win 0x2fd430; - TodoReturn generateChestItems(int) = win 0x2fd8a0; - TodoReturn getPageColor(int); - void goToPage(int); - bool init(bool) = win 0x2fb6b0; - TodoReturn moveToMainLayer(cocos2d::CCObject*); - TodoReturn moveToSecondaryLayer(int); - void onBack(cocos2d::CCObject* sender); - void onChestType(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender) = win 0x2fe220; - void onShop(cocos2d::CCObject* sender) = win 0x2fe580; - void onSpecialItem(cocos2d::CCObject* sender) = win 0x2fe830; - void onSwitchPage(cocos2d::CCObject* sender); - TodoReturn scene(bool); - void showDialog01() = win 0x2fee50; - void showDialog03() = win 0x2ffb50; - void showDialogDiamond() = win 0x300f10; - void showDialogMechanic() = win 0x300560; - void showLockedChest(); - void showShop(int); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*) = win 0x2feb00; - TodoReturn updateBackButton(); - TodoReturn updateUnlockedLabel() = win 0x2febb0; - - virtual void onExit() = win 0x2fee10; - virtual void keyBackClicked() = win 0x2fee00; - virtual void dialogClosed(DialogLayer*) = win 0x2fe6e0; - virtual void scrollLayerMoved(cocos2d::CCPoint) = win 0x2fce90; -} - -[[link(android)]] -class SelectArtDelegate { - virtual void selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer : FLAlertLayer { - // virtual ~SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType, int) = win 0x26fcb0; - - bool init(SelectArtType, int) = win 0x26fd60; - void onClose(cocos2d::CCObject* sender); - void onSelectCustom(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - TodoReturn updateSelectedCustom(int); - - virtual void keyBackClicked() = win 0x270b20; -} - -[[link(android)]] -class SelectEventLayer : SetupTriggerPopup { - // virtual ~SelectEventLayer(); - - static SelectEventLayer* create(SetupEventLinkPopup*, gd::set&) = win 0x364ec0; - - TodoReturn addToggle(int, gd::string); - bool init(SetupEventLinkPopup*, gd::set&) = win 0x364f70; - TodoReturn nextPosition(); - void onInfo(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void onClose(cocos2d::CCObject* sender) = win 0x365990; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x365820; -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - // virtual ~SelectFontLayer(); - - static SelectFontLayer* create(LevelEditorLayer*) = win 0x204d30; - - bool init(LevelEditorLayer*) = win 0x204DD0; - void onChangeFont(cocos2d::CCObject* sender) = win 0x205460; - void onClose(cocos2d::CCObject* sender); - TodoReturn updateFontLabel() = win 0x205320; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectListIconDelegate { - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); -} - -[[link(android)]] -class SelectListIconLayer : FLAlertLayer { - // virtual ~SelectListIconLayer(); - - static SelectListIconLayer* create(int) = win 0x25e6c0; - - bool init(int) = win 0x25e760; - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x25ed70; -} - -[[link(android)]] -class SelectPremadeDelegate { - virtual void selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SelectPremadeLayer : FLAlertLayer { - // virtual ~SelectPremadeLayer(); - - static SelectPremadeLayer* create() = win 0x31af90; - - void onClose(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - - virtual bool init() = win 0x31b030; - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSettingDelegate { - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SelectSettingLayer : FLAlertLayer { - // virtual ~SelectSettingLayer(); - - static SelectSettingLayer* create(SelectSettingType, int) = win 0x270c10; - - TodoReturn frameForItem(SelectSettingType, int) = win 0x271380; - TodoReturn frameForValue(SelectSettingType, int); - TodoReturn getSelectedFrame(); - TodoReturn getSelectedValue(); - TodoReturn idxToValue(SelectSettingType, int); - bool init(SelectSettingType, int) = win 0x270cc0; - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender) = win 0x2715d0; - TodoReturn valueToIdx(SelectSettingType, int); - - virtual void keyBackClicked() = win 0x271690; - - PAD = win 0x4; - int m_settingID; -} - -[[link(android)]] -class SelectSFXSortDelegate { - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); -} - -[[link(android)]] -class SelectSFXSortLayer : FLAlertLayer { - // virtual ~SelectSFXSortLayer(); - - static SelectSFXSortLayer* create(AudioSortType) = win 0x37a410; - - bool init(AudioSortType) = win 0x37a4b0; - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SequenceTriggerGameObject : ChanceTriggerGameObject { - // virtual ~SequenceTriggerGameObject(); - - static SequenceTriggerGameObject* create() = win 0x3a9fd0; - - void addCount(int, int) = win 0x3aae20; - void addTarget(int, int) = win 0x3aad40; - void deleteTarget(int); - int reorderTarget(int, bool) = win 0x3aada0; - TodoReturn updateSequenceTotalCount(); - - virtual bool init() = win 0x3aa070; - virtual void resetObject() = win 0x3aa080; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*) = win 0x3aa0a0; - virtual void customObjectSetup(gd::vector&, gd::vector&) = win 0x3aa5b0; - virtual gd::string getSaveString(GJBaseGameLayer*) = win 0x3aa900; -} - -[[link(android)]] -class SetColorIDPopup : SetIDPopup, GJSpecialColorSelectDelegate { - // virtual ~SetColorIDPopup(); - - static SetColorIDPopup* create(int) = win 0x210540; - - bool init(int) = win 0x2105e0; - void onSelectSpecialColor(cocos2d::CCObject* sender); - - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = win 0x2107c0; -} - -[[link(android)]] -class SetFolderPopup : SetIDPopup, SetTextPopupDelegate { - // virtual ~SetFolderPopup(); - - static SetFolderPopup* create(int, bool, gd::string) = win 0x210a80; - - bool init(int, bool, gd::string) = win 0x210b50; - void onSetFolderName(cocos2d::CCObject* sender); - - virtual void valueChanged() = win 0x210d90; - virtual void setTextPopupClosed(SetTextPopup*, gd::string) = win 0x210ff0; -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - // virtual ~SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject*, cocos2d::CCArray*) = win 0x310cd0; - - TodoReturn addGroupID(int) = win 0x314320; - void callRemoveFromGroup(float) = win 0x313ea0; // win 0x313ea0 - TodoReturn createTextInput(cocos2d::CCPoint, int, int, gd::string, float, int) = win 0x312b40; - TodoReturn determineStartValues() = win 0x313130; - bool init(GameObject* obj, cocos2d::CCArray* objs) = win 0x310d80; - void onAddGroup(cocos2d::CCObject* sender) = win 0x313fd0; - void onAddGroupParent(cocos2d::CCObject* sender) = win 0x313fe0; - void onAnim(cocos2d::CCObject* sender) = win 0x313580; - TodoReturn onArrow(int, int) = win 0x312fc0; - void onArrowLeft(cocos2d::CCObject* sender) = win 0x312f80; - void onArrowRight(cocos2d::CCObject* sender) = win 0x312fa0; - void onClose(cocos2d::CCObject* sender) = win 0x314bd0; - void onCopy(cocos2d::CCObject* sender) = win 0x3134a0; - void onExtra(cocos2d::CCObject* sender) = win 0x313530; - void onExtra2(cocos2d::CCObject* sender) = win 0x313560; - void onNextFreeEditorLayer1(cocos2d::CCObject* sender) = win 0x3142c0; - void onNextFreeEditorLayer2(cocos2d::CCObject* sender) = win 0x3142f0; - void onNextFreeOrderChannel(cocos2d::CCObject* sender) = win 0x314910; - void onNextGroupID1(cocos2d::CCObject* sender) = win 0x3137e0; - void onPaste(cocos2d::CCObject* sender) = win 0x3134c0; - void onRemoveFromGroup(cocos2d::CCObject* sender) = win 0x313f20; - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender) = win 0x312aa0; - void onToggleSelectedOrder(cocos2d::CCObject* sender) = win 0x312af0; - void onZLayer(cocos2d::CCObject* sender) = win 0x314050; - void onZLayerShift(cocos2d::CCObject* sender) = win 0x314150; - TodoReturn removeGroupID(int) = win 0x314460; // win 0x314460 - TodoReturn updateEditorLabel() = win 0x314610; - TodoReturn updateEditorLabel2() = win 0x3146a0; - TodoReturn updateEditorLayerID() = win 0x314200; - TodoReturn updateEditorLayerID2() = win 0x314260; - TodoReturn updateEditorOrder() = win 0x314b40; - TodoReturn updateEditorOrderLabel() = win 0x314850; - TodoReturn updateGroupIDButtons() = win 0x313810; - TodoReturn updateGroupIDLabel() = win 0x3147c0; - TodoReturn updateOrderChannel() = win 0x314ab0; - TodoReturn updateOrderChannelLabel() = win 0x3148b0; - TodoReturn updateZLayerButtons(); - TodoReturn updateZOrder() = win 0x314590; - TodoReturn updateZOrderLabel() = win 0x314730; - - virtual void keyBackClicked() = win 0x314e20; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x3135b0; - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_array0; - cocos2d::CCArray* m_groupIDObjects; - CCTextInputNode* m_editorLayerInput; - CCTextInputNode* m_editorLayer2Input; - CCTextInputNode* m_zOrderInput; - CCTextInputNode* m_groupIDInput; - CCTextInputNode* m_orderInput; - CCTextInputNode* m_channelInput; - bool m_showChannelOrder; - int m_channelValue; - bool m_channelUpdated; - int m_groupIDValue; - int m_editorLayerValue; - int m_editorLayer2Value; - int m_zOrderValue; - ZLayer m_zLayerValue; - int m_orderValue; - bool m_channelOrderEdited; - bool m_editorLayerEdited; - bool m_removeGroupsLock; - int m_groupToRemove; - bool m_addedGroup; - bool m_unkBool0; - bool m_hasTargetObjects; -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetIDPopup(); - // SetIDPopup(); - - static SetIDPopup* create(int, int, int, gd::string, gd::string, bool, int, float, bool, bool) = win 0x20f840; - - bool init(int, int, int, gd::string, gd::string, bool, int, float, bool, bool) = win 0x20f980; - void onCancel(cocos2d::CCObject* sender) = win 0x210410; - void onClose(cocos2d::CCObject* sender) = win 0x210430; - void onItemIDArrow(cocos2d::CCObject* sender) = win 0x2101e0; - void onResetValue(cocos2d::CCObject* sender) = win 0x210240; - TodoReturn updateTextInputLabel() = win 0x2102f0; - - virtual void keyBackClicked() = win 0x2104c0; - virtual void show() = win 0x2103a0; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x210260; - virtual void valueChanged() {} - - CCTextInputNode* m_inputNode; - int m_value; - bool m_unkBool; - bool m_cancelled; - int m_minimum; - int m_maximum; - int m_default; - SetIDPopupDelegate* m_delegate; -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int) {} -} - -[[link(android)]] -class SetItemIDLayer : SetupTriggerPopup { - // virtual ~SetItemIDLayer(); - - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*) = win 0x317520; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3175d0; - TodoReturn updateEditorLabel(); - - virtual void onClose(cocos2d::CCObject* sender) = win 0x317cf0; - virtual void valueDidChange(int, float) = win 0x317b50; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x317a00; -} - -[[link(android)]] -class SetLevelOrderPopup : SetIDPopup { - // virtual ~SetLevelOrderPopup(); - - static SetLevelOrderPopup* create(int, int, int) = win 0x25e270; - - bool init(int, int, int) = win 0x25e320; - void onOrderButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetTargetIDLayer : SetupTriggerPopup { - // virtual ~SetTargetIDLayer(); - - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int) = win 0x317e80; - - bool init(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int) = win 0x317fb0; - - virtual TodoReturn determineStartValues(); - virtual void valueDidChange(int, float) = win 0x318250; -} - -[[link(android)]] -class SetTextPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetTextPopup(); - - static SetTextPopup* create(gd::string value, gd::string placeholder, int maxLength, gd::string title, gd::string okBtnText, bool showResetBtn, float) = win 0x211180; - - bool init(gd::string, gd::string, int, gd::string, gd::string, bool, float) = win 0x211340; - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked() = win 0x211c80; - virtual void show() = win 0x61860; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x211b20; - - CCTextInputNode* m_input; - bool m_disableDelegate; - gd::string m_value; - SetTextPopupDelegate* m_delegate; -} - -[[link(android)]] -class SetTextPopupDelegate { - virtual void setTextPopupClosed(SetTextPopup*, gd::string) {} -} - -[[link(android)]] -class SetupAdvFollowEditPhysicsPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowEditPhysicsPopup(); - - static SetupAdvFollowEditPhysicsPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*) = win 0x31b580; - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*) = win 0x31b630; - - virtual void valueDidChange(int, float) = win 0x31bda0; -} - -[[link(android)]] -class SetupAdvFollowPopup : SetupTriggerPopup, SelectPremadeDelegate { - // virtual ~SetupAdvFollowPopup(); - - static SetupAdvFollowPopup* create(AdvancedFollowTriggerObject*, cocos2d::CCArray*) = win 0x3184c0; - - bool init(AdvancedFollowTriggerObject*, cocos2d::CCArray*) = win 0x318570; - void onMode(cocos2d::CCObject* sender) = win 0x31aa70; - void onPremade(cocos2d::CCObject* sender) = win 0x31ab60; - void updateMode(int) = win 0x31aaf0; - - virtual void onClose(cocos2d::CCObject* sender); - virtual void updateDefaultTriggerValues() = win 0x31a670; - virtual void valueDidChange(int, float) = win 0x31a760; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x31a9d0; - virtual void selectPremadeClosed(SelectPremadeLayer*, int) = win 0x31aba0; -} - -[[link(android)]] -class SetupAdvFollowRetargetPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowRetargetPopup(); - - static SetupAdvFollowRetargetPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*) = win 0x31bdf0; - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*) = win 0x31bea0; - - virtual void updateDefaultTriggerValues() = win 0x31a670; - virtual void valueDidChange(int, float) = win 0x31c220; -} - -[[link(android)]] -class SetupAnimationPopup : SetupTriggerPopup { - // virtual ~SetupAnimationPopup(); - - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x31c510; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x31c5c0; - void onAnimationIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateAnimationID(); - TodoReturn updateAnimationTextInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x31d110; - virtual void onClose(cocos2d::CCObject* sender) = win 0x31d580; - virtual void textChanged(CCTextInputNode*) = win 0x31d280; -} - -[[link(android)]] -class SetupAnimSettingsPopup : SetupTriggerPopup { - // virtual ~SetupAnimSettingsPopup(); - - static SetupAnimSettingsPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x31d690; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x31d740; - TodoReturn updateAnimSettings(); - - virtual void onClose(cocos2d::CCObject* sender) = win 0x31de20; -} - -[[link(android)]] -class SetupAreaAnimTriggerPopup : SetupAreaTintTriggerPopup { - // virtual ~SetupAreaAnimTriggerPopup(); - - static SetupAreaAnimTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*, int) = win 0x322760; - - TodoReturn createValueControlAdvancedAnim(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float min, float max, int, int, GJInputStyle) = win 0x323820; - bool init(EnterEffectObject*, cocos2d::CCArray*, int) = win 0x322810; - void onDeactivateAnimValue(cocos2d::CCObject* sender); - TodoReturn updateTargetIDLabel(); - - virtual void updateDefaultTriggerValues() = win 0x3239c0; - virtual void valueDidChange(int, float) = win 0x323b90; -} - -[[link(android)]] -class SetupAreaFadeTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaFadeTriggerPopup(); - - static SetupAreaFadeTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x321140; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x3211f0; -} - -[[link(android)]] -class SetupAreaMoveTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAreaMoveTriggerPopup(); - // SetupAreaMoveTriggerPopup(); - - static SetupAreaMoveTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x31e580; - - TodoReturn addAreaDefaultControls(int); - TodoReturn getModeValues(int, int&, bool&, bool&); - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x31e630; - void onMode(cocos2d::CCObject* sender); - void onNextFreeEffectID(cocos2d::CCObject* sender); - void onSpecialTarget(cocos2d::CCObject* sender); - TodoReturn updateEnterTargetIDState(); - - virtual void updateInputValue(int, float&) = win 0x320540; - virtual void updateDefaultTriggerValues() = win 0x31fe50; - virtual TodoReturn updateInputNode(int, float) = win 0x320500; - virtual void valueDidChange(int, float) = win 0x320300; - virtual TodoReturn triggerValueFromSliderValue(int, float) = win 0x320410; - virtual TodoReturn triggerSliderValueFromValue(int, float) = win 0x3204c0; -} - -[[link(android)]] -class SetupAreaRotateTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaRotateTriggerPopup(); - - static SetupAreaRotateTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x320c00; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x320cb0; -} - -[[link(android)]] -class SetupAreaTintTriggerPopup : SetupAreaMoveTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupAreaTintTriggerPopup(); - - static SetupAreaTintTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x321690; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x321740; - void onHSV(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues() = win 0x321e70; - virtual void onClose(cocos2d::CCObject* sender) = win 0x322130; - virtual void valueDidChange(int, float) = win 0x321d90; - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) = win 0x322060; -} - -[[link(android)]] -class SetupAreaTransformTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTransformTriggerPopup(); - - static SetupAreaTransformTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x3205e0; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x320690; -} - -[[link(android)]] -class SetupAreaTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTriggerPopup(); - - static SetupAreaTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x3222e0; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x322390; -} - -[[link(android)]] -class SetupArtSwitchPopup : SetupTriggerPopup, SelectArtDelegate { - // virtual ~SetupArtSwitchPopup(); - - static SetupArtSwitchPopup* create(ArtTriggerGameObject*, cocos2d::CCArray*, int) = win 0x36caa0; - - bool init(ArtTriggerGameObject*, cocos2d::CCArray*, int) = win 0x36cbf0; - void onArt(cocos2d::CCObject* sender); - - virtual void selectArtClosed(SelectArtLayer*) = win 0x36cff0; -} - -[[link(android)]] -class SetupAudioLineGuidePopup : SetupTriggerPopup, SelectSettingDelegate { - // virtual ~SetupAudioLineGuidePopup(); - - static SetupAudioLineGuidePopup* create(AudioLineGuideGameObject*, cocos2d::CCArray*) = win 0x36ba20; - - bool init(AudioLineGuideGameObject*, cocos2d::CCArray*) = win 0x36bad0; - void onSpeed(cocos2d::CCObject* sender); - - virtual TodoReturn selectSettingClosed(SelectSettingLayer*) = win 0x36bfe0; -} - -[[link(android)]] -class SetupAudioTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAudioTriggerPopup(); - - TodoReturn addProxVolControls(int); - TodoReturn addTimeControls(int, float); - void onProxMode(cocos2d::CCObject* sender); - TodoReturn updateSpecialGroup(); - - virtual void valueDidChange(int, float) = win 0x34d920; -} - -[[link(android)]] -class SetupBGSpeedTrigger : SetupTriggerPopup { - // virtual ~SetupBGSpeedTrigger(); - - static SetupBGSpeedTrigger* create(EffectGameObject*, cocos2d::CCArray*, int) = win 0x335630; - - bool init(EffectGameObject*, cocos2d::CCArray*, int) = win 0x3356e0; -} - -[[link(android)]] -class SetupCameraEdgePopup : SetupTriggerPopup { - // virtual ~SetupCameraEdgePopup(); - - static SetupCameraEdgePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x323e00; - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x323eb0; - void onCameraEdge(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onUnlockEdge(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x324920; - virtual void onClose(cocos2d::CCObject* sender) = win 0x324d10; - virtual void textChanged(CCTextInputNode*) = win 0x324b70; -} - -[[link(android)]] -class SetupCameraGuidePopup : SetupTriggerPopup { - // virtual ~SetupCameraGuidePopup(); - - static SetupCameraGuidePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x36c0d0; - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x36c180; -} - -[[link(android)]] -class SetupCameraModePopup : SetupTriggerPopup { - // virtual ~SetupCameraModePopup(); - - static SetupCameraModePopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x324f10; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x324fc0; - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual TodoReturn determineStartValues() = win 0x3257f0; - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupCameraOffsetTrigger : SetupTriggerPopup { - // virtual ~SetupCameraOffsetTrigger(); - - static SetupCameraOffsetTrigger* create(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x325f60; - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x326010; - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onTargetMode(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues() = win 0x3270f0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x328340; - virtual void textChanged(CCTextInputNode*) = win 0x327e40; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = win 0x327550; -} - -[[link(android)]] -class SetupCameraRotatePopup : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup(); - - static SetupCameraRotatePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup2 : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup2(); - - static SetupCameraRotatePopup2* create(EffectGameObject*, cocos2d::CCArray*) = win 0x328470; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x328520; -} - -[[link(android)]] -class SetupCheckpointPopup : SetupTriggerPopup { - // virtual ~SetupCheckpointPopup(); - - static SetupCheckpointPopup* create(CheckpointGameObject*, cocos2d::CCArray*) = win 0x366b80; - - bool init(CheckpointGameObject*, cocos2d::CCArray*) = win 0x366c30; -} - -[[link(android)]] -class SetupCoinLayer : SetupTriggerPopup { - // virtual ~SetupCoinLayer(); - - static SetupCoinLayer* create(EffectGameObject*, cocos2d::CCArray*) = win 0x36b340; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x36b3f0; -} - -[[link(android)]] -class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup { - // virtual ~SetupCollisionStateTriggerPopup(); - - static SetupCollisionStateTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x32a940; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x32a9f0; -} - -[[link(android)]] -class SetupCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCollisionTriggerPopup(); - - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x328a90; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x328b40; - void onActivateOnExit(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemID2Arrow(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetP1(cocos2d::CCObject* sender); - void onTargetP2(cocos2d::CCObject* sender); - void onTargetPP(cocos2d::CCObject* sender); - TodoReturn updateItemID(); - TodoReturn updateItemID2(); - TodoReturn updateItemID2InputLabel(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x329650; - virtual void onClose(cocos2d::CCObject* sender) = win 0x32a1f0; - virtual void textChanged(CCTextInputNode*) = win 0x329d30; -} - -[[link(android)]] -class SetupCountTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCountTriggerPopup(); - - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x32ad80; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x32ae30; - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x32ba60; - virtual void onClose(cocos2d::CCObject* sender) = win 0x32c060; - virtual void textChanged(CCTextInputNode*) = win 0x32bd00; -} - -[[link(android)]] -class SetupDashRingPopup : SetupTriggerPopup { - // virtual ~SetupDashRingPopup(); - - static SetupDashRingPopup* create(DashRingObject*, cocos2d::CCArray*) = win 0x36da50; - - bool init(DashRingObject*, cocos2d::CCArray*) = win 0x36db00; -} - -[[link(android)]] -class SetupEndPopup : SetupTriggerPopup { - // virtual ~SetupEndPopup(); - - static SetupEndPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x32c300; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x32c3b0; - void onLockY(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onReversed(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x32cba0; - virtual void onClose(cocos2d::CCObject* sender); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x32cd90; -} - -[[link(android)]] -class SetupEnterEffectPopup : SetupTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupEnterEffectPopup(); - - static SetupEnterEffectPopup* create(EnterEffectObject*, cocos2d::CCArray*, int) = win 0x32d400; - - bool init(EnterEffectObject*, cocos2d::CCArray*, int) = win 0x32d4b0; - void onEnterType(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onNextFreeEnterChannel(cocos2d::CCObject* sender); - void onNextFreeEnterEffectID(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues() = win 0x32e880; - virtual void onClose(cocos2d::CCObject* sender) = win 0x32ee50; - virtual void updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual void valueDidChange(int, float) = win 0x32ea30; - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) = win 0x32ed80; -} - -[[link(android)]] -class SetupEnterTriggerPopup : SetupTriggerPopup { - // virtual ~SetupEnterTriggerPopup(); - - static SetupEnterTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*) = win 0x205930; - - bool init(EnterEffectObject*, cocos2d::CCArray*) = win 0x2059e0; - void onEnterType(cocos2d::CCObject* sender); - - virtual TodoReturn determineStartValues() = win 0x205d20; -} - -[[link(android)]] -class SetupEventLinkPopup : SetupTriggerPopup { - // virtual ~SetupEventLinkPopup(); - - static SetupEventLinkPopup* create(EventLinkTrigger*, cocos2d::CCArray*) = win 0x3647c0; - - bool init(EventLinkTrigger*, cocos2d::CCArray*) = win 0x364870; - void onSelectEvent(cocos2d::CCObject* sender); - TodoReturn updateEventIDs(gd::set&); -} - -[[link(android)]] -class SetupForceBlockPopup : SetupTriggerPopup { - // virtual ~SetupForceBlockPopup(); - - static SetupForceBlockPopup* create(ForceBlockGameObject*, cocos2d::CCArray*) = win 0x36c4d0; - - bool init(ForceBlockGameObject*, cocos2d::CCArray*) = win 0x36c580; - - virtual void valueDidChange(int, float) = win 0x36ca30; -} - -[[link(android)]] -class SetupGameplayOffsetPopup : SetupTriggerPopup { - // virtual ~SetupGameplayOffsetPopup(); - - static SetupGameplayOffsetPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x34a410; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x34a4c0; - void onDefaultValues(cocos2d::CCObject* sender); - - virtual void updateInputValue(int, float&) = win 0x34ab70; - virtual TodoReturn updateInputNode(int, float) = win 0x34ab40; - virtual TodoReturn triggerValueFromSliderValue(int, float) = win 0x34aa60; - virtual TodoReturn triggerSliderValueFromValue(int, float) = win 0x34ab10; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x34a9d0; -} - -[[link(android)]] -class SetupGradientPopup : SetupTriggerPopup { - // virtual ~SetupGradientPopup(); - - static SetupGradientPopup* create(GradientTriggerObject*, cocos2d::CCArray*) = win 0x32f140; - - bool init(GradientTriggerObject*, cocos2d::CCArray*) = win 0x32f1f0; - void onBlending(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateBlending(); - TodoReturn updateBlendingLabel(); - TodoReturn updateGradientLabels(bool); - TodoReturn updateZLayerButtons(); - - virtual TodoReturn determineStartValues() = win 0x32fe60; - virtual void onPlusButton(cocos2d::CCObject* sender) = win 0x32ff50; - virtual TodoReturn updateToggleItem(int, bool) = win 0x32ff90; - virtual void valueDidChange(int, float) = win 0x330470; -} - -[[link(android)]] -class SetupGravityModPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupGravityModPopup(); - - static SetupGravityModPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateValue(); - TodoReturn updateValueLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupGravityTriggerPopup : SetupTriggerPopup { - // virtual ~SetupGravityTriggerPopup(); - - static SetupGravityTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x335b20; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x335bd0; - - virtual void valueDidChange(int, float) = win 0x335e90; -} - -[[link(android)]] -class SetupInstantCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupInstantCollisionTriggerPopup(); - - static SetupInstantCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x32a2a0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x32a350; - TodoReturn updateSpecialNodes(); - - virtual void updateDefaultTriggerValues() = win 0x32a930; - virtual void valueDidChange(int, float) = win 0x32a780; -} - -[[link(android)]] -class SetupInstantCountPopup : SetupTriggerPopup { - // virtual ~SetupInstantCountPopup(); - - static SetupInstantCountPopup* create(CountTriggerGameObject*, cocos2d::CCArray*) = win 0x330620; - - bool init(CountTriggerGameObject*, cocos2d::CCArray*) = win 0x3306d0; - void onCountType(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x331220; - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*) = win 0x3313d0; -} - -[[link(android)]] -class SetupInteractObjectPopup : SetupTriggerPopup { - // virtual ~SetupInteractObjectPopup(); - - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x3317b0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x331860; - TodoReturn updateItems(); - - virtual void onClose(cocos2d::CCObject* sender) = win 0x331eb0; - virtual void onPlusButton(cocos2d::CCObject* sender) = win 0x331db0; - virtual void valueDidChange(int, float) = win 0x331e70; -} - -[[link(android)]] -class SetupItemCompareTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemCompareTriggerPopup(); - - static SetupItemCompareTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x369a60; - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x369b10; - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual void valueDidChange(int, float) = win 0x36b310; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x36a9d0; -} - -[[link(android)]] -class SetupItemEditTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemEditTriggerPopup(); - - static SetupItemEditTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x367c80; - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x367d30; - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual void valueDidChange(int, float) = win 0x369a30; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x3697f0; -} - -[[link(android)]] -class SetupKeyframeAnimPopup : SetupTriggerPopup { - // virtual ~SetupKeyframeAnimPopup(); - - static SetupKeyframeAnimPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x332110; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3321c0; -} - -[[link(android)]] -class SetupKeyframePopup : SetupTriggerPopup { - // virtual ~SetupKeyframePopup(); - - static SetupKeyframePopup* create(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*) = win 0x332830; - - bool init(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*) = win 0x3328e0; - void onTimeMode(cocos2d::CCObject* sender); - TodoReturn refreshPreviewArt(); - TodoReturn updateTimeModeButtons(); - - virtual void onClose(cocos2d::CCObject* sender) = win 0x333c10; - virtual void onCustomButton(cocos2d::CCObject* sender) = win 0x333660; - virtual void valueDidChange(int, float) = win 0x333590; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x3335c0; -} - -[[link(android)]] -class SetupMGTrigger : SetupTriggerPopup { - // virtual ~SetupMGTrigger(); - - static SetupMGTrigger* create(EffectGameObject*, cocos2d::CCArray*) = win 0x333f20; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x333fd0; - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues() = win 0x334e30; - virtual void onClose(cocos2d::CCObject* sender) = win 0x335530; - virtual void textChanged(CCTextInputNode*) = win 0x335280; - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupMoveCommandPopup : SetupTriggerPopup { - // virtual ~SetupMoveCommandPopup(); - - static SetupMoveCommandPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x1f9810; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x1f98c0; - TodoReturn updateControlVisibility(); - - virtual void updateInputValue(int, float&) = win 0x1fa630; - virtual TodoReturn updateInputNode(int, float) = win 0x1fa5d0; - virtual void valueDidChange(int, float) = win 0x1fa670; - virtual TodoReturn triggerValueFromSliderValue(int, float) = win 0x1fa410; - virtual TodoReturn triggerSliderValueFromValue(int, float) = win 0x1fa4f0; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x1faaa0; -} - -[[link(android)]] -class SetupObjectControlPopup : SetupTriggerPopup { - // virtual ~SetupObjectControlPopup(); - - static SetupObjectControlPopup* create(ObjectControlGameObject*, cocos2d::CCArray*) = win 0x36d7b0; - - bool init(ObjectControlGameObject*, cocos2d::CCArray*) = win 0x36d860; -} - -[[link(android)]] -class SetupObjectOptions2Popup : SetupTriggerPopup { - // virtual ~SetupObjectOptions2Popup(); - - static SetupObjectOptions2Popup* create(GameObject*, cocos2d::CCArray*) = win 0x316fe0; - - bool init(GameObject*, cocos2d::CCArray*) = win 0x317090; - - virtual void onPlusButton(cocos2d::CCObject* sender) = win 0x3173b0; -} - -[[link(android)]] -class SetupObjectOptionsPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupObjectOptionsPopup(); - - static SetupObjectOptionsPopup* create(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*) = win 0x314f00; - - bool init(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*) = win 0x314fb0; - void onAlwaysHide(cocos2d::CCObject* sender); - void onApplyScaleStick(cocos2d::CCObject* sender); - void onCenterEffect(cocos2d::CCObject* sender); - void onDisableGlow(cocos2d::CCObject* sender); - void onDisableObject(cocos2d::CCObject* sender); - void onDontBoost(cocos2d::CCObject* sender); - void onDontBoostX(cocos2d::CCObject* sender); - void onDontEnter(cocos2d::CCObject* sender); - void onDontFade(cocos2d::CCObject* sender); - void onExtendedCollision(cocos2d::CCObject* sender); - void onExtraSticky(cocos2d::CCObject* sender); - void onGripSlope(cocos2d::CCObject* sender); - void onHideEffects(cocos2d::CCObject* sender); - void onHighDetail(cocos2d::CCObject* sender); - void onIceBlock(cocos2d::CCObject* sender); - void onNoAudioScale(cocos2d::CCObject* sender); - void onNonStickX(cocos2d::CCObject* sender); - void onNonStickY(cocos2d::CCObject* sender); - void onNoParticle(cocos2d::CCObject* sender); - void onPassable(cocos2d::CCObject* sender); - void onReverse(cocos2d::CCObject* sender); - void onSinglePlayerTouch(cocos2d::CCObject* sender); - void onToggleAreaParent(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn determineStartValues() = win 0x316170; - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectTogglePopup : SetupTriggerPopup { - // virtual ~SetupObjectTogglePopup(); - - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*, bool) = win 0x336040; - - bool init(EffectGameObject*, cocos2d::CCArray*, bool) = win 0x3360f0; - - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float) = win 0x336620; -} - -[[link(android)]] -class SetupOpacityPopup : SetupTriggerPopup { - // virtual ~SetupOpacityPopup(); - - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x336840; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3368f0; - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - void updateOpacity(); - void updateOpacityLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x3374d0; - virtual void onClose(cocos2d::CCObject* sender); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x337830; -} - -[[link(android)]] -class SetupOptionsTriggerPopup : SetupTriggerPopup { - // virtual ~SetupOptionsTriggerPopup(); - - static SetupOptionsTriggerPopup* create(GameOptionsTrigger*, cocos2d::CCArray*) = win 0x340390; - - TodoReturn addOption(int, gd::string); - bool init(GameOptionsTrigger*, cocos2d::CCArray*) = win 0x340440; - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x340a50; -} - -[[link(android)]] -class SetupPersistentItemTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPersistentItemTriggerPopup(); - - static SetupPersistentItemTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x36b630; - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*) = win 0x36b6e0; -} - -[[link(android)]] -class SetupPickupTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPickupTriggerPopup(); - - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x340b80; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x340c30; - TodoReturn updateState(); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x3410b0; -} - -[[link(android)]] -class SetupPlatformerEndPopup : SetupTriggerPopup { - // virtual ~SetupPlatformerEndPopup(); - - static SetupPlatformerEndPopup* create(EndTriggerGameObject*, cocos2d::CCArray*) = win 0x32ce80; - - bool init(EndTriggerGameObject*, cocos2d::CCArray*) = win 0x32cf40; -} - -[[link(android)]] -class SetupPlayerControlPopup : SetupTriggerPopup { - // virtual ~SetupPlayerControlPopup(); - - static SetupPlayerControlPopup* create(PlayerControlGameObject*, cocos2d::CCArray*) = win 0x366020; - - bool init(PlayerControlGameObject*, cocos2d::CCArray*) = win 0x3660d0; -} - -[[link(android)]] -class SetupPortalPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupPortalPopup(); - - static SetupPortalPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SetupPulsePopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~SetupPulsePopup(); - - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x341420; - - TodoReturn getColorValue(); - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3414d0; - void onCopy(cocos2d::CCObject* sender); - void onExclusive(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeInTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateGroupMainOnly(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateHoldLabel(bool); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updatePulseMode(); - TodoReturn updatePulseTargetType(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual void show() = win 0x345450; - virtual TodoReturn determineStartValues() = win 0x344670; - virtual void onClose(cocos2d::CCObject* sender) = win 0x3451c0; - virtual void textChanged(CCTextInputNode*) = win 0x3455f0; - virtual void colorValueChanged(cocos2d::ccColor3B) = win 0x345360; - virtual void textInputOpened(CCTextInputNode*) {} - virtual void colorSelectClosed(GJSpecialColorSelect*, int) = win 0x344db0; -} - -[[link(android)]] -class SetupRandAdvTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandAdvTriggerPopup(); - - static SetupRandAdvTriggerPopup* create(RandTriggerGameObject*, cocos2d::CCArray*) = win 0x346250; - - void addChance(int, int) = win 0x346ce0; - void addChanceToObject(RandTriggerGameObject*, int, int) = win 0x346d70; - void callRemoveFromGroup(float); // = win 0x3479f0; - bool init(RandTriggerGameObject*, cocos2d::CCArray*) = win 0x346300; - void onAddChance(cocos2d::CCObject* sender) = win 0x347ad0; - void onRemoveFromGroup(cocos2d::CCObject* sender) = win 0x347a20; - void removeGroupID(int) = win 0x346de0; - void removeGroupIDFromObject(RandTriggerGameObject*, int) = win 0x346ee0; - void updateGroupIDButtons() = win 0x346f60; - - virtual void onClose(cocos2d::CCObject* sender) = win 0x346c40; - virtual void textChanged(CCTextInputNode*) {} -} - -[[link(android)]] -class SetupRandTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandTriggerPopup(); - - static SetupRandTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x348530; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3485e0; - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateChance(); - TodoReturn updateChanceLabel(bool); - TodoReturn updateTargetID(); - TodoReturn updateTargetID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues() = win 0x3492a0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x349a20; - virtual void textChanged(CCTextInputNode*) = win 0x3495e0; -} - -[[link(android)]] -class SetupResetTriggerPopup : SetupTriggerPopup { - // virtual ~SetupResetTriggerPopup(); - - static SetupResetTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x367a20; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x367ad0; -} - -[[link(android)]] -class SetupReverbPopup : SetupTriggerPopup { - // virtual ~SetupReverbPopup(); - - static SetupReverbPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*) = win 0x34d9f0; - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*) = win 0x34daa0; - void onPlay(cocos2d::CCObject* sender); - void onReverb(cocos2d::CCObject* sender); - TodoReturn updateReverbLabel(); - - virtual void onClose(cocos2d::CCObject* sender) = win 0x34e0d0; -} - -[[link(android)]] -class SetupRotateCommandPopup : SetupTriggerPopup { - // virtual ~SetupRotateCommandPopup(); - - static SetupRotateCommandPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x2188f0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x2189a0; - void onInfiniteDuration(cocos2d::CCObject* sender); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputNode(int, float) = win 0x219470; - virtual void valueDidChange(int, float) = win 0x219490; - virtual TodoReturn triggerValueFromSliderValue(int, float) = win 0x219380; - virtual TodoReturn triggerSliderValueFromValue(int, float) = win 0x219450; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateGameplayPopup : SetupTriggerPopup { - // virtual ~SetupRotateGameplayPopup(); - - static SetupRotateGameplayPopup* create(RotateGameplayGameObject*, cocos2d::CCArray*) = win 0x349c10; - - bool init(RotateGameplayGameObject*, cocos2d::CCArray*) = win 0x349cc0; - - virtual void onPlusButton(cocos2d::CCObject* sender) = win 0x34a300; - virtual void valueDidChange(int, float) = win 0x34a330; -} - -[[link(android)]] -class SetupRotatePopup : SetupTriggerPopup { - // virtual ~SetupRotatePopup(); - - static SetupRotatePopup* create(EnhancedGameObject*, cocos2d::CCArray*) = win 0x34ac20; - - bool init(EnhancedGameObject*, cocos2d::CCArray*) = win 0x34acd0; - - virtual void onClose(cocos2d::CCObject* sender) = win 0x34b030; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x34b1b0; -} - -[[link(android)]] -class SetupSequenceTriggerPopup : SetupTriggerPopup { - // virtual ~SetupSequenceTriggerPopup(); - - static SetupSequenceTriggerPopup* create(SequenceTriggerGameObject*) = win 0x34b450; - - bool init(SequenceTriggerGameObject*) = win 0x34b4f0; - void onAddChance(cocos2d::CCObject* sender) = win 0x34c5e0; - void onChangeOrder(cocos2d::CCObject* sender) = win 0x34c670; - void onDeleteSelected(cocos2d::CCObject* sender) = win 0x34c6e0; - void onSelect(cocos2d::CCObject* sender) = win 0x34c570; - void updateGroupIDButtons() = win 0x34c110; - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x34c040; -} - -[[link(android)]] -class SetupSFXEditPopup : SetupAudioTriggerPopup { - // virtual ~SetupSFXEditPopup(); - - static SetupSFXEditPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*, bool) = win 0x34f530; - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*, bool) = win 0x34f5e0; -} - -[[link(android)]] -class SetupSFXPopup : SetupAudioTriggerPopup, CustomSFXDelegate, SFXBrowserDelegate { - // virtual ~SetupSFXPopup(); - - static SetupSFXPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*) = win 0x34e1b0; - - TodoReturn createSFXWidget(); - bool init(SFXTriggerGameObject*, cocos2d::CCArray*) = win 0x34e260; - void onBrowseSFX(cocos2d::CCObject* sender); - TodoReturn updateLength(); - - virtual void pageChanged() = win 0x34eb60; - virtual void onClose(cocos2d::CCObject* sender) = win 0x34eba0; - virtual void onPlusButton(cocos2d::CCObject* sender) = win 0x34f3b0; - virtual void valueDidChange(int, float) = win 0x34f2b0; - virtual void sfxObjectSelected(SFXInfoObject*) {} - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*) = win 0x34f270; - virtual TodoReturn sfxBrowserClosed(SFXBrowser*) = win 0x34f490; -} - -[[link(android)]] -class SetupShaderEffectPopup : SetupTriggerPopup { - // virtual ~SetupShaderEffectPopup(); - - static SetupShaderEffectPopup* create(EffectGameObject*, cocos2d::CCArray*, int) = win 0x34fe80; - - bool init(EffectGameObject*, cocos2d::CCArray*, int) = win 0x34ff30; - void onResetColors(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn setupBulge(); - TodoReturn setupChromatic(); - TodoReturn setupChromaticGlitch(); - TodoReturn setupColorChange(); - TodoReturn setupGlitch(); - TodoReturn setupGrayscale(); - TodoReturn setupHueShift(); - TodoReturn setupInvertColor(); - TodoReturn setupLensCircle(); - TodoReturn setupMotionBlur(); - TodoReturn setupPinch(); - TodoReturn setupPixelate(); - TodoReturn setupRadialBlur(); - TodoReturn setupSepia(); - TodoReturn setupShaderTrigger(); - TodoReturn setupShockLine(); - TodoReturn setupShockWave(); - TodoReturn setupSplitScreen(); - TodoReturn updateZLayerButtons(); - TodoReturn zLayerToString(int); - - virtual TodoReturn toggleGroup(int, bool) = win 0x357390; - virtual void onClose(cocos2d::CCObject* sender); - virtual void updateDefaultTriggerValues() = win 0x350180; - virtual void valueDidChange(int, float) = win 0x3570a0; -} - -[[link(android)]] -class SetupShakePopup : SetupTriggerPopup { - // virtual ~SetupShakePopup(); - - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x357530; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3575e0; - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateInterval(); - TodoReturn updateIntervalLabel(bool); - TodoReturn updateShake(); - TodoReturn updateShakeLabel(bool); - - virtual TodoReturn determineStartValues() = win 0x357e70; - virtual void onClose(cocos2d::CCObject* sender) = win 0x3587c0; - virtual void textChanged(CCTextInputNode*) = win 0x3584a0; -} - -[[link(android)]] -class SetupSmartBlockLayer : FLAlertLayer, TextInputDelegate, SelectArtDelegate { - // virtual ~SetupSmartBlockLayer(); - - static SetupSmartBlockLayer* create(SmartGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(SmartGameObject*, cocos2d::CCArray*); - void onAllowFlipping(cocos2d::CCObject* sender); - void onAllowRotation(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCreate(cocos2d::CCObject* sender); - void onCreateAll(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onDontDelete(cocos2d::CCObject* sender); - void onIgnoreCorners(cocos2d::CCObject* sender); - void onNearbyReference(cocos2d::CCObject* sender); - void onPasteTemplate(cocos2d::CCObject* sender); - void onReferenceOnly(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - void onSelectTemplate(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x35a170; - virtual void show(); - virtual void selectArtClosed(SelectArtLayer*) = win 0x35a120; -} - -[[link(android)]] -class SetupSmartTemplateLayer : FLAlertLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SetupSmartTemplateLayer(); - - static SetupSmartTemplateLayer* create(GJSmartTemplate*) = win 0x35a240; - - bool init(GJSmartTemplate*) = win 0x35a2e0; - void onBack(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x35af60; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x35abc0; - virtual void textInputOpened(CCTextInputNode*) = win 0x35ad30; - virtual void textInputClosed(CCTextInputNode*) = win 0x35ac20; - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSongTriggerPopup : SetupAudioTriggerPopup, MusicDownloadDelegate, SongPlaybackDelegate { - // virtual ~SetupSongTriggerPopup(); - - static SetupSongTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x35d280; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x35d330; - void onResetSongTime(cocos2d::CCObject* sender); - void onSavePlaybackPos(cocos2d::CCObject* sender); - TodoReturn updateApplyPrepare(bool); - TodoReturn updateLength(); - TodoReturn updateSongTimeSlider(); - - virtual void pageChanged() = win 0x35dfe0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x35e050; - virtual void valueDidChange(int, float) = win 0x35df10; - virtual TodoReturn onPlayback(SongInfoObject*) = win 0x35dbf0; -} - -[[link(android)]] -class SetupSpawnParticlePopup : SetupTriggerPopup { - // virtual ~SetupSpawnParticlePopup(); - - static SetupSpawnParticlePopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x366430; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3664e0; -} - -[[link(android)]] -class SetupSpawnPopup : SetupTriggerPopup { - // virtual ~SetupSpawnPopup(); - - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x35e2d0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x35e380; - void onAddRemap(cocos2d::CCObject* sender); - void onDeleteRemap(cocos2d::CCObject* sender); - void onSelectRemap(cocos2d::CCObject* sender); - TodoReturn queueUpdateButtons(); - TodoReturn updateRemapButtons(float); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStaticCameraPopup : SetupTriggerPopup { - // virtual ~SetupStaticCameraPopup(); - - static SetupStaticCameraPopup* create(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x35f710; - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*) = win 0x35f7c0; - TodoReturn updateState(); - - virtual void valueDidChange(int, float) = win 0x35fd60; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStopTriggerPopup : SetupTriggerPopup { - // virtual ~SetupStopTriggerPopup(); - - static SetupStopTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x36d0c0; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x36d170; - - virtual void onClose(cocos2d::CCObject* sender) = win 0x36d6a0; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x36d600; -} - -[[link(android)]] -class SetupTeleportPopup : SetupTriggerPopup { - // virtual ~SetupTeleportPopup(); - - static SetupTeleportPopup* create(TeleportPortalObject*, cocos2d::CCArray*, int, bool) = win 0x35ff80; - - bool init(TeleportPortalObject*, cocos2d::CCArray*, int, bool) = win 0x360030; - void onTeleportGravity(cocos2d::CCObject* sender); - TodoReturn updateTeleportGravityState(int); - - virtual TodoReturn determineStartValues(); - virtual void updateDefaultTriggerValues() = win 0x360b50; - virtual void valueDidChange(int, float) = win 0x360b80; -} - -[[link(android)]] -class SetupTimerControlTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerControlTriggerPopup(); - - static SetupTimerControlTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x3617b0; - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x361860; - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x361af0; -} - -[[link(android)]] -class SetupTimerEventTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerEventTriggerPopup(); - - static SetupTimerEventTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x361400; - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x3614b0; -} - -[[link(android)]] -class SetupTimerTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerTriggerPopup(); - - static SetupTimerTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x360e90; - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*) = win 0x360f40; -} - -[[link(android)]] -class SetupTimeWarpPopup : SetupTriggerPopup { - // virtual ~SetupTimeWarpPopup(); - - static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x361c90; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x361d40; - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTimeWarp(); - TodoReturn updateTimeWarpLabel(); - - virtual TodoReturn determineStartValues() = win 0x362120; - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTouchTogglePopup : SetupTriggerPopup { - // virtual ~SetupTouchTogglePopup(); - - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x362500; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x3625a0; - void onControlMode(cocos2d::CCObject* sender); - void onDualTouchMode(cocos2d::CCObject* sender); - void onHoldMode(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchMode(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues() = win 0x362f10; - virtual void onClose(cocos2d::CCObject* sender) = win 0x3634c0; - virtual void textChanged(CCTextInputNode*) = win 0x363430; -} - -[[link(android)]] -class SetupTransformPopup : SetupTriggerPopup { - // virtual ~SetupTransformPopup(); - - static SetupTransformPopup* create(TransformTriggerGameObject*, cocos2d::CCArray*) = win 0x3635c0; - - bool init(TransformTriggerGameObject*, cocos2d::CCArray*) = win 0x363670; -} - -[[link(android)]] -class SetupTriggerPopup : FLAlertLayer, TextInputDelegate, ConfigureValuePopupDelegate, SliderDelegate { - // virtual ~SetupTriggerPopup(); - // SetupTriggerPopup(); - - static SetupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*, float, float, int); - static SetupTriggerPopup* create(float, float); - - void addCloseButton(gd::string) = win 0x36ecc0; - void addHelpButton(gd::string, gd::string, float) = win 0x36ed70; - void addInfoLabel(gd::string, float, cocos2d::CCPoint, int, int) = win 0x371080; - TodoReturn addObjectsToGroup(cocos2d::CCArray*, int); - TodoReturn addObjectsToPage(cocos2d::CCArray*, int); - TodoReturn addObjectToGroup(cocos2d::CCObject*, int); - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - void addTitle(gd::string) = win 0x36ebc0; - void closeInputNodes() = win 0x36fbd0; - void createCustomButton(int, gd::string, gd::string, cocos2d::CCPoint, float, float, bool, int, int) = win 0x371270; - void createCustomEasingControls(gd::string, cocos2d::CCPoint, float, int, int, int, int) = win 0x376da0; - void createCustomToggleValueControl(int, bool, bool, gd::string, cocos2d::CCPoint, bool, int, int) = win 0x370ef0; - void createEasingControls(cocos2d::CCPoint, float, int, int) = win 0x376240; - void createMultiTriggerItems(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint) = win 0x36f400; - void createMultiTriggerItemsCorner() = win 0x36f110; - void createMultiTriggerItemsDefault() = win 0x36eff0; - void createMultiTriggerItemsDefaultHorizontal() = win 0x36f2f0; - void createMultiTriggerItemsDefaultVertical() = win 0x36f200; - void createPageButtons(float, int) = win 0x36e4f0; - void createPlusButton(int, cocos2d::CCPoint, float, gd::string, int, int) = win 0x371150; - void createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCPoint) = win 0x36ef00; - void createToggleValueControl(int, gd::string, cocos2d::CCPoint, bool, int, int, float) = win 0x370c30; - void createToggleValueControlAdvanced(int, gd::string, cocos2d::CCPoint, bool, int, int, float, float, float, cocos2d::CCPoint) = win 0x370d80; - void createValueControl(int, gd::string, cocos2d::CCPoint, float, float, float) = win 0x36ff60; - void createValueControlAdvanced(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle, int, bool) = win 0x370030; - void createValueControlWArrows(int, gd::string, cocos2d::CCPoint, float); - cocos2d::CCArray* getGroupContainer(int) = win 0x36e9f0; - TodoReturn getMaxSliderValue(int); - TodoReturn getMinSliderValue(int); - TodoReturn getObjects(); - cocos2d::CCArray* getPageContainer(int) = win 0x36e810; - float getTriggerValue(int, GameObject*) = win 0x374670; - TodoReturn getTruncatedValue(float, int); - TodoReturn getTruncatedValueByTag(int, float); - void goToPage(int, bool) = win 0x36e870; - TodoReturn hideAll(); - bool init(EffectGameObject*, cocos2d::CCArray*, float, float, int) = win 0x36e210; - void onCustomEaseArrow(int, bool) = win 0x377570; - void onCustomEaseArrowDown(cocos2d::CCObject* sender) = win 0x377550; - void onCustomEaseArrowUp(cocos2d::CCObject* sender) = win 0x377530; - void onCustomEaseRate(cocos2d::CCObject* sender) = win 0x377420; - void onDisableValue(cocos2d::CCObject* sender) = win 0x370a70; - void onEase(cocos2d::CCObject* sender) = win 0x376b60; - void onEaseRate(cocos2d::CCObject* sender) = win 0x376bd0; - void onMultiTrigger(cocos2d::CCObject* sender) = win 0x36f9c0; - void onPage(cocos2d::CCObject* sender) = win 0x36e7b0; - void onSpawnedByTrigger(cocos2d::CCObject* sender) = win 0x36f830; - void onToggleTriggerValue(cocos2d::CCObject* sender) = win 0x371810; - void onTouchTriggered(cocos2d::CCObject* sender) = win 0x36f710; - TodoReturn postSetup(); - TodoReturn preSetup(); - void refreshGroupVisibility() = win 0x36eb00; - TodoReturn removeObjectFromGroup(cocos2d::CCObject*, int); - TodoReturn removeObjectFromPage(cocos2d::CCObject*, int); - void resetDisabledValues() = win 0x370aa0; - TodoReturn setMaxSliderValue(float, int); - TodoReturn setMinSliderValue(float, int); - TodoReturn shouldLimitValue(int); - void toggleBG(bool); - void toggleCustomEaseRateVisibility(int, int) = win 0x377830; - void toggleDisableButtons(bool) = win 0x370b80; - void toggleEaseRateVisibility() = win 0x376ac0; - void toggleLimitValue(int, bool); - void togglePageArrows(bool) = win 0x36e760; - void triggerArrowChanged(int, bool); - void triggerArrowLeft(cocos2d::CCObject*) = win 0x36fe80; - void triggerArrowRight(cocos2d::CCObject*) = win 0x36fef0; - void triggerSliderChanged(cocos2d::CCObject*) = win 0x36fd70; - void updateCustomEaseLabel(int, int) = win 0x3775f0; - void updateCustomEaseRateLabel(int, float) = win 0x377760; - void updateCustomToggleTrigger(int, bool); - void updateEaseLabel() = win 0x376880; - void updateEaseRateLabel() = win 0x3769c0; - void updateEditorLabel() = win 0x36f6a0; - void updateInputNodeLabel(int, gd::string) = win 0x376070; - void updateLabel(int, gd::string); - void updateMultiTriggerBtn() = win 0x36f950; - void updateSlider(int, float); - void updateSlider(int); - void updateSpawnedByTrigger() = win 0x36f880; - void updateTouchTriggered() = win 0x36f760; - void updateValue(int, float) = win 0x375ff0; - void updateValueControls(int, float) = win 0x371920; - void valueChanged(int, float) = win 0x371d80; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x377930; - virtual void keyBackClicked() = win 0x365a00; - virtual void show() = win 0x61860; - virtual void pageChanged() {} - virtual TodoReturn toggleGroup(int, bool) = win 0x36ea50; - virtual TodoReturn determineStartValues() = win 0x36f5d0; - virtual void onClose(cocos2d::CCObject* sender) = win 0x205870; - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) = win 0x36fa30; - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void updateInputValue(int, float&) {} - virtual void sliderBegan(Slider*) = win 0x36fc20; - virtual TodoReturn sliderEnded(Slider*) = win 0x36fcc0; - virtual void onPlusButton(cocos2d::CCObject* sender) {} - virtual void onCustomButton(cocos2d::CCObject* sender) {} - virtual void updateDefaultTriggerValues() = win 0x371500; - virtual TodoReturn updateInputNode(int, float) = win 0x3719c0; - virtual TodoReturn updateToggleItem(int, bool) = win 0x371bd0; - virtual void valueDidChange(int, float) {} - virtual TodoReturn getValue(int) = win 0x371c30; - virtual TodoReturn triggerValueFromSliderValue(int, float) = win 0x376120; - virtual TodoReturn triggerSliderValueFromValue(int, float) = win 0x376190; - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) {} - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float) = win 0x376cb0; - - PAD = android32 0xac; -} - -[[link(android)]] -class SetupZoomTriggerPopup : SetupTriggerPopup { - // virtual ~SetupZoomTriggerPopup(); - - static SetupZoomTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*) = win 0x377a70; - - bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x377b20; - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SFXBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, SelectSFXSortDelegate { - // virtual ~SFXBrowser(); - - static SFXBrowser* create(int) = win 0x378110; - - bool init(int) = win 0x3781b0; - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCredits(cocos2d::CCObject* sender); - void onExitFolder(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSorting(cocos2d::CCObject* sender); - void onToggleCompactMode(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void setupList(SFXSearchResult*) = win 0x379250; - TodoReturn trySetupSFXBrowser() = win 0x379010; - TodoReturn updatePageLabel() = win 0x379ea0; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x37a100; - virtual void musicActionFinished(GJMusicAction) = win 0x379120; - virtual void musicActionFailed(GJMusicAction) = win 0x379180; - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*) = win 0x379ae0; - virtual void setTextPopupClosed(SetTextPopup*, gd::string) = win 0x379c80; - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x379d10; - virtual TodoReturn getSelectedCellIdx() = win 0x379da0; - virtual TodoReturn shouldSnapToSelected() = win 0x379db0; -} - -[[link(android)]] -class SFXBrowserDelegate { - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SFXFolderObject : SFXInfoObject { - // virtual ~SFXFolderObject(); - - static SFXFolderObject* create(int, gd::string, int) = win 0x2893e0; - - bool init(int, gd::string, int) = win 0x2894b0; -} - -[[link(android)]] -class SFXInfoObject : cocos2d::CCObject { - // virtual ~SFXInfoObject(); - - static SFXInfoObject* create(int, gd::string, int, int, int) = win 0x2891d0; - - TodoReturn getLowerCaseName(); - bool init(int, gd::string, int, int, int); -} - -[[link(android)]] -class SFXSearchResult : MusicSearchResult { - // virtual ~SFXSearchResult(); - - static SFXSearchResult* create(int) = win 0x289f00; - - TodoReturn getActiveFolder(); - TodoReturn getSelectedPage(int, int) = win 0x28a500; - bool init(int); - void setActiveFolder(SFXFolderObject*); - - virtual TodoReturn updateObjects(AudioSortType) = win 0x289ff0; -} - -[[link(android)]] -class SFXTriggerGameObject : EffectGameObject { - // virtual ~SFXTriggerGameObject(); - // SFXTriggerGameObject(); - - static SFXTriggerGameObject* create(char const*); - - TodoReturn getSFXRefID(); - TodoReturn getUniqueSFXID(); - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderGameObject : EffectGameObject { - // virtual ~ShaderGameObject(); - - static ShaderGameObject* create(char const*) = win 0x391eb0; - - bool init(char const*); - - virtual void customSetup() = win 0x391f50; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderLayer : cocos2d::CCLayer { - // virtual ~ShaderLayer(); - - static ShaderLayer* create() = win 0x37b720; - - TodoReturn objectPosToShaderPos(cocos2d::CCPoint); - void performCalculations() = win 0x3836c0; - TodoReturn preBulgeShader(); - TodoReturn preChromaticGlitchShader(); - TodoReturn preChromaticShader(); - TodoReturn preColorChangeShader(); - TodoReturn preCommonShader(); - TodoReturn preGlitchShader(); - TodoReturn preGrayscaleShader(); - TodoReturn preHueShiftShader(); - TodoReturn preInvertColorShader(); - TodoReturn preLensCircleShader(); - TodoReturn preMotionBlurShader(); - TodoReturn prepareTargetContainer(); - TodoReturn prePinchShader(); - TodoReturn prePixelateShader(); - TodoReturn preRadialBlurShader(); - TodoReturn preSepiaShader(); - TodoReturn preShockLineShader(); - TodoReturn preShockWaveShader(); - TodoReturn preSplitScreenShader(); - bool resetAllShaders() = win 0x383FE0; - TodoReturn resetTargetContainer(); - TodoReturn setupBulgeShader(); - TodoReturn setupChromaticGlitchUniforms(); - TodoReturn setupChromaticUniforms(); - TodoReturn setupColorChangeShader(); - TodoReturn setupCommonUniforms(); - TodoReturn setupGlitchUniforms(); - TodoReturn setupGrayscaleShader(); - TodoReturn setupHueShiftShader(); - TodoReturn setupInvertColorShader(); - TodoReturn setupLensCircleShader(); - TodoReturn setupMotionBlurShader(); - TodoReturn setupPinchShader(); - TodoReturn setupRadialBlurShader(); - TodoReturn setupSepiaShader(); - TodoReturn setupShader(bool); - TodoReturn setupShockLineUniforms(); - TodoReturn setupShockWaveUniforms(); - TodoReturn setupSplitScreenShader(); - TodoReturn toggleAntiAlias(bool); - TodoReturn triggerBulge(float, float, float, float, float, int, int, float, bool); - TodoReturn triggerChromaticGlitch(bool, float, float, float, float, float, float, float, int, float, bool, bool) = win 0x37F9B0; - TodoReturn triggerChromaticX(float, float, int, float, bool); - TodoReturn triggerChromaticY(float, float, int, float, bool); - TodoReturn triggerColorChange(float, float, float, float, float, float, float, int, float); - TodoReturn triggerGlitch(float, float, float, float, float, float, float, bool) = win 0x37F130; - TodoReturn triggerGrayscale(float, float, bool, int, int, float); - TodoReturn triggerHueShift(float, float, int, float); - TodoReturn triggerInvertColor(float, float, float, float, float, bool, bool, bool, int, float); - TodoReturn triggerLensCircle(float, float, float, float, int, int, float, float, int, float, bool); - TodoReturn triggerMotionBlurX(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerMotionBlurY(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerPinchX(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPinchY(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPixelateX(float, float, bool, bool, int, float, bool); - TodoReturn triggerPixelateY(float, float, bool, bool, int, float, bool); - TodoReturn triggerRadialBlur(float, float, float, float, int, float, float, bool, int, int, float, bool); - TodoReturn triggerSepia(float, float, int, float); - bool triggerShockLine(float, float, bool, bool, bool, bool, float, float, float, float, float, float, int, bool, bool, bool, float, bool, float, int, float) = win 0x37E540; - bool triggerShockWave(float, float, float, float, float, float, float, bool, float, float, float, int, bool, bool, bool, float, float, bool, float, int, float) = win 0x37D810; - TodoReturn triggerSplitScreenCols(float, float, int, float); - TodoReturn triggerSplitScreenRows(float, float, int, float); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn tweenValueAuto(float, int, float, int, float) = win 0x383A20; - TodoReturn updateEffectOffsets(cocos2d::CCPoint); - TodoReturn updateMotionBlurSpeedX(float, float); - TodoReturn updateMotionBlurSpeedY(float, float); - TodoReturn updateShockLineCenter(cocos2d::CCPoint); - TodoReturn updateShockWaveCenter(cocos2d::CCPoint); - bool updateZLayer(int, int, bool) = win 0x383F60; - - virtual void update(float) = win 0x37bde0; - virtual bool init() = win 0x37b7c0; - virtual void visit() = win 0x383810; -} - -[[link(android)]] -class ShardsPage : FLAlertLayer { - // virtual ~ShardsPage(); - - static ShardsPage* create() = win 0x384280; - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init() = win 0x384320; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ShareCommentDelegate { - virtual void shareCommentClosed(gd::string, ShareCommentLayer*); -} - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - // virtual ~ShareCommentLayer(); - - static ShareCommentLayer* create(gd::string, int, CommentType, int, gd::string) = win 0x386370; - - bool init(gd::string, int, CommentType, int, gd::string) = win 0x386490; - void onClear(cocos2d::CCObject* sender) = win 0x387320; - void onClose(cocos2d::CCObject* sender) = win 0x387750; - void onPercent(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x3874c0; - void updateCharCountLabel() = win 0x3879e0; - TodoReturn updateDescText(gd::string); - void updatePercentLabel() = win 0x387410; - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x387780; - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) = win 0x3877c0; - virtual void textChanged(CCTextInputNode*) = win 0x3878e0; - virtual void uploadActionFinished(int, int) = win 0x387aa0; - virtual void uploadActionFailed(int, int) = win 0x387ae0; - virtual void onClosePopup(UploadActionPopup*) = win 0x387b10; -} - -[[link(android)]] -class ShareLevelLayer : FLAlertLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*) = win 0x387e70; - - CCMenuItemSpriteExtra* getStarsButton(int btnID, cocos2d::SEL_MenuHandler callback, cocos2d::CCMenu* menu, float scale); - bool init(GJGameLevel* level) = win 0x387f10; - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender) = win 0x388f20; - TodoReturn selectRating(cocos2d::CCObject*); - TodoReturn setupStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer : FLAlertLayer, NumberInputDelegate { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*) = win 0x389a70; - - bool init(GJGameLevel*) = win 0x389b10; - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - void onUnlistedFriendsOnly(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual void keyBackClicked() = win 0x38a600; - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class ShareListLayer : FLAlertLayer { - // virtual ~ShareListLayer(); - - static ShareListLayer* create(GJLevelList*) = win 0x25ee50; - - bool init(GJLevelList*) = win 0x25ef00; - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - TodoReturn updateUnlistedF(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SimpleObject : cocos2d::CCObject { - // virtual ~SimpleObject(); - - static SimpleObject* create(); - - bool init(); -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int) = win 0x1f3e90; - - TodoReturn asyncLoadIcon(int, IconType); - TodoReturn createRobotSprite(int) = win 0x1f45d0; - TodoReturn createSpiderSprite(int) = win 0x1f4620; - inline void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - inline void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - TodoReturn hideAll(); - TodoReturn hideSecondary(); - TodoReturn iconFinishedLoading(int, IconType); - bool init(int) = win 0x1f3f30; - void setColors(cocos2d::ccColor3B const&, cocos2d::ccColor3B const&); - void setFrames(char const*, char const*, char const*, char const*, char const*) = win 0x1f4dc0; - inline void setSecondColor(cocos2d::_ccColor3B const& color) { - m_secondLayer->setColor(color); - updateColors(); - } - void updateColors() = win 0x1f46d0; - void updatePlayerFrame(int, IconType) = win 0x1f49c0; - - virtual void setOpacity(unsigned char) = win 0x1f4f70; - virtual void setColor(cocos2d::ccColor3B const&) = win 0x1f46a0; - - inline void setGlowOutline(cocos2d::ccColor3B color) { - enableCustomGlowColor(color); - m_hasGlowOutline = true; - updateColors(); - } - - inline void disableGlowOutline() { - disableCustomGlowColor(); - m_hasGlowOutline = false; - updateColors(); - } - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; - PAD = win 0x7, android32 0x7, android64 0x7; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x4, android32 0x4, android64 0x8; -} - -[[link(android)]] -class SlideInLayer : cocos2d::CCLayerColor { - // virtual ~SlideInLayer(); - - static SlideInLayer* create(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void customSetup(); - virtual TodoReturn enterLayer(); - virtual TodoReturn exitLayer(cocos2d::CCObject*); - virtual void showLayer(bool); - virtual TodoReturn hideLayer(bool); - virtual TodoReturn layerVisible(); - virtual void layerHidden(); - virtual void enterAnimFinished(); - virtual void disableUI(); - virtual void enableUI(); -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = win 0x4d130; - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler) { - return Slider::create(target, handler, 1.f); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler, float idk) { - return Slider::create(target, handler, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", idk); - } - - TodoReturn disableSlider(); - TodoReturn disableTouch(); - TodoReturn enableSlider(); - TodoReturn getLiveDragging(); - SliderThumb* getThumb() { - return m_touchLogic->m_thumb; - } - float getValue() = win 0x4d4f0; - TodoReturn hideGroove(bool); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = win 0x4d1f0; - void setBarVisibility(bool); - void setLiveDragging(bool); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float val) { - this->getThumb()->setValue(val); - this->updateBar(); - } - TodoReturn sliderBegan(); - TodoReturn sliderEnded(); - void updateBar() = win 0x4d590; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4d670; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4d6b0; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x4d690; - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; - void* m_unknown; - void* m_unknown2; -} - -[[link(android)]] -class SliderDelegate { - virtual void sliderBegan(Slider*) {} - virtual TodoReturn sliderEnded(Slider*); -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*) = win 0x4c900; - - float getValue() { - return (this->getScaleX() * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (this->getScaleX() * m_length); - } - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setMaxOffset(float) = win 0x4ca90; - void setRotated(bool); - void setValue(float) = win 0x4cbd0; - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - // virtual ~SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float) = win 0x4ccc0; - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float) = win 0x4ce50; - void setMaxOffset(float); - void setRotated(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class SmartGameObject : GameObject { - // virtual ~SmartGameObject(); - - static SmartGameObject* create(char const*) = win 0x397c20; - - bool init(char const*) = win 0x397cc0; - TodoReturn updateSmartFrame(); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - - bool m_property157; - PAD = android32 0x9; -} - -[[link(android)]] -class SmartTemplateCell : TableViewCell { - // virtual ~SmartTemplateCell(); - SmartTemplateCell(char const*, float, float); - - void loadFromObject(GJSmartTemplate*) = win 0x8b020; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int) = win 0x8b320; - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongCell : TableViewCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - void loadFromObject(SongObject*) = win 0x82cb0; - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init() = win 0x1da30; - virtual void draw(); -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - // virtual ~SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - static SongInfoLayer* create(int) = win 0x38aba0; - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string) = win 0x38ae50; - void onBPM(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender) = win 0x38bd20; - void onNG(cocos2d::CCObject* sender); - void onPracticeMusic(cocos2d::CCObject* sender) = win 0x38bda0; - void onYT(cocos2d::CCObject* sender); - void showCustomMusicUnlockInfo() = win 0x38baa0; - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*) = win 0x287fe0; - static SongInfoObject* create(int songID, gd::string songName, gd::string artistName, int artistID, float filesize, gd::string youtubeVideo, gd::string youtubeChannel, gd::string url, int priority) = win 0x288650; - static SongInfoObject* create(int) = win 0x287f00; - - TodoReturn addTags(gd::string); - TodoReturn containsTag(int); - TodoReturn createWithCoder(DS_Dictionary*) = win 0x288a10; - TodoReturn getTagsString(); - bool init(int songID, gd::string songName, gd::string artistName, int artistID, float filesize, gd::string youtubeVideo, gd::string youtubeChannel, gd::string url, int priority) = win 0x288860; - - virtual void encodeWithCoder(DS_Dictionary*) = win 0x288d10; - virtual bool canEncode(); - - int m_songID; - gd::string m_songName; - gd::string m_artistName; - gd::string m_youtubeVideo; - gd::string m_youtubeChannel; - gd::string m_songUrl; - gd::string m_artistID; - float m_fileSize; - bool m_isUnkownSong; - int m_priority; -} - -[[link(android)]] -class SongObject : cocos2d::CCObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer : FLAlertLayer { - // virtual ~SongOptionsLayer(); - - static SongOptionsLayer* create(CustomSongDelegate*) = win 0x90140; - - bool init(CustomSongDelegate*) = win 0x901e0; - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked() = win 0x90e80; -} - -[[link(android)]] -class SongPlaybackDelegate { - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SongSelectNode : cocos2d::CCNode, FLAlertLayerProtocol, CustomSongLayerDelegate, CustomSongDelegate { - // virtual ~SongSelectNode(); - - static SongSelectNode* create(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - - void audioNext(cocos2d::CCObject*) = win 0x92270; - void audioPrevious(cocos2d::CCObject*) = win 0x922b0; - bool init(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool) = win 0x91a70; - void onOpenCustomSong(cocos2d::CCObject* sender) = win 0x92500; - void onSongMode(cocos2d::CCObject* sender) = win 0x922f0; - void onSongMode(int) = win 0x92310; - TodoReturn selectSong(int); - void showCustomSongSelect(); - void updateAudioLabel() = win 0x92160; - TodoReturn updateWidgetVisibility(); - - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x92590; - virtual void customSongLayerClosed() = win 0x92610; - virtual TodoReturn songIDChanged(int) = win 0x92630; - virtual TodoReturn getActiveSongID() = win 0x92650; - virtual TodoReturn getSongFileName() = win 0x92660; - virtual TodoReturn getLevelSettings() = win 0x92720; -} - -[[link(android)]] -class SongsLayer : GJDropDownLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create() = win 0x38bfb0; - - virtual void customSetup() = win 0x38c0c0; -} - -[[link(android)]] -class SongTriggerGameObject : SFXTriggerGameObject { - // virtual ~SongTriggerGameObject(); - - static SongTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnParticleGameObject : EffectGameObject { - // virtual ~SpawnParticleGameObject(); - - static SpawnParticleGameObject* create() = win 0x3b8660; - - virtual bool init() = win 0x3b8700; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnTriggerAction { - bool isFinished(); - TodoReturn step(float); -} - -[[link(android)]] -class SpawnTriggerGameObject : EffectGameObject { - // virtual ~SpawnTriggerGameObject(); - - static SpawnTriggerGameObject* create() = win 0x3ae840; - - TodoReturn addRemap(int, int); - TodoReturn changeRemap(int, int, bool); - TodoReturn removeRemap(int, int); - TodoReturn updateRemapKeys(gd::vector const&); - - virtual bool init() = win 0x3ae8e0; - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpecialAnimGameObject : EnhancedGameObject { - // virtual ~SpecialAnimGameObject(); - - static SpecialAnimGameObject* create(char const*); - - bool init(char const*); - - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class SpriteAnimationManager : cocos2d::CCNode { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn callAnimationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string) = win 0x4f480; - TodoReturn finishAnimation(gd::string); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn offsetCurrentAnimation(float) = win 0x4fc50; - TodoReturn overridePrio() = win 0x4f7e0; - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string) = win 0x4f280; - TodoReturn runQueuedAnimation(); - TodoReturn stopAnimations() = win 0x4fa60; - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn switchToFirstFrameOfAnimation(gd::string); - TodoReturn updateAnimationSpeed(float); -} - -[[link(android)]] -class SpriteDescription : cocos2d::CCObject { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class SpritePartDelegate { - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class StartPosObject : EffectGameObject { - // virtual ~StartPosObject(); - - static StartPosObject* create() = win 0x3a7850; - - TodoReturn loadSettingsFromString(gd::string); - void setSettings(LevelSettingsObject*); - - virtual bool init() = win 0x3a7910; - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - - int m_unknown; -} - -[[link(android)]] -class StatsCell : TableViewCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - void loadFromObject(StatsObject*) = win 0x82230; - TodoReturn updateBGColor(int) = win 0x7d560; - - virtual bool init(); - virtual void draw() = win 0x7d5b0; -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create() = win 0x3bb620; - - virtual void customSetup() = win 0x3bb730; -} - -[[link(android)]] -class StatsObject : cocos2d::CCObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int) = win 0x82070; - - bool init(char const*, int) = win 0x82120; -} - -[[link(android)]] -class SupportLayer : GJDropDownLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate { - // virtual ~SupportLayer(); - - static SupportLayer* create() = win 0x3bbb30; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*) = win 0x3bc520; - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onGetReward(cocos2d::CCObject* sender); - void onLinks(cocos2d::CCObject* sender) = win 0x3bce90; - void onLowDetail(cocos2d::CCObject* sender) = win 0x3bcc50; - void onPrivacy(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender) = win 0x3bca70; - void onRobTop(cocos2d::CCObject* sender); - void onSFX(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - TodoReturn sendSupportMail() = win 0x3bcd40; - - virtual void customSetup() = win 0x3bbcc0; - virtual void uploadActionFinished(int, int) = win 0x3bcbc0; - virtual void uploadActionFailed(int, int) = win 0x3bcc20; - virtual void onClosePopup(UploadActionPopup*) = win 0x3bcb90; - virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x3bd0b0; -} - -[[link(android), depends(CCIndexPath)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, TableViewCellDelegate*, cocos2d::CCRect) = win 0x4fe90; - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*) = win 0x50550; - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - void reloadData() = win 0x50770; - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual void onEnter(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x50d00; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x50e50; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x50da0; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x50df0; - virtual void registerWithTouchDispatcher(); - virtual void scrollWheel(float, float) = win 0x50fd0; - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - TableViewCellDelegate* m_cellDelegate; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[link(android), depends(CCIndexPath)]] -class TableViewCell : cocos2d::CCLayer { - // virtual ~TableViewCell(); - TableViewCell(char const*, float, float) = win 0x51db0; - - TodoReturn updateVisibility(); - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - void* m_unknown2; - void* m_unknown3; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; - BoomListType m_listType; -} - -[[link(android)]] -class TableViewCellDelegate { - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*) = win 0x224d20; - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected() = win 0x1d800; -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TeleportPortalObject : RingObject { - // virtual ~TeleportPortalObject(); - - static TeleportPortalObject* create(char const*, bool) = win 0x3a7a50; - - TodoReturn getTeleportXOff(cocos2d::CCNode*) = win 0x3a7c50; - bool init(char const*, bool); - void setPositionOverride(cocos2d::CCPoint); - void setStartPosOverride(cocos2d::CCPoint); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setStartPos(cocos2d::CCPoint); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void addToGroup(int); - virtual void removeFromGroup(int); - virtual void setRotation2(float); - virtual void addToGroup2(int); - virtual void removeFromGroup2(int); - - void* m_unknown; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - // property 55 - bool m_teleportEase; - // property 345 - bool m_staticForceEnabled; - // property 346 - int m_staticForce; - // property 347 - bool m_redirectForceEnabled; - // property 350 - float m_redirectForceMod; - // property 348 - float m_redirectForceMin; - // property 349 - float m_redirectForceMax; - // property 351 - bool m_saveOffset; - // property 352 - bool m_ignoreX; - // property 353 - bool m_ignoreY; - // property 354 - int m_gravityMode; - // property 443 - bool m_property443; - // property 464 - bool m_property464; - // property 510 - bool m_property510; - // property 591 - bool m_property591; -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - // virtual ~TextAlertPopup(); - - static TextAlertPopup* create(gd::string, float, float, int, gd::string) = win 0x211c90; - - bool init(gd::string, float, float, int, gd::string) = win 0x211de0; - void setAlertPosition(cocos2d::CCPoint, cocos2d::CCPoint) = win 0x212120; - // inlined on Windows - void setLabelColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - // virtual ~TextArea(); - // TextArea() = win 0x52050; - - static TextArea* create(gd::string str, char const* font, float scale, float width, cocos2d::CCPoint anchor, float lineHeight, bool disableColor) = win 0x52250; - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B) = win 0x52850; - TodoReturn colorAllLabels(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeInCharacters(float, float); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn hideAll(); - bool init(gd::string str, char const* font, float scale, float width, cocos2d::CCPoint anchor, float lineHeight, bool disableColor) = win 0x52350; - void setIgnoreColorCode(bool); - void setString(gd::string) = win 0x52460; - void showAll(); - TodoReturn stopAllCharacterActions(); - - virtual void update(float) = win 0x52930; - virtual void draw() {} - virtual void setOpacity(unsigned char) = win 0x52820; - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c - PAD = win 0x4; - cocos2d::CCPoint m_anchorPoint; -} - -[[link(android)]] -class TextAreaDelegate { - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class TextGameObject : GameObject { - // virtual ~TextGameObject(); - - static TextGameObject* create(cocos2d::CCTexture2D*) = win 0x147cc0; - - bool init(cocos2d::CCTexture2D*); - void updateTextObject(gd::string, bool) = win 0x147d90; - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - gd::string m_text; - // property 488 - int m_kerning; -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) { return true; } - virtual void enterPressed(CCTextInputNode*) {} -} - -[[link(android)]] -class TextStyleSection : cocos2d::CCObject { - // virtual ~TextStyleSection(); - - static TextStyleSection* create(int, int, TextStyleType); - - TodoReturn createColoredSection(cocos2d::ccColor3B, int, int); - TodoReturn createDelaySection(int, float); - TodoReturn createInstantSection(int, int, float); - TodoReturn createShakeSection(int, int, int, int); - bool init(int, int, TextStyleType); -} - -[[link(android)]] -class TimerTriggerGameObject : EffectGameObject { - // virtual ~TimerTriggerGameObject(); - - static TimerTriggerGameObject* create(char const*) = win 0x3b4520; - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer, OnlineListDelegate { - // virtual ~TopArtistsLayer(); - - static TopArtistsLayer* create() = win 0x3bd270; - - bool isCorrect(char const*); - void loadPage(int) = win 0x3bdcb0; - void onClose(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLeaderboard(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual bool init() = win 0x3bd310; - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void loadListFinished(cocos2d::CCArray*, char const*) = win 0x3bd960; - virtual void loadListFailed(char const*) = win 0x3bd9b0; - virtual void setupPageInfo(gd::string, char const*) = win 0x3bdaf0; -} - -[[link(android)]] -class TOSPopup : FLAlertLayer { - // virtual ~TOSPopup(); - - static TOSPopup* create() = win 0x212240; - - void onClose(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - - virtual bool init() = win 0x2122e0; - virtual void keyBackClicked() {} -} - -[[link(android)]] -class TransformTriggerGameObject : EffectGameObject { - // virtual ~TransformTriggerGameObject(); - - static TransformTriggerGameObject* create(char const*) = win 0x3b1350; - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerControlGameObject : EffectGameObject { - // virtual ~TriggerControlGameObject(); - - static TriggerControlGameObject* create(char const*) = win 0x3b8110; - - bool init(char const*); - TodoReturn updateTriggerControlFrame(); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int) {} - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int) {} - virtual void spawnObject(GameObject*, double, gd::vector const&) {} -} - -[[link(android)]] -class TutorialLayer : FLAlertLayer { - // virtual ~TutorialLayer(); - - static TutorialLayer* create() = win 0x3be0a0; - - void loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init() = win 0x3be140; - virtual void keyBackClicked() = win 0x3bea00; -} - -[[link(android)]] -class TutorialPopup : FLAlertLayer { - // virtual ~TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class UIButtonConfig { - TodoReturn reset() = win 0x120660; - TodoReturn resetOneBtn(); - - PAD = win 0x28, android32 0x28, android64 0x28; -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor { - // virtual ~UILayer(); - // UILayer() = win 0x3bea20; - - static UILayer* create(GJBaseGameLayer*); - - TodoReturn disableMenu(); - TodoReturn editorPlaytest(bool); - void enableEditorMode() = win 0x3bf420; - TodoReturn enableMenu(); - TodoReturn handleKeypress(cocos2d::enumKeyCodes, bool) = win 0x3bf480; - bool init(GJBaseGameLayer*) = win 0x3bec10; - bool isJumpButtonPressed(bool); - void onCheck(cocos2d::CCObject* sender) = win 0x3bfa10; - void onDeleteCheck(cocos2d::CCObject* sender) = win 0x3bfa50; - void onPause(cocos2d::CCObject* sender) = win 0x3bf9a0; - TodoReturn processUINodesTouch(GJUITouchEvent, cocos2d::CCTouch*); - TodoReturn processUINodeTouch(GJUITouchEvent, int, cocos2d::CCPoint, GJUINode*); - TodoReturn refreshDpad(); - void resetAllButtons() = win 0x3bfad0; - void resetUINodeState() = win 0x3bf390; - TodoReturn toggleCheckpointsMenu(bool); - void toggleMenuVisibility(bool) = win 0x3bfa80; - void togglePlatformerMode(bool); - TodoReturn updateDualMode(bool); - TodoReturn updateUINodeVisibility(bool); - - virtual void draw() {} - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x3bfb30; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x3bfc60; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x3bfc80; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = win 0x3bf970; - virtual void keyDown(cocos2d::enumKeyCodes) = win 0x3bf930; - virtual void keyUp(cocos2d::enumKeyCodes) = win 0x3bf950; - - // This member is here because rob managed to inhert CCKeyboardDelegate twice - // in this class, which ended up breaking addresser when trying to hook it. - // so instead, we removed the second CCKeyboardDelegate from the base class list - // and put this member here to take the place of its vtable - void* m_stupidDelegate; -} - -[[link(android)]] -class UIObjectSettingsPopup : SetupTriggerPopup { - // virtual ~UIObjectSettingsPopup(); - - static UIObjectSettingsPopup* create(UISettingsGameObject*, cocos2d::CCArray*) = win 0x367170; - - bool init(UISettingsGameObject*, cocos2d::CCArray*) = win 0x367220; - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) = win 0x3678c0; -} - -[[link(android)]] -class UIOptionsLayer : SetupTriggerPopup { - // virtual ~UIOptionsLayer(); - - static UIOptionsLayer* create(bool) = win 0x213db0; - - TodoReturn getNode(int); - bool init(bool) = win 0x213e60; - void onReset(cocos2d::CCObject* sender); - void onSaveLoad(cocos2d::CCObject* sender); - TodoReturn toggleUIGroup(int); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x215b10; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x215c60; - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) = win 0x215d90; - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void onClose(cocos2d::CCObject* sender) = win 0x215150; - virtual void valueDidChange(int, float) = win 0x2153c0; - virtual TodoReturn getValue(int) = win 0x2157d0; -} - -[[link(android)]] -class UISaveLoadLayer : SetupTriggerPopup { - // virtual ~UISaveLoadLayer(); - - static UISaveLoadLayer* create(UIOptionsLayer*) = win 0x215e10; - - bool init(UIOptionsLayer*) = win 0x215eb0; - void onLoad(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UISettingsGameObject : EffectGameObject { - // virtual ~UISettingsGameObject(); - - static UISettingsGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - // virtual ~UndoObject(); - // UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand) = win 0x24a4b0; - static UndoObject* createWithArray(cocos2d::CCArray*, UndoCommand) = win 0x24a760; - static UndoObject* createWithTransformObjects(cocos2d::CCArray*, UndoCommand) = win 0x24a580; - - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand) = win 0x24a650; - void setObjects(cocos2d::CCArray*); - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - -[[link(android)]] -class UpdateAccountSettingsPopup : FLAlertLayer, GJAccountSettingsDelegate { - // virtual ~UpdateAccountSettingsPopup(); - - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string) = win 0x20a3d0; - - bool init(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string) = win 0x20a540; - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked() = win 0x20ab80; - virtual TodoReturn updateSettingsFinished() = win 0x20aa20; - virtual TodoReturn updateSettingsFailed() = win 0x20aab0; -} - -[[link(android)]] -class UploadActionDelegate { - virtual void uploadActionFinished(int, int) {} - virtual void uploadActionFailed(int, int) {} -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - // virtual ~UploadActionPopup(); - - static UploadActionPopup* create(UploadPopupDelegate*, gd::string) = win 0x20ac30; - - TodoReturn closePopup(); - bool init(UploadPopupDelegate*, gd::string) = win 0x20ad00; - void onClose(cocos2d::CCObject* sender); - void showFailMessage(gd::string) = win 0x20b1e0; - void showSuccessMessage(gd::string) = win 0x20b0e0; - - virtual void keyBackClicked() = win 0x20b310; -} - -[[link(android)]] -class UploadListPopup : FLAlertLayer, ListUploadDelegate { - // virtual ~UploadListPopup(); - - static UploadListPopup* create(GJLevelList*) = win 0x2600f0; - - bool init(GJLevelList*) = win 0x260190; - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToList(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} - virtual void show() = win 0x260a30; - virtual TodoReturn listUploadFinished(GJLevelList*) = win 0x260630; - virtual TodoReturn listUploadFailed(GJLevelList*, int) = win 0x260790; -} - -[[link(android)]] -class UploadMessageDelegate { - virtual void uploadMessageFinished(int); - virtual void uploadMessageFailed(int); -} - -[[link(android)]] -class UploadPopup : FLAlertLayer, LevelUploadDelegate { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*) = win 0x3890f0; - - bool init(GJGameLevel*) = win 0x389190; - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} - virtual void show(); - virtual void levelUploadFinished(GJGameLevel*) = win 0x389670; - virtual void levelUploadFailed(GJGameLevel*) = win 0x3897d0; -} - -[[link(android)]] -class UploadPopupDelegate { - virtual void onClosePopup(UploadActionPopup*) {} -} - -[[link(android)]] -class URLCell : TableViewCell { - // virtual ~URLCell(); - URLCell(char const*, float, float); - - void loadFromObject(CCURLObject*) = win 0x8ca50; - void onURL(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class URLViewLayer : GJDropDownLayer { - // virtual ~URLViewLayer(); - - static URLViewLayer* create(gd::string, cocos2d::CCArray*) = win 0x2166a0; - - bool init(gd::string, cocos2d::CCArray*) = win 0x216770; -} - -[[link(android)]] -class UserInfoDelegate { - virtual void getUserInfoFinished(GJUserScore*); - virtual void getUserInfoFailed(int); - virtual void userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UserListDelegate { - virtual void getUserListFinished(cocos2d::CCArray*, UserListType); - virtual void getUserListFailed(UserListType, GJErrorCode); - virtual void userListChanged(cocos2d::CCArray*, UserListType); - virtual void forceReloadList(UserListType); -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create() = win 0x2b3e20; - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool); - void onAdvanced(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender) = win 0x2b50e0; - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn reloadMenu(); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int) = win 0x2b4ea0; - TodoReturn updateTextureQuality(int) = win 0x2b4de0; - - virtual bool init() = win 0x2b3ec0; - virtual void keyBackClicked() = win 0x2b52b0; -} - -[[link(android)]] -class WorldLevelPage : FLAlertLayer { - // virtual ~WorldLevelPage(); - - static WorldLevelPage* create(GJGameLevel*, GJWorldNode*); - - bool init(GJGameLevel*, GJWorldNode*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class WorldSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate { - // virtual ~WorldSelectLayer(); - - static WorldSelectLayer* create(int); - - TodoReturn animateInActiveIsland(); - cocos2d::ccColor3B colorForPage(int); - TodoReturn getColorValue(int, int, float); - void goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - TodoReturn scene(int); - TodoReturn setupWorlds(); - void showCompleteDialog(); - TodoReturn tryShowAd(); - TodoReturn unblockButtons(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void scrollLayerMoved(cocos2d::CCPoint); -} diff --git a/bindings/bindings/2.205/Cocos2d.bro b/bindings/bindings/2.205/Cocos2d.bro deleted file mode 100644 index 690c0c3..0000000 --- a/bindings/bindings/2.205/Cocos2d.bro +++ /dev/null @@ -1,1777 +0,0 @@ -[[link(win, android)]] -class cocos2d::CCMotionStreak { - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - static cocos2d::CCMotionStreak* create(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, cocos2d::CCTexture2D*); - bool initWithFade(float, float, float, cocos2d::_ccColor3B const&, char const*); - - bool getDontOpacityFade() const; - float getM_fMaxSeg() const; - - void setDontOpacityFade(bool); - void setFastMode(bool); - void setM_fMaxSeg(float); - void setStartingPositionInitialized(bool); - void setStroke(float); - - // CCMotionStreak(cocos2d::CCMotionStreak const&); - // CCMotionStreak(); - void enableRepeatMode(float); - bool isFastMode(); - bool isStartingPositionInitialized(); - void reset(); - void resumeStroke(); - void stopStroke(); - void tintWithColor(cocos2d::_ccColor3B); - void updateFade(float); - - virtual void update(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void draw(); - - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCScene { - static cocos2d::CCScene* create() = ios 0x248dd0; - - int getHighestChildZ() = ios 0x248e44; - - // CCScene(cocos2d::CCScene const&); - // CCScene(); - - virtual bool init(); -} - -[[link(win, android)]] -class cocos2d::CCParticleSystem { - static cocos2d::CCParticleSystem* create(char const*); - static cocos2d::CCParticleSystem* createWithTotalParticles(unsigned int); - - void initParticle(cocos2d::sCCParticle*); - bool initWithDictionary(cocos2d::CCDictionary*, char const*, bool); - bool initWithDictionary(cocos2d::CCDictionary*, bool); - bool initWithFile(char const*, bool); - - unsigned int getAtlasIndex() const; - bool getDontCleanupOnFinish() const; - bool getDynamicRotationIsDir() const; - bool getEndRGBVarSync() const; - float getFadeInTime() const; - float getFadeInTimeVar() const; - float getFadeOutTime() const; - float getFadeOutTimeVar() const; - float getFrictionPos() const; - float getFrictionPosVar() const; - float getFrictionRot() const; - float getFrictionRotVar() const; - float getFrictionSize() const; - float getFrictionSizeVar() const; - bool getOrderSensitive() const; - float getRespawn() const; - float getRespawnVar() const; - bool getStartRGBVarSync() const; - bool getStartRadiusEqualToEnd() const; - bool getStartSizeEqualToEnd() const; - bool getStartSpinEqualToEnd() const; - float getTimeElapsed(); - bool getUseUniformColorMode() const; - bool getUsingSchedule() const; - bool getWasRemoved() const; - - void setAtlasIndex(unsigned int); - void setDontCleanupOnFinish(bool); - void setDynamicRotationIsDir(bool); - void setEndAlpha(float); - void setEndRGBVarSync(bool); - void setFadeInTime(float); - void setFadeInTimeVar(float); - void setFadeOutTime(float); - void setFadeOutTimeVar(float); - void setFrictionPos(float); - void setFrictionPosVar(float); - void setFrictionRot(float); - void setFrictionRotVar(float); - void setFrictionSize(float); - void setFrictionSizeVar(float); - void setOrderSensitive(bool); - void setRespawn(float); - void setRespawnVar(float); - void setStartAlpha(float); - void setStartRGBVarSync(bool); - void setStartRadiusEqualToEnd(bool); - void setStartSizeEqualToEnd(bool); - void setStartSpinEqualToEnd(bool); - void setUsingSchedule(bool); - void setWasRemoved(bool); - - // CCParticleSystem(cocos2d::CCParticleSystem const&); - // CCParticleSystem(); - bool addParticle(); - void calculateWorldSpace(); - bool isFull(); - void loadDefaults(); - void loadScaledDefaults(float); - void resetSystem(); - void resumeSystem(); - void saveDefaults(); - void stopSystem(); - void toggleUniformColorMode(bool); - void updateVisible(); - - virtual void update(float); - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual cocos2d::CCParticleBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual unsigned int getParticleCount(); - virtual float getDuration(); - virtual void setDuration(float); - virtual cocos2d::CCPoint const& getSourcePosition(); - virtual void setSourcePosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosVar(); - virtual void setPosVar(cocos2d::CCPoint const&); - virtual float getLife(); - virtual void setLife(float); - virtual float getLifeVar(); - virtual void setLifeVar(float); - virtual float getAngle(); - virtual void setAngle(float); - virtual float getAngleVar(); - virtual void setAngleVar(float); - virtual void updateEmissionRate(); - virtual cocos2d::CCPoint const& getGravity(); - virtual void setGravity(cocos2d::CCPoint const&); - virtual float getSpeed(); - virtual void setSpeed(float); - virtual float getSpeedVar(); - virtual void setSpeedVar(float); - virtual float getTangentialAccel(); - virtual void setTangentialAccel(float); - virtual float getTangentialAccelVar(); - virtual void setTangentialAccelVar(float); - virtual float getRadialAccel(); - virtual void setRadialAccel(float); - virtual float getRadialAccelVar(); - virtual void setRadialAccelVar(float); - virtual bool getRotationIsDir(); - virtual void setRotationIsDir(bool); - virtual float getStartRadius(); - virtual void setStartRadius(float); - virtual float getStartRadiusVar(); - virtual void setStartRadiusVar(float); - virtual float getEndRadius(); - virtual void setEndRadius(float); - virtual float getEndRadiusVar(); - virtual void setEndRadiusVar(float); - virtual float getRotatePerSecond(); - virtual void setRotatePerSecond(float); - virtual float getRotatePerSecondVar(); - virtual void setRotatePerSecondVar(float); - virtual bool isActive(); - virtual bool isBlendAdditive(); - virtual void setBlendAdditive(bool); - virtual float getStartSize(); - virtual void setStartSize(float); - virtual float getStartSizeVar(); - virtual void setStartSizeVar(float); - virtual float getEndSize(); - virtual void setEndSize(float); - virtual float getEndSizeVar(); - virtual void setEndSizeVar(float); - virtual cocos2d::_ccColor4F const& getStartColor(); - virtual void setStartColor(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getStartColorVar(); - virtual void setStartColorVar(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getEndColor(); - virtual void setEndColor(cocos2d::_ccColor4F const&); - virtual cocos2d::_ccColor4F const& getEndColorVar(); - virtual void setEndColorVar(cocos2d::_ccColor4F const&); - virtual float getStartSpin(); - virtual void setStartSpin(float); - virtual float getStartSpinVar(); - virtual void setStartSpinVar(float); - virtual float getEndSpin(); - virtual void setEndSpin(float); - virtual float getEndSpinVar(); - virtual void setEndSpinVar(float); - virtual float getEmissionRate(); - virtual void setEmissionRate(float); - virtual unsigned int getTotalParticles(); - virtual void setTotalParticles(unsigned int); - virtual bool getOpacityModifyRGB(); - virtual void setOpacityModifyRGB(bool); - virtual cocos2d::tCCPositionType getPositionType(); - virtual void setPositionType(cocos2d::tCCPositionType); - virtual bool isAutoRemoveOnFinish(); - virtual void setAutoRemoveOnFinish(bool); - virtual int getEmitterMode(); - virtual void setEmitterMode(int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - virtual void updateWithNoTime(); - virtual void updateBlendFunc(); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCCallFunc { - static cocos2d::CCCallFunc* create(int); - static cocos2d::CCCallFunc* create(cocos2d::CCObject*, cocos2d::SEL_CallFunc) = ios 0x1b42e8; - - int getScriptHandler(); - cocos2d::CCObject* getTargetCallback(); - - void setTargetCallback(cocos2d::CCObject*); - - // CCCallFunc(cocos2d::CCCallFunc const&); - // CCCallFunc(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual bool initWithTarget(cocos2d::CCObject*); - virtual void execute(); -} - -[[link(win, android)]] -class cocos2d::CCParticleSystemQuad { - static cocos2d::CCParticleSystemQuad* create(char const*, bool); - static cocos2d::CCParticleSystemQuad* create(); - static cocos2d::CCParticleSystemQuad* createWithTotalParticles(unsigned int, bool); - - void initIndices(); - void initTexCoordsWithRect(cocos2d::CCRect const&); - - unsigned char getOpacity(); - - void setDisplayFrame(cocos2d::CCSpriteFrame*); - void setOpacity(unsigned char); - void setTextureWithRect(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - // CCParticleSystemQuad(cocos2d::CCParticleSystemQuad const&); - // CCParticleSystemQuad(); - bool allocMemory(); - void listenBackToForeground(cocos2d::CCObject*); - void setupVBO(); - void updateTexCoords(); - - virtual void draw(); - virtual void setBatchNode(cocos2d::CCParticleBatchNode*); - virtual void setTotalParticles(unsigned int); - virtual bool initWithTotalParticles(unsigned int, bool); - virtual void updateQuadWithParticle(cocos2d::sCCParticle*, cocos2d::CCPoint const&); - virtual void postStep(); - - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCFileUtils { - // CCFileUtils(); - // CCFileUtils(cocos2d::CCFileUtils const&); - virtual void addSearchPath(char const*); - virtual void addSearchResolutionsOrder(char const*); - virtual gd::string addSuffix(gd::string, gd::string); - virtual cocos2d::CCArray* createCCArrayWithContentsOfFile(gd::string const&); - virtual cocos2d::CCDictionary* createCCDictionaryWithContentsOfFile(gd::string const&); - virtual gd::string fullPathForFilename(char const*, bool); - virtual char const* fullPathFromRelativeFile(char const*, char const*); - gd::string getAndroidPath() const; - virtual unsigned char* getFileData(char const*, char const*, unsigned long*); - virtual unsigned char* getFileDataFromZip(char const*, char const*, unsigned long*); - virtual gd::string getFullPathForDirectoryAndFilename(gd::string const&, gd::string const&); - virtual gd::string getNewFilename(char const*); - virtual gd::string getPathForFilename(gd::string const&, gd::string const&, gd::string const&); - virtual gd::vector const& getSearchPaths(); - virtual gd::vector const& getSearchResolutionsOrder(); - virtual gd::string getWritablePath2(); - virtual bool init(); - virtual bool isAbsolutePath(gd::string const&); - virtual bool isPopupNotify(); - virtual void loadFilenameLookupDictionaryFromFile(char const*); - virtual void purgeCachedEntries(); - static void purgeFileUtils(); - void removeAllPaths(); - virtual void removeFullPath(char const*); - virtual void removeSearchPath(char const*); - void setAndroidPath(gd::string); - virtual void setFilenameLookupDictionary(cocos2d::CCDictionary*); - virtual void setPopupNotify(bool); - virtual void setSearchPaths(gd::vector const&); - virtual void setSearchResolutionsOrder(gd::vector const&); - static cocos2d::CCFileUtils* sharedFileUtils() = ios 0x23eddc; - virtual bool shouldUseHD(); - virtual bool writeToFile(cocos2d::CCDictionary*, gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCNode { - static cocos2d::CCNode* create() = ios 0x24389c; - static void resetGlobalOrderOfArrival(); - - // CCNode(cocos2d::CCNode const&); - CCNode() = ios 0x24389c; - ~CCNode() = ios 0x2439f8; - - cocos2d::CCAction* getActionByTag(int); - cocos2d::CCComponent* getComponent(char const*) const; - int getScriptHandler(); - cocos2d::CCAffineTransform getTransformTemp(); - bool getUseChildIndex(); - - void setAdditionalTransform(cocos2d::CCAffineTransform const&); - void setUseChildIndex(bool); - - cocos2d::CCRect boundingBox() = ios 0x244110; - void childrenAlloc(); - cocos2d::CCPoint convertToNodeSpace(cocos2d::CCPoint const&) = ios 0x245994; - cocos2d::CCPoint convertToNodeSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWindowSpace(cocos2d::CCPoint const&); - cocos2d::CCPoint convertToWorldSpace(cocos2d::CCPoint const&) = ios 0x2459dc; - cocos2d::CCPoint convertToWorldSpaceAR(cocos2d::CCPoint const&); - cocos2d::CCPoint convertTouchToNodeSpace(cocos2d::CCTouch*); - cocos2d::CCPoint convertTouchToNodeSpaceAR(cocos2d::CCTouch*); - char const* description(); - void detachChild(cocos2d::CCNode*, bool); - void insertChild(cocos2d::CCNode*, int); - unsigned int numberOfRunningActions(); - void pauseSchedulerAndActions(); - void qsortAllChildrenWithIndex(); - void resumeSchedulerAndActions(); - cocos2d::CCAction* runAction(cocos2d::CCAction*) = ios 0x244f78; - void schedule(cocos2d::SEL_SCHEDULE); - void schedule(cocos2d::SEL_SCHEDULE, float); - void schedule(cocos2d::SEL_SCHEDULE, float, unsigned int, float) = ios 0x2450a4; - void scheduleOnce(cocos2d::SEL_SCHEDULE, float); - void scheduleUpdate(); - void scheduleUpdateWithPriority(int); - void scheduleUpdateWithPriorityLua(int, int); - void sortAllChildrenNoIndex(); - void sortAllChildrenWithIndex(); - void stopAction(cocos2d::CCAction*); - void stopActionByTag(int); - void stopAllActions() = ios 0x244280; - void transform(); - void transformAncestors(); - void unschedule(cocos2d::SEL_SCHEDULE); - void unscheduleAllSelectors(); - void unscheduleUpdate(); - void updateChildIndexes(); - - virtual unsigned int getChildrenCount() const; - virtual cocos2d::CCSize const& getContentSize() const = ios 0x243f58; - virtual void update(float) = ios 0x245114; - virtual bool init() = ios 0x243b30; - virtual void setZOrder(int) = ios 0x243b80; - virtual void _setZOrder(int); - virtual int getZOrder(); - virtual void setVertexZ(float); - virtual float getVertexZ(); - virtual void setScaleX(float); - virtual float getScaleX(); - virtual void setScaleY(float); - virtual float getScaleY(); - virtual void setScale(float); - virtual float getScale(); - virtual void setScale(float, float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getPosition(); - virtual void setPosition(float, float); - virtual void getPosition(float*, float*); - virtual void setPositionX(float); - virtual float getPositionX(); - virtual void setPositionY(float); - virtual float getPositionY(); - virtual void setSkewX(float); - virtual float getSkewX(); - virtual void setSkewY(float); - virtual float getSkewY(); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual cocos2d::CCPoint const& getAnchorPoint(); - virtual cocos2d::CCPoint const& getAnchorPointInPoints(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual cocos2d::CCSize getScaledContentSize(); - virtual void setVisible(bool); - virtual bool isVisible(); - virtual void setRotation(float); - virtual float getRotation(); - virtual void setRotationX(float); - virtual float getRotationX(); - virtual void setRotationY(float); - virtual float getRotationY(); - virtual void setOrderOfArrival(unsigned int); - virtual unsigned int getOrderOfArrival(); - virtual void setGLServerState(cocos2d::ccGLServerState); - virtual cocos2d::ccGLServerState getGLServerState(); - virtual void ignoreAnchorPointForPosition(bool); - virtual bool isIgnoreAnchorPointForPosition(); - virtual void addChild(cocos2d::CCNode*) = ios 0x24444c; - virtual void addChild(cocos2d::CCNode*, int) = ios 0x24443c; - virtual void addChild(cocos2d::CCNode*, int, int) = ios 0x24431c; - virtual cocos2d::CCNode* getChildByTag(int); - virtual cocos2d::CCArray* getChildren(); - virtual void setParent(cocos2d::CCNode*); - virtual cocos2d::CCNode* getParent(); - virtual void removeFromParent(); - virtual void removeFromParentAndCleanup(bool); - virtual void removeMeAndCleanup(); - virtual void removeChild(cocos2d::CCNode*); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeChildByTag(int); - virtual void removeChildByTag(int, bool); - virtual void removeAllChildren(); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual cocos2d::CCGridBase* getGrid(); - virtual void setGrid(cocos2d::CCGridBase*); - virtual void* getUserData(); - virtual void setUserData(void*); - virtual cocos2d::CCObject* getUserObject(); - virtual void setUserObject(cocos2d::CCObject*); - virtual cocos2d::CCGLProgram* getShaderProgram(); - virtual void setShaderProgram(cocos2d::CCGLProgram*); - virtual cocos2d::CCCamera* getCamera(); - virtual bool isRunning(); - virtual void registerScriptHandler(int); - virtual void unregisterScriptHandler(); - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void onExitTransitionDidStart(); - virtual void cleanup(); - virtual void draw(); - virtual void visit(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void updateTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransform(); - virtual cocos2d::CCAffineTransform const nodeToParentTransformFast(); - virtual cocos2d::CCAffineTransform const parentToNodeTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransform(); - virtual cocos2d::CCAffineTransform nodeToWorldTransformFast(); - virtual cocos2d::CCAffineTransform worldToNodeTransform(); - virtual bool addComponent(cocos2d::CCComponent*); - virtual bool removeComponent(char const*); - virtual bool removeComponent(cocos2d::CCComponent*); - virtual void removeAllComponents(); - virtual void updateTweenAction(float, char const*); - virtual void updateTweenActionInt(float, int); -} - -[[link(win, android)]] -class cocos2d::CCScheduler { - float getTimeScale(); - - void setTimeScale(float); - - // CCScheduler(cocos2d::CCScheduler const&); - // CCScheduler(); - - void appendIn(cocos2d::_listEntry**, cocos2d::CCObject*, bool); - bool isTargetPaused(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllTargets(); - cocos2d::CCSet* pauseAllTargetsWithMinPriority(int); - void pauseTarget(cocos2d::CCObject*); - void priorityIn(cocos2d::_listEntry**, cocos2d::CCObject*, int, bool); - void removeHashElement(cocos2d::_hashSelectorEntry*); - void removeUpdateFromHash(cocos2d::_listEntry*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - unsigned int scheduleScriptFunc(unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool); - void scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, bool); - void scheduleUpdateForTarget(cocos2d::CCObject*, int, bool); - void unscheduleAll(); - void unscheduleAllForTarget(cocos2d::CCObject*); - void unscheduleAllWithMinPriority(int); - void unscheduleScriptEntry(unsigned int); - void unscheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*); - void unscheduleUpdateForTarget(cocos2d::CCObject const*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCLayer { - static cocos2d::CCLayer* create() = ios 0x150918; - - // CCLayer(cocos2d::CCLayer const&); - CCLayer() = ios 0x150758; - ~CCLayer() = ios 0x150804; - - cocos2d::CCScriptHandlerEntry* getScriptAccelerateHandlerEntry(); - cocos2d::CCScriptHandlerEntry* getScriptKeypadHandlerEntry(); - cocos2d::CCTouchScriptHandlerEntry* getScriptTouchHandlerEntry(); - - int excuteScriptTouchHandler(int, cocos2d::CCSet*); - int excuteScriptTouchHandler(int, cocos2d::CCTouch*); - void registerScriptAccelerateHandler(int); - void registerScriptKeypadHandler(int); - void unregisterScriptAccelerateHandler(); - void unregisterScriptKeypadHandler(); - - virtual bool init() = ios 0x1508bc; - virtual void onEnter(); - virtual void onEnterTransitionDidFinish() = ios 0x15113c; - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void registerScriptTouchHandler(int, bool, int, bool); - virtual void unregisterScriptTouchHandler(); - virtual bool isTouchEnabled(); - virtual void setTouchEnabled(bool); - virtual void setTouchMode(cocos2d::ccTouchesMode); - virtual int getTouchMode(); - virtual void setTouchPriority(int); - virtual int getTouchPriority(); - virtual bool isAccelerometerEnabled(); - virtual void setAccelerometerEnabled(bool); - virtual void setAccelerometerInterval(double); - virtual bool isKeypadEnabled(); - virtual void setKeypadEnabled(bool); - virtual bool isKeyboardEnabled(); - virtual void setKeyboardEnabled(bool); - virtual bool isMouseEnabled(); - virtual void setMouseEnabled(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x15145c; - virtual void ccTouchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x1514fc; - virtual void ccTouchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x15159c; - virtual void ccTouchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x15163c; - virtual void setPreviousPriority(int); - virtual int getPreviousPriority(); - - virtual void didAccelerate(cocos2d::CCAcceleration*); - - virtual void keyBackClicked(); - virtual void keyMenuClicked() = ios 0x150edc; - - virtual void keyDown(cocos2d::enumKeyCodes) = ios 0x150f6c; -} - -[[link(win, android)]] -class cocos2d::CCObject { - static cocos2d::CCObject* createWithCoder(DS_Dictionary*); - - // CCObject(cocos2d::CCObject const&); - CCObject() = ios 0x8a97c; - ~CCObject() = ios 0x8a9c4; - - cocos2d::CCObjectType getObjType() const; - - void setObjType(cocos2d::CCObjectType); - - cocos2d::CCObject* autorelease() = ios 0x8aab0; - cocos2d::CCObject* copy(); - bool isSingleReference() const; - void release() = ios 0x8aa7c; - void retain() = ios 0x8aaa0; - unsigned int retainCount() const; - - virtual int getTag() const = ios 0x8ab00; - virtual bool isEqual(cocos2d::CCObject const*) = ios 0x8aadc; - virtual void acceptVisitor(cocos2d::CCDataVisitor&) = ios 0x8aae8; - virtual void update(float); - virtual void encodeWithCoder(DS_Dictionary*) = ios 0x8ab10; - virtual bool canEncode() = ios 0x8ab1c; - virtual void setTag(int) = ios 0x8ab08; -} - -[[link(win, android)]] -class cocos2d::CCOrbitCamera { - static cocos2d::CCOrbitCamera* create(float, float, float, float, float, float, float); - - bool initWithDuration(float, float, float, float, float, float, float); - // CCOrbitCamera(cocos2d::CCOrbitCamera const&); - // CCOrbitCamera(); - - void sphericalRadius(float*, float*, float*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCLayerColor { - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&) = ios 0x151cd4; - static cocos2d::CCLayerColor* create(cocos2d::_ccColor4B const&, float, float) = ios 0x151bf8; - static cocos2d::CCLayerColor* create(); - - // CCLayerColor(cocos2d::CCLayerColor const&); - CCLayerColor() = ios 0x151b38; - ~CCLayerColor() = ios 0x151bac; // (or ios = 0x150804 IDK GHIDRA IS MESSING WITH ME); - - void setVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - - void addToVertices(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void changeHeight(float); - void changeWidth(float); - void changeWidthAndHeight(float, float); - - virtual bool init(); - virtual void setContentSize(cocos2d::CCSize const&); - virtual void draw(); - virtual bool initWithColor(cocos2d::_ccColor4B const&, float, float); - virtual bool initWithColor(cocos2d::_ccColor4B const&); - virtual void updateColor(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); -} - -[[link(win, android)]] -class cocos2d::CCLayerRGBA { - static cocos2d::CCLayerRGBA* create(); - - // CCLayerRGBA(cocos2d::CCLayerRGBA const&); - CCLayerRGBA(); - ~CCLayerRGBA(); - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - -[[link(win, android)]] -class cocos2d::CCMouseDispatcher { - // CCMouseDispatcher(cocos2d::CCMouseDispatcher const&); - // CCMouseDispatcher(); - void addDelegate(cocos2d::CCMouseDelegate*); - bool dispatchScrollMSG(float, float); - void forceAddDelegate(cocos2d::CCMouseDelegate*); - void forceRemoveDelegate(cocos2d::CCMouseDelegate*); - void removeDelegate(cocos2d::CCMouseDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCTouchDispatcher { - bool init() = ios 0x156dd8; - - int getTargetPrio() const; - - void setDispatchEvents(bool) = ios 0x156dd0; - void setPriority(int, cocos2d::CCTouchDelegate*); - - // CCTouchDispatcher(cocos2d::CCTouchDispatcher const&); - // CCTouchDispatcher(); - void addPrioTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = ios 0x156ffc; - void addStandardDelegate(cocos2d::CCTouchDelegate*, int) = ios 0x157200; - void addTargetedDelegate(cocos2d::CCTouchDelegate*, int, bool) = ios 0x157014; - void decrementForcePrio(int); - cocos2d::CCTouchHandler* findHandler(cocos2d::CCArray*, cocos2d::CCTouchDelegate*) = ios 0x157400; - cocos2d::CCTouchHandler* findHandler(cocos2d::CCTouchDelegate*) = ios 0x1574b8; - void forceAddHandler(cocos2d::CCTouchHandler*, cocos2d::CCArray*) = ios 0x157400; - void forceRemoveAllDelegates(); - void forceRemoveDelegate(cocos2d::CCTouchDelegate*) = ios 0x157294; - void incrementForcePrio(int); - bool isDispatchEvents(); - bool isUsingForcePrio(); - void rearrangeHandlers(cocos2d::CCArray*); - void registerForcePrio(cocos2d::CCObject*, int) = ios 0x156f0c; - void removeAllDelegates(); - void removeDelegate(cocos2d::CCTouchDelegate*) = ios 0x157384; - void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int) = ios 0x157580; - void unregisterForcePrio(cocos2d::CCObject*) = ios 0x156f88; - - virtual void touchesBegan(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x157968; - virtual void touchesMoved(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x157994; - virtual void touchesEnded(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x1579c0; - virtual void touchesCancelled(cocos2d::CCSet*, cocos2d::CCEvent*) = ios 0x1579ec; -} - -[[link(win, android)]] -class cocos2d::CCTouchDelegate { - // CCTouchDelegate(cocos2d::CCTouchDelegate const&); - // CCTouchDelegate(); - - virtual void setPreviousPriority(int) {} - virtual int getPreviousPriority() { return 0; } -} - -[[link(win, android)]] -class cocos2d::CCMoveTo { - static cocos2d::CCMoveTo* create(float, cocos2d::CCPoint const&) = ios 0x192864; - - bool initWithDuration(float, cocos2d::CCPoint const&); - - // CCMoveTo(cocos2d::CCMoveTo const&); - // CCMoveTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void startWithTarget(cocos2d::CCNode*); -} - -[[link(win, android)]] -class cocos2d::CCTextureCache { - static void purgeSharedTextureCache(); - static void reloadAllTextures(); - static cocos2d::CCTextureCache* sharedTextureCache() = ios 0x113704; - - // CCTextureCache(cocos2d::CCTextureCache const&); - // CCTextureCache(); - cocos2d::CCTexture2D* addETCImage(char const*); - cocos2d::CCTexture2D* addImage(char const*, bool) = ios 0x1142dc; - void addImageAsync(char const*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler, int, cocos2d::CCTexture2DPixelFormat); - void addImageAsyncCallBack(float); - cocos2d::CCTexture2D* addPVRImage(char const*); - cocos2d::CCTexture2D* addUIImage(cocos2d::CCImage*, char const*); - char const* description(); - void dumpCachedTextureInfo(); - void prepareAsyncLoading(); - bool reloadTexture(char const*); - void removeAllTextures(); - void removeTexture(cocos2d::CCTexture2D*); - void removeTextureForKey(char const*); - void removeUnusedTextures(); - cocos2d::CCDictionary* snapshotTextures(); - cocos2d::CCTexture2D* textureForKey(char const*); -} - -[[link(win)]] -class cocos2d::CCEGLView { - // CCEGLView(); - // CCEGLView(cocos2d::CCEGLView const&); - virtual void swapBuffers(); - // rest are in extras -} - -[[link(win, android)]] -class cocos2d::CCIMEDispatcher { - static cocos2d::CCIMEDispatcher* sharedDispatcher(); - - // CCIMEDispatcher(); - - void addDelegate(cocos2d::CCIMEDelegate*); - bool attachDelegateWithIME(cocos2d::CCIMEDelegate*); - bool detachDelegateWithIME(cocos2d::CCIMEDelegate*); - void dispatchDeleteBackward(); - void dispatchDeleteForward(); - void dispatchInsertText(char const*, int, cocos2d::enumKeyCodes); - void dispatchKeyboardDidHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardDidShow(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - void dispatchKeyboardWillHide(); - void dispatchKeyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - char const* getContentText(); - bool hasDelegate(); - void removeDelegate(cocos2d::CCIMEDelegate*); -} - -[[link(win, android)]] -class cocos2d::CCKeyboardDispatcher { - static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes); - - bool getAltKeyPressed() const; - bool getBlockRepeat() const; - bool getCommandKeyPressed() const; - bool getControlKeyPressed() const; - bool getShiftKeyPressed() const; - - void setBlockRepeat(bool); - - // CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&); - // CCKeyboardDispatcher(); - void addDelegate(cocos2d::CCKeyboardDelegate*); - bool dispatchKeyboardMSG(cocos2d::enumKeyCodes, bool, bool); - void forceAddDelegate(cocos2d::CCKeyboardDelegate*); - void forceRemoveDelegate(cocos2d::CCKeyboardDelegate*); - char const* keyToString(cocos2d::enumKeyCodes); - void removeDelegate(cocos2d::CCKeyboardDelegate*); - void updateModifierKeys(bool, bool, bool, bool); -} - -[[link(win, android)]] -class cocos2d::CCDirector { - static cocos2d::CCDirector* sharedDirector() = ios 0x17bf5c; - - float getActualDeltaTime() const; - double getAnimationInterval(); - float getContentScaleFactor(); - cocos2d::CCDirectorDelegate* getDelegate() const; - bool getDontCallWillSwitch() const; - void getFPSImageData(unsigned char**, unsigned int*); - bool getIsTransitioning() const; - cocos2d::TextureQuality getLoadedTextureQuality() const; - cocos2d::CCScene* getNextScene(); - cocos2d::CCNode* getNotificationNode(); - cocos2d::CCEGLView* getOpenGLView(); - cocos2d::ccDirectorProjection getProjection(); - cocos2d::CCScene* getRunningScene(); - cocos2d::CCScene* getSceneReference() const; - float getScreenBottom(); - float getScreenLeft(); - float getScreenRight(); - float getScreenScaleFactor(); - float getScreenScaleFactorH(); - float getScreenScaleFactorMax(); - float getScreenScaleFactorW(); - float getScreenTop(); - float getSecondsPerFrame(); - bool getSmoothFix() const; - bool getSmoothFixCheck() const; - int getSmoothFixCounter() const; - unsigned int getTotalFrames(); - cocos2d::CCPoint getVisibleOrigin(); - cocos2d::CCSize getVisibleSize(); - cocos2d::CCSize getWinSize() = ios 0x17cbe4; - cocos2d::CCSize getWinSizeInPixels(); - float getZEye(); - - void setActualDeltaTime(float); - void setAlphaBlending(bool); - void setContentScaleFactor(float); - void setDefaultValues(); - void setDelegate(cocos2d::CCDirectorDelegate*); - void setDeltaTime(float); - void setDepthTest(bool) = ios 0x17c4e4; - void setDisplayStats(bool); - void setDontCallWillSwitch(bool); - void setGLDefaultValues(); - void setNextDeltaTimeZero(bool); - void setNextScene(); - void setNotificationNode(cocos2d::CCNode*); - void setOpenGLView(cocos2d::CCEGLView*); - void setProjection(cocos2d::ccDirectorProjection) = ios 0x17c514; - void setSceneReference(cocos2d::CCScene*); - void setSmoothFix(bool); - void setSmoothFixCheck(bool); - void setViewport(); - - // CCDirector(cocos2d::CCDirector const&); - // CCDirector(); - void applySmoothFix(); - void calculateDeltaTime(); - void calculateMPF(); - void checkSceneReference(); - cocos2d::CCPoint convertToGL(cocos2d::CCPoint const&) = ios 0x17cde4; - cocos2d::CCPoint convertToUI(cocos2d::CCPoint const&); - void createStatsLabel(); - void drawScene(); - void end(); - bool isDisplayStats(); - bool isNextDeltaTimeZero(); - bool isPaused(); - bool isSendCleanupToScene(); - int levelForSceneInStack(cocos2d::CCScene*); - void pause(); - void popScene(); - bool popSceneWithTransition(float, cocos2d::PopTransition); - void popToRootScene(); - void popToSceneInStack(cocos2d::CCScene*); - void popToSceneStackLevel(int); - void purgeCachedData(); - void purgeDirector(); - bool pushScene(cocos2d::CCScene*) = ios 0x17cfb0; - void removeStatsLabel(); - bool replaceScene(cocos2d::CCScene*) = ios 0x17d038; - void resetSmoothFixCounter(); - void reshapeProjection(cocos2d::CCSize const&); - void resume(); - void runWithScene(cocos2d::CCScene*) = ios 0x17cf84; - int sceneCount(); - void setupScreenScale(cocos2d::CCSize, cocos2d::CCSize, cocos2d::TextureQuality); - void showFPSLabel(); - void showStats(); - void toggleShowFPS(bool, gd::string, cocos2d::CCPoint); - void updateContentScale(cocos2d::TextureQuality); - void updateScreenScale(cocos2d::CCSize); - void willSwitchToScene(cocos2d::CCScene*); - - virtual bool init(); - virtual cocos2d::CCScheduler* getScheduler(); - virtual void setScheduler(cocos2d::CCScheduler*); - virtual cocos2d::CCActionManager* getActionManager(); - virtual void setActionManager(cocos2d::CCActionManager*); - virtual cocos2d::CCTouchDispatcher* getTouchDispatcher(); - virtual void setTouchDispatcher(cocos2d::CCTouchDispatcher*); - virtual cocos2d::CCKeypadDispatcher* getKeypadDispatcher(); - virtual void setKeypadDispatcher(cocos2d::CCKeypadDispatcher*); - virtual cocos2d::CCKeyboardDispatcher* getKeyboardDispatcher(); - virtual void setKeyboardDispatcher(cocos2d::CCKeyboardDispatcher*); - virtual cocos2d::CCMouseDispatcher* getMouseDispatcher(); - virtual void setMouseDispatcher(cocos2d::CCMouseDispatcher*); - virtual cocos2d::CCAccelerometer* getAccelerometer(); - virtual void setAccelerometer(cocos2d::CCAccelerometer*); - virtual float getDeltaTime(); - virtual void setSceneDelegate(cocos2d::CCSceneDelegate*); - virtual cocos2d::CCSceneDelegate* getSceneDelegate() const; -} - - -[[link(win, android)]] -class cocos2d::CCNodeRGBA { - static cocos2d::CCNodeRGBA* create(); - - // CCNodeRGBA(cocos2d::CCNodeRGBA const&); - CCNodeRGBA() = ios 0x245b20; - ~CCNodeRGBA() = ios 0x245b50; - - virtual bool init(); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual cocos2d::_ccColor3B const& getColor(); - virtual cocos2d::_ccColor3B const& getDisplayedColor(); - virtual unsigned char getDisplayedOpacity(); - virtual unsigned char getOpacity(); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual bool isCascadeColorEnabled(); - virtual void setCascadeColorEnabled(bool); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual bool isCascadeOpacityEnabled(); - virtual void setCascadeOpacityEnabled(bool); - virtual void updateDisplayedOpacity(unsigned char); -} - - -[[link(win, android)]] -class cocos2d::CCSprite { - static cocos2d::CCSprite* create(char const*) = ios 0x240214; - static cocos2d::CCSprite* create(char const*, cocos2d::CCRect const&); - static cocos2d::CCSprite* create(); - static cocos2d::CCSprite* createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static cocos2d::CCSprite* createWithSpriteFrameName(char const*) = ios 0x240310; - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*); - static cocos2d::CCSprite* createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - - unsigned int getAtlasIndex(); - float getBlVertexMod() const; - float getBrVertexMod() const; - bool getDontDraw() const; - cocos2d::CCPoint const& getOffsetPosition(); - cocos2d::_ccV3F_C4B_T2F_Quad getQuad(); - cocos2d::CCTextureAtlas* getTextureAtlas(); - cocos2d::CCRect const& getTextureRect(); - float getTlVertexMod() const; - float getTrVertexMod() const; - cocos2d::CCPoint const& getUnflippedOffsetPosition(); - bool getUseVertexMod() const; - - void setAtlasIndex(unsigned int); - void setBlVertexMod(float); - void setBrVertexMod(float); - void setDontDraw(bool); - void setFlipX(bool) = ios 0x241bfc; - void setFlipY(bool) = ios 0x241c30; - void setTextureAtlas(cocos2d::CCTextureAtlas*); - void setTlVertexMod(float); - void setTrVertexMod(float); - void setUseVertexMod(bool); - - // CCSprite(cocos2d::CCSprite const&); - CCSprite() = ios 0x24073c; - ~CCSprite() = ios 0x2407c4; - bool isFlipX(); - bool isFlipY(); - bool isTextureRectRotated(); - void updateColor(); - - virtual bool init(); - virtual void setVertexZ(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setSkewX(float); - virtual void setSkewY(float); - virtual void setAnchorPoint(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void ignoreAnchorPointForPosition(bool); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void removeAllChildrenWithCleanup(bool); - virtual void reorderChild(cocos2d::CCNode*, int); - virtual void sortAllChildren(); - virtual void draw(); - virtual void updateTransform(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(char const*); - virtual bool initWithFile(char const*); - virtual bool initWithFile(char const*, cocos2d::CCRect const&); - virtual void setChildColor(cocos2d::_ccColor3B const&); - virtual void setChildOpacity(unsigned char); - virtual cocos2d::CCSpriteBatchNode* getBatchNode(); - virtual void setBatchNode(cocos2d::CCSpriteBatchNode*); - virtual void refreshTextureRect(); - virtual void setTextureRect(cocos2d::CCRect const&); - virtual void setTextureRect(cocos2d::CCRect const&, bool, cocos2d::CCSize const&); - virtual void setVertexRect(cocos2d::CCRect const&); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); - virtual void setDisplayFrameWithAnimationName(char const*, int); - virtual bool isDirty(); - virtual void setDirty(bool); - virtual void setTextureCoords(cocos2d::CCRect const&); - virtual void updateBlendFunc(); - virtual void setReorderChildDirtyRecursively(); - virtual void setDirtyRecursively(bool); - - virtual void setColor(cocos2d::_ccColor3B const&); - virtual void setOpacity(unsigned char); - virtual void setOpacityModifyRGB(bool); - virtual bool isOpacityModifyRGB(); - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&); - virtual void updateDisplayedOpacity(unsigned char); - - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual cocos2d::_ccBlendFunc getBlendFunc(); - virtual cocos2d::CCTexture2D* getTexture(); - virtual void setTexture(cocos2d::CCTexture2D*); -} - -[[link(win, android)]] -class cocos2d::CCLabelBMFont { - ~CCLabelBMFont() = ios 0x301fcc; - static cocos2d::CCLabelBMFont* create(char const*, char const*) = ios 0x301b04; - static cocos2d::CCLabelBMFont* create(char const*, char const*, float); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment); - static cocos2d::CCLabelBMFont* create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint) = ios 0x301a44; - static cocos2d::CCLabelBMFont* create(); - static cocos2d::CCLabelBMFont* createBatched(char const*, char const*, cocos2d::CCArray*, int); - static void purgeCachedData(); - - bool initWithString(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint) = ios 0x301b54; - - cocos2d::CCBMFontConfiguration* getConfiguration() const; - int getExtraKerning() const; - char const* getFntFile(); - bool getIsBatched() const; - float getLetterPosXLeft(cocos2d::CCSprite*, float, bool); - float getLetterPosXRight(cocos2d::CCSprite*, float, bool); - cocos2d::CCArray* getTargetArray() const; - - void setExtraKerning(int); - void setFntFile(char const*); - void setIsBatched(bool); - void setTargetArray(cocos2d::CCArray*); - void createFontChars(); - int kerningAmountForFirst(unsigned short, unsigned short); - void limitLabelWidth(float, float, float) = ios 0x303e78; - - virtual bool init() = ios 0x301ebc; - virtual void setScaleX(float) = ios 0x303e20; - virtual void setScaleY(float) = ios 0x303e4c; - virtual void setScale(float) = ios 0x303df4; - virtual void setAnchorPoint(cocos2d::CCPoint const&) = ios 0x302e8c; - virtual void setString(char const*, bool) = ios 0x302840; - virtual void setCString(char const*) = ios 0x302a5c; - virtual void updateLabel() = ios 0x302ee0; - virtual void setAlignment(cocos2d::CCTextAlignment) = ios 0x303dc4; - virtual void setWidth(float) = ios 0x303dd4; - virtual void setLineBreakWithoutSpace(bool) = ios 0x303de4; - virtual void setString(unsigned short*, bool) = ios 0x3028c8; - - virtual void setString(char const*) = ios 0x30281c; - virtual char const* getString() = ios 0x302a24; - - virtual void setColor(cocos2d::_ccColor3B const&) = ios 0x302a88; - virtual cocos2d::_ccColor3B const& getColor() = ios 0x302a68; - virtual cocos2d::_ccColor3B const& getDisplayedColor() = ios 0x302a78; - virtual unsigned char getDisplayedOpacity() = ios 0x302b68; - virtual unsigned char getOpacity() = ios 0x302b58; - virtual void setOpacity(unsigned char) = ios 0x302b78; - virtual void setOpacityModifyRGB(bool) = ios 0x302c18; - virtual bool isOpacityModifyRGB() = ios 0x302cd0; - virtual bool isCascadeColorEnabled() = ios 0x302e4c; - virtual void setCascadeColorEnabled(bool) = ios 0x302e5c; - virtual void updateDisplayedColor(cocos2d::_ccColor3B const&) = ios 0x302d78; - virtual bool isCascadeOpacityEnabled() = ios 0x302e6c; - virtual void setCascadeOpacityEnabled(bool) = ios 0x302e7c; - virtual void updateDisplayedOpacity(unsigned char) = ios 0x302ce0; -} - -[[link(win, android)]] -class cocos2d::CCApplication { - static cocos2d::CCApplication* sharedApplication() = ios 0x1b2588; - virtual void gameDidSave() = ios 0x1b27c8; // unsure if this is PlatformToolbox::gameDidSave - virtual void openURL(char const*); -} - -[[link(win, android)]] -class cocos2d::CCArray { - // static cocos2d::CCArray* create(cocos2d::CCObject*, ...); - static cocos2d::CCArray* create(); - static cocos2d::CCArray* createWithArray(cocos2d::CCArray*); - static cocos2d::CCArray* createWithCapacity(unsigned int); - static cocos2d::CCArray* createWithContentsOfFile(char const*); - static cocos2d::CCArray* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCArray* createWithObject(cocos2d::CCObject*); - - bool init(); - bool initWithArray(cocos2d::CCArray*); - bool initWithCapacity(unsigned int); - bool initWithObject(cocos2d::CCObject*); - // bool initWithObjects(cocos2d::CCObject*, ...); - - // CCArray(cocos2d::CCArray const&); - // CCArray(unsigned int); - // CCArray(); - void addObject(cocos2d::CCObject*); - void addObjectNew(cocos2d::CCObject*); - void addObjectsFromArray(cocos2d::CCArray*); - unsigned int capacity() const; - bool containsObject(cocos2d::CCObject*) const; - unsigned int count() const; - void exchangeObject(cocos2d::CCObject*, cocos2d::CCObject*); - void exchangeObjectAtIndex(unsigned int, unsigned int); - void fastRemoveObject(cocos2d::CCObject*); - void fastRemoveObjectAtIndex(unsigned int); - void fastRemoveObjectAtIndexChild(unsigned int); - void fastRemoveObjectAtIndexNew(unsigned int); - unsigned int indexOfObject(cocos2d::CCObject*) const; - void insertObject(cocos2d::CCObject*, unsigned int); - bool isEqualToArray(cocos2d::CCArray*); - cocos2d::CCObject* lastObject(); - cocos2d::CCObject* objectAtIndex(unsigned int); - cocos2d::CCObject* randomObject(); - void recreateNewIndexes(); - void reduceMemoryFootprint(); - void removeAllObjects(); - void removeLastObject(bool); - void removeObject(cocos2d::CCObject*, bool); - void removeObjectAtIndex(unsigned int, bool); - void removeObjectAtIndexChild(unsigned int, bool); - void removeObjectsInArray(cocos2d::CCArray*); - void replaceObjectAtIndex(unsigned int, cocos2d::CCObject*, bool); - void reverseObjects(); - cocos2d::CCString* stringAtIndex(unsigned int); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCDictionary { - static cocos2d::CCDictionary* create(); - static cocos2d::CCDictionary* createWithContentsOfFile(char const*); - static cocos2d::CCDictionary* createWithContentsOfFileThreadSafe(char const*); - static cocos2d::CCDictionary* createWithDictionary(cocos2d::CCDictionary*); - - gd::string getFirstKey(); - - void setObject(cocos2d::CCObject*, gd::string const&); - void setObject(cocos2d::CCObject*, int); - void setObjectUnSafe(cocos2d::CCObject*, gd::string const&); - void setObjectUnSafe(cocos2d::CCObject*, int); - - // CCDictionary(cocos2d::CCDictionary const&); - // CCDictionary(); - cocos2d::CCArray* allKeys(); - cocos2d::CCArray* allKeysForObject(cocos2d::CCObject*); - char const* charForKey(gd::string const&); - unsigned int count(); - cocos2d::CCObject* objectForKey(gd::string const&); - cocos2d::CCObject* objectForKey(int); - cocos2d::CCObject* randomObject(); - void removeAllObjects(); - void removeObjectForElememt(cocos2d::CCDictElement*); - void removeObjectForKey(gd::string const&); - void removeObjectForKey(int); - void removeObjectsForKeys(cocos2d::CCArray*); - cocos2d::CCString const* valueForKey(gd::string const&); - cocos2d::CCString const* valueForKey(int); - bool writeToFile(char const*); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCTransitionFade { - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*) = ios 0x1d1e60; - static cocos2d::CCTransitionFade* create(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&) = ios 0x1d1dc4; - - // CCTransitionFade(cocos2d::CCTransitionFade const&); - // CCTransitionFade(); - - virtual void onEnter(); - virtual void onExit(); - virtual bool initWithDuration(float, cocos2d::CCScene*); - virtual bool initWithDuration(float, cocos2d::CCScene*, cocos2d::_ccColor3B const&); -} - -[[link(win, android)]] -class cocos2d::ZipUtils { - static gd::string base64DecodeEnc(gd::string const&, gd::string); - static gd::string base64EncodeEnc(gd::string const&, gd::string); - static gd::string base64URLDecode(gd::string const&); - static gd::string base64URLEncode(gd::string const&); - static void ccDecodeEncodedPvr(unsigned int*, int); - static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**); - static int ccInflateCCZFile(char const*, unsigned char**); - static int ccInflateGZipFile(char const*, unsigned char**); - static int ccInflateMemory(unsigned char*, unsigned int, unsigned char**); - static int ccInflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int*, unsigned int); - static int ccInflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int); - static void ccSetPvrEncryptionKey(unsigned int, unsigned int, unsigned int, unsigned int); - static void ccSetPvrEncryptionKeyPart(int, unsigned int); - static gd::string compressString(gd::string const&, bool, int); - static gd::string decompressString2(unsigned char*, bool, int, int); - static gd::string decompressString(gd::string const&, bool, int); - static gd::string encryptDecrypt(gd::string const&, int); - static gd::string encryptDecryptWKey(gd::string const&, gd::string); - static unsigned char hexToChar(gd::string const&); - static gd::string urlDecode(gd::string const&); -} - -[[link(win, android)]] -class cocos2d::CCDelayTime { - static cocos2d::CCDelayTime* create(float) = ios 0x191bbc; - - // CCDelayTime(cocos2d::CCDelayTime const&); - // CCDelayTime(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSequence { - static cocos2d::CCSequence* create(cocos2d::CCArray*) = ios 0x191274; - // static cocos2d::CCSequence* create(cocos2d::CCFiniteTimeAction*, ...); - static cocos2d::CCSequence* createWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - static cocos2d::CCSequence* createWithVariableList(cocos2d::CCFiniteTimeAction*, va_list) = ios 0x19129c; - - bool initWithTwoActions(cocos2d::CCFiniteTimeAction*, cocos2d::CCFiniteTimeAction*); - - // CCSequence(cocos2d::CCSequence const&); - // CCSequence(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void stop(); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCMenuItemSprite { - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItemSprite* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = ios 0x5626c; - - // CCMenuItemSprite(cocos2d::CCMenuItemSprite const&); - // CCMenuItemSprite(); - - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool) = ios 0x56490; - virtual cocos2d::CCNode* getNormalImage() = ios 0x56038; - virtual void setNormalImage(cocos2d::CCNode*) = ios 0x56040; - virtual cocos2d::CCNode* getSelectedImage() = ios 0x5610c; - virtual void setSelectedImage(cocos2d::CCNode*) = ios 0x56114; - virtual cocos2d::CCNode* getDisabledImage() = ios 0x561bc; - virtual void setDisabledImage(cocos2d::CCNode*) = ios 0x561c4; - virtual void updateImagesVisibility() = ios 0x564b0; -} - -[[link(win, android)]] -class cocos2d::CCMenuItem { - ~CCMenuItem() = ios 0x55eb0; - static cocos2d::CCMenuItem* create(cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - static cocos2d::CCMenuItem* create(); - - bool initWithTarget(cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = ios 0x55e40; - - int getScriptTapHandler(); - - void setTarget(cocos2d::CCObject* rec, cocos2d::SEL_MenuHandler selector) { - // i think its inlined on ios or something - m_pListener = rec; - m_pfnSelector = selector; - } - - // CCMenuItem(cocos2d::CCMenuItem const&); - // CCMenuItem(); - cocos2d::CCRect rect(); - - virtual void activate() = ios 0x55f88; - virtual void selected() = ios 0x55f04; - virtual void unselected() = ios 0x55f10; - virtual void registerScriptTapHandler(int) = ios 0x55f18; - virtual void unregisterScriptTapHandler() = ios 0x55f48; - virtual bool isEnabled() = ios 0x5600c; - virtual void setEnabled(bool) = ios 0x56004; - virtual bool isSelected() = ios 0x56030; -} - -[[link(win, android)]] -class cocos2d::extension::CCScale9Sprite { - static cocos2d::extension::CCScale9Sprite* create(); - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*); - static cocos2d::extension::CCScale9Sprite* createWithSpriteFrameName(char const*, cocos2d::CCRect); - static cocos2d::extension::CCScale9Sprite* create(char const*); - static cocos2d::extension::CCScale9Sprite* create(char const*, cocos2d::CCRect) = ios 0x21e9c8; - - CCScale9Sprite() = ios 0x21d3a4; - ~CCScale9Sprite() = ios 0x21d454; - - // where is updatePositions - virtual bool init() = ios 0x21d51c; - virtual void setContentSize(const cocos2d::CCSize& size) = ios 0x21e418; - virtual void visit() = ios 0x21f110; - virtual GLubyte getOpacity(); - virtual void setOpacity(GLubyte opacity); - virtual void updateDisplayedOpacity(GLubyte parentOpacity); - virtual const cocos2d::ccColor3B& getColor(); - virtual void setColor(const cocos2d::ccColor3B& color); - virtual void updateDisplayedColor(const cocos2d::ccColor3B& parentColor); - virtual void setOpacityModifyRGB(bool bValue); - virtual bool isOpacityModifyRGB(); - virtual cocos2d::CCSize getPreferredSize(); - virtual void setPreferredSize(cocos2d::CCSize); - virtual cocos2d::CCRect getCapInsets(); - virtual void setCapInsets(cocos2d::CCRect); - virtual float getInsetLeft(); - virtual void setInsetLeft(float); - virtual float getInsetTop(); - virtual void setInsetTop(float); - virtual float getInsetRight(); - virtual void setInsetRight(float); - virtual float getInsetBottom(); - virtual void setInsetBottom(float); - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect); - virtual bool initWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, cocos2d::CCRect); - virtual bool initWithFile(const char*, cocos2d::CCRect, cocos2d::CCRect) = ios 0x21e8f0; - virtual bool initWithFile(const char*, cocos2d::CCRect); - virtual bool initWithFile(cocos2d::CCRect, const char*); - virtual bool initWithFile(const char*); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*, cocos2d::CCRect) = ios 0x21eb24; - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual bool initWithSpriteFrameName(const char*, cocos2d::CCRect); - virtual bool initWithSpriteFrameName(const char*); - virtual bool updateWithBatchNode(cocos2d::CCSpriteBatchNode*, cocos2d::CCRect, bool, cocos2d::CCRect) = ios 0x21d68c; - virtual void setSpriteFrame(cocos2d::CCSpriteFrame*); -} - -[[link(win, android)]] -class cocos2d::extension::CCControlColourPicker { - static cocos2d::extension::CCControlColourPicker* colourPicker() = ios 0x1b4e64; // im confused -} - -[[link(win, android)]] -class cocos2d::CCMenu { - // static cocos2d::CCMenu* create(cocos2d::CCMenuItem*, ...) = ios 0x1dabec; - static cocos2d::CCMenu* create() = ios 0x1dabc8; - static cocos2d::CCMenu* createWithArray(cocos2d::CCArray*) = ios 0x1dac74; - static cocos2d::CCMenu* createWithItem(cocos2d::CCMenuItem*); - // static cocos2d::CCMenu* createWithItems(cocos2d::CCMenuItem*, char*) = ios 0x1dac14; - - bool initWithArray(cocos2d::CCArray*); - - void setHandlerPriority(int); - - // CCMenu(cocos2d::CCMenu const&); - // CCMenu(); - void alignItemsHorizontally(); - void alignItemsHorizontallyWithPadding(float); - // void alignItemsInColumns(unsigned int, ...); - // void alignItemsInColumns(unsigned int, char*); - void alignItemsInColumnsWithArray(cocos2d::CCArray*); - // void alignItemsInRows(unsigned int, ...); - // void alignItemsInRows(unsigned int, char*); - void alignItemsInRowsWithArray(cocos2d::CCArray*); - void alignItemsVertically(); - void alignItemsVerticallyWithPadding(float); - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*); - cocos2d::CCMenuItem* itemForTouch(cocos2d::CCTouch*, bool); - - virtual bool init(); - virtual void addChild(cocos2d::CCNode*); - virtual void addChild(cocos2d::CCNode*, int); - virtual void addChild(cocos2d::CCNode*, int, int); - virtual void removeChild(cocos2d::CCNode*, bool); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(win, android)]] -class DS_Dictionary { - DS_Dictionary(); - // ~DS_Dictionary(); - - static void copyFile(const char*, const char*); - - cocos2d::CCObject* decodeObjectForKey(const char*, bool, int); - - bool loadRootSubDictFromFile(const char*); - bool loadRootSubDictFromCompressedFile(const char*); - bool loadRootSubDictFromString(gd::string const&); - - bool saveRootSubDictToFile(const char*); - bool saveRootSubDictToCompressedFile(const char*); - gd::string saveRootSubDictToString(); - - bool stepIntoSubDictWithKey(const char*); - void stepOutOfSubDict(); - void stepBackToRootSubDict(); - - unsigned int getNumKeys(); - gd::string getKey(unsigned int); - gd::vector getAllKeys(); - unsigned int getIndexOfKey(const char*); - unsigned int getIndexOfKeyWithClosestAlphaNumericalMatch(const char*); - void removeKey(unsigned int); - void removeKey(const char*); - void removeAllKeys(); - - int getIntegerForKey(const char*); - bool getBoolForKey(const char*); - float getFloatForKey(const char*); - gd::string getStringForKey(const char*); - cocos2d::CCPoint getVec2ForKey(const char*); - cocos2d::CCRect getRectForKey(const char*); - gd::vector getStringArrayForKey(const char*); - gd::vector getVec2ArrayForKey(const char*); - gd::vector getRectArrayForKey(const char*); - cocos2d::CCArray* getArrayForKey(const char*, bool); - cocos2d::CCDictionary* getDictForKey(const char*, bool); - cocos2d::CCObject* getObjectForKey(const char*); - - void setIntegerForKey(const char*, int); - void setIntegerForKey(const char*, int, bool); - void setBoolForKey(const char*, bool); - void setBoolForKey(const char*, bool, bool); - void setFloatForKey(const char*, float); - void setFloatForKey(const char*, float, bool); - void setStringForKey(const char*, const gd::string&); - void setStringForKey(const char*, const gd::string&, bool); - void setVec2ForKey(const char*, const cocos2d::CCPoint&); - void setVec2ForKey(const char*, const cocos2d::CCPoint&, bool); - void setRectForKey(const char*, const cocos2d::CCRect&); - void setRectForKey(const char*, const cocos2d::CCRect&, bool); - void setStringArrayForKey(const char*, const gd::vector&); - void setStringArrayForKey(const char*, const gd::vector&, bool); - void setVec2ArrayForKey(const char*, const gd::vector&); - void setVec2ArrayForKey(const char*, const gd::vector&, bool); - void setRectArrayForKey(const char*, const gd::vector&); - void setRectArrayForKey(const char*, const gd::vector&, bool); - void setArrayForKey(const char*, cocos2d::CCArray*); - void setBoolMapForKey(const char*, gd::map&); - void setSubDictForKey(const char*); - void setSubDictForKey(const char*, bool, bool); - void setDictForKey(const char*, cocos2d::CCDictionary*); - void setObjectForKey(const char*, cocos2d::CCObject*); - - void addBoolValuesToMapForKey(gd::map&, const char*, bool); - void addBoolValuesToMapForKeySpecial(gd::map&, const char*, bool); - - void checkCompatibility(); -} - -[[link(win, android)]] -class cocos2d::CCDrawNode { - static cocos2d::CCDrawNode* create(); - - cocos2d::_ccBlendFunc getBlendFunc() const; - - void setBlendFunc(cocos2d::_ccBlendFunc const&); - - // CCDrawNode(cocos2d::CCDrawNode const&); - // CCDrawNode(); - void clear(); - void drawCircle(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&, unsigned int); - void drawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - void drawDot(cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - bool drawLines(cocos2d::CCPoint*, unsigned int, float, cocos2d::_ccColor4F const&); - bool drawPolygon(cocos2d::CCPoint *verts, unsigned int count, const cocos2d::ccColor4F &fillColor, float borderWidth, const cocos2d::ccColor4F &borderColor); - void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); - bool drawRect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&); - void drawSegment(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float, cocos2d::_ccColor4F const&); - void ensureCapacity(unsigned int); - void listenBackToForeground(cocos2d::CCObject*); - void render(); - - virtual bool init(); - virtual void draw(); -} - -[[link(win, android)]] -class cocos2d::CCSpriteBatchNode { - bool initWithTexture(cocos2d::CCTexture2D*, unsigned int); -} - -[[link(win, android)]] -class cocos2d::CCActionManager { - cocos2d::CCAction* getActionByTag(unsigned int, cocos2d::CCObject*); - - // CCActionManager(cocos2d::CCActionManager const&); - // CCActionManager(); - void actionAllocWithHashElement(cocos2d::_hashElement*); - void addAction(cocos2d::CCAction*, cocos2d::CCNode*, bool) = ios 0x2fb3d8; - void deleteHashElement(cocos2d::_hashElement*); - unsigned int numberOfRunningActionsInTarget(cocos2d::CCObject*); - cocos2d::CCSet* pauseAllRunningActions(); - void pauseTarget(cocos2d::CCObject*); - void removeAction(cocos2d::CCAction*); - void removeActionAtIndex(unsigned int, cocos2d::_hashElement*); - void removeActionByTag(unsigned int, cocos2d::CCObject*); - void removeAllActions(); - void removeAllActionsFromTarget(cocos2d::CCObject*); - void resumeTarget(cocos2d::CCObject*); - void resumeTargets(cocos2d::CCSet*); - - virtual void update(float); -} - -[[link(win, android)]] -class cocos2d::CCString { - // static cocos2d::CCString* create(gd::string const&); - static cocos2d::CCString* createWithContentsOfFile(char const*) = ios 0x2709e0; - static cocos2d::CCString* createWithData(unsigned char const*, unsigned long) = ios 0x2708a4; - // static cocos2d::CCString* createWithFormat(char const*, ...) = ios 0x270958; - - // bool initWithFormat(char const*, ...); - // bool initWithFormatAndValist(char const*, char*); - - char const* getCString() const = ios 0x270528; - - // CCString(cocos2d::CCString const&); - // CCString(gd::string const&); - // CCString(char const*); - // CCString(); - bool boolValue() const; - int compare(char const*) const; - double doubleValue() const; - float floatValue() const; - int intValue() const; - unsigned int length() const; - unsigned int uintValue() const; - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isEqual(cocos2d::CCObject const*); - virtual void acceptVisitor(cocos2d::CCDataVisitor&); -} - -[[link(win, android)]] -class cocos2d::CCTouch { - cocos2d::CCPoint getDelta() const; - int getID() const; - cocos2d::CCPoint getLocation() const = ios 0x305508; - cocos2d::CCPoint getLocationInView() const; - cocos2d::CCPoint getPreviousLocation() const; - cocos2d::CCPoint getPreviousLocationInView() const; - cocos2d::CCPoint getStartLocation() const; - cocos2d::CCPoint getStartLocationInView() const; - - void setTouchInfo(int, float, float); - - // CCTouch(cocos2d::CCTouch const&); - // CCTouch(); -} - -[[link(win, android)]] -class cocos2d { - static cocos2d::CCAffineTransform CCAffineTransformConcat(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static bool CCAffineTransformEqualToTransform(cocos2d::CCAffineTransform const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformInvert(cocos2d::CCAffineTransform const&); - static cocos2d::CCAffineTransform CCAffineTransformMakeIdentity(); - static cocos2d::CCAffineTransform CCAffineTransformRotate(cocos2d::CCAffineTransform const&, float); - static cocos2d::CCAffineTransform CCAffineTransformScale(cocos2d::CCAffineTransform const&, float, float); - static cocos2d::CCAffineTransform CCAffineTransformTranslate(cocos2d::CCAffineTransform const&, float, float); - static void CCLuaLog(char const*); - static void CCMessageBox(char const*, char const*); - static cocos2d::CCPoint CCPointFromString(char const*); - static void CCProfilingBeginTimingBlock(char const*); - static void CCProfilingEndTimingBlock(char const*); - static void CCProfilingResetTimingBlock(char const*); - static cocos2d::CCRect CCRectApplyAffineTransform(cocos2d::CCRect const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCRect CCRectFromString(char const*); - static cocos2d::CCSize CCSizeFromString(char const*); - static cocos2d::CCBMFontConfiguration* FNTConfigLoadFile(char const*); - static void FNTConfigRemoveCache(); - static cocos2d::CCAffineTransform __CCAffineTransformMake(float, float, float, float, float, float); - static cocos2d::CCPoint __CCPointApplyAffineTransform(cocos2d::CCPoint const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCSize __CCSizeApplyAffineTransform(cocos2d::CCSize const&, cocos2d::CCAffineTransform const&); - static cocos2d::CCPoint ccCardinalSplineAt(cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, cocos2d::CCPoint&, float, float); - static void ccDrawCardinalSpline(cocos2d::CCPointArray*, float, unsigned int); - static void ccDrawCatmullRom(cocos2d::CCPointArray*, unsigned int); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool); - static void ccDrawCircle(cocos2d::CCPoint const&, float, float, unsigned int, bool, float, float); - static void ccDrawCircleSegment(cocos2d::CCPoint const&, float, float, float, unsigned int, bool, float, float); - static void ccDrawColor4B(unsigned char, unsigned char, unsigned char, unsigned char) = ios 0x254420; - static void ccDrawColor4F(float, float, float, float); - static void ccDrawCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawFilledCircle(cocos2d::CCPoint const&, float, float, unsigned int); - static void ccDrawFree(); - static void ccDrawInit(); - static void ccDrawLine(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static void ccDrawLines(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoint(cocos2d::CCPoint const&); - static void ccDrawPoints(cocos2d::CCPoint const*, unsigned int); - static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool); - static void ccDrawQuadBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int); - static void ccDrawRect(cocos2d::CCPoint, cocos2d::CCPoint); - static void ccDrawSolidPoly(cocos2d::CCPoint const*, unsigned int, cocos2d::_ccColor4F); - static void ccDrawSolidRect(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor4F) = ios 0x3ad68; - static void ccGLBindTexture2D(unsigned int); - static void ccGLBindTexture2DN(unsigned int, unsigned int); - static void ccGLBindVAO(unsigned int); - static void ccGLBlendFunc(unsigned int, unsigned int) = ios 0x1957d8; - static void ccGLBlendResetToCache(); - static void ccGLDeleteProgram(unsigned int); - static void ccGLDeleteTexture(unsigned int); - static void ccGLDeleteTextureN(unsigned int, unsigned int); - static void ccGLEnable(cocos2d::ccGLServerState); - static void ccGLEnableVertexAttribs(unsigned int); - static void ccGLInvalidateStateCache(); - static void ccGLUseProgram(unsigned int); - static void ccPointSize(float); - static void ccSetProjectionMatrixDirty(); - static bool ccVertexLineIntersect(float, float, float, float, float, float, float, float, float*); - static void ccVertexLineToPolygon(cocos2d::CCPoint*, float, cocos2d::_ccVertex2F*, unsigned int, unsigned int); - static gd::vector cc_utf16_vec_from_utf16_str(unsigned short const*); - static void cc_utf8_trim_ws(gd::vector*); - static int cc_wcslen(unsigned short const*); - static float ccpAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpAngleSigned(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpClamp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpCompMult(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpDistance(cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpForAngle(float); - static cocos2d::CCPoint ccpFromSize(cocos2d::CCSize const&); - static bool ccpFuzzyEqual(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static cocos2d::CCPoint ccpIntersectPoint(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpLength(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpLerp(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpLineIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, float*, float*); - static cocos2d::CCPoint ccpNormalize(cocos2d::CCPoint const&); - static cocos2d::CCPoint ccpRotateByAngle(cocos2d::CCPoint const&, cocos2d::CCPoint const&, float); - static bool ccpSegmentIntersect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&); - static float ccpToAngle(cocos2d::CCPoint const&); - static char const* cocos2dVersion(); -} - -[[link(win, android)]] -class cocos2d::CCRotateBy { - static cocos2d::CCRotateBy* create(float, float) = ios 0x1921e4; - static cocos2d::CCRotateBy* create(float, float, float); - - bool initWithDuration(float, float); - bool initWithDuration(float, float, float); - - // CCRotateBy(cocos2d::CCRotateBy const&); - // CCRotateBy(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCRepeatForever { - static cocos2d::CCRepeatForever* create(cocos2d::CCActionInterval*) = ios 0x191794; - - bool initWithAction(cocos2d::CCActionInterval*); - - cocos2d::CCActionInterval* getInnerAction(); - - void setInnerAction(cocos2d::CCActionInterval*); - - // CCRepeatForever(cocos2d::CCRepeatForever const&); - // CCRepeatForever(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual bool isDone(); - virtual void startWithTarget(cocos2d::CCNode*); - virtual void step(float); - virtual cocos2d::CCActionInterval* reverse(); -} - -[[link(win, android)]] -class cocos2d::CCSpriteFrameCache { - static void purgeSharedSpriteFrameCache(); - static cocos2d::CCSpriteFrameCache* sharedSpriteFrameCache() = ios 0x3b8d98; - - bool init(); - - // CCSpriteFrameCache(); - // CCSpriteFrameCache(cocos2d::CCSpriteFrameCache const&); - void addSpriteFrame(cocos2d::CCSpriteFrame*, char const*); - void addSpriteFramesWithDictionary(cocos2d::CCDictionary*, cocos2d::CCTexture2D*); - void addSpriteFramesWithFile(char const*, char const*); - void addSpriteFramesWithFile(char const*); - void addSpriteFramesWithFile(char const*, cocos2d::CCTexture2D*); - void removeSpriteFrameByName(char const*); - void removeSpriteFrames(); - void removeSpriteFramesFromDictionary(cocos2d::CCDictionary*); - void removeSpriteFramesFromFile(char const*); - void removeSpriteFramesFromTexture(cocos2d::CCTexture2D*); - void removeUnusedSpriteFrames(); - cocos2d::CCSpriteFrame* spriteFrameByName(char const*) = ios 0x3b9c74; -} - -[[link(win, android)]] -class cocos2d::CCFadeTo { - static cocos2d::CCFadeTo* create(float, unsigned char) = ios 0x193adc; - - bool initWithDuration(float, unsigned char); - - // CCFadeTo(cocos2d::CCFadeTo const&); - // CCFadeTo(); - - virtual cocos2d::CCObject* copyWithZone(cocos2d::CCZone*); - virtual void update(float); - virtual void startWithTarget(cocos2d::CCNode*); -} diff --git a/bindings/bindings/2.205/Entry.bro b/bindings/bindings/2.205/Entry.bro deleted file mode 100644 index dbaca38..0000000 --- a/bindings/bindings/2.205/Entry.bro +++ /dev/null @@ -1,3 +0,0 @@ -#include -#include -#include diff --git a/bindings/bindings/2.205/Extras.bro b/bindings/bindings/2.205/Extras.bro deleted file mode 100644 index 20d768e..0000000 --- a/bindings/bindings/2.205/Extras.bro +++ /dev/null @@ -1,65 +0,0 @@ -class PlayerButtonCommand { - PlayerButton m_button; - bool m_isPush; - bool m_isPlayer2; - PAD = win 0x6, android32 0x6; -} - -class FMODSound { - -} - -class AdvancedFollowInstance { - -} - -class SFXTriggerInstance { - -} -class EventTriggerInstance { - -} - -class SongChannelState { - -} - -class ChanceObject { - -} - -class GameObjectPhysics { - -} - -class DynamicObjectAction { - -} - -class GJTransformState { - -} - -class CAState { - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - cocos2d::ccColor3B m_color; - bool m_property19; - bool m_blending; - bool m_copyOpacity; - bool m_unknown; - int m_playerColor; - int m_colorID; - int m_copyID; - int m_unknown2; - float m_duration; - float m_fromOpacity; - float m_toOpacity; - float m_deltaTime; - float m_unknown3; - cocos2d::ccHSVValue m_copyHSV; -} - -class GJPointDouble { - -} diff --git a/bindings/bindings/2.205/GeometryDash.bro b/bindings/bindings/2.205/GeometryDash.bro deleted file mode 100644 index 20cfe49..0000000 --- a/bindings/bindings/2.205/GeometryDash.bro +++ /dev/null @@ -1,15380 +0,0 @@ -// clang-format off - -[[link(android)]] -class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtocol { - // virtual ~AccountHelpLayer(); - - static AccountHelpLayer* create(); - - TodoReturn doUnlink(); - TodoReturn exitLayer(); - void onAccountManagement(cocos2d::CCObject* sender); - void onReLogin(cocos2d::CCObject* sender); - void onUnlink(cocos2d::CCObject* sender); - TodoReturn updatePage(); - TodoReturn verifyUnlink(); - - virtual void customSetup(); - virtual void layerHidden(); - virtual TodoReturn accountStatusChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate, GJAccountSyncDelegate, FLAlertLayerProtocol { - // virtual ~AccountLayer(); - - static AccountLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn doBackup(); - TodoReturn doSync(); - TodoReturn exitLayer(); - TodoReturn hideLoadingUI(); - void onBackup(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLogin(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onRegister(cocos2d::CCObject* sender); - void onSync(cocos2d::CCObject* sender); - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updatePage(bool); - - virtual void customSetup(); - virtual void layerHidden(); - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); - virtual TodoReturn accountStatusChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegate, FLAlertLayerProtocol { - // virtual ~AccountLoginLayer(); - - static AccountLoginLayer* create(gd::string); - - TodoReturn createTextBackground(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, char const*, int); - TodoReturn createTextLabel(cocos2d::CCPoint, char const*, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - void onForgotPassword(cocos2d::CCObject* sender); - void onForgotUser(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) {} - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class AccountRegisterLayer : FLAlertLayer, TextInputDelegate, GJAccountRegisterDelegate, FLAlertLayerProtocol { - // virtual ~AccountRegisterLayer(); - - static AccountRegisterLayer* create(); - - TodoReturn createTextBackground(cocos2d::CCPoint, cocos2d::CCSize); - TodoReturn createTextInput(cocos2d::CCPoint, cocos2d::CCSize, gd::string, int); - TodoReturn createTextLabel(cocos2d::CCPoint, gd::string, cocos2d::CCSize); - TodoReturn disableNodes(); - TodoReturn hideLoadingUI(); - void onClose(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn resetLabel(int); - TodoReturn resetLabels(); - void showLoadingUI(); - TodoReturn toggleUI(bool); - TodoReturn updateLabel(AccountError); - TodoReturn validEmail(gd::string); - TodoReturn validPassword(gd::string); - TodoReturn validUser(gd::string); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual bool allowTextInput(CCTextInputNode*); - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class AchievementBar : cocos2d::CCNodeRGBA { - // virtual ~AchievementBar(); - - static AchievementBar* create(char const* title, char const* desc, char const* icon, bool quest); - - bool init(char const* title, char const* desc, char const* icon, bool quest); - void show(); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class AchievementCell : TableViewCell { - // virtual ~AchievementCell(); - AchievementCell(char const*, float, float); - - void loadFromDict(cocos2d::CCDictionary*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class AchievementManager : cocos2d::CCNode { - // virtual ~AchievementManager(); - - static AchievementManager* sharedState(); - - TodoReturn achievementForUnlock(int, UnlockType); - void addAchievement(gd::string, gd::string, gd::string, gd::string, gd::string, int); - void addManualAchievements(); - TodoReturn areAchievementsEarned(cocos2d::CCArray*); - TodoReturn checkAchFromUnlock(char const*); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn getAchievementRewardDict(); - TodoReturn getAchievementsWithID(char const*); - TodoReturn getAllAchievements(); - TodoReturn getAllAchievementsSorted(bool); - bool isAchievementAvailable(gd::string); - bool isAchievementEarned(char const*); - TodoReturn limitForAchievement(gd::string); - TodoReturn notifyAchievement(char const*, char const*, char const*); - TodoReturn notifyAchievementWithID(char const*); - TodoReturn percentageForCount(int, int); - TodoReturn percentForAchievement(char const*); - void reportAchievementWithID(char const*, int, bool); - void reportPlatformAchievementWithID(char const*, int); - void resetAchievement(char const*); - TodoReturn resetAchievements(); - TodoReturn setup(); - TodoReturn storeAchievementUnlocks(); - - virtual bool init(); -} - -[[link(android)]] -class AchievementNotifier : cocos2d::CCNode { - // virtual ~AchievementNotifier(); - - static AchievementNotifier* sharedState() = ios 0x21f3d8; - - TodoReturn achievementDisplayFinished(); - TodoReturn notifyAchievement(char const* title, char const* desc, char const* icon, bool quest); - void showNextAchievement(); - void willSwitchToScene(cocos2d::CCScene*) = ios 0x21f60c; - - virtual bool init(); -} - -[[link(android)]] -class AchievementsLayer : GJDropDownLayer { - // virtual ~AchievementsLayer(); - - static AchievementsLayer* create(); - - void loadPage(int); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - void setupPageInfo(int, int, int); - - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void customSetup(); -} - -[[link(android)]] -class AdToolbox { - TodoReturn cacheInterstitial(); - TodoReturn cacheRewardedVideo(); - TodoReturn disableBanner(); - TodoReturn enableBanner(); - TodoReturn enableBannerNoRefresh(); - TodoReturn hasCachedInterstitial(); - TodoReturn hasCachedRewardedVideo(); - bool isShowingAd(); - TodoReturn queueRefreshBanner(); - TodoReturn setupAds(); - void showDebug(); - void showInterstitial(); - void showRewardedVideo(); -} - -[[link(android)]] -class AdvancedFollowEditObject : AdvancedFollowTriggerObject { - // virtual ~AdvancedFollowEditObject(); - - static AdvancedFollowEditObject* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvancedFollowTriggerObject : EffectGameObject { - // virtual ~AdvancedFollowTriggerObject(); - // AdvancedFollowTriggerObject(); - - static AdvancedFollowTriggerObject* create(char const*); - - int getAdvancedFollowID(); - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AdvFollowSetup { - // ~AdvFollowSetup(); -} - -[[link(android)]] -class AnimatedGameObject : EnhancedGameObject, AnimatedSpriteDelegate, SpritePartDelegate { - // virtual ~AnimatedGameObject(); - - static AnimatedGameObject* create(int); - - TodoReturn animationForID(int, int); - TodoReturn getTweenTime(int, int); - bool init(int); - TodoReturn playAnimation(int); - TodoReturn setupAnimatedSize(int); - TodoReturn setupChildSprites(); - TodoReturn updateChildSpriteColor(cocos2d::ccColor3B); - TodoReturn updateObjectAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void resetObject(); - virtual void activateObject(); - virtual void deactivateObject(bool); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual void animationFinished(char const*); - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class AnimatedShopKeeper : CCAnimatedSprite { - // virtual ~AnimatedShopKeeper(); - - static AnimatedShopKeeper* create(ShopType); - - bool init(ShopType); - TodoReturn playReactAnimation(); - TodoReturn startAnimating(); - - virtual void animationFinished(char const*); -} - -[[link(android)]] -class AnimatedSpriteDelegate { - virtual void animationFinished(char const*); -} - -[[link(android)]] -class AppDelegate : cocos2d::CCApplication, cocos2d::CCSceneDelegate { - // virtual ~AppDelegate(); - inline static AppDelegate* get() { - return static_cast(cocos2d::CCApplication::sharedApplication()); - } - - TodoReturn bgScale(); - TodoReturn checkSound(); - TodoReturn hideLoadingCircle(); - TodoReturn loadingIsFinished(); - TodoReturn musicTest(); - void pauseGame(); - TodoReturn pauseSound(); - void platformShutdown(); - TodoReturn resumeSound(); - void setIdleTimerDisabled(bool); - void setupGLView(); - void showLoadingCircle(bool, bool, bool); - - virtual bool applicationDidFinishLaunching(); - virtual void applicationDidEnterBackground(); - virtual void applicationWillEnterForeground(); - virtual void applicationWillBecomeActive(); - virtual void applicationWillResignActive(); - virtual void trySaveGame(bool) = ios 0x30a988; - virtual void willSwitchToScene(cocos2d::CCScene*); - - PAD = win 0x4, android32 0xC, android64 0x18; - cocos2d::CCScene* m_runningScene; -} - -[[link(android)]] -class ArtistCell : TableViewCell { - // virtual ~ArtistCell(); - ArtistCell(char const*, float, float); - - void loadFromObject(SongInfoObject*); - void onNewgrounds(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ArtTriggerGameObject : EffectGameObject { - // virtual ~ArtTriggerGameObject(); - - static ArtTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class AudioEffectsLayer : cocos2d::CCLayerColor { - // virtual ~AudioEffectsLayer(); - - static AudioEffectsLayer* create(gd::string); - - TodoReturn audioStep(float); - TodoReturn getBGSquare(); - TodoReturn goingDown(); - bool init(gd::string); - TodoReturn resetAudioVars(); - TodoReturn triggerEffect(float); - - virtual void draw() {} - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class AudioLineGuideGameObject : EffectGameObject { - // virtual ~AudioLineGuideGameObject(); - - static AudioLineGuideGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class BitmapFontCache : cocos2d::CCObject { - // virtual ~BitmapFontCache(); - - static BitmapFontCache* sharedFontCache(); - - TodoReturn fontWithConfigFile(char const*, float); - bool init(); - TodoReturn purgeSharedFontCache(); -} - -[[link(android)]] -class BonusDropdown : cocos2d::CCNode { - // virtual ~BonusDropdown(); - - static BonusDropdown* create(gd::string, int); - - bool init(gd::string, int); - void show(); -} - -[[link(android)]] -class BoomListLayer : cocos2d::CCLayerColor { - // virtual ~BoomListLayer(); - - static BoomListLayer* create(BoomListView*, char const*); - - bool init(BoomListView*, char const*); -} - -[[link(android)]] -class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { - BoomListView() {} - ~BoomListView() { - CC_SAFE_RELEASE(m_entries); - } - - static BoomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float); - - TodoReturn addObjectToList(cocos2d::CCNode*); - bool init(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = ios 0x1d3a64; - TodoReturn lockList(bool); - - bool init(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return this->init(entries, nullptr, height, width, 0, type, 0.0f); - } - - virtual void draw() {} - virtual void setupList(float); - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*); - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} - virtual int numberOfRowsInSection(unsigned, TableView*); - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 1; } - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*); - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual TableViewCell* getListCell(char const*); - virtual void loadCell(TableViewCell*, int); - - TableView* m_tableView; - cocos2d::CCArray* m_entries; - BoomListType m_type; - float m_height; - float m_width; - float m_itemSeparation; - int m_currentPage; - bool m_locked; -} - -[[link(android)]] -class BoomScrollLayer : cocos2d::CCLayer { - // virtual ~BoomScrollLayer(); - - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - static BoomScrollLayer* create(cocos2d::CCArray*, int, bool); - - TodoReturn addPage(cocos2d::CCLayer*, int); - TodoReturn addPage(cocos2d::CCLayer*); - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn getPage(int); - int getRelativePageForNum(int); - TodoReturn getRelativePosForPage(int); - TodoReturn getTotalPages(); - bool init(cocos2d::CCArray*, int, bool, cocos2d::CCArray*, DynamicScrollDelegate*); - void instantMoveToPage(int); - void moveToPage(int); - void moveToPageEnded(); - int pageNumberForPosition(cocos2d::CCPoint); - TodoReturn positionForPageWithNumber(int); - TodoReturn quickUpdate(); - TodoReturn removePage(cocos2d::CCLayer*); - TodoReturn removePageWithNumber(int); - void repositionPagesLooped(); - void selectPage(int); - void setDotScale(float); - void setPagesIndicatorPosition(cocos2d::CCPoint); - void setupDynamicScrolling(cocos2d::CCArray*, DynamicScrollDelegate*); - void togglePageIndicators(bool); - void updateDots(float); - void updatePages(); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class BoomScrollLayerDelegate { - virtual void scrollLayerScrollingStarted(BoomScrollLayer*) {} - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int) {} - virtual void scrollLayerMoved(cocos2d::CCPoint) {} - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int) {} -} - -[[link(android)]] -class BrowseSmartKeyLayer : BrowseSmartTemplateLayer { - // virtual ~BrowseSmartKeyLayer(); - - static BrowseSmartKeyLayer* create(GJSmartTemplate*, gd::string); - - TodoReturn addChanceToSelected(int, bool); - TodoReturn createTemplateObjects(); - TodoReturn deletedSelectedItems(); - TodoReturn getAllSelectedBlocks(); - bool init(GJSmartTemplate*, gd::string); - void onButton(cocos2d::CCObject* sender); - void onPrefabObject(cocos2d::CCObject* sender); - TodoReturn updateChanceValues(); - - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class BrowseSmartTemplateLayer : FLAlertLayer { - // virtual ~BrowseSmartTemplateLayer(); - - static BrowseSmartTemplateLayer* create(GJSmartTemplate*, SmartBrowseFilter); - - TodoReturn addObjectToPage(cocos2d::CCObject*, int); - TodoReturn addPrefabMenuItem(SmartPrefabResult, int); - TodoReturn baseSetup(); - TodoReturn createDots(); - TodoReturn createPrefab(gd::string, int); - void goToPage(int); - bool init(GJSmartTemplate*, SmartBrowseFilter); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onTemplateObject(cocos2d::CCObject* sender); - TodoReturn updateDots(); - - virtual void keyBackClicked(); - virtual void onBack(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ButtonPage : cocos2d::CCLayer { - // virtual ~ButtonPage(); - - static ButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, float); -} - -[[link(android)]] -class ButtonSprite : cocos2d::CCSprite { - // virtual ~ButtonSprite(); - // ButtonSprite(); - - /// Create a ButtonSprite with a top sprite and a texture. - /// @param topSprite The top sprite to add on top of the sprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of top sprite - static ButtonSprite* create( - cocos2d::CCSprite* topSprite, - int width, - bool absolute, - float height, - const char* texture, - float scale - ) { - return create(topSprite, width, 0, height, scale, absolute, texture, true); - } - - /// Create a ButtonSprite with text, a font and a texture. - /// @param caption The text of the ButtonSprite - /// @param width Sprite width; ignored if `absolute` is false - /// @param absolute Whether to use absolute width or not - /// @param font The name of the BM font file to use - /// @param texture The name of the background sprite file (can't be in a spritesheet) - /// @param height The height of the button, leave 0 for automatic - /// @param scale Scale of text - /// @returns Pointer to the created ButtonSprite, or nullptr on error - static ButtonSprite* create(const char* caption, int width, bool absolute, const char* font, const char* texture, float height, float scale) { - return create(caption, width, 0, scale, absolute, font, texture, height); - } - - static ButtonSprite* create(char const* caption) { - return ButtonSprite::create(caption, 0, 0, "goldFont.fnt", "GJ_button_01.png", .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, 1.f); - } - static ButtonSprite* create(char const* caption, const char* font, const char* texture, float scale) { - return ButtonSprite::create(caption, 0, 0, font, texture, .0f, scale); - } - - static ButtonSprite* create(char const*, float); - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*, float) = ios 0x689b0; - static ButtonSprite* create(char const*, int, int, float, bool, char const*, char const*); - static ButtonSprite* create(char const*, int, int, float, bool); - static ButtonSprite* create(cocos2d::CCSprite* topSprite, int width, int unused, float height, float, bool, char const* bgSprite, bool noScaleSpriteForBG) = ios 0x6827c; - static ButtonSprite* create(cocos2d::CCSprite*, int, int, float, float, bool); - static ButtonSprite* create(cocos2d::CCSprite*) = ios 0x68970; - - bool init(char const*, int, int, float, bool, char const*, char const*, float); - bool init(cocos2d::CCSprite* topSprite, int width, int unused, float scale, float height, bool unkBool, char const* bgSprite, bool useNormalCCSpriteForBG); - void setColor(cocos2d::ccColor3B) = ios 0x691c8; - void setString(char const*); - void updateBGImage(char const*) = ios 0x69090; - void updateSpriteBGSize() = ios 0x6859c; - TodoReturn updateSpriteOffset(cocos2d::CCPoint); - - PAD = mac 0x18, win 0x18, android32 0x18, android64 0x18; - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_subSprite; - cocos2d::CCSprite* m_subBGSprite; - cocos2d::extension::CCScale9Sprite* m_BGSprite; - PAD = mac 0xC, win 0x8, android32 0x8, android64 0xc; - cocos2d::CCPoint m_spritePosition; -} - -[[link(android)]] -class CameraTriggerGameObject : EffectGameObject { - // virtual ~CameraTriggerGameObject(); - - static CameraTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CCAlertCircle : cocos2d::CCNode { - // virtual ~CCAlertCircle(); - - static CCAlertCircle* create(); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class CCAnimatedSprite : cocos2d::CCSprite { - // virtual ~CCAnimatedSprite(); - - TodoReturn cleanupSprite(); - TodoReturn createWithType(char const*, cocos2d::CCTexture2D*, bool); - bool initWithType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn loadType(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn runAnimation(gd::string); - TodoReturn runAnimationForced(gd::string); - TodoReturn stopTween(); - TodoReturn switchToMode(spriteMode); - void tweenToAnimation(gd::string, float); - void tweenToAnimationFinished(); - TodoReturn willPlayAnimation(); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void animationFinished(char const*); - virtual void animationFinishedO(cocos2d::CCObject*); -} - -[[link(android)]] -class CCAnimateFrameCache : cocos2d::CCObject { - // virtual ~CCAnimateFrameCache(); - - static CCAnimateFrameCache* sharedSpriteFrameCache(); - - TodoReturn addCustomSpriteFramesWithFile(char const*); - TodoReturn addDict(cocos2d::CCDictionary*, char const*); - TodoReturn addDict(DS_Dictionary*, char const*); - TodoReturn addSpriteFramesWithFile(char const*); - bool init(); - TodoReturn purgeSharedSpriteFrameCache(); - TodoReturn removeSpriteFrames(); - TodoReturn spriteFrameByName(char const*); -} - -[[link(android)]] -class CCBlockLayer : cocos2d::CCLayerColor { - // virtual ~CCBlockLayer(); - - static CCBlockLayer* create(); - - TodoReturn decrementForcePrio(); - TodoReturn incrementForcePrio(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void customSetup() {} - virtual void enterLayer(); - virtual TodoReturn exitLayer(); - virtual void showLayer(bool); - virtual void hideLayer(bool); - virtual void layerVisible(); - virtual void layerHidden(); - virtual void enterAnimFinished() {} - virtual void disableUI() {} - virtual void enableUI() {} - - void* m_unknown; -} - -[[link(android)]] -class CCCircleAlert : CCCircleWave { - // virtual ~CCCircleAlert(); - - static CCCircleAlert* create(float, float, float); - - bool init(float, float, float); -} - -[[link(android)]] -class CCCircleWave : cocos2d::CCNode { - // virtual ~CCCircleWave(); - // CCCircleWave(); - - static CCCircleWave* create(float startRadius, float endRadius, float duration, bool fadeIn, bool easeOut); - static CCCircleWave* create(float, float, float, bool); - - TodoReturn baseSetup(float); - TodoReturn followObject(cocos2d::CCNode*, bool); - bool init(float startRadius, float endRadius, float duration, bool fadeIn, bool easeOut); // easeOut is only used in fadeOut - TodoReturn updatePosition(float); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void removeMeAndCleanup(); - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCCircleWaveDelegate { - virtual void circleWaveWillBeRemoved(CCCircleWave*) {} -} - -[[link(android)]] -class CCContentLayer : cocos2d::CCLayerColor { - inline CCContentLayer() {} - ~CCContentLayer(); - - static CCContentLayer* create(cocos2d::ccColor4B const&, float, float); - - virtual void setPosition(cocos2d::CCPoint const&) = ios 0x195b18; -} - -[[link(android)]] -class CCCountdown : cocos2d::CCSprite { - // virtual ~CCCountdown(); - - static CCCountdown* create(); - - TodoReturn lapFinished(); - TodoReturn startTimerWithSeconds(float, cocos2d::SEL_CallFunc, cocos2d::CCNode*); - - virtual bool init(); - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCCounterLabel : cocos2d::CCLabelBMFont { - // virtual ~CCCounterLabel(); - - static CCCounterLabel* create(int, char const*, FormatterType); - - TodoReturn calculateStepSize(int); - TodoReturn disableCounter(); - TodoReturn enableCounter(); - TodoReturn fastUpdateCounter(); - TodoReturn getTargetCount(); - bool init(int, char const*, FormatterType); - void setTargetCount(int); - TodoReturn updateCounter(float); - TodoReturn updateString(); -} - -[[link(android)]] -class CCExtenderNode { - void setOpacity(unsigned int); -} - -[[link(android)]] -class CCIndexPath : cocos2d::CCObject { - CCIndexPath() {} - // virtual ~CCIndexPath(); - - TodoReturn CCIndexPathWithSectionRow(int, int); -} - -[[link(android)]] -class CCLightFlash : cocos2d::CCNode { - // virtual ~CCLightFlash(); - - static CCLightFlash* create(); - - TodoReturn cleanupFlash(); - void fadeAndRemove(); - TodoReturn playEffect(cocos2d::CCPoint, cocos2d::ccColor3B, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, bool, bool, float); - TodoReturn removeLights(); - void showFlash(); - - virtual bool init(); -} - -[[link(android)]] -class CCLightStrip : cocos2d::CCNode { - // virtual ~CCLightStrip(); - - static CCLightStrip* create(float, float, float, float, float); - - bool init(float, float, float, float, float); - - virtual void draw(); - virtual void updateTweenAction(float, char const*); -} - -[[link(android)]] -class CCMenuItemSpriteExtra : cocos2d::CCMenuItemSprite { - ~CCMenuItemSpriteExtra() {} - CCMenuItemSpriteExtra() { - m_scaleMultiplier = 1.0f; - m_baseScale = 1.0f; - m_animationEnabled = true; - m_colorEnabled = false; - m_unknown1 = 0.0f; - m_colorDip = 0.0f; - m_animationType = MenuAnimationType::Scale; - m_unknown4 = 0; - } - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = ios 0x21c4fc; - - static CCMenuItemSpriteExtra* create(cocos2d::CCNode* sprite, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback) { - return CCMenuItemSpriteExtra::create(sprite, nullptr, target, callback); - } - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - inline void setSizeMult(float mult) { - //inlined on windows, member is in CCMenuItemSprite - m_fSizeMult = mult; - } - TodoReturn useAnimationType(MenuAnimationType); - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - - float m_scaleMultiplier; - float m_baseScale; - bool m_animationEnabled; - bool m_colorEnabled; - float m_unknown1; - gd::string m_unknown2; - gd::string m_unknown3; - float m_colorDip; - cocos2d::CCPoint m_destPosition; - cocos2d::CCPoint m_offset; - MenuAnimationType m_animationType; - cocos2d::CCPoint m_startPosition; - int m_unknown4; -} - -[[link(android)]] -class CCMenuItemToggler : cocos2d::CCMenuItem { - CCMenuItemToggler() {} - // virtual ~CCMenuItemToggler(); - - static CCMenuItemToggler* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = ios 0x197eb8; - static CCMenuItemToggler* createWithSize(const char* spr1, const char* spr2, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName(spr1); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName(spr2); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - static CCMenuItemToggler* createWithStandardSprites(cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback, float scale) { - auto sprOff = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); - auto sprOn = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); - - sprOff->setScale(scale); - sprOn->setScale(scale); - - return create(sprOff, sprOn, target, callback); - } - - TodoReturn activeItem(); - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = ios 0x197f88; - TodoReturn normalTouch(cocos2d::CCObject*); - TodoReturn selectedTouch(cocos2d::CCObject*); - void setSizeMult(float) = ios 0x198238; - void toggle(bool) = ios 0x198160; - - bool isToggled() { - return m_toggled; - } - bool isOn() { - return m_toggled; - } - void setClickable(bool on) { - m_notClickable = !on; - } - void toggleWithCallback(bool on) { - this->activate(); - this->toggle(on); - } - - virtual void activate(); - virtual void selected(); - virtual void unselected(); - virtual void setEnabled(bool) = ios 0x198358; - - CCMenuItemSpriteExtra* m_offButton; - CCMenuItemSpriteExtra* m_onButton; - bool m_toggled; - bool m_notClickable; -} - -[[link(android)]] -class CCMoveCNode : cocos2d::CCObject { - // virtual ~CCMoveCNode(); - - static CCMoveCNode* create(); - - bool init(); - TodoReturn reset(); -} - -[[link(android)]] -class CCNodeContainer : cocos2d::CCNode { - // virtual ~CCNodeContainer(); - - static CCNodeContainer* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class CCPartAnimSprite : cocos2d::CCSprite { - // virtual ~CCPartAnimSprite(); - - TodoReturn changeTextureOfID(char const*, char const*); - TodoReturn countParts(); - TodoReturn createWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - TodoReturn dirtify(); - TodoReturn getSpriteForKey(char const*); - TodoReturn initWithAnimDesc(char const*, cocos2d::CCTexture2D*, bool); - void setColor(cocos2d::ccColor3B); - void setFlipX(bool); - void setFlipY(bool); - TodoReturn transformSprite(SpriteDescription*); - TodoReturn tweenSpriteTo(SpriteDescription*, float); - TodoReturn tweenToFrame(cocos2d::CCSpriteFrame*, float); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setOpacity(unsigned char); - virtual void setBlendFunc(cocos2d::_ccBlendFunc); - virtual void setDisplayFrame(cocos2d::CCSpriteFrame*); - virtual bool isFrameDisplayed(cocos2d::CCSpriteFrame*); - virtual cocos2d::CCSpriteFrame* displayFrame(); -} - -[[link(android)]] -class CCScrollLayerExt : cocos2d::CCLayer { - // virtual ~CCScrollLayerExt(); - CCScrollLayerExt(cocos2d::CCRect) = ios 0x307634; - - TodoReturn constraintContent(); - TodoReturn doConstraintContent(bool); - TodoReturn getMaxY(); - TodoReturn getMinY(); - void moveToTop() = ios 0x307c78; - void moveToTopWithOffset(float) = ios 0x307bd0; - TodoReturn scrollingEnd(); - void scrollLayer(float) = ios 0x308548; - void setContentLayerSize(cocos2d::CCSize); - void setContentOffset(cocos2d::CCPoint, bool); - TodoReturn updateIndicators(float); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = ios 0x30804c; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - virtual TodoReturn postVisit(); - - cocos2d::CCTouch* m_touch; - cocos2d::CCPoint m_touchPosition; - cocos2d::CCPoint m_touchStartPosition; - cocos2d::cc_timeval m_timeValue; - bool m_touchDown; - bool m_notAtEndOfScroll; - cocos2d::CCLayerColor* m_verticalScrollbar; - cocos2d::CCLayerColor* m_horizontalScrollbar; - CCScrollLayerExtDelegate* m_delegate; - CCContentLayer* m_contentLayer; - bool m_cutContent; - bool m_vScrollbarVisible; - bool m_hScrollbarVisible; - bool m_disableHorizontal; - bool m_disableVertical; - bool m_disableMovement; - float m_scrollLimitTop; - float m_scrollLimitBottom; - float m_peekLimitTop; - float m_peekLimitBottom; -} - -[[link(android)]] -class CCScrollLayerExtDelegate { - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - virtual void scrollViewTouchBegin(CCScrollLayerExt*) {} - virtual void scrollViewTouchEnd(CCScrollLayerExt*) {} -} - -[[link(android)]] -class CCSpriteCOpacity : cocos2d::CCSprite { - // virtual ~CCSpriteCOpacity(); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class CCSpriteGrayscale : CCSpriteWithHue { - // virtual ~CCSpriteGrayscale(); - - static CCSpriteGrayscale* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteGrayscale* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - static CCSpriteGrayscale* createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); -} - -[[link(android)]] -class CCSpritePart : CCSpritePlus { - // virtual ~CCSpritePart(); - - static CCSpritePart* create(cocos2d::CCTexture2D*); - - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn frameChanged(gd::string); - TodoReturn getBeingUsed(); - TodoReturn hideInactive(); - TodoReturn markAsNotBeingUsed(); - TodoReturn resetTextureRect(); - void setBeingUsed(bool); - TodoReturn updateDisplayFrame(gd::string); - - virtual void setVisible(bool); -} - -[[link(android)]] -class CCSpritePlus : cocos2d::CCSprite { - // virtual ~CCSpritePlus(); - - TodoReturn addFollower(cocos2d::CCNode*); - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(char const*); - TodoReturn followSprite(CCSpritePlus*); - TodoReturn getFollower(); - TodoReturn removeFollower(cocos2d::CCNode*); - TodoReturn stopFollow(); - - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithSpriteFrameName(char const*); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - - cocos2d::CCArray* m_followers; - CCSpritePlus* m_followingSprite; - bool m_hasFollower; - bool m_propagateScaleChanges; - bool m_propagateFlipChanges; -} - -[[link(android)]] -class CCSpriteWithHue : cocos2d::CCSprite { - // virtual ~CCSpriteWithHue(); - // CCSpriteWithHue(); - - static CCSpriteWithHue* create(gd::string const&, cocos2d::CCRect const&); - static CCSpriteWithHue* create(gd::string const&); - - TodoReturn createWithSpriteFrame(cocos2d::CCSpriteFrame*); - TodoReturn createWithSpriteFrameName(gd::string const&); - TodoReturn createWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - TodoReturn createWithTexture(cocos2d::CCTexture2D*); - TodoReturn getAlpha(); - TodoReturn getHue(); - TodoReturn getUniformLocations(); - TodoReturn initShader(); - void setCustomLuminance(float, float, float); - void setEvenLuminance(float); - void setHue(float); - void setHueDegrees(float); - void setLuminance(float); - TodoReturn setupDefaultSettings(); - TodoReturn updateColorMatrix(); - TodoReturn updateHue(float); - - virtual void draw(); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&); - virtual bool initWithTexture(cocos2d::CCTexture2D*, cocos2d::CCRect const&, bool); - virtual bool initWithSpriteFrame(cocos2d::CCSpriteFrame*); - virtual TodoReturn getShaderName(); - virtual TodoReturn shaderBody(); - virtual void updateColor(); -} - -[[link(android)]] -class CCTextInputNode : cocos2d::CCLayer, cocos2d::CCIMEDelegate, cocos2d::CCTextFieldDelegate { - // virtual ~CCTextInputNode(); - CCTextInputNode() { - m_numberInput = false; - m_caption = ""; - m_unknown1 = 0; - m_selected = false; - m_unknown2 = false; - m_fontValue1 = -0.5f; - m_fontValue2 = 8.0f; - m_isChatFont = false; - m_allowedChars = ""; - m_maxLabelWidth = 0.0f; - m_maxLabelScale = 0.0f; - m_placeholderScale = 0.0f; - m_placeholderColor = cocos2d::ccc3(0, 0, 0); - m_textColor = cocos2d::ccc3(0, 0, 0); - m_cursor = nullptr; - m_textField = nullptr; - m_delegate = nullptr; - m_maxLabelLength = 0; - m_placeholderLabel = nullptr; - m_filterSwearWords = false; - m_usePasswordChar = false; - m_forceOffset = false; - m_textArea = nullptr; - } - - static CCTextInputNode* create(float, float, char const*, char const*, int, char const*) = ios 0x1737d4; - - static CCTextInputNode* create(float width, float height, char const* placeholder, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, 0x18, fontPath); - } - static CCTextInputNode* create(float width, float height, char const* placeholder, int fontSize, char const* fontPath) { - return CCTextInputNode::create(width, height, placeholder, "Thonburi", fontSize, fontPath); - } - - void setDelegate(TextInputDelegate* delegate) { - m_delegate = delegate; - } - void setMaxLabelScale(float v) { - m_maxLabelScale = v; - this->refreshLabel(); - } - void setMaxLabelWidth(float v) { - m_maxLabelWidth = v; - this->refreshLabel(); - } - void setMaxLabelLength(int v) { - m_maxLabelLength = v; - this->refreshLabel(); - } - void setLabelPlaceholderScale(float v) { - m_placeholderScale = v; - this->refreshLabel(); - } - void setLabelPlaceholderColor(cocos2d::ccColor3B color) { - m_placeholderColor = color; - this->refreshLabel(); - } - void setAllowedChars(gd::string filter) { - m_allowedChars = filter; - } - cocos2d::CCLabelBMFont* getPlaceholderLabel() { - return m_placeholderLabel; - } - - void addTextArea(TextArea* tArea); - void forceOffset(); - gd::string getString() { - return m_textField->getString(); - } - bool init(float, float, char const*, char const*, int, char const*); - void refreshLabel() = ios 0x173ff0; - void setLabelNormalColor(cocos2d::ccColor3B); - void setString(gd::string) = ios 0x173f1c; - void updateBlinkLabel(); - void updateBlinkLabelToChar(int); - void updateCursorPosition(cocos2d::CCPoint, cocos2d::CCRect) = ios 0x17532c; - void updateDefaultFontValues(gd::string); - void updateLabel(gd::string label); - - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = ios 0x175770; - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void textChanged(); - virtual void onClickTrackNode(bool) = ios 0x174734; - virtual void keyboardWillShow(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual void keyboardWillHide(cocos2d::CCIMEKeyboardNotificationInfo&); - virtual bool onTextFieldInsertText(cocos2d::CCTextFieldTTF*, char const*, int, cocos2d::enumKeyCodes); - virtual bool onTextFieldAttachWithIME(cocos2d::CCTextFieldTTF* pSender); - virtual bool onTextFieldDetachWithIME(cocos2d::CCTextFieldTTF* pSender); - - bool m_numberInput; - gd::string m_caption; - int m_unknown1; - bool m_selected; - bool m_unknown2; - float m_fontValue1; - float m_fontValue2; - bool m_isChatFont; - gd::string m_allowedChars; - float m_maxLabelWidth; - float m_maxLabelScale; - float m_placeholderScale; - cocos2d::ccColor3B m_placeholderColor; - cocos2d::ccColor3B m_textColor; - cocos2d::CCLabelBMFont* m_cursor; - cocos2d::CCTextFieldTTF* m_textField; - TextInputDelegate* m_delegate; - int m_maxLabelLength; - cocos2d::CCLabelBMFont* m_placeholderLabel; - bool m_filterSwearWords; - bool m_usePasswordChar; - bool m_forceOffset; - TextArea* m_textArea; - PAD = android32 0xc, android64 0x10; -} - -[[link(android)]] -class CCURLObject : cocos2d::CCObject { - // virtual ~CCURLObject(); - - static CCURLObject* create(gd::string, gd::string); - - bool init(gd::string, gd::string); -} - -[[link(android), depends(ChallengesPage), depends(GJChallengeItem)]] -class ChallengeNode : cocos2d::CCNode { - // virtual ~ChallengeNode(); - - static ChallengeNode* create(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew); - - bool init(GJChallengeItem* challengeItem, ChallengesPage* challengesPage, bool isNew); - void onClaimReward(cocos2d::CCObject* sender); - void updateTimeLabel(gd::string); - - ChallengesPage* m_challengesPage; - GJChallengeItem* m_challengeItem; - cocos2d::CCPoint m_unkPoint; - cocos2d::CCLabelBMFont* m_countdownLabel; - bool m_unloaded; -} - -[[link(android)]] -class ChallengesPage : FLAlertLayer, FLAlertLayerProtocol, GJChallengeDelegate, CurrencyRewardDelegate { - // virtual ~ChallengesPage(); - - static ChallengesPage* create(); - - TodoReturn claimItem(ChallengeNode*, GJChallengeItem*, cocos2d::CCPoint); - ChallengeNode* createChallengeNode(int number, bool skipAnimation, float animLength, bool isNew); - TodoReturn exitNodeAtSlot(int, float); - void onClose(cocos2d::CCObject* sender); - TodoReturn tryGetChallenges(); - TodoReturn updateDots(); - callback void updateTimers(float); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); - virtual void currencyWillExit(CurrencyRewardLayer*); - - cocos2d::CCArray* m_dots; - cocos2d::CCLabelBMFont* m_countdownLabel; - LoadingCircle* m_circle; - bool m_triedToLoad; - bool m_unkBool; - CurrencyRewardLayer* m_currencyRewardLayer; - cocos2d::CCDictionary* m_challengeNodes; -} - -[[link(android)]] -class ChanceTriggerGameObject : EffectGameObject { - // virtual ~ChanceTriggerGameObject(); - - TodoReturn editChanceObject(int, int); - bool init(char const*); - TodoReturn remapChanceObjects(gd::unordered_map const*); - TodoReturn revertChanceRemap(); -} - -[[link(android)]] -class CharacterColorDelegate { - virtual void playerColorChanged(); - virtual void showUnlockPopup(int, UnlockType); -} - -[[link(android)]] -class CharacterColorPage : FLAlertLayer { - // virtual ~CharacterColorPage(); - - static CharacterColorPage* create(); - - int activeColorForMode(int mode); - TodoReturn checkColor(int, UnlockType); - int colorForIndex(int); - void createColorMenu(); - void FLAlert_Clicked(FLAlertLayer*, bool); - cocos2d::CCPoint offsetForIndex(int); - void onClose(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onPlayerColor(cocos2d::CCObject* sender); - void toggleGlow(cocos2d::CCObject*); - void toggleGlowItems(bool); - void toggleShip(cocos2d::CCObject*); - void updateColorMode(int); - void updateIconColors(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - - int m_colorMode; - float m_height; - float m_width; - cocos2d::CCArray* m_playerObjects; - cocos2d::CCArray* m_modeButtons; - cocos2d::CCDictionary* m_colorButtons; - cocos2d::CCArray* m_cursors; - GJGarageLayer* m_garageLayer; - CCMenuItemToggler* m_glowToggler; - cocos2d::CCLabelBMFont* m_glowLabel; -} - -[[link(android)]] -class CheckpointGameObject : EffectGameObject { - // virtual ~CheckpointGameObject(); - - static CheckpointGameObject* create(); - - TodoReturn resetCheckpoint(); - TodoReturn updateCheckpointSpriteVisibility(); - - virtual bool init(); - virtual void setupCustomSprites(gd::string); - virtual void resetObject(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class CheckpointObject : cocos2d::CCNode { - // virtual ~CheckpointObject(); - - static CheckpointObject* create(); - - TodoReturn getObject(); - void setObject(GameObject*); - - virtual bool init(); -} - -[[link(android)]] -class CollisionBlockPopup : FLAlertLayer, TextInputDelegate { - // virtual ~CollisionBlockPopup(); - - static CollisionBlockPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onDynamicBlock(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onNextItemID(cocos2d::CCObject* sender); - TodoReturn updateEditorLabel(); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class ColorAction : cocos2d::CCObject { - // virtual ~ColorAction(); - - static ColorAction* create(); - static ColorAction* create(cocos2d::ccColor3B, bool, int); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - static ColorAction* create(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool); - - TodoReturn getCopy(); - bool init(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - bool isInUse(); - void loadFromState(CAState&); - TodoReturn resetAction(); - void saveToState(CAState&); - TodoReturn setupFromMap(gd::map&); - void setupFromString(gd::string); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); - // TodoReturn writeSaveString(fmt::BasicWriter&); - - bool m_stepFinished; - // property 19 - bool m_property19; - cocos2d::ccColor3B m_color; - float m_currentOpacity; - float m_deltaTime; - cocos2d::ccColor3B m_fromColor; - cocos2d::ccColor3B m_toColor; - float m_duration; - bool m_blending; - int m_playerColor; - int m_colorID; - float m_fromOpacity; - float m_toOpacity; - cocos2d::ccHSVValue m_copyHSV; - int m_copyID; - bool m_unknown; - bool m_copyOpacity; - ColorActionSprite* m_colorSprite; - // more stuff -} - -[[link(android)]] -class ColorAction2 { - ColorAction2(cocos2d::ccColor3B, cocos2d::ccColor3B, float, double, bool, int, float, float); - - TodoReturn resetAction(); - TodoReturn step(float); - TodoReturn updateCustomColor(cocos2d::ccColor3B, cocos2d::ccColor3B); -} - -[[link(android)]] -class ColorActionSprite : cocos2d::CCNode { - // virtual ~ColorActionSprite(); - - static ColorActionSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ColorChannelSprite : cocos2d::CCSprite { - // virtual ~ColorChannelSprite(); - - static ColorChannelSprite* create() = ios 0x1008c; - - TodoReturn updateBlending(bool); - TodoReturn updateCopyLabel(int, bool); - void updateOpacity(float) = ios 0x102d4; - TodoReturn updateValues(ColorAction*); - - virtual bool init(); -} - -[[link(android)]] -class ColorSelectDelegate { - virtual void colorSelectClosed(cocos2d::CCNode*) {} -} - -[[link(android)]] -class ColorSelectLiveOverlay : FLAlertLayer { - // virtual ~ColorSelectLiveOverlay(); - - static ColorSelectLiveOverlay* create(ColorAction*, ColorAction*, EffectGameObject*); - - void closeColorSelect(cocos2d::CCObject*); - void colorValueChanged(cocos2d::ccColor3B); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn createWithActions(ColorAction*, ColorAction*); - TodoReturn createWithObject(EffectGameObject*); - TodoReturn determineStartValues(); - TodoReturn getColorValue(); - bool init(ColorAction*, ColorAction*, EffectGameObject*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn textChanged(CCTextInputNode*); - void textInputClosed(CCTextInputNode*); - TodoReturn toggleControls(bool); - TodoReturn updateColorLabel(); - TodoReturn updateColorValue(); - void updateOpacity(); - - virtual void keyBackClicked(); - virtual void show(); - - EffectGameObject* m_effectGameObject; - cocos2d::CCArray* m_barSprites; - cocos2d::CCArray* m_12buttons; - ColorAction* m_baseColorAction; - ColorAction* m_detailColorAction; -} - -[[link(android)]] -class ColorSelectPopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~ColorSelectPopup(); - - static ColorSelectPopup* create(cocos2d::ccColor3B); - static ColorSelectPopup* create(ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - static ColorSelectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - void closeColorSelect(cocos2d::CCObject*); - TodoReturn colorToHex(cocos2d::ccColor3B); - TodoReturn getColorValue(); - TodoReturn hexToColor(gd::string); - bool init(EffectGameObject*, cocos2d::CCArray*, ColorAction*); - void onCopy(cocos2d::CCObject* sender); - void onCopyOpacity(cocos2d::CCObject* sender); - void onDefault(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPlayerColor1(cocos2d::CCObject* sender); - void onPlayerColor2(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onTintGround(cocos2d::CCObject* sender); - void onToggleHSVMode(cocos2d::CCObject* sender); - void onToggleTintMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateCustomColorIdx(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(); - TodoReturn updateHSVMode(); - TodoReturn updateHSVValue(); - void updateOpacity(); - void updateOpacityLabel(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void textChanged(CCTextInputNode*); - virtual void colorValueChanged(cocos2d::ccColor3B); - virtual void colorSelectClosed(GJSpecialColorSelect*, int); - - PAD = android32 0x40, win 0x40; - ColorAction* m_colorAction; -} - -[[link(android)]] -class ColorSetupDelegate { - virtual void colorSetupClosed(int); -} - -[[link(android)]] -class CommentCell : TableViewCell, LikeItemDelegate, FLAlertLayerProtocol { - // virtual ~CommentCell(); - CommentCell(char const*, float, float); - - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - void loadFromComment(GJComment*); - void onConfirmDelete(cocos2d::CCObject* sender); - TodoReturn onDelete(); - void onGoToLevel(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - TodoReturn onUndelete(); - void onUnhide(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - void updateLabelValues(); - - virtual bool init(); - virtual void draw(); - virtual void likedItem(LikeItemType, int, bool); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCLabelBMFont* m_likeLabel; - GJComment* m_comment; - bool m_accountComment; -} - -[[link(android)]] -class CommentUploadDelegate { - virtual void commentUploadFinished(int); - virtual void commentUploadFailed(int, CommentError); - virtual void commentDeleteFailed(int, int) {} -} - -[[link(android)]] -class CommunityCreditNode : cocos2d::CCNode { - // virtual ~CommunityCreditNode(); - - static CommunityCreditNode* create(int, int, int, gd::string); - - bool init(int, int, int, gd::string); -} - -[[link(android)]] -class CommunityCreditsPage : FLAlertLayer { - // virtual ~CommunityCreditsPage(); - - static CommunityCreditsPage* create(); - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ConfigureHSVWidget : cocos2d::CCNode, TextInputDelegate { - // virtual ~ConfigureHSVWidget(); - - static ConfigureHSVWidget* create(cocos2d::ccHSVValue, bool, bool); - - TodoReturn createTextInputNode(cocos2d::CCPoint, int); - TodoReturn getHSV(GameObject*, cocos2d::CCArray*, int); - bool init(cocos2d::ccHSVValue, bool, bool); - TodoReturn onClose(); - void onResetHSV(cocos2d::CCObject* sender); - void onToggleSConst(cocos2d::CCObject* sender); - void onToggleVConst(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabels(); - TodoReturn updateSliders(); - - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopup : FLAlertLayer, TextInputDelegate { - // virtual ~ConfigureValuePopup(); - - static ConfigureValuePopup* create(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - - bool init(ConfigureValuePopupDelegate*, float, float, float, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class ConfigureValuePopupDelegate { - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class CountTriggerAction { - // CountTriggerAction(CountTriggerAction&&); -} - -[[link(android)]] -class CountTriggerGameObject : EffectGameObject { - // virtual ~CountTriggerGameObject(); - - static CountTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class CreateGuidelinesLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~CreateGuidelinesLayer(); - - static CreateGuidelinesLayer* create(CustomSongDelegate*, AudioGuidelinesType); - - TodoReturn doClearGuidelines(); - TodoReturn getMergedRecordString(gd::string, gd::string); - bool init(CustomSongDelegate*, AudioGuidelinesType); - void onClearGuidelines(cocos2d::CCObject* sender); - void onStop(cocos2d::CCObject* sender); - TodoReturn toggleItems(bool); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual void keyUp(cocos2d::enumKeyCodes) {} - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender); - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class CreateMenuItem : CCMenuItemSpriteExtra { - // virtual ~CreateMenuItem(); - - static CreateMenuItem* create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); - - bool init(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler); -} - -[[link(android)]] -class CreateParticlePopup : FLAlertLayer, TextInputDelegate, ColorSelectDelegate, SliderDelegate { - // virtual ~CreateParticlePopup(); - - static CreateParticlePopup* create(gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*, gd::string); - static CreateParticlePopup* create(ParticleGameObject*, cocos2d::CCArray*); - - TodoReturn centerAlignParticle(cocos2d::CCObject*); - TodoReturn createParticleSlider(gjParticleValue, int, bool, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn getPage(int); - TodoReturn getPageButton(int); - TodoReturn getPageContainer(int); - TodoReturn getPageInputNodes(int); - TodoReturn getPageMenu(int); - TodoReturn getPageSliders(int); - bool init(ParticleGameObject*, cocos2d::CCArray*, gd::string); - TodoReturn maxSliderValueForType(gjParticleValue); - TodoReturn minSliderValueForType(gjParticleValue); - void onAnimateActiveOnly(cocos2d::CCObject* sender); - void onAnimateOnTrigger(cocos2d::CCObject* sender); - void onCalcEmission(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopySettings(cocos2d::CCObject* sender); - void onDuplicateColor(cocos2d::CCObject* sender); - void onDurationForever(cocos2d::CCObject* sender); - void onDynamicColor(cocos2d::CCObject* sender); - void onDynamicRotation(cocos2d::CCObject* sender); - void onEmitterMode(cocos2d::CCObject* sender); - void onEndRGBVarSync(cocos2d::CCObject* sender); - void onMaxEmission(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOrderSensitive(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPasteSettings(cocos2d::CCObject* sender); - void onPosType(cocos2d::CCObject* sender); - void onQuickStart(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectParticleTexture(cocos2d::CCObject* sender); - void onStartRGBVarSync(cocos2d::CCObject* sender); - void onToggleBlending(cocos2d::CCObject* sender); - void onToggleStartRadiusEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartRotationIsDir(cocos2d::CCObject* sender); - void onToggleStartSizeEqualToEnd(cocos2d::CCObject* sender); - void onToggleStartSpinEqualToEnd(cocos2d::CCObject* sender); - void onUniformColor(cocos2d::CCObject* sender); - TodoReturn particleValueIsInt(gjParticleValue); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn titleForParticleValue(gjParticleValue); - TodoReturn toggleGravityMode(bool); - TodoReturn updateColorSprite(int); - TodoReturn updateInputNodeStringForType(gjParticleValue); - TodoReturn updateParticleValueForType(float, gjParticleValue, cocos2d::CCParticleSystemQuad*); - TodoReturn updateSliderForType(gjParticleValue); - TodoReturn valueForParticleValue(gjParticleValue); - void willClose(); - - virtual void update(float); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual void colorSelectClosed(cocos2d::CCNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate { - // virtual ~CreatorLayer(); - - static CreatorLayer* create(); - - TodoReturn canPlayOnlineLevels(); - TodoReturn checkQuestsStatus(); - void onAdventureMap(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onChallenge(cocos2d::CCObject* sender); - void onDailyLevel(cocos2d::CCObject* sender); - void onEventLevel(cocos2d::CCObject* sender); - void onFameLevels(cocos2d::CCObject* sender); - void onFeaturedLevels(cocos2d::CCObject* sender); - void onGauntlets(cocos2d::CCObject* sender); - void onLeaderboards(cocos2d::CCObject* sender); - void onMapPacks(cocos2d::CCObject* sender); - void onMultiplayer(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender); - void onOnlineLevels(cocos2d::CCObject* sender); - void onOnlyFullVersion(cocos2d::CCObject* sender); - void onPaths(cocos2d::CCObject* sender); - void onSavedLevels(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender); - void onTopLists(cocos2d::CCObject* sender); - void onTreasureRoom(cocos2d::CCObject* sender); - void onWeeklyLevel(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void sceneWillResume(); - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class CurrencyRewardDelegate { - virtual void currencyWillExit(CurrencyRewardLayer*) {} -} - -[[link(android)]] -class CurrencyRewardLayer : cocos2d::CCLayer { - // virtual ~CurrencyRewardLayer(); - - static CurrencyRewardLayer* create(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float); - - TodoReturn createObjects(CurrencySpriteType, int, cocos2d::CCPoint, float); - TodoReturn createObjectsFull(CurrencySpriteType, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn createUnlockObject(cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn incrementCount(int); - TodoReturn incrementDiamondsCount(int); - TodoReturn incrementMoonsCount(int); - TodoReturn incrementSpecialCount1(int); - TodoReturn incrementSpecialCount2(int); - TodoReturn incrementStarsCount(int); - bool init(int, int, int, int, CurrencySpriteType, int, CurrencySpriteType, int, cocos2d::CCPoint, CurrencyRewardType, float, float); - TodoReturn pulseSprite(cocos2d::CCSprite*); - - virtual void update(float); -} - -[[link(android)]] -class CurrencySprite : CCSpritePlus { - // virtual ~CurrencySprite(); - // CurrencySprite(); - - static CurrencySprite* create(CurrencySpriteType, bool); - - TodoReturn createWithSprite(cocos2d::CCSprite*); - bool init(CurrencySpriteType, bool); - TodoReturn initWithSprite(cocos2d::CCSprite*); - TodoReturn rewardToSpriteType(int); - TodoReturn spriteTypeToStat(CurrencySpriteType); -} - -[[link(android)]] -class CustomizeObjectLayer : FLAlertLayer, TextInputDelegate, HSVWidgetDelegate, ColorSelectDelegate, ColorSetupDelegate { - // virtual ~CustomizeObjectLayer(); - - static CustomizeObjectLayer* create(GameObject*, cocos2d::CCArray*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn determineStartValues(); - int getActiveMode(bool); - TodoReturn getButtonByTag(int); - TodoReturn getHSV(); - void highlightSelected(ButtonSprite*); - bool init(GameObject*, cocos2d::CCArray*); - void onBreakApart(cocos2d::CCObject* sender); - void onBrowse(cocos2d::CCObject* sender); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onNextColorChannel(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn recreateLayer(); - void sliderChanged(cocos2d::CCObject*); - void toggleVisible(); - void updateChannelLabel(int); - void updateColorSprite(); - void updateCurrentSelection(); - void updateCustomColorLabels(); - void updateHSVButtons(); - void updateKerningLabel(); - void updateSelected(int); - - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); - virtual void colorSelectClosed(cocos2d::CCNode*); - virtual void colorSetupClosed(int); - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_colorButtons; - cocos2d::CCArray* m_colorTabNodes; - cocos2d::CCArray* m_textTabNodes; - cocos2d::CCArray* m_unkArray; - cocos2d::CCArray* m_detailTabNodes; - int m_selectedMode; - int m_customColorChannel; - bool m_unk0x200; - bool m_unk0x201; - bool m_glowDisabled; - CCMenuItemSpriteExtra* m_baseButton; - CCMenuItemSpriteExtra* m_detailButton; - CCMenuItemSpriteExtra* m_textButton; - CCMenuItemSpriteExtra* m_baseColorHSV; - CCMenuItemSpriteExtra* m_detailColorHSV; - cocos2d::CCLabelBMFont* m_titleLabel; - cocos2d::CCLabelBMFont* m_selectedColorLabel; - CCTextInputNode* m_customColorInput; - CCTextInputNode* m_textInput; - int m_kerningAmount; - cocos2d::CCLabelBMFont* m_kerningLabel; - Slider* m_kerningSlider; - ButtonSprite* m_customColorButtonSprite; - CCMenuItemSpriteExtra* m_customColorButton; - CCMenuItemSpriteExtra* m_arrowDown; - CCMenuItemSpriteExtra* m_arrowUp; - cocos2d::extension::CCScale9Sprite* m_customColorInputBG; - ColorChannelSprite* m_colorSprite; - CCMenuItemSpriteExtra* m_colorSpriteButton; - CCMenuItemSpriteExtra* m_liveSelectButton; - bool m_showTextInput; - bool m_customColorSelected; -} - -[[link(android)]] -class CustomizeObjectSettingsPopup : SetupTriggerPopup { - // virtual ~CustomizeObjectSettingsPopup(); - - static CustomizeObjectSettingsPopup* create(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - bool init(GameObject*, cocos2d::CCArray*, CustomizeObjectLayer*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class CustomListView : BoomListView { - inline CustomListView() {} - ~CustomListView() {} - - static CustomListView* create(cocos2d::CCArray*, TableViewCellDelegate*, float, float, int, BoomListType, float) = ios 0x1011fc; - - static CustomListView* create(cocos2d::CCArray* entries, BoomListType type, float width, float height) { - return CustomListView::create(entries, nullptr, width, height, 0, type, 0.0f); - } - - TodoReturn getCellHeight(BoomListType); - TodoReturn reloadAll(); - - virtual void setupList(float); - virtual TableViewCell* getListCell(char const*); - virtual void loadCell(TableViewCell*, int); - - int m_unknown; -} - -[[link(android)]] -class CustomMusicCell : CustomSongCell { - // virtual ~CustomMusicCell(); - CustomMusicCell(char const*, float, float); - - void loadFromObject(SongInfoObject*); - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class CustomSFXCell : TableViewCell, CustomSFXDelegate { - // virtual ~CustomSFXCell(); - CustomSFXCell(char const*, float, float); - - void loadFromObject(SFXInfoObject*); - TodoReturn shouldReload(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual void sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); -} - -[[link(android)]] -class CustomSFXDelegate { - virtual void sfxObjectSelected(SFXInfoObject*); - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); -} - -[[link(android)]] -class CustomSFXWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSFXWidget(); - - static CustomSFXWidget* create(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - - TodoReturn deleteSFX(); - void downloadFailed(); - TodoReturn hideLoadingArt(); - bool init(SFXInfoObject*, CustomSFXDelegate*, bool, bool, bool, bool, bool); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - void showLoadingArt(); - TodoReturn startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - TodoReturn updateSFXInfo(); - TodoReturn updateSFXObject(SFXInfoObject*); - TodoReturn verifySFXID(int); - - virtual void downloadSFXFinished(int); - virtual void downloadSFXFailed(int, GJSongError); - virtual void songStateChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class CustomSongCell : TableViewCell, CustomSongDelegate { - // virtual ~CustomSongCell(); - CustomSongCell(char const*, float, float); - - void loadFromObject(SongInfoObject*); - void onDelete(cocos2d::CCObject* sender); - TodoReturn shouldReload(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); - - SongInfoObject* m_songInfoObject; - bool m_unkBool; -} - -[[link(android)]] -class CustomSongDelegate { - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class CustomSongLayer : FLAlertLayer, TextInputDelegate, GJDropDownLayerDelegate, MusicBrowserDelegate { - // virtual ~CustomSongLayer(); - - static CustomSongLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onCreateLines(cocos2d::CCObject* sender); - void onMusicBrowser(cocos2d::CCObject* sender); - void onNewgroundsBrowser(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void showNewgroundsMessage(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textChanged(CCTextInputNode*); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void dropDownLayerWillClose(GJDropDownLayer*); - virtual void musicBrowserClosed(MusicBrowser*); -} - -[[link(android)]] -class CustomSongLayerDelegate { - virtual void customSongLayerClosed() {} -} - -[[link(android), depends(GJAssetDownloadAction)]] -class CustomSongWidget : cocos2d::CCNode, MusicDownloadDelegate, FLAlertLayerProtocol { - // virtual ~CustomSongWidget(); - - static CustomSongWidget* create(SongInfoObject* songInfo, CustomSongDelegate* songDelegate, bool showSongSelect, bool showPlayMusic, bool showDownload, bool isRobtopSong, bool unkBool, bool isMusicLibrary); - - void deleteSong(); - void downloadAssetFailed(int, GJAssetType, GJSongError); - void downloadAssetFinished(int, GJAssetType); - void downloadFailed(); - TodoReturn getSongInfoIfUnloaded(); - bool init(SongInfoObject* songInfo, CustomSongDelegate* songDelegate, bool showSongSelect, bool showPlayMusic, bool showDownload, bool isRobtopSong, bool unkBool, bool isMusicLibrary); - void onCancelDownload(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onGetSongInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn processNextMultiAsset(); - void showError(bool); - void startDownload(); - TodoReturn startMonitorDownload(); - TodoReturn startMultiAssetDownload(); - TodoReturn toggleUpdateButton(bool); - TodoReturn updateDownloadProgress(float); - TodoReturn updateError(GJSongError); - TodoReturn updateLengthMod(float); - void updateMultiAssetInfo(bool); - TodoReturn updatePlaybackBtn(); - TodoReturn updateProgressBar(int); - void updateSongInfo(); - void updateSongObject(SongInfoObject*); - void updateWithMultiAssets(gd::string, gd::string, int); - TodoReturn verifySongID(int); - - virtual void loadSongInfoFinished(SongInfoObject*); - virtual void loadSongInfoFailed(int, GJSongError); - virtual void downloadSongFinished(int); - virtual void downloadSongFailed(int, GJSongError); - virtual void downloadSFXFinished(int); - virtual void downloadSFXFailed(int, GJSongError); - virtual void musicActionFinished(GJMusicAction); - virtual void musicActionFailed(GJMusicAction); - virtual void songStateChanged(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - SongInfoObject* m_songInfoObject; - cocos2d::CCMenu* m_buttonMenu; - cocos2d::CCLabelBMFont* m_songLabel; - cocos2d::CCLabelBMFont* m_artistLabel; - cocos2d::CCLabelBMFont* m_songIDLabel; - cocos2d::CCLabelBMFont* m_errorLabel; - CCMenuItemSpriteExtra* m_downloadBtn; - CCMenuItemSpriteExtra* m_cancelDownloadBtn; - CCMenuItemSpriteExtra* m_selectSongBtn; - CCMenuItemSpriteExtra* m_getSongInfoBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_moreBtn; - CCMenuItemSpriteExtra* m_deleteBtn; - cocos2d::CCSprite* m_sliderGroove; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_bgSpr; - CustomSongDelegate* m_songDelegate; - bool m_showSelectSongBtn; - bool m_showPlayMusicBtn; - bool m_showDownloadBtn; - bool m_isNotDownloading; - bool m_isRobtopSong; - bool m_isMusicLibrary; - int m_customSongID; - float m_unkFloat; - bool m_unkBool1; - void* m_unkPtr; - bool m_hasLibrarySongs; - bool m_hasSFX; - bool m_unkBool2; - gd::map m_songs; - gd::map m_sfx; - gd::vector m_undownloadedAssets; - int m_unkInt; - InfoAlertButton* m_assetInfoBtn; -} - -[[link(android)]] -class DailyLevelNode : cocos2d::CCNode, FLAlertLayerProtocol { - // virtual ~DailyLevelNode(); - - static DailyLevelNode* create(GJGameLevel*, DailyLevelPage*, bool); - - bool init(GJGameLevel*, DailyLevelPage*, bool); - void onClaimReward(cocos2d::CCObject* sender); - void onSkipLevel(cocos2d::CCObject* sender); - void showSkipButton(); - void updateTimeLabel(gd::string); - - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - GJGameLevel* m_level; - DailyLevelPage* m_page; - cocos2d::CCLabelBMFont* m_timeLabel; - PAD = win 0x8, android32 0x8; - CCMenuItemSpriteExtra* m_skipButton; - bool m_unkBool; - bool m_needsDownloading; -} - -[[link(android)]] -class DailyLevelPage : FLAlertLayer, FLAlertLayerProtocol, GJDailyLevelDelegate, LevelDownloadDelegate { - // virtual ~DailyLevelPage(); - - static DailyLevelPage* create(GJTimedLevelType); - - TodoReturn claimLevelReward(DailyLevelNode*, GJGameLevel*, cocos2d::CCPoint); - TodoReturn createDailyNode(GJGameLevel*, bool, float, bool); - TodoReturn createNodeIfLoaded(); - TodoReturn downloadAndCreateNode(); - TodoReturn exitDailyNode(DailyLevelNode*, float); - TodoReturn getDailyTime(); - TodoReturn getDailyTimeString(int); - bool init(GJTimedLevelType); - void onClose(cocos2d::CCObject* sender); - void onTheSafe(cocos2d::CCObject* sender); - TodoReturn refreshDailyPage(); - TodoReturn skipDailyLevel(DailyLevelNode*, GJGameLevel*); - TodoReturn tryGetDailyStatus(); - callback void updateTimers(float); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); - virtual void levelDownloadFinished(GJGameLevel*); - virtual void levelDownloadFailed(int); - - cocos2d::CCLabelBMFont* m_timeLabel; - LoadingCircle* m_timeCircle; - LoadingCircle* m_nodeCircle; - bool m_gettingDailyStatus; - DailyLevelNode* m_dailyNode; - bool m_downloadStarted; - GJTimedLevelType m_type; - int m_downloadLevelID; -} - -[[link(android)]] -class DashRingObject : RingObject { - // virtual ~DashRingObject(); - - static DashRingObject* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class DemonFilterDelegate { - virtual void demonFilterSelectClosed(int); -} - -[[link(android)]] -class DemonFilterSelectLayer : FLAlertLayer { - // virtual ~DemonFilterSelectLayer(); - - static DemonFilterSelectLayer* create(); - - void onClose(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual bool init(); - virtual void keyBackClicked(); -} - -// 2.205 -[[link(android)]] -class DemonInfoPopup { - // ~DemonInfoPopup(); - - static DemonInfoPopup* create(int, int, int, int, int, int, int, int, int, int, int, int); - - TodoReturn createFromString(gd::string); - bool init(int, int, int, int, int, int, int, int, int, int, int, int); - TodoReturn keyBackClicked(); - void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class DialogDelegate { - virtual void dialogClosed(DialogLayer*) {} -} - -[[link(android)]] -class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate { - // virtual ~DialogLayer(); - - static DialogLayer* create(DialogObject*, int); - - TodoReturn addToMainScene(); - TodoReturn animateIn(DialogAnimationType); - TodoReturn animateInDialog(); - TodoReturn animateInRandomSide(); - static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int); - TodoReturn createWithObjects(cocos2d::CCArray*, int); - TodoReturn displayDialogObject(DialogObject*); - TodoReturn displayNextObject(); - TodoReturn finishCurrentAnimation(); - TodoReturn handleDialogTap(); - bool init(DialogObject*, cocos2d::CCArray*, int); - TodoReturn onClose(); - TodoReturn updateChatPlacement(DialogChatPlacement); - TodoReturn updateNavButtonFrame(); - - virtual void onEnter(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class DialogObject : cocos2d::CCObject { - // virtual ~DialogObject(); - - static DialogObject* create(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B); - - bool init(gd::string, gd::string, int, float, bool, cocos2d::ccColor3B); -} - -[[link(android)]] -class DownloadMessageDelegate { - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); -} - -[[link(android)]] -class DrawGridLayer : cocos2d::CCLayer { - // virtual ~DrawGridLayer(); - - static DrawGridLayer* create(cocos2d::CCNode*, LevelEditorLayer*); - - void addAudioLineObject(AudioLineGuideGameObject*); - TodoReturn addToEffects(EffectGameObject*); - TodoReturn addToGuides(GameObject*); - TodoReturn addToSpeedObjects(EffectGameObject*); - TodoReturn getPortalMinMax(GameObject*); - bool init(cocos2d::CCNode*, LevelEditorLayer*); - void loadTimeMarkers(gd::string); - float posForTime(float); - void postUpdate(); - TodoReturn removeAudioLineObject(AudioLineGuideGameObject*); - TodoReturn removeFromEffects(EffectGameObject*); - TodoReturn removeFromGuides(GameObject*); - TodoReturn removeFromSpeedObjects(EffectGameObject*); - TodoReturn sortSpeedObjects(); - float timeForPos(cocos2d::CCPoint, int, int, bool, bool, bool, int); - TodoReturn updateMusicGuideTime(float); - TodoReturn updateTimeMarkers(); - - virtual void update(float); - virtual void draw(); -} - -[[link(android)]] -class DungeonBarsSprite : cocos2d::CCNode { - // virtual ~DungeonBarsSprite(); - - static DungeonBarsSprite* create(); - - TodoReturn animateOutBars(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class DynamicBitset { - TodoReturn resize(unsigned int); -} - -[[link(android)]] -class DynamicScrollDelegate { - virtual void updatePageWithObject(cocos2d::CCObject* p0, cocos2d::CCObject* p1) {} -} - -[[link(android)]] -class EditButtonBar : cocos2d::CCNode { - // virtual ~EditButtonBar(); - - static EditButtonBar* create(cocos2d::CCArray* objects, cocos2d::CCPoint size, int unk, bool unkBool, int columns, int rows); - - TodoReturn getPage(); - void goToPage(int); - bool init(cocos2d::CCArray* objects, cocos2d::CCPoint size, int unk, bool unkBool, int columns, int rows); - void loadFromItems(cocos2d::CCArray*, int, int, bool); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); - void reloadItems(int rowCount, int columnCount) { - if (m_buttonArray) - this->loadFromItems(m_buttonArray, rowCount, columnCount, m_unknown); - } - - cocos2d::CCPoint m_position; - int m_unknown; - bool m_unknownBool; - cocos2d::CCArray* m_buttonArray; - BoomScrollLayer* m_scrollLayer; - cocos2d::CCArray* m_pagesArray; -} - -[[link(android)]] -class EditGameObjectPopup : SetupTriggerPopup { - // virtual ~EditGameObjectPopup(); - - static EditGameObjectPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class EditLevelLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, SetIDPopupDelegate { - // virtual ~EditLevelLayer(); - - static EditLevelLayer* create(GJGameLevel*); - - TodoReturn closeTextInputs(); - void confirmClone(cocos2d::CCObject*); - void confirmDelete(cocos2d::CCObject*); - void confirmMoveToTop(cocos2d::CCObject*); - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClone(); - void onDelete(); - void onEdit(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onLevelOptions(cocos2d::CCObject* sender); - void onMoveToTop(); - void onPlay(cocos2d::CCObject* sender); - void onSetFolder(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onTest(cocos2d::CCObject* sender); - void onUpdateDescription(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - static cocos2d::CCScene* scene(GJGameLevel*); - void setupLevelInfo(); - TodoReturn updateDescText(char const*); - TodoReturn verifyLevelName(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - - cocos2d::CCMenu* m_buttonMenu; - GJGameLevel* m_level; - TextArea* m_descriptionInput; - cocos2d::CCArray* m_someArray; - cocos2d::CCLabelBMFont* m_folderLabel; - bool m_unk; - bool m_lowDetailModeTriggered; - GJLevelType m_levelType; -} - -[[link(android)]] -class EditorOptionsLayer : GJOptionsLayer { - // virtual ~EditorOptionsLayer(); - - static EditorOptionsLayer* create(); - - void onButtonRows(cocos2d::CCObject* sender); - void onButtonsPerRow(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void setupOptions(); -} - -[[link(android)]] -class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol { - // virtual ~EditorPauseLayer(); - - static EditorPauseLayer* create(LevelEditorLayer*); - - TodoReturn doResetUnused(); - bool init(LevelEditorLayer*); - void onAlignX(cocos2d::CCObject* sender); - void onAlignY(cocos2d::CCObject* sender); - void onBuildHelper(cocos2d::CCObject* sender); - void onCopyWColor(cocos2d::CCObject* sender); - void onCreateExtras(cocos2d::CCObject* sender); - void onCreateLoop(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onExitEditor(cocos2d::CCObject* sender); - void onExitNoSave(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNewGroupX(cocos2d::CCObject* sender); - void onNewGroupY(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onPasteWColor(cocos2d::CCObject* sender); - void onReGroup(cocos2d::CCObject* sender); - void onResetUnusedColors(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); - void onSaveAndExit(cocos2d::CCObject* sender); - void onSaveAndPlay(cocos2d::CCObject* sender); - void onSelectAll(cocos2d::CCObject* sender); - void onSelectAllLeft(cocos2d::CCObject* sender); - void onSelectAllRight(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - void onUnlockAllLayers(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - void saveLevel(); - TodoReturn toggleDebugDraw(cocos2d::CCObject*); - TodoReturn toggleEditorBackground(cocos2d::CCObject*); - TodoReturn toggleEditorColorMode(cocos2d::CCObject*); - TodoReturn toggleEditorGrid(cocos2d::CCObject*); - TodoReturn toggleEditorGround(cocos2d::CCObject*); - TodoReturn toggleEffectDuration(cocos2d::CCObject*); - TodoReturn toggleEffectLines(cocos2d::CCObject*); - TodoReturn toggleFollowPlayer(cocos2d::CCObject*); - TodoReturn toggleGridOnTop(cocos2d::CCObject*); - TodoReturn toggleHideInvisible(cocos2d::CCObject*); - TodoReturn toggleIgnoreDamage(cocos2d::CCObject*); - TodoReturn togglePlaytestMusic(cocos2d::CCObject*); - TodoReturn togglePreviewAnim(cocos2d::CCObject*); - TodoReturn togglePreviewParticles(cocos2d::CCObject*); - TodoReturn togglePreviewShaders(cocos2d::CCObject*); - TodoReturn toggleRecordOrder(cocos2d::CCObject*); - TodoReturn toggleSelectFilter(cocos2d::CCObject*); - TodoReturn toggleShowObjectInfo(cocos2d::CCObject*); - TodoReturn uncheckAllPortals(cocos2d::CCObject*); - TodoReturn updateSongButton(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void customSetup(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - bool m_saved; - CCMenuItemSpriteExtra* m_guidelinesOffButton; - CCMenuItemSpriteExtra* m_guidelinesOnButton; - LevelEditorLayer* m_editorLayer; -} - -[[link(android)]] -class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJRotationControlDelegate, GJScaleControlDelegate, GJTransformControlDelegate, MusicDownloadDelegate, SetIDPopupDelegate { - // virtual ~EditorUI(); - - static EditorUI* create(LevelEditorLayer*); - - TodoReturn activateRotationControl(cocos2d::CCObject*); - TodoReturn activateScaleControl(cocos2d::CCObject*); - TodoReturn activateTransformControl(cocos2d::CCObject*); - TodoReturn addObjectsToSmartTemplate(GJSmartTemplate*, cocos2d::CCArray*); - TodoReturn addSnapPosition(cocos2d::CCPoint); - TodoReturn alignObjects(cocos2d::CCArray*, bool); - TodoReturn applyOffset(GameObject*); - TodoReturn applySpecialOffset(cocos2d::CCPoint, GameObject*, cocos2d::CCPoint); - TodoReturn arrayContainsClass(cocos2d::CCArray*, int); - TodoReturn assignNewGroups(bool); - TodoReturn canAllowMultiActivate(GameObject*, cocos2d::CCArray*); - TodoReturn canSelectObject(GameObject*); - TodoReturn centerCameraOnObject(GameObject*); - TodoReturn changeSelectedObjects(cocos2d::CCArray*, bool); - TodoReturn checkDiffAfterTransformAnchor(cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn checkLiveColorSelect(); - TodoReturn clickOnPosition(cocos2d::CCPoint); - TodoReturn closeLiveColorSelect(); - TodoReturn closeLiveHSVSelect(); - void colorSelectClosed(cocos2d::ccColor3B); - void constrainGameLayerPosition(); - void constrainGameLayerPosition(float, float); - TodoReturn convertKeyBasedOnNeighbors(int, int, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn convertToBaseKey(int); - TodoReturn copyObjects(cocos2d::CCArray*, bool, bool); - TodoReturn copyObjectsDetailed(cocos2d::CCArray*); - cocos2d::CCArray* createCustomItems(); - TodoReturn createEdgeForObject(GameObject*, int); - TodoReturn createExtraObject(int, cocos2d::CCPoint, GameObject*, cocos2d::CCArray*, int, int); - TodoReturn createExtras(cocos2d::CCArray*); - TodoReturn createExtrasForObject(int, GameObject*, cocos2d::CCArray*); - TodoReturn createGlow(); - void createLoop(); - TodoReturn createMoveMenu(); - TodoReturn createNewKeyframeAnim(); - TodoReturn createObject(int, cocos2d::CCPoint); - TodoReturn createOutlines(cocos2d::CCArray*); - TodoReturn createPrefab(GJSmartTemplate*, gd::string, int); - TodoReturn createRockBases(cocos2d::CCArray*); - TodoReturn createRockEdges(cocos2d::CCArray*); - TodoReturn createSmartObjectsFromTemplate(GJSmartTemplate*, cocos2d::CCArray*, bool, bool, bool, bool); - TodoReturn createSmartObjectsFromType(int, cocos2d::CCArray*, bool, bool); - TodoReturn createUndoObject(UndoCommand, bool); - TodoReturn createUndoSelectObject(bool); - TodoReturn deactivateRotationControl(); - TodoReturn deactivateScaleControl(); - TodoReturn deactivateTransformControl(); - void deleteObject(GameObject*, bool); - TodoReturn deleteSmartBlocksFromObjects(cocos2d::CCArray*); - TodoReturn deleteTypeFromObjects(int, cocos2d::CCArray*); - void deselectAll(); - void deselectObject(); - void deselectObject(GameObject*); - void deselectObjectsColor(); - TodoReturn deselectTargetPortals(); - TodoReturn disableButton(CreateMenuItem*); - TodoReturn doCopyObjects(bool); - TodoReturn doPasteInPlace(bool); - TodoReturn doPasteObjects(bool); - TodoReturn dynamicGroupUpdate(bool); - TodoReturn edgeForObject(int, int); - TodoReturn editButton2Usable(); - TodoReturn editButtonUsable(); - TodoReturn editColor(); - TodoReturn editColorButtonUsable(); - TodoReturn editGroup(cocos2d::CCObject*); - TodoReturn editHSV(); - TodoReturn editObject(cocos2d::CCObject*); - TodoReturn editObject2(cocos2d::CCObject*); - TodoReturn editObject3(cocos2d::CCObject*); - TodoReturn editObjectSpecial(int); - TodoReturn editorLayerForArray(cocos2d::CCArray*, bool); - TodoReturn enableButton(CreateMenuItem*); - TodoReturn findAndSelectObject(int, bool); - TodoReturn findSnapObject(cocos2d::CCArray*, float); - TodoReturn findSnapObject(cocos2d::CCPoint, float); - TodoReturn findTriggerTest(); - TodoReturn flipObjectsX(cocos2d::CCArray*); - TodoReturn flipObjectsY(cocos2d::CCArray*); - TodoReturn getButton(char const*, int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - CreateMenuItem* getCreateBtn(int id, int bg); - TodoReturn getCreateMenuItemButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getCycledObject(cocos2d::CCArray*, bool); - TodoReturn getEditColorTargets(ColorAction*&, ColorAction*&, EffectGameObject*&); - TodoReturn getGridSnappedPos(cocos2d::CCPoint); - TodoReturn getGroupCenter(cocos2d::CCArray*, bool); - TodoReturn getGroupInfo(GameObject*, cocos2d::CCArray*, int&, int&, int&); - TodoReturn getLimitedPosition(cocos2d::CCPoint); - TodoReturn getModeBtn(char const*, int); - TodoReturn getNeighbor(int, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getRandomStartKey(int); - TodoReturn getRelativeOffset(GameObject*); - cocos2d::CCArray* getSelectedObjects(); - TodoReturn getSimpleButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*); - TodoReturn getSmartNeighbor(SmartGameObject*, cocos2d::CCPoint, GJSmartDirection, cocos2d::CCArray*); - TodoReturn getSmartObjectKey(int, GJSmartDirection); - TodoReturn getSnapAngle(GameObject*, cocos2d::CCArray*); - CCMenuItemSpriteExtra* getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - CCMenuItemSpriteExtra* getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - CCMenuItemSpriteExtra* getSpriteButton(cocos2d::CCSprite*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, int, cocos2d::CCPoint); - TodoReturn getTouchPoint(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn getTransformState(); - TodoReturn getXMin(int); - bool init(LevelEditorLayer* editorLayer); - bool isLiveColorSelectTrigger(GameObject*); - bool isSpecialSnapObject(int); - TodoReturn liveEditColorUsable(); - TodoReturn menuItemFromObjectString(gd::string, int); - cocos2d::CCPoint moveForCommand(EditCommand command); - TodoReturn moveGamelayer(cocos2d::CCPoint); - void moveObject(GameObject*, cocos2d::CCPoint); - void moveObjectCall(cocos2d::CCObject*); - void moveObjectCall(EditCommand); - TodoReturn offsetForKey(int); - TodoReturn onAssignNewGroupID(); - void onColorFilter(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onCopyState(cocos2d::CCObject* sender); - bool onCreate(); - void onCreateButton(cocos2d::CCObject* sender); - TodoReturn onCreateObject(int); - void onDelete(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteCustomItem(cocos2d::CCObject* sender); - void onDeleteInfo(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onDeleteSelectedType(cocos2d::CCObject* sender); - void onDeleteStartPos(cocos2d::CCObject* sender); - void onDeselectAll(cocos2d::CCObject* sender); - void onDuplicate(cocos2d::CCObject* sender); - void onEditColor(cocos2d::CCObject* sender); - void onFindObject(cocos2d::CCObject* sender); - void onGoToBaseLayer(cocos2d::CCObject* sender); - void onGoToLayer(cocos2d::CCObject* sender); - void onGroupDown(cocos2d::CCObject* sender); - void onGroupIDFilter(cocos2d::CCObject* sender); - void onGroupSticky(cocos2d::CCObject* sender); - void onGroupUp(cocos2d::CCObject* sender); - void onLockLayer(cocos2d::CCObject* sender); - void onNewCustomItem(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onPasteColor(cocos2d::CCObject* sender); - void onPasteInPlace(cocos2d::CCObject* sender); - void onPasteState(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - void onPlaytest(cocos2d::CCObject* sender); - void onResetSpecialFilter(cocos2d::CCObject* sender); - void onSelectBuildTab(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStopPlaytest(cocos2d::CCObject* sender); - TodoReturn onTargetIDChange(int); - TodoReturn onToggleGuide(EffectGameObject*); - TodoReturn onToggleSelectedOrder(EffectGameObject*); - void onUngroupSticky(cocos2d::CCObject* sender); - void onUpdateDeleteFilter(cocos2d::CCObject* sender); - TodoReturn orderDownCustomItem(cocos2d::CCObject*); - TodoReturn orderUpCustomItem(cocos2d::CCObject*); - void pasteObjects(gd::string, bool, bool); - TodoReturn playCircleAnim(cocos2d::CCPoint, float, float); - TodoReturn playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playerTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn playtestStopped(); - TodoReturn positionIsInSnapped(cocos2d::CCPoint); - TodoReturn positionWithoutOffset(GameObject*); - TodoReturn processSelectObjects(cocos2d::CCArray*); - TodoReturn processSmartObjectsFromType(int, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*, cocos2d::CCArray*); - void recreateButtonTabs(); - void redoLastAction(cocos2d::CCObject*); - void reloadCustomItems(); - TodoReturn removeOffset(GameObject*); - TodoReturn replaceGroupID(GameObject*, int, int); - TodoReturn repositionObjectsToCenter(cocos2d::CCArray*, cocos2d::CCPoint, bool); - void resetObjectEditorValues(cocos2d::CCArray*); - TodoReturn resetSelectedObjectsColor(); - TodoReturn resetUI(); - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint); - TodoReturn rotationforCommand(EditCommand); - void scaleObjects(cocos2d::CCArray*, float, float, cocos2d::CCPoint, ObjectScaleType, bool); - TodoReturn selectAll(); - TodoReturn selectAllWithDirection(bool); - TodoReturn selectBuildTab(int); - void selectObject(GameObject*, bool); - void selectObjects(cocos2d::CCArray*, bool); - void selectObjectsInRect(cocos2d::CCRect); - void setupCreateMenu(); - void setupDeleteMenu(); - void setupEditMenu(); - TodoReturn setupTransformControl(); - static bool shouldDeleteObject(GameObject*); - TodoReturn shouldSnap(GameObject*); - void showDeleteConfirmation(); - void showLiveColorSelectForMode(int); - void showLiveColorSelectForModeSpecial(int); - void showMaxBasicError(); - void showMaxCoinError(); - void showMaxError(); - void showUI(bool); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn smartTypeForKey(int); - cocos2d::CCPoint* spriteFromObjectString(gd::string, bool, bool, int, cocos2d::CCArray*, cocos2d::CCArray*, GameObject*); - TodoReturn toggleDuplicateButton(); - TodoReturn toggleEditObjectButton(); - TodoReturn toggleEnableRotate(cocos2d::CCObject*); - TodoReturn toggleFreeMove(cocos2d::CCObject*); - TodoReturn toggleLockUI(bool); - void toggleMode(cocos2d::CCObject*); - TodoReturn toggleObjectInfoLabel(); - TodoReturn toggleSnap(cocos2d::CCObject*); - TodoReturn toggleSpecialEditButtons(); - TodoReturn toggleStickyControls(bool); - TodoReturn toggleSwipe(cocos2d::CCObject*); - TodoReturn transformObject(GameObject*, EditCommand, bool); - TodoReturn transformObjectCall(cocos2d::CCObject*); - TodoReturn transformObjectCall(EditCommand); - TodoReturn transformObjects(cocos2d::CCArray*, cocos2d::CCPoint, float, float, float, float, float, float); - TodoReturn transformObjectsActive(); - TodoReturn transformObjectsReset(); - TodoReturn triggerSwipeMode(); - void tryUpdateTimeMarkers(); - void undoLastAction(cocos2d::CCObject*); - void updateButtons(); - TodoReturn updateCreateMenu(bool); - TodoReturn updateDeleteButtons(); - TodoReturn updateDeleteMenu(); - TodoReturn updateEditButtonColor(int, cocos2d::ccColor3B); - TodoReturn updateEditColorButton(); - TodoReturn updateEditMenu(); - void updateGridNodeSize(); - TodoReturn updateGridNodeSize(int); - TodoReturn updateGroupIDBtn2(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateObjectInfoLabel(); - TodoReturn updatePlaybackBtn(); - TodoReturn updateSlider(); - TodoReturn updateSpecialUIElements(); - void updateZoom(float); - float valueFromXPos(float); - float xPosFromValue(float); - TodoReturn zoomGameLayer(bool); - TodoReturn zoomIn(cocos2d::CCObject*); - TodoReturn zoomOut(cocos2d::CCObject*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn getUI(); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn transformChangeBegin(); - virtual void transformChangeEnded() {} - virtual TodoReturn getTransformNode(); - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual void songStateChanged(); - virtual void colorSelectClosed(cocos2d::CCNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void scrollWheel(float, float); - virtual TodoReturn angleChangeBegin(); - virtual void angleChangeEnded() {} - virtual TodoReturn angleChanged(float); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn scaleChangeBegin(); - virtual void scaleChangeEnded() {} - virtual TodoReturn scaleXChanged(float, bool); - virtual TodoReturn scaleYChanged(float, bool); - virtual void scaleXYChanged(float, float, bool); - - PAD = android32 0x64, android64 0x80; - - EditButtonBar* m_buttonBar; - - PAD = android32 0x3c, android64 0x48; - - cocos2d::CCLabelBMFont* m_objectInfoLabel; - - PAD = android32 0x18, android64 0x28; - - GJTransformControl* m_transformControl; - PAD = android32 0xc, android64 0x18; - EditButtonBar* m_createButtonBar; - EditButtonBar* m_editButtonBar; - Slider* m_positionSlider; - - PAD = android32 0xc, android64 0xc; - bool m_swipeEnabled; - - PAD = android32 0x1f, android64 0x23; - - cocos2d::CCArray* m_selectedObjects; // 0x338 on a64 - - // double m_unkDouble; // 0x398 - - // all of these are not tested - cocos2d::CCMenu* m_deleteMenu; - cocos2d::CCArray* m_unknownArray4; - CCMenuItemSpriteExtra* m_deleteModeBtn; - CCMenuItemSpriteExtra* m_buildModeBtn; - CCMenuItemSpriteExtra* m_editModeBtn; - CCMenuItemSpriteExtra* m_swipeBtn; - CCMenuItemSpriteExtra* m_freeMoveBtn; - CCMenuItemSpriteExtra* m_deselectBtn; - CCMenuItemSpriteExtra* m_snapBtn; - CCMenuItemSpriteExtra* m_rotateBtn; - CCMenuItemSpriteExtra* m_playbackBtn; - CCMenuItemSpriteExtra* m_playtestBtn; - CCMenuItemSpriteExtra* m_playtestStopBtn; - CCMenuItemSpriteExtra* m_trashBtn; - CCMenuItemSpriteExtra* m_linkBtn; - CCMenuItemSpriteExtra* m_unlinkBtn; - CCMenuItemSpriteExtra* m_undoBtn; - CCMenuItemSpriteExtra* m_redoBtn; - CCMenuItemSpriteExtra* m_editObjectBtn; - CCMenuItemSpriteExtra* m_editGroupBtn; - CCMenuItemSpriteExtra* m_editHSVBtn; - CCMenuItemSpriteExtra* m_editSpecialBtn; - CCMenuItemSpriteExtra* m_copyPasteBtn; - CCMenuItemSpriteExtra* m_copyBtn; - CCMenuItemSpriteExtra* m_pasteBtn; - CCMenuItemSpriteExtra* m_copyValuesBtn; - CCMenuItemSpriteExtra* m_pasteStateBtn; - CCMenuItemSpriteExtra* m_pasteColorBtn; - CCMenuItemSpriteExtra* m_goToLayerBtn; - CCMenuItemToggler* m_guideToggle; - cocos2d::CCArray* m_createButtonBars; - cocos2d::CCMenu* m_tabsMenu; - cocos2d::CCArray* m_tabsArray; - cocos2d::CCSprite* m_idkSprite0; - cocos2d::CCSprite* m_idkSprite1; - CCMenuItemSpriteExtra* m_button27; - CCMenuItemSpriteExtra* m_button28; - CCMenuItemSpriteExtra* m_deleteFilterNone; - CCMenuItemSpriteExtra* m_deleteFilterStatic; - CCMenuItemSpriteExtra* m_deleteFilterDetails; - CCMenuItemSpriteExtra* m_deleteFilterCustom; - cocos2d::CCLabelBMFont* m_currentLayerLabel; - CCMenuItemSpriteExtra* m_layerNextBtn; - CCMenuItemSpriteExtra* m_layerPrevBtn; - CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x20, win 0x10, android32 0x10, android64 0x20; - int m_selectedCreateObjectID; - cocos2d::CCArray* m_createButtonArray; - cocos2d::CCArray* m_customObjectButtonArray; - cocos2d::CCArray* m_unknownArray9; - int m_selectedMode; - LevelEditorLayer* m_editorLayer; - cocos2d::CCPoint m_swipeStart; - cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8, android32 0x8, android64 0x8; - cocos2d::CCPoint m_lastTouchPoint; - cocos2d::CCPoint m_cameraTest; - cocos2d::CCPoint m_clickAtPosition; - GameObject* m_selectedObject; - void* m_unk530; - void* m_unk538; - void* m_unk540; - int m_selectedTab; -} - -[[link(android)]] -class EditTriggersPopup : SetupTriggerPopup { - // virtual ~EditTriggersPopup(); - - static EditTriggersPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class EffectGameObject : EnhancedGameObject { - // virtual ~EffectGameObject(); - // EffectGameObject(); - - static EffectGameObject* create(char const*); - - TodoReturn getTargetColorIndex(); - bool init(char const*); - TodoReturn playTriggerEffect(); - TodoReturn resetSpawnTrigger(); - void setTargetID(int); - void setTargetID2(int); - TodoReturn triggerEffectFinished(); - TodoReturn updateInteractiveHover(float); - TodoReturn updateSpecialColor(); - TodoReturn updateSpeedModType(); - - virtual void setOpacity(unsigned char); - virtual void firstSetup(); - virtual void customSetup(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - - cocos2d::ccColor3B m_triggerTargetColor; - // property 10 - float m_duration; - // property 35 - float m_opacity; - PAD = android32 0x4, win 0x4, android64 0x4; - // property 51 - int m_targetGroupID; - // property 71 - int m_centerGroupID; - // property 11 - bool m_isTouchTriggered; - // property 62 - bool m_isSpawnTriggered; - // property 369 - bool m_hasCenterEffect; - // property 75 - float m_shakeStrength; - // property 84 - float m_shakeInterval; - // property 14 - bool m_tintGround; - // property 15 - bool m_usesPlayerColor1; - // property 16 - bool m_usesPlayerColor2; - // property 17 - bool m_usesBlending; - // property 28 - float m_moveOffsetX; - // property 29 - float m_moveOffsetY; - // property 30 - EasingType m_easingType; - // property 85 - float m_easingRate; - // property 58 - bool m_lockToPlayerX; - // property 59 - bool m_lockToPlayerY; - // property 141 - bool m_lockToCameraX; - // property 142 - bool m_lockToCameraY; - // property 100 - bool m_useMoveTarget; - // property 101 - MoveTargetType m_moveTargetMode; - // property 143 - float m_moveModX; - // property 144 - float m_moveModY; - // property 393 - bool m_property393; - // property 394 - bool m_isDirectionFollowSnap360; // TODO: pls find a better name for this why rob - // property 395 - int m_targetModCenterID; - // property 396 - float m_directionModeDistance; - // property 397 - bool m_isDynamicMode; - // property 544 - bool m_isSilent; - PAD = android32 0x6, win 0x6, android64 0x6; - // property 68 - float m_rotationDegrees; - // property 69 - int m_times360; - // property 70 - bool m_lockObjectRotation; - // property 401 - int m_rotationTargetID; - // property 402 - float m_rotationOffset; - // property 403 - EasingType m_dynamicModeEasing; - // property 72 - float m_followXMod; - // property 73 - float m_followYMod; - // property 90 - float m_followYSpeed; - // property 91 - float m_followYDelay; - // property 92 - int m_followYOffset; - // property 105 - float m_followYMaxSpeed; - // property 45 - float m_fadeInDuration; - // property 46 - float m_holdDuration; - // property 47 - float m_fadeOutDuration; - // property 48 - int m_pulseMode; - // property 52 - int m_pulseTargetType; - // property 49 - cocos2d::ccHSVValue m_hsvValue; - // property 50 - int m_copyColorID; - // property 60 - bool m_copyOpacity; - // property 65 - bool m_pulseMainOnly; - // property 66 - bool m_pulseDetailOnly; - // property 86 - bool m_pulseExclusive; - // property 210 - bool m_property210; - // property 56 - bool m_activateGroup; - // property 81 - bool m_touchHoldMode; - // property 82 - TouchToggleMode m_touchToggleMode; - // property 198 - int m_touchPlayerMode; // TODO: add enum - // property 89 - bool m_isDualMode; - // property 76 - int m_animationID; - PAD = android32 0x8, win 0x8, android64 0x8; - // property 87 - bool m_isMultiActivate; - PAD = android32 0x2, win 0x2, android64 0x2; - // property 93 - bool m_triggerOnExit; - // property 95 - int m_itemID2; - // property 534 - int m_property534; - PAD = android32 0x4, win 0x4, android64 0x4; - // property 80 - int m_itemID; - // property 138 - bool m_targetPlayer1; - // property 200 - bool m_targetPlayer2; - // property 201 - bool m_followCPP; - // property 78 - bool m_subtractCount; - // property 381 - bool m_collectibleIsPickupItem; - // property 382 - bool m_collectibleIsToggleTrigger; - // property 440 - int m_collectibleParticleID; - // property 383 - int m_collectiblePoints; - // property 463 - bool m_hasNoAnimation; - PAD = android32 0x1f, win 0x1f, android64 0x23; - // property 148 - float m_gravityValue; - // property 284 - bool m_isSinglePTouch; - PAD = android32 0x3, win 0x3, android64 0x3; - // property 371 - float m_zoomValue; - // property 111 - bool m_cameraIsFreeMode; - // property 112 - bool m_cameraEditCameraSettings; - // property 113 - float m_cameraEasingValue; - // property 114 - float m_cameraPaddingValue; - // property 370 - bool m_cameraDisableGridSnap; - // property 118 - bool m_property118; - // property 120 - float m_timeWarpTimeMod; - // property 13 - bool m_showGamemodeBorders; - // property 115 - int m_ordValue; - // property 170 - int m_channelValue; - // property 117 - bool m_isReverse; - PAD = android32 0xb, win 0xb, android64 0xb; - // property 12 - int m_secretCoinID; - PAD = android32 0x18, win 0x18, android64 0x1c; - cocos2d::CCLabelBMFont* m_objectLabel; - // property 280 - bool m_ignoreGroupParent; - // property 281 - bool m_ignoreLinkedObjects; - PAD = android32 0x1, win 0x1, android64 0x1; -} - -[[link(android)]] -class EffectManagerState { - // ~EffectManagerState(); - // EffectManagerState(); -} - -[[link(android)]] -class EndLevelLayer : GJDropDownLayer { - // virtual ~EndLevelLayer(); - - // parameter from 2.205 - static EndLevelLayer* create(PlayLayer*); - - void coinEnterFinished(cocos2d::CCPoint); - void coinEnterFinishedO(cocos2d::CCObject*); - void currencyEnterFinished(); - void diamondEnterFinished(); - TodoReturn getCoinString(); - TodoReturn getEndText(); - void goEdit(); - bool init(PlayLayer*); - void onEdit(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void playCoinEffect(float); - void playCurrencyEffect(float); - void playDiamondEffect(float); - void playEndEffect(); - void playStarEffect(float); - TodoReturn starEnterFinished(); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void customSetup(); - virtual void showLayer(bool); - virtual void enterAnimFinished() {} - virtual void keyUp(cocos2d::enumKeyCodes) {} - - PlayLayer* m_playLayer; - bool m_unknown1; - bool m_unknown2; - bool m_unknown3; - bool m_unknown4; - bool m_unknown5; - int m_unknown6; - cocos2d::CCArray* m_coinsToAnimate; -} - -[[link(android)]] -class EndPortalObject : GameObject { - // virtual ~EndPortalObject(); - - static EndPortalObject* create(); - - TodoReturn getSpawnPos(); - TodoReturn triggerObject(GJBaseGameLayer*); - TodoReturn updateColors(cocos2d::ccColor3B); - TodoReturn updateEndPos(bool); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); -} - -[[link(android)]] -class EndTriggerGameObject : EffectGameObject { - // virtual ~EndTriggerGameObject(); - - static EndTriggerGameObject* create(); - - virtual bool init(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnhancedGameObject : GameObject { - // virtual ~EnhancedGameObject(); - // EnhancedGameObject(); - - static EnhancedGameObject* create(char const*); - - TodoReturn createRotateAction(float, int); - bool init(char const*); - TodoReturn previewAnimateOnTrigger(); - TodoReturn refreshRotateAction(); - TodoReturn resetSyncedAnimation(); - TodoReturn setupAnimationVariables(); - TodoReturn triggerAnimation(); - TodoReturn updateRotateAction(float); - TodoReturn updateState(int); - TodoReturn updateUserCoin(); - TodoReturn waitForAnimationTrigger(); - - virtual void customSetup(); - virtual void resetObject(); - virtual void deactivateObject(bool); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void triggerActivated(float); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn powerOnObject(int); - virtual TodoReturn powerOffObject(); - virtual TodoReturn stateSensitiveOff(GJBaseGameLayer*); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - PAD = android32 0x25, android64 0x25; - - bool m_hasCustomAnimation; - bool m_hasCustomRotation; - // property 98 - bool m_disableRotation; - PAD = android32 0x3, android64 0x3; - - // property 97 - float m_rotationSpeed; - PAD = android32 0xc, android64 0xc; - - // property 106 - bool m_animationRandomizedStart; - // property 107 - float m_animationSpeed; - // property 122 - bool m_animationShouldUseSpeed; - // property 123 - bool m_animateOnTrigger; - // property 126 - bool m_disableDelayedLoop; - // property 127 - bool m_disableAnimShine; - // property 462 - int m_singleFrame; - // property 592 - bool m_animationOffset; - PAD = android32 0xf, android64 0xf; - - // property 214 - bool m_animateOnlyWhenActive; - // property 444 - bool m_isNoMultiActivate; // used in platformer stuff - // property 99 - bool m_isMultiActivate; - PAD = android32 0x4, android64 0x4; -} - -[[link(android)]] -class EnhancedTriggerObject : EffectGameObject { - // virtual ~EnhancedTriggerObject(); - - static EnhancedTriggerObject* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectInstance { - // ~EnterEffectInstance(); - // EnterEffectInstance(EnterEffectInstance const&); - // EnterEffectInstance(EnterEffectInstance&&); - EnterEffectInstance(EnterEffectObject*, int, int, int, int, int, int); - - TodoReturn animateValue(int, float, float, float, int, float, int); - TodoReturn getValue(int); - TodoReturn loadTransitions(EnterEffectObject*, float); - TodoReturn loadValuesFromObject(EnterEffectObject*); - void setValue(int, float); - TodoReturn updateTransitions(float, GJBaseGameLayer*); -} - -[[link(android)]] -class EnterEffectObject : EffectGameObject { - // virtual ~EnterEffectObject(); - - static EnterEffectObject* create(char const*); - - bool init(char const*); - TodoReturn resetEnterAnimValues(); - - virtual void customSetup(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class EventLinkTrigger : EffectGameObject { - // virtual ~EventLinkTrigger(); - - static EventLinkTrigger* create(); - - virtual bool init(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ExplodeItemNode : cocos2d::CCNode { - // virtual ~ExplodeItemNode(); - - static ExplodeItemNode* create(cocos2d::CCRenderTexture*); - - TodoReturn createSprites(int, int, float, float, float, float, float, float, cocos2d::ccColor4F, cocos2d::ccColor4F, bool); - bool init(cocos2d::CCRenderTexture*); - - virtual void update(float); -} - -[[link(android)]] -class ExplodeItemSprite : cocos2d::CCSprite { - // virtual ~ExplodeItemSprite(); - - static ExplodeItemSprite* create(); - - virtual bool init(); -} - -[[link(android)]] -class ExtendedLayer : cocos2d::CCLayer { - // virtual ~ExtendedLayer(); - - static ExtendedLayer* create(); - - virtual bool init(); - virtual void setPosition(cocos2d::CCPoint const&); -} - -[[link(android)]] -class FileOperation { - gd::string getFilePath(); - TodoReturn readFile(); - TodoReturn saveFile(); -} - -[[link(android)]] -class FileSaveManager : GManager { - // virtual ~FileSaveManager(); - - static FileSaveManager* sharedState(); - - TodoReturn getStoreData(); - TodoReturn loadDataFromFile(char const*); - - virtual bool init(); - virtual void firstLoad(); -} - -[[link(android)]] -class FindBPMLayer : CreateGuidelinesLayer { - // virtual ~FindBPMLayer(); - - static FindBPMLayer* create(int); - - TodoReturn calculateBPM(); - bool init(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual TodoReturn playMusic(); - virtual TodoReturn registerTouch(); - virtual void onInfo(cocos2d::CCObject* sender) {} - virtual void onRecord(cocos2d::CCObject* sender); - virtual TodoReturn recordingDidStop(); -} - -[[link(android)]] -class FindObjectPopup : SetIDPopup { - // virtual ~FindObjectPopup(); - - static FindObjectPopup* create(); - - void onFindObjectID(cocos2d::CCObject* sender); - - virtual bool init(); -} - -[[link(android)]] -class FLAlertLayer : cocos2d::CCLayerColor { - ~FLAlertLayer() { - if (m_forcePrioRegistered) { - cocos2d::CCTouchDispatcher::get()->unregisterForcePrio(this); - } - } - FLAlertLayer() { - m_buttonMenu = nullptr; - m_controlConnected = -1; - m_mainLayer = nullptr; - m_ZOrder = 0; - m_noElasticity = false; - m_reverseKeyBack = false; - m_scene = nullptr; - m_alertProtocol = nullptr; - m_scrollingLayer = nullptr; - m_button2 = nullptr; - m_button1 = nullptr; - m_joystickConnected = -1; - m_containsBorder = 0; - m_forcePrioRegistered = false; - } - - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2, float width, bool scroll, float height, float textScale) = ios 0x2b3d40; - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2, float width) = ios 0x2b3e4c; - static FLAlertLayer* create(FLAlertLayerProtocol* delegate, char const* title, gd::string desc, char const* btn1, char const* btn2) = ios 0x2b3c9c; - - static FLAlertLayer* create(char const* title, const gd::string& desc, char const* btn) { - return FLAlertLayer::create(nullptr, title, desc, btn, nullptr, 300.0); - } - - void incrementForcePrio() = ios 0x2ee4f4; - bool init(FLAlertLayerProtocol*, char const*, gd::string, char const*, char const*, float, bool, float, float) = ios 0x2b3ef8; - bool init(int) = ios 0x2b4834; - void onBtn1(cocos2d::CCObject* sender) = ios 0x2b4934; - void onBtn2(cocos2d::CCObject* sender) = ios 0x2b4994; - - // virtual void onEnter(); // only exists on armv7... - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked() = ios 0x2b4a24; - virtual void keyDown(cocos2d::enumKeyCodes) = ios 0x2b49f4; - virtual void show() = ios 0x2b4cf0; - - cocos2d::CCMenu* m_buttonMenu; - FLAlertLayerProtocol* m_alertProtocol; - cocos2d::CCNode* m_scene; - bool m_reverseKeyBack; - cocos2d::ccColor3B m_color; - cocos2d::CCLayer* m_mainLayer; - int m_ZOrder; - bool m_noElasticity; - cocos2d::ccColor3B m_color2; - ButtonSprite* m_button1; - ButtonSprite* m_button2; - ScrollingLayer* m_scrollingLayer; - int m_controlConnected; - bool m_containsBorder; - bool m_noAction; - int m_joystickConnected; - bool m_forcePrioRegistered; -} - -[[link(android)]] -class FLAlertLayerProtocol { - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class FMODAudioEngine : cocos2d::CCNode { - // virtual ~FMODAudioEngine(); - // FMODAudioEngine(); - - static FMODAudioEngine* sharedEngine(); - - TodoReturn activateQueuedMusic(int); - TodoReturn channelForChannelID(int); - TodoReturn channelForUniqueID(int); - TodoReturn channelIDForUniqueID(int); - TodoReturn channelLinkSound(int, FMODSound*); - TodoReturn channelStopped(FMOD::Channel*, bool); - TodoReturn channelUnlinkSound(int); - void clearAllAudio(); - TodoReturn countActiveEffects(); - TodoReturn countActiveMusic(); - TodoReturn createStream(gd::string); - void disableMetering(); - void enableMetering(); - TodoReturn fadeInBackgroundMusic(float); - TodoReturn fadeInMusic(float, int); - TodoReturn fadeOutMusic(float, int); - TodoReturn getActiveMusic(int); - TodoReturn getActiveMusicChannel(int); - float getBackgroundMusicVolume(); - TodoReturn getChannelGroup(int, bool); - inline float getEffectsVolume() { - return m_sfxVolume; - } - TodoReturn getFMODStatus(int); - float getMeteringValue(); - TodoReturn getMusicChannelID(int); - TodoReturn getMusicLengthMS(int); - TodoReturn getMusicTime(int); - TodoReturn getMusicTimeMS(int); - TodoReturn getNextChannelID(); - TodoReturn getTweenContainer(AudioTargetType); - bool isChannelStopping(int); - bool isEffectLoaded(gd::string); - bool isMusicPlaying(gd::string, int); - bool isMusicPlaying(int); - bool isSoundReady(FMOD::Sound*); - TodoReturn lengthForSound(gd::string); - TodoReturn loadAndPlayMusic(gd::string, unsigned int, int); - TodoReturn loadAudioState(FMODAudioState&); - void loadMusic(gd::string, float, float, float, bool, int, int); - void loadMusic(gd::string); - TodoReturn pauseAllAudio(); - TodoReturn pauseAllEffects(); - TodoReturn pauseAllMusic(); - TodoReturn pauseEffect(unsigned int); - TodoReturn pauseMusic(int); - TodoReturn pitchForIdx(int); - void playEffect(gd::string, float, float, float); - void playEffect(gd::string); - void playEffectAdvanced(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, bool, int, int, float, int); - TodoReturn playEffectAsync(gd::string); - void playMusic(gd::string, bool, float, int); - TodoReturn preloadEffect(gd::string); - TodoReturn preloadEffectAsync(gd::string); - TodoReturn preloadMusic(gd::string, bool, int); - TodoReturn printResult(FMOD_RESULT); - TodoReturn queuedEffectFinishedLoading(gd::string); - TodoReturn queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int); - TodoReturn queueStartMusic(gd::string, float, float, float, bool, int, int, int, int, int, bool, int, bool); - TodoReturn registerChannel(FMOD::Channel*, int, int); - void releaseRemovedSounds(); - TodoReturn resumeAllAudio(); - TodoReturn resumeAllEffects(); - TodoReturn resumeAllMusic(); - TodoReturn resumeAudio(); - TodoReturn resumeEffect(unsigned int); - TodoReturn resumeMusic(int); - TodoReturn reverbToString(FMODReverbPreset); - TodoReturn saveAudioState(FMODAudioState&); - void setBackgroundMusicVolume(float); - void setChannelPitch(int, AudioTargetType, float); - void setChannelVolume(int, AudioTargetType, float); - void setChannelVolumeMod(int, AudioTargetType, float); - void setEffectsVolume(float); - void setMusicTimeMS(unsigned int, bool, int); - void setup(); - TodoReturn setupAudioEngine(); - void start(); - void startMusic(int, int, int, int, bool, int, bool); - TodoReturn stop(); - void stopAllEffects(); - void stopAllMusic(); - TodoReturn stopAndGetFade(FMOD::Channel*); - TodoReturn stopAndRemoveMusic(int); - TodoReturn stopChannel(FMOD::Channel*, bool, float); - TodoReturn stopChannel(int, AudioTargetType, bool, float); - TodoReturn stopChannel(int); - TodoReturn stopChannelTween(int, AudioTargetType, AudioModType); - TodoReturn stopChannelTweens(int, AudioTargetType); - TodoReturn stopMusic(int); - TodoReturn stopMusicNotInSet(std::unordered_set, std::equal_to, std::allocator >&); - TodoReturn storeEffect(FMOD::Sound*, gd::string); - TodoReturn swapMusicIndex(int, int); - TodoReturn testFunction(int); - TodoReturn triggerQueuedMusic(FMODQueuedMusic); - TodoReturn unloadAllEffects(); - TodoReturn unloadEffect(gd::string); - TodoReturn unregisterChannel(int); - void updateBackgroundFade(); - TodoReturn updateChannel(int, AudioTargetType, AudioModType, float, float); - TodoReturn updateChannelTweens(float); - void updateMetering(); - TodoReturn updateQueuedEffects(); - void updateQueuedMusic(); - TodoReturn updateReverb(FMODReverbPreset, bool); - void updateTemporaryEffects(); - TodoReturn waitUntilSoundReady(FMOD::Sound*); - - virtual void update(float); - - PAD = win 0x60, android32 0x50, android64 0xac; - float m_musicVolume; - float m_sfxVolume; - PAD = win 0x1c, android32 0x20, android64 0x20; - FMOD::Channel* m_backgroundMusicChannel; - FMOD::System* m_system; -} - -[[link(android)]] -class FMODAudioState { - // ~FMODAudioState(); - // FMODAudioState(); -} - -[[link(android)]] -class FMODLevelVisualizer : cocos2d::CCNode { - // virtual ~FMODLevelVisualizer(); - - static FMODLevelVisualizer* create(); - - void updateVisualizer(float, float, float); - - virtual bool init(); -} - -[[link(android)]] -class FollowRewardPage : FLAlertLayer, FLAlertLayerProtocol, GameRateDelegate, RewardedVideoDelegate { - // virtual ~FollowRewardPage(); - - static FollowRewardPage* create(); - - void onClose(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn rewardedVideoFinished(); - virtual void updateRate(); -} - -[[link(android)]] -class FontObject : cocos2d::CCObject { - // virtual ~FontObject(); - - TodoReturn createWithConfigFile(char const*, float); - TodoReturn getFontWidth(int); - TodoReturn initWithConfigFile(char const*, float); - TodoReturn parseConfigFile(char const*, float); -} - -[[link(android)]] -class ForceBlockGameObject : EffectGameObject { - // virtual ~ForceBlockGameObject(); - - static ForceBlockGameObject* create(char const*); - - TodoReturn calculateForceToTarget(GameObject*); - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class FRequestProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, FriendRequestDelegate { - // virtual ~FRequestProfilePage(); - - static FRequestProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool); - bool isCorrect(char const*); - void loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentRequests(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void onClosePopup(UploadActionPopup*); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual void setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestDelegate { - virtual TodoReturn loadFRequestsFinished(cocos2d::CCArray*, char const*); - virtual TodoReturn loadFRequestsFailed(char const*, GJErrorCode); - virtual void setupPageInfo(gd::string, char const*); - virtual TodoReturn forceReloadRequests(bool); -} - -[[link(android)]] -class FriendRequestPopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~FriendRequestPopup(); - - static FriendRequestPopup* create(GJFriendRequest*); - - void blockUser(); - bool init(GJFriendRequest*); - void loadFromGJFriendRequest(GJFriendRequest*); - void onAccept(cocos2d::CCObject* sender); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class FriendsProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, UserListDelegate { - // virtual ~FriendsProfilePage(); - - static FriendsProfilePage* create(UserListType); - - bool init(UserListType); - void onBlocked(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void setupUsersBrowser(cocos2d::CCArray*, UserListType); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void getUserListFinished(cocos2d::CCArray*, UserListType); - virtual void getUserListFailed(UserListType, GJErrorCode); - virtual void userListChanged(cocos2d::CCArray*, UserListType); - virtual void forceReloadList(UserListType); -} - -[[link(android)]] -class GameCell : TableViewCell { - // virtual ~GameCell(); - GameCell(char const*, float, float); - - void loadFromString(gd::string); - void onTouch(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GameEffectsManager : cocos2d::CCNode { - // virtual ~GameEffectsManager(); - - static GameEffectsManager* create(PlayLayer*); - - TodoReturn addParticleEffect(cocos2d::CCParticleSystemQuad*, int); - bool init(PlayLayer*); - TodoReturn scaleParticle(cocos2d::CCParticleSystemQuad*, float); -} - -[[link(android)]] -class GameLevelManager : cocos2d::CCNode { - // virtual ~GameLevelManager(); - - static GameLevelManager* sharedState(); - static GameLevelManager* get() { - return GameLevelManager::sharedState(); - } - - void acceptFriendRequest(int, int); - int accountIDForUserID(int userID); - void addDLToActive(char const* tag); - bool areGauntletsLoaded(); - void banUser(int); - void blockUser(int); - void cleanupDailyLevels(); - bool createAndGetAccountComments(gd::string, int); - bool createAndGetCommentsFull(gd::string, int, bool); - bool createAndGetLevelComments(gd::string, int); - cocos2d::CCArray* createAndGetLevelLists(gd::string); - cocos2d::CCArray* createAndGetLevels(gd::string); - cocos2d::CCArray* createAndGetMapPacks(gd::string); - cocos2d::CCArray* createAndGetScores(gd::string, GJScoreType); - GJGameLevel* createNewLevel(); - GJLevelList* createNewLevelList(); - TodoReturn createPageInfo(int, int, int); - GJSmartTemplate* createSmartTemplate(); - void dataLoaded(DS_Dictionary*); - void deleteAccountComment(int, int); - void deleteComment(int, CommentType, int); - void deleteFriendRequests(int, cocos2d::CCArray*, bool); - void deleteLevel(GJGameLevel*); - void deleteLevelComment(int, int); - void deleteLevelList(GJLevelList*); - void deleteSentFriendRequest(int); - void deleteServerLevel(int); - void deleteServerLevelList(int); - void deleteSmartTemplate(GJSmartTemplate*); - void deleteUserMessages(GJUserMessage* message, cocos2d::CCArray* messages, bool isSender); - void downloadLevel(int, bool); - void downloadUserMessage(int, bool); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - void followUser(int); - GJFriendRequest* friendRequestFromAccountID(int); - void friendRequestWasRemoved(int, bool); - char const* getAccountCommentKey(int, int); - void getAccountComments(int accountID, int page, int total); - int getActiveDailyID(GJTimedLevelType); - GJSmartTemplate* getActiveSmartTemplate(); - cocos2d::CCArray* getAllSmartTemplates(); - cocos2d::CCDictionary* getAllUsedSongIDs(); - gd::string getBasePostString(); - bool getBoolForKey(char const*); - gd::string getCommentKey(int ID, int page, int mode, CommentKeyType keytype); - TodoReturn getCompletedDailyLevels(); - TodoReturn getCompletedGauntletDemons(); - TodoReturn getCompletedGauntletLevels(); - cocos2d::CCArray* getCompletedLevels(bool); - TodoReturn getCompletedWeeklyLevels(); - int getDailyID(GJTimedLevelType); - double getDailyTimer(GJTimedLevelType); - char const* getDeleteCommentKey(int, int, int); - char const* getDeleteMessageKey(int, bool); - TodoReturn getDemonLevelsString(); - char const* getDescKey(int); - gd::string getActiveDailyID(bool, bool, bool, bool, bool, bool, bool, bool); - char const* getDiffKey(int); - bool getDiffVal(int); - gd::string getFolderName(int, bool); - char const* getFriendRequestKey(bool, int); - void getFriendRequests(bool, int, int); - char const* getGauntletKey(int); - void getGauntletLevels(int); - void getGauntlets(); - void getGauntletsearchKey(int); - void getGJChallenges(); - void getGJDailyLevelState(GJTimedLevelType); - void getGJRewards(int); - void getGJUserInfo(int); - int getHighestLevelOrder(); - int getIntForKey(char const*); - void getLeaderboardScores(char const*); - gd::string getLengthStr(bool, bool, bool, bool, bool, bool); - char const* getLenKey(int len); - bool getLenVal(int); - void getLevelComments(int ID, int page, int total, int mode, CommentKeyType keytype); - char const* getLevelDownloadKey(int levelID, bool isGauntlet) { - return cocos2d::CCString::createWithFormat("%i_%i", levelID, isGauntlet)->getCString(); - } - char const* getLevelKey(int levelID); - void getLevelLeaderboard(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode); - char const* getLevelLeaderboardKey(int, LevelLeaderboardType, LevelLeaderboardMode); - char const* getLevelListKey(int); - void getLevelLists(GJSearchObject*); - void getLevelSaveData(); - char const* getLikeAccountItemKey(LikeItemType, int, bool, int); - char const* getLikeItemKey(LikeItemType, int, bool, int); - GJGameLevel* getLocalLevel(int); - GJGameLevel* getLocalLevelByName(gd::string); - GJLevelList* getAllUsedSongIDs(int); - int getLowestLevelOrder(); - GJGameLevel* getMainLevel(int, bool); - char const* getMapPackKey(int pack); - void getMapPacks(GJSearchObject*); - char const* getMessageKey(int); - char const* getMessagesKey(bool, int); - void getNews(); - int getNextFreeTemplateID(); - gd::string getNextLevelName(gd::string); - void getOnlineLevels(GJSearchObject*); - char const* getPageInfo(char const*); - char const* getPostCommentKey(int); - char const* getRateStarsKey(int key); - char const* getReportKey(int); - GJGameLevel* getSavedDailyLevel(int); - GJGameLevel* getSavedDailyLevelFromLevelID(int); - GJGameLevel* getSavedGauntlet(int); - GJGameLevel* getSavedGauntletLevel(int); - GJGameLevel* getSavedLevel(GJGameLevel*); - GJGameLevel* getSavedLevel(int); - GJLevelList* getSavedLevelList(int); - cocos2d::CCArray* getSavedLevelLists(int); - cocos2d::CCArray* getSavedLevels(bool, int); - TodoReturn getSavedMapPack(int); - cocos2d::CCScene* getSearchScene(char const*); - int getSplitIntFromKey(char const*, int); - TodoReturn getStarLevelsString(); - TodoReturn getStoredLevelComments(char const*); - cocos2d::CCArray* getStoredOnlineLevels(char const*); - cocos2d::CCArray* getStoredUserList(UserListType); - GJUserMessage* getStoredUserMessage(int); - GJUserMessage* getStoredUserMessageReply(int); - double getTimeLeft(char const*, float); - void getTopArtists(int page, int total); - char const* getTopArtistsKey(int page) { - return cocos2d::CCString::createWithFormat("topArtists_%i", page)->getCString(); - } - char const* getUploadMessageKey(int); - char const* getUserInfoKey(int); - void getUserList(UserListType); - void getUserMessages(bool, int, int); - void getUsers(GJSearchObject*); - void gotoLevelPage(GJGameLevel*); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool hasDailyStateBeenLoaded(GJTimedLevelType); - bool hasDownloadedLevel(int); - bool hasDownloadedList(int); - bool hasLikedAccountItem(LikeItemType, int, bool, int); - bool hasLikedItem(LikeItemType, int, bool, int); - bool hasLikedItemFullCheck(LikeItemType, int, int); - bool hasRatedDemon(int); - bool hasRatedLevelStars(int); - bool hasReportedLevel(int); - void invalidateMessages(bool, bool); - void invalidateRequests(bool, bool); - void invalidateUserList(UserListType, bool); - bool isDLActive(char const* tag); - bool isFollowingUser(int); - bool isTimeValid(char const*, float); - bool isUpdateValid(int); - int itemIDFromLikeKey(char const*); - bool keyHasTimer(char const*); - int levelIDFromCommentKey(char const*); - int levelIDFromPostCommentKey(char const*); - int likeFromLikeKey(char const*); - void likeItem(LikeItemType, int, bool, int); - void limitSavedLevels(); - void makeTimeStamp(char const*); - void markItemAsLiked(LikeItemType, int, bool, int); - void markLevelAsDownloaded(int); - void markLevelAsRatedDemon(int); - void markLevelAsRatedStars(int); - void markLevelAsReported(int); - void markListAsDownloaded(int id) { - this->markLevelAsDownloaded(-id); - } - void messageWasRemoved(int, bool); - void onAcceptFriendRequestCompleted(gd::string response, gd::string tag); - void onBanUserCompleted(gd::string response, gd::string tag); - void onBlockUserCompleted(gd::string response, gd::string tag); - void onDeleteCommentCompleted(gd::string response, gd::string tag); - void onDeleteFriendRequestCompleted(gd::string response, gd::string tag); - void onDeleteServerLevelCompleted(gd::string response, gd::string tag); - void onDeleteServerLevelListCompleted(gd::string response, gd::string tag); - void onDeleteUserMessagesCompleted(gd::string response, gd::string tag); - void onDownloadLevelCompleted(gd::string response, gd::string tag); - void onDownloadUserMessageCompleted(gd::string response, gd::string tag); - void onGetAccountCommentsCompleted(gd::string response, gd::string tag); - void onGetFriendRequestsCompleted(gd::string response, gd::string tag); - void onGetGauntletsCompleted(gd::string response, gd::string tag); - void onGetGJChallengesCompleted(gd::string response, gd::string tag); - void onGetGJDailyLevelStateCompleted(gd::string response, gd::string tag); - void onGetGJRewardsCompleted(gd::string response, gd::string tag); - void onGetGJUserInfoCompleted(gd::string response, gd::string tag); - void onGetLeaderboardScoresCompleted(gd::string response, gd::string tag); - void onGetLevelCommentsCompleted(gd::string response, gd::string tag); - void onGetLevelLeaderboardCompleted(gd::string response, gd::string tag); - void onGetLevelListsCompleted(gd::string response, gd::string tag); - void onGetLevelSaveDataCompleted(gd::string response, gd::string tag); - void onGetMapPacksCompleted(gd::string response, gd::string tag); - void onGetNewsCompleted(gd::string response, gd::string tag); - void onGetOnlineLevelsCompleted(gd::string response, gd::string tag); - void onGetTopArtistsCompleted(gd::string response, gd::string tag); - void onGetUserListCompleted(gd::string response, gd::string tag); - void onGetUserMessagesCompleted(gd::string response, gd::string tag); - void onGetUsersCompleted(gd::string response, gd::string tag); - void onLikeItemCompleted(gd::string response, gd::string tag); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient* client, cocos2d::extension::CCHttpResponse* response); - void onRateDemonCompleted(gd::string response, gd::string tag); - void onRateStarsCompleted(gd::string response, gd::string tag); - void onReadFriendRequestCompleted(gd::string response, gd::string tag); - void onRemoveFriendCompleted(gd::string response, gd::string tag); - void onReportLevelCompleted(gd::string response, gd::string tag); - void onRequestUserAccessCompleted(gd::string response, gd::string tag); - void onRestoreItemsCompleted(gd::string response, gd::string tag); - void onSetLevelFeaturedCompleted(gd::string response, gd::string tag); - void onSetLevelStarsCompleted(gd::string response, gd::string tag); - void onSubmitUserInfoCompleted(gd::string response, gd::string tag); - void onSuggestLevelStarsCompleted(gd::string response, gd::string tag); - void onUnblockUserCompleted(gd::string response, gd::string tag); - void onUpdateDescriptionCompleted(gd::string response, gd::string tag); - void onUpdateLevelCompleted(gd::string response, gd::string tag); - void onUpdateUserScoreCompleted(gd::string response, gd::string tag); - void onUploadCommentCompleted(gd::string response, gd::string tag); - void onUploadFriendRequestCompleted(gd::string response, gd::string tag); - void onUploadLevelCompleted(gd::string response, gd::string tag); - void onUploadLevelListCompleted(gd::string response, gd::string tag); - void onUploadUserMessageCompleted(gd::string response, gd::string tag); - int pageFromCommentKey(char const*); - void parseRestoreData(gd::string); - void performNetworkTest(); - void ProcessHttpRequest(gd::string endpoint, gd::string params, gd::string tag, GJHttpType httpType); - void processOnDownloadLevelCompleted(gd::string, gd::string, bool); - void purgeUnusedLevels(); - void rateDemon(int, int, bool); - void rateStars(int, int); - void readFriendRequest(int); - TodoReturn removeDelimiterChars(gd::string, bool); - void removeDLFromActive(char const* tag); - void removeFriend(int); - void removeLevelDownloadedKeysFromDict(cocos2d::CCDictionary*); - void removeUserFromList(int, UserListType); - void reportLevel(int); - void requestUserAccess(); - void resetAccountComments(int); - void resetAllTimers(); - void resetCommentTimersForLevelID(int, CommentKeyType); - void resetDailyLevelState(GJTimedLevelType); - void resetGauntlets(); - inline void resetStoredUserInfo(int id) { - m_storedUserInfo->removeObjectForKey(id); - } - void resetStoredUserList(UserListType); - void resetTimerForKey(char const*); - static cocos2d::CCDictionary* responseToDict(gd::string, bool); - void restoreItems(); - void saveFetchedLevelLists(cocos2d::CCArray*); - void saveFetchedLevels(cocos2d::CCArray*); - void saveFetchedMapPacks(cocos2d::CCArray*); - void saveGauntlet(GJMapPack*); - void saveLevel(GJGameLevel*); - void saveLevelList(GJLevelList*); - void saveLocalScore(int, int, int); - void saveMapPack(GJMapPack*); - void setActiveSmartTemplate(GJSmartTemplate*); - void setBoolForKey(bool, char const*); - void setDiffVal(int, bool); - void setFolderName(int, gd::string, bool); - void setIntForKey(int, char const*); - void setLenVal(int, bool); - void setLevelFeatured(int, int, bool); - void setLevelStars(int, int, bool); - int specialFromLikeKey(char const*); - void storeCommentsResult(cocos2d::CCArray*, gd::string, char const*); - void storeDailyLevelState(int, int, GJTimedLevelType); - void storeFriendRequest(GJFriendRequest*); - void storeSearchResult(cocos2d::CCArray* levels, gd::string pageInfo, char const* searchKey); - void storeUserInfo(GJUserScore*); - void storeUserMessage(GJUserMessage*); - void storeUserMessageReply(int, GJUserMessage*); - void storeUserName(int userID, int accountID, gd::string userName); - void storeUserNames(gd::string usernameString); - void submitUserInfo(); - void suggestLevelStars(int, int, int); - gd::string tryGetUsername(int); - CommentType typeFromCommentKey(char const*); - LikeItemType typeFromLikeKey(char const*); - void unblockUser(int); - void unfollowUser(int); - void updateDescription(int, gd::string); - void updateLevel(GJGameLevel*); - void updateLevelOrders(); - void updateLevelRewards(GJGameLevel*); - void updateSavedLevelList(GJLevelList*); - void updateUsernames(); - void updateUserScore(); - void uploadAccountComment(gd::string); - void uploadComment(gd::string, CommentType, int, int); - void uploadFriendRequest(int, gd::string); - void uploadLevel(GJGameLevel*); - void uploadLevelComment(int, gd::string, int); - void uploadLevelList(GJLevelList*); - void uploadUserMessage(int, gd::string, gd::string); - int userIDForAccountID(int); - GJUserScore* userInfoForAccountID(int); - gd::string userNameForUserID(int); - TodoReturn verifyContainerOnlyHasLevels(cocos2d::CCDictionary*); - void verifyLevelState(GJGameLevel*); - gd::string writeSpecialFilters(GJSearchObject*); - - virtual bool init(); - - PAD = win 0x8, android32 0x18, android64 0x30; - cocos2d::CCDictionary* m_mainLevels; - cocos2d::CCDictionary* m_searchFilters; - cocos2d::CCDictionary* m_onlineLevels; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_followedCreators; - cocos2d::CCDictionary* m_GLM21; - cocos2d::CCDictionary* m_downloadedLevels; - cocos2d::CCDictionary* m_likedLevels; - cocos2d::CCDictionary* m_ratedLevels; - cocos2d::CCDictionary* m_ratedDemons; - cocos2d::CCDictionary* m_reportedLevels; - cocos2d::CCDictionary* m_onlineFolders; - cocos2d::CCDictionary* m_localLevelsFolders; - cocos2d::CCDictionary* m_dailyLevels; - int m_dailyTimeLeft; - int m_dailyID; - int m_dailyIDUnk; - int m_weeklyTimeLeft; - int m_weeklyID; - int m_weeklyIDUnk; - int m_eventTimeLeft; - int m_eventID; - int m_eventIDUnk; - cocos2d::CCDictionary* m_gauntletLevels; - gd::map m_availableFilters; - cocos2d::CCDictionary* m_timerDict; - cocos2d::CCDictionary* m_knownUsers; - cocos2d::CCDictionary* m_accountIDtoUserIDDict; - cocos2d::CCDictionary* m_userIDtoAccountIDDict; - cocos2d::CCDictionary* m_storedLevels; - cocos2d::CCDictionary* m_pageInfo; - cocos2d::CCDictionary* m_unkDict20; - cocos2d::CCDictionary* m_savedPacks; - cocos2d::CCDictionary* m_savedGauntlets; - cocos2d::CCDictionary* m_downloadObjects; - cocos2d::CCDictionary* m_friendReqAndUserBlocks; - cocos2d::CCDictionary* m_storedUserInfo; - cocos2d::CCDictionary* m_friendRequests; - cocos2d::CCDictionary* m_userMessages; - cocos2d::CCDictionary* m_userReplies; - gd::string m_unkStr1; - gd::string m_unkStr2; - LeaderboardState m_leaderboardState; - bool m_unkEditLevelLayerOnBack; - LevelManagerDelegate* m_levelManagerDelegate; - LevelDownloadDelegate* m_levelDownloadDelegate; - LevelCommentDelegate* m_levelCommentDelegate; - CommentUploadDelegate* m_commentUploadDelegate; - LevelUploadDelegate* m_levelUploadDelegate; - ListUploadDelegate* m_listUploadDelegate; - LevelUpdateDelegate* m_levelUpdateDelegate; - LeaderboardManagerDelegate* m_leaderboardManagerDelegate; - LevelDeleteDelegate* m_levelDeleteDelegate; - LevelListDeleteDelegate* m_levelListDeleteDelegate; - UserInfoDelegate* m_userInfoDelegate; - void* m_unkDelegate; - UserListDelegate* m_userListDelegate; - FriendRequestDelegate* m_friendRequestDelegate; - MessageListDelegate* m_messageListDelegate; - DownloadMessageDelegate* m_downloadMessageDelegate; - UploadMessageDelegate* m_uploadMessageDelegate; - GJRewardDelegate* m_GJRewardDelegate; - GJChallengeDelegate* m_GJChallengeDelegate; - GJDailyLevelDelegate* m_GJDailyLevelDelegate; - OnlineListDelegate* m_onlineListDelegate; - int m_unkDownload; - PAD = win 0x4; - gd::string m_unkStr3; - cocos2d::CCString* m_unkStr4; -} - -[[link(android)]] -class GameLevelOptionsLayer : GJOptionsLayer { - // virtual ~GameLevelOptionsLayer(); - - static GameLevelOptionsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - - virtual void setupOptions(); - virtual void didToggle(int); -} - -[[link(android), depends(UIButtonConfig)]] -class GameManager : GManager { - // virtual ~GameManager(); - - static GameManager* get() { - return GameManager::sharedState(); - } - - static GameManager* sharedState() = ios 0x318608; - - PlayLayer* getPlayLayer() { - return m_playLayer; - } - - LevelEditorLayer* getEditorLayer() { - return m_levelEditorLayer; - } - - GJBaseGameLayer* getGameLayer() { - return m_gameLayer; - } - - int getPlayerFrame() { - return m_playerFrame; - } - int getPlayerShip() { - return m_playerShip; - } - int getPlayerBall() { - return m_playerBall; - } - int getPlayerBird() { - return m_playerBird; - } - int getPlayerDart() { - return m_playerDart; - } - int getPlayerRobot() { - return m_playerRobot; - } - int getPlayerSpider() { - return m_playerSpider; - } - int getPlayerSwing() { - return m_playerSwing; - } - int getPlayerGlowColor() { - return m_playerGlowColor; - } - int getPlayerStreak() { - return m_playerStreak; - } - int getPlayerShipFire() { - return m_playerShipFire; - } - int getPlayerDeathEffect() { - return m_playerDeathEffect; - } - int getPlayerJetpack() { - return m_playerJetpack; - } - int getPlayerColor() { - return m_playerColor; - } - int getPlayerColor2() { - return m_playerColor2; - } - bool getPlayerGlow() { - return m_playerGlow; - } - void setPlayerFrame(int id) { - m_playerFrame = id; - } - void setPlayerShip(int id) { - m_playerShip = id; - } - void setPlayerBall(int id) { - m_playerBall = id; - } - void setPlayerBird(int id) { - m_playerBird = id; - } - void setPlayerDart(int id) { - m_playerDart = id; - } - void setPlayerRobot(int id) { - m_playerRobot = id; - } - void setPlayerSpider(int id) { - m_playerSpider = id; - } - void setPlayerSwing(int id) { - m_playerSwing = id; - } - void setPlayerColor3(int id) { - m_playerGlowColor = id; - } - void setPlayerStreak(int id) { - m_playerStreak = id; - } - void setPlayerShipStreak(int id) { - m_playerShipFire = id; - } - void setPlayerDeathEffect(int id) { - m_playerDeathEffect = id; - } - void setPlayerJetpack(int id) { - m_playerJetpack = id; - } - void setPlayerColor(int id) { - m_playerColor = id; - } - void setPlayerColor2(int id) { - m_playerColor2 = id; - } - void setPlayerGlow(bool v) { - m_playerGlow = v; - } - bool getGameVariableDefault(const char* key, bool defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->boolValue(); - } - int getIntGameVariableDefault(const char* key, int defaultValue) { - //helper function - auto object = static_cast(m_valueKeeper->objectForKey(std::string("gv_") + key)); - if (object == nullptr) - return defaultValue; - return object->intValue(); - } - - TodoReturn accountStatusChanged(); - int activeIconForType(IconType); - TodoReturn addCustomAnimationFrame(int, int, gd::string, gd::string); - TodoReturn addDuplicateLastFrame(int); - TodoReturn addGameAnimation(int, int, float, gd::string, gd::string, int); - TodoReturn addIconDelegate(cocos2d::CCObject*, int); - TodoReturn addNewCustomObject(gd::string); - TodoReturn addToGJLog(cocos2d::CCString*); - TodoReturn applicationDidEnterBackground(); - TodoReturn applicationWillEnterForeground(); - TodoReturn calculateBaseKeyForIcons(); - TodoReturn canShowRewardedVideo(); - TodoReturn checkSteamAchievementUnlock(); - TodoReturn checkUsedIcons(); - TodoReturn claimItemsResponse(gd::string); - TodoReturn clearGJLog(); - cocos2d::ccColor3B colorForIdx(int); - TodoReturn colorForPos(int); - TodoReturn colorKey(int, UnlockType); - TodoReturn completedAchievement(gd::string); - int countForType(IconType); - TodoReturn defaultFrameForAnimation(int); - TodoReturn didExitPlayscene(); - TodoReturn doQuickSave(); - TodoReturn dpadConfigToString(UIButtonConfig&); - TodoReturn eventUnlockFeature(char const*); - void fadeInMenuMusic(); - TodoReturn fadeInMusic(gd::string); - TodoReturn finishedLoadingBGAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync(int); - TodoReturn finishedLoadingGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingGAsync2(cocos2d::CCObject*); - TodoReturn finishedLoadingIconAsync(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync(int); - TodoReturn finishedLoadingMGAsync1(cocos2d::CCObject*); - TodoReturn finishedLoadingMGAsync2(cocos2d::CCObject*); - TodoReturn followTwitch(); - TodoReturn followTwitter(); - TodoReturn framesForAnimation(int); - TodoReturn frameTimeForAnimation(int); - TodoReturn generateSecretNumber(); - TodoReturn getBGTexture(int); - TodoReturn getFontFile(int); - TodoReturn getFontTexture(int); - bool getGameVariable(char const*) = ios 0x318b58; - TodoReturn getGTexture(int); - int getIconRequestID() { - return m_iconRequestID++; - } - int getIntGameVariable(char const*); - TodoReturn getMenuMusicFile(); - TodoReturn getMGTexture(int); - TodoReturn getNextUniqueObjectKey(); - TodoReturn getNextUsedKey(int, bool); - TodoReturn getOrderedCustomObjectKeys(); - TodoReturn getPracticeMusicFile(); - bool getUGV(char const*); - TodoReturn getUnlockForAchievement(gd::string, int&, UnlockType&); - TodoReturn groundHasSecondaryColor(int); - TodoReturn iconAndTypeForKey(int, int&, int&); - TodoReturn iconKey(int, IconType); - UnlockType iconTypeToUnlockType(IconType); - bool isColorUnlocked(int, UnlockType); - bool isIconLoaded(int, int); - bool isIconUnlocked(int, IconType); - TodoReturn itemPurchased(char const*); - TodoReturn joinDiscord(); - TodoReturn joinReddit(); - int keyForIcon(int iconIdx, int iconEnum) { - return m_keyStartForIcon->at(iconEnum) + iconIdx - 1; - } - TodoReturn levelIsPremium(int, int); - TodoReturn likeFacebook(); - void loadBackground(int); - void loadBackgroundAsync(int); - void loadDeathEffect(int); - TodoReturn loadDpadFromString(UIButtonConfig&, gd::string); - TodoReturn loadDPadLayout(int, bool); - TodoReturn loadFont(int); - void loadGround(int); - void loadGroundAsync(int); - cocos2d::CCTexture2D* loadIcon(int, int, int); - TodoReturn loadIconAsync(int, int, int, cocos2d::CCObject*); - void loadMiddleground(int); - void loadMiddlegroundAsync(int); - TodoReturn loadVideoSettings(); - TodoReturn lockColor(int, UnlockType); - TodoReturn lockIcon(int, IconType); - TodoReturn logLoadedIconInfo(); - void openEditorGuide(); - TodoReturn playMenuMusic(); - TodoReturn playSFXTrigger(SFXTriggerGameObject*); - TodoReturn prepareDPadSettings(); - TodoReturn printGJLog(); - TodoReturn queueReloadMenu(); - TodoReturn rateGame(); - void recountUserStats(gd::string); - void reloadAll(bool switchModes, bool toFullscreen, bool borderless, bool unused) = ios 0x323d54; - void reloadAll(bool switchModes, bool toFullscreen, bool unused) { - return this->reloadAll(switchModes, toFullscreen, false, unused); - } - void reloadAllStep2(); - void reloadAllStep3(); - void reloadAllStep4(); - void reloadAllStep5(); - TodoReturn reloadMenu(); - TodoReturn removeCustomObject(int); - TodoReturn removeIconDelegate(int); - TodoReturn reorderKey(int, bool); - TodoReturn reportAchievementWithID(char const*, int, bool); - TodoReturn reportPercentageForLevel(int, int, bool); - TodoReturn resetAchievement(gd::string); - TodoReturn resetAdTimer(); - TodoReturn resetAllIcons(); - TodoReturn resetCoinUnlocks(); - TodoReturn resetDPadSettings(bool); - TodoReturn resolutionForKey(int); - void returnToLastScene(GJGameLevel*); - TodoReturn rewardedVideoAdFinished(int); - TodoReturn rewardedVideoHidden(); - TodoReturn rewardedVideoHiddenDelayed(); - void safePopScene(); - TodoReturn saveAdTimer(); - TodoReturn saveDPadLayout(int, bool); - void setGameVariable(char const*, bool); - void setHasRatingPower(int); - void setIntGameVariable(char const*, int); - // void setPlayerBall(int); - // void setPlayerBird(int); - // void setPlayerColor(int); - // void setPlayerColor2(int); - // void setPlayerColor3(int); - // void setPlayerDart(int); - // void setPlayerDeathEffect(int); - // void setPlayerFrame(int); - // void setPlayerJetpack(int); - // void setPlayerRobot(int); - // void setPlayerShip(int); - // void setPlayerShipStreak(int); - // void setPlayerSpider(int); - // void setPlayerStreak(int); - // void setPlayerSwing(int); - void setPlayerUserID(int); - void setUGV(char const*, bool); - TodoReturn setupGameAnimations(); - gd::string sheetNameForIcon(int, int); - TodoReturn shortenAdTimer(float); - TodoReturn shouldShowInterstitial(int, int, int); - void showInterstitial(); - void showInterstitialForced(); - void showMainMenuAd(); - TodoReturn startUpdate(); - TodoReturn stringForCustomObject(int); - TodoReturn subYouTube(); - TodoReturn switchCustomObjects(int, int); - TodoReturn switchScreenMode(bool, bool, bool); - TodoReturn syncPlatformAchievements(); - TodoReturn toggleGameVariable(char const*); - TodoReturn tryCacheAd(); - TodoReturn tryShowInterstitial(int, int, int); - TodoReturn unloadBackground(); - void unloadIcon(int, int, int); - void unloadIcons(int); - TodoReturn unlockColor(int, UnlockType); - TodoReturn unlockedPremium(); - void unlockIcon(int, IconType); - TodoReturn unlockTypeToIconType(int); - void updateCustomFPS(); - TodoReturn updateMusic(); - TodoReturn verifyAchievementUnlocks(); - TodoReturn verifyCoinUnlocks(); - TodoReturn verifyStarUnlocks(); - TodoReturn verifySyncedCoins(); - TodoReturn videoAdHidden(); - TodoReturn videoAdShowed(); - - virtual void update(float); - virtual bool init(); - virtual void encodeDataTo(DS_Dictionary*); - virtual void dataLoaded(DS_Dictionary*); - virtual void firstLoad(); - - cocos2d::CCDictionary* m_unkAnimationDict; - cocos2d::CCDictionary* m_unkAnimationDict2; - cocos2d::CCDictionary* m_frameTimeForAnimation; - cocos2d::CCDictionary* m_framesForAnimation; - cocos2d::CCDictionary* m_defaultFrames; - bool m_switchModes; - bool m_toFullscreen; - bool m_reloading; - bool m_unkBool1; - bool m_unkBool2; - bool m_vsyncEnabled; - cocos2d::CCDictionary* m_valueKeeper; - cocos2d::CCDictionary* m_unlockValueKeeper; - cocos2d::CCDictionary* m_customObjectDict; - double m_adTimer; - double m_adCache; - bool m_unkBool3; - int m_unkSize4_1; - double m_unkDouble2; - int m_unkSize4_2; - int m_unkSize4_3; - bool m_loaded; - bool m_googlePlaySignedIn; - gd::string m_unknownString; - int m_unkSize4_4; - PlayLayer* m_playLayer; - LevelEditorLayer* m_levelEditorLayer; - GJBaseGameLayer* m_gameLayer; - void* m_unkPtr; - MenuLayer* m_menuLayer; - bool m_inMenuLayer; - void* m_unknownVariable; - bool m_unknownBool3; - bool m_unknownPlayLayerBool; - bool m_unknownBool4; - bool m_unknownBool5; - gd::string m_playerUDID; - gd::string m_playerName; - bool m_commentsEnabled; - geode::SeedValueRSV m_playerUserID; - float m_bgVolume; - float m_sfxVolume; - float m_timeOffset; - bool m_ratedGame; - bool m_clickedFacebook; - bool m_clickedTwitter; - bool m_clickedYouTube; - bool m_clickedTwitch; - bool m_clickedDiscord_; - bool m_clickedReddit; - double m_socialsDuration; - bool m_showedAd; - bool m_unknownBool; - bool m_editorEnabled; - int m_sceneEnum; - bool m_searchObjectBool; - geode::SeedValueRSV m_playerFrame; - geode::SeedValueRSV m_playerShip; - geode::SeedValueRSV m_playerBall; - geode::SeedValueRSV m_playerBird; - geode::SeedValueRSV m_playerDart; - geode::SeedValueRSV m_playerRobot; - geode::SeedValueRSV m_playerSpider; - geode::SeedValueRSV m_playerSwing; - geode::SeedValueRSV m_playerColor; - geode::SeedValueRSV m_playerColor2; - geode::SeedValueRSV m_playerGlowColor; - geode::SeedValueRSV m_playerStreak; - geode::SeedValueRSV m_playerShipFire; - geode::SeedValueRSV m_playerDeathEffect; - geode::SeedValueRSV m_playerJetpack; - geode::SeedValueSR m_chk; - geode::SeedValueSR m_secretNumber; - bool m_playerGlow; - IconType m_playerIconType; - bool m_everyPlaySetup; - bool m_showSongMarkers; - bool m_showBPMMarkers; - bool m_recordGameplay; - bool m_showProgressBar; - bool m_performanceMode; - bool m_unkBool4; - bool m_clickedGarage; - bool m_clickedEditor; - bool m_clickedName; - bool m_clickedPractice; - bool m_showedEditorGuide; - bool m_showedRateDiffDialog; - bool m_showedRateStarDialog; - bool m_showedLowDetailDialog; - void* m_unkPtr2; - void* m_unkPtr3; - int m_unkSize4_5; - int m_unkSize4_6; - int m_unkSize4_7; - int m_unkSize4_8; - int m_loadedBgID; - int m_loadedGroundID; - int m_loadedMG; - int m_loadedFont; - int m_loadedDeathEffect; - bool m_loadingBG; - bool m_loadingG; - bool m_loadingG1; - bool m_finishedLoadingG1; - bool m_shouldLoadG1; - bool m_finishedLoadingMG1; - bool m_finishedLoadingMG2; - bool m_unkBool5; - int m_unkSize4_9; - int m_unkSize4_10; - int m_unkSize4_11; - int m_bootups; - bool m_hasRatedGame; - bool m_unkBool6; - bool m_shouldLoadUnlockValueKeeper; - bool m_unkBool7; - bool m_unkBool8; - geode::SeedValueRSV m_hasRP; - bool m_canGetLevelSaveData; - int m_resolution; - int m_texQuality; - bool m_somethingInMenuLayer; - void* m_unkPtr4; - bool m_unkBool9; - int m_unkSize4_12; - int m_unkSize4_13; - bool m_unkBool10; - int m_unkSize4_14; - bool m_disableThumbstick; - float m_customFPSTarget; - bool m_unkBool11; - int m_customMenuSongID; - int m_customPracticeSongID; - gd::map m_loadIcon; - gd::map> m_loadIcon2; - gd::map m_isIconBeingLoaded; - std::array* m_keyStartForIcon; - void* m_somethingKeyForIcon; - void* m_idk; - gd::map> m_iconDelegates; - int m_iconRequestID; - cocos2d::CCArray* m_unkArray; - void* m_someAdPointer; - int m_unkSize4_15; - int m_unkSize4_16; - int m_unkSize4_17; - UIButtonConfig m_dpad1; - UIButtonConfig m_dpad2; - UIButtonConfig m_dpad3; - UIButtonConfig m_dpad4; - UIButtonConfig m_dpad5; - gd::string m_dpadLayout1; - gd::string m_dpadLayout2; - gd::string m_dpadLayout3; - gd::string m_dpadLayoutDual1; - gd::string m_dpadLayoutDual2; - gd::string m_dpadLayoutDual3; - int m_unkSize4_18; - int m_unkSize4_19; - int m_unkSize4_20; - bool m_unkBool12; -} - -[[link(android)]] -class GameObject : CCSpritePlus { - // virtual ~GameObject(); - // GameObject(); - - void addColorSprite(gd::string); - void addColorSpriteToParent(bool); - void addColorSpriteToSelf(); - void addCustomBlackChild(gd::string, float, bool); - void addCustomChild(gd::string, cocos2d::CCPoint, int); - void addCustomColorChild(gd::string); - void addEmptyGlow(); - void addGlow(gd::string); - void addInternalChild(cocos2d::CCSprite*, gd::string, cocos2d::CCPoint, int); - void addInternalCustomColorChild(gd::string, cocos2d::CCPoint, int); - void addInternalGlowChild(gd::string, cocos2d::CCPoint); - void addNewSlope01(bool); - void addNewSlope01Glow(bool); - void addNewSlope02(bool); - void addNewSlope02Glow(bool); - void addRotation(float, float); - void addRotation(float); - void addToColorGroup(int); - void addToCustomScaleX(float); - void addToCustomScaleY(float); - void addToOpacityGroup(int); - void addToTempOffset(double, double); - void assignUniqueID(); - TodoReturn belongsToGroup(int); - TodoReturn calculateOrientedBox(); - TodoReturn canChangeCustomColor(); - TodoReturn canChangeMainColor(); - TodoReturn canChangeSecondaryColor(); - TodoReturn canRotateFree(); - TodoReturn colorForMode(int, bool); - void commonInteractiveSetup(); - void commonSetup(); - TodoReturn copyGroups(GameObject*); - TodoReturn createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn createColorGroupContainer(int); - TodoReturn createGlow(gd::string); - void createGroupContainer(int); - TodoReturn createOpacityGroupContainer(int); - TodoReturn createSpriteColor(int); - static GameObject* createWithFrame(char const*); - static GameObject* createWithKey(int); - void deselectObject(); - void destroyObject(); - TodoReturn determineSlopeDirection(); - TodoReturn didScaleXChange(); - TodoReturn didScaleYChange(); - TodoReturn dirtifyObjectPos(); - TodoReturn dirtifyObjectRect(); - TodoReturn disableObject(); - TodoReturn dontCountTowardsLimit(); - TodoReturn duplicateAttributes(GameObject*); - TodoReturn duplicateColorMode(GameObject*); - void duplicateValues(GameObject*); - TodoReturn editorColorForCustomMode(int); - TodoReturn editorColorForMode(int); - TodoReturn fastRotateObject(float); - TodoReturn getActiveColorForMode(int, bool); - TodoReturn getBallFrame(int); - TodoReturn getBoundingRect(); - TodoReturn getBoxOffset(); - TodoReturn getColorFrame(gd::string); - TodoReturn getColorIndex(); - TodoReturn getColorKey(bool, bool); - TodoReturn getCustomZLayer(); - TodoReturn getGlowFrame(gd::string); - TodoReturn getGroupDisabled(); - TodoReturn getGroupID(int); - TodoReturn getGroupString(); - TodoReturn getLastPosition(); - TodoReturn getMainColor(); - TodoReturn getMainColorMode(); - TodoReturn getObjectDirection(); - TodoReturn getObjectRadius(); - TodoReturn getObjectRectDirty(); - TodoReturn getObjectRectPointer(); - TodoReturn getObjectZLayer(); - TodoReturn getObjectZOrder(); - TodoReturn getOrientedRectDirty(); - TodoReturn getOuterObjectRect(); - TodoReturn getParentMode(); - TodoReturn getRelativeSpriteColor(int); - TodoReturn getScalePosDelta(); - TodoReturn getSecondaryColor(); - TodoReturn getSecondaryColorMode(); - TodoReturn getSlopeAngle(); - TodoReturn getStartPos(); - TodoReturn getType(); - TodoReturn getUnmodifiedPosition(); - TodoReturn groupColor(cocos2d::ccColor3B const&, bool); - TodoReturn groupOpacityMod(); - TodoReturn groupWasDisabled(); - TodoReturn groupWasEnabled(); - TodoReturn hasSecondaryColor(); - bool ignoreEditorDuration(); - TodoReturn ignoreEnter(); - TodoReturn ignoreFade(); - bool init(char const*); - bool isBasicEnterEffect(int); - bool isBasicTrigger(); - bool isColorObject(); - bool isColorTrigger(); - bool isConfigurablePortal(); - bool isEditorSpawnableTrigger(); - bool isFacingDown(); - bool isFacingLeft(); - bool isSettingsObject(); - bool isSpawnableTrigger(); - bool isSpecialObject(); - bool isSpeedObject(); - bool isStoppableTrigger(); - bool isTrigger(); - void loadGroupsFromString(gd::string); - TodoReturn makeInvisible(); - TodoReturn makeVisible(); - static GameObject* objectFromVector(gd::vector&, gd::vector&, GJBaseGameLayer*, bool); - TodoReturn opacityModForMode(int, bool); - TodoReturn parentForZLayer(int, bool, int); - TodoReturn perspectiveColorFrame(char const*, int); - TodoReturn perspectiveFrame(char const*, int); - void playDestroyObjectAnim(GJBaseGameLayer*); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float, float, float, float, float, bool, float, float); - TodoReturn playPickupAnimation(cocos2d::CCSprite*, float, float, float, float); - void playShineEffect(); - TodoReturn quickUpdatePosition(); - TodoReturn quickUpdatePosition2(); - TodoReturn removeColorSprite(); - TodoReturn removeGlow(); - TodoReturn reorderColorSprite(); - TodoReturn resetColorGroups(); - TodoReturn resetGroupDisabled(); - TodoReturn resetGroups(); - TodoReturn resetMainColorMode(); - TodoReturn resetMID(); - TodoReturn resetMoveOffset(); - TodoReturn resetRScaleForced(); - TodoReturn resetSecondaryColorMode(); - void setAreaOpacity(float, float, int); - void setCustomZLayer(int); - void setDefaultMainColorMode(int); - void setDefaultSecondaryColorMode(int); - void setGlowOpacity(unsigned char); - void setLastPosition(cocos2d::CCPoint const&); - void setMainColorMode(int); - void setSecondaryColorMode(int); - TodoReturn setupColorSprite(int, bool); - TodoReturn setupPixelScale(); - TodoReturn setupSpriteSize(); - TodoReturn shouldBlendColor(GJSpriteColor*, bool); - TodoReturn shouldLockX(); - TodoReturn shouldNotHideAnimFreeze(); - TodoReturn shouldShowPickupEffects(); - TodoReturn slopeFloorTop(); - TodoReturn slopeWallLeft(); - TodoReturn slopeYPos(cocos2d::CCRect); - TodoReturn slopeYPos(float); - TodoReturn slopeYPos(GameObject*); - TodoReturn spawnDefaultPickupParticle(GJBaseGameLayer*); - TodoReturn updateBlendMode(); - TodoReturn updateCustomColorType(short); - void updateCustomScaleX(float); - void updateCustomScaleY(float); - TodoReturn updateHSVState(); - TodoReturn updateIsOriented(); - TodoReturn updateMainColor(); - TodoReturn updateMainColorOnly(); - TodoReturn updateMainOpacity(); - void updateObjectEditorColor(); - TodoReturn updateSecondaryColor(); - TodoReturn updateSecondaryColorOnly(); - TodoReturn updateSecondaryOpacity(); - TodoReturn updateStartPos(); - TodoReturn updateUnmodifiedPositions(); - TodoReturn usesFreezeAnimation(); - TodoReturn usesSpecialAnimation(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setOpacity(unsigned char); - virtual bool initWithTexture(cocos2d::CCTexture2D*); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual void firstSetup(); - virtual void customSetup(); - virtual void setupCustomSprites(gd::string); - virtual TodoReturn addMainSpriteToParent(bool); - virtual void resetObject(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void activateObject(); - virtual void deactivateObject(bool); - virtual TodoReturn transferObjectRect(cocos2d::CCRect&); - virtual cocos2d::CCRect const& getObjectRect(); - virtual cocos2d::CCRect getObjectRect(float, float); - virtual TodoReturn getObjectRect2(float, float); - virtual TodoReturn getObjectTextureRect(); - virtual cocos2d::CCPoint getRealPosition(); - virtual void setStartPos(cocos2d::CCPoint); - virtual TodoReturn updateStartValues(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual bool isFlipX(); - virtual bool isFlipY(); - virtual void setRScaleX(float); - virtual void setRScaleY(float); - virtual void setRScale(float); - virtual TodoReturn getRScaleX(); - virtual TodoReturn getRScaleY(); - virtual void setRRotation(float); - virtual void triggerActivated(float); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual void setGlowColor(cocos2d::ccColor3B const&); - virtual TodoReturn restoreObject(); - virtual TodoReturn animationTriggered(); - virtual void selectObject(cocos2d::ccColor3B); - virtual TodoReturn activatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivatedByPlayer(PlayerObject*); - virtual TodoReturn hasBeenActivated(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn updateOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual void addToGroup(int); - virtual void removeFromGroup(int); - virtual TodoReturn saveActiveColors(); - virtual TodoReturn spawnXPosition(); - virtual TodoReturn canAllowMultiActivate(); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn canReverse(); - virtual bool isSpecialSpawnObject(); - virtual TodoReturn canBeOrdered(); - virtual TodoReturn getObjectLabel(); - virtual void setObjectLabel(cocos2d::CCLabelBMFont*); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn getHasSyncedAnimation(); - virtual TodoReturn getHasRotateAction(); - virtual TodoReturn canMultiActivate(bool); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - virtual void setObjectRectDirty(bool); - virtual void setOrientedRectDirty(bool); - virtual void setType(GameObjectType); - - PAD = android32 0x5, win 0x5, android64 0x5; - - int m_innerSectionIndex; - int m_outerSectionIndex; - int m_middleSectionIndex; - - // property 511 - bool m_hasExtendedCollision; - PAD = android32 0x13, win 0x13, android64 0x13; - - // somehow related to property 155 and 156 if anyone wants to reverse engineer - int m_activeMainColorID; - int m_activeDetailColorID; - - PAD = android32 0x4c, win 0x4c, android64 0x54; - - cocos2d::CCSprite* m_glowSprite; - - PAD = android32 0x8, win 0x4, android64 0x4; - - float m_unk288; - float m_unk28c; - - PAD = android32 0x8, win 0x8, android64 0x8; - - gd::string m_particleString; - - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 146 - bool m_particleUseObjectColor; - PAD = android32 0x3e, win 0x3e, android64 0x3e; - - // property 108 - int m_linkedGroup; - - PAD = android32 0xc, win 0xc, android64 0xc; - - cocos2d::CCSprite* m_colorSprite; - - PAD = android32 0x13, win 0x13, android64 0x13; - - int m_uniqueID; - GameObjectType m_objectType; - - PAD = android32 0x10, win 0x10, android64 0x10; - double m_realXPosition; - double m_realYPosition; - cocos2d::CCPoint m_startPosition; - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 372 - bool m_hasNoAudioScale; - PAD = android32 0x2a, win 0x2a, android64 0x2a; - - // property 343 - short m_enterChannel; - // property 446 - short m_objectMaterial; - PAD = android32 0x4, win 0x4, android64 0x4; - - // property 96 - bool m_hasNoGlow; - - // property 23 - int m_targetColor; - - // property 1 - int m_objectID; - PAD = android32 0x8, win 0x8, android64 0x8; - - // property 497 - short m_customColorType; - // property 67 - bool m_isDontEnter; - // property 64 - bool m_isDontFade; - // property 116 - bool m_hasNoEffects; - // property 507 - bool m_hasNoParticles; - PAD = android32 0x16, win 0x16, android64 0x16; - - // property 53 - int m_property53; - PAD = android32 0x18, win 0x18, android64 0x18; - - // property 21, also used with 41 and 43 - GJSpriteColor* m_baseColor; - // property 22, also used with 42 and 44 - GJSpriteColor* m_detailColor; - PAD = android32 0xc, win 0xc, android64 0xc; - - // property 24 - ZLayer m_zLayer; - // property 25 - int m_zOrder; - PAD = android32 0x1, win 0x1, android64 0x1; - - bool m_isSelected; - - PAD = android32 0xe, win 0xe, android64 0xe; - - bool m_shouldUpdateColorSprite; // m_shouldUpdateColorSprite - PAD = android32 0x1, win 0x1, android64 0x1; - - // property 34 - bool m_hasGroupParent; - // property 279 - bool m_hasAreaParent; - // property 128 - float m_scaleX; - // property 129 - float m_scaleY; - - // property 57 - std::array* m_groups; - // used with property 57 - short m_groupCount; - // used with property 274 - bool m_hasGroupParentsString; - - std::array* m_colorGroups; - short m_colorGroupCount; - std::array* m_opacityGroups; - short m_opacityGroupCount; - - // property 20 - short m_editorLayer; - // property 61 - short m_editorLayer2; - PAD = android32 0x8, win 0x8, android64 0x8; - - // property 121 - bool m_isNoTouch; - PAD = android32 0x9, win 0x9, android64 0x9; - - cocos2d::CCPoint m_lastPosition; - - PAD = android32 0x1b, win 0x1b, android64 0x1b; - - // property 103 - bool m_isHighDetail; - PAD = android32 0x11, win 0x11, android64 0x21; - - // property 134 - bool m_isPassable; - // property 135 - bool m_isHide; - // property 136 - bool m_isNonStickX; - // property 289 - bool m_isNonStickY; - // property 137 - bool m_isIceBlock; - // property 193 - bool m_isGripSlope; - // property 356 - bool m_isScaleStick; - // property 495 - bool m_isExtraSticky; - // property 496 - bool m_isDontBoostY; - // property 509 - bool m_isDontBoostX; - PAD = android32 0x11, win 0x11, android64 0x11; - - // property 155 - int m_property155; - // property 156 - int m_property156; - - PAD = android32 0x12, win 0x1e, android64 0x12; // TODO: yeah someone pls fix windows pads -} - -[[link(android)]] -class GameObjectCopy : cocos2d::CCObject { - // virtual ~GameObjectCopy(); - - static GameObjectCopy* create(GameObject*); - - bool init(GameObject*); - void resetObject(); - - GameObject* m_object; -} - -[[link(android)]] -class GameObjectEditorState { - TodoReturn loadValues(GameObject*); -} - -[[link(android)]] -class GameOptionsLayer : GJOptionsLayer { - // virtual ~GameOptionsLayer(); - - static GameOptionsLayer* create(GJBaseGameLayer*); - - bool init(GJBaseGameLayer*); - void onPracticeMusicSync(cocos2d::CCObject* sender); - void onUIOptions(cocos2d::CCObject* sender); - void onUIPOptions(cocos2d::CCObject* sender); - void showPracticeMusicSyncUnlockInfo(); - - virtual void setupOptions(); - virtual void didToggle(int); -} - -[[link(android)]] -class GameOptionsTrigger : EffectGameObject { - // virtual ~GameOptionsTrigger(); - - static GameOptionsTrigger* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GameRateDelegate { - virtual void updateRate(); -} - -[[link(android)]] -class GameStatsManager : cocos2d::CCNode { - // virtual ~GameStatsManager(); - - static GameStatsManager* sharedState(); - - int accountIDForIcon(int, UnlockType); - TodoReturn addSimpleSpecialChestReward(gd::string, UnlockType, int, bool); - void addSpecialRewardDescription(gd::string, gd::string); - TodoReturn addStoreItem(int, int, int, int, ShopType); - TodoReturn areChallengesLoaded(); - TodoReturn areRewardsLoaded(); - void awardCurrencyForLevel(GJGameLevel*); - TodoReturn awardDiamondsForLevel(GJGameLevel*); - TodoReturn awardSecretKey(); - TodoReturn checkAchievement(char const*); - TodoReturn checkCoinAchievement(GJGameLevel*); - void checkCoinsForLevel(GJGameLevel*); - TodoReturn claimListReward(GJLevelList*); - TodoReturn collectReward(GJRewardType, GJRewardItem*); - TodoReturn collectVideoReward(int); - void completedChallenge(GJChallengeItem*); - void completedDailyLevel(GJGameLevel*); - void completedDemonLevel(GJGameLevel*); - void completedLevel(GJGameLevel*); - void completedMapPack(GJMapPack*); - void completedStarLevel(GJGameLevel*); - TodoReturn countSecretChests(GJRewardType); - TodoReturn countUnlockedSecretChests(GJRewardType); - TodoReturn createSecretChestItems(); - TodoReturn createSecretChestRewards(); - TodoReturn createSpecialChestItems(); - TodoReturn createStoreItems(); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn generateItemUnlockableData(); - int getAwardedCurrencyForLevel(GJGameLevel*); - TodoReturn getAwardedDiamondsForLevel(GJGameLevel*); - TodoReturn getBaseCurrency(int, bool, int); - int getBaseCurrencyForLevel(GJGameLevel*); - TodoReturn getBaseDiamonds(int); - TodoReturn getBonusDiamonds(int); - GJChallengeItem* getChallenge(int); - TodoReturn getChallengeKey(GJChallengeItem*); - int getCollectedCoinsForLevel(GJGameLevel*); - TodoReturn getCompletedMapPacks(); - TodoReturn getCurrencyKey(GJGameLevel*); - TodoReturn getDailyLevelKey(int); - TodoReturn getDemonLevelKey(GJGameLevel*); - gd::string getGauntletRewardKey(int); - TodoReturn getItemKey(int, int); - int getItemUnlockState(int, UnlockType); - int getItemUnlockStateLite(int, UnlockType); - gd::string getLevelKey(GJGameLevel*); - gd::string getLevelKey(int, bool, bool, bool); - TodoReturn getListRewardKey(GJLevelList*); - char const* getMapPackKey(int); - TodoReturn getNextVideoAdReward(); - TodoReturn getPathRewardKey(int); - GJChallengeItem* getQueuedChallenge(int); - TodoReturn getRewardForSecretChest(int); - TodoReturn getRewardForSpecialChest(gd::string); - TodoReturn getRewardItem(GJRewardType); - TodoReturn getRewardKey(GJRewardType, int); - GJChallengeItem* getSecondaryQueuedChallenge(int); - TodoReturn getSecretChestForItem(int, UnlockType); - TodoReturn getSecretCoinKey(char const*); - TodoReturn getSpecialChestKeyForItem(int, UnlockType); - TodoReturn getSpecialRewardDescription(gd::string, bool); - TodoReturn getSpecialUnlockDescription(int, UnlockType, bool); - TodoReturn getStarLevelKey(GJGameLevel*); - int getStat(char const*); - TodoReturn getStatFromKey(StatKey); - TodoReturn getStoreItem(int, int); - TodoReturn getStoreItem(int); - int getTotalCollectedCurrency(); - int getTotalCollectedDiamonds(); - bool hasClaimedListReward(GJLevelList*); - bool hasCompletedChallenge(GJChallengeItem*); - bool hasCompletedDailyLevel(int); - bool hasCompletedDemonLevel(GJGameLevel*); - bool hasCompletedGauntletLevel(int); - bool hasCompletedLevel(GJGameLevel* level) { - return m_completedLevels->objectForKey(this->getLevelKey(level)) != nullptr; - } - bool hasCompletedMainLevel(int levelID) { - return m_completedLevels->objectForKey(this->getLevelKey(levelID, false, false, false)) != nullptr; - } - bool hasCompletedMapPack(int); - bool hasCompletedOnlineLevel(int); - bool hasCompletedStarLevel(GJGameLevel*); - bool hasPendingUserCoin(char const*); - bool hasRewardBeenCollected(GJRewardType, int); - bool hasSecretCoin(char const*); - bool hasUserCoin(char const*); - TodoReturn incrementActivePath(int); - TodoReturn incrementChallenge(GJChallengeType, int); - TodoReturn incrementStat(char const*, int); - TodoReturn incrementStat(char const*); - bool isGauntletChestUnlocked(int); - bool isItemEnabled(UnlockType, int); - bool isItemUnlocked(UnlockType, int); - bool isPathChestUnlocked(int); - bool isPathUnlocked(StatKey); - bool isSecretChestUnlocked(int); - bool isSecretCoin(gd::string); - bool isSecretCoinValid(gd::string); - bool isSpecialChestLiteUnlockable(gd::string); - bool isSpecialChestUnlocked(gd::string); - bool isStoreItemUnlocked(int); - TodoReturn keyCostForSecretChest(int); - TodoReturn logCoins(); - TodoReturn markLevelAsCompletedAndClaimed(GJGameLevel*); - TodoReturn postLoadGameStats(); - TodoReturn preProcessReward(GJRewardItem*); - TodoReturn preSaveGameStats(); - TodoReturn processChallengeQueue(int); - TodoReturn purchaseItem(int); - TodoReturn recountSpecialStats(); - TodoReturn recountUserCoins(bool); - TodoReturn registerRewardsFromItem(GJRewardItem*); - TodoReturn removeChallenge(int); - TodoReturn removeErrorFromSpecialChests(); - TodoReturn removeQueuedChallenge(int); - TodoReturn removeQueuedSecondaryChallenge(int); - TodoReturn resetChallengeTimer(); - TodoReturn resetPreSync(); - TodoReturn resetSpecialChest(gd::string); - TodoReturn resetSpecialStatAchievements(); - TodoReturn resetUserCoins(); - TodoReturn restorePostSync(); - void setAwardedBonusKeys(int); - void setStarsForMapPack(int, int); - void setStat(char const*, int); - void setStatIfHigher(char const*, int); - TodoReturn setupIconCredits(); - TodoReturn shopTypeForItemID(int); - TodoReturn shouldAwardSecretKey(); - TodoReturn starsForMapPack(int); - TodoReturn storeChallenge(int, GJChallengeItem*); - TodoReturn storeChallengeTime(int); - TodoReturn storePendingUserCoin(char const*); - TodoReturn storeQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeRewardState(GJRewardType, int, int, gd::string); - TodoReturn storeSecondaryQueuedChallenge(int, GJChallengeItem*); - TodoReturn storeSecretCoin(char const*); - void storeUserCoin(char const*); - TodoReturn tempClear(); - void toggleEnableItem(UnlockType, int, bool); - TodoReturn tryFixPathBug(); - TodoReturn trySelectActivePath(); - TodoReturn uncompleteLevel(GJGameLevel*); - TodoReturn unlockGauntletChest(int); - TodoReturn unlockPathChest(int); - TodoReturn unlockSecretChest(int); - TodoReturn unlockSpecialChest(gd::string); - TodoReturn updateActivePath(StatKey); - gd::string usernameForAccountID(int); - TodoReturn verifyPathAchievements(); - TodoReturn verifyUserCoins(); - - virtual bool init(); - - bool m_usePlayerStatsCCDictionary; - cocos2d::CCString* m_trueString; - cocos2d::CCDictionary* m_allStoreItems; - cocos2d::CCDictionary* m_storeItems; - cocos2d::CCDictionary* m_allTreasureRoomChests; - cocos2d::CCDictionary* m_allTreasureRoomChestItems; - cocos2d::CCDictionary* m_allSpecialChests; - cocos2d::CCDictionary* m_allSpecialChestItems; - gd::unordered_map m_specialRewardDescriptions; //todo: is gd::string gd::string - gd::unordered_map m_createSpecialChestItemsMap; //todo: is gd::string gd::string - cocos2d::CCDictionary* m_specialChestsLite; - cocos2d::CCArray* m_storeItemArray; - cocos2d::CCDictionary* m_rewardItems; - cocos2d::CCDictionary* m_dailyChests; - cocos2d::CCDictionary* m_worldAdvertChests; - cocos2d::CCDictionary* m_activeChallenges; - cocos2d::CCDictionary* m_upcomingChallenges; - double m_challengeTime; - cocos2d::CCDictionary* m_playerStats; - gd::unordered_map m_playerStatsRandMap; - gd::unordered_map m_playerStatsSeedMap; - cocos2d::CCDictionary* m_completedLevels; - cocos2d::CCDictionary* m_verifiedUserCoins; - cocos2d::CCDictionary* m_pendingUserCoins; - cocos2d::CCDictionary* m_purchasedItems; - cocos2d::CCDictionary* m_onlineCurrencyScores; - cocos2d::CCDictionary* m_mainCurrencyScores; - cocos2d::CCDictionary* m_gauntletCurrencyScores; - cocos2d::CCDictionary* m_timelyCurrencyScores; - cocos2d::CCDictionary* m_onlineStars; - cocos2d::CCDictionary* m_timelyStars; - cocos2d::CCDictionary* m_gauntletDiamondScores; - cocos2d::CCDictionary* m_timelyDiamondScores; - cocos2d::CCDictionary* m_unusedCurrencyAwardDict; - cocos2d::CCDictionary* m_challengeDiamonds; - cocos2d::CCDictionary* m_completedMappacks; - cocos2d::CCDictionary* m_completedLists; - cocos2d::CCDictionary* m_weeklyChest; - cocos2d::CCDictionary* m_treasureRoomChests; - geode::SeedValueSRV m_bonusKey; - cocos2d::CCDictionary* m_miscChests; - cocos2d::CCDictionary* m_enabledItems; - bool m_unkBoolIncrementStat; - cocos2d::CCDictionary* m_unkDict; - cocos2d::CCDictionary* m_unlockedItems; - gd::map m_accountIDForIcon; - gd::map m_usernameForAccountID; - bool m_GS29; - int m_activePath; -} - -[[link(android)]] -class GameToolbox { - static void addBackButton(cocos2d::CCLayer*, cocos2d::CCMenuItem*); - static void addRThumbScrollButton(cocos2d::CCLayer*); - static void alignItemsHorisontally(cocos2d::CCArray*, float, cocos2d::CCPoint, bool); - static void alignItemsVertically(cocos2d::CCArray*, float, cocos2d::CCPoint); - static TodoReturn bounceTime(float); - static TodoReturn colorToSepia(cocos2d::ccColor3B, float); - static TodoReturn contentScaleClipRect(cocos2d::CCRect&); - static TodoReturn createHashString(gd::string const&, int); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCArray*); - static CCMenuItemToggler* createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCNode*, float, float, float, cocos2d::CCPoint, char const*, bool, int, cocos2d::CCArray*); - static TodoReturn doWeHaveInternet(); - static TodoReturn easeToText(int); - static TodoReturn fast_rand_0_1(); - static TodoReturn fast_rand_minus1_1(); - static TodoReturn fast_rand(); - static TodoReturn fast_srand(unsigned long); - static TodoReturn gen_random(int); - static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc); - static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float); - static TodoReturn getEasedAction(cocos2d::CCActionInterval*, int, float); - static TodoReturn getEasedValue(float, int, float); - static TodoReturn getfast_srand(); - static TodoReturn getInvertedEasing(int); - static TodoReturn getLargestMergedIntDicts(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn getMultipliedHSV(cocos2d::ccHSVValue const&, float); - static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint); - static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*); - static gd::string getTimeString(int); - static TodoReturn hsvFromString(gd::string const&, char const*); - static TodoReturn intToShortString(int); - static TodoReturn intToString(int); - static bool isIOS(); - static bool isRateEasing(int); - static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn mergeDictsSkipConflict(cocos2d::CCDictionary*, cocos2d::CCDictionary*); - static TodoReturn msToTimeString(int, int); - static TodoReturn multipliedColorValue(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - static TodoReturn openAppPage(); - static TodoReturn openRateURL(gd::string, gd::string); - static TodoReturn particleFromString(gd::string const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleFromStruct(cocos2d::ParticleStruct const&, cocos2d::CCParticleSystemQuad*, bool); - static TodoReturn particleStringToStruct(gd::string const&, cocos2d::ParticleStruct&); - static TodoReturn pointsToString(int); - static TodoReturn postClipVisit(); - static TodoReturn preVisitWithClippingRect(cocos2d::CCNode*, cocos2d::CCRect); - static TodoReturn preVisitWithClipRect(cocos2d::CCRect); - static TodoReturn saveParticleToString(cocos2d::CCParticleSystemQuad*); - static TodoReturn saveStringToFile(gd::string const&, gd::string const&); - static TodoReturn stringFromHSV(cocos2d::ccHSVValue, char const*); - static cocos2d::CCDictionary* stringSetupToDict(gd::string const&, char const*); - static TodoReturn stringSetupToMap(gd::string const&, char const*, gd::map&); - static TodoReturn strongColor(cocos2d::ccColor3B); - static gd::string timestampToHumanReadable(time_t); - static TodoReturn transformColor(cocos2d::ccColor3B const&, cocos2d::ccHSVValue); - static TodoReturn transformColor(cocos2d::ccColor3B const&, float, float, float); -} - -[[link(android)]] -class GauntletLayer : cocos2d::CCLayer, LevelManagerDelegate { - // virtual ~GauntletLayer(); - - static GauntletLayer* create(GauntletType); - - bool init(GauntletType); - void onBack(cocos2d::CCObject* sender); - void onLevel(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(GauntletType); - TodoReturn setupGauntlet(cocos2d::CCArray*); - TodoReturn unlockActiveItem(); - - virtual void keyBackClicked(); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual void loadLevelsFailed(char const*, int); -} - -[[link(android)]] -class GauntletNode : cocos2d::CCNode { - // virtual ~GauntletNode(); - - static GauntletNode* create(GJMapPack*); - - TodoReturn frameForType(GauntletType); - bool init(GJMapPack*); - static gd::string nameForType(GauntletType); - TodoReturn onClaimReward(); -} - -[[link(android)]] -class GauntletSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, LevelManagerDelegate { - // virtual ~GauntletSelectLayer(); - - static GauntletSelectLayer* create(int); - - void goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(int); - void setupGauntlets(); - TodoReturn unblockPlay(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual void loadLevelsFailed(char const*, int); -} - -[[link(android)]] -class GauntletSprite : cocos2d::CCNode { - // virtual ~GauntletSprite(); - - static GauntletSprite* create(GauntletType, bool); - - TodoReturn addLockedSprite(); - TodoReturn addNormalSprite(); - TodoReturn colorForType(GauntletType); - bool init(GauntletType, bool); - TodoReturn luminanceForType(GauntletType); - TodoReturn toggleLockedSprite(bool); -} - -[[link(android)]] -class GhostTrailEffect : cocos2d::CCNode { - // virtual ~GhostTrailEffect(); - - static GhostTrailEffect* create(); - - TodoReturn doBlendAdditive(); - TodoReturn runWithTarget(cocos2d::CCSprite*, float, float, float, float, bool); - TodoReturn stopTrail(); - TodoReturn trailSnapshot(float); - - virtual bool init(); - virtual void draw() {} -} - -[[link(android)]] -class GJAccountBackupDelegate { - virtual TodoReturn backupAccountFinished(); - virtual TodoReturn backupAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJAccountDelegate { - virtual TodoReturn accountStatusChanged(); -} - -[[link(android)]] -class GJAccountLoginDelegate { - virtual TodoReturn loginAccountFinished(int, int); - virtual TodoReturn loginAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountManager : cocos2d::CCNode { - // virtual ~GJAccountManager(); - - static GJAccountManager* get() { - return GJAccountManager::sharedState(); - } - - static GJAccountManager* sharedState(); - - void addDLToActive(char const* tag, cocos2d::CCObject*); - void addDLToActive(char const* tag); - bool backupAccount(gd::string); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - void getAccountBackupURL(); - void getAccountSyncURL(); - cocos2d::CCObject* getDLObject(char const*); - gd::string getShaPassword(gd::string); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const* tag); - void linkToAccount(gd::string, gd::string, int, int); - void loginAccount(gd::string, gd::string); - void onBackupAccountCompleted(gd::string, gd::string); - void onGetAccountBackupURLCompleted(gd::string, gd::string); - void onGetAccountSyncURLCompleted(gd::string, gd::string); - void onLoginAccountCompleted(gd::string, gd::string); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onRegisterAccountCompleted(gd::string, gd::string); - void onSyncAccountCompleted(gd::string, gd::string); - void onUpdateAccountSettingsCompleted(gd::string, gd::string); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void registerAccount(gd::string, gd::string, gd::string); - void removeDLFromActive(char const*); - bool syncAccount(gd::string); - void unlinkFromAccount(); - void updateAccountSettings(int, int, int, gd::string, gd::string, gd::string); - - virtual bool init(); - - cocos2d::CCDictionary* m_activeDownloads; - gd::string m_username; - int m_accountID; - int m_unkInt1; - int m_unkInt2; - gd::string m_GJP2; - GJAccountRegisterDelegate* m_accountRegisterDelegate; - GJAccountLoginDelegate* m_accountLoginDelegate; - GJAccountDelegate* m_accountDelegate; - GJAccountBackupDelegate* m_backupDelegate; - GJAccountSyncDelegate* m_syncDelegate; - GJAccountSettingsDelegate* m_accountSettingsDelegate; - int m_gameManagerSize; - int m_localLevelsSize; - gd::string m_password; -} - -[[link(android)]] -class GJAccountRegisterDelegate { - virtual TodoReturn registerAccountFinished(); - virtual TodoReturn registerAccountFailed(AccountError); -} - -[[link(android)]] -class GJAccountSettingsDelegate { - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class GJAccountSettingsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~GJAccountSettingsLayer(); - - static GJAccountSettingsLayer* create(int); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float); - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onCommentSetting(cocos2d::CCObject* sender); - void onFriendRequests(cocos2d::CCObject* sender); - void onMessageSetting(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn updateScoreValues(); - - virtual void keyBackClicked(); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GJAccountSyncDelegate { - virtual TodoReturn syncAccountFinished(); - virtual TodoReturn syncAccountFailed(BackupAccountError, int); -} - -[[link(android)]] -class GJActionManager : cocos2d::CCNode { - // virtual ~GJActionManager(); - - static GJActionManager* create(); - - TodoReturn getInternalAction(int); - TodoReturn runInternalAction(cocos2d::CCAction*, cocos2d::CCNode*); - TodoReturn stopAllInternalActions(); - TodoReturn stopInternalAction(int); - TodoReturn updateInternalActions(float, bool); - - virtual bool init(); -} - -[[link(android)]] -class GJAssetDownloadAction { - int m_id; - GJAssetType m_assetType; - int m_status; -} - -[[link(android), depends(GJGameState), depends(PlayerButtonCommand)]] -class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { - // ~GJBaseGameLayer(); - // GJBaseGameLayer(); - - static GJBaseGameLayer* get() { - return GameManager::get()->m_gameLayer; - } - - void activateCustomRing(RingObject*); - TodoReturn activatedAudioTrigger(SFXTriggerGameObject*, float); - TodoReturn activateEventTrigger(EventLinkTrigger*, gd::vector const&); - TodoReturn activateItemCompareTrigger(ItemTriggerGameObject*, gd::vector const&); - TodoReturn activateItemEditTrigger(ItemTriggerGameObject*); - void activateObjectControlTrigger(ObjectControlGameObject*); - TodoReturn activatePersistentItemTrigger(ItemTriggerGameObject*); - void activatePlayerControlTrigger(PlayerControlGameObject*); - TodoReturn activateResetTrigger(EffectGameObject*); - void activateSFXEditTrigger(SFXTriggerGameObject*); - void activateSFXTrigger(SFXTriggerGameObject*); - TodoReturn activateSongEditTrigger(SongTriggerGameObject*); - void activateSongTrigger(SongTriggerGameObject*); - TodoReturn activateTimerTrigger(TimerTriggerGameObject*, gd::vector const&); - TodoReturn addAreaEffect(EnterEffectObject*, gd::vector*, GJAreaActionType); - void addCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn addGuideArt(GameObject*); - void addObjectCounter(LabelGameObject*); - TodoReturn addPickupTrigger(CountTriggerGameObject*); - TodoReturn addPoints(int); - void addProximityVolumeEffect(int, int, SFXTriggerGameObject*); - TodoReturn addRemapTargets(gd::set&); - void addToGroupParents(GameObject*); - void addToGroups(GameObject*, bool); - TodoReturn addToObjectsToShow(GameObject*); - TodoReturn addUIObject(GameObject*); - void animateInDualGroundNew(GameObject*, float, bool, float); - TodoReturn animateInGroundNew(bool, float, bool); - void animateOutGroundNew(bool); - TodoReturn animatePortalY(float, float, float, float); - TodoReturn applyLevelSettings(GameObject*); - TodoReturn applyRemap(EffectGameObject*, gd::vector const&, gd::unordered_map&); - void applySFXEditTrigger(int, int, SFXTriggerGameObject*); - void applyShake(cocos2d::CCPoint&); - void assignNewStickyGroups(cocos2d::CCArray*); - TodoReturn asyncBGLoaded(int); - TodoReturn asyncGLoaded(int); - TodoReturn asyncMGLoaded(int); - TodoReturn atlasValue(int); - void bumpPlayer(PlayerObject*, EffectGameObject*); - TodoReturn buttonIDToButton(int); - TodoReturn calculateColorGroups(); - TodoReturn cameraMoveX(float, float, float, bool); - TodoReturn cameraMoveY(float, float, float, bool); - bool canBeActivatedByPlayer(PlayerObject*, EffectGameObject*); - TodoReturn canProcessSFX(SFXTriggerState&, gd::unordered_map&, gd::unordered_map&, gd::vector&); - TodoReturn canTouchObject(GameObject*); - TodoReturn checkCameraLimitAfterTeleport(PlayerObject*, float); - TodoReturn checkCollision(int, int); - TodoReturn checkCollisionBlocks(EffectGameObject*, gd::vector*, int); - int checkCollisions(PlayerObject*, float, bool); - TodoReturn checkRepellPlayer(); - TodoReturn checkSpawnObjects(); - TodoReturn claimMoveAction(int, bool); - TodoReturn claimParticle(gd::string, int); - TodoReturn claimRotationAction(int, int, float&, float&, bool, bool); - TodoReturn clearActivatedAudioTriggers(); - TodoReturn clearPickedUpItems(); - TodoReturn collectedObject(EffectGameObject*); - void collisionCheckObjects(PlayerObject*, gd::vector*, int, float); - TodoReturn controlAdvancedFollowCommand(AdvancedFollowTriggerObject*, int, GJActionCommand); - TodoReturn controlAreaEffect(EnterEffectObject*, gd::vector*, GJActionCommand); - TodoReturn controlAreaEffectWithID(int, int, GJActionCommand); - TodoReturn controlDynamicCommand(EffectGameObject*, int, gd::vector&, GJActionCommand); - TodoReturn controlDynamicMoveCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlDynamicRotateCommand(EffectGameObject*, int, GJActionCommand); - TodoReturn controlEventLink(int, int, GJActionCommand); - TodoReturn controlGradientTrigger(GradientTriggerObject*, GJActionCommand); - TodoReturn controlTriggersInGroup(int, GJActionCommand); - TodoReturn controlTriggersWithControlID(int, GJActionCommand); - TodoReturn convertToClosestDirection(float, float); - void createBackground(int); - void createGroundLayer(int, int); - void createMiddleground(int); - TodoReturn createNewKeyframeAnim(); - TodoReturn createParticle(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn createPlayer(); - TodoReturn createPlayerCollisionBlock(); - TodoReturn createTextLayers(); - TodoReturn damagingObjectsInRect(cocos2d::CCRect, bool); - void destroyObject(GameObject*); - TodoReturn enterDualMode(GameObject*, bool); - TodoReturn exitStaticCamera(bool, bool, float, int, float, bool, float, bool); - TodoReturn flipFinished(); - TodoReturn flipGravity(PlayerObject*, bool, bool); - TodoReturn flipObjects(); - TodoReturn gameEventToString(GJGameEvent); - void gameEventTriggered(GJGameEvent, int, int); - TodoReturn generateEnterEasingBuffer(int, float); - TodoReturn generateEnterEasingBuffers(EnterEffectObject*); - TodoReturn generatePickupAnimRandVal(GameObject*, float&, float&); - TodoReturn generateSpawnRemap(); - TodoReturn generateTargetGroups(); - TodoReturn generateVisibilityGroups(); - TodoReturn getActiveOrderSpawnObjects(); - TodoReturn getAreaObjectValue(EnterEffectInstance*, GameObject*, cocos2d::CCPoint&, bool&); - TodoReturn getBumpMod(PlayerObject*, int); - TodoReturn getCameraEdgeValue(int); - TodoReturn getCapacityString(); - TodoReturn getCenterGroupObject(int, int); - TodoReturn getCustomEnterEffects(int, bool); - TodoReturn getEasedAreaValue(GameObject*, EnterEffectInstance*, float, bool, int); - TodoReturn getEnterEasingKey(int, float); - TodoReturn getEnterEasingValue(float, int, float, int); - TodoReturn getFollowSpeedVal(GameObject*, int, int, float, float); - float getGroundHeight(PlayerObject*, int); - TodoReturn getGroundHeightForMode(int); - TodoReturn getGroup(int); - TodoReturn getGroupParent(int); - TodoReturn getGroupParentsString(GameObject*); - TodoReturn getItemValue(int, int); - TodoReturn getMaxPortalY(); - TodoReturn getMinDistance(cocos2d::CCPoint, cocos2d::CCArray*, float, int); - TodoReturn getMinPortalY(); - TodoReturn getModifiedDelta(float); - TodoReturn getMoveTargetDelta(EffectGameObject*, bool); - TodoReturn getOptimizedGroup(int); - TodoReturn getOtherPlayer(PlayerObject*); - TodoReturn getParticleKey(int, char const*, int, cocos2d::tCCPositionType); - TodoReturn getParticleKey2(gd::string); - TodoReturn getPlayerButtonID(int, bool); - TodoReturn getPlayTimerFullSeconds(); - TodoReturn getPlayTimerMilli(); - TeleportPortalObject* getPortalTarget(TeleportPortalObject*); - cocos2d::CCPoint getPortalTargetPos(TeleportPortalObject*, GameObject*, PlayerObject*); - TodoReturn getRecordString(); - TodoReturn getRotateCommandTargets(EnhancedTriggerObject*, GameObject*&, GameObject*&, GameObject*&); - TodoReturn getSavedPosition(int, float); - TodoReturn getScaledGroundHeight(float); - TodoReturn getSingleGroupObject(int); - TodoReturn getSpecialKey(int, bool, bool); - TodoReturn getStaticGroup(int); - TodoReturn getStickyGroup(int); - TodoReturn getTargetFlyCameraY(GameObject*); - TodoReturn getTargetGroup(int, int); - TodoReturn getTargetGroupOrigin(int, int); - TodoReturn gravBumpPlayer(PlayerObject*, EffectGameObject*); - void groupStickyObjects(cocos2d::CCArray*); - void handleButton(bool down, int button, bool isPlayer1); // button may be a PlayerButton enum - TodoReturn hasItem(int); - bool hasUniqueCoin(EffectGameObject*); - TodoReturn increaseBatchNodeCapacity(); - bool isFlipping(); - bool isPlayer2Button(int); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::ccColor3B); - TodoReturn lightningFlash(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::ccColor3B, float, float, int, bool, float); - TodoReturn loadGroupParentsFromString(GameObject*, gd::string); - void loadLevelSettings(); - TodoReturn loadStartPosObject(); - TodoReturn loadUpToPosition(float, int, int); - TodoReturn maxZOrderForShaderZ(int); - TodoReturn minZOrderForShaderZ(int); - TodoReturn modifyGroupPhysics(AdvancedFollowEditObject*, cocos2d::CCArray*); - TodoReturn modifyObjectPhysics(AdvancedFollowEditObject*, GameObjectPhysics&); - TodoReturn moveAreaObject(GameObject*, float, float); - TodoReturn moveCameraToPos(cocos2d::CCPoint); - void moveObject(GameObject*, double, double, bool); - void moveObjects(cocos2d::CCArray*, double, double, bool); - void moveObjectsSilent(int, double, double); - TodoReturn objectIntersectsCircle(GameObject*, GameObject*); - GJGameEvent objectTypeToGameEvent(int); - TodoReturn optimizeMoveGroups(); - TodoReturn orderSpawnObjects(); - TodoReturn parentForZLayer(int, bool, int, int); - TodoReturn pauseAudio(); - TodoReturn performMathOperation(double, double, int); - TodoReturn performMathRounding(double, int); - TodoReturn pickupItem(EffectGameObject*); - TodoReturn playAnimationCommand(int, int); - TodoReturn playerCircleCollision(PlayerObject*, GameObject*); - TodoReturn playerIntersectsCircle(PlayerObject*, GameObject*); - TodoReturn playerTouchedObject(PlayerObject*, GameObject*); - TodoReturn playerTouchedRing(PlayerObject*, RingObject*); - TodoReturn playerTouchedTrigger(PlayerObject*, EffectGameObject*); - TodoReturn playerWasTouchingObject(PlayerObject*, GameObject*); - void playerWillSwitchMode(PlayerObject*, GameObject*); - TodoReturn playExitDualEffect(PlayerObject*); - TodoReturn playFlashEffect(float, int, float); - TodoReturn playKeyframeAnimation(KeyframeAnimTriggerObject*, gd::vector const&); - TodoReturn playSpeedParticle(float); - TodoReturn positionForShaderTarget(int); - TodoReturn positionUIObjects(); - TodoReturn prepareSavePositionObjects(); - TodoReturn prepareTransformParent(bool); - TodoReturn preResumeGame(); - TodoReturn preUpdateVisibility(float); - TodoReturn processActivatedAudioTriggers(float); - TodoReturn processAdvancedFollowAction(AdvancedFollowInstance&, bool, float); - TodoReturn processAdvancedFollowActions(float); - TodoReturn processAreaActions(float, bool); - TodoReturn processAreaEffects(gd::vector*, GJAreaActionType, float, bool); - TodoReturn processAreaFadeGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaMoveGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaRotateGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaTintGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, bool); - TodoReturn processAreaTransformGroupAction(cocos2d::CCArray*, EnterEffectInstance*, cocos2d::CCPoint, int, int, int, int, int, bool, bool); - TodoReturn processAreaVisualActions(float); - TodoReturn processCameraObject(GameObject*, PlayerObject*); - TodoReturn processCommands(float); - TodoReturn processDynamicObjectActions(int, float); - TodoReturn processFollowActions(); - TodoReturn processItems(); - TodoReturn processMoveActions(); - TodoReturn processMoveActionsStep(float, bool); - TodoReturn processOptionsTrigger(GameOptionsTrigger*); - TodoReturn processPlayerFollowActions(float); - TodoReturn processQueuedAudioTriggers(); - TodoReturn processQueuedButtons(); - TodoReturn processRotationActions(); - TodoReturn processSFXObjects(); - TodoReturn processSFXState(SFXTriggerState*, SFXTriggerState*, int, float); - TodoReturn processSongState(int, float, float, int, float, float, gd::vector*, SongTriggerGameObject*); - TodoReturn processStateObjects(); - TodoReturn processTransformActions(bool); - TodoReturn queueButton(int, bool, bool); - TodoReturn reAddToStickyGroup(GameObject*); - TodoReturn recordAction(int, bool, bool); - TodoReturn rectIntersectsCircle(cocos2d::CCRect, cocos2d::CCPoint, float); - TodoReturn refreshCounterLabels(); - TodoReturn refreshKeyframeAnims(); - TodoReturn regenerateEnterEasingBuffers(); - TodoReturn registerSpawnRemap(gd::vector&); - TodoReturn registerStateObject(EffectGameObject*); - TodoReturn removeBackground(); - TodoReturn removeCustomEnterEffects(int, bool); - void removeFromGroupParents(GameObject*); - void removeFromGroups(GameObject*); - TodoReturn removeFromStickyGroup(GameObject*); - TodoReturn removeGroundLayer(); - TodoReturn removeGroupParent(int); - TodoReturn removeKeyframe(KeyframeGameObject*); - TodoReturn removeMiddleground(); - void removeObjectFromSection(GameObject*); - TodoReturn removePlayer2(); - TodoReturn removeTemporaryParticles(); - TodoReturn reorderObjectSection(GameObject*); - TodoReturn reparentObject(cocos2d::CCNode*, cocos2d::CCNode*); - TodoReturn resetActiveEnterEffects(); - TodoReturn resetAreaObjectValues(GameObject*, bool); - TodoReturn resetAudio(); - void resetCamera(); - void resetGradientLayers(); - TodoReturn resetGroupCounters(bool); - void resetLevelVariables(); - TodoReturn resetMoveOptimizedValue(); - void resetPlayer(); - void resetSongTriggerValues(); - TodoReturn resetSpawnChannelIndex(); - TodoReturn resetStaticCamera(bool, bool); - TodoReturn resetStoppedAreaObjects(); - TodoReturn restoreAllUIObjects(); - TodoReturn restoreDefaultGameplayOffsetX(); - TodoReturn restoreDefaultGameplayOffsetY(); - TodoReturn restoreRemap(EffectGameObject*, gd::unordered_map&); - TodoReturn resumeAudio(); - TodoReturn rotateAreaObjects(GameObject*, cocos2d::CCArray*, float, bool); - TodoReturn rotateObject(GameObject*, float); - void rotateObjects(cocos2d::CCArray*, float, cocos2d::CCPoint, cocos2d::CCPoint, bool, bool); - void setGroupParent(GameObject*, int); - void setStartPosObject(StartPosObject*); - TodoReturn setupLayers(); - TodoReturn setupLevelStart(LevelSettingsObject*); - TodoReturn setupReplay(gd::string); - TodoReturn shakeCamera(float, float, float); - TodoReturn shouldExitHackedLevel(); - TodoReturn sortAllGroupsX(); - TodoReturn sortGroups(); - TodoReturn sortSectionVector(); - TodoReturn sortStickyGroups(); - TodoReturn spawnGroupTriggered(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObjectsInOrder(cocos2d::CCArray*, double, gd::vector const&, int, int); - TodoReturn spawnParticle(char const*, int, cocos2d::tCCPositionType, cocos2d::CCPoint); - TodoReturn spawnParticleTrigger(int, cocos2d::CCPoint, float, float); - TodoReturn spawnParticleTrigger(SpawnParticleGameObject*); - TodoReturn spawnPlayer2(); - TodoReturn speedForShaderTarget(int); - TodoReturn staticObjectsInRect(cocos2d::CCRect, bool); - TodoReturn stopAllGroundActions(); - TodoReturn stopCameraShake(); - TodoReturn stopCustomEnterEffect(EnterEffectObject*, bool); - TodoReturn stopCustomEnterEffect(EnterEffectObject*); - TodoReturn stopSFXTrigger(SFXTriggerGameObject*); - TodoReturn swapBackground(int); - TodoReturn swapGround(int); - TodoReturn swapMiddleground(int); - void switchToFlyMode(PlayerObject*, GameObject*, bool, int); - void switchToRobotMode(PlayerObject*, GameObject*, bool); - void switchToRollMode(PlayerObject*, GameObject*, bool); - void switchToSpiderMode(PlayerObject*, GameObject*, bool); - TodoReturn syncBGTextures(); - void teleportPlayer(TeleportPortalObject*, PlayerObject*); - TodoReturn testInstantCountTrigger(int, int, int, bool, int, gd::vector const&, int, int); - void toggleAudioVisualizer(bool); - void toggleDualMode(GameObject*, bool, PlayerObject*, bool); - void toggleFlipped(bool, bool); - void toggleGroup(int, bool); - void toggleLockPlayer(bool, bool); - void togglePlayerStreakBlend(bool); - void togglePlayerVisibility(bool, bool); - void togglePlayerVisibility(bool); - TodoReturn transformAreaObjects(GameObject*, cocos2d::CCArray*, float, float, bool); - TodoReturn triggerAdvancedFollowCommand(AdvancedFollowTriggerObject*); - TodoReturn triggerAdvancedFollowEditCommand(AdvancedFollowEditObject*); - TodoReturn triggerAreaEffect(EnterEffectObject*); - TodoReturn triggerAreaEffectAnimation(EnterEffectObject*); - TodoReturn triggerDynamicMoveCommand(EffectGameObject*); - TodoReturn triggerDynamicRotateCommand(EnhancedTriggerObject*); - TodoReturn triggerGradientCommand(GradientTriggerObject*); - TodoReturn triggerGravityChange(EffectGameObject*, int); - TodoReturn triggerMoveCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EnhancedTriggerObject*); - bool triggerShaderCommand(ShaderGameObject*); - TodoReturn triggerTransformCommand(TransformTriggerGameObject*); - TodoReturn tryGetGroupParent(int); - TodoReturn tryGetMainObject(int); - TodoReturn tryGetObject(int); - TodoReturn tryResumeAudio(); - TodoReturn unclaimParticle(char const*, cocos2d::CCParticleSystemQuad*); - void ungroupStickyObjects(cocos2d::CCArray*); - TodoReturn unlinkAllEvents(); - TodoReturn updateActiveEnterEffect(EnterEffectObject*); - TodoReturn updateAllObjectSection(); - TodoReturn updateAreaObjectLastValues(GameObject*); - TodoReturn updateAudioVisualizer(); - TodoReturn updateBGArtSpeed(float, float); - TodoReturn updateCamera(float); - TodoReturn updateCameraBGArt(cocos2d::CCPoint, float); - TodoReturn updateCameraEdge(int, int); - void updateCameraMode(EffectGameObject*, bool); - TodoReturn updateCameraOffsetX(float, float, int, float, int, int); - TodoReturn updateCameraOffsetY(float, float, int, float, int, int); - TodoReturn updateCollisionBlocks(); - TodoReturn updateCounters(int, int); - void updateDualGround(PlayerObject*, int, bool, float); - TodoReturn updateEnterEffects(float); - TodoReturn updateExtendedCollision(GameObject*, bool); - TodoReturn updateExtraGameLayers(); - TodoReturn updateGameplayOffsetX(int, bool); - TodoReturn updateGameplayOffsetY(int, bool); - TodoReturn updateGradientLayers(); - TodoReturn updateGroundShadows(); - TodoReturn updateGuideArt(); - TodoReturn updateInternalCamOffsetX(float, float, float); - TodoReturn updateInternalCamOffsetY(float, float, float); - TodoReturn updateKeyframeOrder(int); - TodoReturn updateLayerCapacity(gd::string); - TodoReturn updateLegacyLayerCapacity(int, int, int, int); - TodoReturn updateLevelColors(); - TodoReturn updateMaxGameplayY(); - TodoReturn updateMGArtSpeed(float, float); - void updateMGOffsetY(float, float, int, float, int, int); - TodoReturn updateOBB2(cocos2d::CCRect); - TodoReturn updateParticles(float); - TodoReturn updatePlatformerTime(); - TodoReturn updatePlayerCollisionBlocks(); - TodoReturn updateProximityVolumeEffects(); - TodoReturn updateQueuedLabels(); - TodoReturn updateReplay(); - TodoReturn updateSavePositionObjects(); - TodoReturn updateShaderLayer(float); - TodoReturn updateSpecialGroupData(); - TodoReturn updateSpecialLabels(); - void updateStaticCameraPos(cocos2d::CCPoint, bool, bool, bool, float, int, float); - TodoReturn updateStaticCameraPosToGroup(int, bool, bool, bool, float, float, int, float, bool, float); - TodoReturn updateTimeMod(float, bool, bool); - TodoReturn updateTimerLabels(); - void updateZoom(float, float, int, float, int, int); - TodoReturn visitWithColorFlash(); - TodoReturn volumeForProximityEffect(SFXTriggerInstance&); - - virtual void update(float); - virtual bool init(); - virtual void visit(); - virtual void postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual void updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual TodoReturn opacityForObject(GameObject*); - virtual TodoReturn addToSpeedObjects(EffectGameObject*); - virtual TodoReturn objectsCollided(int, int); - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int); - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int); - virtual void spawnObject(GameObject*, double, gd::vector const&); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual void destroyPlayer(PlayerObject*, GameObject*); - virtual void updateDebugDraw(); - virtual void addToSection(GameObject*); - virtual void addToGroup(GameObject*, int, bool); - virtual void removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int) { return 0.f; } - virtual float posForTime(float) { return 0.f; } - virtual void resetSPTriggered() {} - virtual TodoReturn updateScreenRotation(float, bool, bool, float, int, float, int, int); - virtual TodoReturn reverseDirection(EffectGameObject*); - virtual TodoReturn rotateGameplay(RotateGameplayGameObject*); - virtual TodoReturn didRotateGameplay(); - virtual void updateTimeWarp(float); - virtual TodoReturn updateTimeWarp(GameObject*, float); - virtual TodoReturn applyTimeWarp(float); - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn createCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, bool); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*); - virtual TodoReturn flipArt(bool); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar(); - virtual void toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual void toggleMusicInPractice(); - - PAD = win 0x8, android32 0x8, android64 0x8; - GJGameState m_gameState; - GJGameLevel* m_level; - PlaybackMode m_playbackMode; - PAD = android32 0x28c, android64 0x514; - PlayerObject* m_player1; - PlayerObject* m_player2; - LevelSettingsObject* m_levelSettings; - cocos2d::CCArray* m_objects; - cocos2d::CCArray* m_unknownCB0; - cocos2d::CCArray* m_unknownCB8; - cocos2d::CCDictionary* m_unknownCC0; - cocos2d::CCNode* m_unknownCC8; - gd::vector m_unknownCD0; - gd::vector m_unknownCE8; - gd::vector m_unknownD00; - gd::vector m_unknownD18; - gd::vector m_unknownD30; - gd::unordered_map> m_unknownD48; - gd::vector m_unknownD70; - PAD = win 0x8, android32 0x8, android64 0x8; - gd::vector m_unk918; - PAD = win 0x30, android32 0x30, android64 0x30; - cocos2d::CCDictionary* m_groupDict; - cocos2d::CCDictionary* m_staticGroupDict; - cocos2d::CCDictionary* m_optimizedGroupDict; - gd::vector m_groups; - gd::vector m_staticGroups; - gd::vector m_optimizedGroups; - cocos2d::CCDictionary* m_unknownE38; - cocos2d::CCDictionary* m_unknownE40; - cocos2d::CCDictionary* m_unknownE48; - cocos2d::CCArray* m_unknownE50; - gd::unordered_map> m_unknownE58; - cocos2d::CCDictionary* m_unknownE80; - float m_unknownE88; - cocos2d::CCNode* m_unknownE90; - cocos2d::CCNode* m_unknownE98; - cocos2d::CCNode* m_unknownEA0; - cocos2d::CCLayer* m_objectLayer; - PAD = win 0x7c, android32 0x78, android64 0xec; - std::array m_massiveFloatArray; - PAD = win 0x48, android32 0x54, android64 0x98; // not sure about the android paddings - int m_leftSectionIndex; // 29b4 win, 29d4 android32, 30b4 android64 - int m_rightSectionIndex; - int m_bottomSectionIndex; - int m_topSectionIndex; - PAD = win 0xB8, android32 0xB0, android64 0x144; - bool m_isPracticeMode; // 2a7c win, 2a94 android32, 3208 android64 - bool m_practiceMusicSync; - float m_unk2a80; - cocos2d::CCNode* m_unk2a84; - int m_unk2a88; - float m_unk2a8c; - int m_unk2a90; - int m_unk2a94; - int m_unk2a98; - cocos2d::CCDictionary* m_unk2a9c; - float m_levelLength; - int m_unk2aa4; - EndPortalObject* m_endPortal; - bool m_isTestMode; - PAD = win 0xa0, android32 0x82, android64 0xb0; - gd::vector m_queuedButtons; - PAD = android32 0xb0, android64 0x148; - UILayer* m_uiLayer; - PAD = android32 0x24, android64 0x40; - gd::vector*>*> m_sections; // 2c2c - PAD = android32 0x118, android64 0x1A8; - cocos2d::CCDrawNode* m_debugDrawNode; // android32 = 0x2d50, android64 = 0x3668 - PAD = android32 0x4, android64 0x8; - bool m_isDebugDrawEnabled; - PAD = android32 0x5, android64 0x9; -} - -[[link(android)]] -class GJBigSprite : cocos2d::CCNode { - // virtual ~GJBigSprite(); - - static GJBigSprite* create(); - - TodoReturn finishedLoadingSpriteAsync(cocos2d::CCObject*); - TodoReturn loadSpriteAsync(gd::string, int); - TodoReturn unloadAll(); - TodoReturn unloadSprite(gd::string, int); - TodoReturn updateSpriteVisibility(); - - virtual bool init(); -} - -[[link(android)]] -class GJBigSpriteNode : cocos2d::CCNode { - // virtual ~GJBigSpriteNode(); - - static GJBigSpriteNode* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJChallengeDelegate { - virtual TodoReturn challengeStatusFinished(); - virtual TodoReturn challengeStatusFailed(); -} - -[[link(android)]] -class GJChallengeItem : cocos2d::CCObject { - // virtual ~GJChallengeItem(); - - static GJChallengeItem* create(); - static GJChallengeItem* create(GJChallengeType, int, int, int, gd::string); - - TodoReturn createFromString(gd::string); - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*); - TodoReturn incrementCount(int); - bool init(GJChallengeType, int, int, int, gd::string); - void setCount(int); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - GJChallengeType m_challengeType; - geode::SeedValueSRV m_count; - geode::SeedValueSRV m_reward; - geode::SeedValueSRV m_goal; - int m_timeLeft; - bool m_canClaim; - int m_position; - gd::string m_name; -} - -[[link(android)]] -class GJChestSprite : cocos2d::CCSprite { - // virtual ~GJChestSprite(); - - static GJChestSprite* create(int); - - bool init(int); - void switchToState(ChestSpriteState, bool); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); -} - -[[link(android)]] -class GJColorSetupLayer : FLAlertLayer, ColorSelectDelegate, FLAlertLayerProtocol { - // virtual ~GJColorSetupLayer(); - - static GJColorSetupLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onClose(cocos2d::CCObject* sender); - void onColor(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void showPage(int); - TodoReturn updateSpriteColor(ColorChannelSprite*, cocos2d::CCLabelBMFont*, int); - TodoReturn updateSpriteColors(); - - virtual void keyBackClicked(); - virtual void colorSelectClosed(cocos2d::CCNode*); -} - -[[link(android)]] -class GJComment : cocos2d::CCNode { - // virtual ~GJComment(); - - static GJComment* create(); - static GJComment* create(cocos2d::CCDictionary*); - - virtual bool init(); - - gd::string m_commentString; - gd::string m_userName; - int m_commentID; - int m_userID; - int m_likeCount; - int m_levelID; - bool m_isSpam; - int m_accountID; - gd::string m_uploadDate; - bool m_commentDeleted; - int m_percentage; - int m_modBadge; - cocos2d::ccColor3B m_color; - bool m_hasLevelID; - bool m_unkMultiplayerBool; - GJUserScore* m_userScore; -} - -[[link(android)]] -class GJCommentListLayer : cocos2d::CCLayerColor { - // virtual ~GJCommentListLayer(); - - static GJCommentListLayer* create(BoomListView* listView, char const* title, cocos2d::ccColor4B color, float width, float height, bool blueBorder); - - bool init(BoomListView* listView, char const* title, cocos2d::ccColor4B color, float width, float height, bool blueBorder); - - BoomListView* m_list; -} - -[[link(android)]] -class GJDailyLevelDelegate { - virtual void dailyStatusFinished(GJTimedLevelType); - virtual void dailyStatusFailed(GJTimedLevelType, GJErrorCode); -} - -[[link(android)]] -class GJDifficultySprite : cocos2d::CCSprite { - // virtual ~GJDifficultySprite(); - - static GJDifficultySprite* create(int, GJDifficultyName); - - gd::string getDifficultyFrame(int, GJDifficultyName); - bool init(int, GJDifficultyName); - void updateDifficultyFrame(int, GJDifficultyName); - void updateFeatureState(GJFeatureState); - void updateFeatureStateFromLevel(GJGameLevel*); -} - -[[link(android)]] -class GJDropDownLayer : cocos2d::CCLayerColor { - // virtual ~GJDropDownLayer(); - // GJDropDownLayer(); - - static GJDropDownLayer* create(char const*, float, bool); - static GJDropDownLayer* create(char const*); - - bool init(char const*, float, bool); - bool init(char const*); - - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void customSetup() {} - virtual void enterLayer(); - virtual void exitLayer(cocos2d::CCObject*); - virtual void showLayer(bool); - virtual void hideLayer(bool); - virtual void layerVisible(); - virtual void layerHidden(); - virtual void enterAnimFinished() {} - virtual void disableUI(); - virtual void enableUI(); - - cocos2d::CCPoint m_endPosition; - cocos2d::CCPoint m_startPosition; - cocos2d::CCMenu* m_buttonMenu; - GJListLayer* m_listLayer; - cocos2d::CCLayer* m_mainLayer; - bool m_hidden; - GJDropDownLayerDelegate* m_delegate; - bool m_unknown; -} - -[[link(android)]] -class GJDropDownLayerDelegate { - virtual void dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class GJEffectManager : cocos2d::CCNode { - // virtual ~GJEffectManager(); - // GJEffectManager(); - - static GJEffectManager* create(); - - TodoReturn activeColorForIndex(int); - TodoReturn activeOpacityForIndex(int); - TodoReturn addAllInheritedColorActions(cocos2d::CCArray*); - TodoReturn addCountToItem(int, int); - TodoReturn addMoveCalculation(CCMoveCNode*, cocos2d::CCPoint, GameObject*); - TodoReturn calculateBaseActiveColors(); - TodoReturn calculateInheritedColor(int, ColorAction*); - TodoReturn calculateLightBGColor(cocos2d::ccColor3B); - TodoReturn checkCollision(int const&, int const&); - TodoReturn colorActionChanged(ColorAction*); - TodoReturn colorExists(int); - TodoReturn colorForEffect(cocos2d::ccColor3B, cocos2d::ccHSVValue); - TodoReturn colorForGroupID(int, cocos2d::ccColor3B const&, bool); - TodoReturn colorForIndex(int); - TodoReturn colorForPulseEffect(cocos2d::ccColor3B const&, PulseEffectAction*); - TodoReturn controlActionsForControlID(int, GJActionCommand); - TodoReturn controlActionsForTrigger(EffectGameObject*, GJActionCommand); - TodoReturn countForItem(int); - TodoReturn createFollowCommand(float, float, float, int, int, int, int); - TodoReturn createKeyframeCommand(int, cocos2d::CCArray*, GameObject*, int, int, bool, float, float, float, float, float, float, gd::vector const&); - TodoReturn createMoveCommand(cocos2d::CCPoint, int, float, int, float, bool, bool, bool, bool, float, float, int, int); - TodoReturn createPlayerFollowCommand(float, float, int, float, float, int, int, int); - TodoReturn createRotateCommand(float, float, int, int, int, float, bool, bool, bool, int, int); - TodoReturn createTransformCommand(double, double, double, double, bool, float, int, int, int, float, bool, bool, int, int); - TodoReturn getAllColorActions(); - TodoReturn getAllColorSprites(); - ColorAction* getColorAction(int); - ColorActionSprite* getColorSprite(int); - TodoReturn getLoadedMoveOffset(gd::unordered_map>&); - TodoReturn getMixedColor(cocos2d::ccColor3B, cocos2d::ccColor3B, float); - TodoReturn getMoveCommandNode(GroupCommandObject2*); - TodoReturn getMoveCommandObject(); - TodoReturn getOpacityActionForGroup(int); - gd::string getSaveString(); - TodoReturn getTempGroupCommand(); - TodoReturn handleObjectCollision(bool, int, int); - TodoReturn hasActiveDualTouch(); - TodoReturn hasBeenTriggered(int, int); - TodoReturn hasPulseEffectForGroupID(int); - bool isGroupEnabled(int); - TodoReturn keyForGroupIDColor(int, cocos2d::ccColor3B const&, bool); - void loadFromState(EffectManagerState&); - TodoReturn objectsCollided(int, int); - TodoReturn opacityForIndex(int); - TodoReturn opacityModForGroup(int); - TodoReturn pauseTimer(int); - TodoReturn playerButton(bool, bool); - TodoReturn playerDied(); - TodoReturn postCollisionCheck(); - TodoReturn postMoveActions(); - TodoReturn preCollisionCheck(); - TodoReturn prepareMoveActions(float, bool); - TodoReturn processColors(); - TodoReturn processCopyColorPulseActions(); - TodoReturn processInheritedColors(); - TodoReturn processMoveCalculations(); - TodoReturn processPulseActions(); - TodoReturn registerCollisionTrigger(int, int, int, bool, bool, gd::vector const&, int, int); - TodoReturn registerRotationCommand(GroupCommandObject2*, bool); - TodoReturn removeAllPulseActions(); - TodoReturn removeColorAction(int); - TodoReturn removePersistentFromAllItems(); - TodoReturn removePersistentFromAllTimers(); - TodoReturn removeTriggeredID(int, int); - TodoReturn reset(); - TodoReturn resetEffects(); - TodoReturn resetMoveActions(); - TodoReturn resetTempGroupCommands(bool); - TodoReturn resetToggledGroups(); - TodoReturn resetTriggeredIDs(); - TodoReturn resumeTimer(int); - TodoReturn runCountTrigger(int, int, bool, int, bool, gd::vector const&, int, int); - TodoReturn runDeathTrigger(int, bool, gd::vector const&, int, int); - TodoReturn runOpacityActionOnGroup(int, float, float, int, int); - TodoReturn runPulseEffect(int, bool, float, float, float, PulseEffectType, cocos2d::ccColor3B, cocos2d::ccHSVValue, int, bool, bool, bool, bool, int, int); - TodoReturn runTimerTrigger(int, double, bool, int, gd::vector const&, int, int); - TodoReturn runTouchTriggerCommand(int, bool, TouchTriggerType, TouchTriggerControl, bool, gd::vector const&, int, int); - TodoReturn saveCompletedMove(int, double, double); - void saveToState(EffectManagerState&); - void setColorAction(ColorAction*, int); - void setFollowing(int, int, bool); - void setupFromString(gd::string); - TodoReturn shouldBlend(int); - TodoReturn spawnGroup(int, float, bool, gd::vector const&, int, int); - TodoReturn spawnObject(GameObject*, float, gd::vector const&, int, int); - TodoReturn startTimer(int, double, double, bool, bool, bool, float, bool, int, gd::vector const&, int, int); - TodoReturn storeTriggeredID(int, int); - TodoReturn timeForItem(int); - TodoReturn timerExists(int); - TodoReturn toggleGroup(int, bool); - TodoReturn toggleItemPersistent(int, bool); - TodoReturn toggleTimerPersistent(int, bool); - TodoReturn transferPersistentItems(); - TodoReturn traverseInheritanceChain(InheritanceNode*); - TodoReturn tryGetMoveCommandNode(int); - TodoReturn updateActiveOpacityEffects(); - TodoReturn updateColorAction(ColorAction*); - TodoReturn updateColorEffects(float); - TodoReturn updateColors(cocos2d::ccColor3B, cocos2d::ccColor3B); - TodoReturn updateCountForItem(int, int); - TodoReturn updateEffects(float); - void updateOpacityAction(OpacityEffectAction*); - void updateOpacityEffects(float); - TodoReturn updatePulseEffects(float); - TodoReturn updateSpawnTriggers(float); - TodoReturn updateTimer(int, double); - TodoReturn updateTimers(float, float); - TodoReturn wasFollowing(int, int); - TodoReturn wouldCreateLoop(InheritanceNode*, int); - - virtual bool init(); -} - -[[link(android)]] -class GJFlyGroundLayer : GJGroundLayer { - // virtual ~GJFlyGroundLayer(); - - static GJFlyGroundLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJFollowCommandLayer(); - - static GJFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJFriendRequest : cocos2d::CCNode { - // virtual ~GJFriendRequest(); - - static GJFriendRequest* create(); - static GJFriendRequest* create(cocos2d::CCDictionary*); - - virtual bool init(); -} - -[[link(android)]] -class GJGameLevel : cocos2d::CCNode { - // virtual ~GJGameLevel(); - static GJGameLevel* create(); - static GJGameLevel* create(cocos2d::CCDictionary* dict, bool hasPassword); - inline static GJGameLevel* createWithCoder(DS_Dictionary* dict) { - //inlined on windows - auto level = GJGameLevel::create(); - level->dataLoaded(dict); - return level; - } - - bool areCoinsVerified(); - void copyLevelInfo(GJGameLevel* levelInfo); - void dataLoaded(DS_Dictionary* ); - static int demonIconForDifficulty(DemonDifficultyType); - gd::string generateSettingsString(); - gd::string getAudioFileName(); - TodoReturn getAverageDifficulty(); - char const* getCoinKey(int); - int getLastBuildPageForTab(int page); - int getLengthKey(int, bool); - GJGameLevel* getListSnapshot(); - int getNormalPercent(); - TodoReturn getSongName(); - gd::string getUnpackedLevelDescription(); - TodoReturn handleStatsConflict(GJGameLevel*); - inline bool isPlatformer() { - return m_levelLength == 5; - } - const char* lengthKeyToString(int); - void levelWasAltered(); - void levelWasSubmitted(); - void parseSettingsString(gd::string settings); - void saveNewScore(int newTime, int newPoints); - void savePercentage(int, bool, int, int, bool); - TodoReturn scoreStringToVector(gd::string&, gd::vector&); - TodoReturn scoreVectorToString(gd::vector&, int); - void setAccountID(int accountID); - void setAttempts(int attempts); - void setAttemptTime(int attemptTime); - void setClicks(int clicks); - void setCoinsVerified(int coinsVerified); - void setDailyID(int dailyID); - void setDemon(int demon); - void setJumps(int jumps); - void setLastBuildPageForTab(int, int); - void setLevelID(int levelID); - void setNewNormalPercent(int newNormalPercent); - void setNewNormalPercent2(int newNormalPercent2); - void setNormalPercent(int normalPercent); - void setObjectCount(int objectCount); - void setOriginalLevel(int copiedID); - void setStars(int stars); - bool shouldCheatReset(); - TodoReturn storeNewLocalScore(int, int); - void unverifyCoins(); - - virtual void encodeWithCoder(DS_Dictionary* dsdict); - virtual bool canEncode(); //merged func (return true) - virtual bool init(); - - cocos2d::CCDictionary* m_lastBuildSave; - geode::SeedValueRSV m_levelID; - gd::string m_levelName; - gd::string m_levelDesc; - gd::string m_levelString; - gd::string m_creatorName; - gd::string m_recordString; - gd::string m_uploadDate; - gd::string m_updateDate; - gd::string m_unkString1; - gd::string m_unkString2; - - cocos2d::CCPoint m_unkPoint; - geode::SeedValueRSV m_userID; - geode::SeedValueRSV m_accountID; - GJDifficulty m_difficulty; - int m_audioTrack; - int m_songID; - int m_levelRev; - bool m_unlisted; - bool m_friendsOnly; - geode::SeedValueRSV m_objectCount; - int m_levelIndex; - int m_ratings; - int m_ratingsSum; - int m_downloads; - bool m_isEditable; - bool m_gauntletLevel; - bool m_gauntletLevel2; - int m_workingTime; - int m_workingTime2; - bool m_lowDetailMode; - bool m_lowDetailModeToggled; - bool m_selected; - bool m_localOrSaved; - bool m_disableShake; - geode::SeedValueRS m_isVerified; - bool m_isVerifiedRaw; - bool m_isUploaded; - bool m_hasBeenModified; - int m_levelVersion; - int m_gameVersion; - - geode::SeedValueRSV m_attempts; - geode::SeedValueRSV m_jumps; - geode::SeedValueRSV m_clicks; - geode::SeedValueRSV m_attemptTime; - int m_chk; - bool m_isChkValid; - bool m_isCompletionLegitimate; - geode::SeedValueVSR m_normalPercent; - geode::SeedValueRSV m_orbCompletion; - geode::SeedValueRSV m_newNormalPercent2; - int m_practicePercent; - int m_likes; - int m_dislikes; - int m_levelLength; - int m_featured; - int m_isEpic; - bool m_levelFavorited; - int m_levelFolder; - geode::SeedValueRSV m_dailyID; - geode::SeedValueRSV m_demon; - int m_demonDifficulty; - geode::SeedValueRSV m_stars; - bool m_autoLevel; - int m_coins; - geode::SeedValueRSV m_coinsVerified; - geode::SeedValueRS m_password; - geode::SeedValueRSV m_originalLevel; - bool m_twoPlayerMode; - int m_failedPasswordAttempts; - geode::SeedValueRSV m_firstCoinVerified; - geode::SeedValueRSV m_secondCoinVerified; - geode::SeedValueRSV m_thirdCoinVerified; - int m_starsRequested; - bool m_showedSongWarning; - int m_starRatings; - int m_starRatingsSum; - int m_maxStarRatings; - int m_minStarRatings; - int m_demonVotes; - int m_rateStars; - int m_rateFeature; - gd::string m_rateUser; - bool m_dontSave; - bool m_levelNotDownloaded; - int m_requiredCoins; - bool m_isUnlocked; - cocos2d::CCPoint m_lastCameraPos; - float m_fastEditorZoom; - int m_lastBuildTab; - int m_lastBuildPage; - int m_lastBuildGroupID; - GJLevelType m_levelType; - int m_M_ID; - gd::string m_tempName; - gd::string m_capacityString; - bool m_highObjectsEnabled; - bool m_unlimitedObjectsEnabled; - gd::string m_personalBests; - int m_timestamp; - int m_unkInt; - gd::string m_songIDs; - gd::string m_sfxIDs; - int m_54; - int m_bestTime; - int m_bestPoints; - int m_k111; - gd::string m_unkString3; - gd::string m_unkString4; -} - -[[link(android)]] -class GJGameLoadingLayer : cocos2d::CCLayer { - // virtual ~GJGameLoadingLayer(); - - static GJGameLoadingLayer* create(GJGameLevel* level, bool editor); - - void gameLayerDidUnload(); - bool init(GJGameLevel* level, bool editor); - void loadLevel(); - static GJGameLoadingLayer* transitionToLoadingLayer(GJGameLevel* level, bool editor); - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - - GJGameLevel* m_level; - bool m_editor; -} - -[[link(android), depends(EventTriggerInstance), depends(SongChannelState), depends(DynamicObjectAction), depends(AdvancedFollowInstance), depends(EnterEffectInstance), depends(GameObjectPhysics), depends(GJValueTween), depends(SFXTriggerInstance)]] -class GJGameState { - // ~GJGameState(); - // GJGameState(); - - TodoReturn controlTweenAction(int, int, GJActionCommand); - TodoReturn getGameObjectPhysics(GameObject*); - TodoReturn processStateTriggers(); - void stopTweenAction(int); - TodoReturn tweenValue(float, float, int, float, int, float, int, int); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); - - float m_unk0; - float m_unk4; - cocos2d::CCPoint m_unk8; - cocos2d::CCPoint m_unk10; - cocos2d::CCPoint m_unk18; - cocos2d::CCPoint m_unk20; - cocos2d::CCPoint m_unk28; - cocos2d::CCPoint m_unk30; - cocos2d::CCPoint m_unk38; - cocos2d::CCPoint m_unk40; - cocos2d::CCPoint m_unk48; - cocos2d::CCPoint m_unk50; - cocos2d::CCPoint m_unk58; - cocos2d::CCPoint m_unk60; - cocos2d::CCPoint m_unk68; - cocos2d::CCPoint m_unk70; - cocos2d::CCPoint m_unk78; - cocos2d::CCPoint m_unk80; - cocos2d::CCPoint m_unk88; - cocos2d::CCPoint m_unk90; - cocos2d::CCPoint m_unk98; - cocos2d::CCPoint m_unka0; - cocos2d::CCPoint m_unka8; - cocos2d::CCPoint m_unkb0; - cocos2d::CCPoint m_unkb8; - cocos2d::CCPoint m_unkc0; - cocos2d::CCPoint m_unkc8; - cocos2d::CCPoint m_unkd0; - cocos2d::CCPoint m_unkd8; - cocos2d::CCPoint m_unke0; - cocos2d::CCPoint m_unke8; - cocos2d::CCPoint m_unkf0; - bool m_unkf8; - int m_unkfc; - bool m_unk100; - int m_unk104; - bool m_unk108; - cocos2d::CCPoint m_unk10c; - PAD = win 0x10, android32 0x10, android64 0x10; - float m_unk124; - float m_unk128; - PAD = win 0x1c, android32 0x1c, android64 0x1c; - float m_unk148; - PAD = win 0x1c, android32 0x1c, android64 0x1c; - bool m_unk168; - bool m_unk169; - bool m_unk16a; - float m_unk16c; - float m_unk170; - float m_unk174; - float m_unk178; - int m_unk17c; - int m_unk180; - bool m_unk184; - float m_unk188; - float m_unk18c; - int m_currentChannel; - int m_unk194; - gd::unordered_map m_unk198; - gd::unordered_map m_unk1b4; - float m_unk1d0; // unsure types of all 4 floats - float m_unk1d4; - float m_unk1d8; - float m_unk1dc; - double m_unk1e0; // unsure type - PAD = win 0x10, android32 0x10, android64 0x10; - int m_unk1f8; - PAD = win 0x10, android32 0x10, android64 0x1c; - cocos2d::CCPoint m_unk20c; - PAD = win 0xa, android32 0xa, android64 0xa; - bool m_isDualMode; - PAD = win 0x5, android32 0x5, android64 0x5; - gd::unordered_map m_unk224; - PAD = win 0x10, android32 0x10, android64 0x10; - gd::unordered_map m_unk250; - PAD = win 0x18, android32 0x18, android64 0x24; - cocos2d::CCPoint m_unk284; - int m_unk288; - int m_unk28c; - bool m_unk290; - gd::map, int> m_unk298; - int m_unkidk; - cocos2d::CCPoint m_unk2b8; - cocos2d::CCPoint m_unk2c0; - bool m_unk2c8; - bool m_unk2c9; - bool m_unk2ca; - PAD = win 0x6, android32 0x6, android64 0x6; - bool m_unk2d0; - bool m_unk2d1; - PAD = win 0x10, android32 0x10, android64 0x10; - double m_unk2e4; // unsure type - cocos2d::CCPoint m_unk2e8; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::unordered_map m_unk2f4; - gd::map, gd::vector> m_unk310; - gd::map, int> m_unk328; - gd::unordered_map> m_unk340; - gd::unordered_map> m_unk35c; - gd::vector m_unk378; - gd::vector m_unk384; - gd::vector m_unk390; - gd::vector m_unk39c; - gd::vector m_unk3a8; - gd::vector m_unk3b4; - gd::vector m_unk3c0; - gd::unordered_set m_unk3cc; - bool m_unk3e8; - gd::vector m_unk3ec; - gd::vector m_unk3f8; - gd::vector m_unk404; - bool m_unk410; - bool m_unk411; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::unordered_map> m_unk418; - gd::map, SFXTriggerInstance> m_unk434; - gd::unordered_map m_unk44c; - gd::unordered_map> m_unk468; - gd::vector m_unk484; - PAD = win 0x1c, android32 0x1c, android64 0x1c; -} - -[[link(android)]] -class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, GameRateDelegate, ListButtonBarDelegate, DialogDelegate, CharacterColorDelegate { - // virtual ~GJGarageLayer(); - - gd::string achievementForUnlock(int, UnlockType); - gd::string descriptionForUnlock(int, UnlockType); - cocos2d::CCArray* getItems(IconType); - cocos2d::CCArray* getItems(int, int, IconType, int); - TodoReturn getLockFrame(int, UnlockType); - static GJGarageLayer* node(); - void onArrow(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNavigate(cocos2d::CCObject* sender); - void onPaint(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - void onSelectTab(cocos2d::CCObject* sender); - void onShards(cocos2d::CCObject* sender); - void onShop(cocos2d::CCObject* sender); - void onSpecial(cocos2d::CCObject* sender); - void onToggleItem(cocos2d::CCObject* sender); - void playRainbowEffect(); - void playShadowEffect(); - static cocos2d::CCScene* scene(); - void selectTab(IconType); - void setupIconSelect(); - void setupPage(int, IconType); - void setupSpecialPage(); - void showUnlockPopupNew(int, UnlockType); - gd::string titleForUnlock(int, UnlockType); - void toggleGlow(); - void updatePlayerColors(); - void updatePlayerName(char const*); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void listButtonBarSwitchedPage(ListButtonBar*, int); - virtual void showUnlockPopup(int, UnlockType); - virtual void updateRate(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void dialogClosed(DialogLayer*); - virtual void playerColorChanged(); - - CCTextInputNode* m_usernameInput; - SimplePlayer* m_playerObject; - cocos2d::CCArray* m_tabButtons; - cocos2d::CCArray* m_pageButtons; - PAD = android32 0x8, win 0x8, android64 0x10; - bool m_hasClosed; - PAD = android32 0x3, win 0x3, android64 0x3; - IconType m_iconType; - gd::map m_iconPages; - cocos2d::CCSprite* m_cursor1; - cocos2d::CCSprite* m_cursor2; - CCMenuItemSpriteExtra* m_currentIcon; - ListButtonBar* m_iconSelection; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_rightArrow; - cocos2d::CCMenu* m_iconSelectionMenu; - int m_iconID; - IconType m_selectedIconType; -} - -[[link(android)]] -class GJGradientLayer : cocos2d::CCLayerGradient { - // virtual ~GJGradientLayer(); - - static GJGradientLayer* create(); - - virtual bool init(); -} - -[[link(android)]] -class GJGroundLayer : cocos2d::CCLayer { - // virtual ~GJGroundLayer(); - - static GJGroundLayer* create(int, int); - - TodoReturn createLine(int); - TodoReturn deactivateGround(); - TodoReturn fadeInFinished(); - TodoReturn getGroundY(); - TodoReturn hideShadows(); - bool init(int, int); - void loadGroundSprites(int, bool); - TodoReturn positionGround(float); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - void updateGround01Color(cocos2d::ccColor3B); - void updateGround02Color(cocos2d::ccColor3B); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateLineBlend(bool); - TodoReturn updateShadows(); - TodoReturn updateShadowXPos(float, float); - - virtual void draw() {} - virtual void showGround(); - virtual TodoReturn fadeInGround(float); - virtual TodoReturn fadeOutGround(float); -} - -[[link(android)]] -class GJHttpResult : cocos2d::CCNode { - // virtual ~GJHttpResult(); - - static GJHttpResult* create(bool, gd::string, gd::string, GJHttpType); - - bool init(bool, gd::string, gd::string, GJHttpType); -} - -[[link(android)]] -class GJItemIcon : cocos2d::CCSprite { - // virtual ~GJItemIcon(); - - static GJItemIcon* create(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B); - - void changeToLockedState(float); - inline static GJItemIcon* createBrowserItem(UnlockType unlockType, int itemID) { - return GJItemIcon::create(unlockType, itemID, {0xAF, 0xAF, 0xAF}, {0xFF, 0xFF, 0xFF}, false, true, true, {0xFF, 0xFF, 0xFF}); - } - TodoReturn createStoreItem(UnlockType, int, bool, cocos2d::ccColor3B); - void darkenStoreItem(cocos2d::ccColor3B); - TodoReturn darkenStoreItem(ShopType); - bool init(UnlockType, int, cocos2d::ccColor3B, cocos2d::ccColor3B, bool, bool, bool, cocos2d::ccColor3B); - float scaleForType(UnlockType); - TodoReturn toggleEnabledState(bool); - TodoReturn unlockedColorForType(int); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class GJLevelList : cocos2d::CCNode { - // virtual ~GJLevelList(); - - static GJLevelList* create(); - static GJLevelList* create(cocos2d::CCDictionary*); - - TodoReturn addLevelToList(GJGameLevel*); - int completedLevels(); - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*); - TodoReturn duplicateListLevels(GJLevelList*); - TodoReturn frameForListDifficulty(int, DifficultyIconType); - cocos2d::CCArray* getListLevelsArray(cocos2d::CCArray*); - gd::string getUnpackedDescription(); - TodoReturn handleStatsConflict(GJLevelList*); - TodoReturn hasMatchingLevels(GJLevelList*); - TodoReturn orderForLevel(int); - TodoReturn parseListLevels(gd::string); - TodoReturn removeLevelFromList(int); - TodoReturn reorderLevel(int, int); - TodoReturn reorderLevelStep(int, bool); - void showListInfo(); - TodoReturn totalLevels(); - TodoReturn updateLevelsString(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - virtual bool init(); - - gd::vector m_levels; - int m_listID; - int m_listVersion; - int m_downloads; - int m_likes; - int m_difficulty; - int m_accountID; - int m_folder; - int m_listRevision; - int m_listOrder; - int m_original; - int m_diamonds; - int m_levelsToClaim; - bool m_unkBool; - bool m_unlisted; - bool m_friendsOnly; - bool m_uploaded; - bool m_favorite; - bool m_featured; - bool m_k100; - gd::string m_creatorName; - gd::string m_listName; - gd::string m_unkString; - gd::string m_levelsString; - gd::string m_listDesc; - int m_uploadDate; - int m_updateDate; - cocos2d::CCDictionary* m_k97; - int m_listType; - int m_M_ID; -} - -[[link(android)]] -class GJLevelScoreCell : TableViewCell { - // virtual ~GJLevelScoreCell(); - GJLevelScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJListLayer : cocos2d::CCLayerColor { - // virtual ~GJListLayer(); - - static GJListLayer* create(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int) = ios 0x85a2c; - - bool init(BoomListView*, char const*, cocos2d::ccColor4B, float, float, int); - - BoomListView* m_listView; -} - -[[link(android)]] -class GJLocalLevelScoreCell : TableViewCell { - // virtual ~GJLocalLevelScoreCell(); - GJLocalLevelScoreCell(char const*, float, float); - - void loadFromScore(GJLocalScore*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GJLocalScore : cocos2d::CCObject { - // virtual ~GJLocalScore(); - - static GJLocalScore* create(int, int); - - bool init(int, int); -} - -[[link(android)]] -class GJMapObject : cocos2d::CCNode { - // virtual ~GJMapObject(); - - static GJMapObject* create(cocos2d::CCNode*); - - TodoReturn createMonster(int); - bool init(cocos2d::CCNode*); - TodoReturn monsterIdle(); - TodoReturn monsterJump(); - TodoReturn moveFinished(); - TodoReturn moveMonster(); - TodoReturn moveMonster(cocos2d::CCPoint, float); - TodoReturn playerJump(); - void setObjectOrigin(cocos2d::CCPoint, float); - TodoReturn startMonsterJumpLoop(); - TodoReturn startPlayerJumpLoop(); - TodoReturn touchMonster(); - TodoReturn updateShadow(float, float, cocos2d::CCPoint); -} - -[[link(android)]] -class GJMapPack : cocos2d::CCNode { - // virtual ~GJMapPack(); - - static GJMapPack* create(); - static GJMapPack* create(cocos2d::CCDictionary*); - - int completedMaps(); - bool hasCompletedMapPack(); - TodoReturn parsePackColors(gd::string, gd::string); - TodoReturn parsePackLevels(gd::string); - int totalMaps() { - if (this->m_levels) { - return this->m_levels->count(); - } - - return 0; - } - - virtual bool init(); - - cocos2d::CCArray* m_levels; - int m_packID; - GJDifficulty m_difficulty; - int m_stars; - int m_coins; - gd::string m_packName; - gd::string m_levelStrings; - cocos2d::ccColor3B m_textColour; - cocos2d::ccColor3B m_barColour; - int m_MId; - bool m_isGauntlet; - - - - -} - -[[link(android)]] -class GJMessageCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJMessageCell(); - GJMessageCell(char const*, float, float); - - void loadFromMessage(GJUserMessage*); - TodoReturn markAsRead(); - void onDeleteMessage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewMessage(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJMessagePopup : FLAlertLayer, UploadActionDelegate, UploadPopupDelegate, FLAlertLayerProtocol, DownloadMessageDelegate { - // virtual ~GJMessagePopup(); - - static GJMessagePopup* create(GJUserMessage*); - - void blockUser(); - bool init(GJUserMessage*); - void loadFromGJMessage(GJUserMessage*); - void onBlock(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onRemove(cocos2d::CCObject* sender); - void onReply(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn downloadMessageFinished(GJUserMessage*); - virtual TodoReturn downloadMessageFailed(int); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class GJMGLayer : cocos2d::CCLayer { - // virtual ~GJMGLayer(); - - static GJMGLayer* create(int); - - TodoReturn deactivateGround(); - TodoReturn defaultYOffsetForBG2(int); - bool init(int); - void loadGroundSprites(int, bool); - TodoReturn scaleGround(float); - TodoReturn toggleVisible01(bool); - TodoReturn toggleVisible02(bool); - TodoReturn updateGroundColor(cocos2d::ccColor3B, bool); - TodoReturn updateGroundOpacity(unsigned char, bool); - TodoReturn updateGroundPos(cocos2d::CCPoint); - TodoReturn updateGroundWidth(bool); - TodoReturn updateMG01Blend(bool); - TodoReturn updateMG02Blend(bool); - - virtual void draw() {} - virtual void showGround(); -} - -[[link(android)]] -class GJMoreGamesLayer : GJDropDownLayer { - // virtual ~GJMoreGamesLayer(); - - static GJMoreGamesLayer* create(); - - TodoReturn getMoreGamesList(); - - virtual void customSetup(); -} - -[[link(android)]] -class GJMPDelegate { - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn didUploadMPComment(int); - virtual TodoReturn updateComments(); -} - -[[link(android)]] -class GJMultiplayerManager : cocos2d::CCNode { - // virtual ~GJMultiplayerManager(); - - static GJMultiplayerManager* sharedState(); - - void addComment(gd::string, int); - void addDLToActive(char const* tag, cocos2d::CCObject* obj); - void addDLToActive(char const* tag); - TodoReturn createAndAddComment(gd::string, int); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - TodoReturn exitLobby(int); - void firstSetup(); - TodoReturn getBasePostString(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getLastCommentIDForGame(int); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - bool isDLActive(char const* tag); - TodoReturn joinLobby(int); - void onExitLobbyCompleted(gd::string, gd::string); - void onJoinLobbyCompleted(gd::string, gd::string); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onUploadCommentCompleted(gd::string, gd::string); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void removeDLFromActive(char const*); - void uploadComment(gd::string, int); - - virtual bool init(); -} - -[[link(android)]] -class GJObjectDecoder : cocos2d::CCNode, ObjectDecoderDelegate { - // virtual ~GJObjectDecoder(); - - static GJObjectDecoder* sharedDecoder(); - - virtual bool init(); - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class GJOptionsLayer : SetupTriggerPopup { - // virtual ~GJOptionsLayer(); - // GJOptionsLayer(); - - static GJOptionsLayer* create(int); - - TodoReturn addGVToggle(char const*, char const*, char const*); - TodoReturn addToggle(char const*, int, bool, char const*); - TodoReturn addToggleInternal(char const*, int, bool, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - bool init(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual void setupOptions() {} - virtual TodoReturn didToggleGV(gd::string); - virtual void didToggle(int) {} -} - -[[link(android)]] -class GJPathPage : FLAlertLayer, FLAlertLayerProtocol, GJPurchaseDelegate { - // virtual ~GJPathPage(); - - static GJPathPage* create(int, GJPathsLayer*); - - bool init(int, GJPathsLayer*); - void onActivatePath(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onUnlock(cocos2d::CCObject* sender); - TodoReturn playUnlockAnimation(); - void showCantAffordMessage(GJStoreItem*); - TodoReturn unlockAnimationFinished(); - TodoReturn unlockAnimationStep2(); - TodoReturn unlockAnimationStep3(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJPathRewardPopup : FLAlertLayer { - // virtual ~GJPathRewardPopup(); - - static GJPathRewardPopup* create(int); - - TodoReturn closePopup(); - bool init(int); - void onClaim(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} -} - -[[link(android)]] -class GJPathsLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~GJPathsLayer(); - - static GJPathsLayer* create(); - - TodoReturn darkenButtons(bool); - static gd::string nameForPath(int); - void onClose(cocos2d::CCObject* sender); - void onPath(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPathSprite : CCSpriteCOpacity { - // virtual ~GJPathSprite(); - - static GJPathSprite* create(int); - - TodoReturn addRankLabel(int); - TodoReturn addShardSprite(); - TodoReturn changeToLockedArt(); - bool init(int); - TodoReturn updateState(); - - int m_pathNumber; -} - -[[link(android)]] -class GJPFollowCommandLayer : SetupTriggerPopup { - // virtual ~GJPFollowCommandLayer(); - - static GJPFollowCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onUpdateGroupID(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderXModChanged(cocos2d::CCObject*); - TodoReturn sliderYModChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateMaxSpeed(); - TodoReturn updateMaxSpeedLabel(); - TodoReturn updateOffsetLabel(); - TodoReturn updatePlayerOffset(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateXMod(); - TodoReturn updateXModLabel(); - TodoReturn updateYMod(); - TodoReturn updateYModLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class GJPromoPopup : FLAlertLayer { - // virtual ~GJPromoPopup(); - - static GJPromoPopup* create(gd::string); - - bool init(gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void onExit(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class GJPurchaseDelegate { - virtual TodoReturn didPurchaseItem(GJStoreItem*); -} - -[[link(android)]] -class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJRequestCell(); - GJRequestCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - TodoReturn markAsRead(); - void onDeleteRequest(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJRewardDelegate { - virtual void rewardsStatusFinished(int); - virtual void rewardsStatusFailed(); -} - -[[link(android)]] -class GJRewardItem : cocos2d::CCObject { - // virtual ~GJRewardItem(); - - static GJRewardItem* create(); - static GJRewardItem* create(int, int, gd::string); - - TodoReturn createSpecial(GJRewardType, int, int, SpecialRewardItem, int, SpecialRewardItem, int, int, int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn createWithObject(GJRewardType, GJRewardObject*); - TodoReturn createWithObjects(GJRewardType, cocos2d::CCArray*); - void dataLoaded(DS_Dictionary*); - TodoReturn getNextShardType(SpecialRewardItem); - TodoReturn getRandomNonMaxShardType(); - TodoReturn getRandomShardType(); - TodoReturn getRewardCount(SpecialRewardItem); - TodoReturn getRewardObjectForType(SpecialRewardItem); - bool init(int, int, gd::string); - bool isShardType(SpecialRewardItem); - TodoReturn rewardItemToStat(SpecialRewardItem); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - int m_chestID; - int m_timeRemaining; - GJRewardType m_rewardType; - cocos2d::CCArray* m_rewardObjects; - bool m_unk; -} - -[[link(android)]] -class GJRewardObject : cocos2d::CCObject { - // virtual ~GJRewardObject(); - - static GJRewardObject* create(); - static GJRewardObject* create(SpecialRewardItem, int, int); - - TodoReturn createItemUnlock(UnlockType, int); - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*); - bool init(SpecialRewardItem, int, int); - bool isSpecialType(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - SpecialRewardItem m_specialRewardItem; - UnlockType m_unlockType; - int m_itemID; - int m_total; -} - -[[link(android)]] -class GJRobotSprite : CCAnimatedSprite { - // virtual ~GJRobotSprite(); - // GJRobotSprite(); - - static GJRobotSprite* create(int); - - TodoReturn hideGlow(); - bool init(int, gd::string); - bool init(int); - void showGlow(); - TodoReturn updateColor01(cocos2d::ccColor3B); - TodoReturn updateColor02(cocos2d::ccColor3B); - TodoReturn updateColors(); - TodoReturn updateFrame(int); - void updateGlowColor(cocos2d::ccColor3B, bool); - - virtual void setOpacity(unsigned char); - virtual TodoReturn hideSecondary(); -} - -[[link(android)]] -class GJRotateCommandLayer : SetupTriggerPopup { - // virtual ~GJRotateCommandLayer(); - - static GJRotateCommandLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onFollowRotation(cocos2d::CCObject* sender); - void onLockRotation(cocos2d::CCObject* sender); - void onUpdateGroupID(cocos2d::CCObject* sender); - void onUpdateGroupID2(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn sliderTimesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateCommandTimes(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateTargetGroupID(); - TodoReturn updateTargetGroupID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - TodoReturn updateTimesLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class GJRotationControl : cocos2d::CCLayer { - // virtual ~GJRotationControl(); - - static GJRotationControl* create(); - - TodoReturn finishTouch(); - void setAngle(float); - TodoReturn updateSliderPosition(cocos2d::CCPoint); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJRotationControlDelegate { - virtual TodoReturn angleChanged(float); - virtual TodoReturn angleChangeBegin(); - virtual void angleChangeEnded(); -} - -[[link(android)]] -class GJScaleControl : cocos2d::CCLayer { - // virtual ~GJScaleControl(); - - static GJScaleControl* create(); - - TodoReturn finishTouch(); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - void onToggleLockScale(cocos2d::CCObject* sender); - TodoReturn scaleFromValue(float); - TodoReturn skewFromValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateLabelX(float); - TodoReturn updateLabelXY(float); - TodoReturn updateLabelY(float); - TodoReturn valueFromScale(float); - TodoReturn valueFromSkew(float); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJScaleControlDelegate { - virtual TodoReturn scaleXChanged(float, bool); - virtual TodoReturn scaleYChanged(float, bool); - virtual void scaleXYChanged(float, float, bool); - virtual TodoReturn scaleChangeBegin(); - virtual void scaleChangeEnded(); - virtual TodoReturn updateScaleControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class GJScoreCell : TableViewCell, FLAlertLayerProtocol { - // virtual ~GJScoreCell(); - GJScoreCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - void onBan(cocos2d::CCObject* sender); - void onCheck(cocos2d::CCObject* sender); - void onMoreLevels(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - GJUserScore* m_score; -} - -[[link(android)]] -class GJSearchObject : cocos2d::CCNode { - // virtual ~GJSearchObject(); - - static GJSearchObject* create(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode); - static GJSearchObject* create(SearchType searchType, gd::string searchQuery); - static GJSearchObject* create(SearchType searchType); - static GJSearchObject* createFromKey(char const* key); - - char const* getKey(); - char const* getNextPageKey(); - GJSearchObject* getNextPageObject(); - GJSearchObject* getPageObject(int page); - GJSearchObject* getPrevPageObject(); - char const* getSearchKey(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode); - bool init(SearchType searchType, gd::string searchQuery, gd::string difficulty, gd::string length, int page, bool star, bool uncompleted, bool featured, int songID, bool original, bool twoPlayer, bool customSong, bool songFilter, bool noStar, bool coins, bool epic, bool legendary, bool mythic, bool onlyCompleted, int demonFilter, int folder, int searchMode); - bool isLevelSearchObject(); - - SearchType m_searchType; - gd::string m_searchQuery; - gd::string m_difficulty; - gd::string m_length; - int m_page; - bool m_starFilter; - bool m_noStarFilter; - int m_total; - bool m_uncompletedFilter; - bool m_completedFilter; - bool m_featuredFilter; - bool m_originalFilter; - bool m_twoPlayerFilter; - bool m_coinsFilter; - bool m_epicFilter; - bool m_legendaryFilter; - bool m_mythicFilter; - GJDifficulty m_demonFilter; - int m_folder; - int m_songID; - bool m_customSongFilter; - bool m_songFilter; - bool m_searchIsOverlay; - int m_searchMode; -} - -[[link(android)]] -class GJShaderState { - TodoReturn reset(); - TodoReturn stopTweenAction(int); - TodoReturn timesyncShaderAction(int); - TodoReturn timesyncShaderActions(); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn updateTweenAction(float, int); - TodoReturn updateTweenActions(float); -} - -[[link(android)]] -class GJShopLayer : cocos2d::CCLayer, GJPurchaseDelegate, DialogDelegate, RewardedVideoDelegate { - // virtual ~GJShopLayer(); - - static GJShopLayer* create(ShopType); - - TodoReturn exitVideoAdItems(); - bool init(ShopType); - void onBack(cocos2d::CCObject* sender); - void onCommunityCredits(cocos2d::CCObject* sender); - void onPlushies(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender); - void onVideoAd(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(ShopType); - void showCantAffordMessage(GJStoreItem*); - void showReactMessage(); - TodoReturn updateCurrencyCounter(); - - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn didPurchaseItem(GJStoreItem*); - virtual TodoReturn rewardedVideoFinished(); - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class GJSmartBlockPreview : cocos2d::CCNode { - // virtual ~GJSmartBlockPreview(); - - static GJSmartBlockPreview* create(gd::string); - - TodoReturn addChance(int, int); - TodoReturn addCount(int); - TodoReturn addPreview(gd::string, gd::string, LevelEditorLayer*); - TodoReturn addTemplateGuide(gd::string, int); - TodoReturn addTemplateGuide(SmartPrefabResult, float); - TodoReturn createInfoLabel(); - bool init(gd::string); - TodoReturn toggleSelectItem(bool); -} - -[[link(android)]] -class GJSmartBlockPreviewSprite : cocos2d::CCNode { - // virtual ~GJSmartBlockPreviewSprite(); - - static GJSmartBlockPreviewSprite* create(); - - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class GJSmartPrefab : cocos2d::CCObject { - // virtual ~GJSmartPrefab(); - - static GJSmartPrefab* create(); - - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*); - bool init(); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSmartTemplate : cocos2d::CCObject { - // virtual ~GJSmartTemplate(); - - static GJSmartTemplate* create(); - - TodoReturn applyTransformationsForType(SmartBlockType, cocos2d::CCSprite*); - TodoReturn createWithCoder(DS_Dictionary*); - void dataLoaded(DS_Dictionary*); - TodoReturn flipBlockType(SmartBlockType, bool, bool); - TodoReturn flipBlockTypeX(SmartBlockType); - TodoReturn flipBlockTypeY(SmartBlockType); - TodoReturn flipKey(gd::string, bool, bool); - TodoReturn generateRemapDict(); - TodoReturn getNoCornerKey(gd::string); - TodoReturn getPrefab(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn getPrefab(gd::string, bool, bool); - TodoReturn getPrefabs(gd::string); - TodoReturn getPrefabWithID(gd::string, int); - TodoReturn getRandomPrefab(gd::string); - TodoReturn getSimplifiedKey(gd::string); - TodoReturn getSimplifiedType(SmartBlockType, bool&); - TodoReturn getTemplateState(gd::vector&); - TodoReturn getTotalChanceForPrefab(gd::string); - TodoReturn getVerySimplifiedKey(gd::string); - bool init(); - bool isUnrequired(gd::string); - TodoReturn keyFromNeighbors(cocos2d::CCPoint, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*, SmartGameObject*); - TodoReturn keyFromNeighbors(SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType, SmartBlockType); - TodoReturn keyFromNeighborsOld(bool, bool, bool, bool, bool, bool, bool, bool); - TodoReturn logTemplateStatus(bool); - TodoReturn offsetForDir(GJSmartDirection, int); - TodoReturn offsetForObject(SmartGameObject*); - TodoReturn offsetForType(SmartBlockType); - TodoReturn removePrefab(gd::string, int); - TodoReturn resetScannedPrefabs(); - TodoReturn rotateBlockType(SmartBlockType, int); - TodoReturn rotateBlockType90(SmartBlockType); - TodoReturn rotateKey(gd::string, int); - TodoReturn savePrefab(gd::string, gd::string); - TodoReturn saveRemap(gd::string); - TodoReturn saveRemapToDict(gd::string, gd::string, cocos2d::CCDictionary*); - TodoReturn scanForPrefab(gd::string); - TodoReturn shouldDiscardObject(SmartBlockType, GJSmartDirection); - TodoReturn smartObjectToType(SmartGameObject*, cocos2d::CCPoint); - TodoReturn smartTypeToObjectKey(SmartBlockType); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); -} - -[[link(android)]] -class GJSongBrowser : GJDropDownLayer, FLAlertLayerProtocol, TableViewCellDelegate { - // virtual ~GJSongBrowser(); - - static GJSongBrowser* create(); - - void loadPage(int); - void onDeleteAll(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void setupPageInfo(int, int, int); - TodoReturn setupSongBrowser(cocos2d::CCArray*); - - virtual bool init(); - virtual void customSetup(); - virtual void exitLayer(cocos2d::CCObject*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - - int m_page; - int m_songID; - bool m_selected; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - cocos2d::CCLabelBMFont* m_countText; - PAD = android32 0x8; - cocos2d::CCArray* m_downloadedSongs; - CustomListView* m_listView; -} - -[[link(android)]] -class GJSpecialColorSelect : FLAlertLayer { - // virtual ~GJSpecialColorSelect(); - - static GJSpecialColorSelect* create(int, GJSpecialColorSelectDelegate*, ColorSelectType); - - TodoReturn getButtonByTag(int); - TodoReturn highlightSelected(ButtonSprite*); - bool init(int, GJSpecialColorSelectDelegate*, ColorSelectType); - void onClose(cocos2d::CCObject* sender); - void onSelectColor(cocos2d::CCObject* sender); - static const char* textForColorIdx(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class GJSpecialColorSelectDelegate { - virtual void colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class GJSpiderSprite : GJRobotSprite { - // virtual ~GJSpiderSprite(); - - static GJSpiderSprite* create(int); - - bool init(int); -} - -[[link(android)]] -class GJSpriteColor { - // GJSpriteColor(); - - TodoReturn getColorMode(); - - int m_colorID; - int m_defaultColorID; - float m_opacity; - cocos2d::ccHSVValue m_hsv; - bool m_usesHSV; - float unk_10C; - bool unk_110; - -} - -[[link(android)]] -class GJStoreItem : cocos2d::CCNode { - // virtual ~GJStoreItem(); - - static GJStoreItem* create(int, int, int, int, ShopType); - - TodoReturn getCurrencyKey(); - bool init(int, int, int, int, ShopType); -} - -[[link(android)]] -class GJTransformControl : cocos2d::CCLayer { - // virtual ~GJTransformControl(); - - static GJTransformControl* create(); - - TodoReturn applyRotation(float); - TodoReturn calculateRotationOffset(); - TodoReturn finishTouch(); - void loadFromState(GJTransformState&); - TodoReturn loadValues(GameObject*, cocos2d::CCArray*, gd::unordered_map&); - TodoReturn logCurrentZeroPos(); - void onToggleLockScale(cocos2d::CCObject* sender); - TodoReturn refreshControl(); - void saveToState(GJTransformState&); - TodoReturn scaleButtons(float); - TodoReturn spriteByTag(int); - TodoReturn updateAnchorSprite(cocos2d::CCPoint); - void updateButtons(bool, bool); - TodoReturn updateMinMaxPositions(); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class GJTransformControlDelegate { - virtual TodoReturn transformScaleXChanged(float); - virtual TodoReturn transformScaleYChanged(float); - virtual TodoReturn transformScaleXYChanged(float, float); - virtual TodoReturn transformRotationXChanged(float); - virtual TodoReturn transformRotationYChanged(float); - virtual TodoReturn transformRotationChanged(float); - virtual TodoReturn transformResetRotation(); - virtual TodoReturn transformRestoreRotation(); - virtual TodoReturn transformSkewXChanged(float); - virtual TodoReturn transformSkewYChanged(float); - virtual TodoReturn transformChangeBegin(); - virtual void transformChangeEnded(); - virtual TodoReturn updateTransformControl(); - virtual TodoReturn anchorPointMoved(cocos2d::CCPoint); - virtual TodoReturn getTransformNode(); - virtual TodoReturn getUI(); -} - -[[link(android)]] -class GJUINode : cocos2d::CCNode { - // virtual ~GJUINode(); - - static GJUINode* create(UIButtonConfig&); - - TodoReturn activeRangeTouchTest(cocos2d::CCPoint); - TodoReturn activeTouchTest(cocos2d::CCPoint); - TodoReturn getButtonScale(); - TodoReturn getOpacity(); - TodoReturn highlightButton(int); - bool init(UIButtonConfig&); - void loadFromConfig(UIButtonConfig&); - TodoReturn resetState(); - TodoReturn saveToConfig(UIButtonConfig&); - void setOpacity(unsigned char); - TodoReturn toggleHighlight(int, bool); - void toggleModeB(bool); - TodoReturn touchEnded(); - TodoReturn touchTest(cocos2d::CCPoint); - TodoReturn updateButtonFrames(); - TodoReturn updateButtonPositions(); - TodoReturn updateButtonScale(float); - TodoReturn updateDeadzone(int); - TodoReturn updateDragRadius(float); - TodoReturn updateHeight(float); - TodoReturn updateRangePos(cocos2d::CCPoint); - TodoReturn updateSize(float, float); - TodoReturn updateWidth(float); - - virtual void draw(); -} - -[[link(android)]] -class GJUnlockableItem : cocos2d::CCObject { - // virtual ~GJUnlockableItem(); - - static GJUnlockableItem* create(); - - bool init(); -} - -[[link(android)]] -class GJUserCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate { - // virtual ~GJUserCell(); - GJUserCell(char const*, float, float); - - void loadFromScore(GJUserScore*); - void onCancelFriendRequest(cocos2d::CCObject* sender); - void onRemoveFriend(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onUnblockUser(cocos2d::CCObject* sender); - void onViewFriendRequest(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class GJUserMessage : cocos2d::CCNode { - // virtual ~GJUserMessage(); - - static GJUserMessage* create(); - static GJUserMessage* create(cocos2d::CCDictionary*); - - virtual bool init(); - - int m_messageID; -} - -[[link(android)]] -class GJUserScore : cocos2d::CCNode { - // virtual ~GJUserScore(); - - static GJUserScore* create(); - static GJUserScore* create(cocos2d::CCDictionary*); - - bool isCurrentUser(); - TodoReturn mergeWithScore(GJUserScore*); - - virtual bool init(); - - gd::string m_userName; - gd::string m_userUDID; - int m_scoreType; - int m_userID; - int m_accountID; - int m_stars; - int m_moons; - int m_diamonds; - int m_demons; - int m_playerRank; - int m_creatorPoints; - int m_secretCoins; - int m_userCoins; - int m_iconID; - int m_color1; - int m_color2; - int m_color3; - int m_special; - IconType m_iconType; - int m_messageState; - int m_friendStatus; - int m_commentHistoryStatus; - gd::string m_youtubeURL; - gd::string m_twitterURL; - gd::string m_twitchURL; - int m_playerCube; - int m_playerShip; - int m_playerBall; - int m_playerUfo; - int m_playerWave; - int m_playerRobot; - int m_playerSpider; - int m_playerSwing; - int m_playerJetpack; - int m_playerStreak; - bool m_glowEnabled; - int m_playerExplosion; - int m_modBadge; - int m_globalRank; - int m_friendReqStatus; - int m_newMsgCount; - int m_friendReqCount; - int m_newFriendCount; - bool m_newFriendRequest; -} - -[[link(android)]] -class GJValueTween { - TodoReturn step(float); -} - -[[link(android)]] -class GJWorldNode : cocos2d::CCNode { - // virtual ~GJWorldNode(); - - static GJWorldNode* create(int, WorldSelectLayer*); - - TodoReturn addDotsToLevel(int, bool); - TodoReturn dotPositionForLevel(int, int); - bool init(int, WorldSelectLayer*); - void onLevel(cocos2d::CCObject* sender); - TodoReturn playStep1(); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn positionForLevelButton(int); - TodoReturn unlockActiveItem(); -} - -[[link(android)]] -class GJWriteMessagePopup : FLAlertLayer, TextInputDelegate, UploadMessageDelegate, UploadPopupDelegate, FLAlertLayerProtocol { - // virtual ~GJWriteMessagePopup(); - - static GJWriteMessagePopup* create(int, int); - - TodoReturn closeMessagePopup(bool); - bool init(int, int); - void onClearBody(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onSend(cocos2d::CCObject* sender); - TodoReturn updateBody(gd::string); - TodoReturn updateCharCountLabel(int); - TodoReturn updateSubject(gd::string); - TodoReturn updateText(gd::string, int); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void uploadMessageFinished(int); - virtual void uploadMessageFailed(int); - virtual void onClosePopup(UploadActionPopup*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); -} - -[[link(android)]] -class GManager : cocos2d::CCNode { - // virtual ~GManager(); - - TodoReturn getCompressedSaveString(); - gd::string getSaveString(); - TodoReturn load(); - TodoReturn loadDataFromFile(gd::string const&); - void loadFromCompressedString(gd::string&); - void loadFromString(gd::string&); - inline void save() { - saveGMTo(m_fileName); - } - TodoReturn saveData(DS_Dictionary*, gd::string); - void saveGMTo(gd::string); - TodoReturn tryLoadData(DS_Dictionary*, gd::string const&); - inline GManager() {} - - virtual bool init(); - virtual void setup(); - virtual void encodeDataTo(DS_Dictionary*); - virtual void dataLoaded(DS_Dictionary*); - virtual void firstLoad(); - - gd::string m_fileName; - bool m_setup; - bool m_saved; - bool m_quickSave; -} - -[[link(android)]] -class GooglePlayDelegate { - virtual void googlePlaySignedIn() {} -} - -[[link(android)]] -class GooglePlayManager : cocos2d::CCNode { - // virtual ~GooglePlayManager(); - - static GooglePlayManager* sharedState(); - - void googlePlaySignedIn(); - - virtual bool init(); -} - -[[link(android)]] -class GradientTriggerObject : EffectGameObject { - // virtual ~GradientTriggerObject(); - - static GradientTriggerObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class GraphicsReloadLayer : cocos2d::CCLayer { - // virtual ~GraphicsReloadLayer(); - - static GraphicsReloadLayer* create(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool, bool); - - bool init(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool, bool); - TodoReturn performReload(); - static cocos2d::CCScene* scene(cocos2d::TextureQuality, cocos2d::CCSize, bool, bool, bool); -} - -[[link(android)]] -class GravityEffectSprite : cocos2d::CCSprite { - // virtual ~GravityEffectSprite(); - - static GravityEffectSprite* create(); - - TodoReturn updateSpritesColor(cocos2d::ccColor3B); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class GroupCommandObject2 { - // ~GroupCommandObject2(); - // GroupCommandObject2(); - // GroupCommandObject2(GroupCommandObject2 const&); - - TodoReturn reset(); - TodoReturn resetDelta(bool); - TodoReturn runFollowCommand(double, double, double); - TodoReturn runMoveCommand(cocos2d::CCPoint, double, int, double, bool, bool, bool, bool, double, double); - TodoReturn runPlayerFollowCommand(double, double, int, double, double); - TodoReturn runRotateCommand(double, double, int, double, bool, int); - TodoReturn runTransformCommand(double, int, double); - TodoReturn step(float); - TodoReturn stepTransformCommand(float, bool, bool); - TodoReturn updateAction(int, float); - TodoReturn updateEffectAction(float, int); -} - -[[link(android)]] -class HardStreak : cocos2d::CCDrawNode { - // virtual ~HardStreak(); - - static HardStreak* create(); - - void addPoint(cocos2d::CCPoint); - TodoReturn clearAboveXPos(float); - TodoReturn clearBehindXPos(float); - TodoReturn createDuplicate(); - void firstSetup(); - TodoReturn normalizeAngle(double); - TodoReturn quadCornerOffset(cocos2d::CCPoint, cocos2d::CCPoint, float); - inline void reset() { - this->clear(); - m_pointArray->removeAllObjects(); - } - void resumeStroke(); - TodoReturn scheduleAutoUpdate(); - void stopStroke(); - callback void updateStroke(float); - - virtual bool init(); - - // camila - PAD = android32 0x20, android64 0x24; - cocos2d::CCArray* m_pointArray; // android64 = 0x1a0 - cocos2d::CCPoint m_currentPoint; - float m_waveSize; - float m_pulseSize; // android32 = 0x168 (0x168) - // bool m_isSolid; -} - -[[link(android)]] -class HSVLiveOverlay : FLAlertLayer, HSVWidgetDelegate { - // virtual ~HSVLiveOverlay(); - - static HSVLiveOverlay* create(GameObject*, cocos2d::CCArray*); - - void closeColorSelect(cocos2d::CCObject*); - TodoReturn createHSVWidget(int); - TodoReturn determineStartValues(); - bool init(GameObject*, cocos2d::CCArray*); - void onSelectTab(cocos2d::CCObject* sender); - TodoReturn toggleControls(bool); - - virtual void keyBackClicked(); - virtual void show(); - virtual void hsvChanged(ConfigureHSVWidget*); -} - -[[link(android)]] -class HSVWidgetDelegate { - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue) {} - virtual void hsvChanged(ConfigureHSVWidget*) {} -} - -[[link(android)]] -class HSVWidgetPopup : FLAlertLayer { - // virtual ~HSVWidgetPopup(); - - static HSVWidgetPopup* create(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - - bool init(cocos2d::ccHSVValue, HSVWidgetDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class InfoAlertButton : CCMenuItemSpriteExtra { - // virtual ~InfoAlertButton(); - - static InfoAlertButton* create(gd::string, gd::string, float); - - bool init(gd::string, gd::string, float); - - virtual void activate(); -} - -[[link(android)]] -class InfoLayer : FLAlertLayer, LevelCommentDelegate, CommentUploadDelegate, FLAlertLayerProtocol { - // virtual ~InfoLayer(); - - static InfoLayer* create(GJGameLevel*, GJUserScore*, GJLevelList*); - - TodoReturn confirmReport(cocos2d::CCObject*); - int getAccountID(); - int getID() { - if(m_score) return m_score->m_userID; - if(m_levelList) return - m_levelList->m_listID; - if(m_level) return m_level->m_levelID; - return 0; - } - int getRealID(); - TodoReturn getSpriteButton(char const*, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint); - bool init(GJGameLevel*, GJUserScore*, GJLevelList*); - bool isCorrect(char const*); - void loadPage(int, bool); - void onClose(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - void onCopyLevelID(cocos2d::CCObject* sender); - void onGetComments(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onMore(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefreshComments(cocos2d::CCObject* sender); - void onSimilar(cocos2d::CCObject* sender); - TodoReturn reloadWindow(); - void setupCommentsBrowser(cocos2d::CCArray*); - void setupLevelInfo(); - TodoReturn toggleCommentMode(cocos2d::CCObject*); - TodoReturn toggleExtendedMode(cocos2d::CCObject*); - TodoReturn toggleSmallCommentMode(cocos2d::CCObject*); - TodoReturn updateCommentModeButtons(); - TodoReturn updateLevelsLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual void loadCommentsFailed(char const*); - virtual void setupPageInfo(gd::string, char const*); - virtual void commentUploadFinished(int); - virtual void commentUploadFailed(int, CommentError); - virtual void updateUserScoreFinished(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - - GJGameLevel* m_level; - GJUserScore* m_score; - GJLevelList* m_levelList; - gd::string m_commentKey; - LoadingCircle* m_loadingCircle; - cocos2d::CCLabelBMFont* m_pageLabel; - cocos2d::CCLabelBMFont* m_noComments; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_reportBtn; - CCMenuItemSpriteExtra* m_commentsBtn; - CCMenuItemSpriteExtra* m_refreshCommentsBtn; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - bool m_canUpdateUserScore; - CommentKeyType m_mode; -} - -[[link(android)]] -class InheritanceNode : cocos2d::CCObject { - // virtual ~InheritanceNode(); - - static InheritanceNode* create(int, InheritanceNode*); - - bool init(int, InheritanceNode*); -} - -[[link(android)]] -class ItemInfoPopup : FLAlertLayer { - // virtual ~ItemInfoPopup(); - - static ItemInfoPopup* create(int, UnlockType); - - bool init(int, UnlockType); - bool isUnlockedByDefault(int, UnlockType); - TodoReturn nameForUnlockType(int, UnlockType); - void onClose(cocos2d::CCObject* sender); - void onCredit(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - - int m_itemID; - UnlockType m_unlockType; - int m_accountID; -} - -[[link(android)]] -class ItemTriggerGameObject : EffectGameObject { - // virtual ~ItemTriggerGameObject(); - - static ItemTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void customSetup(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeybindingsLayer : FLAlertLayer { - // virtual ~KeybindingsLayer(); - - static KeybindingsLayer* create(); - - TodoReturn addKeyPair(char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class KeybindingsManager : cocos2d::CCNode { - // virtual ~KeybindingsManager(); - - static KeybindingsManager* sharedState(); - - TodoReturn commandForKey(cocos2d::enumKeyCodes, GJKeyGroup, bool, bool, bool); - TodoReturn commandForKeyMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandForKeyNoMods(cocos2d::enumKeyCodes, GJKeyGroup); - TodoReturn commandToKeyForGroup(GJKeyGroup); - void dataLoaded(DS_Dictionary*); - void encodeDataTo(DS_Dictionary*); - void firstSetup(); - TodoReturn groupForCommand(GJKeyCommand); - TodoReturn keyForCommand(GJKeyCommand); - TodoReturn keyToCommandForGroup(GJKeyGroup); - - virtual bool init(); -} - -[[link(android)]] -class KeyframeAnimTriggerObject : EffectGameObject { - // virtual ~KeyframeAnimTriggerObject(); - - static KeyframeAnimTriggerObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeGameObject : EffectGameObject { - // virtual ~KeyframeGameObject(); - - static KeyframeGameObject* create(); - - TodoReturn updateShadowObjects(GJBaseGameLayer*, EditorUI*); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class KeyframeObject { - // KeyframeObject(); - // KeyframeObject(KeyframeObject const&); - - TodoReturn setupSpline(gd::vector&); -} - -[[link(android)]] -class LabelGameObject : EffectGameObject { - // virtual ~LabelGameObject(); - - static LabelGameObject* create(); - - TodoReturn createLabel(gd::string); - TodoReturn queueUpdateLabel(gd::string); - TodoReturn removeLabel(); - TodoReturn unlockLabelColor(); - TodoReturn updateLabel(float); - TodoReturn updateLabel(gd::string); - TodoReturn updateLabelAlign(int); - TodoReturn updateLabelIfDirty(); - TodoReturn updatePreviewLabel(); - - virtual bool init(); - virtual void setOpacity(unsigned char); - virtual void setupCustomSprites(gd::string); - virtual TodoReturn addMainSpriteToParent(bool); - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - PAD = android32 0x11; - - // property 391 - int m_alignment; - - // property 389 - bool m_showSecondsOnly; - - // property 390 - int m_shownSpecial; - - // property 466 - bool m_isTimeCounter; - - // property 488 - int m_kerning; - - PAD = android32 0x8; -} - -[[link(android)]] -class LeaderboardManagerDelegate { - virtual void updateUserScoreFinished() {} - virtual void updateUserScoreFailed() {} - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLeaderboardFailed(char const*) {} -} - -[[link(android)]] -class LeaderboardsLayer : cocos2d::CCLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LeaderboardsLayer(); - - static LeaderboardsLayer* create(LeaderboardState); - - bool init(LeaderboardState); - bool isCorrect(char const*); - void onBack(cocos2d::CCObject* sender); - void onCreators(cocos2d::CCObject* sender); - void onGlobal(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onTop(cocos2d::CCObject* sender); - void onWeek(cocos2d::CCObject* sender); - TodoReturn refreshTabs(); - static cocos2d::CCScene* scene(LeaderboardState); - TodoReturn selectLeaderboard(LeaderboardState); - TodoReturn setupLevelBrowser(cocos2d::CCArray*); - TodoReturn setupTabs(); - TodoReturn toggleTabButtons(); - - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void updateUserScoreFinished(); - virtual void updateUserScoreFailed(); - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual void loadLeaderboardFailed(char const*); - - GJListLayer* m_list; - cocos2d::CCArray* m_userScores; - LeaderboardState m_state; - CCMenuItemToggler* m_topBtn; - CCMenuItemToggler* m_globalBtn; - CCMenuItemToggler* m_creatorsBtn; - CCMenuItemToggler* m_friendsBtn; - LoadingCircle* m_circle; - TextArea* m_noInternet; - cocos2d::CCArray* m_tabs; -} - -[[link(android)]] -class LevelAreaInnerLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaInnerLayer(); - - static LevelAreaInnerLayer* create(bool); - - bool init(bool); - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextFloor(cocos2d::CCObject* sender); - bool playStep1(); - static cocos2d::CCScene* scene(bool); - void showFloor1CompleteDialog(); - TodoReturn tryResumeTowerMusic(); - - virtual void keyBackClicked(); - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelAreaLayer : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelAreaLayer(); - - static LevelAreaLayer* create(); - - void addGodRay(float, float, float, float, float, cocos2d::CCPoint); - void addTorch(cocos2d::CCNode*, cocos2d::CCPoint, int, float, int, bool); - void fadeInsideTower(); - void onBack(cocos2d::CCObject* sender); - void onClickDoor(cocos2d::CCObject* sender); - void onEnterTower(); - static cocos2d::CCScene* scene(); - void showDialog(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class LevelBrowserLayer : cocos2d::CCLayerColor, LevelManagerDelegate, FLAlertLayerProtocol, SetIDPopupDelegate, SetTextPopupDelegate, TableViewCellDelegate, ShareCommentDelegate { - virtual ~LevelBrowserLayer(); - - static LevelBrowserLayer* create(GJSearchObject*); - - TodoReturn createNewLevel(cocos2d::CCObject*); - TodoReturn createNewList(cocos2d::CCObject*); - TodoReturn createNewSmartTemplate(cocos2d::CCObject*); - TodoReturn deleteSelected(); - TodoReturn exitLayer(cocos2d::CCObject*); - TodoReturn getItemsMatchingSearch(cocos2d::CCArray*, gd::string, GJSearchObject*); - gd::string getSearchTitle(); - bool init(GJSearchObject*); - bool isCorrect(char const*); - void loadPage(GJSearchObject*); - void onClearSearch(cocos2d::CCObject* sender); - void onDeleteAll(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onFavorites(cocos2d::CCObject* sender); - void onGoToFolder(cocos2d::CCObject* sender); - void onGoToLastPage(cocos2d::CCObject* sender); - void onGoToPage(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLocalMode(cocos2d::CCObject* sender); - void onMyOnlineLevels(cocos2d::CCObject* sender); - void onNew(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRefresh(cocos2d::CCObject* sender); - void onRemoveAllFavorites(cocos2d::CCObject* sender); - void onSaved(cocos2d::CCObject* sender); - void onSavedMode(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void reloadAllObjects(); - static cocos2d::CCScene* scene(GJSearchObject* search); - void setSearchObject(GJSearchObject*); - void setupLevelBrowser(cocos2d::CCArray*); - void show(); - void updateLevelsLabel(); - void updatePageLabel(); - - virtual void onEnter(); - virtual void onEnterTransitionDidFinish(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual void loadLevelsFailed(char const*, int); - virtual void setupPageInfo(gd::string, char const*); - virtual void onBack(cocos2d::CCObject* sender); - virtual void shareCommentClosed(gd::string, ShareCommentLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - - bool m_unk; - bool m_allSelected; - TextArea* m_noInternet; - GJListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_lastBtn; - CCMenuItemSpriteExtra* m_cancelSearchBtn; - CCMenuItemSpriteExtra* m_refreshBtn; - cocos2d::CCArray* m_selected; - GJSearchObject* m_searchObject; - cocos2d::CCLabelBMFont* m_countText; - cocos2d::CCLabelBMFont* m_pageText; - CCMenuItemSpriteExtra* m_pageBtn; - cocos2d::CCLabelBMFont* m_folderText; - CCMenuItemSpriteExtra* m_folderBtn; - CCMenuItemToggler* m_allObjectsToggler; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - LoadingCircle* m_circle; - int m_lastPage; - bool m_isOverlay; - PAD = win 0x4, android32 0x4; - int m_zOffset; - bool m_unk2; - int m_listHeight; - PAD = win 0x16, android32 0x16; - -} - -[[link(android)]] -class LevelCell : TableViewCell { - // virtual ~LevelCell(); - LevelCell(char const*, float, float); - - static LevelCell* create(float, float); - - void loadCustomLevelCell(); - void loadFromLevel(GJGameLevel*); - void loadLocalLevelCell(); - void onClick(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - TodoReturn updateCellMode(int); - TodoReturn updateToggle(); - - virtual bool init(); - virtual void draw(); - - CCMenuItemSpriteExtra* m_button; - GJGameLevel* m_level; - bool m_cellDrawn; - CCMenuItemToggler* m_toggler; - cocos2d::CCPoint m_point; - cocos2d::CCMenu* m_mainMenu; - bool m_compactView; - int m_cellMode; -} - -[[link(android)]] -class LevelCommentDelegate { - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadCommentsFailed(char const*) {} - virtual void updateUserScoreFinished() {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelDeleteDelegate { - virtual void levelDeleteFinished(int) {} - virtual void levelDeleteFailed(int) {} -} - -[[link(android)]] -class LevelDownloadDelegate { - virtual void levelDownloadFinished(GJGameLevel*) {} - virtual void levelDownloadFailed(int) {} -} - -[[link(android)]] -class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate { - // virtual ~LevelEditorLayer(); - - static LevelEditorLayer* create(GJGameLevel*, bool); - - static LevelEditorLayer* get() { - return GameManager::sharedState()->m_levelEditorLayer; - } - - TodoReturn activateTriggerEffect(EffectGameObject*, float, float, float, bool); - TodoReturn addDelayedSpawn(EffectGameObject*, float); - TodoReturn addExclusionList(cocos2d::CCArray*, cocos2d::CCDictionary*); - GameObject* addObjectFromVector(gd::vector&, gd::vector&); - TodoReturn addObjectsAtPosition(cocos2d::CCPoint, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectsInRect(cocos2d::CCRect, bool, cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn addObjectToGroup(GameObject*, int); - TodoReturn addPlayer2Point(cocos2d::CCPoint, bool); - TodoReturn addPlayerCollisionBlock(); - TodoReturn addPlayerPoint(cocos2d::CCPoint); - void addSpecial(GameObject*); - void addToRedoList(UndoObject*); - TodoReturn addTouchPoint(cocos2d::CCPoint); - void addToUndoList(UndoObject*, bool); - TodoReturn applyAttributeState(GameObject*, GameObject*); - TodoReturn applyGroupState(GameObject*, GameObject*); - TodoReturn breakApartTextObject(TextGameObject*); - TodoReturn canPasteState(); - TodoReturn clearPlayerPoints(); - TodoReturn clearTouchPoints(); - TodoReturn copyObjectState(GameObject*); - TodoReturn copyParticleState(ParticleGameObject*); - GameObject* createObject(int, cocos2d::CCPoint, bool); - void createObjectsFromSetup(gd::string&); - void createObjectsFromString(gd::string const&, bool, bool); - TodoReturn dirtifyTriggers(); - TodoReturn duplicateKeyframeAnimation(int); - TodoReturn fastUpdateDisabledGroups(); - TodoReturn findGameObject(int); - TodoReturn findStartPosObject(); - TodoReturn forceShowSelectedObjects(bool); - TodoReturn fullUpdateDisabledGroups(); - TodoReturn getAllObjects(); - TodoReturn getDelayedSpawnNode(); - TodoReturn getGridPos(cocos2d::CCPoint); - TodoReturn getLastObjectX(); - gd::string getLevelString(); - TodoReturn getLockedLayers(); - TodoReturn getNextColorChannel(); - TodoReturn getNextFreeAreaEffectID(cocos2d::CCArray*); - TodoReturn getNextFreeBlockID(cocos2d::CCArray*); - TodoReturn getNextFreeEditorLayer(cocos2d::CCArray*); - TodoReturn getNextFreeEnterChannel(cocos2d::CCArray*); - TodoReturn getNextFreeGradientID(cocos2d::CCArray*); - int getNextFreeGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeItemID(cocos2d::CCArray*); - TodoReturn getNextFreeOrderChannel(cocos2d::CCArray*); - TodoReturn getNextFreeSFXGroupID(cocos2d::CCArray*); - TodoReturn getNextFreeSFXID(cocos2d::CCArray*); - TodoReturn getObjectRect(GameObject*, bool, bool); - TodoReturn getRelativeOffset(GameObject*); - TodoReturn getSavedEditorPosition(int); - TodoReturn getSavedEditorPositions(); - TodoReturn getSectionCount(); - TodoReturn getSelectedEditorOrder(); - TodoReturn getSelectedEffectPos(); - TodoReturn getSelectedOrderChannel(); - TodoReturn getSFXIDs(); - TodoReturn getSongIDs(bool&); - TodoReturn getTriggerGroup(int); - void handleAction(bool, cocos2d::CCArray*); - TodoReturn hasAction(bool); - bool init(GJGameLevel*, bool); - bool isLayerLocked(int); - TodoReturn objectAtPosition(cocos2d::CCPoint); - TodoReturn objectMoved(GameObject*); - TodoReturn objectsAtPosition(cocos2d::CCPoint); - TodoReturn objectsInRect(cocos2d::CCRect, bool); - void onPausePlaytest(); - void onPlaytest(); - void onResumePlaytest(); - void onStopPlaytest(); - TodoReturn pasteAttributeState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteColorState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteGroupState(GameObject*, cocos2d::CCArray*); - TodoReturn pasteParticleState(ParticleGameObject*, cocos2d::CCArray*); - TodoReturn processLoadedMoveActions(); - TodoReturn quickUpdateAllPositions(); - TodoReturn recreateGroups(); - TodoReturn redoLastAction(); - TodoReturn refreshSpecial(GameObject*); - TodoReturn removeAllObjects(); - TodoReturn removeAllObjectsOfType(int); - TodoReturn removeObject(GameObject*, bool); - TodoReturn removePlayerCollisionBlock(); - void removeSpecial(GameObject*); - TodoReturn resetDelayedSpawnNodes(); - TodoReturn resetEffectTriggerOptim(GameObject*, cocos2d::CCArray*); - TodoReturn resetMovingObjects(); - void resetObjectVector(); - TodoReturn resetPlayback(); - TodoReturn resetToggledGroups(); - TodoReturn resetToggledGroupsAndObjects(); - TodoReturn resetUnusedColorChannels(); - TodoReturn reverseKeyframeAnimationOrder(int); - TodoReturn reverseObjectChanged(EffectGameObject*); - TodoReturn rotationForSlopeNearObject(GameObject*); - TodoReturn runColorEffect(EffectGameObject*, int, float, float, bool); - TodoReturn saveEditorPosition(cocos2d::CCPoint&, int); - static cocos2d::CCScene* scene(GJGameLevel*, bool); - void setObjectCount(int); - TodoReturn shouldBlend(int); - TodoReturn sortBatchnodeChildren(float); - TodoReturn spawnGroupPreview(int, float, float, float, float, float, bool, bool); - TodoReturn stopPlayback(); - TodoReturn stopTriggersInGroup(int, float); - TodoReturn timeObjectChanged(); - TodoReturn toggleBackground(bool); - TodoReturn toggleGrid(bool); - TodoReturn toggleGround(bool); - TodoReturn toggleGroupPreview(int, bool); - TodoReturn toggleLockActiveLayer(); - TodoReturn transferDefaultColors(GJEffectManager*, GJEffectManager*); - TodoReturn triggerFollowCommand(EffectGameObject*); - TodoReturn triggerPlayerFollowCommand(EffectGameObject*); - TodoReturn triggerRotateCommand(EffectGameObject*); - TodoReturn tryUpdateSpeedObject(EffectGameObject*, bool); - TodoReturn typeExistsAtPosition(int, cocos2d::CCPoint, bool, bool, float); - TodoReturn undoLastAction(); - TodoReturn unlockAllLayers(); - TodoReturn updateAnimateOnTriggerObjects(bool); - TodoReturn updateArt(float); - TodoReturn updateBlendValues(); - TodoReturn updateEditor(float); - TodoReturn updateEditorMode(); - TodoReturn updateGameObjects(); - TodoReturn updateGridLayer(); - TodoReturn updateGridLayerParent(); - TodoReturn updateKeyframeObjects(); - TodoReturn updateKeyframeVisibility(bool); - void updateLevelFont(int); - TodoReturn updateObjectColors(cocos2d::CCArray*); - static void updateObjectLabel(GameObject*); - TodoReturn updateOptions(); - TodoReturn updatePreviewAnim(); - void updatePreviewParticle(ParticleGameObject*); - TodoReturn updatePreviewParticles(); - TodoReturn updateToggledGroups(); - TodoReturn validGroup(GameObject*, bool); - - virtual void draw(); - virtual void postUpdate(float); - virtual void updateVisibility(float); - virtual TodoReturn playerTookDamage(PlayerObject*); - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual void updateDebugDraw(); - virtual void addToGroup(GameObject*, int, bool); - virtual void removeFromGroup(GameObject*, int); - virtual TodoReturn updateObjectSection(GameObject*); - virtual TodoReturn updateDisabledObjectsLastPos(cocos2d::CCArray*); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int); - virtual float posForTime(float); - virtual void resetSPTriggered(); - virtual TodoReturn didRotateGameplay(); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual TodoReturn claimCustomParticle(gd::string const&, cocos2d::ParticleStruct const&, int, int, int, bool); - virtual TodoReturn unclaimCustomParticle(gd::string const&, cocos2d::CCParticleSystemQuad*); - virtual TodoReturn activatedAudioTrigger(SFXTriggerGameObject*); - virtual void checkpointActivated(CheckpointGameObject*); - virtual TodoReturn addKeyframe(KeyframeGameObject*); - virtual void levelSettingsUpdated(); - - bool m_drawTriggerBoxes; - bool m_showGrid; - bool m_hideGridOnPlay; - bool m_drawEffectLines; - bool m_showGround; - bool m_showDurationLines; - bool m_increaseMaxUndoRedo; - bool m_hideBackground; - bool m_gv0120; - bool m_layerLockingEnabled; - bool m_unkBool4; - bool m_previewParticles; - bool m_previewAnimations; - bool m_previewShaders; - bool m_hideParticleIcons; - bool m_unkBool5; - bool m_playTestSmoothFix; - - // haven't verified the mac padding - PAD = win 0xf, android32 0xf, android64 0xf, mac 0xf; - - cocos2d::CCArray* m_unkArr0; - cocos2d::CCArray* m_unkArr1; - cocos2d::CCArray* m_unkArr2; - cocos2d::CCArray* m_unkArr3; - cocos2d::CCArray* m_unkArr4; - cocos2d::CCArray* m_unkArr8; - cocos2d::CCArray* m_unkArr11; - cocos2d::CCArray* m_unkArr12; - cocos2d::CCArray* m_unkArr13; - cocos2d::CCDictionary* m_unkDict3; - cocos2d::CCArray* m_unkArr5; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x10, mac 0x10; - - cocos2d::CCDictionary* m_unkDict4; - cocos2d::CCArray* m_unkArr7; - bool m_unkBool3; - bool m_unkBool2; - geode::SeedValueRSV m_coinCount; - - // haven't verified the mac padding - PAD = win 0x8, android32 0x8, android64 0x8, mac 0x8; - - cocos2d::CCArray* m_unkArr6; - - // haven't verified the mac padding - PAD = win 0x4, android32 0x4, android64 0x8, mac 0x8; - - cocos2d::CCDictionary* m_unkDict1; - cocos2d::CCDictionary* m_unkDict2; - bool m_unkBool0; - bool m_unkBool1; - short m_currentLayer; - - // haven't verified the mac padding - PAD = win 0x18, android32 0x18, android64 0x24, mac 0x24; - - EditorUI* m_editorUI; - cocos2d::CCArray* m_undoObjects; - cocos2d::CCArray* m_redoObjects; - geode::SeedValueRSV m_objectCount; - DrawGridLayer* m_drawGridLayer; - bool m_unkBool; - bool m_previewMode; -} - -[[link(android)]] -class LevelFeatureLayer : FLAlertLayer { - // virtual ~LevelFeatureLayer(); - - static LevelFeatureLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onDown(cocos2d::CCObject* sender); - void onDown2(cocos2d::CCObject* sender); - void onRemoveValues(cocos2d::CCObject* sender); - void onSetEpicOnly(cocos2d::CCObject* sender); - void onSetFeatured(cocos2d::CCObject* sender); - void onToggleEpic(cocos2d::CCObject* sender); - void onUp(cocos2d::CCObject* sender); - void onUp2(cocos2d::CCObject* sender); - TodoReturn updateStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class LevelInfoLayer : cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate, TableViewCellDelegate { - // virtual ~LevelInfoLayer(); - - static LevelInfoLayer* create(GJGameLevel*, bool); - - void confirmClone(cocos2d::CCObject*); - void confirmDelete(cocos2d::CCObject*); - void confirmMoveToBottom(cocos2d::CCObject*); - void confirmMoveToTop(cocos2d::CCObject*); - void confirmOwnerDelete(cocos2d::CCObject*); - void downloadLevel(); - TodoReturn incrementDislikes(); - TodoReturn incrementLikes(); - bool init(GJGameLevel*, bool); - TodoReturn loadLevelStep(); - void onAddToList(cocos2d::CCObject* sender); - void onBack(cocos2d::CCObject* sender); - void onClone(cocos2d::CCObject* sender); - void onDelete(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLevelInfo(cocos2d::CCObject* sender); - void onLevelLeaderboard(cocos2d::CCObject* sender); - void onLevelOptions(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onLowDetailMode(cocos2d::CCObject* sender); - void onOwnerDelete(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPlayReplay(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRateDemon(cocos2d::CCObject* sender); - void onRateStars(cocos2d::CCObject* sender); - void onRateStarsMod(cocos2d::CCObject* sender); - void onSetFolder(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn playStep2(); - TodoReturn playStep3(); - TodoReturn playStep4(); - static cocos2d::CCScene* scene(GJGameLevel*, bool); - void setupLevelInfo(); - void setupPlatformerStats(); - void setupProgressBars(); - bool shouldDownloadLevel(); - void showSongWarning(); - void showUpdateAlert(UpdateResponse); - void tryCloneLevel(cocos2d::CCObject*); - TodoReturn tryShowAd(); - void updateLabelValues(); - TodoReturn updateSideButtons(); - - virtual void onEnterTransitionDidFinish(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void numberInputClosed(NumberInputLayer*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual void levelDownloadFinished(GJGameLevel*); - virtual void levelDownloadFailed(int); - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse); - virtual void levelUpdateFailed(int); - virtual void levelDeleteFinished(int); - virtual void levelDeleteFailed(int); - virtual void rateLevelClosed(); - virtual void likedItem(LikeItemType, int, bool); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - - void* m_unk0; - cocos2d::CCMenu* m_playBtnMenu; - GJGameLevel* m_level; - cocos2d::CCArray* m_coins; - CCMenuItemSpriteExtra* m_likeBtn; - CCMenuItemSpriteExtra* m_starRateBtn; - CCMenuItemSpriteExtra* m_demonRateBtn; - void* m_unk2; - cocos2d::CCLabelBMFont* m_lengthLabel; - cocos2d::CCLabelBMFont* m_downloadsLabel; - cocos2d::CCLabelBMFont* m_likesLabel; - cocos2d::CCLabelBMFont* m_orbsLabel; - cocos2d::CCLabelBMFont* m_folderLabel; - CCMenuItemSpriteExtra* m_cloneBtn; - void* m_unk3; - cocos2d::CCSprite* m_likesIcon; - cocos2d::CCSprite* m_orbsIcon; - int m_unk6; // always 3, maybe level type? - int m_unk7; - LoadingCircle* m_circle; - GJDifficultySprite* m_difficultySprite; - cocos2d::CCSprite* m_starsIcon; - cocos2d::CCLabelBMFont* m_starsLabel; - cocos2d::CCArray* m_icons; - PAD = win 0x10, android32 0x10, android64 0x10; - bool m_challenge; - PAD = win 0x4, android32 0x4, android64 0x8; - cocos2d::CCSprite* m_playSprite; - void* m_unk11; - CustomSongWidget* m_songWidget; -} - -[[link(android)]] -class LevelLeaderboard : FLAlertLayer, LeaderboardManagerDelegate, FLAlertLayerProtocol { - // virtual ~LevelLeaderboard(); - - static LevelLeaderboard* create(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode); - - TodoReturn deleteLocalScores(); - TodoReturn getLocalScores(); - TodoReturn getSpriteButton(gd::string, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float, cocos2d::CCPoint, int); - bool init(GJGameLevel*, LevelLeaderboardType, LevelLeaderboardMode); - bool isCorrect(char const*); - TodoReturn loadScores(); - void onChangeMode(cocos2d::CCObject* sender); - void onChangeType(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDeleteLocalScores(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - TodoReturn reloadLeaderboard(LevelLeaderboardType, LevelLeaderboardMode); - TodoReturn setupLeaderboard(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); //merged func - virtual void loadLeaderboardFinished(cocos2d::CCArray*, char const*); - virtual void loadLeaderboardFailed(char const*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void updateUserScoreFinished(); - virtual void updateUserScoreFailed(); - - GJGameLevel* m_level; - LevelLeaderboardType m_type; - LevelLeaderboardMode m_mode; - cocos2d::CCArray* m_scores; - GJCommentListLayer* m_list; - LoadingCircle* m_circle; - TextArea* m_noInternet; - CCMenuItemSpriteExtra* m_refreshBtn; - CCMenuItemSpriteExtra* m_timeBtn; - CCMenuItemSpriteExtra* m_pointsBtn; -} - -[[link(android)]] -class LevelListCell : TableViewCell { - // virtual ~LevelListCell(); - LevelListCell(char const*, float, float); - - static LevelListCell* create(float, float); - - void loadFromList(GJLevelList*); - void onClick(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); - - GJLevelList* m_levelList; - bool m_addingLevel; -} - -[[link(android)]] -class LevelListDeleteDelegate { - virtual void levelListDeleteFinished(int) {} - virtual void levelListDeleteFailed(int) {} -} - -[[link(android)]] -class LevelListLayer : LevelBrowserLayer, TextInputDelegate, SelectListIconDelegate, LikeItemDelegate, LevelListDeleteDelegate { - // virtual ~LevelListLayer(); - - static LevelListLayer* create(GJLevelList*); - - void cloneList(); - void confirmClone(cocos2d::CCObject*); - void confirmDelete(cocos2d::CCObject*); - void confirmOwnerDelete(cocos2d::CCObject*); - bool init(GJLevelList*); - void onClaimReward(cocos2d::CCObject* sender); - void onDelete(); - void onDescription(cocos2d::CCObject* sender); - void onFavorite(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void onListInfo(cocos2d::CCObject* sender); - void onRefreshLevelList(cocos2d::CCObject* sender); - void onSelectIcon(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onToggleEditMode(cocos2d::CCObject* sender); - void onViewProfile(cocos2d::CCObject* sender); - void ownerDelete(); - static cocos2d::CCScene* scene(GJLevelList*); - TodoReturn updateEditMode(); - TodoReturn updateSideButtons(); - TodoReturn updateStatsArt(); - TodoReturn verifyListName(); - - virtual void onEnter(); - virtual void onExit(); - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int); - virtual void loadLevelsFailed(char const*, int); - virtual void onBack(cocos2d::CCObject* sender); - virtual void shareCommentClosed(gd::string, ShareCommentLayer*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void setIDPopupClosed(SetIDPopup*, int); - virtual TodoReturn updateResultArray(cocos2d::CCArray*); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual void likedItem(LikeItemType, int, bool); - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); - virtual void levelListDeleteFinished(int); - virtual void levelListDeleteFailed(int); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelManagerDelegate { - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*) {} - virtual void loadLevelsFailed(char const*) {} - virtual void loadLevelsFinished(cocos2d::CCArray*, char const*, int) {} - virtual void loadLevelsFailed(char const*, int) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class LevelOptionsLayer : GJOptionsLayer { - // virtual ~LevelOptionsLayer(); - - static LevelOptionsLayer* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - void onSettings(cocos2d::CCObject* sender); - - virtual void valueDidChange(int, float); - virtual TodoReturn getValue(int); - virtual void setupOptions(); - virtual void didToggle(int); -} - -[[link(android)]] -class LevelOptionsLayer2 : LevelOptionsLayer { - // virtual ~LevelOptionsLayer2(); - - static LevelOptionsLayer2* create(LevelSettingsObject*); - - bool init(LevelSettingsObject*); - - virtual void setupOptions(); -} - -[[link(android)]] -class LevelPage : cocos2d::CCLayer, DialogDelegate { - // virtual ~LevelPage(); - - static LevelPage* create(GJGameLevel*); - - TodoReturn addSecretCoin(); - TodoReturn addSecretDoor(); - bool init(GJGameLevel*); - void onInfo(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSecretDoor(cocos2d::CCObject* sender); - void onTheTower(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - TodoReturn playStep2(); - TodoReturn playStep3(); - void updateDynamicPage(GJGameLevel*); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void dialogClosed(DialogLayer*); - - void* m_unk; - GJGameLevel* m_level; -} - -[[link(android)]] -class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate { - // virtual ~LevelSearchLayer(); - - static LevelSearchLayer* create(int); - - TodoReturn checkDiff(int); - TodoReturn checkTime(int); - TodoReturn clearFilters(); - void confirmClearFilters(cocos2d::CCObject*); - char const* getDiffKey(int); - TodoReturn getLevelLenKey(); - TodoReturn getSearchDiffKey(); - GJSearchObject* getSearchObject(SearchType, gd::string); - TodoReturn getTimeKey(int); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onClearFreeSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onLatestStars(cocos2d::CCObject* sender); - void onMagic(cocos2d::CCObject* sender); - void onMoreOptions(cocos2d::CCObject* sender); - void onMostDownloaded(cocos2d::CCObject* sender); - void onMostLikes(cocos2d::CCObject* sender); - void onMostRecent(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSearchMode(cocos2d::CCObject* sender); - void onSearchUser(cocos2d::CCObject* sender); - void onSpecialDemon(cocos2d::CCObject* sender); - void onStarAward(cocos2d::CCObject* sender); - void onSuggested(cocos2d::CCObject* sender); - void onTrending(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(int); - void toggleDifficulty(cocos2d::CCObject*); - TodoReturn toggleDifficultyNum(int, bool); - void toggleStar(cocos2d::CCObject*); - void toggleTime(cocos2d::CCObject*); - TodoReturn toggleTimeNum(int, bool); - TodoReturn updateSearchLabel(char const*); - - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void demonFilterSelectClosed(int); - - int m_type; - CCTextInputNode* m_searchInput; - cocos2d::CCSprite* m_starsSprite; - cocos2d::CCArray* m_difficultySprites; - cocos2d::CCArray* m_lengthSprites; - cocos2d::CCDictionary* m_difficultyDict; - cocos2d::CCSprite* m_lastDifficultySprite; - CCMenuItemSpriteExtra* m_demonTypeButton; -} - -[[link(android)]] -class LevelSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate, DynamicScrollDelegate { - virtual ~LevelSelectLayer(); - - static LevelSelectLayer* create(int); - - cocos2d::ccColor3B colorForPage(int); - TodoReturn getColorValue(int, int, float); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(int); - TodoReturn tryShowAd(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void updatePageWithObject(cocos2d::CCObject*, cocos2d::CCObject*); - virtual void scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class LevelSettingsDelegate { - virtual void levelSettingsUpdated() {} -} - -[[link(android)]] -class LevelSettingsLayer : FLAlertLayer, ColorSelectDelegate, SelectArtDelegate, SelectSettingDelegate, FLAlertLayerProtocol, CustomSongLayerDelegate, TextInputDelegate { - // virtual ~LevelSettingsLayer(); - - static LevelSettingsLayer* create(LevelSettingsObject*, LevelEditorLayer*); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - bool init(LevelSettingsObject*, LevelEditorLayer*); - void onBGArt(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCol(cocos2d::CCObject* sender); - void onDisable(cocos2d::CCObject* sender); - void onFGArt(cocos2d::CCObject* sender); - void onGameplayMode(cocos2d::CCObject* sender); - void onGArt(cocos2d::CCObject* sender); - void onLiveEdit(cocos2d::CCObject* sender); - void onMode(cocos2d::CCObject* sender); - void onOptionToggle(cocos2d::CCObject* sender); - void onSelectFont(cocos2d::CCObject* sender); - void onSelectMode(cocos2d::CCObject* sender); - void onSelectSpeed(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShowPicker(cocos2d::CCObject* sender); - void onSpeed(cocos2d::CCObject* sender); - void showPicker(ColorAction*); - TodoReturn updateColorSprite(ColorChannelSprite*); - TodoReturn updateColorSprites(); - TodoReturn updateGameplayModeButtons(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void colorSelectClosed(cocos2d::CCNode*); - virtual void selectArtClosed(SelectArtLayer*); - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class LevelSettingsObject : cocos2d::CCNode { - // virtual ~LevelSettingsObject(); - - static LevelSettingsObject* create(); - - gd::string getSaveString(); - static LevelSettingsObject* objectFromDict(cocos2d::CCDictionary*); - static LevelSettingsObject* objectFromString(gd::string const& str) { - return objectFromDict(GameToolbox::stringSetupToDict(str, ",")); - } - TodoReturn setupColorsFromLegacyMode(cocos2d::CCDictionary*); - TodoReturn shouldUseYSection(); - - virtual bool init(); - - GJEffectManager* m_effectManager; - // property kA2 - int m_startMode; - // property kA4 - Speed m_startSpeed; - // property kA3 - bool m_startMini; - // property kA8 - bool m_startDual; - // property kA28 - bool m_mirrorMode; - // property kA29 - bool m_rotateGameplay; - // property kA10 - bool m_twoPlayerMode; - // property kA22 - bool m_platformerMode; - // property kA13 - float m_songOffset; - // property kA15 - bool m_fadeIn; - // property kA16 - bool m_fadeOut; - // property kA6 - int m_backgroundIndex; - // property kA7 - int m_groundIndex; - // property kA18 - int m_fontIndex; - // property kA25 - int m_middleGroundIndex; - // property kA9 - bool m_startsWithStartPos; - // property kA11 - bool m_isFlipped; - // property kA20 - bool m_reverseGameplay; - // property kA21 - bool m_disableStartPos; - // property kA19 - int m_targetOrder; - // property kA26 - int m_targetChannel; - - GJGameLevel* m_level; - // property kA14 - gd::string m_guidelineString; - - int m_defaultSongID; - // property kS39 - int m_colorPage; - // property kA17 - int m_groundLineIndex; - // property kA23 - bool m_propertykA23; - // property kA24 - bool m_propertykA24; - // property kA43 - bool m_noTimePenalty; - // property kA44 - int m_propertykA44; - // property kA35 - bool m_resetCamera; - // property kA36 - int m_spawnGroup; - // property kA27 - bool m_allowMultiRotation; - // property kA31 - bool m_enablePlayerSqueeze; - // property kA32 - bool m_fixGravityBug; - // property kA33 - bool m_fixNegativeScale; - // property kA34 - bool m_fixRobotJump; - // property kA37 - bool m_dynamicLevelHeight; - // property kA38 - bool m_sortGroups; - // property kA39 - bool m_fixRadiusCollision; - // property kA40 - bool m_enable22Changes; - // property kA41 - bool m_allowStaticRotate; - // property kA42 - bool m_reverseSync; -} - -[[link(android)]] -class LevelTools { - static int artistForAudio(int); - static gd::string base64DecodeString(gd::string); - static gd::string base64EncodeString(gd::string); - static cocos2d::CCDictionary* createStarPackDict(); - static gd::string fbURLForArtist(int); - static int getAudioBPM(int); - static gd::string getAudioFileName(int); - static gd::string getAudioString(int); - static gd::string getAudioTitle(int); - static TodoReturn getLastGameplayReversed(); - static TodoReturn getLastGameplayRotated(); - static TodoReturn getLastTimewarp(); - static GJGameLevel* getLevel(int, bool); - static TodoReturn getLevelList(); - static SongInfoObject* getSongObject(int); - static TodoReturn moveTriggerObjectsToArray(cocos2d::CCArray*, cocos2d::CCDictionary*, int); - static gd::string nameForArtist(int); - static gd::string ngURLForArtist(int); - static TodoReturn offsetBPMForTrack(int); - static float posForTime(float, cocos2d::CCArray*, int, bool, int&); - static float posForTimeInternal(float, cocos2d::CCArray*, int, bool, bool, bool, int&, int); - static TodoReturn sortChannelOrderObjects(cocos2d::CCArray*, cocos2d::CCDictionary*, bool); - static TodoReturn sortSpeedObjects(cocos2d::CCArray*, GJBaseGameLayer*); - static float timeForPos(cocos2d::CCPoint, cocos2d::CCArray*, int, int, int, bool, bool, bool, bool, int); - static TodoReturn toggleDebugLogging(bool); - static gd::string urlForAudio(int); - static TodoReturn valueForSpeedMod(int); - static bool verifyLevelIntegrity(gd::string, int); - static gd::string ytURLForArtist(int); - -} - -[[link(android)]] -class LevelUpdateDelegate { - virtual void levelUpdateFinished(GJGameLevel*, UpdateResponse) {} - virtual void levelUpdateFailed(int) {} -} - -[[link(android)]] -class LevelUploadDelegate { - virtual void levelUploadFinished(GJGameLevel*) {} - virtual void levelUploadFailed(GJGameLevel*) {} -} - -[[link(android)]] -class LikeItemDelegate { - virtual void likedItem(LikeItemType, int, bool) {} -} - -[[link(android)]] -class LikeItemLayer : FLAlertLayer { - // virtual ~LikeItemLayer(); - - static LikeItemLayer* create(LikeItemType, int, int); - - bool init(LikeItemType, int, int); - void onClose(cocos2d::CCObject* sender); - void onDislike(cocos2d::CCObject* sender); - void onLike(cocos2d::CCObject* sender); - void triggerLike(bool isLiked); - - virtual void keyBackClicked(); - - LikeItemType m_itemType; - int m_itemID; - int m_commentSourceID; - LikeItemDelegate* m_likeDelegate; -} - -[[link(android)]] -class ListButtonBar : cocos2d::CCNode { - // virtual ~ListButtonBar(); - - static ListButtonBar* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - - TodoReturn getPage(); - void goToPage(int); - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float, float, int); - void onLeft(cocos2d::CCObject* sender); - void onRight(cocos2d::CCObject* sender); -} - -[[link(android)]] -class ListButtonBarDelegate { - virtual void listButtonBarSwitchedPage(ListButtonBar*, int); -} - -[[link(android)]] -class ListButtonPage : cocos2d::CCLayer { - // virtual ~ListButtonPage(); - - static ListButtonPage* create(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); - - bool init(cocos2d::CCArray*, cocos2d::CCPoint, int, int, float, float, float); -} - -[[link(android)]] -class ListCell : TableViewCell { - // virtual ~ListCell(); - ListCell(char const*, float, float); - - void loadFromObject(cocos2d::CCObject*, int, int, int); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class ListUploadDelegate { - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class LoadingCircle : cocos2d::CCLayerColor { - // virtual ~LoadingCircle(); - - static LoadingCircle* create() = ios 0x397d8c; - - void fadeAndRemove() = ios 0x398028; - void show() = ios 0x397f34; - - void setFade(bool fade) { - m_fade = fade; - } - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void registerWithTouchDispatcher(); - - inline void setParentLayer(cocos2d::CCLayer* layer) { - m_parentLayer = layer; - } - - cocos2d::CCSprite* m_sprite; - cocos2d::CCLayer* m_parentLayer; - bool m_fade; -} - -[[link(android)]] -class LoadingCircleSprite : cocos2d::CCSprite { - // virtual ~LoadingCircleSprite(); - - static LoadingCircleSprite* create(); - - TodoReturn fadeInCircle(bool); - TodoReturn hideCircle(); - - virtual bool init(); -} - -[[link(android)]] -class LoadingLayer : cocos2d::CCLayer { - // virtual ~LoadingLayer(); - - static LoadingLayer* create(bool); - - const char* getLoadingString(); - bool init(bool) = ios 0x1d8ce8; - void loadAssets() = ios 0x1d949c; - void loadingFinished(); - static cocos2d::CCScene* scene(bool) = ios 0x1d8bf0; - TodoReturn updateProgress(int); - - bool m_unknown; - bool m_unknown2; - int m_loadStep; - cocos2d::CCLabelBMFont* m_caption; - TextArea* m_textArea; - cocos2d::CCSprite* m_sliderBar; - float m_sliderGrooveXPos; - float m_sliderGrooveHeight; - bool m_fromRefresh; -} - -[[link(android)]] -class LocalLevelManager : GManager { - // virtual ~LocalLevelManager(); - - static LocalLevelManager* sharedState(); - inline static LocalLevelManager* get() { - return LocalLevelManager::sharedState(); - } - - cocos2d::CCDictionary* getAllLevelsInDict(); - TodoReturn getAllLevelsWithName(gd::string); - TodoReturn getCreatedLevels(int); - TodoReturn getCreatedLists(int); - TodoReturn getLevelsInNameGroups(); - gd::string getMainLevelString(int levelID); - TodoReturn markLevelsAsUnmodified(); - TodoReturn moveLevelToTop(GJGameLevel*); - TodoReturn reorderLevels(); - TodoReturn reorderLists(); - TodoReturn tryLoadMainLevelString(int); - TodoReturn updateLevelOrder(); - TodoReturn updateLevelRevision(); - TodoReturn updateListOrder(); - - virtual bool init(); - virtual void encodeDataTo(DS_Dictionary*); - virtual void dataLoaded(DS_Dictionary*); - virtual void firstLoad(); - - cocos2d::CCArray* m_localLevels; - cocos2d::CCArray* m_LLM03; - gd::map m_mainLevels; -} - -[[link(android)]] -class MapPackCell : TableViewCell { - // virtual ~MapPackCell(); - MapPackCell(char const*, float, float); - - void loadFromMapPack(GJMapPack*); - void onClaimReward(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn playCompleteEffect(); - TodoReturn reloadCell(); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class MapSelectLayer : cocos2d::CCLayer { - // virtual ~MapSelectLayer(); - - static MapSelectLayer* create(); - - TodoReturn checkTouchMonster(cocos2d::CCPoint); - TodoReturn createObjectAtPoint(cocos2d::CCPoint); - TodoReturn getConstrainedMapPos(cocos2d::CCPoint); - void onBack(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(); - - virtual void update(float); - virtual bool init(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void scrollWheel(float, float); -} - -[[link(android)]] -class MenuGameLayer : cocos2d::CCLayer { - // virtual ~MenuGameLayer(); - - static MenuGameLayer* create(); - - void destroyPlayer(); - TodoReturn getBGColor(int); - void resetPlayer(); - void tryJump(float); - void updateColor(float); - void updateColors(); - - virtual void update(float); - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*) {} - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); -} - -[[link(android)]] -class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol, GooglePlayDelegate { - // virtual ~MenuLayer(); - - static cocos2d::CCScene* scene(bool) = ios 0x26dd84; - - TodoReturn endGame(); - TodoReturn firstNetworkTest(); - void onAchievements(cocos2d::CCObject* sender); - void onCreator(cocos2d::CCObject* sender); - void onDaily(cocos2d::CCObject* sender); - void onDiscord(cocos2d::CCObject* sender); - void onEveryplay(cocos2d::CCObject* sender); - void onFacebook(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onFullVersion(cocos2d::CCObject* sender); - void onGameCenter(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onGooglePlayGames(cocos2d::CCObject* sender); - void onMoreGames(cocos2d::CCObject* sender); - void onMyProfile(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - TodoReturn onOptionsInstant(); - void onPlay(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onStats(cocos2d::CCObject* sender); - void onTrailer(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn openOptions(bool); - void showGCQuestion(); - void showMeltdownPromo(); - void showTOS(); - TodoReturn syncPlatformAchievements(float); - TodoReturn tryShowAd(float); - TodoReturn updateUserProfileButton(); - TodoReturn videoOptionsClosed(); - TodoReturn videoOptionsOpened(); - TodoReturn willClose(); - - virtual bool init() = ios 0x26dee0; - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void googlePlaySignedIn(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MessageListDelegate { - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*) {} - virtual void loadMessagesFailed(char const*, GJErrorCode) {} - virtual void forceReloadMessages(bool) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class MessagesProfilePage : FLAlertLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate, MessageListDelegate { - // virtual ~MessagesProfilePage(); - - static MessagesProfilePage* create(bool); - - TodoReturn deleteSelected(); - bool init(bool); - bool isCorrect(char const*); - void loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSentMessages(cocos2d::CCObject* sender); - void onToggleAllObjects(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void setupCommentsBrowser(cocos2d::CCArray*); - TodoReturn untoggleAll(); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void onClosePopup(UploadActionPopup*); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void loadMessagesFinished(cocos2d::CCArray*, char const*); - virtual void loadMessagesFailed(char const*, GJErrorCode); - virtual void forceReloadMessages(bool); - virtual void setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class MoreOptionsLayer : FLAlertLayer, TextInputDelegate, GooglePlayDelegate, GJDropDownLayerDelegate { - // virtual ~MoreOptionsLayer(); - - static MoreOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - TodoReturn offsetToNextPage(); - void onClose(cocos2d::CCObject* sender); - void onFMODDebug(cocos2d::CCObject* sender); - void onGPSignIn(cocos2d::CCObject* sender); - void onGPSignOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onKeybindings(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onParental(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onSongBrowser(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - TodoReturn toggleGP(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void googlePlaySignedIn(); - virtual void dropDownLayerWillClose(GJDropDownLayer*); -} - -[[link(android)]] -class MoreSearchLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreSearchLayer(); - - static MoreSearchLayer* create(); - - TodoReturn audioNext(cocos2d::CCObject*); - TodoReturn audioPrevious(cocos2d::CCObject*); - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void onClose(cocos2d::CCObject* sender); - void onCoins(cocos2d::CCObject* sender); - void onCompleted(cocos2d::CCObject* sender); - void onEpic(cocos2d::CCObject* sender); - void onFeatured(cocos2d::CCObject* sender); - void onFollowed(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onLegendary(cocos2d::CCObject* sender); - void onMythic(cocos2d::CCObject* sender); - void onNoStar(cocos2d::CCObject* sender); - void onOriginal(cocos2d::CCObject* sender); - void onSongFilter(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onTwoPlayer(cocos2d::CCObject* sender); - void onUncompleted(cocos2d::CCObject* sender); - TodoReturn selectSong(int); - TodoReturn toggleSongNodes(bool, bool); - TodoReturn updateAudioLabel(); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - - cocos2d::CCLabelBMFont* m_audioTrackName; - CCMenuItemSpriteExtra* m_songLeftBtn; - CCMenuItemSpriteExtra* m_songRightBtn; - CCMenuItemSpriteExtra* m_normalBtn; - CCMenuItemSpriteExtra* m_customBtn; - CCTextInputNode* m_enterSongID; -} - -[[link(android)]] -class MoreVideoOptionsLayer : FLAlertLayer, TextInputDelegate { - // virtual ~MoreVideoOptionsLayer(); - - static MoreVideoOptionsLayer* create(); - - void addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onApplyFPS(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - char const* pageKey(int); - void updateFPSButtons(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MPLobbyLayer : cocos2d::CCLayer, GJMPDelegate, UploadPopupDelegate, UploadActionDelegate, FLAlertLayerProtocol, TextInputDelegate { - // virtual ~MPLobbyLayer(); - - static MPLobbyLayer* create(int); - - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - void onBtn3(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - TodoReturn onUpdateLobby(); - TodoReturn postComment(); - static cocos2d::CCScene* scene(int); - TodoReturn tryExitLobby(); - TodoReturn updateLobby(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual TodoReturn joinLobbyFinished(int); - virtual TodoReturn joinLobbyFailed(int, GJMPErrorCode); - virtual TodoReturn updateComments(); - virtual TodoReturn didUploadMPComment(int); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void keyUp(cocos2d::enumKeyCodes); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class MultilineBitmapFont : cocos2d::CCSprite { - // virtual ~MultilineBitmapFont(); - - TodoReturn createWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn initWithFont(char const*, gd::string, float, float, cocos2d::CCPoint, int, bool); - TodoReturn moveSpecialDescriptors(int, int); - TodoReturn readColorInfo(gd::string); - TodoReturn stringWithMaxWidth(gd::string, float, float); - - virtual void setOpacity(unsigned char); -} - -[[link(android)]] -class MultiplayerLayer : cocos2d::CCLayer { - // virtual ~MultiplayerLayer(); - - static MultiplayerLayer* create(); - - void onBack(cocos2d::CCObject* sender); - void onBtn1(cocos2d::CCObject* sender); - void onBtn2(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class MultiTriggerPopup : SetupTriggerPopup { - // virtual ~MultiTriggerPopup(); - - static MultiTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class MusicArtistObject : cocos2d::CCObject { - // virtual ~MusicArtistObject(); - - static MusicArtistObject* create(int, gd::string, gd::string, gd::string); - - bool init(int, gd::string, gd::string, gd::string); -} - -[[link(android)]] -class MusicBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, FLAlertLayerProtocol, SliderDelegate { - // virtual ~MusicBrowser(); - - static MusicBrowser* create(int); - - bool init(int); - void onArtistFilters(cocos2d::CCObject* sender); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onPlaybackControl(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onTagFilters(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void setupList(MusicSearchResult*); - TodoReturn setupSongControls(); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn trySetupMusicBrowser(); - TodoReturn updatePageLabel(); - - virtual void update(float); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void musicActionFinished(GJMusicAction); - virtual void musicActionFailed(GJMusicAction); - virtual TodoReturn sliderEnded(Slider*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class MusicBrowserDelegate { - virtual void musicBrowserClosed(MusicBrowser*) {} -} - -[[link(android)]] -class MusicDelegateHandler : cocos2d::CCNode { - // virtual ~MusicDelegateHandler(); - - static MusicDelegateHandler* create(MusicDownloadDelegate*); - - bool init(MusicDownloadDelegate*); -} - -[[link(android)]] -class MusicDownloadDelegate { - virtual void loadSongInfoFinished(SongInfoObject*) {} - virtual void loadSongInfoFailed(int, GJSongError) {} - virtual void downloadSongFinished(int) {} - virtual void downloadSongFailed(int, GJSongError) {} - virtual void songStateChanged() {} - virtual void downloadSFXFinished(int) {} - virtual void downloadSFXFailed(int, GJSongError) {} - virtual void musicActionFinished(GJMusicAction) {} - virtual void musicActionFailed(GJMusicAction) {} -} - -[[link(android)]] -class MusicDownloadManager : cocos2d::CCNode, PlatformDownloadDelegate { - // virtual ~MusicDownloadManager(); - - static MusicDownloadManager* sharedState(); - - void addDLToActive(char const* tag, cocos2d::CCObject* obj); - void addDLToActive(char const* tag); - TodoReturn addMusicDownloadDelegate(MusicDownloadDelegate*); - TodoReturn addSongObjectFromString(gd::string); - TodoReturn clearSong(int); - TodoReturn clearUnusedSongs(); - void createSongsInfo(gd::string); - void dataLoaded(DS_Dictionary*); - void deleteSFX(int); - void deleteSong(int); - void downloadCustomSong(int); - void downloadMusicLibrary(); - void downloadSFX(int); - void downloadSFXFailed(int, GJSongError); - void downloadSFXFinished(int); - void downloadSFXLibrary(); - void downloadSong(int); - void downloadSongFailed(int, GJSongError); - void downloadSongFinished(int); - void encodeDataTo(DS_Dictionary*); - TodoReturn filterMusicByArtistID(int, cocos2d::CCArray*); - TodoReturn filterMusicByTag(int, cocos2d::CCArray*); - void firstSetup(); - TodoReturn generateCustomContentURL(gd::string); - TodoReturn generateResourceAssetList(); - TodoReturn getAllMusicArtists(OptionsObjectDelegate*); - TodoReturn getAllMusicObjects(); - TodoReturn getAllMusicTags(OptionsObjectDelegate*); - TodoReturn getAllSFXObjects(bool); - TodoReturn getAllSongs(); - void getCustomContentURL(); - cocos2d::CCObject* getDLObject(char const*); - TodoReturn getDownloadedSongs(); - TodoReturn getDownloadProgress(int); - TodoReturn getMusicArtistForID(int); - TodoReturn getMusicObject(int); - TodoReturn getSFXDownloadKey(int); - TodoReturn getSFXDownloadProgress(int); - TodoReturn getSFXFolderObjectForID(int); - TodoReturn getSFXFolderPathForID(int, bool); - TodoReturn getSFXObject(int); - TodoReturn getSongDownloadKey(int); - void getSongInfo(int, bool); - TodoReturn getSongInfoKey(int); - SongInfoObject* getSongInfoObject(int); - TodoReturn getSongPriority(); - void handleIt(bool, gd::string, gd::string, GJHttpType); - void handleItDelayed(bool, gd::string, gd::string, GJHttpType); - void handleItND(cocos2d::CCNode*, void*); - TodoReturn incrementPriorityForSong(int); - bool isDLActive(char const* tag); - bool isMusicLibraryLoaded(); - bool isResourceSFX(int); - bool isResourceSong(int); - bool isRunningActionForSongID(int); - bool isSFXDownloaded(int); - bool isSFXLibraryLoaded(); - bool isSongDownloaded(int); - void limitDownloadedSongs(); - void loadSongInfoFailed(int, GJSongError); - void loadSongInfoFinished(SongInfoObject*); - void musicActionFailed(GJMusicAction); - void musicActionFinished(GJMusicAction); - TodoReturn nameForTagID(int); - void onDownloadMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSFXCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onDownloadSongCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onGetCustomContentURLCompleted(gd::string, gd::string); - void onGetSongInfoCompleted(gd::string, gd::string); - void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onTryUpdateMusicLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void onTryUpdateSFXLibraryCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*); - void parseMusicLibrary(); - void parseSFXLibrary(); - gd::string pathForSFX(int); - TodoReturn pathForSFXFolder(int); - gd::string pathForSong(int); - TodoReturn pathForSongFolder(int); - void ProcessHttpGetRequest(gd::string, gd::string, cocos2d::extension::SEL_HttpResponse, int, int); - void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType); - void removeDLFromActive(char const*); - TodoReturn removeMusicDownloadDelegate(MusicDownloadDelegate*); - static cocos2d::CCDictionary* responseToDict(gd::string, char const*); - void showTOS(FLAlertLayerProtocol*); - void songStateChanged(); - TodoReturn stopDownload(int); - TodoReturn storeMusicObject(SongInfoObject*); - TodoReturn storeSFXInfoObject(SFXInfoObject*); - TodoReturn tryLoadLibraries(); - TodoReturn tryUpdateMusicLibrary(); - TodoReturn tryUpdateSFXLibrary(); - - virtual bool init(); - - cocos2d::CCDictionary* m_activeDownloads; - cocos2d::CCArray* m_musicDownloadDelegates; - cocos2d::CCDictionary* m_songObjects; - cocos2d::CCDictionary* m_MDLM003; - int m_songPriority; - gd::string m_customContentURL; - cocos2d::CCDictionary* m_sfxObjects; - cocos2d::CCArray* m_sfxArtists; - int m_sfxLibraryVersion; - int m_sfxObjectCount; - bool m_requestedSfxLibraryDownloaded; - cocos2d::CCDictionary* m_musicObjects; - cocos2d::CCDictionary* m_musicArtists; - gd::map m_musicTags; - int m_musicLibraryVersion; - int m_musicObjectCount; - bool m_requestedMusicLibraryDownloaded; - bool m_triedToLoadLibraries; - bool m_unkBool; - gd::unordered_set m_resourceSfxUnorderedSet; - gd::unordered_set m_resourceSongUnorderedSet; -} - -[[link(android)]] -class MusicSearchResult : cocos2d::CCObject, OptionsObjectDelegate { - // virtual ~MusicSearchResult(); - - static MusicSearchResult* create(); - - TodoReturn applyArtistFilters(cocos2d::CCArray*); - TodoReturn applyTagFilters(cocos2d::CCArray*); - TodoReturn createArtistFilterObjects(); - TodoReturn createTagFilterObjects(); - TodoReturn getFilesMatchingSearch(cocos2d::CCArray*, gd::string); - bool init(); - TodoReturn updateFutureCount(cocos2d::CCArray*, cocos2d::CCArray*); - TodoReturn updateObjects(); - - virtual TodoReturn updateObjects(AudioSortType); - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class NewgroundsInfoLayer : FLAlertLayer, FLAlertLayerProtocol { - // virtual ~NewgroundsInfoLayer(); - - static NewgroundsInfoLayer* create(); - - void onArtists(cocos2d::CCObject* sender); - void onChanges(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onGuidelines(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNewgrounds(cocos2d::CCObject* sender); - void onSupporter(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android)]] -class NodePoint : cocos2d::CCObject { - // virtual ~NodePoint(); - - static NodePoint* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class NumberInputDelegate { - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class NumberInputLayer : FLAlertLayer { - // virtual ~NumberInputLayer(); - - static NumberInputLayer* create(); - - TodoReturn deleteLast(); - TodoReturn inputNumber(int); - void onClose(cocos2d::CCObject* sender); - void onDone(cocos2d::CCObject* sender); - void onNumber(cocos2d::CCObject* sender); - TodoReturn updateNumberState(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class OBB2D : cocos2d::CCNode { - // virtual ~OBB2D(); - - static OBB2D* create(cocos2d::CCPoint, float, float, float); - - TodoReturn calculateWithCenter(cocos2d::CCPoint, float, float, float); - TodoReturn computeAxes(); - TodoReturn getBoundingRect(); - bool init(cocos2d::CCPoint, float, float, float); - TodoReturn orderCorners(); - TodoReturn overlaps(OBB2D*); - TodoReturn overlaps1Way(OBB2D*); -} - -[[link(android)]] -class ObjectControlGameObject : EffectGameObject { - // virtual ~ObjectControlGameObject(); - - static ObjectControlGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ObjectDecoder { - // virtual ~ObjectDecoder(); - - static ObjectDecoder* sharedDecoder(); - - TodoReturn getDecodedObject(int, DS_Dictionary*); - - virtual bool init(); -} - -[[link(android)]] -class ObjectDecoderDelegate { - virtual TodoReturn getDecodedObject(int, DS_Dictionary*); -} - -[[link(android)]] -class ObjectManager : cocos2d::CCNode { - // virtual ~ObjectManager(); - - TodoReturn animLoaded(char const*); - TodoReturn getDefinition(char const*); - TodoReturn getGlobalAnimCopy(char const*); - TodoReturn instance(); - TodoReturn loadCopiedAnimations(); - TodoReturn loadCopiedSets(); - TodoReturn purgeObjectManager(); - TodoReturn replaceAllOccurencesOfString(cocos2d::CCString*, cocos2d::CCString*, cocos2d::CCDictionary*); - void setLoaded(char const*); - TodoReturn setup(); - - virtual bool init(); -} - -[[link(android)]] -class ObjectToolbox : cocos2d::CCNode { - // virtual ~ObjectToolbox(); - - static ObjectToolbox* sharedState(); - - TodoReturn allKeys(); - float gridNodeSizeForKey(int); - const char* intKeyToFrame(int); - TodoReturn perspectiveBlockFrame(int); - - virtual bool init(); -} - -[[link(android)]] -class OnlineListDelegate { - virtual void loadListFinished(cocos2d::CCArray*, char const*) {} - virtual void loadListFailed(char const*) {} - virtual void setupPageInfo(gd::string, char const*) {} -} - -[[link(android)]] -class OpacityEffectAction { - TodoReturn step(float); -} - -[[link(android)]] -class OptionsCell : TableViewCell { - // virtual ~OptionsCell(); - OptionsCell(char const*, float, float); - - void loadFromObject(OptionsObject*); - void onToggleOption(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); -} - -[[link(android)]] -class OptionsLayer : GJDropDownLayer, FLAlertLayerProtocol { - // virtual ~OptionsLayer(); - - static OptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - TodoReturn exitLayer(); - TodoReturn musicSliderChanged(cocos2d::CCObject*); - void onAccount(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender); - void onOptions(cocos2d::CCObject* sender); - void onProgressBar(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onSecretVault(cocos2d::CCObject* sender); - void onSoundtracks(cocos2d::CCObject* sender); - void onSupport(cocos2d::CCObject* sender); - void onVideo(cocos2d::CCObject* sender); - TodoReturn sfxSliderChanged(cocos2d::CCObject*); - TodoReturn tryEnableRecord(); - - virtual void customSetup(); - virtual void layerHidden(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class OptionsObject : cocos2d::CCObject { - // virtual ~OptionsObject(); - - static OptionsObject* create(int, bool, gd::string, OptionsObjectDelegate*); - - bool init(int, bool, gd::string, OptionsObjectDelegate*); - TodoReturn toggleState(); -} - -[[link(android)]] -class OptionsObjectDelegate { - virtual TodoReturn stateChanged(OptionsObject*); -} - -[[link(android)]] -class OptionsScrollLayer : FLAlertLayer, TableViewCellDelegate { - // virtual ~OptionsScrollLayer(); - - static OptionsScrollLayer* create(cocos2d::CCArray*, bool); - - TodoReturn getRelevantObjects(cocos2d::CCArray*); - bool init(cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - void setupList(cocos2d::CCArray*); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); -} - -[[link(android)]] -class ParentalOptionsLayer : FLAlertLayer { - // virtual ~ParentalOptionsLayer(); - - static ParentalOptionsLayer* create(); - - TodoReturn addToggle(char const*, char const*, char const*); - TodoReturn countForPage(int); - void goToPage(int); - TodoReturn incrementCountForPage(int); - TodoReturn infoKey(int); - TodoReturn layerForPage(int); - TodoReturn layerKey(int); - TodoReturn nextPosition(int); - TodoReturn objectKey(int); - TodoReturn objectsForPage(int); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onToggle(cocos2d::CCObject* sender); - TodoReturn pageKey(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class ParticleGameObject : EnhancedGameObject { - // virtual ~ParticleGameObject(); - - static ParticleGameObject* create(); - - TodoReturn applyParticleSettings(cocos2d::CCParticleSystemQuad*); - TodoReturn createAndAddCustomParticle(); - TodoReturn createParticlePreviewArt(); - void setParticleString(gd::string); - void updateParticle(); - TodoReturn updateParticleAngle(float, cocos2d::CCParticleSystemQuad*); - TodoReturn updateParticlePreviewArtOpacity(float); - TodoReturn updateParticleScale(float); - TodoReturn updateParticleStruct(); - - virtual bool init(); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setRotation(float); - virtual void setRotationX(float); - virtual void setRotationY(float); - virtual void setChildColor(cocos2d::ccColor3B const&); - virtual void customSetup(); - virtual TodoReturn addMainSpriteToParent(bool); - virtual void resetObject(); - virtual void deactivateObject(bool); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn claimParticle(); - virtual TodoReturn unclaimParticle(); - virtual TodoReturn particleWasActivated(); - virtual void setObjectColor(cocos2d::ccColor3B const&); - virtual TodoReturn blendModeChanged(); - virtual TodoReturn updateParticleColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateParticleOpacity(unsigned char); - virtual TodoReturn updateMainParticleOpacity(unsigned char); - virtual TodoReturn updateSecondaryParticleOpacity(unsigned char); - virtual TodoReturn updateSyncedAnimation(float, int); - virtual TodoReturn updateAnimateOnTrigger(bool); - - // property 145 - gd::string m_particleData; - bool m_updatedParticleData; - PAD = android32 0x10f; - - // property 147 - bool m_hasUniformObjectColor; - PAD = android32 0x7; - - // property 211 - bool m_shouldQuickStart; - PAD = android32 0xf; -} - -[[link(android)]] -class ParticlePreviewLayer : cocos2d::CCLayerColor { - // virtual ~ParticlePreviewLayer(); - - static ParticlePreviewLayer* create(cocos2d::CCParticleSystemQuad*); - - bool init(cocos2d::CCParticleSystemQuad*); - TodoReturn postVisit(); - TodoReturn preVisitWithClippingRect(cocos2d::CCRect); - - virtual void draw(); - virtual void visit(); -} - -[[link(android)]] -class PauseLayer : CCBlockLayer { - // virtual ~PauseLayer(); - - static PauseLayer* create(bool); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint); - void goEdit(); - bool init(bool); - void musicSliderChanged(cocos2d::CCObject*); - void onEdit(cocos2d::CCObject* sender); - void onHelp(cocos2d::CCObject* sender); - void onNormalMode(cocos2d::CCObject* sender); - void onPracticeMode(cocos2d::CCObject* sender); - void onQuit(cocos2d::CCObject* sender); - void onRecordReplays(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRestart(cocos2d::CCObject* sender); - void onRestartFull(cocos2d::CCObject* sender); - void onResume(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onTime(cocos2d::CCObject* sender); - void setupProgressBars(); - void sfxSliderChanged(cocos2d::CCObject*); - void tryQuit(cocos2d::CCObject*); - TodoReturn tryShowBanner(float); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void customSetup(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void keyUp(cocos2d::enumKeyCodes) {} -} - -[[link(android)]] -class PlatformDownloadDelegate { - virtual void downloadFinished(char const*) {} - virtual void downloadFailed(char const*) {} -} - -[[link(android)]] -class PlatformToolbox { - static TodoReturn activateGameCenter(); - static TodoReturn copyToClipboard(gd::string); - static TodoReturn doesFileExist(gd::string); - static TodoReturn downloadAndSavePromoImage(gd::string, gd::string); - static TodoReturn gameDidSave(); - static TodoReturn getDeviceRefreshRate(); - static TodoReturn getDisplaySize(); - static TodoReturn getRawPath(char const*); - static TodoReturn getUniqueUserID(); - static TodoReturn getUserID(); - static TodoReturn hideCursor(); - static bool isControllerConnected() { - //todo: mac - #ifdef GEODE_IS_WINDOWS - return cocos2d::CCApplication::sharedApplication()->getControllerConnected(); - #else - return false; - #endif - } - static bool isHD(); - static bool isLocalPlayerAuthenticated(); - static bool isLowMemoryDevice(); - static bool isNetworkAvailable(); - static bool isSignedInGooglePlay(); - static TodoReturn loadAndDecryptFileToString(char const*, char const*, gd::string&); - static TodoReturn logEvent(char const*); - static TodoReturn onGameLaunch(); - static TodoReturn onNativePause(); - static TodoReturn onNativeResume(); - static TodoReturn onToggleKeyboard(); - static TodoReturn openAppPage(); - static void platformShutdown(); - static TodoReturn refreshWindow(); - static TodoReturn reportAchievementWithID(char const*, int); - static TodoReturn reportLoadingFinished(); - static TodoReturn resizeWindow(float, float); - static TodoReturn saveAndEncryptStringToFile(gd::string&, char const*, char const*); - static TodoReturn sendMail(char const*, char const*, char const*); - static void setBlockBackButton(bool); - static void setKeyboardState(bool); - static TodoReturn shouldResumeSound(); - static void showAchievements(); - static void showCursor(); - static TodoReturn signInGooglePlay(); - static TodoReturn signOutGooglePlay(); - static TodoReturn spriteFromSavedFile(gd::string); - static TodoReturn toggleCallGLFinish(bool); - static TodoReturn toggleCPUSleepMode(bool); - static TodoReturn toggleForceTimer(bool); - static TodoReturn toggleFullScreen(bool, bool); - static TodoReturn toggleLockCursor(bool); - static TodoReturn toggleMouseControl(bool); - static TodoReturn toggleSmoothFix(bool); - static TodoReturn toggleVerticalSync(bool); - static TodoReturn tryShowRateDialog(gd::string); - static TodoReturn updateMouseControl(); - static TodoReturn updateWindowedSize(float, float); -} - -[[link(android)]] -class PlayerCheckpoint : cocos2d::CCNode { - // virtual ~PlayerCheckpoint(); - - static PlayerCheckpoint* create(); - - virtual bool init(); -} - -[[link(android)]] -class PlayerControlGameObject : EffectGameObject { - // virtual ~PlayerControlGameObject(); - - static PlayerControlGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class PlayerFireBoostSprite : cocos2d::CCSprite { - // virtual ~PlayerFireBoostSprite(); - - static PlayerFireBoostSprite* create(); - - void animateFireIn(); - void animateFireOut(); - TodoReturn loopFireAnimation(); - - virtual bool init(); - - float m_size; -} - -[[link(android)]] -class PlayerObject : GameObject, AnimatedSpriteDelegate { - // virtual ~PlayerObject(); - - static PlayerObject* create(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool); - - void activateStreak(); - TodoReturn addAllParticles(); - TodoReturn addToTouchedRings(RingObject*); - TodoReturn addToYVelocity(double, int); - void animatePlatformerJump(float); - void boostPlayer(float); - void bumpPlayer(float, int, bool, GameObject*); - TodoReturn buttonDown(PlayerButton); - TodoReturn canStickToGround(); - TodoReturn checkSnapJumpToObject(GameObject*); - void collidedWithObject(float, GameObject*, cocos2d::CCRect, bool); - void collidedWithObject(float, GameObject*); - void collidedWithObjectInternal(float, GameObject*, cocos2d::CCRect, bool); - void collidedWithSlope(float, GameObject*, bool); - void collidedWithSlopeInternal(float, GameObject*, bool); - TodoReturn convertToClosestRotation(float); - TodoReturn copyAttributes(PlayerObject*); - void createFadeOutDartStreak(); - void createRobot(int) = ios 0x2217cc; - void createSpider(int) = ios 0x221a58; - void deactivateParticle(); - void deactivateStreak(bool); - TodoReturn destroyFromHitHead(); - TodoReturn didHitHead(); - void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - TodoReturn disablePlayerControls(); - void disableSwingFire(); - void doReversePlayer(bool); - void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - void enablePlayerControls(); - void exitPlatformerAnimateJump(); - void fadeOutStreak2(float); - void flashPlayer(float, float, cocos2d::ccColor3B, cocos2d::ccColor3B); - void flipGravity(bool, bool); - TodoReturn flipMod(); - void gameEventTriggered(int, int); - TodoReturn getActiveMode(); - TodoReturn getCurrentXVelocity(); - TodoReturn getModifiedSlopeYVel(); - TodoReturn getOldPosition(float); - cocos2d::ccColor3B getSecondColor(); - TodoReturn getYVelocity(); - TodoReturn gravityDown(); - TodoReturn gravityUp(); - TodoReturn handlePlayerCommand(int); - TodoReturn handleRotatedCollisionInternal(float, GameObject*, cocos2d::CCRect, bool, bool, bool); - TodoReturn handleRotatedObjectCollision(float, GameObject*, cocos2d::CCRect, bool); - TodoReturn handleRotatedSlopeCollision(float, GameObject*, bool); - TodoReturn hardFlipGravity(); - TodoReturn hitGround(GameObject*, bool); - TodoReturn hitGroundNoJump(GameObject*, bool); - void incrementJumps(); - bool init(int, int, GJBaseGameLayer*, cocos2d::CCLayer*, bool) = ios 0x2205f4; - bool isBoostValid(float); - bool isFlying(); - bool isInBasicMode(); - bool isInNormalMode(); - bool isSafeFlip(float); - bool isSafeHeadTest(); - bool isSafeMode(float); - bool isSafeSpiderFlip(float); - TodoReturn levelFlipFinished(); - bool levelFlipping(); - TodoReturn levelWillFlip(); - void loadFromCheckpoint(PlayerCheckpoint*); - TodoReturn lockPlayer(); - TodoReturn logValues(); - void modeDidChange(); - TodoReturn performSlideCheck(); - void placeStreakPoint(); - TodoReturn playBumpEffect(int, GameObject*); - TodoReturn playBurstEffect(); - TodoReturn playCompleteEffect(bool, bool); - void playDeathEffect(); - void playDynamicSpiderRun(); - void playerDestroyed(bool); - void playerIsFalling(float); - TodoReturn playerIsFallingBugged(); - TodoReturn playerIsMovingUp(); - TodoReturn playerTeleported(); - TodoReturn playingEndEffect(); - TodoReturn playSpawnEffect(); - void playSpiderDashEffect(cocos2d::CCPoint, cocos2d::CCPoint); - void postCollision(float); - TodoReturn preCollision(); - TodoReturn preSlopeCollision(float, GameObject*); - void propellPlayer(float, bool, int); - void pushButton(PlayerButton); - TodoReturn pushDown(); - void pushPlayer(float); - TodoReturn redirectDash(float); - TodoReturn redirectPlayerForce(float, float, float, float); - TodoReturn releaseAllButtons(); - void releaseButton(PlayerButton); - TodoReturn removeAllParticles(); - void removePendingCheckpoint(); - TodoReturn removePlacedCheckpoint(); - TodoReturn resetAllParticles(); - TodoReturn resetCollisionLog(bool); - TodoReturn resetCollisionValues(); - void resetPlayerIcon(); - TodoReturn resetStateVariables(); - void resetStreak(); - TodoReturn resetTouchedRings(bool); - TodoReturn reverseMod(); - void reversePlayer(EffectGameObject*); - void ringJump(RingObject*, bool); - void rotateGameplay(int, int, bool, float, float, bool, bool); - TodoReturn rotateGameplayObject(GameObject*); - TodoReturn rotateGameplayOnly(bool); - TodoReturn rotatePreSlopeObjects(); - void runBallRotation(float); - void runBallRotation2(); - void runNormalRotation() { - this->runNormalRotation(false, 1.0f); - } - void runNormalRotation(bool, float); - void runRotateAction(bool, int); - TodoReturn saveToCheckpoint(PlayerCheckpoint*); - void setSecondColor(cocos2d::ccColor3B const&); - void setupStreak(); - void setYVelocity(double, int); - TodoReturn spawnCircle(); - TodoReturn spawnCircle2(); - TodoReturn spawnDualCircle(); - TodoReturn spawnFromPlayer(PlayerObject*, bool); - TodoReturn spawnPortalCircle(cocos2d::ccColor3B, float); - TodoReturn spawnScaleCircle(); - TodoReturn specialGroundHit(); - TodoReturn speedDown(); - TodoReturn speedUp(); - void spiderTestJump(bool); - void spiderTestJumpInternal(bool); - void spiderTestJumpX(bool); - void spiderTestJumpY(bool); - void startDashing(DashRingObject*); - TodoReturn stopBurstEffect(); - void stopDashing(); - TodoReturn stopParticles(); - void stopPlatformerJumpAnimation(); - TodoReturn stopRotation(bool, int); - TodoReturn stopStreak2(); - TodoReturn storeCollision(PlayerCollisionDirection, int); - TodoReturn switchedDirTo(PlayerButton); - void switchedToMode(GameObjectType); - TodoReturn testForMoving(float, GameObject*); - void toggleBirdMode(bool, bool); - void toggleDartMode(bool, bool); - void toggleFlyMode(bool, bool); - void toggleGhostEffect(GhostType); - void togglePlatformerMode(bool val) { - m_isPlatformer = val; - } - void togglePlayerScale(bool, bool); - void toggleRobotMode(bool, bool); - void toggleRollMode(bool, bool); - void toggleSpiderMode(bool, bool); - void toggleSwingMode(bool, bool); - void toggleVisibility(bool); - TodoReturn touchedObject(GameObject*); - void tryPlaceCheckpoint(); - TodoReturn unrotateGameplayObject(GameObject*); - TodoReturn unrotatePreSlopeObjects(); - void updateCheckpointMode(bool); - void updateCheckpointTest(); - void updateCollide(PlayerCollisionDirection, GameObject*); - void updateCollideBottom(float, GameObject*); - void updateCollideLeft(float, GameObject*); - void updateCollideRight(float, GameObject*); - void updateCollideTop(float, GameObject*); - void updateDashAnimation(); - void updateDashArt(); - void updateEffects(float); - void updateGlowColor(); - void updateInternalActions(float); - void updateJump(float); - void updateJumpVariables(); - void updateLastGroundObject(GameObject*); - void updateMove(float); - void updatePlayerArt(); - void updatePlayerBirdFrame(int); - void updatePlayerDartFrame(int); - void updatePlayerForce(cocos2d::CCPoint, bool); - void updatePlayerFrame(int); - void updatePlayerGlow(); - void updatePlayerJetpackFrame(int); - void updatePlayerRobotFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x43) id = 0x44; - - createRobot(id); - } - void updatePlayerRollFrame(int); - void updatePlayerScale(); - void updatePlayerShipFrame(int); - void updatePlayerSpiderFrame(int id) { - if (id < 1) id = 1; - else if (id > 0x44) id = 0x45; - - createSpider(id); - } - - void updatePlayerSpriteExtra(gd::string); - void updatePlayerSwingFrame(int); - void updateRobotAnimationSpeed(); - void updateRotation(float, float); - void updateRotation(float); - void updateShipRotation(float); - void updateShipSpriteExtra(gd::string); - void updateSlopeRotation(float); - void updateSlopeYVelocity(float); - void updateSpecial(float); - void updateStateVariables(); - void updateStaticForce(float, float, bool); - void updateStreakBlend(bool); - void updateStreaks(float); - void updateSwingFire(); - void updateTimeMod(float, bool); - TodoReturn usingWallLimitedMode(); - TodoReturn yStartDown(); - TodoReturn yStartUp(); - - virtual void update(float); - virtual void setScaleX(float); - virtual void setScaleY(float); - virtual void setScale(float); - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setVisible(bool); - virtual void setRotation(float); - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - virtual void setFlipX(bool); - virtual void setFlipY(bool); - virtual void resetObject(); - virtual cocos2d::CCPoint getRealPosition(); - virtual TodoReturn getOrientedBox(); - virtual TodoReturn getObjectRotation(); - virtual void animationFinished(char const*); - - cocos2d::CCNode* m_mainLayer; - PAD = win 0x44, android32 0x44, android64 0x48; - cocos2d::CCNode* m_unk4e4; - cocos2d::CCDictionary* m_unk4e8; - cocos2d::CCDictionary* m_unk4ec; - cocos2d::CCDictionary* m_unk4f0; - cocos2d::CCDictionary* m_unk4f4; - PAD = win 0x20, android32 0x20, android64 0x20; - float m_unk518; - bool m_unk51c; - bool m_unk51d; - bool m_unk51e; - bool m_unk51f; - PAD = win 0x4, android32 0x4, android64 0x4; - GameObject* m_collidedObject; - PAD = win 0x40, android32 0x40, android64 0x50; - float m_unk568; - cocos2d::CCSprite* m_unk56c; - PAD = win 0x4, android32 0x4, android64 0x4; - GameObject* m_unk574; - GameObject* m_unk578; - PAD = win 0x8, android32 0x8, android64 0x0; - float unk_584; - int unk_588; // seems to always be 0, but when you respawn it's -1 until you move at least 1 block from the respawn place - PAD = win 0x4, android32 0x4, android64 0x4; - cocos2d::CCArray* m_particleSystems; - gd::unordered_map m_unk594; // insertions are in PlayerObject::rotateGameplayObject - gd::unordered_map m_unk5b4; - float m_unk5d4; - float m_rotationSpeed; - float m_unk5dc; - bool m_isRotating; - bool m_unk5e1; - bool m_hasGlow; - bool m_isHidden; - int m_hasGhostTrail; - GhostTrailEffect* m_ghostTrail; - cocos2d::CCSprite* m_iconSprite; - cocos2d::CCSprite* m_iconSpriteSecondary; - cocos2d::CCSprite* m_iconSpriteWhitener; - cocos2d::CCSprite* m_iconGlow; - cocos2d::CCSprite* m_vehicleSprite; - cocos2d::CCSprite* m_vehicleSpriteSecondary; - cocos2d::CCSprite* m_unk604; - cocos2d::CCSprite* m_vehicleSpriteWhitener; - cocos2d::CCSprite* m_vehicleGlow; - PlayerFireBoostSprite* m_swingFireMiddle; - PlayerFireBoostSprite* m_swingFireBottom; - PlayerFireBoostSprite* m_swingFireTop; - cocos2d::CCSprite* m_unk61c; - cocos2d::CCMotionStreak* m_regularTrail; - PAD = win 0x4, android32 0x4, android64 0x8; - HardStreak* m_waveTrail; - float m_unk62c; - PAD = win 0x14, android32 0x14, android64 0x14; - float m_unk644; - float m_unk648; - PAD = win 0xc, android32 0xc, android64 0xc; - bool m_unk658; - bool m_unk659; - bool m_unk65a; - bool m_unk65b; // midair ?? - bool m_unk65c; // something to do with spider, when false the spider tp animation does not play - bool m_unk65d; // walking ??? - bool m_unk65e; - bool m_unk65f; - PAD = win 0x28, android32 0x28, android64 0x28; - float m_unk688; - float m_unk68c; - PAD = win 0x12, android32 0x12, android64 0x12; - bool m_unk6a2; // = GameManager::getGameVariable("0096") - bool m_unk6a3; // = GameManager::getGameVariable("0100") - PAD = win 0x18, android32 0x18, android64 0x18; - gd::unordered_set m_unk6a4; - GameObject* m_objectSnappedTo; - int m_unk6c0; - PAD = win 0x4, android32 0x4, android64 0xc; // android64 unsure - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - PAD = win 0x4, android32 0x4, android64 0x8; - cocos2d::CCParticleSystemQuad* m_unk6dc; - cocos2d::CCParticleSystemQuad* m_trailingParticles; - cocos2d::CCParticleSystemQuad* m_shipClickParticles; - cocos2d::CCParticleSystemQuad* m_unk6e8; - cocos2d::CCParticleSystemQuad* m_ufoClickParticles; - cocos2d::CCParticleSystemQuad* m_robotBurstParticles; - cocos2d::CCParticleSystemQuad* m_unk6f4; - cocos2d::CCParticleSystemQuad* m_swingBurstParticles1; - cocos2d::CCParticleSystemQuad* m_swingBurstParticles2; - PAD = win 0x4, android32 0x4, android64 0x4; - cocos2d::CCParticleSystemQuad* m_unk704; - cocos2d::CCParticleSystemQuad* m_unk708; - float m_unk70c; - float m_unk710; - PAD = android32 0x60, android64 0x60; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x1c, android32 0x20, android64 0x20; - double m_yVelocity; - bool m_isOnSlope; - bool m_wasOnSlope; - PAD = win 0x7, android32 0x7, android64 0x7; - bool m_isShip; - bool m_isBird; - bool m_isBall; - bool m_isDart; - bool m_isRobot; - bool m_isSpider; - bool m_isUpsideDown; - bool m_isDead; - bool m_isOnGround; - bool m_isGoingLeft; - bool m_isSideways; - bool m_isSwing; - PAD = win 0x10, android32 0x10, android64 0x10; - float m_unk7c8; - float m_unk7cc; // unsure if float - float m_unk7d0; - bool m_isDashing; - PAD = win 0x8, android32 0x8, android64 0x8; - float m_vehicleSize; - float m_playerSpeed; - float m_unk7e0; - float m_unk7e4; - cocos2d::CCPoint m_unk7e8; - cocos2d::CCPoint m_unk7f0; // maybe m_lastPortalPos - bool m_unk7f8; - PAD = win 0x18, android32 0x18, android64 0x1c; - cocos2d::CCPoint m_lastGroundedPos; - cocos2d::CCArray* m_touchingRings; - gd::unordered_set m_unk828; - GameObject* m_lastActivatedPortal; - bool m_unk814; - bool m_unk815; - cocos2d::ccColor3B m_playerColor1; - cocos2d::ccColor3B m_playerColor2; - cocos2d::CCPoint m_position; - PAD = win 0x14, android32 0x20, android64 0x20; // android64 unverified - bool m_gamevar0060; // used in init - bool m_gamevar0061; - bool m_gamevar0062; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::vector m_unk880; - float m_unk838; - PAD = android32 0x18, android64 0x18; - double m_platformerXVelocity; - PAD = android32 0x70, android64 0x70; - bool m_isPlatformer; - int m_unk8ec; - int m_unk8f0; - int m_unk8f4; - int m_unk8f8; - float m_gravityMod; - PAD = win 0x4, android32 0x4, android64 0x4; - cocos2d::CCPoint m_unk904; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::map m_unk910; - float m_unk918; // increments whenever you're midiar? - float m_unk91c; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::map m_unk924; - PAD = win 0x4, android32 0x4, android64 0x4; - gd::string m_unk930; // this is always "run" ??? - bool m_unk948; // = getGameVariable("0123") - PAD = win 0x3, android32 0x3, android64 0x3; - int m_iconRequestID; - cocos2d::CCSpriteBatchNode* m_unk950; - cocos2d::CCSpriteBatchNode* m_unk954; - cocos2d::CCArray* m_unk958; - PlayerFireBoostSprite* m_robotFire; - PAD = win 0x4, android32 0x4, android64 0x8; - GJBaseGameLayer* m_gameLayer; - cocos2d::CCLayer* m_parentLayer; - GJActionManager* m_actionManager; - PAD = win 0x4, android32 0x4, android64 0x4; - float m_unk974; - bool m_unk978; - bool m_unk979; // = isItemEnabled(0xc, 0x12); - bool m_unk97a; // = isItemEnabled(0xc, 0x13); - bool m_unk97b; // = isItemEnabled(0xc, 0x14); - PAD = win 0x4, android32 0x4, android64 0x4; -} - -[[link(android)]] -class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, DialogDelegate { - // virtual ~PlayLayer(); - - static PlayLayer* create(GJGameLevel* level, bool useReplay, bool dontCreateObjects); - static PlayLayer* get() { - return GameManager::get()->m_playLayer; - } - - void addCircle(CCCircleWave* cw) { - m_circleWaveArray->addObject(cw); - } - void addObject(GameObject*); - void addToGroupOld(GameObject*); - TodoReturn applyCustomEnterEffect(GameObject*, bool); - TodoReturn applyEnterEffect(GameObject*, int, bool); - bool canPauseGame(); - TodoReturn checkpointWithID(int); - TodoReturn colorObject(int, cocos2d::ccColor3B); - TodoReturn commitJumps(); - TodoReturn compareStateSnapshot(); - CheckpointObject* createCheckpoint(); - void createObjectsFromSetupFinished(); - void delayedFullReset(); - void delayedResetLevel(); - void fullReset(); - float getCurrentPercent(); - int getCurrentPercentInt(); - TodoReturn getEndPosition(); - TodoReturn getLastCheckpoint(); - TodoReturn getRelativeMod(cocos2d::CCPoint, float, float, float); - TodoReturn getRelativeModNew(cocos2d::CCPoint, float, float, bool, bool); - TodoReturn getTempMilliTime(); - TodoReturn gravityEffectFinished(); - void incrementJumps(); - bool init(GJGameLevel* level, bool useReplay, bool dontCreateObjects); - bool isGameplayActive(); - void levelComplete(); - TodoReturn loadActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn loadDefaultColors(); - TodoReturn loadDynamicSaveObjects(gd::vector&); - void loadFromCheckpoint(CheckpointObject*); - CheckpointObject* loadLastCheckpoint(); - TodoReturn markCheckpoint(); - void onQuit(); - TodoReturn optimizeColorGroups(); - TodoReturn optimizeOpacityGroups(); - void pauseGame(bool); - void playEndAnimationToPos(cocos2d::CCPoint); - void playPlatformerEndAnimationToPos(cocos2d::CCPoint, bool); - TodoReturn playReplay(gd::string); - void prepareCreateObjectsFromSetup(gd::string&); - void prepareMusic(bool); - void processCreateObjectsFromSetup(); - TodoReturn processLoadedMoveActions(); - void queueCheckpoint(); - void removeAllObjects(); - void removeCheckpoint(bool); - void removeFromGroupOld(GameObject*); - void resetLevel(); - void resetLevelFromStart(); - void resume(); - void resumeAndRestart(bool); - TodoReturn saveActiveSaveObjects(gd::vector&, gd::vector&); - TodoReturn saveDynamicSaveObjects(gd::vector&); - TodoReturn scanActiveSaveObjects(); - TodoReturn scanDynamicSaveObjects(); - static cocos2d::CCScene* scene(GJGameLevel*, bool, bool); - TodoReturn screenFlipObject(GameObject*); - void setDamageVerifiedIdx(int); - void setupHasCompleted(); - TodoReturn shouldBlend(int); - void showCompleteEffect(); - void showCompleteText(); - void showEndLayer(); - void showHint(); - void showNewBest(bool, int, int, bool, bool, bool); - void showRetryLayer(); - void showTwoPlayerGuide(); - TodoReturn spawnCircle(); - TodoReturn spawnFirework(); - void startGame(); - void startGameDelayed(); - void startMusic(); - TodoReturn startRecording(); - TodoReturn startRecordingDelayed(); - TodoReturn stopRecording(); - void storeCheckpoint(CheckpointObject*); - TodoReturn takeStateSnapshot(); - TodoReturn toggleBGEffectVisibility(bool); - TodoReturn toggleDebugDraw(bool); - TodoReturn toggleGhostEffect(int); - void togglePracticeMode(bool); - TodoReturn tryStartRecord(); - void updateAttempts(); - void updateEffectPositions(); - void updateInfoLabel(); - void updateInvisibleBlock(GameObject*, float, float, float, float, cocos2d::ccColor3B const&); - void updateProgressbar(); - void updateScreenRotation(int, bool, bool, float, int, float, int, int); - void updateTimeWarp(EffectGameObject*, float); - - virtual void onEnterTransitionDidFinish(); - virtual void onExit(); - virtual void postUpdate(float); - virtual TodoReturn checkForEnd(); - virtual TodoReturn testTime(); - virtual TodoReturn updateVerifyDamage(); - virtual TodoReturn updateAttemptTime(float); - virtual void updateVisibility(float); - virtual TodoReturn opacityForObject(GameObject*); - virtual void updateColor(cocos2d::ccColor3B&, float, int, bool, float, cocos2d::ccHSVValue&, int, bool, EffectGameObject*, int, int); - virtual TodoReturn activateEndTrigger(int, bool, bool); - virtual void activatePlatformerEndTrigger(EndTriggerGameObject*, gd::vector const&); - virtual TodoReturn toggleGlitter(bool); - virtual void destroyPlayer(PlayerObject*, GameObject*); - virtual TodoReturn toggleGroundVisibility(bool); - virtual TodoReturn toggleMGVisibility(bool); - virtual TodoReturn toggleHideAttempts(bool); - virtual float timeForPos(cocos2d::CCPoint, int, int, bool, int); - virtual float posForTime(float); - virtual void resetSPTriggered(); - virtual void updateTimeWarp(float); - virtual TodoReturn playGravityEffect(bool); - virtual TodoReturn manualUpdateObjectColors(GameObject*); - virtual void checkpointActivated(CheckpointGameObject*); - virtual TodoReturn flipArt(bool); - virtual void updateTimeLabel(int, int, bool); - virtual TodoReturn checkSnapshot(); - virtual void toggleProgressbar(); - virtual void toggleInfoLabel(); - virtual void removeAllCheckpoints(); - virtual void toggleMusicInPractice(); - virtual void currencyWillExit(CurrencyRewardLayer*); - virtual void circleWaveWillBeRemoved(CCCircleWave*); - virtual void dialogClosed(DialogLayer*); - - PAD = android32 0x24, android64 0x2c; - cocos2d::CCArray* m_coinArray; - PAD = android32 0x84, android64 0xc8; - cocos2d::CCArray* m_circleWaveArray; - PAD = android32 0x10, android64 0x18; - cocos2d::CCLabelBMFont* m_attemptLabel; - PAD = android32 0x8, android64 0x10; - cocos2d::CCSprite* m_progressBar; - PAD = android32 0xD4, android64 0x108; - cocos2d::CCDictionary* m_colorKeyDict; - gd::vector m_keyColors; // type not really accurate - gd::vector m_keyOpacities; // type not really accurate - gd::vector m_keyPulses; // type not really accurate - int m_nextColorKey; - PAD = android32 0x18, android64 0x24; -} - -[[link(android)]] -class PointNode : cocos2d::CCObject { - // virtual ~PointNode(); - - static PointNode* create(cocos2d::CCPoint); - - bool init(cocos2d::CCPoint); -} - -[[link(android)]] -class PriceLabel : cocos2d::CCNode { - // virtual ~PriceLabel(); - - static PriceLabel* create(int); - - bool init(int); - void setColor(cocos2d::ccColor3B); - void setOpacity(float); - void setPrice(int); -} - -[[link(android)]] -class ProfilePage : FLAlertLayer, FLAlertLayerProtocol, LevelCommentDelegate, CommentUploadDelegate, UserInfoDelegate, UploadActionDelegate, UploadPopupDelegate, LeaderboardManagerDelegate { - // virtual ~ProfilePage(); - - static ProfilePage* create(int accountID, bool ownProfile) = ios 0x19d408; - - void blockUser(); - bool init(int accountID, bool ownProfile); - bool isCorrect(char const*); - bool isOnWatchlist(int); - void loadPage(int); - void loadPageFromUserInfo(GJUserScore*); - void onBlockUser(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onComment(cocos2d::CCObject* sender); - void onCommentHistory(cocos2d::CCObject* sender); - void onFollow(cocos2d::CCObject* sender); - void onFriend(cocos2d::CCObject* sender); - void onFriends(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onMessages(cocos2d::CCObject* sender); - void onMyLevels(cocos2d::CCObject* sender); - void onMyLists(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - void onRequests(cocos2d::CCObject* sender); - void onSendMessage(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onStatInfo(cocos2d::CCObject* sender); - void onTwitch(cocos2d::CCObject* sender); - void onTwitter(cocos2d::CCObject* sender); - void onUpdate(cocos2d::CCObject* sender); - void onYouTube(cocos2d::CCObject* sender); - TodoReturn setupComments(); - void setupCommentsBrowser(cocos2d::CCArray*); - void showNoAccountError(); - TodoReturn toggleMainPageVisibility(bool); - TodoReturn toggleShip(cocos2d::CCObject*); - TodoReturn updateLevelsLabel(); - TodoReturn updatePageArrows(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show() = ios 0x2b4cf0; - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void updateUserScoreFinished(); - virtual void updateUserScoreFailed(); - virtual void getUserInfoFinished(GJUserScore*) = ios 0x1a24a0; - virtual void getUserInfoFailed(int); - virtual void userInfoChanged(GJUserScore*); - virtual void loadCommentsFinished(cocos2d::CCArray*, char const*); - virtual void loadCommentsFailed(char const*); - virtual void setupPageInfo(gd::string, char const*); - virtual void commentUploadFinished(int); - virtual void commentUploadFailed(int, CommentError); - virtual void commentDeleteFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - - GJUserScore* m_score; - int m_accountID; - bool m_ownProfile; - gd::string m_profileKey; - cocos2d::CCLabelBMFont* m_somethingWentWrong; - cocos2d::CCLabelBMFont* m_usernameLabel; - GJCommentListLayer* m_list; - CCMenuItemSpriteExtra* m_rightArrow; - CCMenuItemSpriteExtra* m_leftArrow; - CCMenuItemSpriteExtra* m_followBtn; - void* m_unk; - cocos2d::CCArray* m_buttons; - cocos2d::CCArray* m_arrayWithUsernameLabel; - int m_itemCount; - int m_pageStartIdx; - int m_pageEndIdx; - int m_page; - LoadingCircle* m_circle; - void* m_popupDelegate; - CCMenuItemSpriteExtra* m_refreshBtn; -} - -[[link(android)]] -class PromoInterstitial : FLAlertLayer { - // virtual ~PromoInterstitial(); - - static PromoInterstitial* create(bool); - - bool init(bool); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn setup(); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class PulseEffectAction { - bool isFinished(); - TodoReturn step(float); - TodoReturn valueForDelta(float, float, float, float); -} - -[[link(android)]] -class PurchaseItemPopup : FLAlertLayer { - // virtual ~PurchaseItemPopup(); - - static PurchaseItemPopup* create(GJStoreItem*); - - bool init(GJStoreItem*); - void onClose(cocos2d::CCObject* sender); - void onPurchase(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RandTriggerGameObject : ChanceTriggerGameObject { - // virtual ~RandTriggerGameObject(); - - static RandTriggerGameObject* create(); - - int getRandomGroupID(); - int getTotalChance(); - - virtual bool init(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class RateDemonLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateDemonLayer(); - - static RateDemonLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - - PAD = win 0x12; - int m_demonRate; -} - -[[link(android)]] -class RateLevelDelegate { - virtual void rateLevelClosed() {} -} - -[[link(android)]] -class RateLevelLayer : FLAlertLayer { - // virtual ~RateLevelLayer(); - - static RateLevelLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class RateStarsLayer : FLAlertLayer, UploadPopupDelegate, UploadActionDelegate { - // virtual ~RateStarsLayer(); - - static RateStarsLayer* create(int, bool, bool); - - TodoReturn getStarsButton(int, cocos2d::SEL_MenuHandler, cocos2d::CCMenu*, float); - bool init(int, bool, bool); - void onClose(cocos2d::CCObject* sender); - void onFeature(cocos2d::CCObject* sender); - void onRate(cocos2d::CCObject* sender); - void onToggleCoins(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - - virtual void keyBackClicked(); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - PAD = win 0x10; - int m_starsRate; -} - -[[link(android)]] -class RetryLevelLayer : GJDropDownLayer, RewardedVideoDelegate { - // virtual ~RetryLevelLayer(); - - static RetryLevelLayer* create(); - - TodoReturn getEndText(); - void onEveryplay(cocos2d::CCObject* sender); - void onMenu(cocos2d::CCObject* sender); - void onReplay(cocos2d::CCObject* sender); - void onRewardedVideo(cocos2d::CCObject* sender); - TodoReturn setupLastProgress(); - - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void customSetup(); - virtual void showLayer(bool); - virtual void enterAnimFinished(); - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); - virtual void keyUp(cocos2d::enumKeyCodes) {} -} - -[[link(android)]] -class RewardedVideoDelegate { - virtual TodoReturn rewardedVideoFinished(); - virtual TodoReturn shouldOffsetRewardCurrency(); -} - -[[link(android)]] -class RewardsPage : FLAlertLayer, FLAlertLayerProtocol, GJRewardDelegate { - // virtual ~RewardsPage(); - - static RewardsPage* create(); - - static char const* getRewardFrame(int, int); - void onClose(cocos2d::CCObject* sender); - void onFreeStuff(cocos2d::CCObject* sender); - void onReward(cocos2d::CCObject* sender); - TodoReturn tryGetRewards(); - TodoReturn unlockLayerClosed(RewardUnlockLayer*); - callback void updateTimers(float); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void rewardsStatusFinished(int); - virtual void rewardsStatusFailed(); - - cocos2d::CCLabelBMFont* m_leftLabel; - cocos2d::CCLabelBMFont* m_rightLabel; - CCMenuItemSpriteExtra* m_leftChest; - CCMenuItemSpriteExtra* m_rightChest; - bool m_leftOpen; - bool m_rightOpen; - cocos2d::CCNode* m_openLayer; -} - -[[link(android)]] -class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate { - // virtual ~RewardUnlockLayer(); - - static RewardUnlockLayer* create(int, RewardsPage*); - - TodoReturn connectionTimeout(); - bool init(int, RewardsPage*); - TodoReturn labelEnterFinishedO(cocos2d::CCObject*); - void onClose(cocos2d::CCObject* sender); - TodoReturn playDropSound(); - TodoReturn playLabelEffect(int, int, cocos2d::CCSprite*, cocos2d::CCPoint, float); - TodoReturn playRewardEffect(); - TodoReturn readyToCollect(GJRewardItem*); - void showCloseButton(); - void showCollectReward(GJRewardItem*); - TodoReturn step2(); - TodoReturn step3(); - - virtual void keyBackClicked() {} - virtual void currencyWillExit(CurrencyRewardLayer*); -} - -[[link(android)]] -class RingObject : EffectGameObject { - // virtual ~RingObject(); - - static RingObject* create(char const*); - - bool init(char const*); - TodoReturn spawnCircle(); - - virtual void setScale(float); - virtual void setRotation(float); - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void setRScale(float); - virtual void triggerActivated(float); - virtual TodoReturn shouldDrawEditorHitbox(); - virtual TodoReturn powerOnObject(int); - - bool m_claimTouch; - // property 504 - bool m_isSpawnOnly; -} - -[[link(android)]] -class RotateGameplayGameObject : EffectGameObject { - // virtual ~RotateGameplayGameObject(); - - static RotateGameplayGameObject* create(); - - TodoReturn updateGameplayRotation(); - - virtual bool init(); - virtual TodoReturn updateStartValues(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ScrollingLayer : cocos2d::CCLayerColor { - // virtual ~ScrollingLayer(); - - static ScrollingLayer* create(cocos2d::CCSize, cocos2d::CCPoint, float); - - TodoReturn getViewRect(); - bool init(cocos2d::CCSize, cocos2d::CCPoint, float); - void setStartOffset(cocos2d::CCPoint); - - virtual void draw(); - virtual void visit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); -} - -[[link(android)]] -class SearchButton : cocos2d::CCSprite { - // virtual ~SearchButton(); - - static SearchButton* create(char const*, char const*, float, char const*); - - bool init(char const*, char const*, float, char const*); - - cocos2d::CCLabelBMFont* m_label; - cocos2d::CCSprite* m_icon; -} - -[[link(android)]] -class SearchSFXPopup : SetTextPopup { - // virtual ~SearchSFXPopup(); - - static SearchSFXPopup* create(gd::string); - - bool init(gd::string); - void onSearchFolders(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SecretLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SecretLayer(); - - static SecretLayer* create(); - - TodoReturn getBasicMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - static cocos2d::CCScene* scene(); - TodoReturn selectAThread(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*); - - virtual bool init(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} -} - -[[link(android)]] -class SecretLayer2 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer2(); - - static SecretLayer2* create() = win 0x305630; - - gd::string getBasicMessage(); - gd::string getErrorMessage(); - gd::string getMessage(); - gd::string getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onDoor(cocos2d::CCObject* sender); - void onSecretLevel(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - void playCoinEffect(); - static cocos2d::CCScene* scene(); - void selectAThread(); - void showCompletedLevel(); - void showSecretLevel(); - void updateMessageLabel(gd::string); - void updateSearchLabel(char const*); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer3 : cocos2d::CCLayer, DialogDelegate { - // virtual ~SecretLayer3(); - - static SecretLayer3* create(); - - TodoReturn animateEyes(); - TodoReturn firstInteractionStep1(); - TodoReturn firstInteractionStep2(); - TodoReturn firstInteractionStep3(); - TodoReturn firstInteractionStep4(); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onChest02(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - TodoReturn revealStep1(); - TodoReturn revealStep2(); - TodoReturn revealStep3(); - TodoReturn revealStep4(); - TodoReturn revealStep5(); - static cocos2d::CCScene* scene(); - void showUnlockDialog(); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual void dialogClosed(DialogLayer*); -} - -[[link(android)]] -class SecretLayer4 : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DialogDelegate { - // virtual ~SecretLayer4(); - - static SecretLayer4* create(); - - TodoReturn getBasicMessage(); - TodoReturn getErrorMessage(); - TodoReturn getMessage(); - TodoReturn getThreadMessage(); - TodoReturn nodeWithTag(int); - void onBack(cocos2d::CCObject* sender); - void onChest01(cocos2d::CCObject* sender); - void onSubmit(cocos2d::CCObject* sender); - TodoReturn playCoinEffect(); - static cocos2d::CCScene* scene(); - TodoReturn selectAThread(); - void showDialog(int); - void showFirstDialog(); - TodoReturn updateMessageLabel(gd::string); - void updateSearchLabel(char const*); - - virtual bool init(); - virtual void onExit(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool) {} - virtual void dialogClosed(DialogLayer*) {} -} - -[[link(android)]] -class SecretNumberLayer : cocos2d::CCLayer { - // virtual ~SecretNumberLayer(); - - static SecretNumberLayer* create(); - - TodoReturn playNumberEffect(int); - - virtual bool init(); -} - -[[link(android)]] -class SecretRewardsLayer : cocos2d::CCLayer, DialogDelegate, BoomScrollLayerDelegate { - // virtual ~SecretRewardsLayer(); - - static SecretRewardsLayer* create(bool); - - TodoReturn createSecondaryLayer(int); - TodoReturn generateChestItems(int); - TodoReturn getPageColor(int); - void goToPage(int); - bool init(bool); - TodoReturn moveToMainLayer(cocos2d::CCObject*); - TodoReturn moveToSecondaryLayer(int); - void onBack(cocos2d::CCObject* sender); - void onChestType(cocos2d::CCObject* sender); - void onSelectItem(cocos2d::CCObject* sender); - void onShop(cocos2d::CCObject* sender); - void onSpecialItem(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(bool); - void showDialog01(); - void showDialog03(); - void showDialogDiamond(); - void showDialogMechanic(); - void showLockedChest(); - void showShop(int); - TodoReturn switchToOpenedState(CCMenuItemSpriteExtra*); - TodoReturn updateBackButton(); - TodoReturn updateUnlockedLabel(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual void dialogClosed(DialogLayer*); - virtual void scrollLayerMoved(cocos2d::CCPoint); -} - -[[link(android)]] -class SelectArtDelegate { - virtual void selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SelectArtLayer : FLAlertLayer { - // virtual ~SelectArtLayer(); - - static SelectArtLayer* create(SelectArtType, int); - - bool init(SelectArtType, int); - void onClose(cocos2d::CCObject* sender); - void onSelectCustom(cocos2d::CCObject* sender); - TodoReturn selectArt(cocos2d::CCObject*); - TodoReturn updateSelectedCustom(int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectEventLayer : SetupTriggerPopup { - // virtual ~SelectEventLayer(); - - static SelectEventLayer* create(SetupEventLinkPopup*, gd::set&); - - TodoReturn addToggle(int, gd::string); - bool init(SetupEventLinkPopup*, gd::set&); - TodoReturn nextPosition(); - void onInfo(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SelectFontLayer : FLAlertLayer { - // virtual ~SelectFontLayer(); - - static SelectFontLayer* create(LevelEditorLayer*); - - bool init(LevelEditorLayer*); - void onChangeFont(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - TodoReturn updateFontLabel(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectListIconDelegate { - virtual TodoReturn iconSelectClosed(SelectListIconLayer*); -} - -[[link(android)]] -class SelectListIconLayer : FLAlertLayer { - // virtual ~SelectListIconLayer(); - - static SelectListIconLayer* create(int); - - bool init(int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectPremadeDelegate { - virtual void selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SelectPremadeLayer : FLAlertLayer { - // virtual ~SelectPremadeLayer(); - - static SelectPremadeLayer* create(); - - void onClose(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSettingDelegate { - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SelectSettingLayer : FLAlertLayer { - // virtual ~SelectSettingLayer(); - - static SelectSettingLayer* create(SelectSettingType, int); - - TodoReturn frameForItem(SelectSettingType, int); - TodoReturn frameForValue(SelectSettingType, int); - TodoReturn getSelectedFrame(); - TodoReturn getSelectedValue(); - TodoReturn idxToValue(SelectSettingType, int); - bool init(SelectSettingType, int); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - TodoReturn valueToIdx(SelectSettingType, int); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SelectSFXSortDelegate { - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); -} - -[[link(android)]] -class SelectSFXSortLayer : FLAlertLayer { - // virtual ~SelectSFXSortLayer(); - - static SelectSFXSortLayer* create(AudioSortType); - - bool init(AudioSortType); - void onClose(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SequenceTriggerGameObject : ChanceTriggerGameObject { - // virtual ~SequenceTriggerGameObject(); - - static SequenceTriggerGameObject* create(); - - void addCount(int, int); - void addTarget(int, int); - void deleteTarget(int); - int reorderTarget(int, bool); - TodoReturn updateSequenceTotalCount(); - - virtual bool init(); - virtual void resetObject(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SetColorIDPopup : SetIDPopup, GJSpecialColorSelectDelegate { - // virtual ~SetColorIDPopup(); - - static SetColorIDPopup* create(int); - - bool init(int); - void onSelectSpecialColor(cocos2d::CCObject* sender); - - virtual void colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetFolderPopup : SetIDPopup, SetTextPopupDelegate { - // virtual ~SetFolderPopup(); - - static SetFolderPopup* create(int, bool, gd::string); - - bool init(int, bool, gd::string); - void onSetFolderName(cocos2d::CCObject* sender); - - virtual void valueChanged(); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); -} - -[[link(android)]] -class SetGroupIDLayer : FLAlertLayer, TextInputDelegate { - // virtual ~SetGroupIDLayer(); - - static SetGroupIDLayer* create(GameObject* obj, cocos2d::CCArray* objs); - - TodoReturn addGroupID(int); - void callRemoveFromGroup(float); - TodoReturn createTextInput(cocos2d::CCPoint, int, int, gd::string, float, int); - TodoReturn determineStartValues(); - bool init(GameObject* obj, cocos2d::CCArray* objs); - void onAddGroup(cocos2d::CCObject* sender); - void onAddGroupParent(cocos2d::CCObject* sender); - void onAnim(cocos2d::CCObject* sender); - TodoReturn onArrow(int, int); - void onArrowLeft(cocos2d::CCObject* sender); - void onArrowRight(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCopy(cocos2d::CCObject* sender); - void onExtra(cocos2d::CCObject* sender); - void onExtra2(cocos2d::CCObject* sender); - void onNextFreeEditorLayer1(cocos2d::CCObject* sender); - void onNextFreeEditorLayer2(cocos2d::CCObject* sender); - void onNextFreeOrderChannel(cocos2d::CCObject* sender); - void onNextGroupID1(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void onSmoothEase(cocos2d::CCObject* sender); - void onToggleGuide(cocos2d::CCObject* sender); - void onToggleSelectedOrder(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - void onZLayerShift(cocos2d::CCObject* sender); - TodoReturn removeGroupID(int); - TodoReturn updateEditorLabel(); - TodoReturn updateEditorLabel2(); - TodoReturn updateEditorLayerID(); - TodoReturn updateEditorLayerID2(); - TodoReturn updateEditorOrder(); - TodoReturn updateEditorOrderLabel(); - TodoReturn updateGroupIDButtons(); - TodoReturn updateGroupIDLabel(); - TodoReturn updateOrderChannel(); - TodoReturn updateOrderChannelLabel(); - TodoReturn updateZLayerButtons(); - TodoReturn updateZOrder(); - TodoReturn updateZOrderLabel(); - - virtual void keyBackClicked(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - - GameObject* m_targetObject; - cocos2d::CCArray* m_targetObjects; - cocos2d::CCArray* m_array0; - cocos2d::CCArray* m_groupIDObjects; - CCTextInputNode* m_editorLayerInput; - CCTextInputNode* m_editorLayer2Input; - CCTextInputNode* m_zOrderInput; - CCTextInputNode* m_groupIDInput; - CCTextInputNode* m_orderInput; - CCTextInputNode* m_channelInput; - bool m_showChannelOrder; - int m_channelValue; - bool m_channelUpdated; - int m_groupIDValue; - int m_editorLayerValue; - int m_editorLayer2Value; - int m_zOrderValue; - ZLayer m_zLayerValue; - int m_orderValue; - bool m_channelOrderEdited; - bool m_editorLayerEdited; - bool m_removeGroupsLock; - int m_groupToRemove; - bool m_addedGroup; - bool m_unkBool0; - bool m_hasTargetObjects; -} - -[[link(android)]] -class SetIDPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetIDPopup(); - // SetIDPopup(); - - static SetIDPopup* create(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - - bool init(int, int, int, gd::string, gd::string, bool, int, float, bool, bool); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void valueChanged() {} - - CCTextInputNode* m_inputNode; - int m_value; - bool m_unkBool; - bool m_cancelled; - int m_minimum; - int m_maximum; - int m_default; - SetIDPopupDelegate* m_delegate; -} - -[[link(android)]] -class SetIDPopupDelegate { - virtual void setIDPopupClosed(SetIDPopup*, int) {} -} - -[[link(android)]] -class SetItemIDLayer : SetupTriggerPopup { - // virtual ~SetItemIDLayer(); - - static SetItemIDLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateEditorLabel(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetLevelOrderPopup : SetIDPopup { - // virtual ~SetLevelOrderPopup(); - - static SetLevelOrderPopup* create(int, int, int); - - bool init(int, int, int); - void onOrderButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetTargetIDLayer : SetupTriggerPopup { - // virtual ~SetTargetIDLayer(); - - static SetTargetIDLayer* create(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, gd::string, gd::string, int, int, int); - - virtual TodoReturn determineStartValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetTextPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetTextPopup(); - - static SetTextPopup* create(gd::string value, gd::string placeholder, int maxLength, gd::string title, gd::string okBtnText, bool showResetBtn, float); - - bool init(gd::string value, gd::string placeholder, int maxLength, gd::string title, gd::string okBtnText, bool showResetBtn, float); - void onCancel(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onResetValue(cocos2d::CCObject* sender); - TodoReturn updateTextInputLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - - CCTextInputNode* m_input; - bool m_disableDelegate; - gd::string m_value; - SetTextPopupDelegate* m_delegate; -} - -[[link(android)]] -class SetTextPopupDelegate { - virtual void setTextPopupClosed(SetTextPopup*, gd::string) {} -} - -[[link(android)]] -class SetupAdvFollowEditPhysicsPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowEditPhysicsPopup(); - - static SetupAdvFollowEditPhysicsPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupAdvFollowPopup : SetupTriggerPopup, SelectPremadeDelegate { - // virtual ~SetupAdvFollowPopup(); - - static SetupAdvFollowPopup* create(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowTriggerObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onPremade(cocos2d::CCObject* sender); - void updateMode(int); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); - virtual void selectPremadeClosed(SelectPremadeLayer*, int); -} - -[[link(android)]] -class SetupAdvFollowRetargetPopup : SetupTriggerPopup { - // virtual ~SetupAdvFollowRetargetPopup(); - - static SetupAdvFollowRetargetPopup* create(AdvancedFollowEditObject*, cocos2d::CCArray*); - - bool init(AdvancedFollowEditObject*, cocos2d::CCArray*); - - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupAnimationPopup : SetupTriggerPopup { - // virtual ~SetupAnimationPopup(); - - static SetupAnimationPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAnimationIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateAnimationID(); - TodoReturn updateAnimationTextInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupAnimSettingsPopup : SetupTriggerPopup { - // virtual ~SetupAnimSettingsPopup(); - - static SetupAnimSettingsPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateAnimSettings(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupAreaAnimTriggerPopup : SetupAreaTintTriggerPopup { - // virtual ~SetupAreaAnimTriggerPopup(); - - static SetupAreaAnimTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - TodoReturn createValueControlAdvancedAnim(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float min, float max, int, int, GJInputStyle); - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onDeactivateAnimValue(cocos2d::CCObject* sender); - TodoReturn updateTargetIDLabel(); - - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupAreaFadeTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaFadeTriggerPopup(); - - static SetupAreaFadeTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaMoveTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAreaMoveTriggerPopup(); - // SetupAreaMoveTriggerPopup(); - - static SetupAreaMoveTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - TodoReturn addAreaDefaultControls(int); - TodoReturn getModeValues(int, int&, bool&, bool&); - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onMode(cocos2d::CCObject* sender); - void onNextFreeEffectID(cocos2d::CCObject* sender); - void onSpecialTarget(cocos2d::CCObject* sender); - TodoReturn updateEnterTargetIDState(); - - virtual void updateInputValue(int, float&); - virtual void updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual void valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); -} - -[[link(android)]] -class SetupAreaRotateTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaRotateTriggerPopup(); - - static SetupAreaRotateTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTintTriggerPopup : SetupAreaMoveTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupAreaTintTriggerPopup(); - - static SetupAreaTintTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onHSV(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupAreaTransformTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTransformTriggerPopup(); - - static SetupAreaTransformTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupAreaTriggerPopup : SetupAreaMoveTriggerPopup { - // virtual ~SetupAreaTriggerPopup(); - - static SetupAreaTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupArtSwitchPopup : SetupTriggerPopup, SelectArtDelegate { - // virtual ~SetupArtSwitchPopup(); - - static SetupArtSwitchPopup* create(ArtTriggerGameObject*, cocos2d::CCArray*, int); - - bool init(ArtTriggerGameObject*, cocos2d::CCArray*, int); - void onArt(cocos2d::CCObject* sender); - - virtual void selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupAudioLineGuidePopup : SetupTriggerPopup, SelectSettingDelegate { - // virtual ~SetupAudioLineGuidePopup(); - - static SetupAudioLineGuidePopup* create(AudioLineGuideGameObject*, cocos2d::CCArray*); - - bool init(AudioLineGuideGameObject*, cocos2d::CCArray*); - void onSpeed(cocos2d::CCObject* sender); - - virtual TodoReturn selectSettingClosed(SelectSettingLayer*); -} - -[[link(android)]] -class SetupAudioTriggerPopup : SetupTriggerPopup { - // virtual ~SetupAudioTriggerPopup(); - - TodoReturn addProxVolControls(int); - TodoReturn addTimeControls(int, float); - void onProxMode(cocos2d::CCObject* sender); - TodoReturn updateSpecialGroup(); - - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupBGSpeedTrigger : SetupTriggerPopup { - // virtual ~SetupBGSpeedTrigger(); - - static SetupBGSpeedTrigger* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); -} - -[[link(android)]] -class SetupCameraEdgePopup : SetupTriggerPopup { - // virtual ~SetupCameraEdgePopup(); - - static SetupCameraEdgePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onCameraEdge(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onUnlockEdge(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCameraGuidePopup : SetupTriggerPopup { - // virtual ~SetupCameraGuidePopup(); - - static SetupCameraGuidePopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCameraModePopup : SetupTriggerPopup { - // virtual ~SetupCameraModePopup(); - - static SetupCameraModePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupCameraOffsetTrigger : SetupTriggerPopup { - // virtual ~SetupCameraOffsetTrigger(); - - static SetupCameraOffsetTrigger* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - void onTargetMode(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderXChanged(cocos2d::CCObject*); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosX(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueXLabel(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup(); - - static SetupCameraRotatePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderDegreesChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateCommandDegrees(); - TodoReturn updateDegreesLabel(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupCameraRotatePopup2 : SetupTriggerPopup { - // virtual ~SetupCameraRotatePopup2(); - - static SetupCameraRotatePopup2* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCheckpointPopup : SetupTriggerPopup { - // virtual ~SetupCheckpointPopup(); - - static SetupCheckpointPopup* create(CheckpointGameObject*, cocos2d::CCArray*); - - bool init(CheckpointGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCoinLayer : SetupTriggerPopup { - // virtual ~SetupCoinLayer(); - - static SetupCoinLayer* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup { - // virtual ~SetupCollisionStateTriggerPopup(); - - static SetupCollisionStateTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCollisionTriggerPopup(); - - static SetupCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onActivateOnExit(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemID2Arrow(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTargetP1(cocos2d::CCObject* sender); - void onTargetP2(cocos2d::CCObject* sender); - void onTargetPP(cocos2d::CCObject* sender); - TodoReturn updateItemID(); - TodoReturn updateItemID2(); - TodoReturn updateItemID2InputLabel(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupCountTriggerPopup : SetupTriggerPopup { - // virtual ~SetupCountTriggerPopup(); - - static SetupCountTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEnableGroup(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupDashRingPopup : SetupTriggerPopup { - // virtual ~SetupDashRingPopup(); - - static SetupDashRingPopup* create(DashRingObject*, cocos2d::CCArray*); - - bool init(DashRingObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupEndPopup : SetupTriggerPopup { - // virtual ~SetupEndPopup(); - - static SetupEndPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onLockY(cocos2d::CCObject* sender); - void onMultiActivate(cocos2d::CCObject* sender); - void onReversed(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupEnterEffectPopup : SetupTriggerPopup, HSVWidgetDelegate { - // virtual ~SetupEnterEffectPopup(); - - static SetupEnterEffectPopup* create(EnterEffectObject*, cocos2d::CCArray*, int); - - bool init(EnterEffectObject*, cocos2d::CCArray*, int); - void onEnterType(cocos2d::CCObject* sender); - void onHSV(cocos2d::CCObject* sender); - void onNextFreeEnterChannel(cocos2d::CCObject* sender); - void onNextFreeEnterEffectID(cocos2d::CCObject* sender); - TodoReturn updateHSVButton(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual void valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void hsvPopupClosed(HSVWidgetPopup*, cocos2d::ccHSVValue); -} - -[[link(android)]] -class SetupEnterTriggerPopup : SetupTriggerPopup { - // virtual ~SetupEnterTriggerPopup(); - - static SetupEnterTriggerPopup* create(EnterEffectObject*, cocos2d::CCArray*); - - bool init(EnterEffectObject*, cocos2d::CCArray*); - void onEnterType(cocos2d::CCObject* sender); - - virtual TodoReturn determineStartValues(); -} - -[[link(android)]] -class SetupEventLinkPopup : SetupTriggerPopup { - // virtual ~SetupEventLinkPopup(); - - static SetupEventLinkPopup* create(EventLinkTrigger*, cocos2d::CCArray*); - - bool init(EventLinkTrigger*, cocos2d::CCArray*); - void onSelectEvent(cocos2d::CCObject* sender); - TodoReturn updateEventIDs(gd::set&); -} - -[[link(android)]] -class SetupForceBlockPopup : SetupTriggerPopup { - // virtual ~SetupForceBlockPopup(); - - static SetupForceBlockPopup* create(ForceBlockGameObject*, cocos2d::CCArray*); - - bool init(ForceBlockGameObject*, cocos2d::CCArray*); - - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupGameplayOffsetPopup : SetupTriggerPopup { - // virtual ~SetupGameplayOffsetPopup(); - - static SetupGameplayOffsetPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onDefaultValues(cocos2d::CCObject* sender); - - virtual void updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupGradientPopup : SetupTriggerPopup { - // virtual ~SetupGradientPopup(); - - static SetupGradientPopup* create(GradientTriggerObject*, cocos2d::CCArray*); - - bool init(GradientTriggerObject*, cocos2d::CCArray*); - void onBlending(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateBlending(); - TodoReturn updateBlendingLabel(); - TodoReturn updateGradientLabels(bool); - TodoReturn updateZLayerButtons(); - - virtual TodoReturn determineStartValues(); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual TodoReturn updateToggleItem(int, bool); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupGravityModPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupGravityModPopup(); - - static SetupGravityModPopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - void onClose(cocos2d::CCObject* sender); - void onItemIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateItemID(); - TodoReturn updateTextInputLabel(); - TodoReturn updateValue(); - TodoReturn updateValueLabel(); - - virtual void keyBackClicked(); - virtual void show(); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupGravityTriggerPopup : SetupTriggerPopup { - // virtual ~SetupGravityTriggerPopup(); - - static SetupGravityTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCollisionTriggerPopup : SetupTriggerPopup { - // virtual ~SetupInstantCollisionTriggerPopup(); - - static SetupInstantCollisionTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateSpecialNodes(); - - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupInstantCountPopup : SetupTriggerPopup { - // virtual ~SetupInstantCountPopup(); - - static SetupInstantCountPopup* create(CountTriggerGameObject*, cocos2d::CCArray*); - - bool init(CountTriggerGameObject*, cocos2d::CCArray*); - void onCountType(cocos2d::CCObject* sender); - void onEnableGroup(cocos2d::CCObject* sender); - void onTargetCountArrow(cocos2d::CCObject* sender); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn updateCountTextInputLabel(); - TodoReturn updateItemID(); - TodoReturn updateItemIDInputLabel(); - TodoReturn updateTargetCount(); - TodoReturn updateTargetID(); - TodoReturn updateTargetIDInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupInteractObjectPopup : SetupTriggerPopup { - // virtual ~SetupInteractObjectPopup(); - - static SetupInteractObjectPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateItems(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupItemCompareTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemCompareTriggerPopup(); - - static SetupItemCompareTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupItemEditTriggerPopup : SetupTriggerPopup { - // virtual ~SetupItemEditTriggerPopup(); - - static SetupItemEditTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); - void onOpButton(cocos2d::CCObject* sender); - TodoReturn updateFormulaLabel(); - TodoReturn updateOpButton(CCMenuItemSpriteExtra*, int, int); - - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupKeyframeAnimPopup : SetupTriggerPopup { - // virtual ~SetupKeyframeAnimPopup(); - - static SetupKeyframeAnimPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupKeyframePopup : SetupTriggerPopup { - // virtual ~SetupKeyframePopup(); - - static SetupKeyframePopup* create(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - - bool init(KeyframeGameObject*, cocos2d::CCArray*, LevelEditorLayer*); - void onTimeMode(cocos2d::CCObject* sender); - TodoReturn refreshPreviewArt(); - TodoReturn updateTimeModeButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomButton(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupMGTrigger : SetupTriggerPopup { - // virtual ~SetupMGTrigger(); - - static SetupMGTrigger* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onEasing(cocos2d::CCObject* sender); - void onEasingRate(cocos2d::CCObject* sender); - TodoReturn posFromSliderValue(float); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn sliderValueFromPos(int); - TodoReturn sliderYChanged(cocos2d::CCObject*); - TodoReturn toggleEasingRateVisibility(); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateEasingLabel(); - TodoReturn updateEasingRateLabel(); - TodoReturn updateMoveCommandEasing(); - TodoReturn updateMoveCommandEasingRate(); - TodoReturn updateMoveCommandPosY(); - TodoReturn updateValueYLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); -} - -[[link(android)]] -class SetupMoveCommandPopup : SetupTriggerPopup { - // virtual ~SetupMoveCommandPopup(); - - static SetupMoveCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateControlVisibility(); - - virtual void updateInputValue(int, float&); - virtual TodoReturn updateInputNode(int, float); - virtual void valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectControlPopup : SetupTriggerPopup { - // virtual ~SetupObjectControlPopup(); - - static SetupObjectControlPopup* create(ObjectControlGameObject*, cocos2d::CCArray*); - - bool init(ObjectControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupObjectOptions2Popup : SetupTriggerPopup { - // virtual ~SetupObjectOptions2Popup(); - - static SetupObjectOptions2Popup* create(GameObject*, cocos2d::CCArray*); - - bool init(GameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectOptionsPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupObjectOptionsPopup(); - - static SetupObjectOptionsPopup* create(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - - bool init(GameObject*, cocos2d::CCArray*, SetGroupIDLayer*); - void onAlwaysHide(cocos2d::CCObject* sender); - void onApplyScaleStick(cocos2d::CCObject* sender); - void onCenterEffect(cocos2d::CCObject* sender); - void onDisableGlow(cocos2d::CCObject* sender); - void onDisableObject(cocos2d::CCObject* sender); - void onDontBoost(cocos2d::CCObject* sender); - void onDontBoostX(cocos2d::CCObject* sender); - void onDontEnter(cocos2d::CCObject* sender); - void onDontFade(cocos2d::CCObject* sender); - void onExtendedCollision(cocos2d::CCObject* sender); - void onExtraSticky(cocos2d::CCObject* sender); - void onGripSlope(cocos2d::CCObject* sender); - void onHideEffects(cocos2d::CCObject* sender); - void onHighDetail(cocos2d::CCObject* sender); - void onIceBlock(cocos2d::CCObject* sender); - void onNoAudioScale(cocos2d::CCObject* sender); - void onNonStickX(cocos2d::CCObject* sender); - void onNonStickY(cocos2d::CCObject* sender); - void onNoParticle(cocos2d::CCObject* sender); - void onPassable(cocos2d::CCObject* sender); - void onReverse(cocos2d::CCObject* sender); - void onSinglePlayerTouch(cocos2d::CCObject* sender); - void onToggleAreaParent(cocos2d::CCObject* sender); - void onToggleGroupParent(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupObjectTogglePopup : SetupTriggerPopup { - // virtual ~SetupObjectTogglePopup(); - - static SetupObjectTogglePopup* create(EffectGameObject*, cocos2d::CCArray*, bool); - - bool init(EffectGameObject*, cocos2d::CCArray*, bool); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupOpacityPopup : SetupTriggerPopup { - // virtual ~SetupOpacityPopup(); - - static SetupOpacityPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - void updateOpacity(); - void updateOpacityLabel(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupOptionsTriggerPopup : SetupTriggerPopup { - // virtual ~SetupOptionsTriggerPopup(); - - static SetupOptionsTriggerPopup* create(GameOptionsTrigger*, cocos2d::CCArray*); - - TodoReturn addOption(int, gd::string); - bool init(GameOptionsTrigger*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPersistentItemTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPersistentItemTriggerPopup(); - - static SetupPersistentItemTriggerPopup* create(ItemTriggerGameObject*, cocos2d::CCArray*); - - bool init(ItemTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPickupTriggerPopup : SetupTriggerPopup { - // virtual ~SetupPickupTriggerPopup(); - - static SetupPickupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupPlatformerEndPopup : SetupTriggerPopup { - // virtual ~SetupPlatformerEndPopup(); - - static SetupPlatformerEndPopup* create(EndTriggerGameObject*, cocos2d::CCArray*); - - bool init(EndTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPlayerControlPopup : SetupTriggerPopup { - // virtual ~SetupPlayerControlPopup(); - - static SetupPlayerControlPopup* create(PlayerControlGameObject*, cocos2d::CCArray*); - - bool init(PlayerControlGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupPortalPopup : FLAlertLayer, TextInputDelegate { - // virtual ~SetupPortalPopup(); - - static SetupPortalPopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onClose(cocos2d::CCObject* sender); - void onEditCameraSettings(cocos2d::CCObject* sender); - void onUnboundMode(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateCameraEasing(); - TodoReturn updateCameraEasingLabel(); - TodoReturn updateCameraPadding(); - TodoReturn updateCameraPaddingLabel(); - TodoReturn updateItemVisibility(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SetupPulsePopup : SetupTriggerPopup, cocos2d::extension::ColorPickerDelegate, GJSpecialColorSelectDelegate { - // virtual ~SetupPulsePopup(); - - static SetupPulsePopup* create(EffectGameObject*, cocos2d::CCArray*); - - TodoReturn getColorValue(); - bool init(EffectGameObject*, cocos2d::CCArray*); - void onCopy(cocos2d::CCObject* sender); - void onExclusive(cocos2d::CCObject* sender); - void onGroupMainOnly(cocos2d::CCObject* sender); - void onGroupSecondaryOnly(cocos2d::CCObject* sender); - void onHSVLegacyMode(cocos2d::CCObject* sender); - void onPaste(cocos2d::CCObject* sender); - void onSelectPulseMode(cocos2d::CCObject* sender); - void onSelectSpecialColor(cocos2d::CCObject* sender); - void onSelectSpecialTargetID(cocos2d::CCObject* sender); - void onSelectTargetMode(cocos2d::CCObject* sender); - void onUpdateCopyColor(cocos2d::CCObject* sender); - void onUpdateCustomColor(cocos2d::CCObject* sender); - TodoReturn selectColor(cocos2d::ccColor3B); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateColorLabels(); - TodoReturn updateColorValue(); - TodoReturn updateCopyColor(); - TodoReturn updateCopyColorTextInputLabel(); - TodoReturn updateFadeInLabel(bool); - TodoReturn updateFadeInTime(); - TodoReturn updateFadeOutLabel(bool); - TodoReturn updateFadeOutTime(); - TodoReturn updateGroupMainOnly(); - TodoReturn updateGroupSecondaryOnly(); - TodoReturn updateHoldLabel(bool); - TodoReturn updateHoldTime(); - TodoReturn updateHSVValue(); - TodoReturn updatePulseMode(); - TodoReturn updatePulseTargetType(); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual void show(); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); - virtual void colorValueChanged(cocos2d::ccColor3B); - virtual void textInputOpened(CCTextInputNode*) {} - virtual void colorSelectClosed(GJSpecialColorSelect*, int); -} - -[[link(android)]] -class SetupRandAdvTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandAdvTriggerPopup(); - - static SetupRandAdvTriggerPopup* create(RandTriggerGameObject*, cocos2d::CCArray*); - - void addChance(int, int); - void addChanceToObject(RandTriggerGameObject*, int, int); - void callRemoveFromGroup(float); - bool init(RandTriggerGameObject*, cocos2d::CCArray*); - void onAddChance(cocos2d::CCObject* sender); - void onRemoveFromGroup(cocos2d::CCObject* sender); - void removeGroupID(int); - void removeGroupIDFromObject(RandTriggerGameObject*, int); - void updateGroupIDButtons(); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*) {} -} - -[[link(android)]] -class SetupRandTriggerPopup : SetupTriggerPopup { - // virtual ~SetupRandTriggerPopup(); - - static SetupRandTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onTargetID2Arrow(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateChance(); - TodoReturn updateChanceLabel(bool); - TodoReturn updateTargetID(); - TodoReturn updateTargetID2(); - TodoReturn updateTextInputLabel(); - TodoReturn updateTextInputLabel2(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupResetTriggerPopup : SetupTriggerPopup { - // virtual ~SetupResetTriggerPopup(); - - static SetupResetTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupReverbPopup : SetupTriggerPopup { - // virtual ~SetupReverbPopup(); - - static SetupReverbPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onPlay(cocos2d::CCObject* sender); - void onReverb(cocos2d::CCObject* sender); - TodoReturn updateReverbLabel(); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateCommandPopup : SetupTriggerPopup { - // virtual ~SetupRotateCommandPopup(); - - static SetupRotateCommandPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onInfiniteDuration(cocos2d::CCObject* sender); - TodoReturn updateControlVisibility(); - - virtual TodoReturn updateInputNode(int, float); - virtual void valueDidChange(int, float); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupRotateGameplayPopup : SetupTriggerPopup { - // virtual ~SetupRotateGameplayPopup(); - - static SetupRotateGameplayPopup* create(RotateGameplayGameObject*, cocos2d::CCArray*); - - bool init(RotateGameplayGameObject*, cocos2d::CCArray*); - - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupRotatePopup : SetupTriggerPopup { - // virtual ~SetupRotatePopup(); - - static SetupRotatePopup* create(EnhancedGameObject*, cocos2d::CCArray*); - - bool init(EnhancedGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSequenceTriggerPopup : SetupTriggerPopup { - // virtual ~SetupSequenceTriggerPopup(); - - static SetupSequenceTriggerPopup* create(SequenceTriggerGameObject*); - - bool init(SequenceTriggerGameObject*); - void onAddChance(cocos2d::CCObject* sender); - void onChangeOrder(cocos2d::CCObject* sender); - void onDeleteSelected(cocos2d::CCObject* sender); - void onSelect(cocos2d::CCObject* sender); - void updateGroupIDButtons(); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupSFXEditPopup : SetupAudioTriggerPopup { - // virtual ~SetupSFXEditPopup(); - - static SetupSFXEditPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*, bool); - - bool init(SFXTriggerGameObject*, cocos2d::CCArray*, bool); -} - -[[link(android)]] -class SetupSFXPopup : SetupAudioTriggerPopup, CustomSFXDelegate, SFXBrowserDelegate { - // virtual ~SetupSFXPopup(); - - static SetupSFXPopup* create(SFXTriggerGameObject*, cocos2d::CCArray*); - - TodoReturn createSFXWidget(); - bool init(SFXTriggerGameObject*, cocos2d::CCArray*); - void onBrowseSFX(cocos2d::CCObject* sender); - TodoReturn updateLength(); - - virtual void pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void onPlusButton(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual void sfxObjectSelected(SFXInfoObject*) {} - virtual TodoReturn getActiveSFXID(); - virtual TodoReturn overridePlaySFX(SFXInfoObject*); - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SetupShaderEffectPopup : SetupTriggerPopup { - // virtual ~SetupShaderEffectPopup(); - - static SetupShaderEffectPopup* create(EffectGameObject*, cocos2d::CCArray*, int); - - bool init(EffectGameObject*, cocos2d::CCArray*, int); - void onResetColors(cocos2d::CCObject* sender); - void onZLayer(cocos2d::CCObject* sender); - TodoReturn setupBulge(); - TodoReturn setupChromatic(); - TodoReturn setupChromaticGlitch(); - TodoReturn setupColorChange(); - TodoReturn setupGlitch(); - TodoReturn setupGrayscale(); - TodoReturn setupHueShift(); - TodoReturn setupInvertColor(); - TodoReturn setupLensCircle(); - TodoReturn setupMotionBlur(); - TodoReturn setupPinch(); - TodoReturn setupPixelate(); - TodoReturn setupRadialBlur(); - TodoReturn setupSepia(); - TodoReturn setupShaderTrigger(); - TodoReturn setupShockLine(); - TodoReturn setupShockWave(); - TodoReturn setupSplitScreen(); - TodoReturn updateZLayerButtons(); - TodoReturn zLayerToString(int); - - virtual TodoReturn toggleGroup(int, bool); - virtual void onClose(cocos2d::CCObject* sender); - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupShakePopup : SetupTriggerPopup { - // virtual ~SetupShakePopup(); - - static SetupShakePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateDuration(); - TodoReturn updateDurLabel(bool); - TodoReturn updateInterval(); - TodoReturn updateIntervalLabel(bool); - TodoReturn updateShake(); - TodoReturn updateShakeLabel(bool); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSmartBlockLayer : FLAlertLayer, TextInputDelegate, SelectArtDelegate { - // virtual ~SetupSmartBlockLayer(); - - static SetupSmartBlockLayer* create(SmartGameObject*, cocos2d::CCArray*); - - TodoReturn determineStartValues(); - bool init(SmartGameObject*, cocos2d::CCArray*); - void onAllowFlipping(cocos2d::CCObject* sender); - void onAllowRotation(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCreate(cocos2d::CCObject* sender); - void onCreateAll(cocos2d::CCObject* sender); - void onCreateTemplate(cocos2d::CCObject* sender); - void onDontDelete(cocos2d::CCObject* sender); - void onIgnoreCorners(cocos2d::CCObject* sender); - void onNearbyReference(cocos2d::CCObject* sender); - void onPasteTemplate(cocos2d::CCObject* sender); - void onReferenceOnly(cocos2d::CCObject* sender); - void onSelectPremade(cocos2d::CCObject* sender); - void onSelectTemplate(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); - virtual void selectArtClosed(SelectArtLayer*); -} - -[[link(android)]] -class SetupSmartTemplateLayer : FLAlertLayer, TextInputDelegate, FLAlertLayerProtocol { - // virtual ~SetupSmartTemplateLayer(); - - static SetupSmartTemplateLayer* create(GJSmartTemplate*); - - bool init(GJSmartTemplate*); - void onBack(cocos2d::CCObject* sender); - void onClick(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void textInputOpened(CCTextInputNode*); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupSongTriggerPopup : SetupAudioTriggerPopup, MusicDownloadDelegate, SongPlaybackDelegate { - // virtual ~SetupSongTriggerPopup(); - - static SetupSongTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onResetSongTime(cocos2d::CCObject* sender); - void onSavePlaybackPos(cocos2d::CCObject* sender); - TodoReturn updateApplyPrepare(bool); - TodoReturn updateLength(); - TodoReturn updateSongTimeSlider(); - - virtual void pageChanged(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SetupSpawnParticlePopup : SetupTriggerPopup { - // virtual ~SetupSpawnParticlePopup(); - - static SetupSpawnParticlePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupSpawnPopup : SetupTriggerPopup { - // virtual ~SetupSpawnPopup(); - - static SetupSpawnPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onAddRemap(cocos2d::CCObject* sender); - void onDeleteRemap(cocos2d::CCObject* sender); - void onSelectRemap(cocos2d::CCObject* sender); - TodoReturn queueUpdateButtons(); - TodoReturn updateRemapButtons(float); - - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStaticCameraPopup : SetupTriggerPopup { - // virtual ~SetupStaticCameraPopup(); - - static SetupStaticCameraPopup* create(CameraTriggerGameObject*, cocos2d::CCArray*); - - bool init(CameraTriggerGameObject*, cocos2d::CCArray*); - TodoReturn updateState(); - - virtual void valueDidChange(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupStopTriggerPopup : SetupTriggerPopup { - // virtual ~SetupStopTriggerPopup(); - - static SetupStopTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual void onClose(cocos2d::CCObject* sender); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTeleportPopup : SetupTriggerPopup { - // virtual ~SetupTeleportPopup(); - - static SetupTeleportPopup* create(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - - bool init(TeleportPortalObject*, cocos2d::CCArray*, int, bool); - void onTeleportGravity(cocos2d::CCObject* sender); - TodoReturn updateTeleportGravityState(int); - - virtual TodoReturn determineStartValues(); - virtual void updateDefaultTriggerValues(); - virtual void valueDidChange(int, float); -} - -[[link(android)]] -class SetupTimerControlTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerControlTriggerPopup(); - - static SetupTimerControlTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTimerEventTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerEventTriggerPopup(); - - static SetupTimerEventTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimerTriggerPopup : SetupTriggerPopup { - // virtual ~SetupTimerTriggerPopup(); - - static SetupTimerTriggerPopup* create(TimerTriggerGameObject*, cocos2d::CCArray*); - - bool init(TimerTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTimeWarpPopup : SetupTriggerPopup { - // virtual ~SetupTimeWarpPopup(); - - static SetupTimeWarpPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - TodoReturn sliderChanged(cocos2d::CCObject*); - TodoReturn updateTimeWarp(); - TodoReturn updateTimeWarpLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SetupTouchTogglePopup : SetupTriggerPopup { - // virtual ~SetupTouchTogglePopup(); - - static SetupTouchTogglePopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - void onControlMode(cocos2d::CCObject* sender); - void onDualTouchMode(cocos2d::CCObject* sender); - void onHoldMode(cocos2d::CCObject* sender); - void onTargetIDArrow(cocos2d::CCObject* sender); - void onTouchMode(cocos2d::CCObject* sender); - TodoReturn updateTargetID(); - TodoReturn updateTextInputLabel(); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textChanged(CCTextInputNode*); -} - -[[link(android)]] -class SetupTransformPopup : SetupTriggerPopup { - // virtual ~SetupTransformPopup(); - - static SetupTransformPopup* create(TransformTriggerGameObject*, cocos2d::CCArray*); - - bool init(TransformTriggerGameObject*, cocos2d::CCArray*); -} - -[[link(android)]] -class SetupTriggerPopup : FLAlertLayer, TextInputDelegate, ConfigureValuePopupDelegate, SliderDelegate { - // virtual ~SetupTriggerPopup(); - // SetupTriggerPopup(); - - static SetupTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*, float, float, int); - static SetupTriggerPopup* create(float, float); - - void addCloseButton(gd::string); - void addHelpButton(gd::string, gd::string, float); - void addInfoLabel(gd::string, float, cocos2d::CCPoint, int, int); - void addObjectsToGroup(cocos2d::CCArray*, int); - void addObjectsToPage(cocos2d::CCArray*, int); - void addObjectToGroup(cocos2d::CCObject*, int); - void addObjectToPage(cocos2d::CCObject*, int); - void addTitle(gd::string); - void closeInputNodes(); - void createCustomButton(int, gd::string, gd::string, cocos2d::CCPoint, float, float, bool, int, int); - void createCustomEasingControls(gd::string, cocos2d::CCPoint, float, int, int, int, int); - void createCustomToggleValueControl(int, bool, bool, gd::string, cocos2d::CCPoint, bool, int, int); - void createEasingControls(cocos2d::CCPoint, float, int, int); - void createMultiTriggerItems(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::CCPoint); - void createMultiTriggerItemsCorner(); - void createMultiTriggerItemsDefault(); - void createMultiTriggerItemsDefaultHorizontal(); - void createMultiTriggerItemsDefaultVertical(); - void createPageButtons(float, int); - void createPlusButton(int, cocos2d::CCPoint, float, gd::string, int, int); - void createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCPoint); - void createToggleValueControl(int, gd::string, cocos2d::CCPoint, bool, int, int, float); - void createToggleValueControlAdvanced(int, gd::string, cocos2d::CCPoint, bool, int, int, float, float, float, cocos2d::CCPoint); - void createValueControl(int, gd::string, cocos2d::CCPoint, float, float, float); - void createValueControlAdvanced(int, gd::string, cocos2d::CCPoint, float, bool, InputValueType, int, bool, float, float, int, int, GJInputStyle, int, bool); - void createValueControlWArrows(int, gd::string, cocos2d::CCPoint, float); - cocos2d::CCArray* getGroupContainer(int); - float getMaxSliderValue(int); - float getMinSliderValue(int); - cocos2d::CCArray* getObjects(); - cocos2d::CCArray* getPageContainer(int); - float getTriggerValue(int, GameObject*); - float getTruncatedValue(float, int); - float getTruncatedValueByTag(int, float); - void goToPage(int, bool); - void hideAll(); - bool init(EffectGameObject*, cocos2d::CCArray*, float, float, int); - void onCustomEaseArrow(int, bool); - void onCustomEaseArrowDown(cocos2d::CCObject* sender); - void onCustomEaseArrowUp(cocos2d::CCObject* sender); - void onCustomEaseRate(cocos2d::CCObject* sender); - void onDisableValue(cocos2d::CCObject* sender); - void onEase(cocos2d::CCObject* sender); - void onEaseRate(cocos2d::CCObject* sender); - void onMultiTrigger(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSpawnedByTrigger(cocos2d::CCObject* sender); - void onToggleTriggerValue(cocos2d::CCObject* sender); - void onTouchTriggered(cocos2d::CCObject* sender); - void postSetup(); - void preSetup(); - void refreshGroupVisibility(); - void removeObjectFromGroup(cocos2d::CCObject*, int); - void removeObjectFromPage(cocos2d::CCObject*, int); - void resetDisabledValues(); - void setMaxSliderValue(float, int); - void setMinSliderValue(float, int); - bool shouldLimitValue(int); - void toggleBG(bool); - void toggleCustomEaseRateVisibility(int, int); - void toggleDisableButtons(bool); - void toggleEaseRateVisibility(); - void toggleLimitValue(int, bool); - void togglePageArrows(bool); - void triggerArrowChanged(int, bool); - void triggerArrowLeft(cocos2d::CCObject*); - void triggerArrowRight(cocos2d::CCObject*); - void triggerSliderChanged(cocos2d::CCObject*); - void updateCustomEaseLabel(int, int); - void updateCustomEaseRateLabel(int, float); - void updateCustomToggleTrigger(int, bool); - void updateEaseLabel(); - void updateEaseRateLabel(); - void updateEditorLabel(); - void updateInputNodeLabel(int, gd::string); - void updateLabel(int, gd::string); - void updateMultiTriggerBtn(); - void updateSlider(int, float); - void updateSlider(int); - void updateSpawnedByTrigger(); - void updateTouchTriggered(); - void updateValue(int, float); - void updateValueControls(int, float); - void valueChanged(int, float); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void keyBackClicked(); - virtual void show(); - virtual void pageChanged() {} - virtual TodoReturn toggleGroup(int, bool); - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void textInputShouldOffset(CCTextInputNode*, float); - virtual void textInputReturn(CCTextInputNode*); - virtual void updateInputValue(int, float&) {} - virtual void sliderBegan(Slider*); - virtual TodoReturn sliderEnded(Slider*); - virtual void onPlusButton(cocos2d::CCObject* sender) {} - virtual void onCustomButton(cocos2d::CCObject* sender) {} - virtual void updateDefaultTriggerValues(); - virtual TodoReturn updateInputNode(int, float); - virtual TodoReturn updateToggleItem(int, bool); - virtual void valueDidChange(int, float) {} - virtual TodoReturn getValue(int); - virtual TodoReturn triggerValueFromSliderValue(int, float); - virtual TodoReturn triggerSliderValueFromValue(int, float); - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender) {} - virtual TodoReturn valuePopupClosed(ConfigureValuePopup*, float); - - PAD = android32 0xac; -} - -[[link(android)]] -class SetupZoomTriggerPopup : SetupTriggerPopup { - // virtual ~SetupZoomTriggerPopup(); - - static SetupZoomTriggerPopup* create(EffectGameObject*, cocos2d::CCArray*); - - bool init(EffectGameObject*, cocos2d::CCArray*); - - virtual TodoReturn determineStartValues(); - virtual void onClose(cocos2d::CCObject* sender); -} - -[[link(android)]] -class SFXBrowser : FLAlertLayer, MusicDownloadDelegate, TableViewCellDelegate, SetTextPopupDelegate, SelectSFXSortDelegate { - // virtual ~SFXBrowser(); - - static SFXBrowser* create(int); - - bool init(int); - void onClearSearch(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onCredits(cocos2d::CCObject* sender); - void onExitFolder(cocos2d::CCObject* sender); - void onPage(cocos2d::CCObject* sender); - void onSearch(cocos2d::CCObject* sender); - void onSorting(cocos2d::CCObject* sender); - void onToggleCompactMode(cocos2d::CCObject* sender); - void onUpdateLibrary(cocos2d::CCObject* sender); - void setupList(SFXSearchResult*); - TodoReturn trySetupSFXBrowser(); - TodoReturn updatePageLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void musicActionFinished(GJMusicAction); - virtual void musicActionFailed(GJMusicAction); - virtual TodoReturn sortSelectClosed(SelectSFXSortLayer*); - virtual void setTextPopupClosed(SetTextPopup*, gd::string); - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class SFXBrowserDelegate { - virtual TodoReturn sfxBrowserClosed(SFXBrowser*); -} - -[[link(android)]] -class SFXFolderObject : SFXInfoObject { - // virtual ~SFXFolderObject(); - - static SFXFolderObject* create(int, gd::string, int); - - bool init(int, gd::string, int); -} - -[[link(android)]] -class SFXInfoObject : cocos2d::CCObject { - // virtual ~SFXInfoObject(); - - static SFXInfoObject* create(int, gd::string, int, int, int); - - TodoReturn getLowerCaseName(); - bool init(int, gd::string, int, int, int); -} - -[[link(android)]] -class SFXSearchResult : MusicSearchResult { - // virtual ~SFXSearchResult(); - - static SFXSearchResult* create(int); - - TodoReturn getActiveFolder(); - TodoReturn getSelectedPage(int, int); - bool init(int); - void setActiveFolder(SFXFolderObject*); - - virtual TodoReturn updateObjects(AudioSortType); -} - -[[link(android)]] -class SFXTriggerGameObject : EffectGameObject { - // virtual ~SFXTriggerGameObject(); - // SFXTriggerGameObject(); - - static SFXTriggerGameObject* create(char const*); - - TodoReturn getSFXRefID(); - TodoReturn getUniqueSFXID(); - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderGameObject : EffectGameObject { - // virtual ~ShaderGameObject(); - - static ShaderGameObject* create(char const*); - - bool init(char const*); - - virtual void customSetup(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class ShaderLayer : cocos2d::CCLayer { - // virtual ~ShaderLayer(); - - static ShaderLayer* create(); - - TodoReturn objectPosToShaderPos(cocos2d::CCPoint); - void performCalculations(); - TodoReturn preBulgeShader(); - TodoReturn preChromaticGlitchShader(); - TodoReturn preChromaticShader(); - TodoReturn preColorChangeShader(); - TodoReturn preCommonShader(); - TodoReturn preGlitchShader(); - TodoReturn preGrayscaleShader(); - TodoReturn preHueShiftShader(); - TodoReturn preInvertColorShader(); - TodoReturn preLensCircleShader(); - TodoReturn preMotionBlurShader(); - TodoReturn prepareTargetContainer(); - TodoReturn prePinchShader(); - TodoReturn prePixelateShader(); - TodoReturn preRadialBlurShader(); - TodoReturn preSepiaShader(); - TodoReturn preShockLineShader(); - TodoReturn preShockWaveShader(); - TodoReturn preSplitScreenShader(); - bool resetAllShaders(); - TodoReturn resetTargetContainer(); - TodoReturn setupBulgeShader(); - TodoReturn setupChromaticGlitchUniforms(); - TodoReturn setupChromaticUniforms(); - TodoReturn setupColorChangeShader(); - TodoReturn setupCommonUniforms(); - TodoReturn setupGlitchUniforms(); - TodoReturn setupGrayscaleShader(); - TodoReturn setupHueShiftShader(); - TodoReturn setupInvertColorShader(); - TodoReturn setupLensCircleShader(); - TodoReturn setupMotionBlurShader(); - TodoReturn setupPinchShader(); - TodoReturn setupRadialBlurShader(); - TodoReturn setupSepiaShader(); - TodoReturn setupShader(bool); - TodoReturn setupShockLineUniforms(); - TodoReturn setupShockWaveUniforms(); - TodoReturn setupSplitScreenShader(); - TodoReturn toggleAntiAlias(bool); - TodoReturn triggerBulge(float, float, float, float, float, int, int, float, bool); - TodoReturn triggerChromaticGlitch(bool, float, float, float, float, float, float, float, int, float, bool, bool); - TodoReturn triggerChromaticX(float, float, int, float, bool); - TodoReturn triggerChromaticY(float, float, int, float, bool); - TodoReturn triggerColorChange(float, float, float, float, float, float, float, int, float); - TodoReturn triggerGlitch(float, float, float, float, float, float, float, bool); - TodoReturn triggerGrayscale(float, float, bool, int, int, float); - TodoReturn triggerHueShift(float, float, int, float); - TodoReturn triggerInvertColor(float, float, float, float, float, bool, bool, bool, int, float); - TodoReturn triggerLensCircle(float, float, float, float, int, int, float, float, int, float, bool); - TodoReturn triggerMotionBlurX(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerMotionBlurY(float, float, float, float, int, float, bool, int, int, float, bool, bool); - TodoReturn triggerPinchX(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPinchY(float, float, float, float, float, bool, int, int, float, bool); - TodoReturn triggerPixelateX(float, float, bool, bool, int, float, bool); - TodoReturn triggerPixelateY(float, float, bool, bool, int, float, bool); - TodoReturn triggerRadialBlur(float, float, float, float, int, float, float, bool, int, int, float, bool); - TodoReturn triggerSepia(float, float, int, float); - bool triggerShockLine(float, float, bool, bool, bool, bool, float, float, float, float, float, float, int, bool, bool, bool, float, bool, float, int, float); - bool triggerShockWave(float, float, float, float, float, float, float, bool, float, float, float, int, bool, bool, bool, float, float, bool, float, int, float); - TodoReturn triggerSplitScreenCols(float, float, int, float); - TodoReturn triggerSplitScreenRows(float, float, int, float); - TodoReturn tweenValue(float, float, int, float, int, float); - TodoReturn tweenValueAuto(float, int, float, int, float); - TodoReturn updateEffectOffsets(cocos2d::CCPoint); - TodoReturn updateMotionBlurSpeedX(float, float); - TodoReturn updateMotionBlurSpeedY(float, float); - TodoReturn updateShockLineCenter(cocos2d::CCPoint); - TodoReturn updateShockWaveCenter(cocos2d::CCPoint); - bool updateZLayer(int, int, bool); - - virtual void update(float); - virtual bool init(); - virtual void visit(); -} - -[[link(android)]] -class ShardsPage : FLAlertLayer { - // virtual ~ShardsPage(); - - static ShardsPage* create(); - - void FLAlert_Clicked(FLAlertLayer*, bool); - void goToPage(int); - void onClose(cocos2d::CCObject* sender); - void onIconInfo(cocos2d::CCObject* sender); - void onSwitchPage(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class ShareCommentDelegate { - virtual void shareCommentClosed(gd::string, ShareCommentLayer*); -} - -[[link(android)]] -class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate { - // virtual ~ShareCommentLayer(); - - static ShareCommentLayer* create(gd::string, int, CommentType, int, gd::string); - - bool init(gd::string, int, CommentType, int, gd::string); - void onClear(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onPercent(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void updateCharCountLabel(); - TodoReturn updateDescText(gd::string); - void updatePercentLabel(); - - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*); - virtual void textChanged(CCTextInputNode*); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); -} - -[[link(android)]] -class ShareLevelLayer : FLAlertLayer { - // virtual ~ShareLevelLayer(); - - static ShareLevelLayer* create(GJGameLevel*); - - CCMenuItemSpriteExtra* getStarsButton(int btnID, cocos2d::SEL_MenuHandler callback, cocos2d::CCMenu* menu, float scale); - bool init(GJGameLevel* level); - void onClose(cocos2d::CCObject* sender); - void onSettings(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - TodoReturn selectRating(cocos2d::CCObject*); - void setupStars(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class ShareLevelSettingsLayer : FLAlertLayer, NumberInputDelegate { - // virtual ~ShareLevelSettingsLayer(); - - static ShareLevelSettingsLayer* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onClose(cocos2d::CCObject* sender); - void onCopyable(cocos2d::CCObject* sender); - void onEditPassword(cocos2d::CCObject* sender); - void onPassword(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - void onUnlistedFriendsOnly(cocos2d::CCObject* sender); - TodoReturn updateSettingsState(); - - virtual void keyBackClicked(); - virtual void numberInputClosed(NumberInputLayer*) {} -} - -[[link(android)]] -class ShareListLayer : FLAlertLayer { - // virtual ~ShareListLayer(); - - static ShareListLayer* create(GJLevelList*); - - bool init(GJLevelList*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onShare(cocos2d::CCObject* sender); - void onUnlisted(cocos2d::CCObject* sender); - TodoReturn updateUnlistedF(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SimpleObject : cocos2d::CCObject { - // virtual ~SimpleObject(); - - static SimpleObject* create(); - - bool init(); -} - -[[link(android)]] -class SimplePlayer : cocos2d::CCSprite { - // virtual ~SimplePlayer(); - - static SimplePlayer* create(int); - - TodoReturn asyncLoadIcon(int, IconType); - TodoReturn createRobotSprite(int); - TodoReturn createSpiderSprite(int); - inline void disableCustomGlowColor() { - m_hasCustomGlowColor = false; - } - inline void enableCustomGlowColor(cocos2d::_ccColor3B const& color) { - m_hasCustomGlowColor = true; - m_glowColor = color; - } - TodoReturn hideAll(); - TodoReturn hideSecondary(); - TodoReturn iconFinishedLoading(int, IconType); - bool init(int); - void setColors(cocos2d::ccColor3B const&, cocos2d::ccColor3B const&); - void setFrames(char const*, char const*, char const*, char const*, char const*); - inline void setSecondColor(cocos2d::_ccColor3B const& color) { - m_secondLayer->setColor(color); - updateColors(); - } - void updateColors(); - void updatePlayerFrame(int, IconType); - - virtual void setOpacity(unsigned char); - virtual void setColor(cocos2d::ccColor3B const&); - - inline void setGlowOutline(cocos2d::ccColor3B color) { - enableCustomGlowColor(color); - m_hasGlowOutline = true; - updateColors(); - } - - inline void disableGlowOutline() { - disableCustomGlowColor(); - m_hasGlowOutline = false; - updateColors(); - } - - cocos2d::CCSprite* m_firstLayer; - cocos2d::CCSprite* m_secondLayer; - cocos2d::CCSprite* m_birdDome; - cocos2d::CCSprite* m_outlineSprite; - cocos2d::CCSprite* m_detailSprite; - GJRobotSprite* m_robotSprite; - GJSpiderSprite* m_spiderSprite; - int m_unknown; - bool m_hasGlowOutline; - PAD = win 0x7, android32 0x7, android64 0x7; - bool m_hasCustomGlowColor; - cocos2d::ccColor3B m_glowColor; - PAD = win 0x4, android32 0x4, android64 0x8; -} - -[[link(android)]] -class SlideInLayer : cocos2d::CCLayerColor { - // virtual ~SlideInLayer(); - - static SlideInLayer* create(); - - virtual bool init(); - virtual void draw(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void customSetup(); - virtual void enterLayer(); - virtual void exitLayer(cocos2d::CCObject*); - virtual void showLayer(bool); - virtual void hideLayer(bool); - virtual void layerVisible(); - virtual void layerHidden(); - virtual void enterAnimFinished(); - virtual void disableUI(); - virtual void enableUI(); -} - -[[link(android)]] -class Slider : cocos2d::CCLayer { - // virtual ~Slider(); - - static Slider* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float) = ios 0x2f60d8; - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler) { - return Slider::create(target, handler, 1.f); - } - static Slider* create(cocos2d::CCNode* target, cocos2d::SEL_MenuHandler handler, float idk) { - return Slider::create(target, handler, "sliderBar.png", "slidergroove.png", "sliderthumb.png", "sliderthumbsel.png", idk); - } - - TodoReturn disableSlider(); - TodoReturn disableTouch(); - TodoReturn enableSlider(); - TodoReturn getLiveDragging(); - SliderThumb* getThumb() { - return m_touchLogic->m_thumb; - } - float getValue(); - TodoReturn hideGroove(bool); - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, char const*, char const*, float); - void setBarVisibility(bool); - void setLiveDragging(bool); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float val) { - this->getThumb()->setValue(val); - this->updateBar(); - } - TodoReturn sliderBegan(); - TodoReturn sliderEnded(); - void updateBar() = ios 0x2f5fe0; - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - - SliderTouchLogic* m_touchLogic; - cocos2d::CCSprite* m_sliderBar; - cocos2d::CCSprite* m_groove; - float m_width; - float m_height; - void* m_unknown; - void* m_unknown2; -} - -[[link(android)]] -class SliderDelegate { - virtual void sliderBegan(Slider*) {} - virtual TodoReturn sliderEnded(Slider*); -} - -[[link(android)]] -class SliderThumb : cocos2d::CCMenuItemImage { - // virtual ~SliderThumb(); - - static SliderThumb* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - - float getValue() { - return (this->getScaleX() * m_length * .5f + - (m_vertical ? - this->getPositionY() : - this->getPositionX()) - ) / (this->getScaleX() * m_length); - } - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*); - void setMaxOffset(float); - void setRotated(bool); - void setValue(float) = ios 0x2f5a54; - - float m_length; - bool m_vertical; -} - -[[link(android)]] -class SliderTouchLogic : cocos2d::CCMenu { - // virtual ~SliderTouchLogic(); - - static SliderTouchLogic* create(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - - bool init(cocos2d::CCNode*, cocos2d::SEL_MenuHandler, char const*, char const*, float); - void setMaxOffset(float); - void setRotated(bool); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - - float m_unknownUnused; - float m_length; - SliderThumb* m_thumb; - Slider* m_slider; - bool m_activateThumb; - cocos2d::CCPoint m_position; - bool m_rotated; -} - -[[link(android)]] -class SmartGameObject : GameObject { - // virtual ~SmartGameObject(); - - static SmartGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateSmartFrame(); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - - bool m_property157; - PAD = android32 0x9; -} - -[[link(android)]] -class SmartTemplateCell : TableViewCell { - // virtual ~SmartTemplateCell(); - SmartTemplateCell(char const*, float, float); - - void loadFromObject(GJSmartTemplate*); - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongCell : TableViewCell { - // virtual ~SongCell(); - SongCell(char const*, float, float); - - void loadFromObject(SongObject*); - void onClick(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class SongInfoLayer : FLAlertLayer { - // virtual ~SongInfoLayer(); - - static SongInfoLayer* create(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - static SongInfoLayer* create(int); - - bool init(gd::string, gd::string, gd::string, gd::string, gd::string, gd::string, int, gd::string); - void onBPM(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onDownload(cocos2d::CCObject* sender); - void onFB(cocos2d::CCObject* sender); - void onMenuMusic(cocos2d::CCObject* sender); - void onNG(cocos2d::CCObject* sender); - void onPracticeMusic(cocos2d::CCObject* sender); - void onYT(cocos2d::CCObject* sender); - void showCustomMusicUnlockInfo(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongInfoObject : cocos2d::CCNode { - // virtual ~SongInfoObject(); - - static SongInfoObject* create(cocos2d::CCDictionary*); - static SongInfoObject* create(int songID, gd::string songName, gd::string artistName, int artistID, float filesize, gd::string youtubeVideo, gd::string youtubeChannel, gd::string url, int priority); - static SongInfoObject* create(int); - - TodoReturn addTags(gd::string); - TodoReturn containsTag(int); - TodoReturn createWithCoder(DS_Dictionary*); - TodoReturn getTagsString(); - bool init(int songID, gd::string songName, gd::string artistName, int artistID, float filesize, gd::string youtubeVideo, gd::string youtubeChannel, gd::string url, int priority); - - virtual void encodeWithCoder(DS_Dictionary*); - virtual bool canEncode(); - - int m_songID; - gd::string m_songName; - gd::string m_artistName; - gd::string m_youtubeVideo; - gd::string m_youtubeChannel; - gd::string m_songUrl; - gd::string m_artistID; - float m_fileSize; - bool m_isUnkownSong; - int m_priority; -} - -[[link(android)]] -class SongObject : cocos2d::CCObject { - // virtual ~SongObject(); - - static SongObject* create(int); - - bool init(int); -} - -[[link(android)]] -class SongOptionsLayer : FLAlertLayer { - // virtual ~SongOptionsLayer(); - - static SongOptionsLayer* create(CustomSongDelegate*); - - bool init(CustomSongDelegate*); - void onClose(cocos2d::CCObject* sender); - void onFadeIn(cocos2d::CCObject* sender); - void onFadeOut(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlayback(cocos2d::CCObject* sender); - TodoReturn updatePlaybackBtn(); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class SongPlaybackDelegate { - virtual TodoReturn onPlayback(SongInfoObject*); -} - -[[link(android)]] -class SongSelectNode : cocos2d::CCNode, FLAlertLayerProtocol, CustomSongLayerDelegate, CustomSongDelegate { - // virtual ~SongSelectNode(); - - static SongSelectNode* create(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - - void audioNext(cocos2d::CCObject*); - void audioPrevious(cocos2d::CCObject*); - bool init(int, bool, LevelSettingsObject*, SongSelectType, cocos2d::CCPoint, cocos2d::CCNode*, cocos2d::CCMenu*, bool); - void onOpenCustomSong(cocos2d::CCObject* sender); - void onSongMode(cocos2d::CCObject* sender); - void onSongMode(int); - TodoReturn selectSong(int); - void showCustomSongSelect(); - void updateAudioLabel(); - TodoReturn updateWidgetVisibility(); - - virtual void FLAlert_Clicked(FLAlertLayer*, bool); - virtual void customSongLayerClosed(); - virtual TodoReturn songIDChanged(int); - virtual TodoReturn getActiveSongID(); - virtual TodoReturn getSongFileName(); - virtual TodoReturn getLevelSettings(); -} - -[[link(android)]] -class SongsLayer : GJDropDownLayer { - // virtual ~SongsLayer(); - - static SongsLayer* create(); - - virtual void customSetup(); -} - -[[link(android)]] -class SongTriggerGameObject : SFXTriggerGameObject { - // virtual ~SongTriggerGameObject(); - - static SongTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnParticleGameObject : EffectGameObject { - // virtual ~SpawnParticleGameObject(); - - static SpawnParticleGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpawnTriggerAction { - bool isFinished(); - TodoReturn step(float); -} - -[[link(android)]] -class SpawnTriggerGameObject : EffectGameObject { - // virtual ~SpawnTriggerGameObject(); - - static SpawnTriggerGameObject* create(); - - TodoReturn addRemap(int, int); - TodoReturn changeRemap(int, int, bool); - TodoReturn removeRemap(int, int); - TodoReturn updateRemapKeys(gd::vector const&); - - virtual bool init(); - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class SpecialAnimGameObject : EnhancedGameObject { - // virtual ~SpecialAnimGameObject(); - - static SpecialAnimGameObject* create(char const*); - - bool init(char const*); - - virtual void resetObject(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateMainColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSecondaryColor(cocos2d::ccColor3B const&); - virtual TodoReturn updateSyncedAnimation(float, int); -} - -[[link(android)]] -class SpriteAnimationManager : cocos2d::CCNode { - // virtual ~SpriteAnimationManager(); - - TodoReturn animationFinished(); - TodoReturn callAnimationFinished(); - TodoReturn createAnimations(gd::string); - TodoReturn createWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn doCleanup(); - TodoReturn executeAnimation(gd::string); - TodoReturn finishAnimation(gd::string); - TodoReturn getAnimType(gd::string); - TodoReturn getPrio(gd::string); - TodoReturn initWithOwner(CCAnimatedSprite*, gd::string); - TodoReturn loadAnimations(gd::string); - TodoReturn offsetCurrentAnimation(float); - TodoReturn overridePrio(); - TodoReturn playSound(gd::string); - TodoReturn playSoundForAnimation(gd::string); - TodoReturn queueAnimation(gd::string); - TodoReturn resetAnimState(); - TodoReturn runAnimation(gd::string); - TodoReturn runQueuedAnimation(); - TodoReturn stopAnimations(); - TodoReturn storeAnimation(cocos2d::CCAnimate*, cocos2d::CCAnimate*, gd::string, int, spriteMode, cocos2d::CCSpriteFrame*); - TodoReturn storeSoundForAnimation(cocos2d::CCString*, gd::string, float); - TodoReturn switchToFirstFrameOfAnimation(gd::string); - TodoReturn updateAnimationSpeed(float); -} - -[[link(android)]] -class SpriteDescription : cocos2d::CCObject { - // virtual ~SpriteDescription(); - // SpriteDescription(); - - TodoReturn createDescription(cocos2d::CCDictionary*); - TodoReturn createDescription(DS_Dictionary*); - TodoReturn initDescription(cocos2d::CCDictionary*); - TodoReturn initDescription(DS_Dictionary*); -} - -[[link(android)]] -class SpritePartDelegate { - virtual TodoReturn displayFrameChanged(cocos2d::CCObject*, gd::string); -} - -[[link(android)]] -class StarInfoPopup { - // virtual ~StarInfoPopup(); - - static StarInfoPopup* create(int, int, int, int, int, int, int, int, int, bool); - - TodoReturn createFromString(gd::string); - TodoReturn createFromStringMoons(gd::string); - bool init(int, int, int, int, int, int, int, int, int, bool); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class StartPosObject : EffectGameObject { - // virtual ~StartPosObject(); - - static StartPosObject* create(); - - TodoReturn loadSettingsFromString(gd::string); - void setSettings(LevelSettingsObject*); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - - int m_unknown; -} - -[[link(android)]] -class StatsCell : TableViewCell { - // virtual ~StatsCell(); - StatsCell(char const*, float, float); - - TodoReturn getTitleFromKey(char const*); - void loadFromObject(StatsObject*); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class StatsLayer : GJDropDownLayer { - // virtual ~StatsLayer(); - - static StatsLayer* create(); - - virtual void customSetup(); -} - -[[link(android)]] -class StatsObject : cocos2d::CCObject { - // virtual ~StatsObject(); - - static StatsObject* create(char const*, int); - - bool init(char const*, int); -} - -[[link(android)]] -class SupportLayer : GJDropDownLayer, FLAlertLayerProtocol, UploadActionDelegate, UploadPopupDelegate { - // virtual ~SupportLayer(); - - static SupportLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, cocos2d::CCArray*); - TodoReturn exitLayer(); - void onCocos2d(cocos2d::CCObject* sender); - void onEmail(cocos2d::CCObject* sender); - void onGetReward(cocos2d::CCObject* sender); - void onLinks(cocos2d::CCObject* sender); - void onLowDetail(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onRequestAccess(cocos2d::CCObject* sender); - void onRobTop(cocos2d::CCObject* sender); - void onSFX(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - TodoReturn sendSupportMail(); - - virtual void customSetup(); - virtual void uploadActionFinished(int, int); - virtual void uploadActionFailed(int, int); - virtual void onClosePopup(UploadActionPopup*); - virtual void FLAlert_Clicked(FLAlertLayer*, bool); -} - -[[link(android), depends(CCIndexPath)]] -class TableView : CCScrollLayerExt, CCScrollLayerExtDelegate { - // virtual ~TableView(); - TableView(cocos2d::CCRect); - - static TableView* create(TableViewDelegate*, TableViewDataSource*, TableViewCellDelegate*, cocos2d::CCRect) = ios 0x305598; - - TodoReturn cancelAndStoleTouch(cocos2d::CCTouch*, cocos2d::CCEvent*); - TodoReturn cellForRowAtIndexPath(CCIndexPath&); - TodoReturn cellForTouch(cocos2d::CCTouch*); - TodoReturn checkBoundaryOfCell(cocos2d::CCPoint&, float); - TodoReturn checkBoundaryOfCell(TableViewCell*); - TodoReturn checkBoundaryOfContent(float); - TodoReturn checkFirstCell(TableViewCell*); - TodoReturn checkLastCell(TableViewCell*); - TodoReturn claimTouch(cocos2d::CCTouch*); - TodoReturn deleteTableViewCell(TableViewCell*); - TodoReturn dequeueReusableCellWithIdentifier(char const*); - TodoReturn initTableViewCells(); - bool isDuplicateIndexPath(CCIndexPath&); - bool isDuplicateInVisibleCellArray(CCIndexPath*); - void reloadData() = ios 0x305e54; - TodoReturn removeIndexPathFromPathAddedArray(CCIndexPath&); - TodoReturn scrollToIndexPath(CCIndexPath&); - TodoReturn touchFinish(cocos2d::CCTouch*); - - virtual void onEnter(); - virtual void onExit(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void scrollWheel(float, float); - virtual void scrllViewWillBeginDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewDidEndDecelerating(CCScrollLayerExt*) {} - virtual void scrollViewTouchMoving(CCScrollLayerExt*) {} - virtual void scrollViewDidEndMoving(CCScrollLayerExt*) {} - - bool m_touchOutOfBoundary; - cocos2d::CCTouch* m_touchStart; - cocos2d::CCPoint m_touchStartPosition2; - cocos2d::CCPoint m_unknown2; - cocos2d::CCPoint m_touchPosition2; - void* m_idk; - bool m_touchMoved; - cocos2d::CCArray* m_cellArray; - cocos2d::CCArray* m_array2; - cocos2d::CCArray* m_array3; - TableViewDelegate* m_tableDelegate; - TableViewDataSource* m_dataSource; - TableViewCellDelegate* m_cellDelegate; - int m_unused2; - void* m_unused3; - int m_unused4; - float m_touchLastY; - bool m_cancellingTouches; -} - -[[link(android), depends(CCIndexPath)]] -class TableViewCell : cocos2d::CCLayer { - ~TableViewCell(); - TableViewCell(char const*, float, float) = ios 0x3d438; - - TodoReturn updateVisibility(); - - bool m_unknown; - TableView* m_tableView; - CCIndexPath m_indexPath; - void* m_unknown2; - void* m_unknown3; - int m_unknownThing; // don't even know if this is an int, it's always set to 0 - gd::string m_unknownString; - float m_width; - float m_height; - cocos2d::CCLayerColor* m_backgroundLayer; - cocos2d::CCLayer* m_mainLayer; - BoomListType m_listType; -} - -[[link(android)]] -class TableViewCellDelegate { - virtual TodoReturn cellPerformedAction(TableViewCell*, int, CellAction, cocos2d::CCNode*); - virtual TodoReturn getSelectedCellIdx(); - virtual TodoReturn shouldSnapToSelected(); -} - -[[link(android)]] -class TableViewDataSource { - virtual int numberOfRowsInSection(unsigned int, TableView*) { return 0; } - virtual unsigned int numberOfSectionsInTableView(TableView*) { return 0; } - virtual void TableViewCommitCellEditingStyleForRowAtIndexPath(TableView*, TableViewCellEditingStyle, CCIndexPath&) {} - virtual TableViewCell* cellForRowAtIndexPath(CCIndexPath&, TableView*) { return nullptr; } -} - -[[link(android)]] -class TableViewDelegate { - virtual void willTweenToIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void didEndTweenToIndexPath(CCIndexPath&, TableView*) {} - virtual void TableViewWillDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewDidDisplayCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual void TableViewWillReloadCellForRowAtIndexPath(CCIndexPath&, TableViewCell*, TableView*) {} - virtual float cellHeightForRowAtIndexPath(CCIndexPath&, TableView*) { return 0; } - virtual void didSelectRowAtIndexPath(CCIndexPath&, TableView*) {} -} - -[[link(android)]] -class TeleportPortalObject : RingObject { - // virtual ~TeleportPortalObject(); - - static TeleportPortalObject* create(char const*, bool); - - TodoReturn getTeleportXOff(cocos2d::CCNode*); - bool init(char const*, bool); - void setPositionOverride(cocos2d::CCPoint); - void setStartPosOverride(cocos2d::CCPoint); - - virtual void setPosition(cocos2d::CCPoint const&); - virtual void setRotation(float); - virtual void setStartPos(cocos2d::CCPoint); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual void addToGroup(int); - virtual void removeFromGroup(int); - virtual void setRotation2(float); - virtual void addToGroup2(int); - virtual void removeFromGroup2(int); - - void* m_unknown; - TeleportPortalObject* m_orangePortal; - bool m_isYellowPortal; - float m_teleportYOffset; - // property 55 - bool m_teleportEase; - // property 345 - bool m_staticForceEnabled; - // property 346 - int m_staticForce; - // property 347 - bool m_redirectForceEnabled; - // property 350 - float m_redirectForceMod; - // property 348 - float m_redirectForceMin; - // property 349 - float m_redirectForceMax; - // property 351 - bool m_saveOffset; - // property 352 - bool m_ignoreX; - // property 353 - bool m_ignoreY; - // property 354 - int m_gravityMode; - // property 443 - bool m_property443; - // property 464 - bool m_property464; - // property 510 - bool m_property510; - // property 591 - bool m_property591; -} - -[[link(android)]] -class TextAlertPopup : cocos2d::CCNode { - // virtual ~TextAlertPopup(); - - static TextAlertPopup* create(gd::string, float, float, int, gd::string); - - bool init(gd::string, float, float, int, gd::string); - void setAlertPosition(cocos2d::CCPoint, cocos2d::CCPoint); - void setLabelColor(cocos2d::ccColor3B); -} - -[[link(android)]] -class TextArea : cocos2d::CCSprite { - // virtual ~TextArea(); - - static TextArea* create(gd::string str, char const* font, float scale, float width, cocos2d::CCPoint anchor, float lineHeight, bool disableColor); - - TodoReturn colorAllCharactersTo(cocos2d::ccColor3B); - TodoReturn colorAllLabels(cocos2d::ccColor3B); - TodoReturn fadeIn(float, bool); - TodoReturn fadeInCharacters(float, float); - TodoReturn fadeOut(float); - TodoReturn fadeOutAndRemove(); - TodoReturn finishFade(); - TodoReturn hideAll(); - bool init(gd::string str, char const* font, float scale, float width, cocos2d::CCPoint anchor, float lineHeight, bool disableColor); - void setIgnoreColorCode(bool); - void setString(gd::string); - void showAll(); - TodoReturn stopAllCharacterActions(); - - virtual void update(float); - virtual void draw() {} - virtual void setOpacity(unsigned char); - - bool m_disableColor; // 0x1e4 - MultilineBitmapFont* m_label; // 0x1e8 - float m_width; // 0x1ec - int m_unknown; // 0x1f0 - gd::string m_fontFile; // 0x1f4 - float m_height; // 0x20c - PAD = win 0x4; - cocos2d::CCPoint m_anchorPoint; -} - -[[link(android)]] -class TextAreaDelegate { - virtual TodoReturn fadeInTextFinished(TextArea*); -} - -[[link(android)]] -class TextGameObject : GameObject { - // virtual ~TextGameObject(); - - static TextGameObject* create(cocos2d::CCTexture2D*); - - bool init(cocos2d::CCTexture2D*); - void updateTextObject(gd::string, bool); - - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); - virtual TodoReturn updateTextKerning(int); - virtual TodoReturn getTextKerning(); - - gd::string m_text; - // property 488 - int m_kerning; -} - -[[link(android)]] -class TextInputDelegate { - virtual void textChanged(CCTextInputNode*) {} - virtual void textInputOpened(CCTextInputNode*) {} - virtual void textInputClosed(CCTextInputNode*) {} - virtual void textInputShouldOffset(CCTextInputNode*, float) {} - virtual void textInputReturn(CCTextInputNode*) {} - virtual bool allowTextInput(CCTextInputNode*) { return true; } - virtual void enterPressed(CCTextInputNode*) {} -} - -[[link(android)]] -class TextStyleSection : cocos2d::CCObject { - // virtual ~TextStyleSection(); - - static TextStyleSection* create(int, int, TextStyleType); - - TodoReturn createColoredSection(cocos2d::ccColor3B, int, int); - TodoReturn createDelaySection(int, float); - TodoReturn createInstantSection(int, int, float); - TodoReturn createShakeSection(int, int, int, int); - bool init(int, int, TextStyleType); -} - -[[link(android)]] -class TimerTriggerGameObject : EffectGameObject { - // virtual ~TimerTriggerGameObject(); - - static TimerTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TopArtistsLayer : FLAlertLayer, OnlineListDelegate { - // virtual ~TopArtistsLayer(); - - static TopArtistsLayer* create(); - - bool isCorrect(char const*); - void loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNextPage(cocos2d::CCObject* sender); - void onPrevPage(cocos2d::CCObject* sender); - TodoReturn setupLeaderboard(cocos2d::CCArray*); - TodoReturn updateLevelsLabel(); - - virtual bool init(); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void show(); - virtual void loadListFinished(cocos2d::CCArray*, char const*); - virtual void loadListFailed(char const*); - virtual void setupPageInfo(gd::string, char const*); -} - -[[link(android)]] -class TOSPopup : FLAlertLayer { - // virtual ~TOSPopup(); - - static TOSPopup* create(); - - void onClose(cocos2d::CCObject* sender); - void onPrivacy(cocos2d::CCObject* sender); - void onTOS(cocos2d::CCObject* sender); - - virtual bool init(); - virtual void keyBackClicked() {} -} - -[[link(android)]] -class TransformTriggerGameObject : EffectGameObject { - // virtual ~TransformTriggerGameObject(); - - static TransformTriggerGameObject* create(char const*); - - bool init(char const*); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerControlGameObject : EffectGameObject { - // virtual ~TriggerControlGameObject(); - - static TriggerControlGameObject* create(char const*); - - bool init(char const*); - TodoReturn updateTriggerControlFrame(); - - virtual void triggerObject(GJBaseGameLayer*, int, gd::vector const*); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class TriggerEffectDelegate { - virtual void toggleGroupTriggered(int, bool, gd::vector const&, int, int) {} - virtual void spawnGroup(int, bool, double, gd::vector const&, int, int) {} - virtual void spawnObject(GameObject*, double, gd::vector const&) {} -} - -[[link(android)]] -class TutorialLayer : FLAlertLayer { - // virtual ~TutorialLayer(); - - static TutorialLayer* create(); - - void loadPage(int); - void onClose(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - TodoReturn removeTutorialTexture(); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class TutorialPopup : FLAlertLayer { - // virtual ~TutorialPopup(); - - static TutorialPopup* create(gd::string); - - TodoReturn animateMenu(); - TodoReturn closeTutorial(cocos2d::CCObject*); - bool init(gd::string); - TodoReturn registerForCallback(cocos2d::SEL_MenuHandler, cocos2d::CCNode*); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class UIButtonConfig { - TodoReturn reset(); - TodoReturn resetOneBtn(); - - PAD = win 0x28, android32 0x28, android64 0x28; -} - -[[link(android)]] -class UILayer : cocos2d::CCLayerColor { - // virtual ~UILayer(); - - static UILayer* create(GJBaseGameLayer*); - - void disableMenu(); - void editorPlaytest(bool); - void enableEditorMode(); - void enableMenu(); - TodoReturn handleKeypress(cocos2d::enumKeyCodes, bool); - bool init(GJBaseGameLayer*); - bool isJumpButtonPressed(bool); - void onCheck(cocos2d::CCObject* sender); - void onDeleteCheck(cocos2d::CCObject* sender); - void onPause(cocos2d::CCObject* sender); - void processUINodesTouch(GJUITouchEvent, cocos2d::CCTouch*); - void processUINodeTouch(GJUITouchEvent, int, cocos2d::CCPoint, GJUINode*); - void refreshDpad(); - void resetAllButtons(); - void resetUINodeState(); - void toggleCheckpointsMenu(bool); - void toggleMenuVisibility(bool); - void togglePlatformerMode(bool); - void updateCheckState(); - void updateDualMode(bool); - void updateUINodeVisibility(bool); - - virtual void draw() {} - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void keyBackClicked(); - virtual void keyDown(cocos2d::enumKeyCodes); - virtual void keyUp(cocos2d::enumKeyCodes); - - // This member is here because rob managed to inhert CCKeyboardDelegate twice - // in this class, which ended up breaking addresser when trying to hook it. - // so instead, we removed the second CCKeyboardDelegate from the base class list - // and put this member here to take the place of its vtable - void* m_stupidDelegate; -} - -[[link(android)]] -class UIObjectSettingsPopup : SetupTriggerPopup { - // virtual ~UIObjectSettingsPopup(); - - static UIObjectSettingsPopup* create(UISettingsGameObject*, cocos2d::CCArray*); - - bool init(UISettingsGameObject*, cocos2d::CCArray*); - - virtual void onCustomToggleTriggerValue(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UIOptionsLayer : SetupTriggerPopup { - // virtual ~UIOptionsLayer(); - - static UIOptionsLayer* create(bool); - - TodoReturn getNode(int); - bool init(bool); - void onReset(cocos2d::CCObject* sender); - void onSaveLoad(cocos2d::CCObject* sender); - TodoReturn toggleUIGroup(int); - - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual TodoReturn getValue(int); -} - -[[link(android)]] -class UIPOptionsLayer { - // virtual ~UIPOptionsLayer(); - - static UIPOptionsLayer* create(); - - TodoReturn getTouchRect(); - void onReset(cocos2d::CCObject* sender); - - virtual bool init(); - virtual bool ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchEnded(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void ccTouchCancelled(cocos2d::CCTouch*, cocos2d::CCEvent*); - virtual void registerWithTouchDispatcher(); - virtual void onClose(cocos2d::CCObject* sender); - virtual void valueDidChange(int, float); - virtual TodoReturn getValue(int); -} - -[[link(android)]] -class UISaveLoadLayer : SetupTriggerPopup { - // virtual ~UISaveLoadLayer(); - - static UISaveLoadLayer* create(UIOptionsLayer*); - - bool init(UIOptionsLayer*); - void onLoad(cocos2d::CCObject* sender); - void onSave(cocos2d::CCObject* sender); -} - -[[link(android)]] -class UISettingsGameObject : EffectGameObject { - // virtual ~UISettingsGameObject(); - - static UISettingsGameObject* create(); - - virtual bool init(); - virtual void customObjectSetup(gd::vector&, gd::vector&); - virtual gd::string getSaveString(GJBaseGameLayer*); -} - -[[link(android)]] -class UndoObject : cocos2d::CCObject { - // virtual ~UndoObject(); - // UndoObject(); - - static UndoObject* create(GameObject*, UndoCommand); - static UndoObject* createWithArray(cocos2d::CCArray*, UndoCommand); - static UndoObject* createWithTransformObjects(cocos2d::CCArray*, UndoCommand); - - bool init(cocos2d::CCArray*, UndoCommand); - bool init(GameObject*, UndoCommand); - TodoReturn initWithTransformObjects(cocos2d::CCArray*, UndoCommand); - void setObjects(cocos2d::CCArray*); - - GameObjectCopy* m_objectCopy; - UndoCommand m_command; - cocos2d::CCArray* m_objects; - bool m_redo; -} - -[[link(android)]] -class UpdateAccountSettingsPopup : FLAlertLayer, GJAccountSettingsDelegate { - // virtual ~UpdateAccountSettingsPopup(); - - static UpdateAccountSettingsPopup* create(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - - bool init(GJAccountSettingsLayer*, int, int, int, gd::string, gd::string, gd::string); - void onClose(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual TodoReturn updateSettingsFinished(); - virtual TodoReturn updateSettingsFailed(); -} - -[[link(android)]] -class UploadActionDelegate { - virtual void uploadActionFinished(int, int) {} - virtual void uploadActionFailed(int, int) {} -} - -[[link(android)]] -class UploadActionPopup : FLAlertLayer { - // virtual ~UploadActionPopup(); - - static UploadActionPopup* create(UploadPopupDelegate*, gd::string); - - TodoReturn closePopup(); - bool init(UploadPopupDelegate*, gd::string); - void onClose(cocos2d::CCObject* sender); - void showFailMessage(gd::string); - void showSuccessMessage(gd::string); - - virtual void keyBackClicked(); -} - -[[link(android)]] -class UploadListPopup : FLAlertLayer, ListUploadDelegate { - // virtual ~UploadListPopup(); - - static UploadListPopup* create(GJLevelList*); - - bool init(GJLevelList*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToList(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} - virtual void show(); - virtual TodoReturn listUploadFinished(GJLevelList*); - virtual TodoReturn listUploadFailed(GJLevelList*, int); -} - -[[link(android)]] -class UploadMessageDelegate { - virtual void uploadMessageFinished(int); - virtual void uploadMessageFailed(int); -} - -[[link(android)]] -class UploadPopup : FLAlertLayer, LevelUploadDelegate { - // virtual ~UploadPopup(); - - static UploadPopup* create(GJGameLevel*); - - bool init(GJGameLevel*); - void onBack(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onReturnToLevel(cocos2d::CCObject* sender); - - virtual void keyBackClicked() {} - virtual void show(); - virtual void levelUploadFinished(GJGameLevel*); - virtual void levelUploadFailed(GJGameLevel*); -} - -[[link(android)]] -class UploadPopupDelegate { - virtual void onClosePopup(UploadActionPopup*) {} -} - -[[link(android)]] -class URLCell : TableViewCell { - // virtual ~URLCell(); - URLCell(char const*, float, float); - - void loadFromObject(CCURLObject*); - void onURL(cocos2d::CCObject* sender); - TodoReturn updateBGColor(int); - - virtual bool init(); - virtual void draw(); -} - -[[link(android)]] -class URLViewLayer : GJDropDownLayer { - // virtual ~URLViewLayer(); - - static URLViewLayer* create(gd::string, cocos2d::CCArray*); - - bool init(gd::string, cocos2d::CCArray*); -} - -[[link(android)]] -class UserInfoDelegate { - virtual void getUserInfoFinished(GJUserScore*); - virtual void getUserInfoFailed(int); - virtual void userInfoChanged(GJUserScore*); -} - -[[link(android)]] -class UserListDelegate { - virtual void getUserListFinished(cocos2d::CCArray*, UserListType); - virtual void getUserListFailed(UserListType, GJErrorCode); - virtual void userListChanged(cocos2d::CCArray*, UserListType); - virtual void forceReloadList(UserListType); -} - -[[link(android)]] -class VideoOptionsLayer : FLAlertLayer { - // virtual ~VideoOptionsLayer(); - - static VideoOptionsLayer* create(); - - TodoReturn createToggleButton(gd::string, cocos2d::SEL_MenuHandler, bool, cocos2d::CCMenu*, cocos2d::CCPoint, float, float, bool, cocos2d::CCArray*); - void onAdvanced(cocos2d::CCObject* sender); - void onApply(cocos2d::CCObject* sender); - void onBorderless(cocos2d::CCObject* sender); - void onClose(cocos2d::CCObject* sender); - void onFullscreen(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onResolutionNext(cocos2d::CCObject* sender); - void onResolutionPrev(cocos2d::CCObject* sender); - void onTextureQualityNext(cocos2d::CCObject* sender); - void onTextureQualityPrev(cocos2d::CCObject* sender); - TodoReturn reloadMenu(); - TodoReturn toggleResolution(); - TodoReturn updateResolution(int); - TodoReturn updateTextureQuality(int); - - virtual bool init(); - virtual void keyBackClicked(); -} - -[[link(android)]] -class WorldLevelPage : FLAlertLayer { - // virtual ~WorldLevelPage(); - - static WorldLevelPage* create(GJGameLevel*, GJWorldNode*); - - bool init(GJGameLevel*, GJWorldNode*); - void onClose(cocos2d::CCObject* sender); - void onInfo(cocos2d::CCObject* sender); - void onPlay(cocos2d::CCObject* sender); - void onSong(cocos2d::CCObject* sender); - - virtual void keyBackClicked(); - virtual void show(); -} - -[[link(android)]] -class WorldSelectLayer : cocos2d::CCLayer, BoomScrollLayerDelegate { - // virtual ~WorldSelectLayer(); - - static WorldSelectLayer* create(int); - - TodoReturn animateInActiveIsland(); - cocos2d::ccColor3B colorForPage(int); - TodoReturn getColorValue(int, int, float); - void goToPage(int, bool); - bool init(int); - void onBack(cocos2d::CCObject* sender); - void onFreeLevels(cocos2d::CCObject* sender); - void onGarage(cocos2d::CCObject* sender); - void onNext(cocos2d::CCObject* sender); - void onPrev(cocos2d::CCObject* sender); - static cocos2d::CCScene* scene(int); - TodoReturn setupWorlds(); - void showCompleteDialog(); - TodoReturn tryShowAd(); - TodoReturn unblockButtons(); - TodoReturn updateArrows(); - - virtual void onExit(); - virtual void keyBackClicked(); - virtual void scrollLayerWillScrollToPage(BoomScrollLayer*, int); - virtual void scrollLayerScrolledToPage(BoomScrollLayer*, int); - virtual void scrollLayerMoved(cocos2d::CCPoint); -} diff --git a/bindings/cmake/CPM.cmake b/bindings/cmake/CPM.cmake deleted file mode 100644 index 1b4cfcc..0000000 --- a/bindings/cmake/CPM.cmake +++ /dev/null @@ -1,1159 +0,0 @@ -# CPM.cmake - CMake's missing package manager -# =========================================== -# See https://github.com/cpm-cmake/CPM.cmake for usage and update instructions. -# -# MIT License -# ----------- -#[[ - Copyright (c) 2019-2023 Lars Melchior and contributors - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. -]] - -cmake_minimum_required(VERSION 3.14 FATAL_ERROR) - -# Initialize logging prefix -if(NOT CPM_INDENT) - set(CPM_INDENT - "CPM:" - CACHE INTERNAL "" - ) -endif() - -if(NOT COMMAND cpm_message) - function(cpm_message) - message(${ARGV}) - endfunction() -endif() - -set(CURRENT_CPM_VERSION 0.39.0) - -get_filename_component(CPM_CURRENT_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}" REALPATH) -if(CPM_DIRECTORY) - if(NOT CPM_DIRECTORY STREQUAL CPM_CURRENT_DIRECTORY) - if(CPM_VERSION VERSION_LESS CURRENT_CPM_VERSION) - message( - AUTHOR_WARNING - "${CPM_INDENT} \ -A dependency is using a more recent CPM version (${CURRENT_CPM_VERSION}) than the current project (${CPM_VERSION}). \ -It is recommended to upgrade CPM to the most recent version. \ -See https://github.com/cpm-cmake/CPM.cmake for more information." - ) - endif() - if(${CMAKE_VERSION} VERSION_LESS "3.17.0") - include(FetchContent) - endif() - return() - endif() - - get_property( - CPM_INITIALIZED GLOBAL "" - PROPERTY CPM_INITIALIZED - SET - ) - if(CPM_INITIALIZED) - return() - endif() -endif() - -if(CURRENT_CPM_VERSION MATCHES "development-version") - message( - WARNING "${CPM_INDENT} Your project is using an unstable development version of CPM.cmake. \ -Please update to a recent release if possible. \ -See https://github.com/cpm-cmake/CPM.cmake for details." - ) -endif() - -set_property(GLOBAL PROPERTY CPM_INITIALIZED true) - -macro(cpm_set_policies) - # the policy allows us to change options without caching - cmake_policy(SET CMP0077 NEW) - set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) - - # the policy allows us to change set(CACHE) without caching - if(POLICY CMP0126) - cmake_policy(SET CMP0126 NEW) - set(CMAKE_POLICY_DEFAULT_CMP0126 NEW) - endif() - - # The policy uses the download time for timestamp, instead of the timestamp in the archive. This - # allows for proper rebuilds when a projects url changes - if(POLICY CMP0135) - cmake_policy(SET CMP0135 NEW) - set(CMAKE_POLICY_DEFAULT_CMP0135 NEW) - endif() - - # treat relative git repository paths as being relative to the parent project's remote - if(POLICY CMP0150) - cmake_policy(SET CMP0150 NEW) - set(CMAKE_POLICY_DEFAULT_CMP0150 NEW) - endif() -endmacro() -cpm_set_policies() - -option(CPM_USE_LOCAL_PACKAGES "Always try to use `find_package` to get dependencies" - $ENV{CPM_USE_LOCAL_PACKAGES} -) -option(CPM_LOCAL_PACKAGES_ONLY "Only use `find_package` to get dependencies" - $ENV{CPM_LOCAL_PACKAGES_ONLY} -) -option(CPM_DOWNLOAD_ALL "Always download dependencies from source" $ENV{CPM_DOWNLOAD_ALL}) -option(CPM_DONT_UPDATE_MODULE_PATH "Don't update the module path to allow using find_package" - $ENV{CPM_DONT_UPDATE_MODULE_PATH} -) -option(CPM_DONT_CREATE_PACKAGE_LOCK "Don't create a package lock file in the binary path" - $ENV{CPM_DONT_CREATE_PACKAGE_LOCK} -) -option(CPM_INCLUDE_ALL_IN_PACKAGE_LOCK - "Add all packages added through CPM.cmake to the package lock" - $ENV{CPM_INCLUDE_ALL_IN_PACKAGE_LOCK} -) -option(CPM_USE_NAMED_CACHE_DIRECTORIES - "Use additional directory of package name in cache on the most nested level." - $ENV{CPM_USE_NAMED_CACHE_DIRECTORIES} -) - -set(CPM_VERSION - ${CURRENT_CPM_VERSION} - CACHE INTERNAL "" -) -set(CPM_DIRECTORY - ${CPM_CURRENT_DIRECTORY} - CACHE INTERNAL "" -) -set(CPM_FILE - ${CMAKE_CURRENT_LIST_FILE} - CACHE INTERNAL "" -) -set(CPM_PACKAGES - "" - CACHE INTERNAL "" -) -set(CPM_DRY_RUN - OFF - CACHE INTERNAL "Don't download or configure dependencies (for testing)" -) - -if(DEFINED ENV{CPM_SOURCE_CACHE}) - set(CPM_SOURCE_CACHE_DEFAULT $ENV{CPM_SOURCE_CACHE}) -else() - set(CPM_SOURCE_CACHE_DEFAULT OFF) -endif() - -set(CPM_SOURCE_CACHE - ${CPM_SOURCE_CACHE_DEFAULT} - CACHE PATH "Directory to download CPM dependencies" -) - -if(NOT CPM_DONT_UPDATE_MODULE_PATH) - set(CPM_MODULE_PATH - "${CMAKE_BINARY_DIR}/CPM_modules" - CACHE INTERNAL "" - ) - # remove old modules - file(REMOVE_RECURSE ${CPM_MODULE_PATH}) - file(MAKE_DIRECTORY ${CPM_MODULE_PATH}) - # locally added CPM modules should override global packages - set(CMAKE_MODULE_PATH "${CPM_MODULE_PATH};${CMAKE_MODULE_PATH}") -endif() - -if(NOT CPM_DONT_CREATE_PACKAGE_LOCK) - set(CPM_PACKAGE_LOCK_FILE - "${CMAKE_BINARY_DIR}/cpm-package-lock.cmake" - CACHE INTERNAL "" - ) - file(WRITE ${CPM_PACKAGE_LOCK_FILE} - "# CPM Package Lock\n# This file should be committed to version control\n\n" - ) -endif() - -include(FetchContent) - -# Try to infer package name from git repository uri (path or url) -function(cpm_package_name_from_git_uri URI RESULT) - if("${URI}" MATCHES "([^/:]+)/?.git/?$") - set(${RESULT} - ${CMAKE_MATCH_1} - PARENT_SCOPE - ) - else() - unset(${RESULT} PARENT_SCOPE) - endif() -endfunction() - -# Try to infer package name and version from a url -function(cpm_package_name_and_ver_from_url url outName outVer) - if(url MATCHES "[/\\?]([a-zA-Z0-9_\\.-]+)\\.(tar|tar\\.gz|tar\\.bz2|zip|ZIP)(\\?|/|$)") - # We matched an archive - set(filename "${CMAKE_MATCH_1}") - - if(filename MATCHES "([a-zA-Z0-9_\\.-]+)[_-]v?(([0-9]+\\.)*[0-9]+[a-zA-Z0-9]*)") - # We matched - (ie foo-1.2.3) - set(${outName} - "${CMAKE_MATCH_1}" - PARENT_SCOPE - ) - set(${outVer} - "${CMAKE_MATCH_2}" - PARENT_SCOPE - ) - elseif(filename MATCHES "(([0-9]+\\.)+[0-9]+[a-zA-Z0-9]*)") - # We couldn't find a name, but we found a version - # - # In many cases (which we don't handle here) the url would look something like - # `irrelevant/ACTUAL_PACKAGE_NAME/irrelevant/1.2.3.zip`. In such a case we can't possibly - # distinguish the package name from the irrelevant bits. Moreover if we try to match the - # package name from the filename, we'd get bogus at best. - unset(${outName} PARENT_SCOPE) - set(${outVer} - "${CMAKE_MATCH_1}" - PARENT_SCOPE - ) - else() - # Boldly assume that the file name is the package name. - # - # Yes, something like `irrelevant/ACTUAL_NAME/irrelevant/download.zip` will ruin our day, but - # such cases should be quite rare. No popular service does this... we think. - set(${outName} - "${filename}" - PARENT_SCOPE - ) - unset(${outVer} PARENT_SCOPE) - endif() - else() - # No ideas yet what to do with non-archives - unset(${outName} PARENT_SCOPE) - unset(${outVer} PARENT_SCOPE) - endif() -endfunction() - -function(cpm_find_package NAME VERSION) - string(REPLACE " " ";" EXTRA_ARGS "${ARGN}") - find_package(${NAME} ${VERSION} ${EXTRA_ARGS} QUIET) - if(${CPM_ARGS_NAME}_FOUND) - if(DEFINED ${CPM_ARGS_NAME}_VERSION) - set(VERSION ${${CPM_ARGS_NAME}_VERSION}) - endif() - cpm_message(STATUS "${CPM_INDENT} Using local package ${CPM_ARGS_NAME}@${VERSION}") - CPMRegisterPackage(${CPM_ARGS_NAME} "${VERSION}") - set(CPM_PACKAGE_FOUND - YES - PARENT_SCOPE - ) - else() - set(CPM_PACKAGE_FOUND - NO - PARENT_SCOPE - ) - endif() -endfunction() - -# Create a custom FindXXX.cmake module for a CPM package This prevents `find_package(NAME)` from -# finding the system library -function(cpm_create_module_file Name) - if(NOT CPM_DONT_UPDATE_MODULE_PATH) - # erase any previous modules - file(WRITE ${CPM_MODULE_PATH}/Find${Name}.cmake - "include(\"${CPM_FILE}\")\n${ARGN}\nset(${Name}_FOUND TRUE)" - ) - endif() -endfunction() - -# Find a package locally or fallback to CPMAddPackage -function(CPMFindPackage) - set(oneValueArgs NAME VERSION GIT_TAG FIND_PACKAGE_ARGUMENTS) - - cmake_parse_arguments(CPM_ARGS "" "${oneValueArgs}" "" ${ARGN}) - - if(NOT DEFINED CPM_ARGS_VERSION) - if(DEFINED CPM_ARGS_GIT_TAG) - cpm_get_version_from_git_tag("${CPM_ARGS_GIT_TAG}" CPM_ARGS_VERSION) - endif() - endif() - - set(downloadPackage ${CPM_DOWNLOAD_ALL}) - if(DEFINED CPM_DOWNLOAD_${CPM_ARGS_NAME}) - set(downloadPackage ${CPM_DOWNLOAD_${CPM_ARGS_NAME}}) - elseif(DEFINED ENV{CPM_DOWNLOAD_${CPM_ARGS_NAME}}) - set(downloadPackage $ENV{CPM_DOWNLOAD_${CPM_ARGS_NAME}}) - endif() - if(downloadPackage) - CPMAddPackage(${ARGN}) - cpm_export_variables(${CPM_ARGS_NAME}) - return() - endif() - - cpm_find_package(${CPM_ARGS_NAME} "${CPM_ARGS_VERSION}" ${CPM_ARGS_FIND_PACKAGE_ARGUMENTS}) - - if(NOT CPM_PACKAGE_FOUND) - CPMAddPackage(${ARGN}) - cpm_export_variables(${CPM_ARGS_NAME}) - endif() - -endfunction() - -# checks if a package has been added before -function(cpm_check_if_package_already_added CPM_ARGS_NAME CPM_ARGS_VERSION) - if("${CPM_ARGS_NAME}" IN_LIST CPM_PACKAGES) - CPMGetPackageVersion(${CPM_ARGS_NAME} CPM_PACKAGE_VERSION) - if("${CPM_PACKAGE_VERSION}" VERSION_LESS "${CPM_ARGS_VERSION}") - message( - WARNING - "${CPM_INDENT} Requires a newer version of ${CPM_ARGS_NAME} (${CPM_ARGS_VERSION}) than currently included (${CPM_PACKAGE_VERSION})." - ) - endif() - cpm_get_fetch_properties(${CPM_ARGS_NAME}) - set(${CPM_ARGS_NAME}_ADDED NO) - set(CPM_PACKAGE_ALREADY_ADDED - YES - PARENT_SCOPE - ) - cpm_export_variables(${CPM_ARGS_NAME}) - else() - set(CPM_PACKAGE_ALREADY_ADDED - NO - PARENT_SCOPE - ) - endif() -endfunction() - -# Parse the argument of CPMAddPackage in case a single one was provided and convert it to a list of -# arguments which can then be parsed idiomatically. For example gh:foo/bar@1.2.3 will be converted -# to: GITHUB_REPOSITORY;foo/bar;VERSION;1.2.3 -function(cpm_parse_add_package_single_arg arg outArgs) - # Look for a scheme - if("${arg}" MATCHES "^([a-zA-Z]+):(.+)$") - string(TOLOWER "${CMAKE_MATCH_1}" scheme) - set(uri "${CMAKE_MATCH_2}") - - # Check for CPM-specific schemes - if(scheme STREQUAL "gh") - set(out "GITHUB_REPOSITORY;${uri}") - set(packageType "git") - elseif(scheme STREQUAL "gl") - set(out "GITLAB_REPOSITORY;${uri}") - set(packageType "git") - elseif(scheme STREQUAL "bb") - set(out "BITBUCKET_REPOSITORY;${uri}") - set(packageType "git") - # A CPM-specific scheme was not found. Looks like this is a generic URL so try to determine - # type - elseif(arg MATCHES ".git/?(@|#|$)") - set(out "GIT_REPOSITORY;${arg}") - set(packageType "git") - else() - # Fall back to a URL - set(out "URL;${arg}") - set(packageType "archive") - - # We could also check for SVN since FetchContent supports it, but SVN is so rare these days. - # We just won't bother with the additional complexity it will induce in this function. SVN is - # done by multi-arg - endif() - else() - if(arg MATCHES ".git/?(@|#|$)") - set(out "GIT_REPOSITORY;${arg}") - set(packageType "git") - else() - # Give up - message(FATAL_ERROR "${CPM_INDENT} Can't determine package type of '${arg}'") - endif() - endif() - - # For all packages we interpret @... as version. Only replace the last occurrence. Thus URIs - # containing '@' can be used - string(REGEX REPLACE "@([^@]+)$" ";VERSION;\\1" out "${out}") - - # Parse the rest according to package type - if(packageType STREQUAL "git") - # For git repos we interpret #... as a tag or branch or commit hash - string(REGEX REPLACE "#([^#]+)$" ";GIT_TAG;\\1" out "${out}") - elseif(packageType STREQUAL "archive") - # For archives we interpret #... as a URL hash. - string(REGEX REPLACE "#([^#]+)$" ";URL_HASH;\\1" out "${out}") - # We don't try to parse the version if it's not provided explicitly. cpm_get_version_from_url - # should do this at a later point - else() - # We should never get here. This is an assertion and hitting it means there's a bug in the code - # above. A packageType was set, but not handled by this if-else. - message(FATAL_ERROR "${CPM_INDENT} Unsupported package type '${packageType}' of '${arg}'") - endif() - - set(${outArgs} - ${out} - PARENT_SCOPE - ) -endfunction() - -# Check that the working directory for a git repo is clean -function(cpm_check_git_working_dir_is_clean repoPath gitTag isClean) - - find_package(Git REQUIRED) - - if(NOT GIT_EXECUTABLE) - # No git executable, assume directory is clean - set(${isClean} - TRUE - PARENT_SCOPE - ) - return() - endif() - - # check for uncommitted changes - execute_process( - COMMAND ${GIT_EXECUTABLE} status --porcelain - RESULT_VARIABLE resultGitStatus - OUTPUT_VARIABLE repoStatus - OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET - WORKING_DIRECTORY ${repoPath} - ) - if(resultGitStatus) - # not supposed to happen, assume clean anyway - message(WARNING "${CPM_INDENT} Calling git status on folder ${repoPath} failed") - set(${isClean} - TRUE - PARENT_SCOPE - ) - return() - endif() - - if(NOT "${repoStatus}" STREQUAL "") - set(${isClean} - FALSE - PARENT_SCOPE - ) - return() - endif() - - # check for committed changes - execute_process( - COMMAND ${GIT_EXECUTABLE} diff -s --exit-code ${gitTag} - RESULT_VARIABLE resultGitDiff - OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_QUIET - WORKING_DIRECTORY ${repoPath} - ) - - if(${resultGitDiff} EQUAL 0) - set(${isClean} - TRUE - PARENT_SCOPE - ) - else() - set(${isClean} - FALSE - PARENT_SCOPE - ) - endif() - -endfunction() - -# method to overwrite internal FetchContent properties, to allow using CPM.cmake to overload -# FetchContent calls. As these are internal cmake properties, this method should be used carefully -# and may need modification in future CMake versions. Source: -# https://github.com/Kitware/CMake/blob/dc3d0b5a0a7d26d43d6cfeb511e224533b5d188f/Modules/FetchContent.cmake#L1152 -function(cpm_override_fetchcontent contentName) - cmake_parse_arguments(PARSE_ARGV 1 arg "" "SOURCE_DIR;BINARY_DIR" "") - if(NOT "${arg_UNPARSED_ARGUMENTS}" STREQUAL "") - message(FATAL_ERROR "${CPM_INDENT} Unsupported arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - string(TOLOWER ${contentName} contentNameLower) - set(prefix "_FetchContent_${contentNameLower}") - - set(propertyName "${prefix}_sourceDir") - define_property( - GLOBAL - PROPERTY ${propertyName} - BRIEF_DOCS "Internal implementation detail of FetchContent_Populate()" - FULL_DOCS "Details used by FetchContent_Populate() for ${contentName}" - ) - set_property(GLOBAL PROPERTY ${propertyName} "${arg_SOURCE_DIR}") - - set(propertyName "${prefix}_binaryDir") - define_property( - GLOBAL - PROPERTY ${propertyName} - BRIEF_DOCS "Internal implementation detail of FetchContent_Populate()" - FULL_DOCS "Details used by FetchContent_Populate() for ${contentName}" - ) - set_property(GLOBAL PROPERTY ${propertyName} "${arg_BINARY_DIR}") - - set(propertyName "${prefix}_populated") - define_property( - GLOBAL - PROPERTY ${propertyName} - BRIEF_DOCS "Internal implementation detail of FetchContent_Populate()" - FULL_DOCS "Details used by FetchContent_Populate() for ${contentName}" - ) - set_property(GLOBAL PROPERTY ${propertyName} TRUE) -endfunction() - -# Download and add a package from source -function(CPMAddPackage) - cpm_set_policies() - - list(LENGTH ARGN argnLength) - if(argnLength EQUAL 1) - cpm_parse_add_package_single_arg("${ARGN}" ARGN) - - # The shorthand syntax implies EXCLUDE_FROM_ALL and SYSTEM - set(ARGN "${ARGN};EXCLUDE_FROM_ALL;YES;SYSTEM;YES;") - endif() - - set(oneValueArgs - NAME - FORCE - VERSION - GIT_TAG - DOWNLOAD_ONLY - GITHUB_REPOSITORY - GITLAB_REPOSITORY - BITBUCKET_REPOSITORY - GIT_REPOSITORY - SOURCE_DIR - FIND_PACKAGE_ARGUMENTS - NO_CACHE - SYSTEM - GIT_SHALLOW - EXCLUDE_FROM_ALL - SOURCE_SUBDIR - CUSTOM_CACHE_KEY - ) - - set(multiValueArgs URL OPTIONS DOWNLOAD_COMMAND) - - cmake_parse_arguments(CPM_ARGS "" "${oneValueArgs}" "${multiValueArgs}" "${ARGN}") - - # Set default values for arguments - - if(NOT DEFINED CPM_ARGS_VERSION) - if(DEFINED CPM_ARGS_GIT_TAG) - cpm_get_version_from_git_tag("${CPM_ARGS_GIT_TAG}" CPM_ARGS_VERSION) - endif() - endif() - - if(CPM_ARGS_DOWNLOAD_ONLY) - set(DOWNLOAD_ONLY ${CPM_ARGS_DOWNLOAD_ONLY}) - else() - set(DOWNLOAD_ONLY NO) - endif() - - if(DEFINED CPM_ARGS_GITHUB_REPOSITORY) - set(CPM_ARGS_GIT_REPOSITORY "https://github.com/${CPM_ARGS_GITHUB_REPOSITORY}.git") - elseif(DEFINED CPM_ARGS_GITLAB_REPOSITORY) - set(CPM_ARGS_GIT_REPOSITORY "https://gitlab.com/${CPM_ARGS_GITLAB_REPOSITORY}.git") - elseif(DEFINED CPM_ARGS_BITBUCKET_REPOSITORY) - set(CPM_ARGS_GIT_REPOSITORY "https://bitbucket.org/${CPM_ARGS_BITBUCKET_REPOSITORY}.git") - endif() - - if(DEFINED CPM_ARGS_GIT_REPOSITORY) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_REPOSITORY ${CPM_ARGS_GIT_REPOSITORY}) - if(NOT DEFINED CPM_ARGS_GIT_TAG) - set(CPM_ARGS_GIT_TAG v${CPM_ARGS_VERSION}) - endif() - - # If a name wasn't provided, try to infer it from the git repo - if(NOT DEFINED CPM_ARGS_NAME) - cpm_package_name_from_git_uri(${CPM_ARGS_GIT_REPOSITORY} CPM_ARGS_NAME) - endif() - endif() - - set(CPM_SKIP_FETCH FALSE) - - if(DEFINED CPM_ARGS_GIT_TAG) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_TAG ${CPM_ARGS_GIT_TAG}) - # If GIT_SHALLOW is explicitly specified, honor the value. - if(DEFINED CPM_ARGS_GIT_SHALLOW) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_SHALLOW ${CPM_ARGS_GIT_SHALLOW}) - endif() - endif() - - if(DEFINED CPM_ARGS_URL) - # If a name or version aren't provided, try to infer them from the URL - list(GET CPM_ARGS_URL 0 firstUrl) - cpm_package_name_and_ver_from_url(${firstUrl} nameFromUrl verFromUrl) - # If we fail to obtain name and version from the first URL, we could try other URLs if any. - # However multiple URLs are expected to be quite rare, so for now we won't bother. - - # If the caller provided their own name and version, they trump the inferred ones. - if(NOT DEFINED CPM_ARGS_NAME) - set(CPM_ARGS_NAME ${nameFromUrl}) - endif() - if(NOT DEFINED CPM_ARGS_VERSION) - set(CPM_ARGS_VERSION ${verFromUrl}) - endif() - - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS URL "${CPM_ARGS_URL}") - endif() - - # Check for required arguments - - if(NOT DEFINED CPM_ARGS_NAME) - message( - FATAL_ERROR - "${CPM_INDENT} 'NAME' was not provided and couldn't be automatically inferred for package added with arguments: '${ARGN}'" - ) - endif() - - # Check if package has been added before - cpm_check_if_package_already_added(${CPM_ARGS_NAME} "${CPM_ARGS_VERSION}") - if(CPM_PACKAGE_ALREADY_ADDED) - cpm_export_variables(${CPM_ARGS_NAME}) - return() - endif() - - # Check for manual overrides - if(NOT CPM_ARGS_FORCE AND NOT "${CPM_${CPM_ARGS_NAME}_SOURCE}" STREQUAL "") - set(PACKAGE_SOURCE ${CPM_${CPM_ARGS_NAME}_SOURCE}) - set(CPM_${CPM_ARGS_NAME}_SOURCE "") - CPMAddPackage( - NAME "${CPM_ARGS_NAME}" - SOURCE_DIR "${PACKAGE_SOURCE}" - EXCLUDE_FROM_ALL "${CPM_ARGS_EXCLUDE_FROM_ALL}" - SYSTEM "${CPM_ARGS_SYSTEM}" - OPTIONS "${CPM_ARGS_OPTIONS}" - SOURCE_SUBDIR "${CPM_ARGS_SOURCE_SUBDIR}" - DOWNLOAD_ONLY "${DOWNLOAD_ONLY}" - FORCE True - ) - cpm_export_variables(${CPM_ARGS_NAME}) - return() - endif() - - # Check for available declaration - if(NOT CPM_ARGS_FORCE AND NOT "${CPM_DECLARATION_${CPM_ARGS_NAME}}" STREQUAL "") - set(declaration ${CPM_DECLARATION_${CPM_ARGS_NAME}}) - set(CPM_DECLARATION_${CPM_ARGS_NAME} "") - CPMAddPackage(${declaration}) - cpm_export_variables(${CPM_ARGS_NAME}) - # checking again to ensure version and option compatibility - cpm_check_if_package_already_added(${CPM_ARGS_NAME} "${CPM_ARGS_VERSION}") - return() - endif() - - if(NOT CPM_ARGS_FORCE) - if(CPM_USE_LOCAL_PACKAGES OR CPM_LOCAL_PACKAGES_ONLY) - cpm_find_package(${CPM_ARGS_NAME} "${CPM_ARGS_VERSION}" ${CPM_ARGS_FIND_PACKAGE_ARGUMENTS}) - - if(CPM_PACKAGE_FOUND) - cpm_export_variables(${CPM_ARGS_NAME}) - return() - endif() - - if(CPM_LOCAL_PACKAGES_ONLY) - message( - SEND_ERROR - "${CPM_INDENT} ${CPM_ARGS_NAME} not found via find_package(${CPM_ARGS_NAME} ${CPM_ARGS_VERSION})" - ) - endif() - endif() - endif() - - CPMRegisterPackage("${CPM_ARGS_NAME}" "${CPM_ARGS_VERSION}") - - if(DEFINED CPM_ARGS_GIT_TAG) - set(PACKAGE_INFO "${CPM_ARGS_GIT_TAG}") - elseif(DEFINED CPM_ARGS_SOURCE_DIR) - set(PACKAGE_INFO "${CPM_ARGS_SOURCE_DIR}") - else() - set(PACKAGE_INFO "${CPM_ARGS_VERSION}") - endif() - - if(DEFINED FETCHCONTENT_BASE_DIR) - # respect user's FETCHCONTENT_BASE_DIR if set - set(CPM_FETCHCONTENT_BASE_DIR ${FETCHCONTENT_BASE_DIR}) - else() - set(CPM_FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/_deps) - endif() - - if(DEFINED CPM_ARGS_DOWNLOAD_COMMAND) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS DOWNLOAD_COMMAND ${CPM_ARGS_DOWNLOAD_COMMAND}) - elseif(DEFINED CPM_ARGS_SOURCE_DIR) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS SOURCE_DIR ${CPM_ARGS_SOURCE_DIR}) - if(NOT IS_ABSOLUTE ${CPM_ARGS_SOURCE_DIR}) - # Expand `CPM_ARGS_SOURCE_DIR` relative path. This is important because EXISTS doesn't work - # for relative paths. - get_filename_component( - source_directory ${CPM_ARGS_SOURCE_DIR} REALPATH BASE_DIR ${CMAKE_CURRENT_BINARY_DIR} - ) - else() - set(source_directory ${CPM_ARGS_SOURCE_DIR}) - endif() - if(NOT EXISTS ${source_directory}) - string(TOLOWER ${CPM_ARGS_NAME} lower_case_name) - # remove timestamps so CMake will re-download the dependency - file(REMOVE_RECURSE "${CPM_FETCHCONTENT_BASE_DIR}/${lower_case_name}-subbuild") - endif() - elseif(CPM_SOURCE_CACHE AND NOT CPM_ARGS_NO_CACHE) - string(TOLOWER ${CPM_ARGS_NAME} lower_case_name) - set(origin_parameters ${CPM_ARGS_UNPARSED_ARGUMENTS}) - list(SORT origin_parameters) - if(CPM_ARGS_CUSTOM_CACHE_KEY) - # Application set a custom unique directory name - set(download_directory ${CPM_SOURCE_CACHE}/${lower_case_name}/${CPM_ARGS_CUSTOM_CACHE_KEY}) - elseif(CPM_USE_NAMED_CACHE_DIRECTORIES) - string(SHA1 origin_hash "${origin_parameters};NEW_CACHE_STRUCTURE_TAG") - set(download_directory ${CPM_SOURCE_CACHE}/${lower_case_name}/${origin_hash}/${CPM_ARGS_NAME}) - else() - string(SHA1 origin_hash "${origin_parameters}") - set(download_directory ${CPM_SOURCE_CACHE}/${lower_case_name}/${origin_hash}) - endif() - # Expand `download_directory` relative path. This is important because EXISTS doesn't work for - # relative paths. - get_filename_component(download_directory ${download_directory} ABSOLUTE) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS SOURCE_DIR ${download_directory}) - - if(CPM_SOURCE_CACHE) - file(LOCK ${download_directory}/../cmake.lock) - endif() - - if(EXISTS ${download_directory}) - if(CPM_SOURCE_CACHE) - file(LOCK ${download_directory}/../cmake.lock RELEASE) - endif() - - cpm_store_fetch_properties( - ${CPM_ARGS_NAME} "${download_directory}" - "${CPM_FETCHCONTENT_BASE_DIR}/${lower_case_name}-build" - ) - cpm_get_fetch_properties("${CPM_ARGS_NAME}") - - if(DEFINED CPM_ARGS_GIT_TAG AND NOT (PATCH_COMMAND IN_LIST CPM_ARGS_UNPARSED_ARGUMENTS)) - # warn if cache has been changed since checkout - cpm_check_git_working_dir_is_clean(${download_directory} ${CPM_ARGS_GIT_TAG} IS_CLEAN) - if(NOT ${IS_CLEAN}) - message( - WARNING "${CPM_INDENT} Cache for ${CPM_ARGS_NAME} (${download_directory}) is dirty" - ) - endif() - endif() - - cpm_add_subdirectory( - "${CPM_ARGS_NAME}" - "${DOWNLOAD_ONLY}" - "${${CPM_ARGS_NAME}_SOURCE_DIR}/${CPM_ARGS_SOURCE_SUBDIR}" - "${${CPM_ARGS_NAME}_BINARY_DIR}" - "${CPM_ARGS_EXCLUDE_FROM_ALL}" - "${CPM_ARGS_SYSTEM}" - "${CPM_ARGS_OPTIONS}" - ) - set(PACKAGE_INFO "${PACKAGE_INFO} at ${download_directory}") - - # As the source dir is already cached/populated, we override the call to FetchContent. - set(CPM_SKIP_FETCH TRUE) - cpm_override_fetchcontent( - "${lower_case_name}" SOURCE_DIR "${${CPM_ARGS_NAME}_SOURCE_DIR}/${CPM_ARGS_SOURCE_SUBDIR}" - BINARY_DIR "${${CPM_ARGS_NAME}_BINARY_DIR}" - ) - - else() - # Enable shallow clone when GIT_TAG is not a commit hash. Our guess may not be accurate, but - # it should guarantee no commit hash get mis-detected. - if(NOT DEFINED CPM_ARGS_GIT_SHALLOW) - cpm_is_git_tag_commit_hash("${CPM_ARGS_GIT_TAG}" IS_HASH) - if(NOT ${IS_HASH}) - list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_SHALLOW TRUE) - endif() - endif() - - # remove timestamps so CMake will re-download the dependency - file(REMOVE_RECURSE ${CPM_FETCHCONTENT_BASE_DIR}/${lower_case_name}-subbuild) - set(PACKAGE_INFO "${PACKAGE_INFO} to ${download_directory}") - endif() - endif() - - cpm_create_module_file(${CPM_ARGS_NAME} "CPMAddPackage(\"${ARGN}\")") - - if(CPM_PACKAGE_LOCK_ENABLED) - if((CPM_ARGS_VERSION AND NOT CPM_ARGS_SOURCE_DIR) OR CPM_INCLUDE_ALL_IN_PACKAGE_LOCK) - cpm_add_to_package_lock(${CPM_ARGS_NAME} "${ARGN}") - elseif(CPM_ARGS_SOURCE_DIR) - cpm_add_comment_to_package_lock(${CPM_ARGS_NAME} "local directory") - else() - cpm_add_comment_to_package_lock(${CPM_ARGS_NAME} "${ARGN}") - endif() - endif() - - cpm_message( - STATUS "${CPM_INDENT} Adding package ${CPM_ARGS_NAME}@${CPM_ARGS_VERSION} (${PACKAGE_INFO})" - ) - - if(NOT CPM_SKIP_FETCH) - cpm_declare_fetch( - "${CPM_ARGS_NAME}" "${CPM_ARGS_VERSION}" "${PACKAGE_INFO}" "${CPM_ARGS_UNPARSED_ARGUMENTS}" - ) - cpm_fetch_package("${CPM_ARGS_NAME}" populated) - if(CPM_SOURCE_CACHE AND download_directory) - file(LOCK ${download_directory}/../cmake.lock RELEASE) - endif() - if(${populated}) - cpm_add_subdirectory( - "${CPM_ARGS_NAME}" - "${DOWNLOAD_ONLY}" - "${${CPM_ARGS_NAME}_SOURCE_DIR}/${CPM_ARGS_SOURCE_SUBDIR}" - "${${CPM_ARGS_NAME}_BINARY_DIR}" - "${CPM_ARGS_EXCLUDE_FROM_ALL}" - "${CPM_ARGS_SYSTEM}" - "${CPM_ARGS_OPTIONS}" - ) - endif() - cpm_get_fetch_properties("${CPM_ARGS_NAME}") - endif() - - set(${CPM_ARGS_NAME}_ADDED YES) - cpm_export_variables("${CPM_ARGS_NAME}") -endfunction() - -# Fetch a previously declared package -macro(CPMGetPackage Name) - if(DEFINED "CPM_DECLARATION_${Name}") - CPMAddPackage(NAME ${Name}) - else() - message(SEND_ERROR "${CPM_INDENT} Cannot retrieve package ${Name}: no declaration available") - endif() -endmacro() - -# export variables available to the caller to the parent scope expects ${CPM_ARGS_NAME} to be set -macro(cpm_export_variables name) - set(${name}_SOURCE_DIR - "${${name}_SOURCE_DIR}" - PARENT_SCOPE - ) - set(${name}_BINARY_DIR - "${${name}_BINARY_DIR}" - PARENT_SCOPE - ) - set(${name}_ADDED - "${${name}_ADDED}" - PARENT_SCOPE - ) - set(CPM_LAST_PACKAGE_NAME - "${name}" - PARENT_SCOPE - ) -endmacro() - -# declares a package, so that any call to CPMAddPackage for the package name will use these -# arguments instead. Previous declarations will not be overridden. -macro(CPMDeclarePackage Name) - if(NOT DEFINED "CPM_DECLARATION_${Name}") - set("CPM_DECLARATION_${Name}" "${ARGN}") - endif() -endmacro() - -function(cpm_add_to_package_lock Name) - if(NOT CPM_DONT_CREATE_PACKAGE_LOCK) - cpm_prettify_package_arguments(PRETTY_ARGN false ${ARGN}) - file(APPEND ${CPM_PACKAGE_LOCK_FILE} "# ${Name}\nCPMDeclarePackage(${Name}\n${PRETTY_ARGN})\n") - endif() -endfunction() - -function(cpm_add_comment_to_package_lock Name) - if(NOT CPM_DONT_CREATE_PACKAGE_LOCK) - cpm_prettify_package_arguments(PRETTY_ARGN true ${ARGN}) - file(APPEND ${CPM_PACKAGE_LOCK_FILE} - "# ${Name} (unversioned)\n# CPMDeclarePackage(${Name}\n${PRETTY_ARGN}#)\n" - ) - endif() -endfunction() - -# includes the package lock file if it exists and creates a target `cpm-update-package-lock` to -# update it -macro(CPMUsePackageLock file) - if(NOT CPM_DONT_CREATE_PACKAGE_LOCK) - get_filename_component(CPM_ABSOLUTE_PACKAGE_LOCK_PATH ${file} ABSOLUTE) - if(EXISTS ${CPM_ABSOLUTE_PACKAGE_LOCK_PATH}) - include(${CPM_ABSOLUTE_PACKAGE_LOCK_PATH}) - endif() - if(NOT TARGET cpm-update-package-lock) - add_custom_target( - cpm-update-package-lock COMMAND ${CMAKE_COMMAND} -E copy ${CPM_PACKAGE_LOCK_FILE} - ${CPM_ABSOLUTE_PACKAGE_LOCK_PATH} - ) - endif() - set(CPM_PACKAGE_LOCK_ENABLED true) - endif() -endmacro() - -# registers a package that has been added to CPM -function(CPMRegisterPackage PACKAGE VERSION) - list(APPEND CPM_PACKAGES ${PACKAGE}) - set(CPM_PACKAGES - ${CPM_PACKAGES} - CACHE INTERNAL "" - ) - set("CPM_PACKAGE_${PACKAGE}_VERSION" - ${VERSION} - CACHE INTERNAL "" - ) -endfunction() - -# retrieve the current version of the package to ${OUTPUT} -function(CPMGetPackageVersion PACKAGE OUTPUT) - set(${OUTPUT} - "${CPM_PACKAGE_${PACKAGE}_VERSION}" - PARENT_SCOPE - ) -endfunction() - -# declares a package in FetchContent_Declare -function(cpm_declare_fetch PACKAGE VERSION INFO) - if(${CPM_DRY_RUN}) - cpm_message(STATUS "${CPM_INDENT} Package not declared (dry run)") - return() - endif() - - FetchContent_Declare(${PACKAGE} ${ARGN}) -endfunction() - -# returns properties for a package previously defined by cpm_declare_fetch -function(cpm_get_fetch_properties PACKAGE) - if(${CPM_DRY_RUN}) - return() - endif() - - set(${PACKAGE}_SOURCE_DIR - "${CPM_PACKAGE_${PACKAGE}_SOURCE_DIR}" - PARENT_SCOPE - ) - set(${PACKAGE}_BINARY_DIR - "${CPM_PACKAGE_${PACKAGE}_BINARY_DIR}" - PARENT_SCOPE - ) -endfunction() - -function(cpm_store_fetch_properties PACKAGE source_dir binary_dir) - if(${CPM_DRY_RUN}) - return() - endif() - - set(CPM_PACKAGE_${PACKAGE}_SOURCE_DIR - "${source_dir}" - CACHE INTERNAL "" - ) - set(CPM_PACKAGE_${PACKAGE}_BINARY_DIR - "${binary_dir}" - CACHE INTERNAL "" - ) -endfunction() - -# adds a package as a subdirectory if viable, according to provided options -function( - cpm_add_subdirectory - PACKAGE - DOWNLOAD_ONLY - SOURCE_DIR - BINARY_DIR - EXCLUDE - SYSTEM - OPTIONS -) - - if(NOT DOWNLOAD_ONLY AND EXISTS ${SOURCE_DIR}/CMakeLists.txt) - set(addSubdirectoryExtraArgs "") - if(EXCLUDE) - list(APPEND addSubdirectoryExtraArgs EXCLUDE_FROM_ALL) - endif() - if("${SYSTEM}" AND "${CMAKE_VERSION}" VERSION_GREATER_EQUAL "3.25") - # https://cmake.org/cmake/help/latest/prop_dir/SYSTEM.html#prop_dir:SYSTEM - list(APPEND addSubdirectoryExtraArgs SYSTEM) - endif() - if(OPTIONS) - foreach(OPTION ${OPTIONS}) - cpm_parse_option("${OPTION}") - set(${OPTION_KEY} "${OPTION_VALUE}") - endforeach() - endif() - set(CPM_OLD_INDENT "${CPM_INDENT}") - set(CPM_INDENT "${CPM_INDENT} ${PACKAGE}:") - add_subdirectory(${SOURCE_DIR} ${BINARY_DIR} ${addSubdirectoryExtraArgs}) - set(CPM_INDENT "${CPM_OLD_INDENT}") - endif() -endfunction() - -# downloads a previously declared package via FetchContent and exports the variables -# `${PACKAGE}_SOURCE_DIR` and `${PACKAGE}_BINARY_DIR` to the parent scope -function(cpm_fetch_package PACKAGE populated) - set(${populated} - FALSE - PARENT_SCOPE - ) - if(${CPM_DRY_RUN}) - cpm_message(STATUS "${CPM_INDENT} Package ${PACKAGE} not fetched (dry run)") - return() - endif() - - FetchContent_GetProperties(${PACKAGE}) - - string(TOLOWER "${PACKAGE}" lower_case_name) - - if(NOT ${lower_case_name}_POPULATED) - FetchContent_Populate(${PACKAGE}) - set(${populated} - TRUE - PARENT_SCOPE - ) - endif() - - cpm_store_fetch_properties( - ${CPM_ARGS_NAME} ${${lower_case_name}_SOURCE_DIR} ${${lower_case_name}_BINARY_DIR} - ) - - set(${PACKAGE}_SOURCE_DIR - ${${lower_case_name}_SOURCE_DIR} - PARENT_SCOPE - ) - set(${PACKAGE}_BINARY_DIR - ${${lower_case_name}_BINARY_DIR} - PARENT_SCOPE - ) -endfunction() - -# splits a package option -function(cpm_parse_option OPTION) - string(REGEX MATCH "^[^ ]+" OPTION_KEY "${OPTION}") - string(LENGTH "${OPTION}" OPTION_LENGTH) - string(LENGTH "${OPTION_KEY}" OPTION_KEY_LENGTH) - if(OPTION_KEY_LENGTH STREQUAL OPTION_LENGTH) - # no value for key provided, assume user wants to set option to "ON" - set(OPTION_VALUE "ON") - else() - math(EXPR OPTION_KEY_LENGTH "${OPTION_KEY_LENGTH}+1") - string(SUBSTRING "${OPTION}" "${OPTION_KEY_LENGTH}" "-1" OPTION_VALUE) - endif() - set(OPTION_KEY - "${OPTION_KEY}" - PARENT_SCOPE - ) - set(OPTION_VALUE - "${OPTION_VALUE}" - PARENT_SCOPE - ) -endfunction() - -# guesses the package version from a git tag -function(cpm_get_version_from_git_tag GIT_TAG RESULT) - string(LENGTH ${GIT_TAG} length) - if(length EQUAL 40) - # GIT_TAG is probably a git hash - set(${RESULT} - 0 - PARENT_SCOPE - ) - else() - string(REGEX MATCH "v?([0123456789.]*).*" _ ${GIT_TAG}) - set(${RESULT} - ${CMAKE_MATCH_1} - PARENT_SCOPE - ) - endif() -endfunction() - -# guesses if the git tag is a commit hash or an actual tag or a branch name. -function(cpm_is_git_tag_commit_hash GIT_TAG RESULT) - string(LENGTH "${GIT_TAG}" length) - # full hash has 40 characters, and short hash has at least 7 characters. - if(length LESS 7 OR length GREATER 40) - set(${RESULT} - 0 - PARENT_SCOPE - ) - else() - if(${GIT_TAG} MATCHES "^[a-fA-F0-9]+$") - set(${RESULT} - 1 - PARENT_SCOPE - ) - else() - set(${RESULT} - 0 - PARENT_SCOPE - ) - endif() - endif() -endfunction() - -function(cpm_prettify_package_arguments OUT_VAR IS_IN_COMMENT) - set(oneValueArgs - NAME - FORCE - VERSION - GIT_TAG - DOWNLOAD_ONLY - GITHUB_REPOSITORY - GITLAB_REPOSITORY - BITBUCKET_REPOSITORY - GIT_REPOSITORY - SOURCE_DIR - FIND_PACKAGE_ARGUMENTS - NO_CACHE - SYSTEM - GIT_SHALLOW - EXCLUDE_FROM_ALL - SOURCE_SUBDIR - ) - set(multiValueArgs URL OPTIONS DOWNLOAD_COMMAND) - cmake_parse_arguments(CPM_ARGS "" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - foreach(oneArgName ${oneValueArgs}) - if(DEFINED CPM_ARGS_${oneArgName}) - if(${IS_IN_COMMENT}) - string(APPEND PRETTY_OUT_VAR "#") - endif() - if(${oneArgName} STREQUAL "SOURCE_DIR") - string(REPLACE ${CMAKE_SOURCE_DIR} "\${CMAKE_SOURCE_DIR}" CPM_ARGS_${oneArgName} - ${CPM_ARGS_${oneArgName}} - ) - endif() - string(APPEND PRETTY_OUT_VAR " ${oneArgName} ${CPM_ARGS_${oneArgName}}\n") - endif() - endforeach() - foreach(multiArgName ${multiValueArgs}) - if(DEFINED CPM_ARGS_${multiArgName}) - if(${IS_IN_COMMENT}) - string(APPEND PRETTY_OUT_VAR "#") - endif() - string(APPEND PRETTY_OUT_VAR " ${multiArgName}\n") - foreach(singleOption ${CPM_ARGS_${multiArgName}}) - if(${IS_IN_COMMENT}) - string(APPEND PRETTY_OUT_VAR "#") - endif() - string(APPEND PRETTY_OUT_VAR " \"${singleOption}\"\n") - endforeach() - endif() - endforeach() - - if(NOT "${CPM_ARGS_UNPARSED_ARGUMENTS}" STREQUAL "") - if(${IS_IN_COMMENT}) - string(APPEND PRETTY_OUT_VAR "#") - endif() - string(APPEND PRETTY_OUT_VAR " ") - foreach(CPM_ARGS_UNPARSED_ARGUMENT ${CPM_ARGS_UNPARSED_ARGUMENTS}) - string(APPEND PRETTY_OUT_VAR " ${CPM_ARGS_UNPARSED_ARGUMENT}") - endforeach() - string(APPEND PRETTY_OUT_VAR "\n") - endif() - - set(${OUT_VAR} - ${PRETTY_OUT_VAR} - PARENT_SCOPE - ) - -endfunction() diff --git a/bindings/codegen/CMakeLists.txt b/bindings/codegen/CMakeLists.txt deleted file mode 100644 index cd8b3dd..0000000 --- a/bindings/codegen/CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ -cmake_minimum_required(VERSION 3.21 FATAL_ERROR) -project(Codegen LANGUAGES C CXX) - -include(../cmake/CPM.cmake) - -CPMAddPackage("gh:fmtlib/fmt#10.1.1") -CPMAddPackage("gh:geode-sdk/Broma#0183881") - -file(GLOB SOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp -) - -add_executable(${PROJECT_NAME} - # glob sucks so just list em out - src/Main.cpp - src/AndroidSymbol.cpp - src/BindingGen.cpp - src/JsonInterfaceGen.cpp - src/ModifyGen.cpp - src/PredeclareGen.cpp - src/SourceGen.cpp -) -target_compile_features(Codegen PUBLIC cxx_std_17) - -target_link_libraries(Codegen PRIVATE fmt::fmt Broma) -target_include_directories(Codegen PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR}/src -) - -if (NOT DEFINED CMAKE_CXX_COMPILER_LAUNCHER OR CMAKE_CXX_COMPILER_LAUNCHER STREQUAL "" OR - CMAKE_CXX_COMPILER_LAUNCHER MATCHES "sccache(|.exe)$" AND - CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - target_precompile_headers(Codegen PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR}/src/Shared.hpp - ) -endif () - -install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}) diff --git a/bindings/codegen/src/AndroidSymbol.cpp b/bindings/codegen/src/AndroidSymbol.cpp deleted file mode 100644 index 89355d2..0000000 --- a/bindings/codegen/src/AndroidSymbol.cpp +++ /dev/null @@ -1,251 +0,0 @@ -#include "AndroidSymbol.hpp" -#include -#include -#include -#include - -std::string mangleIdent(std::string_view str, bool ne = true) { - if (str.find("::") != -1) { - std::string result = ne ? "N" : ""; - auto s = str; - do { - const auto i = s.find("::"); - const auto t = s.substr(0, i); - result += std::to_string(t.size()) + std::string(t); - if (i == -1) s = ""; - else - s = s.substr(i + 2); - } while(s.size()); - return result + (ne ? "E" : ""); - } else { - return std::to_string(str.size()) + std::string(str); - } -}; - -std::string intToString(unsigned int value, unsigned int radix) { - static constexpr char base36[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; - std::string result; - do { - unsigned int remainder = value % radix; - value /= radix; - result.insert(result.begin(), base36[remainder]); - } while (value); - return result; -} - -std::string lookForSeen(std::vector& seen, std::string expanded) { - for (int i = 0; i < seen.size(); ++i) { - if (seen[i] == expanded) { - if (i == 0) return "S_"; - // yes, its base 36 - return "S" + intToString(i - 1, 36) + "_"; - } - } - return ""; -} - -std::string subsSeen(std::vector& seen, std::string mangled, bool subs, std::string expanded) { - if (!subs) return mangled; - if (mangled.empty()) return mangled; - if (auto x = lookForSeen(seen, expanded); !x.empty()) return x; - seen.push_back(expanded); - return mangled; -} - -std::vector splitTemplateRecursive(std::string_view str) { - std::vector result; - int depth = 0; - std::string current; - for (int i = 0; i < str.size(); ++i) { - if (str[i] == '<') { - depth++; - if (depth > 0) current += str[i]; - } else if (str[i] == '>') { - if (depth > 0) current += str[i]; - depth--; - } else if (str[i] == ',' && depth == 0) { - result.push_back(current); - current = ""; - } else { - if (current.size() > 0 || str[i] != ' ') current += str[i]; - } - } - if (!current.empty()) result.push_back(current); - return result; -} - -std::string mangleType(std::vector& seen, std::string name, bool subs = true, bool isTemplate = false); - -std::string handleTemplate(std::vector& seen, std::string base, std::vector parts, bool subs) { - std::string result = ""; - std::string outer = mangleType(seen, base, subs, true); - for (auto& part : parts) { - result += mangleType(seen, part, subs, true); - } - - // exceptions of additional params - if (base == "gd::map") { - result += mangleType(seen, "std::less<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::allocator>", subs, true); - } - else if (base == "gd::vector") { - result += mangleType(seen, "std::allocator<" + parts[0] + ">", subs, true); - } - else if (base == "gd::set") { - result += mangleType(seen, "std::less<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::allocator<" + parts[0] + ">", subs, true); - } - else if (base == "gd::unordered_map") { - result += mangleType(seen, "std::hash<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::equal_to<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::allocator>", subs, true); - } - else if (base == "gd::unordered_set") { - result += mangleType(seen, "std::hash<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::equal_to<" + parts[0] + ">", subs, true); - result += mangleType(seen, "std::allocator<" + parts[0] + ">", subs, true); - } - - return outer + "I" + result + "E"; -} - -std::string mangleType(std::vector& seen, std::string name, bool subs, bool isTemplate) { - if (name == "void") return "v"; - if (name == "bool") return "b"; - if (name == "char") return "c"; - if (name == "short") return "s"; - if (name == "int") return "i"; - if (name == "long") return "l"; - if (name == "long long") return "x"; - if (name == "unsigned") return "j"; - if (name == "unsigned char") return "h"; - if (name == "unsigned short") return "t"; - if (name == "unsigned int") return "j"; - if (name == "unsigned long") return "m"; - if (name == "unsigned long long") return "y"; - if (name == "float") return "f"; - if (name == "double") return "d"; - if (name == "gd::string") return "Ss"; - if (name == "std::allocator") return "Sa"; - if (name == "cocos2d::ccColor3B") return mangleType(seen, "cocos2d::_ccColor3B", subs); - // too lazy - if (name == "cocos2d::SEL_MenuHandler") { - const auto unsubClass = mangleType(seen, "cocos2d::CCObject", false); - const auto unsubParam = mangleType(seen, "cocos2d::CCObject*", false); - const auto unsubPtr = "Fv" + unsubParam + "E"; - const auto unsubMem = "M" + unsubClass + unsubPtr; - if (!subs) return unsubMem; - if (auto x = lookForSeen(seen, unsubMem); !x.empty()) return x; - const auto resultClass = mangleType(seen, "cocos2d::CCObject", subs); - const auto resultParam = mangleType(seen, "cocos2d::CCObject*", subs); - const auto resultPtr = subsSeen(seen, "Fv" + resultParam + "E", subs, unsubPtr); - const auto resultMem = subsSeen(seen, "M" + resultClass + resultPtr, subs, unsubMem); - return resultMem; - } - if (name.rfind('*') == name.size() - 1) { - const auto unsub = mangleType(seen, name.substr(0, name.size() - 1), false); - if (!subs) return "P" + unsub; - if (auto x = lookForSeen(seen, "P" + unsub); !x.empty()) return x; - const auto result = mangleType(seen, name.substr(0, name.size() - 1), subs); - return subsSeen(seen, "P" + result, subs, "P" + unsub); - } - if (name.rfind('&') == name.size() - 1) { - const auto unsub = mangleType(seen, name.substr(0, name.size() - 1), false); - if (!subs) return "R" + unsub; - if (auto x = lookForSeen(seen, "R" + unsub); !x.empty()) return x; - const auto result = mangleType(seen, name.substr(0, name.size() - 1), subs); - return subsSeen(seen, "R" + result, subs, "R" + unsub); - } - if (auto i = name.rfind("const"); i == name.size() - 5) { - const auto unsub = mangleType(seen, name.substr(0, name.size() - 6), false); - if (!subs) return "K" + unsub; - if (auto x = lookForSeen(seen, "K" + unsub); !x.empty()) return x; - const auto result = mangleType(seen, name.substr(0, name.size() - 6), subs); - return subsSeen(seen, "K" + result, subs, "K" + unsub); - } - - if (auto i = name.find("const"); i == 0) { - const auto unsub = mangleType(seen, name.substr(6), false); - if (!subs) return "K" + unsub; - if (auto x = lookForSeen(seen, "K" + unsub); !x.empty()) return x; - const auto result = mangleType(seen, name.substr(6), subs); - return subsSeen(seen, "K" + result, subs, "K" + unsub); - } - - if (name.find("<") != -1) { - const auto i = name.find("<"); - const auto r = name.rfind(">"); - const auto base = name.substr(0, i); - const auto parts = splitTemplateRecursive(name.substr(i + 1, r - i - 1)); - - const auto unsub = handleTemplate(seen, base, parts, false); - if (!subs) return unsub; - if (auto x = lookForSeen(seen, unsub); !x.empty()) return x; - const auto result = handleTemplate(seen, base, parts, subs); - return subsSeen(seen, result, subs, unsub); - } - - if (name.find("::") != -1) { - std::string result = ""; - std::string substituted = ""; - auto s = name; - do { - const auto i = s.find("::"); - const auto t = s.substr(0, i); - auto part = std::to_string(t.size()) + std::string(t); - if (t == "gd" || t == "std") { - substituted = "St"; - } - else if (!subs) { - substituted += part; - } - else if (auto x = lookForSeen(seen, result + part); !x.empty()) { - substituted = x; - } - else { - substituted = subsSeen(seen, substituted + part, subs, result + part); - } - result += part; - if (i == -1) s = ""; - else s = s.substr(i + 2); - } while(s.size()); - if (substituted.size() == 3 && substituted[0] == 'S') - return substituted; - if (isTemplate) return substituted; - return "N" + substituted + "E"; - } else { - return subsSeen(seen, mangleIdent(name), subs, mangleIdent(name)); - } -}; - -std::string generateAndroidSymbol(const Class& clazz, const FunctionBindField* fn) { - auto& decl = fn->prototype; - - - std::string mangledSymbol; - switch (decl.type) { - case FunctionType::Ctor: - mangledSymbol = "_ZN" + mangleIdent(clazz.name, false) + "C2E"; - break; - case FunctionType::Dtor: - mangledSymbol = "_ZN" + mangleIdent(clazz.name, false) + "D2E"; - break; - default: - mangledSymbol = "_Z" + mangleIdent(clazz.name + "::" + decl.name); - break; - } - if (decl.args.empty()) { - mangledSymbol += "v"; - } else { - std::vector seen; - static constexpr auto firstPart = [](std::string_view str, std::string_view sep) { - return str.substr(0, str.find(sep)); - }; - // this is S_ - seen.push_back(mangleIdent(firstPart(clazz.name, "::"))); - for (auto& [ty, _] : decl.args) { - mangledSymbol += mangleType(seen, ty.name); - } - } - return mangledSymbol; -} \ No newline at end of file diff --git a/bindings/codegen/src/AndroidSymbol.hpp b/bindings/codegen/src/AndroidSymbol.hpp deleted file mode 100644 index 555ba27..0000000 --- a/bindings/codegen/src/AndroidSymbol.hpp +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -#include -using namespace broma; - -std::string generateAndroidSymbol(const Class& clazz, const FunctionBindField* fn); \ No newline at end of file diff --git a/bindings/codegen/src/BindingGen.cpp b/bindings/codegen/src/BindingGen.cpp deleted file mode 100644 index 53bb7d1..0000000 --- a/bindings/codegen/src/BindingGen.cpp +++ /dev/null @@ -1,281 +0,0 @@ -#include "Shared.hpp" -#include -#include - -namespace { namespace format_strings { - // requires: base_classes, class_name - char const* binding_include = R"GEN(#include "binding/{file_name}" -)GEN"; - - char const* class_includes = R"GEN(#pragma once -#include -#include -#include -#include -#include -#include -#include -#include - -)GEN"; - - char const* class_no_includes = R"GEN(#pragma once -#include -#include - -)GEN"; - - char const* class_include_prereq = R"GEN(#include "{file_name}" -)GEN"; - - char const* class_start = R"GEN( -class {class_name}{base_classes} {{ -public: - static constexpr auto CLASS_NAME = "{class_name}"; -)GEN"; - - char const* custom_constructor = R"GEN( GEODE_CUSTOM_CONSTRUCTOR_GD({class_name}, {first_base}) -)GEN"; - - char const* custom_constructor_cutoff = R"GEN( GEODE_CUSTOM_CONSTRUCTOR_CUTOFF({class_name}, {first_base}) -)GEN"; - - char const* function_definition = R"GEN( - /** -{docs}{docs_addresses} */ - {static}{virtual}{return_type} {function_name}({parameters}){const}; -)GEN"; - - char const* error_definition = R"GEN( -private: - [[deprecated("{class_name}::{function_name} not implemented")]] - /** -{docs}{docs_addresses} */ - {static}{virtual}{return_type} {function_name}({parameters}){const}; -public: -)GEN"; - - char const* structor_definition = R"GEN( - /** -{docs}{docs_addresses} */ - {function_name}({parameters}); -)GEN"; - - // requires: type, member_name, array - char const* member_definition = R"GEN({private} {type} {member_name};{public} -)GEN"; - - char const* pad_definition = R"GEN( GEODE_PAD({hardcode}); -)GEN"; - - char const* class_end = R"GEN(}; -)GEN"; -}} - -inline std::string nameForPlatform(Platform platform) { - switch (platform) { - case Platform::Mac: return "MacOS"; - case Platform::Windows: return "Windows"; - case Platform::iOS: return "iOS"; - case Platform::Android: return "Android"; - default: // unreachable - return "Windows"; - } -} - -// Only Function and FunctionBindField -template -std::string generateAddressDocs(T const& f, PlatformNumber pn) { - std::string ret; - - for (auto platform : {Platform::Mac, Platform::Windows, Platform::iOS, Platform::Android}) { - auto status = codegen::getStatusWithPlatform(platform, f); - - if (status == BindStatus::NeedsBinding) { - ret += fmt::format(" * @note[short] {}: 0x{:x}\n", - nameForPlatform(platform), - codegen::platformNumberWithPlatform(platform, pn) - ); - } - else if (status == BindStatus::Binded) { - ret += fmt::format(" * @note[short] {}\n", - nameForPlatform(platform) - ); - } - - } - - return ret; -} - -std::string generateDocs(std::string const& docs) { - if (docs.size() < 7) return ""; - auto ret = docs.substr(1, docs.size() - 6); // i hate this but idk how to generalize - - for (auto next = ret.find(" "); next != std::string::npos; next = ret.find(" ")) { - ret.replace(next, 8, " * "); - } - - return ret; -} - -std::string generateBindingHeader(Root const& root, ghc::filesystem::path const& singleFolder) { - std::string output; - - { - std::string filename = "Standalones.hpp"; - output += fmt::format(format_strings::binding_include, - fmt::arg("file_name", filename) - ); - - std::string single_output; - single_output += format_strings::class_includes; - - for (auto& f : root.functions) { - if (codegen::getStatus(f) == BindStatus::Missing) continue; - - FunctionProto const* fb = &f.prototype; - char const* used_format = format_strings::function_definition; - - std::string addressDocs = generateAddressDocs(f, f.binds); - std::string docs = generateDocs(fb->attributes.docs); - - single_output += fmt::format(used_format, - fmt::arg("virtual", ""), - fmt::arg("static", ""), - fmt::arg("class_name", ""), - fmt::arg("const", ""), - fmt::arg("function_name", fb->name), - fmt::arg("parameters", codegen::getParameters(*fb)), - fmt::arg("return_type", fb->ret.name), - fmt::arg("docs_addresses", addressDocs), - fmt::arg("docs", docs) - ); - - } - - writeFile(singleFolder / filename, single_output); - } - - for (auto& cls : root.classes) { - if (is_cocos_class(cls.name)) - continue; - - std::string filename = (codegen::getUnqualifiedClassName(cls.name) + ".hpp"); - output += fmt::format(format_strings::binding_include, - fmt::arg("file_name", filename) - ); - - std::string single_output; - if (cls.name != "GDString") { - single_output += format_strings::class_includes; - } else { - single_output += format_strings::class_no_includes; - } - - for (auto dep : cls.attributes.depends) { - if (can_find(dep, "cocos2d::")) continue; - - std::string depfilename = (codegen::getUnqualifiedClassName(dep) + ".hpp"); - - single_output += fmt::format(format_strings::class_include_prereq, fmt::arg("file_name", depfilename)); - } - - std::string supers = str_if( - fmt::format(" : public {}", fmt::join(cls.superclasses, ", public ")), - !cls.superclasses.empty() - ); - - single_output += fmt::format(::format_strings::class_start, - fmt::arg("class_name", cls.name), - fmt::arg("base_classes", supers)//, - // fmt::arg("hidden", str_if("GEODE_HIDDEN ", (codegen::platform & (Platform::Mac | Platform::iOS)) != Platform::None)) - ); - - // what. - if (!cls.superclasses.empty()) { - single_output += fmt::format( - is_cocos_class(cls.superclasses[0]) - ? format_strings::custom_constructor_cutoff - : format_strings::custom_constructor, - fmt::arg("class_name", cls.name), - fmt::arg("first_base", cls.superclasses[0]) - ); - } - - bool unimplementedField = false; - for (auto field : cls.fields) { - MemberFunctionProto* fb; - char const* used_format = format_strings::function_definition; - - std::string addressDocs; - - if (auto i = field.get_as()) { - single_output += "\t" + i->inner + "\n"; - continue; - } else if (auto m = field.get_as()) { - - if (m->platform == Platform::None || (m->platform & codegen::platform) != Platform::None) { - single_output += fmt::format(format_strings::member_definition, - fmt::arg("private", unimplementedField ? "private:\n" : ""), - fmt::arg("public", unimplementedField ? "\npublic:" : ""), - fmt::arg("type", m->type.name), - fmt::arg("member_name", m->name + str_if(fmt::format("[{}]", m->count), m->count)) - ); - } - - continue; - } else if (auto p = field.get_as()) { - auto hardcode = codegen::platformNumber(p->amount); - - if (hardcode > 0) - single_output += fmt::format(format_strings::pad_definition, fmt::arg("hardcode", hardcode)); - else if (hardcode == 0) - single_output += " // no padding\n"; - else - unimplementedField = true; - - continue; - } else if (auto fn = field.get_as()) { - fb = &fn->prototype; - addressDocs = " * @note[short] Out of line\n"; - - } else if (auto fn = field.get_as()) { - if (codegen::getStatus(*fn) == BindStatus::Missing) - continue; - - fb = &fn->prototype; - - if (codegen::platformNumber(fn->binds) == -1 && codegen::getStatus(*fn) != BindStatus::Binded) { - used_format = format_strings::error_definition; - - if (fb->type != FunctionType::Normal) - continue; - } - - addressDocs = generateAddressDocs(*fn, fn->binds); - } - - std::string docs = generateDocs(fb->attributes.docs); - - single_output += fmt::format(used_format, - fmt::arg("virtual", str_if("virtual ", fb->is_virtual)), - fmt::arg("static", str_if("static ", fb->is_static)), - fmt::arg("class_name", cls.name), - fmt::arg("const", str_if(" const ", fb->is_const)), - fmt::arg("function_name", fb->name), - fmt::arg("parameters", codegen::getParameters(*fb)), - fmt::arg("return_type", fb->ret.name), - fmt::arg("docs_addresses", addressDocs), - fmt::arg("docs", docs) - ); - } - - // if (hasClass) - single_output += ::format_strings::class_end; - - writeFile(singleFolder / filename, single_output); - } - - return output; -} diff --git a/bindings/codegen/src/JsonInterfaceGen.cpp b/bindings/codegen/src/JsonInterfaceGen.cpp deleted file mode 100644 index 6ce6684..0000000 --- a/bindings/codegen/src/JsonInterfaceGen.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "Shared.hpp" - -#include -#include - -std::string generateJsonInterface(Root const& root) { - std::string output; - - for (auto& c : root.classes) { - if (c.name == "cocos2d") continue; - - for (auto& f : c.fields) { - if (auto fn = f.get_as()) { - auto status = codegen::getStatus(*fn); - - if ( - ( - (status == BindStatus::Unbindable || status == BindStatus::Missing) && - codegen::platformNumber(fn->binds) == -1 - ) || ( - codegen::platformNumber(fn->binds) == 0x9999999 - ) - ) { - // skip unbinded functions - continue; - } - else if (status != BindStatus::NeedsBinding && !codegen::shouldAndroidBind(fn)) { - continue; - } - output += fmt::format("{}::{} - {:#x}\n", c.name, fn->prototype.name, codegen::platformNumber(fn->binds)); - } - } - } - - return output; -} diff --git a/bindings/codegen/src/Main.cpp b/bindings/codegen/src/Main.cpp deleted file mode 100644 index 9df7237..0000000 --- a/bindings/codegen/src/Main.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include "Shared.hpp" - -#include // bruh - -using namespace codegen; - -std::map codegen::idMap; - -int main(int argc, char** argv) try { - if (argc != 4) { - throw codegen::error("Invalid number of parameters (expected 3, found {})", argc - 1); - } - - std::string p = argv[1]; - - // if (p == "--into-json") { - // auto rootDir = ghc::filesystem::path(argv[2]); - // ghc::filesystem::current_path(rootDir); - - // Root root = broma::parse_file("Entry.bro"); - // writeFile(ghc::filesystem::path(argv[3]), generateJsonInterface(root)); - // return 0; - // } - - if (p == "Win32") codegen::platform = Platform::Windows; - else if (p == "MacOS") codegen::platform = Platform::Mac; - else if (p == "iOS") codegen::platform = Platform::iOS; - else if (p == "Android32") codegen::platform = Platform::Android32; - else if (p == "Android64") codegen::platform = Platform::Android64; - else throw codegen::error("Invalid platform {}\n", p); - - auto rootDir = ghc::filesystem::path(argv[2]); - ghc::filesystem::current_path(rootDir); - - auto writeDir = ghc::filesystem::path(argv[3]) / "Geode"; - ghc::filesystem::create_directories(writeDir); - ghc::filesystem::create_directories(writeDir / "modify"); - ghc::filesystem::create_directories(writeDir / "binding"); - - Root root = broma::parse_file("Entry.bro"); - - for (auto cls : root.classes) { - for (auto dep : cls.attributes.depends) { - if (!is_cocos_class(dep) && - std::find(root.classes.begin(), root.classes.end(), dep) == root.classes.end()) { - throw codegen::error("Class {} depends on unknown class {}", cls.name, dep); - } - } - } - - codegen::populateIds(root); - - // writeFile(writeDir / "GeneratedAddress.cpp", generateAddressHeader(root)); - writeFile(writeDir / "GeneratedModify.hpp", generateModifyHeader(root, writeDir / "modify")); - writeFile(writeDir / "GeneratedBinding.hpp", generateBindingHeader(root, writeDir / "binding")); - writeFile(writeDir / "GeneratedPredeclare.hpp", generatePredeclareHeader(root)); - writeFile(writeDir / "GeneratedSource.cpp", generateBindingSource(root)); - writeFile(writeDir / "CodegenData.txt", generateJsonInterface(root)); -} - -catch (std::exception& e) { - std::cout << "Codegen error: " << e.what() << "\n"; - return 1; -} diff --git a/bindings/codegen/src/ModifyGen.cpp b/bindings/codegen/src/ModifyGen.cpp deleted file mode 100644 index 28b8c1f..0000000 --- a/bindings/codegen/src/ModifyGen.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include "Shared.hpp" - -#include -#include - -namespace { - namespace format_strings { - // requires: class_name, class_include - char const* modify_start = R"GEN(#pragma once -#include -#include -{class_include} -using namespace geode::modifier; -namespace geode::modifier {{ - {statics} - - template - struct ModifyDerive : ModifyBase> {{ - using BaseModify = ModifyBase>; - using ModifyBase>::ModifyBase; - using Base = {class_name}; - using Derived = Der; - void apply() override {{ -)GEN"; - - char const* statics_declare_identifier = R"GEN( - #ifndef GEODE_STATICS_{function_name} - #define GEODE_STATICS_{function_name} - GEODE_AS_STATIC_FUNCTION({function_name}) - #endif -)GEN"; - - // requires: index, class_name, arg_types, function_name, raw_arg_types, non_virtual - char const* apply_function = R"GEN( - GEODE_APPLY_MODIFY_FOR_FUNCTION({address_inline}, {function_convention}, {class_name}, {function_name}, {parameter_types}))GEN"; - - char const* apply_constructor = R"GEN( - GEODE_APPLY_MODIFY_FOR_CONSTRUCTOR({address_inline}, {function_convention}, {class_name}, {parameter_types}))GEN"; - - char const* apply_destructor = R"GEN( - GEODE_APPLY_MODIFY_FOR_DESTRUCTOR({address_inline}, {function_convention}, {class_name}))GEN"; - - char const* modify_end = R"GEN( - } - }; -} -)GEN"; - - char const* modify_include = R"GEN(#include "modify/{file_name}" -)GEN"; - } -} - -std::string generateModifyHeader(Root const& root, ghc::filesystem::path const& singleFolder) { - std::string output; - - for (auto& c : root.classes) { - if (c.name == "cocos2d") continue; - - std::string filename = (codegen::getUnqualifiedClassName(c.name) + ".hpp"); - output += fmt::format(format_strings::modify_include, fmt::arg("file_name", filename)); - - std::string single_output; - - std::string class_include; - - if (c.name.find("cocos2d::extension") != std::string::npos) { - class_include = "#include "; - } - else if (is_cocos_class(c.name)) { - class_include = "#include "; - } - else { - class_include = fmt::format( - "#include ", - fmt::arg("class_name", codegen::getUnqualifiedClassName(c.name)) - ); - } - - std::string statics; - std::set used; - for (auto& f : c.fields) { - if (auto fn = f.get_as()) { - if (codegen::getStatus(*fn) == BindStatus::Missing) - continue; - - if (fn->prototype.type == FunctionType::Normal && !used.count(fn->prototype.name)) { - used.insert(fn->prototype.name); - statics += fmt::format( - format_strings::statics_declare_identifier, fmt::arg("function_name", fn->prototype.name) - ); - } - } - } - - single_output += fmt::format( - format_strings::modify_start, - fmt::arg("statics", statics), - fmt::arg("class_name", c.name), - fmt::arg("class_include", class_include) - ); - - // modify - for (auto& f : c.fields) { - auto fn = f.get_as(); - - if (!fn) - continue; - - auto status = codegen::getStatus(*fn); - - if (status == BindStatus::Missing) - continue; - - if (status == BindStatus::NeedsBinding || codegen::platformNumber(f) != -1) { - // only if has an address - } else if (status == BindStatus::Binded) { - // allow bound functions (including ctors/dtors) - } else { - continue; - } - - std::string format_string; - - switch (fn->prototype.type) { - case FunctionType::Normal: - format_string = format_strings::apply_function; - break; - case FunctionType::Ctor: - format_string = format_strings::apply_constructor; - break; - case FunctionType::Dtor: - format_string = format_strings::apply_destructor; - break; - } - - single_output += fmt::format( - format_string, - fmt::arg("address_inline", codegen::getAddressString(c, f)), - fmt::arg("class_name", c.name), - fmt::arg("function_name", fn->prototype.name), - fmt::arg("function_convention", codegen::getModifyConventionName(f)), - fmt::arg("parameter_types", codegen::getParameterTypes(fn->prototype)) - ); - } - - single_output += format_strings::modify_end; - - writeFile(singleFolder / filename, single_output); - } - - return output; -} diff --git a/bindings/codegen/src/PredeclareGen.cpp b/bindings/codegen/src/PredeclareGen.cpp deleted file mode 100644 index 6289c95..0000000 --- a/bindings/codegen/src/PredeclareGen.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "Shared.hpp" -#include -#include - -namespace { namespace format_strings { - char const* class_predeclare = "class {class_name};\n"; - - char const* todo_return_begin = R"GEN( -struct TodoReturnPlaceholder { -private: - TodoReturnPlaceholder() = default; - TodoReturnPlaceholder(TodoReturnPlaceholder const&) = default; - TodoReturnPlaceholder(TodoReturnPlaceholder&&) = default; - ~TodoReturnPlaceholder() = default; -public: -)GEN"; - - char const* todo_return_end = R"GEN( -}; -)GEN"; - - char const* todo_return_friend = " friend class {class_name};\n"; -}} - -std::string generatePredeclareHeader(Root const& root) { - std::string output("#pragma once\n"); - - for (auto& cls : root.classes) { - if (is_cocos_class(cls.name)) - continue; - - output += fmt::format(::format_strings::class_predeclare, - fmt::arg("class_name", cls.name) - ); - } - - output += ::format_strings::todo_return_begin; - - for (auto& cls : root.classes) { - if (is_cocos_class(cls.name)) - continue; - - output += fmt::format(::format_strings::todo_return_friend, - fmt::arg("class_name", cls.name) - ); - } - - output += ::format_strings::todo_return_end; - - return output; -} diff --git a/bindings/codegen/src/Shared.hpp b/bindings/codegen/src/Shared.hpp deleted file mode 100644 index 601544d..0000000 --- a/bindings/codegen/src/Shared.hpp +++ /dev/null @@ -1,299 +0,0 @@ -#pragma once - -#include -#include -#include -#include -#include -#include - -using std::istreambuf_iterator; - -#ifdef _MSC_VER - #pragma warning(disable : 4996) -#endif - -using namespace broma; - - -#include "AndroidSymbol.hpp" -#include "WindowsSymbol.hpp" - -std::string generateAddressHeader(Root const& root); -std::string generateModifyHeader(Root const& root, ghc::filesystem::path const& singleFolder); -std::string generateBindingHeader(Root const& root, ghc::filesystem::path const& singleFolder); -std::string generatePredeclareHeader(Root const& root); -std::string generateBindingSource(Root const& root); -std::string generateJsonInterface(Root const& root); - -inline void writeFile(ghc::filesystem::path const& writePath, std::string const& output) { - std::ifstream readfile; - readfile >> std::noskipws; - readfile.open(writePath); - std::string data((std::istreambuf_iterator(readfile)), std::istreambuf_iterator()); - readfile.close(); - - if (data != output) { - std::ofstream writefile; - writefile.open(writePath); - writefile << output; - writefile.close(); - } -} - -inline std::string str_if(std::string&& str, bool cond) { - return cond ? str : ""; -} - -inline bool can_find(std::string const& str, char const* text) { - return str.find(text) != std::string::npos; -} - -inline bool is_cocos_class(std::string const& str) { - return can_find(str, "cocos2d") || can_find(str, "pugi::") || str == "DS_Dictionary"; -} - -enum class BindStatus { - Binded, - NeedsBinding, - Unbindable, - Missing, -}; - -struct codegen_error : std::runtime_error { - inline codegen_error(char const* msg) : std::runtime_error(msg) {} -}; - -namespace codegen { - extern std::map idMap; - - inline void populateIds(Root const& root) { - size_t id = 0; - for (auto& f : root.functions) { - idMap[&f] = id++; - } - - for (auto& c : root.classes) { - for (auto& f : c.fields) { - if (auto fn = f.get_as()) { - idMap[&f] = id++; - } - } - } - } - - inline size_t getId(Function const* f) { - return idMap[f]; - } - - inline size_t getId(Field const* f) { - return idMap[f]; - } - - template - inline codegen_error error(Args... args) { - return codegen_error(fmt::format(args...).c_str()); - } - - inline Platform platform; - - inline ptrdiff_t platformNumberWithPlatform(Platform p, PlatformNumber const& pn) { - switch (p) { - case Platform::Mac: return pn.mac; - case Platform::Windows: return pn.win; - case Platform::iOS: return pn.ios; - case Platform::Android: return pn.android32; - case Platform::Android32: return pn.android32; - case Platform::Android64: return pn.android64; - default: // unreachable - return pn.win; - } - } - - inline ptrdiff_t platformNumber(PlatformNumber const& p) { - return platformNumberWithPlatform(codegen::platform, p); - } - - inline uintptr_t platformNumber(Field const& field) { - if (auto fn = field.get_as()) { - return platformNumberWithPlatform(codegen::platform, fn->binds); - } - return 0; - } - - inline BindStatus getStatusWithPlatform(Platform p, FunctionBindField const& fn) { - if ((fn.prototype.attributes.missing & p) != Platform::None) return BindStatus::Missing; - if ((fn.prototype.attributes.links & p) != Platform::None) return BindStatus::Binded; - - if (platformNumberWithPlatform(p, fn.binds) != -1) return BindStatus::NeedsBinding; - - return BindStatus::Unbindable; - } - - inline BindStatus getStatusWithPlatform(Platform p, Function const& f) { - if ((f.prototype.attributes.missing & p) != Platform::None) return BindStatus::Missing; - - if ((f.prototype.attributes.links & p) != Platform::None) return BindStatus::Binded; - if (platformNumberWithPlatform(p, f.binds) != -1) return BindStatus::NeedsBinding; - - return BindStatus::Unbindable; - } - - inline bool shouldAndroidBind(const FunctionBindField* fn) { - if (codegen::platform == Platform::Android32 || codegen::platform == Platform::Android64) { - if (fn->prototype.type != FunctionType::Normal) return true; - for (auto& [type, name] : fn->prototype.args) { - if (can_find(type.name, "gd::")) return true; - } - } - return false; - } - - inline BindStatus getStatus(FunctionBindField const& fn) { - return getStatusWithPlatform(codegen::platform, fn); - } - - inline BindStatus getStatus(Function const& f) { - return getStatusWithPlatform(codegen::platform, f); - } - - inline std::string getParameters(FunctionProto const& f) { // int p0, float p1 - std::vector parameters; - - for (auto& [t, n] : f.args) { - parameters.push_back(fmt::format("{} {}", t.name, n)); - } - - return fmt::format("{}", fmt::join(parameters, ", ")); - } - - inline std::string getParameterTypes(FunctionProto const& f) { // int, float - std::vector parameters; - - for (auto& [t, n] : f.args) { - parameters.push_back(t.name); - } - - return fmt::format("{}", fmt::join(parameters, ", ")); - } - - inline std::string getParameterNames(FunctionProto const& f) { // p0, p1 - std::vector parameters; - - for (auto& [t, n] : f.args) { - parameters.push_back(n); - } - - return fmt::format("{}", fmt::join(parameters, ", ")); - } - - inline std::string getModifyConventionName(Field const& f) { - if (codegen::platform != Platform::Windows) return "Default"; - - if (auto fn = f.get_as()) { - auto status = getStatus(*fn); - - if (fn->prototype.is_static) { - if (status == BindStatus::Binded) return "Cdecl"; - else return "Optcall"; - } - else if (fn->prototype.is_virtual || fn->prototype.is_callback) { - return "Thiscall"; - } - else { - if (status == BindStatus::Binded) return "Thiscall"; - else return "Membercall"; - } - } - else throw codegen::error("Tried to get convention of non-function"); - } - - inline std::string getModifyConventionName(Function const& f) { - if (codegen::platform != Platform::Windows) return "Default"; - - return "Cdecl"; - } - - inline std::string getConvention(Field const& f) { - if (codegen::platform != Platform::Windows) return "DefaultConv"; - - return std::string("x86::") + getModifyConventionName(f); - } - - inline std::string getModifyConvention(Field const& f) { - if (codegen::platform != Platform::Windows) return "tulip::hook::DefaultConvention"; - - return std::string("tulip::hook::") + getModifyConventionName(f) + "Convention"; - } - - inline std::string getUnqualifiedClassName(std::string const& s) { - auto index = s.rfind("::"); - if (index == std::string::npos) return s; - return s.substr(index + 2); - } - - inline std::string getAddressString(Function const& f) { - if (codegen::getStatus(f) == BindStatus::Binded) { - return fmt::format( - "addresser::getNonVirtual(Resolve<{}>::func(&{}))", - codegen::getParameterTypes(f.prototype), - f.prototype.name - ); - } - else if (codegen::getStatus(f) == BindStatus::NeedsBinding) { - return fmt::format("base::get() + 0x{:x}", codegen::platformNumber(f.binds)); - } - else { - return ""; - } - } - - inline std::string getAddressString(Class const& c, Field const& field) { - if (auto fn = field.get_as()) { - const auto isWindowsCocosCtor = [&] { - return codegen::platform == Platform::Windows - && is_cocos_class(field.parent) - // && codegen::getStatus(field) == BindStatus::Binded - && fn->prototype.type != FunctionType::Normal; - }; - - if (codegen::getStatus(*fn) == BindStatus::NeedsBinding || codegen::platformNumber(field) != -1) { - if (is_cocos_class(field.parent) && codegen::platform == Platform::Windows) { - return fmt::format("base::getCocos() + 0x{:x}", codegen::platformNumber(fn->binds)); - } - else { - return fmt::format("base::get() + 0x{:x}", codegen::platformNumber(fn->binds)); - } - } - else if (codegen::shouldAndroidBind(fn)) { - auto const mangled = generateAndroidSymbol(c, fn); - return fmt::format( // thumb - "reinterpret_cast(dlsym(dlopen(\"libcocos2dcpp.so\", RTLD_NOW), \"{}\"))", - mangled - ); - } - else if (isWindowsCocosCtor()) { - auto const mangled = generateWindowsSymbol(c, fn); - return fmt::format( - "reinterpret_cast(GetProcAddress(GetModuleHandleA(\"libcocos2d.dll\"), \"{}\"))", - mangled - ); - } - else if (codegen::getStatus(*fn) == BindStatus::Binded && fn->prototype.type == FunctionType::Normal) { - return fmt::format( - "addresser::get{}Virtual(Resolve<{}>::func(&{}::{}))", - str_if("Non", !fn->prototype.is_virtual), - codegen::getParameterTypes(fn->prototype), - field.parent, - fn->prototype.name - ); - } - else { - return ""; - } - } - else { - return ""; - } - } -} diff --git a/bindings/codegen/src/SourceGen.cpp b/bindings/codegen/src/SourceGen.cpp deleted file mode 100644 index 564f435..0000000 --- a/bindings/codegen/src/SourceGen.cpp +++ /dev/null @@ -1,260 +0,0 @@ -#include "Shared.hpp" - -namespace { namespace format_strings { - char const* source_start = R"GEN( -#include -#include -#include -#include -#include - -using namespace geode; -using namespace geode::modifier; -using cocos2d::CCDestructor; - -std::unordered_map& CCDestructor::destructorLock() {{ - static auto ret = new std::unordered_map; - return *ret; -}} -bool& CCDestructor::globalLock() {{ - static thread_local bool ret = false; - return ret; -}} -bool& CCDestructor::lock(void* self) { - return destructorLock()[self]; -} -CCDestructor::~CCDestructor() {{ - destructorLock().erase(this); -}} - -auto wrapFunction(uintptr_t address, tulip::hook::WrapperMetadata const& metadata) { - auto wrapped = geode::hook::createWrapper(reinterpret_cast(address), metadata); - if (wrapped.isErr()) {{ - throw std::runtime_error(wrapped.unwrapErr()); - }} - return wrapped.unwrap(); -} - -// So apparently Clang considers cdecl to return floats through ST0, whereas -// MSVC thinks they are returned through XMM0. This has caused a lot of pain -// and misery for me - -)GEN"; - - char const* declare_member = R"GEN( -auto {class_name}::{function_name}({parameters}){const} -> decltype({function_name}({arguments})) {{ - using FunctionType = decltype({function_name}({arguments}))(*)({class_name}{const}*{parameter_comma}{parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - return reinterpret_cast(func)(this{parameter_comma}{arguments}); -}} -)GEN"; - - char const* declare_virtual = R"GEN( -auto {class_name}::{function_name}({parameters}){const} -> decltype({function_name}({arguments})) {{ - auto self = addresser::thunkAdjust(Resolve<{parameter_types}>::func(&{class_name}::{function_name}), this); - using FunctionType = decltype({function_name}({arguments}))(*)({class_name}{const}*{parameter_comma}{parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - return reinterpret_cast(func)(self{parameter_comma}{arguments}); -}} -)GEN"; - - char const* declare_static = R"GEN( -auto {class_name}::{function_name}({parameters}){const} -> decltype({function_name}({arguments})) {{ - using FunctionType = decltype({function_name}({arguments}))(*)({parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - return reinterpret_cast(func)({arguments}); -}} -)GEN"; - - char const* declare_destructor = R"GEN( -{class_name}::{function_name}({parameters}) {{ - // basically we destruct it once by calling the gd function, - // then lock it, so that other gd destructors dont get called - if (CCDestructor::lock(this)) return; - using FunctionType = void(*)({class_name}*{parameter_comma}{parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - reinterpret_cast(func)(this{parameter_comma}{arguments}); - // we need to construct it back so that it uhhh ummm doesnt crash - // while going to the child destructors - auto thing = new (this) {class_name}(geode::CutoffConstructor, sizeof({class_name})); - CCDestructor::lock(this) = true; -}} -)GEN"; - - char const* declare_constructor = R"GEN( -{class_name}::{function_name}({parameters}) : {class_name}(geode::CutoffConstructor, sizeof({class_name})) {{ - // here we construct it as normal as we can, then destruct it - // using the generated functions. this ensures no memory gets leaked - // no crashes :pray: - CCDestructor::lock(this) = true; - {class_name}::~{unqualified_class_name}(); - using FunctionType = void(*)({class_name}*{parameter_comma}{parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - reinterpret_cast(func)(this{parameter_comma}{arguments}); -}} -)GEN"; - - char const* declare_constructor_begin = R"GEN( -{class_name}::{function_name}({parameters}) {{ - using FunctionType = void(*)({class_name}*{parameter_comma}{parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - reinterpret_cast(func)(this{parameter_comma}{arguments}); -}} -)GEN"; - - char const* declare_unimplemented_error = R"GEN( -auto {class_name}::{function_name}({parameters}){const} -> decltype({function_name}({arguments})) {{ - throw std::runtime_error("{class_name}::{function_name} not implemented"); -}} -)GEN"; - - char const* ool_function_definition = R"GEN( -{return} {class_name}::{function_name}({parameters}){const} {definition} -)GEN"; - - char const* ool_structor_function_definition = R"GEN( -{class_name}::{function_name}({parameters}){const} {definition} -)GEN"; - - char const* declare_standalone = R"GEN( -auto {function_name}({parameters}) -> decltype({function_name}({arguments})) {{ - using FunctionType = decltype({function_name}({arguments}))(*)({parameter_types}); - static auto func = wrapFunction({address_inline}, tulip::hook::WrapperMetadata{{ - .m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}), - .m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)), - }}); - return reinterpret_cast(func)({arguments}); -}} -)GEN"; -}} - -std::string generateBindingSource(Root const& root) { - std::string output(format_strings::source_start); - - for (auto& f : root.functions) { - if (codegen::getStatus(f) != BindStatus::NeedsBinding) { - continue; - } - - output += fmt::format(format_strings::declare_standalone, - fmt::arg("convention", codegen::getModifyConventionName(f)), - fmt::arg("function_name", f.prototype.name), - fmt::arg("address_inline", codegen::getAddressString(f)), - fmt::arg("parameters", codegen::getParameters(f.prototype)), - fmt::arg("parameter_types", codegen::getParameterTypes(f.prototype)), - fmt::arg("arguments", codegen::getParameterNames(f.prototype)), - fmt::arg("parameter_comma", str_if(", ", !f.prototype.args.empty())) - ); - } - - for (auto& c : root.classes) { - - for (auto& f : c.fields) { - if (auto i = f.get_as()) { - // yeah there are no inlines on cocos - } else if (auto fn = f.get_as()) { - if (is_cocos_class(c.name) && (c.attributes.links & codegen::platform) != Platform::None) { - continue; - } - - switch (fn->prototype.type) { - case FunctionType::Ctor: - case FunctionType::Dtor: - output += fmt::format(format_strings::ool_structor_function_definition, - fmt::arg("function_name", fn->prototype.name), - fmt::arg("const", str_if(" const ", fn->prototype.is_const)), - fmt::arg("class_name", c.name), - fmt::arg("parameters", codegen::getParameters(fn->prototype)), - fmt::arg("definition", fn->inner) - ); - break; - default: - output += fmt::format(format_strings::ool_function_definition, - fmt::arg("function_name", fn->prototype.name), - fmt::arg("const", str_if(" const ", fn->prototype.is_const)), - fmt::arg("class_name", c.name), - fmt::arg("parameters", codegen::getParameters(fn->prototype)), - fmt::arg("definition", fn->inner), - fmt::arg("return", fn->prototype.ret.name) - ); - break; - } - - } else if (auto fn = f.get_as()) { - char const* used_declare_format = nullptr; - - if ( - ( - codegen::getStatus(*fn) == BindStatus::Unbindable && - codegen::platformNumber(fn->binds) == -1 && - fn->prototype.is_virtual && fn->prototype.type != FunctionType::Dtor - ) || ( - codegen::platformNumber(fn->binds) == 0x9999999 - ) - ) { - used_declare_format = format_strings::declare_unimplemented_error; - } - else if (codegen::getStatus(*fn) != BindStatus::NeedsBinding && !codegen::shouldAndroidBind(fn)) { - continue; - } - - - if (!used_declare_format) { - switch (fn->prototype.type) { - case FunctionType::Normal: - used_declare_format = format_strings::declare_member; - break; - case FunctionType::Ctor: - if (c.superclasses.empty()) { - used_declare_format = format_strings::declare_constructor_begin; - } - else { - used_declare_format = format_strings::declare_constructor; - } - break; - case FunctionType::Dtor: - used_declare_format = format_strings::declare_destructor; - break; - } - - if (fn->prototype.is_static) - used_declare_format = format_strings::declare_static; - if (fn->prototype.is_virtual && fn->prototype.type != FunctionType::Dtor) - used_declare_format = format_strings::declare_virtual; - } - - output += fmt::format(used_declare_format, - fmt::arg("class_name", c.name), - fmt::arg("unqualified_class_name", codegen::getUnqualifiedClassName(c.name)), - fmt::arg("const", str_if(" const ", fn->prototype.is_const)), - fmt::arg("convention", codegen::getModifyConventionName(f)), - fmt::arg("function_name", fn->prototype.name), - fmt::arg("address_inline", codegen::getAddressString(c, f)), - fmt::arg("parameters", codegen::getParameters(fn->prototype)), - fmt::arg("parameter_types", codegen::getParameterTypes(fn->prototype)), - fmt::arg("arguments", codegen::getParameterNames(fn->prototype)), - fmt::arg("parameter_comma", str_if(", ", !fn->prototype.args.empty())) - ); - } - } - } - return output; -} diff --git a/bindings/codegen/src/WindowsSymbol.hpp b/bindings/codegen/src/WindowsSymbol.hpp deleted file mode 100644 index ec90e5e..0000000 --- a/bindings/codegen/src/WindowsSymbol.hpp +++ /dev/null @@ -1,58 +0,0 @@ -#pragma once - -#include -using namespace broma; - -#include -#include -#include -#include - -inline std::string mangleWindowsIdent(std::string_view str) { - if (str.find("::") != -1) { - std::string result = ""; - auto s = str; - do { - const auto i = s.rfind("::"); - const auto t = i != -1 ? s.substr(i + 2) : s; - result += t; - result += "@"; - if (i == -1) s = ""; - else - s = s.substr(0, i); - } while(s.size()); - return result; - } else { - return std::string(str) + "@"; - } -} - -inline std::string generateWindowsSymbol(const Class& clazz, const FunctionBindField* fn) { - auto& decl = fn->prototype; - - - std::string mangledSymbol; - switch (decl.type) { - case FunctionType::Ctor: - // writing this down so i dont forget: - // Q - public (https://en.wikiversity.org/wiki/Visual_C%2B%2B_name_mangling#Function_2) - // A - not const (https://en.wikiversity.org/wiki/Visual_C%2B%2B_name_mangling#CV-class_Modifier) - // E - thiscall (https://en.wikiversity.org/wiki/Visual_C%2B%2B_name_mangling#Function_Property) - mangledSymbol = "??0" + mangleWindowsIdent(clazz.name) + "@QAE"; - break; - case FunctionType::Dtor: - // U - public virtual - mangledSymbol = "??1" + mangleWindowsIdent(clazz.name) + "@UAE"; - break; - default: - throw new std::runtime_error(fmt::format("Mangling of this function type is not implemented! sorry {}", decl.name)); - } - if (!decl.args.empty()) { - throw new std::runtime_error(fmt::format("Sorry i cant mangle args either {}", decl.name)); - } else { - // X means void, meaning empty arg list, also ends the arg list without needing to use @ - // Z is used to mark no throw() attribute - mangledSymbol += "@XZ"; - } - return mangledSymbol; -} \ No newline at end of file diff --git a/mod.json b/mod.json index 45308f6..0182931 100644 --- a/mod.json +++ b/mod.json @@ -1,10 +1,10 @@ { - "geode": "2.0.0-beta.26", + "geode": "3.0.0-beta.1", "gd": { - "win": "2.204", + "win": "2.206", "android": "*" }, - "version": "v6.0.0-beta.8", + "version": "v6.0.0-beta.9", "id": "user95401.mainlevelseditor", "name": "Main Levels Editor", "developer": "user95401", @@ -26,7 +26,7 @@ "default": 22 }, "SL": { - "name": "Saved levels (BETA)", + "name": "Saved levels (SHIT)", "description": "experimental function that allows u replace stuff on online levels", "type": "bool", "default": false