From: <jo...@us...> - 2006-06-07 20:32:01
|
Revision: 24490 Author: jorrit Date: 2006-06-07 05:13:03 -0700 (Wed, 07 Jun 2006) ViewCVS: http://svn.sourceforge.net/crystal/?rev=24490&view=rev Log Message: ----------- - Jorrit added a 'notimplemented' menu in the start menu and also started work on a credits screen. This is not 100% finished yet. Modified Paths: -------------- crystalcore/trunk/data/menus/startmenu.xml crystalcore/trunk/docs/history.txt Modified: crystalcore/trunk/data/menus/startmenu.xml =================================================================== --- crystalcore/trunk/data/menus/startmenu.xml 2006-06-07 09:43:38 UTC (rev 24489) +++ crystalcore/trunk/data/menus/startmenu.xml 2006-06-07 12:13:03 UTC (rev 24490) @@ -101,9 +101,6 @@ <default propclass="pc(pcbillboard)" /> <property id="propid(name)" value="cont" /> <property id="propid(materialname)" value="menu_container" /> - <property id="propid(movable)" value="false" /> - <property id="propid(clickable)" value="false" /> - <property id="propid(restack)" value="false" /> <property id="propid(width)" value="75000" /> <property id="propid(height)" value="185000" /> <property id="propid(x)" value="-75000" /> @@ -243,7 +240,7 @@ <superscript name="menu_container" /> <event name="init"> <super /> - <expr eval="createitem(text='PLAYER',event=MENU_player_menu)" /> + <expr eval="createitem(text='PLAYER',event=MENU_notimplemented_menu)" /> <expr eval="createitem(text='NEW GAME',event=MENU_newgame_menu)" /> <expr eval="createitem(text='LOAD GAME',event=MENU_loadgame_menu)" /> <expr eval="createitem(text='SETTINGS',event=MENU_settings_menu)" /> @@ -258,6 +255,7 @@ </event> </script> + <!-- <script name="player_menu"> <superscript name="menu_container" /> <event name="init"> @@ -265,6 +263,7 @@ <expr eval="createitem(text='BACK',event=MENU_start_menu)" /> </event> </script> + --> <script name="newgame_menu"> <superscript name="menu_container" /> @@ -279,8 +278,8 @@ <superscript name="menu_container" /> <event name="init"> <super /> - <expr eval="createitem(text='LOAD',event=MENU_start_menu)" /> - <expr eval="createitem(text='DELETE',event=MENU_start_menu)" /> + <expr eval="createitem(text='LOAD',event=MENU_notimplemented_menu)" /> + <expr eval="createitem(text='DELETE',event=MENU_notimplemented_menu)" /> <expr eval="createitem(text='BACK',event=MENU_start_menu)" /> </event> </script> @@ -289,10 +288,10 @@ <superscript name="menu_container" /> <event name="init"> <super /> - <expr eval="createitem(text='SYSTEM',event=MENU_start_menu)" /> - <expr eval="createitem(text='CONTROLS',event=MENU_start_menu)" /> - <expr eval="createitem(text='DISPLAY',event=MENU_start_menu)" /> - <expr eval="createitem(text='SOUND',event=MENU_start_menu)" /> + <expr eval="createitem(text='SYSTEM',event=MENU_notimplemented_menu)" /> + <expr eval="createitem(text='CONTROLS',event=MENU_notimplemented_menu)" /> + <expr eval="createitem(text='DISPLAY',event=MENU_notimplemented_menu)" /> + <expr eval="createitem(text='SOUND',event=MENU_notimplemented_menu)" /> <expr eval="createitem(text='BACK',event=MENU_start_menu)" /> </event> </script> @@ -302,22 +301,131 @@ <event name="init"> <super /> <expr eval="createitem(text='BACK',event=MENU_start_menu)" /> + <createentity name="credits" layer="blxml" behaviour="menu_credits" /> </event> <event name="destroymenu"> <super /> + <destroyentity name="credits" /> </event> </script> + <script name="notimplemented_menu"> + <superscript name="menu_container" /> + <event name="init"> + <super /> + <expr eval="createitem(text='BACK',event=MENU_start_menu)" /> + <createentity name="notimplemented" layer="blxml" behaviour="menu_notimplemented" /> + </event> + + <event name="destroymenu"> + <super /> + <destroyentity name="notimplemented" /> + </event> + </script> + + <script name="menu_notimplemented"> + <event name="init"> + <createpropclass name="pcbillboard" /> + <default propclass="pc(pcbillboard)" /> + <property id="propid(name)" value="bg_notimplemented" /> + <property id="propid(width)" value="179000" /> + <property id="propid(height)" value="144000" /> + <property id="propid(x)" value="88500" /> + <property id="propid(y)" value="105000" /> + <property id="propid(text)" value="'Not implemented yet!'" /> + <property id="propid(text_offset)" value="[5000,3700]" /> + </event> + </script> + + <script name="menu_credits"> + <event name="createbb"> + <createpropclass name="pcbillboard" tag="line+@idx" /> + <default propclass="pctag(pcbillboard,line+@idx)" /> + <property id="propid(name)" value="bg_credits" /> + <property id="propid(width)" value="179000" /> + <property id="propid(height)" value="10000" /> + <property id="propid(x)" value="88500" /> + <lvar name="offset" value="@idx*10000" /> + <if eval="@idx>0"> <lvar name="offset" value="#offset+10000" /> </if> + <property id="propid(y)" value="105000+#offset" /> + </event> + + <event name="msg"> + <default propclass="pctag(pcbillboard,line+@idx)" /> + <property id="propid(text)" value="@msg" /> + <property id="propid(text_offset)" value="[5000,3700]" /> + </event> + + <event name="clear"> + <for var="idx" start="0" end="12"> + <expr eval="msg(idx=?idx,msg='')" /> + </for> + </event> + + <event name="page1"> + <expr eval="msg(idx=0,msg='Credits Page 1')" /> + <expr eval="msg(idx=1,msg=' Jorrit Tyberghein: original creator and project manager')" /> + <expr eval="msg(idx=2,msg=' Responsible for CS, CEL, and main coding of')" /> + <expr eval="msg(idx=3,msg=' game logic. Main input on story and concepts.')" /> + <expr eval="msg(idx=4,msg='')" /> + <expr eval="msg(idx=5,msg=' Anders Wisur: art directory and main level creator.')" /> + <expr eval="msg(idx=6,msg=' Big input on story and concepts.')" /> + <expr eval="msg(idx=7,msg=' Created several in-game non-animated models.')" /> + </event> + <event name="page2"> + <expr eval="msg(idx=0,msg='Credits Page 2')" /> + <expr eval="msg(idx=1,msg=' Hakim Achterberg: many story contributions and ideas')" /> + <expr eval="msg(idx=2,msg=' Raymond Geerts: textures and sound effects')" /> + <expr eval="msg(idx=3,msg=' Alessandro Garosi: animated creastures')" /> + <expr eval="msg(idx=4,msg=' Amir Taaki: animated creastures')" /> + <expr eval="msg(idx=4,msg=' Arcane Falcon: concept art, weapons, animals and ship')" /> + </event> + <event name="page3"> + <expr eval="msg(idx=0,msg='Credits Page 3')" /> + <expr eval="msg(idx=1,msg=' Pascal Tempier: concept art')" /> + <expr eval="msg(idx=2,msg=' Tony: concept art')" /> + </event> + <event name="page4"> + <expr eval="msg(idx=0,msg='Credits Page 4')" /> + <expr eval="msg(idx=1,msg=' Blender Team: creators of the wonderful Blender')" /> + <expr eval="msg(idx=2,msg=' modeller. Most models and levels were created')" /> + <expr eval="msg(idx=3,msg=' with Blender.')" /> + <expr eval="msg(idx=4,msg=' Pablo Martin: creator of the essential blender2crystal.')" /> + <expr eval="msg(idx=5,msg=' This gives us the all important connection between')" /> + <expr eval="msg(idx=6,msg=' Blender and Crystal Space.')" /> + <expr eval="msg(idx=7,msg=' Crystal Space Team: without Crystal Space this game')" /> + <expr eval="msg(idx=8,msg=' would simply not exist.')" /> + <expr eval="msg(idx=9,msg=' CEL Team')" /> + </event> + + <event name="pctimer_wakeup"> + <call event="clear" /> + <call event="page+?curpage" /> + <var name="curpage" value="?curpage+1" /> + <if eval="?curpage>4"> <var name="curpage" value="1" /> </if> + </event> + + <event name="init"> + <for var="idx" start="0" end="12"> + <expr eval="createbb(idx=?idx)" /> + </for> + <createpropclass name="pctimer" /> + <var name="curpage" value="1" /> + <call event="pctimer_wakeup" /> + <action propclass="pc(pctimer)" id="actid(WakeUp)"> + <par id="parid(time)" value="10000" /> + <par id="parid(repeat)" value="true" /> + </action> + </event> + </script> + <script name="menu_outside"> <event name="init"> <createpropclass name="pcbillboard" /> <default propclass="pc(pcbillboard)" /> <property id="propid(name)" value="bg_outside" /> <property id="propid(materialname)" value="menu_outside" /> - <property id="propid(movable)" value="false" /> - <property id="propid(clickable)" value="false" /> - <property id="propid(restack)" value="false" /> <property id="propid(width)" value="179000" /> <property id="propid(height)" value="144000" /> <property id="propid(x)" value="88500" /> Modified: crystalcore/trunk/docs/history.txt =================================================================== --- crystalcore/trunk/docs/history.txt 2006-06-07 09:43:38 UTC (rev 24489) +++ crystalcore/trunk/docs/history.txt 2006-06-07 12:13:03 UTC (rev 24490) @@ -9,6 +9,9 @@ - Jorrit changed the inventory system so that when you return 2 from cc_use the object will be removed from the inventory but not destroyed. + - Jorrit added a 'notimplemented' menu in the start menu + and also started work on a credits screen. This is not + 100% finished yet. 6-Jun-2006 - Jorrit added ambient sound to the outdoor level. 5-Jun-2006 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |