Giter VIP home page Giter VIP logo

openmultiplayer / open.mp Goto Github PK

View Code? Open in Web Editor NEW
406.0 31.0 78.0 8.29 MB

Open Multiplayer, a multiplayer mod fully backwards compatible with SA-MP

Home Page: https://open.mp

License: Mozilla Public License 2.0

CMake 1.26% C++ 97.71% Dockerfile 0.26% Shell 0.52% PowerShell 0.21% Batchfile 0.04%
grand theft auto grand-theft-auto grand-theft-auto-san-andreas san-andreas san-andreas-multiplayer samp sa-mp sa-mp-development

open.mp's Introduction

open.mp

status

Structure

Path Content
SDK/include Core SDK headers (stable between versions)
SDK/include/Server/Components/*/ Components/plug-in SDK headers (stable between versions)
Shared/NetCode/ Netcode headers (RPC and packet read/write structures, NOT stable between versions)
Shared/Network/ Network utility headers (NOT stable between versions)
lib/ Various submodules and third-party libraries
Server/Source/ Core server implementation (NOT stable between versions, do NOT use headers outside the Source folder)
Server/Components/*/ Components/plug-in implementation (NOT stable between versions, do NOT use headers outside the component's folder)

Concepts

Name Description
Entity Something that can appear in the 3D world of the game
Pool Container of something with limited amount of IDs
Component Something that's conceptually different enough it can be separated into its own module
Extensible Something to which extensions can be added to preserve ABI compatibility
Extension Something which adds additional functionality to an extensible and preserves ABI compatibility

Tools

Tools on Windows

Visual Studio needs the Desktop development with C++ workload with the C++ Clang tools for Windows component.

Sources

# With HTTPS:
git clone --recursive https://github.com/openmultiplayer/open.mp
# With SSH:
git clone --recursive [email protected]:openmultiplayer/open.mp

Note the use of the --recursive argument, because this repository contains submodules.

Building on Windows

cd open.mp
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
cmake --build . --config RelWithDebInfo

Building on Mac

If you install conan via brew you must ensure you get the correct version; however, the cmake-conan script will not detect it from the default install location. You must therefore also alias it elsewhere:

brew install conan@1
sudo ln -s /usr/local/opt/conan@1/bin/conan /usr/local/bin/conan
cd open.mp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.