From 5d3a26f2adca01d9cb166ab72a60f1a4809836ec Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Tue, 4 Jan 2000 17:25:23 +0000 Subject: [PATCH] Tue Jan 4 20:57:24 PST 2000 (KainX) Final preparations for the release of 0.5. SVN revision: 1850 --- ChangeLog | 7 +++++++ epplets/CalcEphem.c | 10 ++++++++++ epplets/E-Biff.c | 1 + epplets/E-Magic.c | 1 + epplets/E-NetGraph.c | 1 + epplets/E-Slides.c | 1 + epplets/E-Time.c | 1 + epplets/E-Xss.c | 1 + epplets/Makefile.am | 5 ++--- epplets/Moon.c | 9 +++++++++ 10 files changed, 34 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54721e2..560df8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1748,3 +1748,10 @@ Mon Jan 3 15:09:24 PST 2000 (KainX) No, this is version 0.5, not 0.6, Tom. + +------------------------------------------------------------------------------- + +Tue Jan 4 20:57:24 PST 2000 +(KainX) + +Final preparations for the release of 0.5. diff --git a/epplets/CalcEphem.c b/epplets/CalcEphem.c index bb36bf3..dbd1024 100644 --- a/epplets/CalcEphem.c +++ b/epplets/CalcEphem.c @@ -1,5 +1,15 @@ #include "CalcEphem.h" +int DayofYear(int, int, int); +int DayofWeek(int, int, int, char[]); +double kepler(double, double); +double jd(int, int, int, double); +double hour24(double); +double angle2pi(double); +double angle360(double); +void Radec_to_Cart(double, double, Vector *); +int LeapYear(int); + int DayofYear(year, month, day) int year, month, day; { diff --git a/epplets/E-Biff.c b/epplets/E-Biff.c index 09746fb..3716807 100644 --- a/epplets/E-Biff.c +++ b/epplets/E-Biff.c @@ -369,6 +369,7 @@ main(int argc, char **argv) Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); mailcheck_cb(NULL); /* Set everything up */ Epplet_Loop(); diff --git a/epplets/E-Magic.c b/epplets/E-Magic.c index 89039aa..700a982 100644 --- a/epplets/E-Magic.c +++ b/epplets/E-Magic.c @@ -344,6 +344,7 @@ main(int argc, char **argv) Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); Epplet_show(); Epplet_Loop(); diff --git a/epplets/E-NetGraph.c b/epplets/E-NetGraph.c index ba72a17..602aa5d 100644 --- a/epplets/E-NetGraph.c +++ b/epplets/E-NetGraph.c @@ -507,6 +507,7 @@ main(int argc, char **argv) cfg_button = Epplet_create_std_button("CONFIGURE", 33, 2, config_cb, NULL); Epplet_register_focus_in_handler(cb_in, NULL); Epplet_register_focus_out_handler(cb_out, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); gettimeofday(&last_time, NULL); diff --git a/epplets/E-Slides.c b/epplets/E-Slides.c index 58d39f9..8c27448 100644 --- a/epplets/E-Slides.c +++ b/epplets/E-Slides.c @@ -611,6 +611,7 @@ main(int argc, char **argv) Epplet_show(); Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); if (get_images(path)) { change_image(NULL); diff --git a/epplets/E-Time.c b/epplets/E-Time.c index 3eda350..719c3af 100644 --- a/epplets/E-Time.c +++ b/epplets/E-Time.c @@ -249,6 +249,7 @@ main(int argc, char **argv) Epplet_gadget_show(label4 = Epplet_create_label(4 * just, 36, "", 1)); Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); Epplet_show(); timer_cb(NULL); diff --git a/epplets/E-Xss.c b/epplets/E-Xss.c index 8432acd..d33785d 100644 --- a/epplets/E-Xss.c +++ b/epplets/E-Xss.c @@ -355,6 +355,7 @@ main(int argc, char **argv) { Epplet_register_focus_in_handler(in_cb, NULL); Epplet_register_focus_out_handler(out_cb, NULL); + Epplet_register_delete_event_handler(delete_cb, NULL); change_hack(NULL); Epplet_Loop(); diff --git a/epplets/Makefile.am b/epplets/Makefile.am index 825188c..f4809f7 100644 --- a/epplets/Makefile.am +++ b/epplets/Makefile.am @@ -153,8 +153,7 @@ E-Power.ABOUT/MAIN E-SD.ABOUT/MAIN E-ScreenSave.ABOUT/MAIN \ E-ScreenShoot.ABOUT/E_ScreenShoot_buttons.png \ E-ScreenShoot.ABOUT/E_ScreenShoot_cloak.png E-ScreenShoot.ABOUT/MAIN \ Emix.ABOUT/MAIN E-UrlWatch.ABOUT/MAIN E-PlayCD.ABOUT/EPlayCD.jpg \ -E-PlayCD.ABOUT/Edoc_bg.png E-PlayCD.ABOUT/MAIN E-PlayCD.ABOUT/batmanforever.ttf \ -E-PlayCD.ABOUT/title.png +E-PlayCD.ABOUT/MAIN E-PlayCD.ABOUT/E-PlayCD_Controls.png # ICONS = `(cd epplets && ls -1d icons/*.icon | grep -v CVS)` ICONS = icons/E-Biff.icon icons/E-Clock.icon icons/E-Cpu.icon icons/E-Disk.icon \ @@ -217,7 +216,7 @@ E-Magic-data/answers.txt E-Magic-data/8ball.png EXTRA_DIST = ${ICONS} ${ABOUT_DOCS} ${DATA_FILES} NEED_FONT = E-Clock E-Mixer E-MoonClock E-Mountbox E-NetFlame E-Power E-SD E-ScreenSave E-ScreenShoot Emix E-UrlWatch E-PlayCD -NEED_BG = E-Clock E-Mixer E-MoonClock E-Mountbox E-NetFlame E-Power E-SD E-ScreenSave E-ScreenShoot Emix E-UrlWatch +NEED_BG = E-Clock E-Mixer E-MoonClock E-Mountbox E-NetFlame E-Power E-SD E-ScreenSave E-ScreenShoot Emix E-UrlWatch E-PlayCD BG_SRC = E-Cpu.ABOUT/bg.png FONT_SRC = E-Cpu.ABOUT/aircut3.ttf diff --git a/epplets/Moon.c b/epplets/Moon.c index 62b3b48..cde3dd9 100644 --- a/epplets/Moon.c +++ b/epplets/Moon.c @@ -7,6 +7,15 @@ #define RadPerDeg 0.01745329251994329576 double angle360(); +void addthe(double C1, double S1, double C2, double S2, double *C, double *S); +void term(int P, int Q, int R, int S, double *X, double *Y); +void addsol(double COEFFL, double COEFFS, double COEFFG, double COEFFP, int P, int Q, int R, int S); +void addn(double COEFFN, int P, int Q, int R, int S); +double Moon(double T, double *LAMBDA, double *BETA, double *R, double *AGE); +double sine(double); +double frac(double); +double NewMoon(double, double, double); +int MiniMoon(double, double *, double *); double TwoPi = 6.283185308;