Skip to content

Commit 34b6a4f

Browse files
Reduce module count by moving cards into consolidated modules
1 parent 909cf6c commit 34b6a4f

289 files changed

Lines changed: 20152 additions & 24163 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,6 @@ FetchContent_Declare(
236236
GIT_TAG main
237237
)
238238

239-
# FetchContent_Declare(
240-
# asio
241-
# GIT_REPOSITORY https://github.com/chriskohlhoff/asio.git
242-
# GIT_TAG asio-1-38-0
243-
# )
244239
FetchContent_Declare(
245240
ftxui
246241
GIT_REPOSITORY https://github.com/ArthurSonzogni/FTXUI.git

README.md

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# openJuice
22

3-
## Overview:
3+
## Overview
4+
45
🍊 Open-source re-engineering of the game [*100% Orange Juice!*](https://store.steampowered.com/app/282800), written as a love letter to the original game.
56
This does not aim to be a one-to-one recreation of the game but rather a port of the game as a TUI program.
67

@@ -13,27 +14,32 @@ Tested for Linux. Windows and MacOS support untested.
1314
[![GPLv3](https://img.shields.io/badge/license-GPLv3-green)](#)
1415

1516
## Notice
17+
1618
Localisation files are not included. Users must supply localisation data in the format shown by [100-Orange-Juice-Public-Defines](https://github.com/FruitbatFactory/100-Orange-Juice-Public-Defines/).
1719

1820
The official repository cannot be legally included in this repository, but localisation files match this format and are expected to be in a directory called `./assets/define`. This project does not distribute or endorse any specific data source.
1921

2022
Audio files are not included either.
2123

22-
## Build:
23-
Requires C++26, and a build system such as CMake (minimum version 3.30) or XMake. The project has not yet been tested for GCC or MSVC, so we recommend only compiling with Clang for now.
24+
## Build
25+
26+
Requires C++26, and a build system such as CMake (minimum version 3.30) or XMake. The project has not yet been tested for GCC or MSVC, so we recommend only compiling with Clang for now.
2427

2528
### CMake
29+
2630
> **Info:** Requires CMake ≥3.30 and the Ninja build system.
2731
> Makefiles generated by CMake currently do not support modules.
2832
29-
Any way of calling CMake is fine.
33+
Any way of calling CMake is fine.
3034

3135
The simplest way to build the project is using the Makefile, which calls CMake:
36+
3237
```sh
3338
make build SANITIZERS=all
3439
```
3540

3641
Or, by manually calling CMake:
42+
3743
```sh
3844
# Sets source directory to current directory, build directory to ./build/, and generates Ninja build system files
3945
cmake -S . -B build -G Ninja
@@ -48,7 +54,8 @@ cmake --build build
4854
We have also written a Python script to simplify using CMake, which can be run with `./quick_cmake_build.py`. (Simply execute the script `quick_cmake_build.py` to compile the program with CMake.) If [JBang](https://github.com/jbangdev/jbang) is installed, `QuickCMakeBuild.java` can also be executed as a script.
4955

5056
`quick_cmake_build.py` help:
51-
```
57+
58+
```text
5259
usage: quick_cmake_build.py [-h] [-r] [-c | -ca | -n | -pd | -rc] [-g] [-s SANITISER [SANITISER ...]] [-v]
5360
5461
Build script for openJuice project.
@@ -68,7 +75,8 @@ options:
6875
```
6976

7077
`QuickCMakeBuild.java` help:
71-
```
78+
79+
```text
7280
Usage: QuickCMakeBuild [-ghrvV] [-s=<sanitisers>]... [-c | -ca | -n | -pd | -rc]
7381
Build script for openJuice project
7482
-c, --clean Clean only project source files (no building)
@@ -94,10 +102,12 @@ Build script for openJuice project
94102
```
95103

96104
### XMake
105+
97106
> **Warning:** Building the project with XMake is currently not working. Please use CMake instead.
98107
> Currently XMake is not downloading and compiling the dependencies correctly.
99108
100109
To build the project using XMake, do the following:
110+
101111
```sh
102112
# Generate the compile_commands.json file
103113
xmake project -k compile_commands
@@ -109,25 +119,29 @@ xmake
109119
xmake run
110120
```
111121

112-
## Usage:
122+
## Usage
123+
113124
To be written.
114125

115126
## TODO:
127+
116128
* Resolve all `#warning` markers, if possible
117129
* Complete design document
118130
* Continue documentation (Doxygen)
119131
* Implement online multiplayer functionality
120132
* Implement a game AI
121133

122134
## Dependencies
135+
123136
This project uses the following external libraries:
124-
- [stdlib](https://github.com/mikomikotaishi/stdlib) (`std`)
125-
- [Discord Social SDK](https://discord.com/developers/social-sdk) (`discordpp`)
126-
- [FTXUI](https://github.com/ArthurSonzogni/FTXUI) (`ftxui`)
127-
- [nlohmann-json](https://github.com/nlohmann/json) (`nlohmann::json`)
128-
- [re2](https://github.com/google/re2) (`re2`)
129-
- [SFML](https://github.com/SFML/SFML) (`sfml`)
130-
- [tomlplusplus](https://github.com/marzer/tomlplusplus) (`tomlplusplus`)
137+
138+
* [stdlib](https://github.com/mikomikotaishi/stdlib) (`std`)
139+
* [Discord Social SDK](https://discord.com/developers/social-sdk) (`discordpp`)
140+
* [FTXUI](https://github.com/ArthurSonzogni/FTXUI) (`ftxui`)
141+
* [nlohmann-json](https://github.com/nlohmann/json) (`nlohmann::json`)
142+
* [re2](https://github.com/google/re2) (`re2`)
143+
* [SFML](https://github.com/SFML/SFML) (`sfml`)
144+
* [tomlplusplus](https://github.com/marzer/tomlplusplus) (`tomlplusplus`)
131145

132146
ECS adapted from [kawa_ecs](https://github.com/superPuero/kawa_ecs) (`kawa::ecs`).
133147

dependencies.png

1.9 MB
Loading

deps/discordpp/discordpp.cppm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file discordpp.cppm
33
* @module discordpp
44
* @brief Module file for Discord Social SDK operations.
5-
* @version 1.8.14856
5+
* @version 1.9.16441
66
*/
77

88
module;

deps/discordpp/discordpp/cdiscord.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@ Discord_Client_SetNoAudioInputCallback(Discord_Client* self,
13461346
Discord_FreeFn callback__userDataFree,
13471347
void* callback__userData);
13481348
void DISCORD_API Discord_Client_SetNoAudioInputThreshold(Discord_Client* self, float dBFSThreshold);
1349+
void DISCORD_API Discord_Client_SetNoiseCancellation(Discord_Client* self, bool on);
13491350
void DISCORD_API Discord_Client_SetNoiseSuppression(Discord_Client* self, bool on);
13501351
void DISCORD_API Discord_Client_SetOpusHardwareCoding(Discord_Client* self,
13511352
bool encode,

0 commit comments

Comments
 (0)