資源簡介
新浪星盤用的就是國外的Astrolog,還是開源的,開源最實用的星座排盤工具源碼分享

代碼片段和文件信息
/*
**?Astrolog?(Version?6.40)?File:?astrolog.cpp
**
**?IMPORTANT?NOTICE:?Astrolog?and?all?chart?display?routines?and?anything
**?not?enumerated?below?used?in?this?program?are?Copyright?(C)?1991-2018?by
**?Walter?D.?Pullen?(Astara@msn.com?http://www.astrolog.org/astrolog.htm).
**?Permission?is?granted?to?freely?use?modify?and?distribute?these
**?routines?provided?these?credits?and?notices?remain?unmodified?with?any
**?altered?or?distributed?versions?of?the?program.
**
**?The?main?ephemeris?databases?and?calculation?routines?are?from?the
**?library?SWISS?EPHEMERIS?and?are?programmed?and?copyright?1997-2008?by
**?Astrodienst?AG.?The?use?of?that?source?code?is?subject?to?the?license?for
**?Swiss?Ephemeris?Free?Edition?available?at?http://www.astro.com/swisseph.
**?This?copyright?notice?must?not?be?changed?or?removed?by?any?user?of?this
**?program.
**
**?Additional?ephemeris?databases?and?formulas?are?from?the?calculation
**?routines?in?the?program?PLACALC?and?are?programmed?and?Copyright?(C)
**?198919911993?by?Astrodienst?AG?and?Alois?Treindl?(alois@astro.ch).?The
**?use?of?that?source?code?is?subject?to?regulations?made?by?Astrodienst
**?Zurich?and?the?code?is?not?in?the?public?domain.?This?copyright?notice
**?must?not?be?changed?or?removed?by?any?user?of?this?program.
**
**?The?original?planetary?calculation?routines?used?in?this?program?have
**?been?copyrighted?and?the?initial?core?of?this?program?was?mostly?a
**?conversion?to?C?of?the?routines?created?by?James?Neely?as?listed?in
**?‘Manual?of?Computer?Programming?for?Astrologers‘?by?Michael?Erlewine
**?available?from?Matrix?Software.
**
**?The?Postscript?code?within?the?core?graphics?routines?are?programmed
**?and?Copyright?(C)?1992-1993?by?Brian?D.?Willoughby?(brianw@sounds.wa.com).
**
**?More?formally:?This?program?is?free?software;?you?can?redistribute?it
**?and/or?modify?it?under?the?terms?of?the?GNU?General?Public?License?as
**?published?by?the?Free?Software?Foundation;?either?version?2?of?the
**?License?or?(at?your?option)?any?later?version.?This?program?is
**?distributed?in?the?hope?that?it?will?be?useful?and?inspiring?but
**?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
**?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.?See?the?GNU
**?General?Public?License?for?more?details?a?copy?of?which?is?in?the
**?LICENSE.HTM?file?included?with?Astrolog?and?at?http://www.gnu.org
**
**?Initial?programming?8/28-30/1991.
**?X?Window?graphics?initially?programmed?10/23-29/1991.
**?Postscript?graphics?initially?programmed?11/29-30/1992.
**?Last?code?change?made?7/22/2018.
*/
#include?“astrolog.h“
/*
******************************************************************************
**?Program?Dispatch?Procedures.
******************************************************************************
*/
/*?Initialize?the?Ansi?color?arrays?with?the?color?to?print?each?object?in.?*/
void?InitColors(void)
{
??int?*rgObjRuler?=
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????56619??2018-07-22?13:48??calc.cpp
?????文件???????89600??2018-07-22?13:48??changes.doc
?????文件???????59792??2018-07-22?13:48??charts0.cpp
?????文件???????59479??2018-07-22?13:48??charts1.cpp
?????文件???????36072??2018-07-22?13:48??charts2.cpp
?????文件???????43964??2018-07-22?13:48??charts3.cpp
?????文件???????27602??2018-07-22?13:48??data.cpp
?????文件???????17975??2018-07-22?13:48??data2.cpp
?????文件???????29039??2018-07-22?13:48??extern.h
?????文件???????36523??2018-07-22?13:48??general.cpp
?????文件??????661630??2018-07-22?13:48??history.txt
?????文件???????25807??2018-07-22?13:48??intrpret.cpp
?????文件???????26892??2018-07-22?13:48??io.cpp
?????文件????????1550??2018-07-22?13:48??Makefile
?????文件????????1270??2018-07-22?13:48??makefile.bgi
?????文件????????1095??2018-07-22?13:48??makefile.cfg
?????文件????????1613??2018-07-22?13:48??makefile.com
?????文件????????1570??2018-07-22?13:48??makefile.dos
?????文件???????22015??2018-07-22?13:48??matrix.cpp
?????文件???????44720??2018-07-22?13:48??placalc.cpp
?????文件???????17254??2018-07-22?13:48??placalc.h
?????文件???????37037??2018-07-22?13:48??placalc2.cpp
?????文件???????29257??2018-07-22?13:48??resource.h
?????文件??????132585??2018-07-22?13:48??sefstars.txt
?????文件????????5346??2018-07-22?13:48??seorbel.txt
?????文件??????226500??2018-07-22?13:48??swecl.cpp
?????文件???????21080??2018-07-22?13:48??swedate.cpp
?????文件???????96418??2018-07-22?13:48??swehouse.cpp
?????文件????????3509??2018-07-22?13:48??swehouse.h
?????文件???????33514??2018-07-22?13:48??swejpl.cpp
?????文件????????4195??2018-07-22?13:48??swejpl.h
............此處省略33個文件信息
評論
共有 條評論