Commit Graph

29 Commits (bd7f9ebc9bfd17f5a88c3d377b44f9093a6d0e2f)

Author SHA1 Message Date
Hleb Valoshka bd7f9ebc9b Use libepoxy instead of GLEW
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka 26063bf3a6 Use shaders to draw fonts 2019-12-21 19:16:39 +03: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 c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +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 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 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 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
cartrite 42281e4a53 Replaced lines that refered to celengine/gl.h with GL/glew.h
Added code for glewinit so all render modes work in kde
updated makefile includes path to use GL/glew.h
Removed glext from kde and gtk builds
Removed celengine/gl.h from celestia.pro
2009-08-15 17:51:15 +00: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
Da Woon Jung 6916a937aa Mac Qt patch 2008-01-18 06:08:18 +00:00
Christophe Teyssier 9375a9f5bf Uses _("LANGUAGE") instead of _("WinLangID") in localized resource dll names.
When loading a script or font texture "file.ext", tries to load the file
"file_LL.ext" first where LL is the value _("LANGUAGE").
2006-08-17 15:47:56 +00:00
Christophe Teyssier 927f48613f Display '?' when a glyph is not found in the texture. 2006-08-12 11:43:48 +00:00
Chris Laurel 698826fcb8 Removed debugging printf. 2004-02-17 05:48:26 +00:00
Bob Ippolito 79dd18e5c5 Fixed most of the gcc 3.3 warnings 2004-01-11 05:19:05 +00:00
Chris Laurel 038a3e796a Support UTF-8 encoded strings. 2004-01-03 21:25:03 +00:00
Bob Ippolito 157aba19fe replace usage of ifstream::fail with ifstream::gcount != howManyBytesWereSupposedToGetRead. gcc 3.1 (perhaps only Apple's release) sets eof and fail when you read all bytes in a file, even if you didn't try and read past. 2002-12-21 19:21:05 +00:00
Bob Ippolito 646ecf860f Changes to allow compile on OS X and to be wrapped with Objective C++, please let me know if this had any adverse effects on other platforms. Don't expect much out of this from OS X, because these are only changes that affect the celestia base.
bob@redivi.com
2002-06-14 15:34:22 +00:00
Chris Laurel 7d570f397f Mac OS X portability changes. 2002-03-27 01:49:47 +00:00
Chris Laurel 88ee3185b7 Mac OS X portability changes. 2002-03-25 20:37:26 +00:00
Chris Laurel dd8ad6c445 Removed assumption about pointer-STL iterator equivalence on line 209. 2002-03-08 19:35:35 +00:00
Chris Laurel b7fbd3b34b Added debug level parameter to DPRINTFs 2002-02-06 21:00:33 +00:00
Deon Ramsey 66d04009e1 Verbose option for better recognition of errors 2002-02-05 21:00:58 +00:00
Deon Ramsey 56058eaae5 Put #includes back the way they were, and fix compile problems under win 2002-01-03 21:01:11 +00:00
Deon Ramsey 2218b95a72 Autoconf distribute extension & bugfixes 2001-12-18 23:00:26 +00:00
Chris Laurel 38e79736c5 Reorganized source tree into multiple directories. 2001-11-28 01:50:04 +00:00