home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / commodities / superdark / blankers / plasma.dark.c < prev    next >
C/C++ Source or Header  |  1993-02-28  |  859b  |  43 lines

  1.   /* Fichier clock.dark.c                */
  2. /* Module appele par le programme principal    */
  3. /* pour effectuer un effet defini..appele par    */
  4. /* loadseg                    */
  5. #include    <exec/types.h>
  6. #include    <exec/ports.h>
  7. #include    "/includes/struct.h"
  8. #include    "/includes/tom_gadget.h"
  9. #include     <hardware/custom.h>
  10. /*
  11. #include    "proc_main.h"
  12. */
  13.  
  14. char    *p_text_info=
  15. "       A good old Plasma Effect\n"
  16. "\nNote two things:\n\n"
  17. "    This effect use a loooooot of CPU time\n"
  18. "\n"
  19. "     And it is not really ...well\n"
  20. "     perfect programming\n"
  21. "\n"
  22. "But still by Thomas Landspurg (shame on me!)";
  23.  
  24. extern    struct    appel_proc    *p_data_proc;
  25. int    duree=10;
  26.  
  27. struct    tom_gadget    my_gadg[]={
  28.     {"_Tempo",    SLIDER,  90, 15,   120, 10,0,1,100,0,&duree},
  29.     {0,        END_LISTE,  0,  0,   0, 0, 0,0,0,0,0}};
  30.  
  31.  
  32. void    proc_init()
  33. {
  34.     p_data_proc->type_screen=SCR_OWN;
  35. }
  36.  
  37. void    proc_save()
  38. {
  39. }
  40. void    proc_end()
  41. {
  42. }
  43.