Commit Graph

27 Commits (d7b896c013e222f96d29baa399cd3eda24fd91fb)

Author SHA1 Message Date
Andrew Tribick d7b896c013 Remove pre-C++17 Eigen alignment code 2021-12-28 21:14:29 +01:00
Hleb Valoshka 28f674565e Add and use Overlay::printf instead of Overlay::operator<< 2021-10-23 12:15:01 +03:00
Levin Li b4858b1e72 Use shared_ptr around TextureFont 2021-05-24 08:37:01 +08:00
Levin Li e3297b7775 Namespacing Marker* and Rect 2021-05-23 11:03:07 +08:00
Levin Li 1f150db611 separate modelview and projection 2020-10-06 13:39:09 +08:00
Hleb Valoshka 5b7ad7f9ca Properly align classes with members of Eigen::* type 2020-06-22 08:24:10 +03:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Hleb Valoshka e9282b9d6d Refactor console and overlay to avoid GL matrices usage 2020-05-12 15:25:52 +03:00
Hleb Valoshka 64ac62d06d Remove const and inline attribures in Overlay 2020-04-05 13:21:50 +03:00
Hleb Valoshka df508a0c59 Make global/static VO class instances again
Closes: #659
2020-03-16 19:31:25 +03:00
Hleb Valoshka 739f71cd1c Cleanup includes a little bit 2019-12-21 19:16:39 +03:00
Hleb Valoshka 682aef8422 Initial implementation for TrueType fonts support 2019-11-20 12:16:15 +03:00
Hleb Valoshka e3baaad767 Big common application code refactoring
* Allow to parse four element vectors
 * Allow colors defined in HTML notation (#rrggbbaa)
   in CEL scripts
 * Refactor Overlay::Rectangle to an independent class
 * Refactor CelestiaCore::OverlayImage to an independent class
 * Refactor CelestiaCore::View to an independent class
 * Rename Renderer::getScreenSize to getViewport
 * Add wrappers for scissors test and MSAA control
2019-10-09 15:55:14 +03:00
Gitea cfc225adc7 Refactor Overlay::rect() to use instead of direct GL calls 2019-08-02 14:34:25 +03:00
Hleb Valoshka eab70c96cb Fix more coverity issues
Mostly uninitialized variables plus one memory leak
2018-10-30 23:52:19 +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 b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Chris Laurel 78803c21e2 Text rendering fixes:
- Disabled multisampling when drawing the console. This should prevent text blurriness when running with antialiasing enabled (though it won't hep for supersampling modes)
- Reduce the number of calls to glTranslate() by tracking offset in software
2009-08-14 01:27:29 +00:00
cartrite 206aa4e789 gcc 4.4 fixes submitted by John Van Vliet A slight change was made that changed stdio.h to cstdio 2009-08-05 20:56:49 +00:00
Christophe Teyssier 5f971d3e43 Fixed constness 2007-12-11 22:58:01 +00:00
Toti e9c069db34 Removed warning requesting format string specification on variadic method 2006-09-15 13:22:33 +00:00
Christophe Teyssier 5ca1eac543 Added gettext support to win32 2006-02-23 21:02:44 +00:00
Chris Laurel ab60c1a384 Handle UTF-8 encoded strings. 2004-01-03 21:30:42 +00:00
Christophe Teyssier 03c8cf541b constness correstions 2002-12-13 19:44:05 +00:00
Chris Laurel 621babb7e7 Added optional fill parameter to rect method to choose between rendering solid or outline rectangles. 2001-12-11 04:18:46 +00:00
Chris Laurel 38e79736c5 Reorganized source tree into multiple directories. 2001-11-28 01:50:04 +00:00