Difference between revisions of "Main Page"

From SfzWiki
Jump to: navigation, search
m
Line 1: Line 1:
 
Welcome to the SFZ-Wiki<br>
 
Welcome to the SFZ-Wiki<br>
SFZ is a spacegame featuring
+
SFZ is a opensource spacegame for Linux and Windows featuring
 
* spaceships construction
 
* spaceships construction
 
* customizable HUD
 
* customizable HUD
Line 8: Line 8:
 
* walking around in spaceships
 
* walking around in spaceships
 
* planetary exploration
 
* planetary exploration
SFZ is currently in development.
+
SFZ is currently in development (pre-alpha)
  
 
=== access ===
 
=== access ===
  
 
* (todo : insert svn path here)
 
* (todo : insert svn path here)
* [http://zwischenwelt.org/cgi-bin/trac.cgi/sfz/ sfz trac]
+
* (todo : mailinglist)
 +
* [http://sfz.schattenkind.net/forum/ sfz forum]
 
* [http://zwischenwelt.org/cgi-bin/trac.cgi/sfz/ sfz trac]
 
* [http://zwischenwelt.org/cgi-bin/trac.cgi/sfz/ sfz trac]
  

Revision as of 17:05, 22 November 2005

Welcome to the SFZ-Wiki
SFZ is a opensource spacegame for Linux and Windows featuring

  • spaceships construction
  • customizable HUD
  • cooperativ network play
  • asteroid mining, production and trading
  • space combat
  • walking around in spaceships
  • planetary exploration

SFZ is currently in development (pre-alpha)

access

design

tech and misc

announcements

this mediawiki now supports source code highlighting. <code>#language# ...put your code here... </code>

language can be something like java, javascript, cpp, prolog, perl, php3, python, ruby, flex, changelog, lua, caml,sml

if #language# is not specified cpp will be used


require_once("lib.minimap.php");

function FindRandomStartplace () {
	$o = sqlgetobject("SELECT MIN(`x`) as minx,MAX(`x`) as maxx,MIN(`y`) as miny,MAX(`y`) as maxy FROM `building`");
	for($i=0;$i<50;++$i){
		$x = rand($o->minx-20,$o->maxx+20);
		$y = rand($o->miny-20,$o->maxy+20);
		$d = 20;
		$count = sqlgetone("SELECT COUNT(`id`) FROM `building` WHERE (".($x-$d).")<=`x` AND `x`<=(".($x+$d).") AND (".($y-$d).")<=`y` AND `y`<=(".($y+$d).")");
		if($count == 0)break;
	}
	return array($x,$y);
}


function TypeCheck ($arr) {
	if (count($arr) == 0) return "1";
	return "`type` = ".implode(" OR `type` = ",$arr);
	std::string test = "blabla \n\n [[wikisafe]], automatic nowiki

"; }