Bug 79869 - snipes-1.0.0.ebuild (New game and new ebuild)
Bug#: 79869 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: cyp561@gmail.com
Component: Games
URL: 
Summary: snipes-1.0.0.ebuild (New game and new ebuild)
Keywords:  
Status Whiteboard: 
Opened: 2005-01-28 09:39 0000
Description:   Opened: 2005-01-28 09:39 0000
Hi,

Here's an ebuild for a game I wrote based on an old DOS game called snipes.

Searching the internet, I've found someone else also made a game of the same name, based on the same old DOS game, although I can't find anything related in portage.

I wrote the game a bit over a year ago, just recently changed it to use SDL instead of something unspeakable.

Arrow keys (should) move, "wasd" keys shoot, F2, F1 turn sound on/off, F8, up/down and then Enter change resolution (graphics might seem a bit ugly for some resolutions), and Alt+Enter toggles full-screen mode.

Don't know if it's normal to call gcc directly in an ebuild, but it worked for me... The game uses sin() (for sine waves for sound), but compiles without -lm for me.

Only tested on amd64, although the old non-SDL version worked fine on x86.

I'll try to attach the ebuild now...

------- Comment #1 From Cyp 2005-01-28 09:41:23 0000 -------
Created an attachment (id=49755) [details]
games-action/snipes/snipes-1.0.0.ebuild

Here's the ebuild...

------- Comment #2 From SpanKY 2005-01-28 21:39:09 0000 -------
ok, i wasnt going to add this game, but then i played it, and it's so goddamn
old school i couldnt resist

i cleaned up the ebuild and added to portage, thanks :)