Changeset 1419
- Timestamp:
- 05/31/09 21:18:40 (10 months ago)
- Location:
- trunk/src
- Files:
-
- 4 modified
-
dungeon.c (modified) (2 diffs)
-
game-cmd.c (modified) (2 diffs)
-
game-cmd.h (modified) (1 diff)
-
store.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dungeon.c
r1417 r1419 1099 1099 1100 1100 /* Process the command */ 1101 process_command( TRUE);1101 process_command(CMD_GAME, TRUE); 1102 1102 1103 1103 /* Count this execution */ … … 1122 1122 1123 1123 /* Get and process a command */ 1124 process_command( FALSE);1124 process_command(CMD_GAME, FALSE); 1125 1125 } 1126 1126 -
trunk/src/game-cmd.c
r1417 r1419 275 275 * go along with it. 276 276 */ 277 void process_command( bool no_request)277 void process_command(cmd_context ctx, bool no_request) 278 278 { 279 279 int i; … … 281 281 282 282 /* If we've got a command to process, do it. */ 283 if (cmd_get( CMD_GAME, &cmd, !no_request) == 0)283 if (cmd_get(ctx, &cmd, !no_request) == 0) 284 284 { 285 285 /* Obviously inefficient - can tune later if needed. */ -
trunk/src/game-cmd.h
r1417 r1419 165 165 166 166 /* Called by the game engine to get the player's next action. */ 167 void process_command( bool no_request);167 void process_command(cmd_context c, bool no_request); 168 168 169 169 #endif -
trunk/src/store.c
r1417 r1419 2754 2754 2755 2755 /* Let the game handle any core commands (equipping, etc) */ 2756 process_command( TRUE);2756 process_command(CMD_STORE, TRUE); 2757 2757 2758 2758 if (redraw)
