Skip to content

Commit

Permalink
ghoulsblade#23 Initial jiggerypokery to get main imports to happen
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddieM4 committed May 7, 2013
1 parent 1833c99 commit a214532
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions hawkthorne-journey
Submodule hawkthorne-journey added at 01b9a4
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ <h2>Ported to Weblua</h2>
<li><a href="clouds/">demo:clouds</a></li>
<li><a href="iyfct/">demo:in your face city trains</a></li>
<li><a href="no/">demo:no</a></li>
<li><a href="hawkthorne-journey/src">Journey to the Center of Hawkthorne</a></li>
</ul>
<h2>Not ported yet (broken)</h2>
<ul>
Expand Down
12 changes: 11 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,17 @@ function LuaBootStrap () {
love_module['_version_major'] = 0; // 0.8.0 ... 0? or 8?
love_module['_version_minor'] = 8;
love_module['_version_rev'] = 0;
}
} else {
love_module['_version_major'] = 0;
love_module['_version_minor'] = 7;
love_module['_version_rev'] = 2;
}

love_module['_version'] = [
love_module._version_major,
love_module._version_minor,
love_module._version_rev
].join('.');

// callback defaults
// note : could maybe be done by lua_libs['love']['load'] = ...
Expand Down

0 comments on commit a214532

Please sign in to comment.