Appl new code style on whole code base

Use a similar code style to bemanitools though reduce indentation
to 2 spaces. Also some other tweaks to be more similar to google
style.
This commit is contained in:
icex2
2021-03-19 15:52:34 +01:00
parent b493b4983a
commit eafb2909d1
322 changed files with 30291 additions and 25084 deletions
+11 -9
View File
@@ -1,5 +1,6 @@
/**
* Patch module to redirect profile saving and loading to a pumpnet server (NX2 to Fiesta 2).
* Patch module to redirect profile saving and loading to a pumpnet server (NX2
* to Fiesta 2).
*/
#ifndef HOOK_PATCH_NET_PROFILE_H
#define HOOK_PATCH_NET_PROFILE_H
@@ -12,16 +13,17 @@
* @param game Game version to run this module on
* @param pumpnet_server_addr Server address of pumpnet to connect to
* @param machine_id Machine ID to use for authentication
* @param cert_dir_path Path to a directory containing the client cert, client key and CA cert bundle to enable https
* communication
* @param verbose_debug_log Enable verbose debug log output, e.g. network backend logging/traffic.
* @param cert_dir_path Path to a directory containing the client cert, client
* key and CA cert bundle to enable https communication
* @param verbose_debug_log Enable verbose debug log output, e.g. network
* backend logging/traffic.
*/
void patch_net_profile_init(
enum asset_game_version game,
const char* pumpnet_server_addr,
uint64_t machine_id,
const char* cert_dir_path,
bool verbose_debug_log);
enum asset_game_version game,
const char *pumpnet_server_addr,
uint64_t machine_id,
const char *cert_dir_path,
bool verbose_debug_log);
/**
* Shut down the module.