Short: XMasBench v0.1 - The ultimate ChristmasBench! Author: chaozer@algonet.se (Adam Waldenberg), Martin Ejdestig Uploader: chaozer@algonet.se (Adam Waldenberg) Type: util/wb **************************** * Copyright & Distribution * **************************** XMasBench v0.1 Copyright © 1999 Martin "Nemonic" Ejdestig & Adam "ChaoZer" Waldenberg XMasBench is distributed as FREEWARE. This software can be freely distributed, as long as no more than the nominal fee is charged to cover the time and copying costs and as long as the archive remains intact and unchanged. No commercial usage is permitted without a written permission from us.(the authors) The makers of the AMINET CDs, have our permission to distribute this software on their AMINET CDs. We are not responssible to any loss of data or any damage of your software/hardware. Use it at your own risk! **************** * Introduction * **************** Merry christmas everybody! Have you ever thought that your workbench is SO boring?:) Have you always wanted to add that extra piece of christmas spirit to your wb? Then this is something for you! ** AS IT IS CHRISTMAS!! THE FULL SOURCE OF XMasBench IS INCLUDED!! ** **************** * Requirements * **************** AmigaOS 3.1 MC68020+ CybergrapX3 Fastmem! 15bit+ screenmode. Usage ***** --------------------------- TASKPRI= (-128-127) --------------------------- This sets the taskpri of XMasBench... We recommend that you set this below 0, so that it doesnt take time from other tasks. -------- DWAITTOF -------- This argument disables WaitTOF(). WaitTOF() is the function that waits for the videobeam, so that everything is updated every frame. Setting this argument forces the snow, lights and tree to be updated more often, if possible. (Sometimes WaitTOF() can slow everything down.) -------------------------- INITDELAY= (0-120) -------------------------- With this argument you can set a delay. If you for example set the delay to INITDELAY=5, XMasBench will wait 5 seconds before starting to execute itself. This can be useful is XMasBench is started in the Startup-sequence/User-startup. ------------------- LAYER1=<0xAARRGGBB> LAYER2=<0xAARRGGBB> LAYER3=<0xAARRGGBB> LAYER4=<0xAARRGGBB> LAYER5=<0xAARRGGBB> ------------------- AA = Alpha channel (00-FF) RR = Red value (00-FF) GG = Green Value (00-FF) BB = Blue Value (00-FF) So writing for example: LAYER1=0x00FF0000, gives us red snowflakes in layer1, with alphachannel turned off! ----------------------------------- SNOWFLAKES= (0-ScreenWidth) ----------------------------------- Sets the maximum number of nowflakes on screen. (Maximum number of snwflakes is the same as the width of your screen). SNOWFLAKES=100 gives us a max of 100 snowflakes on screen ;). To disable the snow totally, set max snowflakes to SNOWFLAKES=0. --------------------------- SNOWCHANCE= (0-100) --------------------------- The chance of new snow appearing on screen, this is usefull if you want snowflakes to appear slowly.. instead of having 200 snowflakes that suddenly pop up. Setting the chance to SNOWCHANCE=100 gives us a 100% chance of new snow appearing, this means that new snow will appear every frame untill SNOWFLAKES is reached. You can disable snow with this argument also, just by setting the chance to SNOWCHANCE=0. ------------------------ SNOWSPEED= (1-3) ------------------------ This sets the speed of our snowflakes. Nothing more to say, really. --------- WINDOWCOL --------- Passing this argument enables windowcollision. All the snowflakes in the front layer will land on the windows. If this argument is not specified, windowcollision is turned off (Default). -------------------------------- LIFELENGTH= (1000-10000) -------------------------------- If windowcollision is on, setting a lifelength is a good idea, as we do not want snowflakes lying around everywhere. Everytime a snowflake is updated its lifelength is lowered by 1. -------------------------- T_INCREMNT= (0-10) -------------------------- If windowcollision is on, it is sometimes necessary to change the window-titlebar-offset. For example.. if you increase your window-titlebar-height to 2 in visualprefs.. i think you should set the increment to T_INCREMNT=2. If you notice that the snowflakes dont land on the windows correctly, even if you have set the WINDOWCOL argument, please play around with this value. -------------------------- FLASHSPEED= (1-10) -------------------------- This sets the flashspeed of the christmaslights, the higher it is the slower it gets ;). ---------------------------- LIGHTA_ADD= (0-64) -------------------------- Alter the space between the lights, the default value is 0. --------- RNDLIGHTC --------- If this argument is set, the lightcolours of the lights are randomized.. instead of having a fixed value. ------------------------------------ CWINDOWL (Close left light window) CWINDOWR (Close left right window) CWINDOWT (Close top light window) CWINDOWB (Close bottom light Window) ------------------------------------ With theese arguments you can close a specific chritsmaslight window. To disable christmaslights, just specify all the CWINDOWx arguments. -------- CHOPTREE -------- If this argument is specified, the Christmastree that is centered on the wb by default, is disabled. -------------------------- TREEA_ADD= (-30-30) -------------------------- Add alphachannelvalue to the christmastree. The higher the value is, the more the christmasstar glows! ---------------------------- TREELA_ADD= (-30-30) ---------------------------- Add alphachannelvalue to the christmastree twinklethings ;). (Thoose tiny twinkles that appear on the christmastree.) The higher the value is, the more the twinkles glow! ************* *** NOTE! *** ************* You can exit XMasBench at any time by sending a CTRL-C to it. ********** * Greets * ********** Erik Larsson - Now... Where is that BVision... It sure could come in very handy now... Jens Larsson - We really hope this makes your day! MazzelSID - If you ever had a reason to change to a 15bit+ wb... this is it ;) DALNET #Amiga - Hey guys! *********** * Contact * *********** This is how you contact us... Email: chaozer@algonet.se ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 29780 13950 53.1% 16-Dec-99 12:56:52 +XMasChkConv 1576 551 65.0% 16-Dec-99 12:56:52 +XMasChkConv.c 2740 1423 48.0% 22-Dec-99 11:50:18 +XMasLightBlue-a.iff 18258 695 96.1% 22-Dec-99 12:45:06 +XMasLightBlue.c 2662 1174 55.8% 22-Dec-99 12:19:38 +XMasLightBlue.iff 2752 1305 52.5% 22-Dec-99 14:18:18 +XMasLightOrange-a.iff 18260 688 96.2% 22-Dec-99 14:20:42 +XMasLightOrange.c 2686 937 65.1% 22-Dec-99 14:19:04 +XMasLightOrange.iff 2752 1305 52.5% 22-Dec-99 14:18:18 +XMasLightPink-a.iff 18258 696 96.1% 22-Dec-99 14:34:38 +XMasLightPink.c 2686 1111 58.6% 22-Dec-99 14:33:30 +XMasLightPink.iff 2752 1305 52.5% 22-Dec-99 14:18:18 +XMasLightPurple-a.iff 18260 701 96.1% 22-Dec-99 14:34:42 +XMasLightPurple.c 2624 1258 52.0% 22-Dec-99 14:29:46 +XMasLightPurple.iff 2740 1423 48.0% 22-Dec-99 11:50:18 +XMasLightRed-a.iff 18257 697 96.1% 22-Dec-99 11:51:16 +XMasLightRed.c 2662 1051 60.5% 22-Dec-99 11:17:24 +XMasLightRed.iff 47647 1627 96.5% 21-Dec-99 21:06:16 +XMasLightsBack.c 3018 2068 31.4% 21-Dec-99 21:05:20 +XMasLightsBack.iff 11936 719 93.9% 21-Dec-99 21:42:24 +XMasLightsBackC.c 1994 1201 39.7% 21-Dec-99 21:41:42 +XMasLightsBackC.iff 11936 578 95.1% 21-Dec-99 21:39:36 +XMasLightsBackF.c 1678 946 43.6% 21-Dec-99 21:29:34 +XMasLightsBackF.iff 2924 892 69.4% 22-Dec-99 13:06:24 +XMasLightTurquoise-a.iff 18263 711 96.1% 22-Dec-99 13:16:32 +XMasLightTurquoise.c 2654 1419 46.5% 22-Dec-99 13:14:52 +XMasLightTurquoise.iff 2924 892 69.4% 22-Dec-99 13:06:24 +XMasLightYellow-a.iff 18260 696 96.1% 22-Dec-99 13:06:44 +XMasLightYellow.c 2654 1230 53.6% 22-Dec-99 12:49:20 +XMasLightYellow.iff 15396 2810 81.7% 20-Dec-99 20:42:02 +XMasTree-a.iff 285721 19890 93.0% 20-Dec-99 20:56:22 +XMasTree.c 17080 11332 33.6% 20-Dec-99 20:54:14 +XMasTree.iff 2358 499 78.8% 20-Dec-99 19:52:38 +XMasTreeLight-a.iff 14910 456 96.9% 20-Dec-99 19:55:04 +XMasTreeLight.c 2366 499 78.9% 20-Dec-99 19:48:00 +XMasTreeLight.iff 24223 4662 80.7% 22-Dec-99 22:57:46 +XMasLights.c 3002 600 80.0% 22-Dec-99 16:08:02 +XMasLights.h 23330 5494 76.4% 24-Dec-99 16:15:00 +XMasMain.c 10282 1914 81.3% 24-Dec-99 04:35:14 +XMasSnow.c 2739 457 83.3% 23-Dec-99 18:05:54 +XMasSnow.h 12728 2546 79.9% 22-Dec-99 16:10:18 +XMasTree.c 2908 504 82.6% 21-Dec-99 19:55:42 +XMasTree.h 197852 29985 84.8% 24-Dec-99 16:12:56 +XMasBench 6538 2572 60.6% 25-Dec-99 17:16:42 +XMasBench_0.1.readme -------- ------- ----- --------- -------- 897026 127469 85.7% 30-Dec-99 00:34:50 44 files