Index: TODO ================================================================== --- TODO +++ TODO @@ -10,10 +10,11 @@ * String data * A ,PopUp command to use a popup with arguments starting from a mark * "Goto message" instruction (?) * Returning a class from COLLIDE/COLLIDEBY to transform * Coordinate input (may be suitable for some kind of games) + * A way to change the order of objects execution * Editor * Mouse dragging * Level index editor * Bizarro world * Selection rectangles Index: bindings.doc ================================================================== --- bindings.doc +++ bindings.doc @@ -107,10 +107,14 @@ 'mx' Export a move list. The argument is a operating system command that will receive the move list (in the same format as above) on stdin. +'rs' + Adjust replay speed by the specified number (negative to make faster, or + positive to make slower; zero leaves it unchanged). + === Editor commands === '^N' Add a new level (after the last one). The new level has the same Index: default.heromeshrc ================================================================== --- default.heromeshrc +++ default.heromeshrc @@ -127,10 +127,12 @@ ?.gameKey.f7: ^> ?.gameKey.f8: ^s ?.gameKey.tab: ^I ?.gameKey.alt.G: ^g ?.gameKey.alt.P: ^p +?.gameKey.alt.leftbracket: select 'rs',-5; +?.gameKey.alt.rightbracket: select 'rs',+5; ! Editor key bindings ?.editKey.1: select 'mr',0; ?.editKey.2: select 'mr',1; ?.editKey.3: select 'mr',2; Index: game.c ================================================================== --- game.c +++ game.c @@ -780,10 +780,15 @@ return 1; case 'mx': // Move list export if(argc<2) break; do_export_moves(sqlite3_column_text(args,1)); return 0; + case 'rs': // Replay speed + number+=replay_speed; + if(number<1) number=1; else if(number>255) number=255; + replay_speed=number; + return prev; default: return prev; } }