From 2061a82182f88a7d535b6947723f3e017789aff6 Mon Sep 17 00:00:00 2001 From: Martin Schaffner Date: Mon, 24 Jan 2005 22:22:37 +0000 Subject: [PATCH] do texture replacement for any mission --- ChangeLog | 1 + main/editor/texpage.c | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4f5578c..3d99566d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,7 @@ ui/number.c, ui/popup.c, ui/radio.c, ui/scroll.c, ui/ui.c, ui/uidraw.c, ui/userbox.c, ui/window.c: include u_mem.h and pstypes.h instead of d1-style mem.h and types.h + * main/editor/texpage.c: do texture replacement for any mission 2005-01-23 Jason Owen diff --git a/main/editor/texpage.c b/main/editor/texpage.c index 3ee86fe6..80de38ec 100644 --- a/main/editor/texpage.c +++ b/main/editor/texpage.c @@ -1,4 +1,4 @@ -/* $Id: texpage.c,v 1.3 2004-12-19 15:21:11 btb Exp $ */ +/* $Id: texpage.c,v 1.4 2005-01-24 22:22:37 schaffner Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -28,7 +28,7 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include #ifdef RCS -static char rcsid[] = "$Id: texpage.c,v 1.3 2004-12-19 15:21:11 btb Exp $"; +static char rcsid[] = "$Id: texpage.c,v 1.4 2005-01-24 22:22:37 schaffner Exp $"; #endif #include "inferno.h" @@ -42,6 +42,7 @@ static char rcsid[] = "$Id: texpage.c,v 1.3 2004-12-19 15:21:11 btb Exp $"; #include "key.h" #include "mono.h" #include "gamesave.h" +#include "mission.h" #include "texpage.h" #include "piggy.h" @@ -313,16 +314,18 @@ void do_replacements_all(void) { int i; - for (i=0; i