move sniper app from friendika to friendika-addons
BIN
sniper/100x100.gif
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
sniper/100x100.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
sniper/100x75.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
sniper/100x80.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
sniper/120x90hotshotsniper.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
sniper/125x125.jpg
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
sniper/140x90.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
sniper/150x150.jpg
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
sniper/160x86.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
sniper/180x135.jpg
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
sniper/250x180.jpg
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
sniper/300x200.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
sniper/300x300.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
sniper/32x32.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
sniper/335x185.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
sniper/60x60.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
sniper/64x64.gif
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
sniper/70x45.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
sniper/70x60.jpg
Normal file
After Width: | Height: | Size: 8 KiB |
BIN
sniper/73x80.jpg
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
sniper/75x57.jpg
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
sniper/80x60.jpg
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
sniper/80x70.jpg
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
sniper/80x80hotshotsniper.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
sniper/81x67.jpg
Normal file
After Width: | Height: | Size: 9.6 KiB |
11
sniper/description_etc.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
Description:
|
||||
|
||||
Shoot the targets with your sniper rifle!
|
||||
|
||||
Instructions:
|
||||
|
||||
Use your mouse to aim and shoot. Press R or Shift to Reload Press Space to use your Scope.
|
||||
|
||||
Dimensions:
|
||||
|
||||
620x480
|
15
sniper/hotshotsniper.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>hotshotsniper</title>
|
||||
</head>
|
||||
<body bgcolor="#000000">
|
||||
<!--url's used in the movie-->
|
||||
<!--text used in the movie-->
|
||||
<!-- saved from url=(0013)about:internet -->
|
||||
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="620" height="480" id="hotshotsniper" align="middle">
|
||||
<param name="allowScriptAccess" value="sameDomain" />
|
||||
<param name="movie" value="hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
||||
</object>
|
||||
</body>
|
||||
</html>
|
BIN
sniper/hotshotsniper.swf
Normal file
37
sniper/sniper.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Demo plugin for adding various types of Flash games to Friendika.
|
||||
* In this case we're using "Hot Shot Sniper" by FlashGames247
|
||||
*/
|
||||
|
||||
|
||||
function sniper_install() {
|
||||
register_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
|
||||
}
|
||||
|
||||
function sniper_uninstall() {
|
||||
unregister_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
|
||||
|
||||
}
|
||||
|
||||
function sniper_app_menu($a,&$b) {
|
||||
$b['app_menu'] .= '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
|
||||
}
|
||||
|
||||
|
||||
function sniper_module() {}
|
||||
|
||||
function sniper_content(&$a) {
|
||||
|
||||
$baseurl = $a->get_baseurl() . '/addon/sniper';
|
||||
|
||||
$o .= <<< EOT
|
||||
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="620" height="480" id="hotshotsniper" align="middle">
|
||||
<param name="allowScriptAccess" value="sameDomain" />
|
||||
<param name="movie" value="$baseurl/hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="$baseurl/hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
||||
</object>
|
||||
EOT;
|
||||
|
||||
return $o;
|
||||
}
|