Commit Graph

41 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 f8831d4d2e Common OpenGL information code
Closes: #609
2020-02-18 15:13:06 +03:00
Hleb Valoshka d41f4ba85d add missing gettext.h includes in gtk and glut frontends 2020-02-15 16:51:08 +03:00
Hleb Valoshka 097d7113e2 Provide a common method to save screenshots 2019-10-19 17:47:31 +03:00
Hleb Valoshka 779ad3c5c1 [gtk] Remove copy of CelestiaCore::runScript (Closes: #456) 2019-10-19 13:17:32 +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
laikh cfdda11bf6 Move cmdparser.*, command.*, and execution.* from celengine to celestia, modify celephem to OBJECT library and merge the objects in the celengine library, fix Spice dependency 2019-08-13 11:24:37 +03:00
Hleb Valoshka e7aaee0ec8 Fading orbits in Win32 and Gtk2 frontends 2019-07-08 17:29:46 +03:00
Hleb Valoshka 852874b32f Add frame capture function to Renderer 2019-06-24 23:58:30 +03:00
Hleb Valoshka c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 83a9751eb3 [gtk] Fix render flag setup in options dialog 2018-11-29 10:18:05 +03:00
Hleb Valoshka 17144db455 [gtk] Use g_object_unref instead of gdk_pixbuf_unref
gdk_pixbuf_unref was deprecated in 2001 so no guards are required
2018-11-29 10:18:05 +03:00
Hleb Valoshka adff12a0aa [gtk] Update GTK+ backend for new display properties 2018-11-16 21:25:16 +01:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka e40b9549a7 Allow to disable and enable planet rings (Closes: #47) 2018-11-13 19:59:17 +01:00
Hleb Valoshka 73a869c137 Use core OpenGL2 functions instead of their ARB versions 2018-10-07 20:45:01 +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
Pat Suwalski 0aa603e0ee Update copyright year. 2011-01-12 18:32:20 +00:00
cartrite 8609ef453a Modified to use glew.h 2009-08-15 20:28:55 +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 1d99ae5eb6 Adding grid renderflag selection to GTK UI. Also, fixing recently-introduced bug regarding saving vanilla-GTK settings. 2009-07-03 01:04:46 +00:00
Pat Suwalski 77a6b15d48 Adding support for globulars in the Gtk UI. 2009-05-23 05:03:19 +00:00
Pat Suwalski 50a845b804 Updating copyright date for GTK interface to 2009. 2009-04-20 16:58:24 +00:00
Pat Suwalski 9cfe3030c2 Applying change to use version 3 cel:// URLs. 2008-10-23 08:22:41 +00:00
Pat Suwalski d9b477cc85 Updating copyright and authors to match Chris' recent checkin. 2008-01-25 02:05:14 +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 a27b174916 Adding support for SGI Video Sync. 2006-12-12 01:31:01 +00:00
Christophe Teyssier 5e34ee0b04 Fixes to aspect ratio setting 2006-07-26 20:45:46 +00:00
Christophe Teyssier b27aafff15 Added ogg/theora video capture to GTK and KDE.
Based on ogg/theora patch for GTK by William K. Volkman
<wkvsf@users.sourceforge.net>
2006-07-24 18:31:25 +00:00
Pat Suwalski a7e741b329 Removing author "roles". 2006-01-22 18:59:51 +00:00
Pat Suwalski 8170943e07 Synchronizing About Box with AUTHORS file. 2006-01-21 05:05:27 +00:00
Pat Suwalski 4d8431e6c1 File chooser filter fixes and movign splash to splash/ directory so that data
is still compatible with KDE.
2006-01-09 20:02:55 +00:00
Pat Suwalski 5d7b0c6a43 Remove temporary debug cout accidentally left in. 2006-01-03 07:07:19 +00:00
Pat Suwalski ddcfe24ba8 Moved Grant in as an active developer. 2006-01-02 00:55:25 +00:00
Pat Suwalski 9939bb5aae GTK 2.6.4 Fixes: run time (labels in View Options) and compile-time (stock
items and open/save dialog overwrite verification).

Whereas GTK 2.6.2 had working Labels for GtkAction proxies, these are broken
in GTK 2.6.4 which ships with Debian Sarge and SuSe 9. The workaround is to
set them specifically.
2005-12-16 01:57:05 +00:00
Pat Suwalski a3e21e8fd3 Added whether GTK or GNOME front-end to About box.
Added a more up-to-date list of developers to the about box.
Also, organized by name and listed major contributions.

(Minor change).
2005-12-15 07:42:44 +00:00
Pat Suwalski 38362ffe91 Win32 compatibility patch. Also fixes several char[] sizes. 2005-12-13 07:19:57 +00:00
Pat Suwalski 49a5b004f4 Adding missing header. 2005-12-12 19:26:37 +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 8299227c23 Adding support for showing/hiding menu bar. 2005-12-11 22:25: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