Skip to content

Commit

Permalink
Added timeline library
Browse files Browse the repository at this point in the history
  • Loading branch information
picosonic committed Aug 26, 2021
1 parent 2f27016 commit 40154a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ echo "];" >> "${models}"

# Concatenate the JS files
touch "${jscat}" >/dev/null 2>&1
for file in "font.js" "writer.js" "hud.js" "models.js" "main.js"
for file in "timeline.js" "font.js" "writer.js" "hud.js" "models.js" "main.js"
do
cat "${file}" >> "${jscat}"
done
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Airspace Alpha Zulu</title>
<link rel="stylesheet" href="main.css">
<script type="text/javascript" src="timeline.js"></script>
<script type="text/javascript" src="font.js"></script>
<script type="text/javascript" src="writer.js"></script>
<script type="text/javascript" src="hud.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ var gs={
roll:0, // roll angle degrees
pitch:0, // pitch angle degrees
compass:0, // compass heading degrees
hudcolour:"rgba(0, 220, 0, 0.9)"
hudcolour:"rgba(0, 220, 0, 0.9)",
timeline:new timelineobj()
};

// Startup called once when page is loaded
Expand Down

0 comments on commit 40154a2

Please sign in to comment.