Skip to content

Commit 14ce6fe

Browse files
committed
Rename OCServer to CPPImpl
1 parent 575451f commit 14ce6fe

20 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ OCRemote doesn't analyze any tree structure for recipe dependencies; instead it
5959
This process reads the energy level of a FluxNetwork and emits redstone signal based on the energy level, with rules specified by callback functions.
6060

6161
## Usage
62-
The documentation is still WIP and there isn't a GUI for configuration yet. The storage/auto-crafting configuration is currently hardcoded in the [server program's main function](server/OCServer/Entry.cpp). It contains a sample configuration which you can adapt for your own use. To use OCRemote, you need to build and run the [server program](server/OCServer) on a server that can be reached from OpenComputers' Internet Card. The server requires a C++ compiler (e.g. gcc) with C++17 support, [CMake](https://cmake.org/) and [Boost](https://www.boost.org/) to build. For the [client script](client/client.lua), you need to replace the `...` in the first line with your own configuration (`resX` and `resY` are the screen resolutions). The client script is meant to run without any OS or storage medium. To run it, first compress it using [Lua minifier](https://mothereff.in/lua-minifier) and then flash it into an EEPROM. Alternatively, you can flash the [loader script](client/loader.lua) to load the uncompressed client script from the Internet.
62+
The documentation is still WIP and there isn't a GUI for configuration yet. The storage/auto-crafting configuration is currently hardcoded in the [server program's main function](server/CPPImpl/Entry.cpp). It contains a sample configuration which you can adapt for your own use. To use OCRemote, you need to build and run the [server program](server/CPPImpl) on a server that can be reached from OpenComputers' Internet Card. The server requires a C++ compiler (e.g. gcc) with C++17 support, [CMake](https://cmake.org/) and [Boost](https://www.boost.org/) to build. For the [client script](client/client.lua), you need to replace the `...` in the first line with your own configuration (`resX` and `resY` are the screen resolutions). The client script is meant to run without any OS or storage medium. To run it, first compress it using [Lua minifier](https://mothereff.in/lua-minifier) and then flash it into an EEPROM. Alternatively, you can flash the [loader script](client/loader.lua) to load the uncompressed client script from the Internet.
6363

6464
The following image explains how common recipes are specified.
6565
![Explanation for recipe specification](recipe-help.png "Explanation for recipe specification")
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
cmake_minimum_required(VERSION 3.14)
22
set(CMAKE_CXX_STANDARD 17)
3-
project(OCServer)
3+
project(OCRemote)
44
FIND_PACKAGE(Boost REQUIRED)
5-
add_executable (OCServer Actions.cpp Actions.h Entry.cpp Factory.cpp Factory.h
5+
add_executable (OCRemote Actions.cpp Actions.h Entry.cpp Factory.cpp Factory.h
66
Item.cpp Item.h Overload.h Processes.cpp Processes.h Serialize.cpp Serialize.h
77
Server.cpp Server.h Storages.cpp Storages.h WeakCallback.h)
8-
target_include_directories(OCServer PRIVATE ${Boost_INCLUDE_DIR})
8+
target_include_directories(OCRemote PRIVATE ${Boost_INCLUDE_DIR})
99

1010
IF (WIN32)
1111
add_definitions(-DBOOST_ALL_NO_LIB)
1212
add_definitions(-D_WIN32_WINNT=0x0601)
1313
add_definitions(-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS)
14-
target_link_libraries(OCServer ws2_32 mswsock)
14+
target_link_libraries(OCRemote ws2_32 mswsock)
1515
ELSE ()
1616
set(THREADS_PREFER_PTHREAD_FLAG ON)
1717
find_package(Threads)
18-
target_link_libraries(OCServer Threads::Threads)
18+
target_link_libraries(OCRemote Threads::Threads)
1919
ENDIF ()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)