This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5f1ec1b
Showing
1,879 changed files
with
508,335 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/build | ||
/.vscode | ||
*.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
cmake_minimum_required(VERSION 3.0.0) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) | ||
|
||
set(PROJECT GDMO) | ||
project(${PROJECT}) | ||
|
||
file(GLOB_RECURSE SOURCE_FILES | ||
src/*.cpp | ||
src/*.h | ||
src/*.c | ||
src/GUI/*.cpp | ||
src/GUI/*.h | ||
) | ||
|
||
add_library(${PROJECT} SHARED ${SOURCE_FILES}) | ||
|
||
if(MSVC) | ||
target_compile_options(${PROJECT} PRIVATE /W3) | ||
endif() | ||
|
||
# move to using .cmake files to get needed libs | ||
target_include_directories(${PROJECT} PRIVATE | ||
libs/minhook/include | ||
libs/cocos-headers/cocos2dx | ||
libs/cocos-headers/cocos2dx/include | ||
libs/cocos-headers/cocos2dx/kazmath/include | ||
libs/cocos-headers/cocos2dx/platform/win32 | ||
libs/cocos-headers/cocos2dx/platform/third_party/win32/OGLES | ||
libs/cocos-headers/extensions | ||
libs/imgui-hook | ||
libs/imgui-hook/imgui | ||
) | ||
|
||
add_subdirectory(libs/minhook) | ||
add_subdirectory(libs/imgui-hook) | ||
add_subdirectory(libs/cocos-headers) | ||
add_subdirectory(libs/fmod-headers) | ||
|
||
target_link_libraries(${PROJECT} minhook imgui-hook opengl32 cocos2d fmod) | ||
|
||
target_link_libraries(${PROJECT} | ||
${CMAKE_SOURCE_DIR}/libs/glew/glew32.lib | ||
${CMAKE_SOURCE_DIR}/libs/cocos-headers/cocos2dx/robtop/glfw/glfw3.lib | ||
) | ||
|
||
# Enable dev console if building in RelWithDebInfo | ||
target_compile_definitions(${PROJECT} PUBLIC "$<$<CONFIG:RELWITHDEBINFO>:DEV_CONSOLE>") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<div align="center"> | ||
|
||
# GD Mega Overlay | ||
[![Discord](https://img.shields.io/badge/Discord-white?style=flat&logo=discord)](https://discord.gg/nbDjEg7SSU) | ||
</div> | ||
|
||
## How to use | ||
> **Warning** | ||
> Do __not__ download the source code | ||
Download the latest [release](https://github.com/maxnut/GDMegaOverlay/releases/latest) and extract all files inside the GD folder. | ||
|
||
## Description | ||
|
||
Free, feature-rich, gui-integrated geometry dash mod menu | ||
|
||
![Menu screen](/img/screen.jpg) | ||
|
||
## Features | ||
|
||
* Basic hacks | ||
* Startpos Switcher | ||
* Macro Bot | ||
* and much more! | ||
|
||
## Credits | ||
|
||
[adafcaefc/ProxyDllLoader](https://github.com/adafcaefc/ProxyDllLoader) for the mod loader | ||
|
||
[SpaghettDev](https://github.com/SpaghettDev) helped a ton with various features | ||
|
||
[TpdEA](https://github.com/TpdeaX) for help with patches |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: documentation | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
documentation: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
# latest version of doxygen is currently not available in ubuntu lts repos | ||
- name: Install doxygen and dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libc6 libclang-cpp12 libclang1-12 libgcc-s1 libllvm12 libstdc++6 libxapian30 graphviz python3 | ||
wget https://www.doxygen.nl/files/doxygen-1.9.3.linux.bin.tar.gz | ||
tar -xvzf doxygen-1.9.3.linux.bin.tar.gz | ||
echo "${GITHUB_WORKSPACE}/doxygen-1.9.3/bin" >> $GITHUB_PATH | ||
- name: Append commit to version | ||
run: echo "PROJECT_NUMBER = 2.2.3-gd2.113-rev`git rev-parse --short HEAD`" >> Doxyfile | ||
working-directory: 'document/' | ||
|
||
- name: Generate documentation | ||
run: doxygen | ||
working-directory: 'document/' | ||
|
||
- name: Deploy documentation | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: docs | ||
folder: document/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "document/doxygen-awesome-css"] | ||
path = document/doxygen-awesome-css | ||
url = https://github.com/jothepro/doxygen-awesome-css.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
cmake_minimum_required(VERSION 3.0.0) | ||
|
||
project(cocos-headers CXX) | ||
|
||
add_library(cocos2d INTERFACE) | ||
|
||
target_include_directories(cocos2d INTERFACE | ||
cocos2dx | ||
cocos2dx/include | ||
cocos2dx/kazmath/include | ||
cocos2dx/platform/win32 | ||
cocos2dx/platform/third_party/win32 | ||
cocos2dx/platform/third_party/win32/OGLES | ||
extensions | ||
) | ||
|
||
target_link_libraries(cocos2d INTERFACE | ||
${CMAKE_CURRENT_LIST_DIR}/cocos2dx/libcocos2d.lib | ||
${CMAKE_CURRENT_LIST_DIR}/extensions/libExtensions.lib | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/**************************************************************************** | ||
Copyright (c) 2010-2012 cocos2d-x.org | ||
Copyright (c) 2008-2010 Ricardo Quesada | ||
Copyright (c) 2011 Zynga Inc. | ||
http://www.cocos2d-x.org | ||
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. | ||
****************************************************************************/ | ||
|
||
#ifndef __CCCAMERA_H__ | ||
#define __CCCAMERA_H__ | ||
|
||
#include "cocoa/CCObject.h" | ||
#include "ccMacros.h" | ||
#include "kazmath/mat4.h" | ||
#include <string> | ||
|
||
NS_CC_BEGIN | ||
|
||
/** | ||
* @addtogroup base_nodes | ||
* @{ | ||
*/ | ||
|
||
/** | ||
A CCCamera is used in every CCNode. | ||
Useful to look at the object from different views. | ||
The OpenGL gluLookAt() function is used to locate the | ||
camera. | ||
If the object is transformed by any of the scale, rotation or | ||
position attributes, then they will override the camera. | ||
IMPORTANT: Either your use the camera or the rotation/scale/position properties. You can't use both. | ||
World coordinates won't work if you use the camera. | ||
Limitations: | ||
- Some nodes, like CCParallaxNode, CCParticle uses world node coordinates, and they won't work properly if you move them (or any of their ancestors) | ||
using the camera. | ||
- It doesn't work on batched nodes like CCSprite objects when they are parented to a CCSpriteBatchNode object. | ||
- It is recommended to use it ONLY if you are going to create 3D effects. For 2D effects, use the action CCFollow or position/scale/rotate. | ||
*/ | ||
class CC_DLL CCCamera : public CCObject | ||
{ | ||
protected: | ||
float m_fEyeX; | ||
float m_fEyeY; | ||
float m_fEyeZ; | ||
|
||
float m_fCenterX; | ||
float m_fCenterY; | ||
float m_fCenterZ; | ||
|
||
float m_fUpX; | ||
float m_fUpY; | ||
float m_fUpZ; | ||
|
||
bool m_bDirty; | ||
kmMat4 m_lookupMatrix; | ||
public: | ||
/** | ||
* @js ctor | ||
*/ | ||
CCCamera(void); | ||
/** | ||
* @js NA | ||
* @lua NA | ||
*/ | ||
~CCCamera(void); | ||
|
||
void init(void); | ||
/** | ||
* @js NA | ||
*/ | ||
const char* description(void); | ||
|
||
/** sets the dirty value */ | ||
inline void setDirty(bool bValue) { m_bDirty = bValue; } | ||
/** get the dirty value */ | ||
inline bool isDirty(void) { return m_bDirty; } | ||
|
||
/** sets the camera in the default position */ | ||
void restore(void); | ||
/** Sets the camera using gluLookAt using its eye, center and up_vector */ | ||
void locate(void); | ||
/** sets the eye values in points | ||
* @js setEye | ||
*/ | ||
void setEyeXYZ(float fEyeX, float fEyeY, float fEyeZ); | ||
/** sets the center values in points | ||
* @js setCenter | ||
*/ | ||
void setCenterXYZ(float fCenterX, float fCenterY, float fCenterZ); | ||
/** sets the up values | ||
* @js setUp | ||
*/ | ||
void setUpXYZ(float fUpX, float fUpY, float fUpZ); | ||
|
||
/** get the eye vector values in points | ||
* @js NA | ||
*/ | ||
void getEyeXYZ(float *pEyeX, float *pEyeY, float *pEyeZ); | ||
/** get the center vector values int points | ||
* @js NA | ||
*/ | ||
void getCenterXYZ(float *pCenterX, float *pCenterY, float *pCenterZ); | ||
/** get the up vector values | ||
* @js NA | ||
*/ | ||
void getUpXYZ(float *pUpX, float *pUpY, float *pUpZ); | ||
public: | ||
/** returns the Z eye */ | ||
static float getZEye(); | ||
|
||
private: | ||
DISALLOW_COPY_AND_ASSIGN(CCCamera); | ||
}; | ||
|
||
// end of base_node group | ||
/// @} | ||
|
||
NS_CC_END | ||
|
||
#endif // __CCCAMERA_H__ |
Oops, something went wrong.