-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
150 lines (141 loc) · 6.35 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html>
<head>
<title>Open Panzer</title>
<meta name="author" content="Nicu Pavel, npavel@linuxconsulting.ro"/>
<meta name="description" content="HTML5 Panzer General 2 remake"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="icon" href="resources/ui/page/icon/icon.png" type="image/png"/>
<link rel="apple-touch-icon" href="resources/ui/page/icon/icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="resources/ui/page/icon/icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="resources/ui/page/icon/icon-114x114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="resources/ui/page/icon/icon-144x144.png" />
<script src="resources/scenarios/scenariolist.js"></script>
<script src="resources/campaigns/campaignlist.js"></script>
<!-- <script src="resources/equipment/equipment-condensed-all.js"></script> --> <!-- for loading speed -->
<!-- <script src="resources/equipment/equipment-all.js"></script> --> <!-- the human readable version for development -->
<!-- <script src="js/eventhandler.js"></script> -->
<script src="js/prototypes.js"></script>
<script src="js/gamestate.js"></script>
<script src="js/equipment.js"></script>
<script src="js/dom.js"></script>
<script src="js/ai.js"></script>
<script src="js/style.js"></script>
<script src="js/sound.js"></script>
<script src="js/animation.js"></script>
<script src="js/gamerules.js"></script>
<script src="js/unit.js"></script>
<script src="js/map.js"></script>
<script src="js/scenarioloader.js"></script>
<script src="js/render.js"></script>
<script src="js/scenario.js"></script>
<script src="js/campaign.js"></script>
<script src="js/uibuilder.js"></script>
<script src="js/ui.js"></script>
<script src="js/game.js"></script>
<link href="css/ui.css" rel="stylesheet" type="text/css">
</head>
<body onload="gameStart();" id="mainbody">
<!-- Game UI -->
<div id="ui-message"> <!-- Message popup -->
<div id="title">OpenPanzer</div>
<div id="message">Open source HTML5 Turn Based strategy game a remake of old Panzer General 2.<br> (c) 2013 Nicu Pavel. <a href="https://github.com/nicupavel/openpanzer">GitHub Project</a></div>
<div id="uiokbut"></div>
</div>
<div id="startmenu"> <!-- The main menu -->
<div id="smMain" class="mainPanel">
<div id="smLogo"><div id="smLogoText"></div></div>
<div id="smButtons"></div>
<div id="smCredits"></div>
</div>
<div id="smCamp" class="mainPanel">
<div id="smCampSel" class="smSelect"></div>
<div id="smCampDesc" class="smDesc"></div>
<div id="smCampInfo">
<div id="smCampCountry" class="smCampDetails"></div>
<div id="smCampScenarios" class="smCampDetails"></div>
<div id="smCampPrestige" class="smCampDetails"></div>
</div>
<div id="smCampButtons">
<div class="smSmallButton" id="smCPlayBut"></div>
<div class="smSmallButton" id="smCBackBut"></div>
<!-- Campaign debug buttons -->
<!--
<div style="float: left" id="smCVB">[Briliant Victory]</div>
<div style="float: left" id="smCV">[Normal Victory]</div>
<div style="float: left" id="smCVT">[Tactical Victory]</div>
<div style="float: left" id="smCL">[Lose]</div>
-->
</div>
</div>
<div id="smScen" class="mainPanel">
<div id="smScenSel" class="smSelect"></div>
<div id="smScenDesc" class="smDesc"></div>
<div id="smScenPlayers">
<div id="smSide0"></div>
<div id="smVS"></div>
<div id="smSide1"></div>
</div>
<div id="smScenButtons">
<div class="smSmallButton" id="smSPlayBut"></div>
<div class="smSmallButton" id="smSBackBut"></div>
</div>
</div>
<div id="smSettings" class="mainPanel">
<div id="smSetOkBut" class="smSmallButton"></div>
</div>
</div>
<div id="statusbar">
<div id="weathermsg"></div>
<div id="statusmsg" class="message"></div>
<div id="locmsg" class="message"></div>
</div> <!-- Status bar where messages/infos are shown -->
<div id="menu"> <!-- Where the in game menu is being built -->
<div id="slidemenu"></div>
</div>
<div id="unit-context"></div> <!-- Where the buttons for unit contextual actions appear -->
<div id="unit-info"> <!-- Unit info dialog -->
<div class="imageCol"><div id="uImage"></div></div>
<div class="nameRow">
<div id="uName">Select unit to see stats</div>
<div id="statsRow" class="statsRow"></div>
</div>
</div>
<div id="container-unitlist">
<div class="hscroll-container" id="hscroll-unitlist">
<div class="hscroll" id="unitlist"></div><!-- Current player units -->
</div>
</div>
<div id="equipment"><!-- Equipment Window -->
<div id="eqSortButtonsContainer">
<div class="eqSortClassBut" id="eqSortOrderBut"></div>
<div class="eqSortClassBut" id="eqSortOptionsBut"></div>
</div>
<div id="eqInfoText">Equipment upgrades and new units</div>
<div id="eqSelClass"></div>
<div class="hscroll-container" id="hscroll-eqUnitList"><div class="hscroll" id="eqUnitList"></div></div>
<div class="hscroll-container" id="hscroll-eqTransportList">
<div class="hscroll" id="eqTransportList"></div>
</div>
<div id="eqActionsContainer">
<div id="eqButtonsContainer">
<div id="currentPrestige"></div>
<div class="eqButton" id="eqCloseBut"></div>
<div class="eqButton" id="eqSelCountryButton"><div id="eqSelCountry"></div></div>
<div class="eqButton" id="eqUpgradeBut"></div><div class="eqCostText" id="eqUpgradeText"></div>
<div class="eqButton" id="eqNewBut"></div><div class="eqCostText" id="eqNewText"></div>
</div>
<div id="eqSortOptions">
<div id="eqSortInfo"></div>
<div id="eqSortOptionsContainer"></div>
<div class="eqButton" id="eqSortCloseBut"></div>
</div>
</div>
<div id="eqUserSel"></div> <!-- keeps track of user selections -->
</div>
<div id="game"></div> <!-- Where the canvases are added -->
<!-- reference custom fonts so they get loaded before the canvas rendering -->
<span style="font-family: unitInfo; visibility: hidden">Preloading unitInfo font</span>
<span style="font-family: coreUnitFont; visibility: hidden">Preloading coreUnitFont</span>
</body>
</html>