Commit 2aa89ee4 authored by anotherguest's avatar anotherguest

Add Symbian build files for record keeping, now updated with JJ2 sources

parent 8c131b49
PRJ_PLATFORMS
GCCE WINSCW THUMB
PRJ_MMPFILES
gnumakefile icons.mk
.\openjazz.mmp
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
else
ZDIR=$(EPOCROOT)epoc32\data\z
endif
TARGETDIR=$(ZDIR)\RESOURCE\APPS
ICONTARGETFILENAME=$(TARGETDIR)\openjazz.mif
do_nothing :
@rem do_nothing
MAKMAKE : do_nothing
BLD : do_nothing
CLEAN : do_nothing
LIB : do_nothing
CLEANLIB : do_nothing
RESOURCE :
mifconv $(ICONTARGETFILENAME) \
/c32 openjazz.svg
FREEZE : do_nothing
SAVESPACE : do_nothing
RELEASABLES :
@echo $(ICONTARGETFILENAME)
FINAL : do_nothing
target openjazz.exe
targetpath \sys\bin
targettype exe
SYSTEMINCLUDE \epoc32\include\ESDL
SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\..\src
sourcepath ..\..\src\platforms
source symbian.cpp
SOURCEPATH .
START RESOURCE openjazz.rss
HEADER
TARGETPATH \Resource\Apps
LANG SC
END
START RESOURCE openjazz_reg.rss
TARGETPATH \private\10003a3f\apps
END
EPOCSTACKSIZE 80000
EPOCHEAPSIZE 8192000 32768000
UID 0x100039ce 0xA000A005
LIBRARY cone.lib eikcore.lib
LIBRARY euser.lib apparc.lib fbscli.lib
LIBRARY apgrfx.lib
staticlibrary modpluglibpsm.lib
staticlibrary esdl.lib sdl_mixer.lib sdl_net.lib zlib.lib
LIBRARY gdi.lib hal.lib bitgdi.lib
LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
library bafl.lib estlib.lib esock.lib insock.lib
library avkon.lib
MACRO S60V3
CAPABILITY NetworkServices LocalServices
sourcepath ..\..\src
userinclude ..\..\src
source main.cpp util.cpp baselevel.cpp
sourcepath ..\..\src\bonus
userinclude ..\..\src\bonus
source bonus.cpp
sourcepath ..\..\src\scene
userinclude ..\..\src\scene
source scene.cpp sceneload.cpp
sourcepath ..\..\src\game
userinclude ..\..\src\game
source clientgame.cpp game.cpp gamemode.cpp servergame.cpp
sourcepath ..\..\src\planet
userinclude ..\..\src\planet
source planet.cpp
sourcepath ..\..\src\io
userinclude ..\..\src\io
source controls.cpp file.cpp network.cpp sound.cpp
sourcepath ..\..\src\io\gfx
userinclude ..\..\src\io\gfx
source anim.cpp font.cpp paletteeffects.cpp sprite.cpp video.cpp
sourcepath ..\..\src\level
userinclude ..\..\src\level
source bullet.cpp demolevel.cpp level.cpp levelframe.cpp levelload.cpp movable.cpp
sourcepath ..\..\src\level\event
userinclude ..\..\src\level\event
source event.cpp eventframe.cpp bridge.cpp guardians.cpp
sourcepath ..\..\src\menu
userinclude ..\..\src\menu
source gamemenu.cpp mainmenu.cpp menu.cpp setupmenu.cpp plasma.cpp
sourcepath ..\..\src\player
userinclude ..\..\src\player
source bird.cpp bonusplayer.cpp jj2levelplayer.cpp jj2levelplayerframe.cpp levelplayer.cpp levelplayerframe.cpp player.cpp
userinclude ..\..\src\jj2level
sourcepath ..\..\src\jj2level
source jj2layer.cpp jj2level.cpp jj2levelframe.cpp jj2levelload.cpp
userinclude ..\..\src\jj2level\jj2event
sourcepath ..\..\src\jj2level\jj2event
source jj2event.cpp jj2eventframe.cpp
MACRO USE_SDL_NET
MACRO USE_MODPLUG
MACRO FULLSCREEN_ONLY
OPTION GCCE -Wno-multichar -Wno-reorder -Wno-unused -Wno-format -fsigned-char
OPTION CW -char signed
;
; Basic install file for openjazz
;
; Languages
; none - English only by default
; Installation header
; Only one component name as we only support English
; UID is the app's UID -
&EN
; List of localised vendor names - one per language. At least one must be provided (English [EN]).
; List must correspond to list of languages specified elsewhere in the .pkg
%{"SomeOne"}
; The non-localised, globally unique vendor name (mandatory)
:"SomeOne"
#{"OpenJazz"},(0xA000A005),0,2,1
;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}
; Application file
"\epoc32\release\gcce\urel\openjazz.exe"-"!:\sys\bin\openjazz.exe"
"\epoc32\data\z\resource\apps\openjazz.rsc"-"!:\resource\apps\openjazz.rsc"
"\epoc32\data\z\private\10003a3f\apps\openjazz_reg.rsc"-"!:\private\10003a3f\import\apps\openjazz_reg.rsc"
"\epoc32\data\z\resource\apps\openjazz.mif"-"!:\resource\apps\openjazz.mif"
"..\..\openjazz.000"-"c:\data\openjazz\openjazz.000"
""-"c:\data\openjazz\sdl.ini",FN
""-"c:\data\openjazz\openjazz.cfg",FN
; Required files
; None
; Component .sis files
; None
NAME OJZZ
// Include definitions of resource STRUCTS used by this
// resource script
#include <eikon.rh>
#include <AppInfo.rh>
// Include the standard Eikon resource ids
#include <eikon.rsg>
RESOURCE RSS_SIGNATURE
{
}
RESOURCE TBUF16 { buf=""; }
RESOURCE EIK_APP_INFO
{
}
// This file localise the applications icons and caption
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
caption_and_icon =
{
CAPTION_AND_ICON_INFO
{
// The caption text is defined in the rls file
caption = "OpenJazz";
// Icons are used to represent applications in the
// application launcher and application title bar.
// The number_of_icons value identifies how many icons
// that exist in the icon_file.
number_of_icons = 1;
// Using the application icons.
icon_file = "\\Resource\\Apps\\OpenJazz.mif";
}
};
}
This source diff could not be displayed because it is too large. You can view the blob instead.
// All registration files need to #include appinfo.rh.
#include <AppInfo.rh>
#include <openjazz.rsg>
// All registration files must define UID2, which is always
// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
UID2 KUidAppRegistrationResourceFile
UID3 0xA000A005 // application UID
// Registration file need to containo an APP_REGISTRATION_INFO resource that
// minimally needs to provide the name of the application binary (using the
// app_file statement).
RESOURCE APP_REGISTRATION_INFO
{
app_file = "openjazz"; // filename of application binary (minus extension)
// Specify the location of the localisable icon/caption definition file
localisable_resource_file = "\\Resource\\Apps\\openjazz";
localisable_resource_id = R_LOCALISABLE_APP_INFO;
}
PRJ_PLATFORMS
WINS ARMI GCCE WINSCW THUMB
PRJ_MMPFILES
.\openjazz.mmp
target openjazz.exe
targetpath \sys\bin
targettype exe
SYSTEMINCLUDE \epoc32\include\ESDL
SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\..\src
sourcepath ..\..\src\platforms
source symbian.cpp
SOURCEPATH .
START RESOURCE openjazz.rss
HEADER
TARGETPATH \Resource\Apps
LANG SC
END
START RESOURCE openjazz_reg.rss
TARGETPATH \private\10003a3f\apps
END
EPOCSTACKSIZE 80000
EPOCHEAPSIZE 8192000 32768000
sourcepath .
START BITMAP OpenJazz.mbm
HEADER
TARGETPATH \Resource\Apps
SOURCEPATH .
// Source Color-depth Source-bitmap-list
// c denotes whether the bitmap is a colour bitmap and the digits represent the
// colour-depth of the bitmap and the bitmap mask respectively
SOURCE c24 openjazz_s.bmp
SOURCE 8 openjazz_sm.bmp
SOURCE c24 openjazz_l.bmp
SOURCE 8 openjazz_lm.bmp
SOURCE c24 openjazz_xl.bmp
SOURCE 8 openjazz_xlm.bmp
END
UID 0x100039ce 0xA000A005
LIBRARY cone.lib eikcore.lib
LIBRARY euser.lib apparc.lib fbscli.lib
LIBRARY apgrfx.lib
staticlibrary modpluglibpsm.lib
staticlibrary esdl.lib sdl_mixer.lib sdl_net.lib zlib.lib
LIBRARY gdi.lib hal.lib bitgdi.lib
LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
library bafl.lib estlib.lib esock.lib insock.lib
library qikcore.lib
MACRO UIQ3
CAPABILITY NetworkServices LocalServices
sourcepath ..\..\src
userinclude ..\..\src
source main.cpp util.cpp baselevel.cpp
sourcepath ..\..\src\bonus
userinclude ..\..\src\bonus
source bonus.cpp
sourcepath ..\..\src\scene
userinclude ..\..\src\scene
source scene.cpp sceneload.cpp
sourcepath ..\..\src\game
userinclude ..\..\src\game
source clientgame.cpp game.cpp gamemode.cpp servergame.cpp
sourcepath ..\..\src\planet
userinclude ..\..\src\planet
source planet.cpp
sourcepath ..\..\src\io
userinclude ..\..\src\io
source controls.cpp file.cpp network.cpp sound.cpp
sourcepath ..\..\src\io\gfx
userinclude ..\..\src\io\gfx
source anim.cpp font.cpp paletteeffects.cpp sprite.cpp video.cpp
sourcepath ..\..\src\level
userinclude ..\..\src\level
source bullet.cpp demolevel.cpp level.cpp levelframe.cpp levelload.cpp movable.cpp
sourcepath ..\..\src\level\event
userinclude ..\..\src\level\event
source event.cpp eventframe.cpp bridge.cpp guardians.cpp
sourcepath ..\..\src\menu
userinclude ..\..\src\menu
source gamemenu.cpp mainmenu.cpp menu.cpp setupmenu.cpp plasma.cpp
sourcepath ..\..\src\player
userinclude ..\..\src\player
source bird.cpp bonusplayer.cpp jj2levelplayer.cpp jj2levelplayerframe.cpp levelplayer.cpp levelplayerframe.cpp player.cpp
userinclude ..\..\src\jj2level
sourcepath ..\..\src\jj2level
source jj2layer.cpp jj2level.cpp jj2levelframe.cpp jj2levelload.cpp
userinclude ..\..\src\jj2level\jj2event
sourcepath ..\..\src\jj2level\jj2event
source jj2event.cpp jj2eventframe.cpp
MACRO USE_SDL_NET
MACRO USE_MODPLUG
MACRO FULLSCREEN_ONLY
OPTION GCCE -Wno-multichar -Wno-reorder -Wno-unused -Wno-format -fsigned-char
OPTION CW -char signed
;
; Basic install file for openjazz
;
; Languages
; none - English only by default
; Installation header
; Only one component name as we only support English
; UID is the app's UID -
&EN
; List of localised vendor names - one per language. At least one must be provided (English [EN]).
; List must correspond to list of languages specified elsewhere in the .pkg
%{"SomeOne"}
; The non-localised, globally unique vendor name (mandatory)
:"SomeOne"
#{"OpenJazz"},(0xA000A005),0,2,1
; ProductID for UIQ 3.0
; Product/platform version UID, Major, Minor, Build, Product ID
(0x101F6300), 3, 0, 0, {"UIQ30ProductID"}
; Application file
"\epoc32\release\gcce\urel\openjazz.exe"-"!:\sys\bin\openjazz.exe"
"\epoc32\data\z\resource\apps\openjazz.rsc"-"!:\resource\apps\openjazz.rsc"
"\epoc32\data\z\private\10003a3f\apps\openjazz_reg.rsc"-"!:\private\10003a3f\import\apps\openjazz_reg.rsc"
;"\epoc32\data\z\resource\apps\openjazz.mbm"-"!:\resource\apps\openjazz.mbm"
"..\..\openjazz.000"-"c:\shared\openjazz\openjazz.000"
""-"c:\shared\openjazz\sdl.ini",FN
""-"c:\shared\openjazz\openjazz.cfg",FN
; Required files
; None
; Component .sis files
; None
NAME OJZZ
// Include definitions of resource STRUCTS used by this
// resource script
#include <eikon.rh>
#include <qikon.rh>
#include <qikon.hrh>
#include <AppInfo.rh>
// Include the standard Eikon resource ids
#include <eikon.rsg>
RESOURCE RSS_SIGNATURE
{
}
RESOURCE TBUF16 { buf=""; }
RESOURCE EIK_APP_INFO
{
}
// This file localise the applications icons and caption
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
caption_and_icon =
{
CAPTION_AND_ICON_INFO
{
// The caption text is defined in the rls file
caption = "OpenJazz";
// Icons are used to represent applications in the
// application launcher and application title bar.
// The number_of_icons value identifies how many icons
// that exist in the icon_file.
number_of_icons = 3;
// Using the application icons.
icon_file = "\\Resource\\Apps\\OpenJazz.mbm";
}
};
}
#include <sdl.ra>
// All registration files need to #include appinfo.rh.
#include <AppInfo.rh>
#include <openjazz.rsg>
// All registration files must define UID2, which is always
// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
UID2 KUidAppRegistrationResourceFile
UID3 0xA000A005 // application UID
// Registration file need to containo an APP_REGISTRATION_INFO resource that
// minimally needs to provide the name of the application binary (using the
// app_file statement).
RESOURCE APP_REGISTRATION_INFO
{
app_file = "openjazz"; // filename of application binary (minus extension)
// Specify the location of the localisable icon/caption definition file
localisable_resource_file = "\\Resource\\Apps\\openjazz";
localisable_resource_id = R_LOCALISABLE_APP_INFO;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment