Eleet

Screensavers

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 67.1%
Description:

A screensaver for use with Linux and UNIX, that pays homage to the classic
space trading game of Elite. Eleet displays textured rotating OpenGL models
of various spaceships, based on on those found in Elite.

A random ship is chosen from a pool of 53 models and rotated against a
starfield background, whilst the name of the ship orbits around it. Ships with
exhausts will also emit thrust particles.
Last changelog:

9 years ago

V0.3.3: 2012-06-01
- Fixed: Build time fixes for newer distros which use --as-needed as a
default GCC option


V0.3.2: 2011-03-14
- Fixed: Improved building scripts for newer distros
- Fixed: Now doesn't display cursor. Thanks to "druciferre"


V0.3.1: 2010-06-27
- Fixed: Minor change to the build scripts to fix compilation on distros
using the new DSO changes to ld (eg Fedora 13).


V0.3: 2009-10-02
- Added: Smoothed starfield points for OpenGL/Hardware implementations
which support it.
- Added: Thrust particle emission from exhausts.
- Added: Exhausts do not respond to lighting, giving the effect of glowing
when not lit.
- Added: Support for the orbiting ship name on OpenGL implementations that
do not support 'Non-Power-Of-Two' textures.
- Added: The orbiting ship name is now randomly coloured.
- Added: PNG texture support, saving approximately 7.5MB of space.
- Added: Command line parameters: starnum, thustnum, switch
- Added: Setup options for XScreensaver
- Added: [installer] Also look in /usr/local/kde4/bin and /usr/kde4/bin for
kde4-config
- Fixed: The orbiting ship name transparency is now also applied to the
stars
- Fixed: Don't show in KDE 'Lost & Found' menu on some distros if both the
KDE and Gnome versions are installed.
- Fixed: [installer] Installing for KDE 4 on BSD should be fixed. Sed on
BSD does not support the newline character in substitutions.
- Misc: Some texture improvements to Remlock
- Misc: Reduced clipping distance.
- Misc: Starfield optimisations which should improve performance,
especially on slower systems.


V0.2: 2009-09-06
- Added: Support for KDE screensaver
- Added: Support for XScreensaver
- Added: Window ID can be passed with -window-id parameter
- Added: Rotating starfield effect shown behind the models
- Added: Basic lighting
- Added: Use DisplayLists to 'precompile' OpenGL which should improve
performance, particularly on low end hardware
- Fixed: Random ints were only generated up to (upperbound - 2). Worm and
Zarch models were never shown as a consequence.
- Fixed: On slow systems, draw events could fill up the queue faster than
they were processed leading to unresponsive keyboard input or
termination of Eleet.
- Fixed: Explicitly free graphics memory for dynamically generated textures
on exit
- Misc: Use gluCheckExtension() instead of parsing
glGetString(GL_EXTENSIONS);
- Misc: Major code restructuring
- Misc: Primitive optimisations to Asteroid, Cargo and Thargon
- Misc: Texture improvement to docking bay doors on Dodec
- Misc: Removed random wireframe mode (will likely be an option in future)
- Misc: Removed orbiting text for implementations of OpenGL that don't
have NPOT texture support, in preparation for future work.


V0.1: 2009-08-25
- Inital Release

twic

8 years ago

I installed or updated as appropriate the following packages:

alsa-lib-devel autoconf automake libdrm-devel libX11-devel libXau-devel
libxcb-devel libXdamage-devel libXext-devel libXfixes-devel
libXrandr-devel libXrender-devel libXxf86vm-devel mesa-dri-drivers
mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel SDL-devel
SDL_image SDL_image-devel SDL_ttf SDL_ttf-devel xorg-x11-proto-devel

After configuring, make dies with:

gcc -g -O2 -lSDL -lpthread -lGL -lm -o eleet eleet.o eleet_timers.o eleet_textures.o eleet_fonts.o eleet_random.o models/LOTSOFMODELS -lX11 -lSDL_image -lSDL_ttf
eleet.o: In function `preCacheScene':
/tmp/eleet/eleet-0.3.1/src/eleet.c:300: undefined reference to `gluCheckExtension'
eleet.o: In function `initOpenGL':
/tmp/eleet/eleet-0.3.1/src/eleet.c:366: undefined reference to `gluPerspective'
collect2: ld returned 1 exit status

Those functions are defined in GL/glu.h. eleet.c includes eleet.h, which (conditionally, but in this case positively) includes GL/glu.h. As far as i can tell, my include path is set up properly.

Any thoughts?

Report

C

oddsocks1024

8 years ago

This is due to some changes in F14, I'll post an updated version at some point.

You should be able to work around it.

Instead of just using make to compile it, try:

make LDFLAGS="-lGLU"

Let me know how that goes.

Report

twic

8 years ago

That works, thanks!

So the problem is with the linker finding the libraries, not the compiler finding the includes, as i'd been assuming. I suppose the "ld returned 1 exit status" should have been a clue.

Report

srog

9 years ago

Nice add to the screensavers - thank you !

Working fine with the Kubuntu 9.04 / KDE 4.2.4.

Small flaw (?)- the ship models are there but not the ship name.

(?) - i don't mind. Maybe the nex version has a setting to enable/disable the ship name.


Again - Thank You !

Report

C

oddsocks1024

9 years ago

Thanks. :-)

There's a section in the README about it that explains why you won't see the ship names on some systems. It's essentially that your OpenGL implementation doesn't support NPOT textures and I haven't written code yet to emulate it (but plan to). The glxinfo command should tell you your OpenGL version and most likely it's less than 2.1.

Report

9 years ago

V0.3.3: 2012-06-01
- Fixed: Build time fixes for newer distros which use --as-needed as a
default GCC option


V0.3.2: 2011-03-14
- Fixed: Improved building scripts for newer distros
- Fixed: Now doesn't display cursor. Thanks to "druciferre"


V0.3.1: 2010-06-27
- Fixed: Minor change to the build scripts to fix compilation on distros
using the new DSO changes to ld (eg Fedora 13).


V0.3: 2009-10-02
- Added: Smoothed starfield points for OpenGL/Hardware implementations
which support it.
- Added: Thrust particle emission from exhausts.
- Added: Exhausts do not respond to lighting, giving the effect of glowing
when not lit.
- Added: Support for the orbiting ship name on OpenGL implementations that
do not support 'Non-Power-Of-Two' textures.
- Added: The orbiting ship name is now randomly coloured.
- Added: PNG texture support, saving approximately 7.5MB of space.
- Added: Command line parameters: starnum, thustnum, switch
- Added: Setup options for XScreensaver
- Added: [installer] Also look in /usr/local/kde4/bin and /usr/kde4/bin for
kde4-config
- Fixed: The orbiting ship name transparency is now also applied to the
stars
- Fixed: Don't show in KDE 'Lost & Found' menu on some distros if both the
KDE and Gnome versions are installed.
- Fixed: [installer] Installing for KDE 4 on BSD should be fixed. Sed on
BSD does not support the newline character in substitutions.
- Misc: Some texture improvements to Remlock
- Misc: Reduced clipping distance.
- Misc: Starfield optimisations which should improve performance,
especially on slower systems.


V0.2: 2009-09-06
- Added: Support for KDE screensaver
- Added: Support for XScreensaver
- Added: Window ID can be passed with -window-id parameter
- Added: Rotating starfield effect shown behind the models
- Added: Basic lighting
- Added: Use DisplayLists to 'precompile' OpenGL which should improve
performance, particularly on low end hardware
- Fixed: Random ints were only generated up to (upperbound - 2). Worm and
Zarch models were never shown as a consequence.
- Fixed: On slow systems, draw events could fill up the queue faster than
they were processed leading to unresponsive keyboard input or
termination of Eleet.
- Fixed: Explicitly free graphics memory for dynamically generated textures
on exit
- Misc: Use gluCheckExtension() instead of parsing
glGetString(GL_EXTENSIONS);
- Misc: Major code restructuring
- Misc: Primitive optimisations to Asteroid, Cargo and Thargon
- Misc: Texture improvement to docking bay doors on Dodec
- Misc: Removed random wireframe mode (will likely be an option in future)
- Misc: Removed orbiting text for implementations of OpenGL that don't
have NPOT texture support, in preparation for future work.


V0.1: 2009-08-25
- Inital Release

12345678910
3
product-maker AnalisaLogika Jun 19 2017 9 excellent
product-maker BorgQueen Mar 15 2011 9 excellent
product-maker vitoubien Mar 14 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3.3
updated May 31 2012
added Sep 06 2009
downloads today
0
page views today 5