Skip to content

Commit 0252bb3

Browse files
committed
PSP: ctf game, README.md update
1 parent 1bcb42a commit 0252bb3

File tree

11 files changed

+14
-2680
lines changed

11 files changed

+14
-2680
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* Звук, на выбор при сборке: audio, vaudio
1414
* Сетевая игра Infrastructure и Adhoc
1515
* MP3 проигрыватель
16+
* CTF игра
1617

1718

1819
## Не выполнено:
@@ -22,7 +23,6 @@
2223
* Спящий режим
2324
* MIP-текстурирование в аппаратном рендеринге
2425
* Разделяемые игровые модули
25-
* Сборка ctf и других игр
2626

2727

2828
## Проблемы:
@@ -44,15 +44,14 @@
4444
GAME (base, ctf) - Игра
4545
USE_VAUDIO (0, 1) - Вывод звука через vaudio
4646
USE_CDMP3 (0, 1) - MP3 проигрыватель
47+
USE_STDIN (0, 1) - Ввод команд через tty режим PSPLink
4748

4849
### Пример:
4950

5051
#### make:
5152

5253
make -j8 BUILD=release REF=gu USE_CDMP3=1
5354

54-
> `GAME=ctf` на данный момент скорее всего завершится с ошибкой
55-
5655
> Для сборки с параметром `USE_VAUDIO=1`, требуется библиотека [libpspvaudio](https://github.com/Crow-bar/libpspvaudio)
5756
5857
#### clean:
@@ -90,6 +89,7 @@ Port of Quake 2 (Id Software, Inc.) for the PlayStation Portable.
9089
* Sound, to choose from when assembling: audio, vaudio
9190
* Network game Infrastructure and Adhoc
9291
* MP3 player
92+
* CTF game
9393

9494

9595
## Not done:
@@ -99,7 +99,6 @@ Port of Quake 2 (Id Software, Inc.) for the PlayStation Portable.
9999
* Sleep mode
100100
* MIP-texturing in hardware rendering
101101
* Shareable game modules
102-
* Build ctf and other games
103102

104103

105104
## Problems:
@@ -116,20 +115,19 @@ Port of Quake 2 (Id Software, Inc.) for the PlayStation Portable.
116115

117116
### Parameters (first default):
118117

119-
BUILD (debug, release) - Build mode
118+
BUILD (debug, release) - Build mode
120119
REF (soft, gu) - Rendering: soft - software, gu - hardware
121120
GAME (base, ctf) - Game
122121
USE_VAUDIO (0, 1) - Audio output via vaudio
123122
USE_CDMP3 (0, 1) - MP3 player
123+
USE_STDIN (0, 1) - Entering commands via tty mode PSPLink
124124

125125
### Example:
126126

127127
#### make:
128128

129129
make -j8 BUILD=release REF=gu USE_CDMP3=1
130130

131-
> `GAME=ctf` is likely to fail at the moment
132-
133131
> To build with `USE_VAUDIO=1`, the [libpspvaudio](https://github.com/Crow-bar/libpspvaudio) library is required
134132
135133
#### clean:

ctf/g_local.h

+1-10
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1919
*/
2020
// g_local.h -- local definitions for game module
2121

22-
#include "q_shared.h"
22+
#include "../shared/q_shared.h"
2323

2424
// define GAME_INCLUDE so that game.h does not define the
2525
// short, server-visible gclient_t and edict_t structures,
@@ -466,11 +466,6 @@ extern spawn_temp_t st;
466466
extern int sm_meat_index;
467467
extern int snd_fry;
468468

469-
extern int jacket_armor_index;
470-
extern int combat_armor_index;
471-
extern int body_armor_index;
472-
473-
474469
// means of death
475470
#define MOD_UNKNOWN 0
476471
#define MOD_BLASTER 1
@@ -561,10 +556,6 @@ extern cvar_t *flood_waitdelay;
561556

562557
extern cvar_t *sv_maplist;
563558

564-
//ZOID
565-
extern qboolean is_quad;
566-
//ZOID
567-
568559
#define world (&g_edicts[0])
569560

570561
// item spawnflags

0 commit comments

Comments
 (0)