Commit Graph

12 Commits (2f77629216646c6da1a769baab670dae7fb9ad13)

Author SHA1 Message Date
Andrew Tribick 2f77629216 Fix parsing and display of luminosity classes Ia-0, Ia, and Ib
- Allow spaces before luminosity class in stc file
- Allow Ia-0 to be spelled "Ia-0" (as displayed), "Ia0" (as previously), or
  "I-a0" (previous display format) in stc file
- Remove str() and ostream << operators on StellarClass (only used in tests)
2022-02-19 11:33:15 +01:00
Andrew Tribick 33116aad4a Backport C++20 numbers header 2021-12-31 17:25:39 +01:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
LukeCEL d42862ef84 [tools] Implement spherical option for new star database format in startextdump 2020-05-11 08:18:29 +03:00
Hleb Valoshka fd79dee429 [tools] Don't create ofstream instances on the heap
Closes: #722
2020-05-06 21:55:02 +03:00
Hleb Valoshka eeb50558e4 [tools] Migrate to Eigen 2018-11-29 10:18:05 +03:00
Hleb Valoshka 73638c116d Remove basictypes.h and use standard c++11 types 2018-09-22 23:42:03 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka 882e4ecf28 fix whitespaces and indents
trailing spaces are removed
tabs are replaced with 4 spaces

# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.cpp
#	src/celestia/celestiacore.cpp
#	src/celestia/celestiacore.h
#	src/celestia/qt/qtappwin.cpp
#	src/celestia/qt/qtglwidget.cpp
#	src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel d23ad29c54 Updated star database tools to convert to and from ASCII star files with spherical instead of rectangular coordinates. Added a basic readme for the star database tools. 2004-09-10 07:10:32 +00:00
Chris Laurel 59025188ce Updated star database tools:
- Added command line flag for startextdump to select between old and new database formats.
  - Optionally dump HD catalog numbers from star database
  - Wrote makestardb tool to convert from ASCII format to binary star database.
2004-09-07 17:24:26 +00:00
Chris Laurel 6577f62efe Added startextdump, a tool for converting binary star databases to ASCII for easy editing. 2004-08-31 17:26:40 +00:00