Andrew Tribick
2a533b20d5
Remove getNameValue from tokenizer (duplicate functionality of getStringValue)
2021-12-29 13:08:54 +01:00
Hleb Valoshka
14af83a391
Implement Logger to replace raw cerr/cout and DPRINTF usage
2021-12-20 17:54:50 +03:00
Hleb Valoshka
08b0cd0682
Use custom gettext file to translated object names
2021-12-14 13:16:18 +03:00
Andrew Tribick
f79b21e7d3
Use existing tokenizer to parse ASCII cmod files
2021-11-15 18:28:06 +01:00
Andrew Tribick
da5f621a19
Set up common binary IO functions
2021-11-10 19:14:19 +01:00
Andrew Tribick
ec232b7fad
Fix for debug builds
...
- Include fmt/ostream.h in debug.h to allow formatting filesystem paths
- Avoid including headers via debug.h on non-debug builds
2021-10-26 10:17:48 +03:00
Hleb Valoshka
42790d9013
Replace deprecated fmt::fprintf calls
2021-10-19 19:35:23 +03:00
Levin Li
cb0fe13ecd
Remove duplciates in star/dso name index
2021-10-19 17:42:49 +08:00
Levin Li
cc3c6df49c
Avoid showing duplicate names
2021-05-31 08:11:54 +08:00
Levin Li
d6270ecac2
i18n for star and dsos in code
2021-05-22 09:34:34 +08:00
Hleb Valoshka
1c078b1186
Don't use deprecated methods
2021-05-21 17:44:43 +03:00
Hleb Valoshka
908f04d271
Make extinction distance dependent
2020-08-02 09:04:57 +03:00
Hleb Valoshka
a8b609d75a
Add extinction parameter for stars
2020-08-02 09:04:57 +03:00
Hleb Valoshka
4abb9d2bb0
Add apparent extinction parameter for stars
...
Closes : #599
2020-07-26 18:39:06 +03:00
Hleb Valoshka
1c668d3d7f
Fix warnings reported by clang/gcc
2020-06-20 10:11:09 +03:00
pirogronian
035aa30ae5
Replace generic catalog type and related minor polishing.
2020-03-06 18:11:53 +01:00
pirogronian
1ebc427f41
Transform CatEntry into AstroObject with minimal common indexing rountines.
2020-03-06 18:11:53 +01:00
Hleb Valoshka
6eaa915873
Don't abort if starnames.dat has not been loaded
...
Closes : #625
2020-03-04 19:52:28 +03:00
Hleb Valoshka
fb4bede3d1
Allow building without NLS
2020-02-15 00:20:13 +03:00
Hleb Valoshka
4a38917e08
Split parser.* into hash.*, value.* and parser.*
2020-02-07 23:15:43 +03:00
SevenSpheres
32ce75e858
Increase star render distance to 1 Gly
2019-11-21 09:01:56 +08:00
Li Linfeng
9c371c891c
define macros for print levels and avoid direct use of fmt::printf
2019-08-31 13:32:44 +08:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +03:00
Hleb Valoshka
de1a8d181e
Remove unneeded celengine/celestia.h
2019-07-09 23:38:41 +03:00
Hleb Valoshka
f3a73dae71
Move math code into celmath namespace
2019-05-20 10:48:04 +03:00
pirogronian
b6f025abd3
Added debug octree stats, visible together with fps counter.
2019-05-02 13:57:42 +02:00
pirogronian
55f67a8c44
Replace Greek letter before adding to database.
2019-02-28 20:23:09 +01:00
pirogronian
8c032924c7
Make dispositions general and use it in loadCategory.
2019-01-03 20:00:30 +01:00
pirogronian
de2a2a892e
I18n support for user defined categories via Lua and catalog files.
2018-12-30 17:23:48 +01:00
pirogronian
7f23b726c4
Core mechanism.
2018-12-19 17:31:30 +01:00
Hleb Valoshka
d242bde6a8
Remove some static class members
2018-12-02 23:49:34 +03:00
Hleb Valoshka
f7d6edd671
Remove global std::string variables in stardb
2018-12-02 23:49:34 +03:00
Hleb Valoshka
1fda8e35f0
Fix warnings found by PVS
...
- 1 copy-paste error
- 1 nullptr dereference
- fixed self-assignment in Mesh::VertexDescription::operator=
- a few missing delete
- all other are checks for nullptr after new
2018-10-28 22:00:27 +03:00
Hleb Valoshka
8685b114a3
Cleanup warnings found by clang++
2018-10-18 21:50:41 +03:00
Hleb Valoshka
363abc40f3
Use libfmt instead of C-style & iostream workflow
...
TODO: check StarDatabase::getStarName
2018-10-17 22:19:03 +03:00
Hleb Valoshka
f5fee44693
Cleanup includes
2018-10-07 13:38:25 +03:00
Hleb Valoshka
4bdfe271e5
Remove C++14-isms
...
Some day this commit will be reverted.
2018-09-22 23:42:03 +03:00
Hleb Valoshka
27e39aa4c3
Use c.push_back instead of c.insert(c.end,...)
2018-09-22 23:42:03 +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
5a5b06481f
Fix the most serious fixes found by coverity
...
… resource leaks, null pointers dereference
2018-09-22 23:41:58 +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
Andrew Tribick
207823b1d8
Patch to fix valgrind errors and gcc warnings from Daniel K.O.
...
Use #ifdef FOO instead of #if FOO
Unused function parameter names
Uninitialised member in FrameTree
Memory read after deallocation in ReferenceFrame
Unmatched new[]/delete[] in StarDatabase
Uninitialised temperature in StarDatabase
Uninitialised member of RenderListEntry: isOpaque
Fix for convoluted code in renderer
2012-04-26 19:50:22 +00:00
Andrew Tribick
1960b7c888
Added ability to specify temperature and bolometric correction in .stc files.
2010-04-28 18:59:44 +00:00
Andrew Tribick
a2191a3650
Added units support to parser and tokenizer. Units are specified inside angle brackets after the property name.
2009-12-16 19:23:51 +00:00
Chris Laurel
9cf68b5169
Eigenized parser and app core code.
2009-07-25 22:18:51 +00:00
Chris Laurel
272a074544
Miscellaneous Eigenization; cleaned up obsolete functions in astro.cpp.
2009-07-23 03:51:42 +00:00
Chris Laurel
c4aa846945
Eigenized 3ds and cmod mesh code.
2009-07-23 02:58:10 +00:00
Chris Laurel
37a46a4eff
Eigenized portions of the renderer that draw stars and DSOs.
2009-07-16 05:32:55 +00:00
Chris Laurel
78202393aa
Eigenized star code.
2009-07-16 03:27:11 +00:00