universal.h
来自「通用网络游戏开发框架」· C头文件 代码 · 共 18 行
H
18 行
// This file needs -*- c++ -*- mode
// ============================================================================
// Constants global across the client and server
//
// (c) 2003 Ken Reed
//
// This is free software. You can redistribute it and/or modify it under the
// terms of the GNU General Public License version 2 as published by the Free
// Software Foundation.
// ============================================================================
#pragma once
const int server_port (3333);
const int max_players (6);
const double attrition_rate (0.05);
const double pi (3.14159266);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?