Commit Graph

36 Commits (14af83a3912c2c1d35faf06d82880f1d15f93f25)

Author SHA1 Message Date
Hleb Valoshka 14af83a391 Implement Logger to replace raw cerr/cout and DPRINTF usage 2021-12-20 17:54:50 +03:00
Hleb Valoshka a84958355a [gtk] Enable processing of scroll-event signals (Gtk3 compatibility) 2021-04-18 10:41:21 +03:00
Hleb Valoshka 0e97ade98a [gtk] Add own implementation of EGL-capable window 2021-04-18 10:41:21 +03:00
Hleb Valoshka b43f2abe24 [gtk] Replace deprecated API with Gtk3 compatible 2021-04-14 08:44:48 +03:00
Hleb Valoshka 7043d45164 Restore possibility to blacklist GL extensions 2021-03-03 20:18:32 +03:00
Levin Li 62b5f58351 Fix GTK building with gettext
@munix9
2020-11-18 08:06:54 +08:00
Hleb Valoshka 7e5965d437 Remove vsync support
# X11 only
# Basically useless with double buffering
2020-04-10 12:22:28 +03:00
Hleb Valoshka e5d54df6bb Initial implementation of self shadowing
Known bugs and limitations:
  * Only the 1st light source casts shadows.
  * Thin objects have incorrect shadows, see ISS.
2020-04-03 11:31:09 +03:00
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 6969373ec4 Add and use time-related helper methods 2020-01-25 11:50:28 +03:00
Hleb Valoshka 779ad3c5c1 [gtk] Remove copy of CelestiaCore::runScript (Closes: #456) 2019-10-19 13:17:32 +03:00
Li Linfeng 56d2b8765a bring menu handler change to gtk/win 2019-08-30 20:57:07 +08:00
Hleb Valoshka b6b543438d Port to filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka 8cf30873fd [gtk] Enable locales early
Based on a Debian's patch
2019-08-16 09:49:01 +03:00
Hleb Valoshka de1a8d181e Remove unneeded celengine/celestia.h 2019-07-09 23:38:41 +03:00
Hleb Valoshka c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 6fcaadb207 Fix ~/.celestia.cfg reading 2018-12-02 16:24:33 +03:00
Hleb Valoshka d1f0434229 [gtk] Fix compilation warning 2018-11-29 10:18:05 +03:00
Hleb Valoshka c7e5038266 [gtk] Use app->core to call getConfig() 2018-11-29 10:18:05 +03:00
Hleb Valoshka 0bd0b4e19c Pass SolarSystemMaxDistance to a renderer (Closes: #133) 2018-11-26 13:16:40 +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 7f8d56bb9a removed an include statement for glext.h 2009-08-21 04:22:35 +00:00
cartrite d56ed7fab0 Builds a error window in case GLEW is not initialized to inform user. 2009-08-19 05:15:39 +00:00
cartrite a1bcffce2b Fixed warning for unused variable "glewErr". All that was needed was "glewInit();" to initialize GLEW. An error message still needs to be created for failures. 2009-08-17 19:38:43 +00:00
cartrite 01e796b216 Runs glewInit to enable render modes. 2009-08-15 20:29:57 +00: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
Pat Suwalski 99635c5a7a Removing some trivial warnings. 2009-07-17 00:36:11 +00:00
Pat Suwalski 76d16b4810 Update texture resolution actions to benefit from new notification code. 2008-01-21 05:55:19 +00:00
Pat Suwalski d6843f214a Removing experimental code accidentally checked in. 2006-12-12 05:21:19 +00:00
Pat Suwalski a27b174916 Adding support for SGI Video Sync. 2006-12-12 01:31:01 +00:00
Pat Suwalski 2eea090dfd Adding Splash Screen with progress notification. 2006-01-02 00:43:52 +00:00
Pat Suwalski 87d9d2656a Last-minute bug fix: enable LT display in top-right.
CelestiaCore does not display it if CelestiaCore::setTimeZoneName() is never called.
Defaulting to UTC.
2005-12-23 01:46:40 +00:00
Pat Suwalski 38362ffe91 Win32 compatibility patch. Also fixes several char[] sizes. 2005-12-13 07:19:57 +00:00
Pat Suwalski 6786fcfacc Simplifying time selection and fixing setting bug.
CelestiaCore::setTimeZoneName() is not required, so removed.
2005-12-12 07:08:11 +00:00
Pat Suwalski b11a41ece0 Wrapping gtk_main_quit so that window data is saved more reliably.
Still does not save position when closing the window at WM level ('X').
2005-12-11 23:13:54 +00:00
Pat Suwalski d2e8448a15 New GTK+ Interface.
Major Changes:
- Split source into multiple files
- Performance: removed repeated calls to resync preferences
- Redesigned the interface to use GtkActions and GtkUIManager
- Added preference saving to file
- Commented heavily

Minor Changes:
- New about dialog
- Made non-modal: GoTo, View Options, Tour Guide, Browsers, EclipseFinder
- Changed a few calls to standard C to allow for Windows building
- Star Browser now uses greek letters in names
- Added tab-completion support on overlay entry
- Replaced deprecated GtkOptionMenu with GtkComboBox in Set Time window
- New GTK save/open dialog
- Moved the License dialog from Help menu to new About box
- Added "Copy" and "Open" URL functions
- Galaxy Brightness preferences saved
- Updated GConf schema/settings
- Added command line options
2005-12-06 04:19:36 +00:00