-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
78 lines (69 loc) · 3.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!--
/*******************************************************************************
# ____ __ __ _ _____ _ _ #
# / __ \ \ \ / / | | / ____| | | | #
# | | | |_ __ ___ _ __ \ /\ / /__| |__ | | __| | ___ | |__ ___ #
# | | | | '_ \ / _ \ '_ \ \/ \/ / _ \ '_ \| | |_ | |/ _ \| '_ \ / _ \ #
# | |__| | |_) | __/ | | \ /\ / __/ |_) | |__| | | (_) | |_) | __/ #
# \____/| .__/ \___|_| |_|\/ \/ \___|_.__/ \_____|_|\___/|_.__/ \___| #
# | | #
# |_| _____ _____ _ __ #
# / ____| __ \| |/ / #
# | (___ | | | | ' / #
# \___ \| | | | < #
# ____) | |__| | . \ #
# |_____/|_____/|_|\_\ #
# #
# (c) 2011-2012 by #
# University of Applied Sciences Northwestern Switzerland #
# Institute of Geomatics Engineering #
# Author:[email protected] #
********************************************************************************
* Licensed under MIT License. Read the file LICENSE for more information *
*******************************************************************************/
GeoGame: Prototype
*******************************************************************************/-->
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<script type="text/javascript" src="compiled/kineticjs.js"></script>
<script type="text/javascript" src="compiled/jquery-1.7.1.min.js"></script>
<!--<script type="text/javascript" src="compiled/globegame-optimized.js"></script>-->
<script type="text/javascript" src="external/closure-library/closure/goog/base.js"></script>
<script type="text/javascript" src="compiled/deps.js"></script>
<script type="text/javascript">goog.require('owg.OpenWebGlobe');goog.require('owg.gg.GlobeGame');</script>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body style="overflow:hidden;" onload="if(!loaded){loaded = true; Init();}">
<div id="main_div" class="main_div">
</div>
<div id="owg_div" class="owg_div">
<canvas id="canvas" class="canvas">
</canvas>
</div>
<script type="text/javascript">
var playsound = false;
if(jQuery.browser.webkit == true)
{
playsound = true;
}
document.oncontextmenu = function(e) { return false; }
document.onrightmousedown = function(e) { return false; }
ogSetArtworkDirectory("");
var globeGame = new GlobeGame("main_div", "", /*Sound*/playsound, /*hashcode*/false, /*minimode*/false, /* choose lang*/ false);
var loaded = false;
function Init()
{
globeGame.Init(OnCanvasRender,2.0);
}
function OnCanvasRender(frame)
{
}
</script>
</body>
</html>