Skip to content

Commit

Permalink
Added files from version 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Is-Daouda committed Sep 6, 2024
1 parent 9609263 commit 0b4838f
Show file tree
Hide file tree
Showing 228 changed files with 27,463 additions and 59 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![header](./images/is_Engine_logo.png)
----------------------------

# is::Engine (Infinity Solutions::Engine) 3.3.10
# is::Engine (Infinity Solutions::Engine) 3.4.0
Open source C++ framework which uses the mechanisms of **SFML 2** and which also allows to develop with several libraries at the same time **(SDL 2, Emscripten)** in order to easily export your games / applications on the **Web (HTML 5), Mobile** and **PC (Windows, Linux, macOS)**.

## Contents
Expand Down Expand Up @@ -61,6 +61,10 @@ Open source C++ framework which uses the mechanisms of **SFML 2** and which also
- [[Android] Show Reward Video](https://github.com/Is-Daouda/is-Engine-Example-Pack/tree/main/is-Engine-Admob)

## What's new in this version
- Visual Studio 2022 Support
- Bug Fixes

### 3.3.10
- The [Virtual Gamepad](./app/src/main/cpp/isEngine/system/function/GameKeyData.h#L34) is now usable on the Web (HTML 5).
- You can center sprites with the **createSprite** [(1)](./app/src/main/cpp/isEngine/system/function/GameFunction.h#L1574) & [(2)](./app/src/main/cpp/isEngine/system/function/GameFunction.h#L1595) function.
- Vertical synchronization is now enabled by default when using [SDL 2](./app/src/main/cpp/isEngine/system/islibconnect/isEngineSDLWrapper.cpp#L896).
Expand Down Expand Up @@ -427,6 +431,22 @@ sudo make

---

## ![vs](https://i48.servimg.com/u/f48/20/16/75/27/vs_ima10.png) Visual Studio

**1. Installation**
#### Windows
1. Download Visual Studio Community 2022 [here](https://visualstudio.microsoft.com/fr/vs/community/) and install it.

**2. Opening the project with the IDE:**

#### Windows
Open the file **vs-sfml.sln** in the location **[is-Engine/app/src/main/](./app/src/main/)**

**3. Executable location**
- The compiler files can be found in **is-Engine/app/src/main/bin-Qt**.

---

## ![qt](https://i48.servimg.com/u/f48/20/16/75/27/qt_ico10.png) Qt

**1. Installation**
Expand All @@ -445,7 +465,7 @@ sudo make

---

## ![vs](https://i48.servimg.com/u/f48/20/16/75/27/icon_v10.png) Visual Studio Code
## ![vsc](https://i48.servimg.com/u/f48/20/16/75/27/icon_v10.png) Visual Studio Code
This project uses the template of **andrew-r-king**. For more information on this template [click here](https://github.com/andrew-r-king/sfml-vscode-boilerplate).

**1. Prerequisites**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void GameSystemExtended::initData(bool clearCurrentLevel)
void GameSystemExtended::saveData(std::string const &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "wb");
//file = fopen(fileName.c_str(), "wb");

if (file != NULL)
{
Expand All @@ -74,7 +74,7 @@ void GameSystemExtended::saveData(std::string const &fileName)
void GameSystemExtended::loadData(std::string const &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "rb");
//file = fopen(fileName.c_str(), "rb");

if (file != NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/core/ActivityController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/cpp/isEngine/core/GameEngine.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down Expand Up @@ -61,12 +61,12 @@ void GameEngine::initEngine()
#if !defined(IS_ENGINE_HTML_5)
if (!m_gameSysExt.fileExist(is::GameConfig::CONFIG_FILE))
{

/*
mkdir(is::GameConfig::DATA_PARENT_DIR.c_str()
#if defined(SFML_SYSTEM_LINUX) || defined(IS_ENGINE_LINUX)
, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH
#endif
);
);*/
m_gameSysExt.saveConfig(is::GameConfig::CONFIG_FILE);
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/core/GameEngine.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/android/AdmobManager.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/display/GameDisplay.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/display/GameDisplay.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/display/SDM.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/Background.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/Button.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/Form.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/MainObject.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/MainObject.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/parents/FilePath.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/parents/Health.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/parents/Name.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/parents/Step.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/entity/parents/Type.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameFunction.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameFunction.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameKeyData.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameKeyData.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameKeyName.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameSlider.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameSlider.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/cpp/isEngine/system/function/GameSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down Expand Up @@ -153,7 +153,7 @@ void GameSystem::useVibrate(short ms)
void GameSystem::saveConfig(const std::string &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "wb");
//file = fopen(fileName.c_str(), "wb");

if (file != NULL)
{
Expand All @@ -172,7 +172,7 @@ void GameSystem::saveConfig(const std::string &fileName)
void GameSystem::loadConfig(const std::string &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "rb");
//file = fopen(fileName.c_str(), "rb");

if (file != NULL)
{
Expand All @@ -188,7 +188,7 @@ void GameSystem::loadConfig(const std::string &fileName)
void GameSystem::savePadConfig(const std::string &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "wb");
//file = fopen(fileName.c_str(), "wb");

if (file != NULL)
{
Expand All @@ -208,7 +208,7 @@ void GameSystem::savePadConfig(const std::string &fileName)
void GameSystem::loadPadConfig(const std::string &fileName)
{
FILE *file = NULL;
file = fopen(fileName.c_str(), "rb");
//file = fopen(fileName.c_str(), "rb");

if (file != NULL)
{
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/cpp/isEngine/system/function/GameSystem.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down Expand Up @@ -35,8 +35,8 @@
// is::Engine version
//////////////////////////////////////////////////////
#define IS_ENGINE_VERSION_MAJOR 3
#define IS_ENGINE_VERSION_MINOR 3
#define IS_ENGINE_VERSION_PATCH 10
#define IS_ENGINE_VERSION_MINOR 4
#define IS_ENGINE_VERSION_PATCH 0

namespace is
{
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameTime.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/isEngine/system/function/GameTime.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
is::Engine (Infinity Solutions Engine)
Copyright (C) 2018-2023 Is Daouda <isdaouda.n@gmail.com>
Copyright (C) 2018-2024 Is Daouda <isdaouda.n@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
Loading

0 comments on commit 0b4838f

Please sign in to comment.