LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg.h
Go to the documentation of this file.
1 /*
2  LibNRG - Networking for Real-time Games
3 
4  Copyright (C) 2012-2014 Alex Baines <alex@abaines.me.uk>
5 
6  This software is provided 'as-is', without any express or implied
7  warranty. In no event will the authors be held liable for any damages
8  arising from the use of this software.
9 
10  Permission is granted to anyone to use this software for any purpose,
11  including commercial applications, and to alter it and redistribute it
12  freely, subject to the following restrictions:
13 
14  1. The origin of this software must not be misrepresented; you must not
15  claim that you wrote the original software. If you use this software
16  in a product, an acknowledgment in the product documentation would be
17  appreciated but is not required.
18  2. Altered source versions must be plainly marked as such, and must not be
19  misrepresented as being the original software.
20  3. This notice may not be removed or altered from any source distribution.
21 */
25 #ifndef NRG_H
26 #define NRG_H
27 #include "nrg_netaddress.h"
28 #include "nrg_socket.h"
29 #include "nrg_packet.h"
30 #include "nrg_connection.h"
31 #include "nrg_client.h"
32 #include "nrg_server.h"
33 #include "nrg_player.h"
34 #include "nrg_entity.h"
35 #include "nrg_config.h"
36 #include "nrg_interp.h"
37 #include "nrg_replay.h"
38 #include "nrg_message.h"
39 #include "nrg_replay_server.h"
40 #include "nrg_util.h"
41 #include "nrg_varint.h"
42 #include "nrg_os.h"
43 #endif
Defines the Client class, the main class used by client-side nrg programs.
Contains Message classes and functionality for two-way RPC between Server and Client.
Contains several definitions that can be used to configure the library at compile time...
Functionality for playing-back replay files.
Operating-system specific functions.
Contains the NetAddress class for wrapping POSIX sockaddr structures and resolving hostnames to IP ad...
Contains classes related to nrg's Entity data-replication abstraction.
Various utility classes and functions.
Contains the Player Interface used server-side.
Classes to wrap POSIX sockets.
Functionality for recording replay files.
Contains functionality that adds a connection abstraction over UDP.
Contains the main server-side class of the library.
Template implementation of variable-length integers, following the same format as Google's Protobufs...
Interpolation functionality.