1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

(svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files

This commit is contained in:
rubidium
2006-05-22 09:59:09 +00:00
parent 58458812a4
commit 928fbe34f2
3 changed files with 4 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
#include "player.h"
#include "network.h"
#include "variables.h"
#include "settings.h"
extern void SwitchMode(int new_mode);
@@ -54,7 +55,6 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
{
/* We do +/- 6 for the map_xy because 64 is 2^6, but it is the lowest available element */
static const StringID mapsizes[] = {STR_64, STR_128, STR_256, STR_512, STR_1024, STR_2048, INVALID_STRING_ID};
extern Patches _patches_newgame;
switch (e->event) {
case WE_PAINT: