This commit is contained in:
Paul 2000-12-12 21:33:19 +00:00
parent b996d1fffd
commit 304b2cbab5
6 changed files with 42 additions and 6 deletions

View File

@ -97,6 +97,8 @@ pad_src := pads
paul_src := paul
script_src := script
sound_src := sound \
spu \
xmplay \

View File

@ -275,6 +275,28 @@ GRAF_DIRS_TO_MAKE += $(MUSIC_OUT_DIR)
GFX_DATA_OUT += $(MUSIC_ALL_OUT)
#----------------------------------------------------------------------------
# Script stuff..
#----------------------------------------------------------------------------
SCRIPTS_IN_DIR := $(GAME_DATA_DIR)/scripts
SCRIPTS_LIST := test
SCRIPTS_IN := $(foreach SCRIPT,$(SCRIPTS_LIST),$(SCRIPTS_IN_DIR)/$(SCRIPT).scr)
SCRIPTS_OUT_DIR := $(DATA_OUT)/scripts
SCRIPTS_OUT := $(foreach SCRIPT,$(SCRIPTS_LIST),$(SCRIPTS_OUT_DIR)/$(SCRIPT).dat)
scripts : $(SCRIPTS_OUT)
cleanscripts:
@$(RM) -f $(SCRIPTS_OUT)
$(SCRIPTS_OUT) : $(SCRIPTS_IN)
@scripter $< $@
GRAF_DIRS_TO_MAKE += $(SCRIPTS_OUT_DIR)
GFX_DATA_OUT += $(SCRIPTS_OUT)
#----------------------------------------------------------------------------
# Dirs to Make
#----------------------------------------------------------------------------

View File

@ -78,8 +78,8 @@
#include "frontend\scrollbg.h"
#endif
#ifndef __PAUL_SCRIPT_H__
#include "paul\script.h"
#ifndef __SCRIPT_SCRIPT_H__
#include "script\script.h"
#endif

View File

@ -16,7 +16,7 @@
Includes
-------- */
#include "paul\script.h"
#include "script\script.h"
#ifndef __SYSTEM_DBG_H__
#include "system\dbg.h"

View File

@ -11,8 +11,8 @@
===========================================================================*/
#ifndef __PAUL_SCRIPT_H__
#define __PAUL_SCRIPT_H__
#ifndef __SCRIPT_SCRIPT_H__
#define __SCRIPT_SCRIPT_H__
/*----------------------------------------------------------------------
Includes
@ -129,7 +129,7 @@ private:
/*---------------------------------------------------------------------- */
#endif /* __PAUL_SCRIPT_H__ */
#endif /* __SCRIPT_SCRIPT_H__ */
/*===========================================================================
end */

View File

@ -380,6 +380,18 @@ SOURCE=..\..\..\source\PsxBoot\psxboot.cpp
SOURCE=..\..\..\source\PsxBoot\PSXBOOT.H
# End Source File
# End Group
# Begin Group "script"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\..\source\script\script.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\source\script\script.h
# End Source File
# End Group
# Begin Group "sound"
# PROP Default_Filter ""