Compare commits
2 Commits
ea68985033
...
702d27f0b0
Author | SHA1 | Date | |
---|---|---|---|
|
702d27f0b0 | ||
|
c85160832f |
0
hrm/editor.php
Executable file → Normal file
0
hrm/functions.js
Executable file → Normal file
0
hrm/functions.php
Executable file → Normal file
0
hrm/help.htm
Executable file → Normal file
1
hrm/human-resource-machine-viewer/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.swp
|
0
hrm/human-resource-machine-viewer/GPLv3-LICENSE.md
Executable file → Normal file
0
hrm/human-resource-machine-viewer/README.md
Executable file → Normal file
0
hrm/human-resource-machine-viewer/TODO
Executable file → Normal file
0
hrm/human-resource-machine-viewer/hrm-comments.md
Executable file → Normal file
0
hrm/human-resource-machine-viewer/hrm.css
Executable file → Normal file
0
hrm/human-resource-machine-viewer/hrm.js
Executable file → Normal file
0
hrm/human-resource-machine-viewer/label-test.asm
Executable file → Normal file
0
hrm/human-resource-machine-viewer/pako_inflate.min.js
vendored
Executable file → Normal file
0
hrm/human-resource-machine-viewer/simple.asm
Executable file → Normal file
0
hrm/images/bg_tiles.png
Executable file → Normal file
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
0
hrm/images/hand.png
Executable file → Normal file
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
0
hrm/images/help.png
Executable file → Normal file
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
0
hrm/images/next.png
Executable file → Normal file
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
0
hrm/images/pause.png
Executable file → Normal file
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
0
hrm/images/play.png
Executable file → Normal file
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
0
hrm/images/previous.png
Executable file → Normal file
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
0
hrm/images/reset.png
Executable file → Normal file
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
0
hrm/images/screenshot.png
Executable file → Normal file
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
10
hrm/run.php
Executable file → Normal file
@ -2,6 +2,10 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<?
|
||||
|
||||
// ini_set('display_errors', 1);
|
||||
// ini_set('display_startup_errors', 1);
|
||||
// error_reporting(E_ALL);
|
||||
|
||||
include("functions.php");
|
||||
include("../levels.php");
|
||||
|
||||
@ -117,8 +121,8 @@ else{
|
||||
// echo("program_valid: \"$program_valid\"<br>");
|
||||
|
||||
$debug = false;
|
||||
if($program[0][cmd] == 'comment'){
|
||||
if($program[0][comment] == '--debug'){
|
||||
if($program[0]['cmd'] == 'comment'){
|
||||
if($program[0]['comment'] == '--debug'){
|
||||
echo("<h1><font color=red>DEBUG Modus</font></h1>");
|
||||
$debug = true;
|
||||
}
|
||||
@ -267,7 +271,7 @@ else{
|
||||
|
||||
function page_loaded(){
|
||||
<?
|
||||
if(($program[0][cmd] == "comment") && ($program[0][comment] == "--debug")){ //we are in debug mode
|
||||
if(($program[0]['cmd'] == "comment") && ($program[0]['comment'] == "--debug")){ //we are in debug mode
|
||||
?>
|
||||
console.log("### We are in DEBUG Mode!!!");
|
||||
$("#init_box_content").html(init_box_content);
|
||||
|