This commit is contained in:
parent
b996d1fffd
commit
304b2cbab5
6 changed files with 42 additions and 6 deletions
|
@ -97,6 +97,8 @@ pad_src := pads
|
||||||
|
|
||||||
paul_src := paul
|
paul_src := paul
|
||||||
|
|
||||||
|
script_src := script
|
||||||
|
|
||||||
sound_src := sound \
|
sound_src := sound \
|
||||||
spu \
|
spu \
|
||||||
xmplay \
|
xmplay \
|
||||||
|
|
22
makefile.gfx
22
makefile.gfx
|
@ -275,6 +275,28 @@ GRAF_DIRS_TO_MAKE += $(MUSIC_OUT_DIR)
|
||||||
GFX_DATA_OUT += $(MUSIC_ALL_OUT)
|
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
|
# Dirs to Make
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
|
@ -78,8 +78,8 @@
|
||||||
#include "frontend\scrollbg.h"
|
#include "frontend\scrollbg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __PAUL_SCRIPT_H__
|
#ifndef __SCRIPT_SCRIPT_H__
|
||||||
#include "paul\script.h"
|
#include "script\script.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
Includes
|
Includes
|
||||||
-------- */
|
-------- */
|
||||||
|
|
||||||
#include "paul\script.h"
|
#include "script\script.h"
|
||||||
|
|
||||||
#ifndef __SYSTEM_DBG_H__
|
#ifndef __SYSTEM_DBG_H__
|
||||||
#include "system\dbg.h"
|
#include "system\dbg.h"
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
===========================================================================*/
|
===========================================================================*/
|
||||||
|
|
||||||
#ifndef __PAUL_SCRIPT_H__
|
#ifndef __SCRIPT_SCRIPT_H__
|
||||||
#define __PAUL_SCRIPT_H__
|
#define __SCRIPT_SCRIPT_H__
|
||||||
|
|
||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
Includes
|
Includes
|
||||||
|
@ -129,7 +129,7 @@ private:
|
||||||
|
|
||||||
/*---------------------------------------------------------------------- */
|
/*---------------------------------------------------------------------- */
|
||||||
|
|
||||||
#endif /* __PAUL_SCRIPT_H__ */
|
#endif /* __SCRIPT_SCRIPT_H__ */
|
||||||
|
|
||||||
/*===========================================================================
|
/*===========================================================================
|
||||||
end */
|
end */
|
||||||
|
|
|
@ -380,6 +380,18 @@ SOURCE=..\..\..\source\PsxBoot\psxboot.cpp
|
||||||
SOURCE=..\..\..\source\PsxBoot\PSXBOOT.H
|
SOURCE=..\..\..\source\PsxBoot\PSXBOOT.H
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# 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"
|
# Begin Group "sound"
|
||||||
|
|
||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue