X-Git-Url: https://deadsoftware.ru/gitweb?p=cavecraft.git;a=blobdiff_plain;f=src%2Fconsole.pas;h=99c78d037d2ec3a05c2889f7469befe5d4d439f2;hp=c6c2f69dd056e7db6d8f3cdbcb8f94be8a5093d2;hb=4983aa70fea163453968255c36b0689cfb412463;hpb=9115be0a19d5716f33a2e2cba76f3447ce0f4c2f diff --git a/src/console.pas b/src/console.pas index c6c2f69..99c78d0 100644 --- a/src/console.pas +++ b/src/console.pas @@ -50,7 +50,6 @@ implementation keyboard, vars, maps, - items, canvas, mobs, worldgen, @@ -625,56 +624,6 @@ procedure exeCommand(str:string); exec(nextWord, tmp); end; else - if com='RESET_ITEMS' then - begin - resetItems(decodeInt(nextWord)+1); - //addToLog('Max items: '+decodeInt(parsed_str[1])); - end; - else - if com='SET_ITEM' then - begin - setItemData(decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord)); - end; - else - if com='RESET_BLOCKS' then - begin - resetBlocks(decodeInt(nextWord)+1); - //addToLog('Max blocks: '+decodeInt(parsed_str[1])); - end; - else - if com='SET_BLOCK' then - begin - setBlockData(decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord)); - end; - else - if com='RESET_TOOLS' then - begin - resetTools(decodeInt(nextWord)+1); - //addToLog('Max tools: '+decodeInt(parsed_str[1])); - end; - else - if com='SET_TOOL' then - begin - setToolData(decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord), - decodeInt(nextWord)); - end; - else if com='RESET_FUELS' then begin furnace.setMaxFuel(decodeInt(nextWord)); @@ -759,13 +708,6 @@ procedure exeCommand(str:string); decodeInt(tmp2)); end; else - if com='SET_MAX_ITEM_LIST' then - setMaxItemList(decodeInt(nextWord)); - else - if com='SET_ITEM_LIST' then - setItemList(decodeInt(nextWord), - decodeInt(nextWord)); - else if com='BIND_KEY' then begin tmp:=nextWord;