HaikuOS port (#97)

* ExternalFileLevelStorageSource: add workaround for d_type on Haiku

* raknet: FileList: do not include io.h on Haiku

* raknet: SocketLayer: add sockio.h for Haiku

* cmake: link -lnetwork on Haiku

* readme: add Haiku build dependencies

* cmake: use link_libraries instead of add_link_options

* ExternalFileLevelStorageSource: use scary stdstring instead of char
This commit is contained in:
SanyaSho
2023-11-05 22:33:57 +03:00
committed by GitHub
parent 3b60855ad0
commit b055b37b02
5 changed files with 31 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ based on the mcpe01_canada.apk build of the game.
* WebGL
* macOS (port by [BrentDaMage](https://github.com/BrentDaMage))
* Xbox 360 (incomplete; port by [BrentDaMage](https://github.com/BrentDaMage))
* HaikuOS
**We will not do the following:**
* Add features added in or after Java Edition Beta 1.8
@@ -140,6 +141,19 @@ cmake --build .
./reminecraftpe
```
### HaikuOS
#### Dependencies
- `libsdl2_devel` (SDL2)
- `glu_devel mesa_devel` (Mesa)
- `cmake` (CMake)
- `ninja` (Ninja)
#### How To Build
- Same as for Linux.
## Have seams when playing?
I've had texture seams when playing Minecraft Classic, ClassiCube and this recreation of Minecraft PE, on a