INTRODUCTION ======== You procured[purchased] block[package] AGDS (Adventure Game Development System) oriented for the creation[the building|the establishing] of dynamic[of dynamical] приключенческих games[plays], of tutorial[of instructional|of tutoring] blueprints[programs| programmes], of various[of sundry] advertising[advertizing|publicity] commodities[produces|products]. In[Into|On] the block[the package] grading[makeup|composition|constitution] enters likewise original blueprint[program|programme]-интерпретатор AGI (Adventure Game Interpreter) which, inhousely, and bes[ises] themes[topics], what[that] "exhilarate's["galvanize's] Your game[play], and[but] likewise adapted интерпретатор carrying, just like block[package], name[first name] AGDS. Hereafter[Hereinafter] all[whole|entire|everything] written about интерпретаторе AGI completely[in full|totally] maybe отнесено and to интерпретатору AGDS. If to You never was come to play in[into|to|on] Larry, Space Quest and another similar games[plays], to You is in prospect fascinating[absorbing|enthralling] acquaintance with the entire[the whole] family of приключенческих games[plays]. Their sense in[into|to| on] next[next one|the following] is concluded[is transacted]. You - the principal[the capital] in operation[in service|working|actual| effective|operative] person of game[of play], depending on Your practices[acts|actions|deeds] advances[develops] its plot. Though [Although|Albeit] of персонажи game[play] and stemming of act придумываются author a priori[in advance], the run-up[the course] of game[of play] will be dependent on[depend on] Your practices[acts| actions|deeds]. For the successful creation[building|establishing] of blueprints [of programs|of programmes] in system AGDS in[into|on] creative bracket[bunch|group|team] be due to enter, at least, three[3] mans [human beings]: сценарист, artist and programmer high enough expertize [proficiency|attainment|skill]. Later we shall try to describe[to delineate|to depict] the approximate distribution[reapportionment| allotment] of charges[of duties] in bracket[bunch|group|team]. Block[Package] AGDS offers You to come forward in[into|on] role the author of game[of play], i.e. to mine[to develop|to work out] plot, to think of[to find] персонажи, нарисовать scenery and пр. The blueprints[The programs|The programmes] of our block[package] will help[will aid|will boost|will befriend] You рисовать scenery and персонажи, to describe[to delineate|to depict] the logic of game[of play], to compose[to compile|to constitute|to form|to make up|to draw up] vocabulary from[out of] words which are described[are delineated| are depicted] pieces[subjects] and practices[acts|actions|deeds]. Data prepared[qualified] by means of[with the help of] our block[package], blueprint[program|programme] AGI will transform in[into|on] fascinating[absorbing|enthralling] fantastic game[play]. We shall help [shall aid|shall boost|shall befriend] You everything нарисовать and to show[to show up|to display|to disclose], and[but] to think of[to find] all that You should self! We feel, what[that] You are acquainted with job on personal computer, that is why[therefore] in description[delineation|depiction] be not be kept particulars about keyboard, files and пр. In the first component[part] of description[of delineation|of depiction] You will make acquaintance with blueprint[program|programme] AGI and its job. You will recognize[will learn] that[what] such resource, entity[object], cadre, cycle[cyclic process] et al. We in detail shall view the cause[the process|the suit] of the creation[of the building|of the establishing] of pictorial representations, the descriptions[the delineations|the depictions] of representation, the descriptions[the delineations|the depictions] of the logic of job. Into second[the second] component[part] are described[are delineated|are depicted] the blueprints[the programs|the programmes] of-утилиты block[package] AGDS. The descriptions[The delineations|The depictions] of blueprints[of programs|of programmes] conjecture that [what] You already[as early as] became acquainted with the first component[part]. Third[The third] component[part] keeps several[some|a few| somewhat] examples[instances]. The first example[instance] - this blanket[complete|full] cycle[cyclic process] of the creation[of the building|of the establishing] of simplest[of elementary] game[play]. On[Onto|Upon] it we shall view the interfaces of the all blueprints [programs|programmes] of block[of package]. Second[The second] example [instance] this actual[real] fragment of game[of play] In Seаrch of Lost Planet, on[onto|upon] which we shall view special features the disposal[the profit-taking|the realization] of games[of plays]. Here are shown[are shown up|are displayed|are disclosed] the interfaces of scenery of moving entities[objects], of sound and the descriptions [the delineations|the depictions] of the logic of job. Fourth component[part] actually[in actual fact|in fact] bes[ises] the description[the delineation|the depiction] of the example[of the instance] of the creation[of the building|of the establishing] of tutorial[of instructional|of tutoring] blueprint[program|programme]. We conjecture that[what] ours block[package] AGDS will mostly be used [be utilized] for the creation[the building|the establishing] of tutorial[of instructional|of tutoring] blueprints[programs|programmes], that is why[therefore] in the capacity of[in capacity] example [instance] is viewed the blanket[the complete|the full] cycle[cyclic process] of the creation[of the building|of the establishing] of tutorial[of instructional|of tutoring] blueprint[program|programme] "thunderstorms"["storm"]. Appropriating[Procuring|Purchasing] block [package], You for the first time getting in detail commented [commented on] the authorial starting texts[discourses] of this blueprint[program|programme] created[brought to being] in[into|to|on] THAT "интеп" (C) г. Чебоксары[Cheboxary]. You will be able to become acquainted with recommendations the development contractors[the development engineers] of blueprint[of program|of programme] "thunderstorms"["storm"] as to [along] the spelling of similar blueprints[programs|programmes]. In annex are presented detailed particulars about the formats of data, these particulars anticipate knowledges at the level qualified програмистов. In connection with the changeless[the continual|the continuing| the standing|the constant] development[devt|evolution] of block[of package], are possible small[slight|bantam] differences [dissimilarities] in the description[the delineation|the depiction] of blueprints[of programs|of programmes] from disposal[profit-taking| realization], that is why[therefore] carefully read text[discourse] in file READ_ME on diskette. COMPONENT[PART] I. Интерпретатор[Interpretator] AGI (AGDS) ================================ I. 1. WHAT SUCH AGI ================== Интерпретатор[Interpretator] AGI (AGDS) - this blueprint[program| programme] allowing[letting|permitting] to mine[to develop|to work out] and to execute playful[actable] blueprints[programs|programmes] keeping[kepting] color calendar[chart|curve|diagram|graph|schedule], acoustic[sonic] accompanying, animated cartoons[cartoon]. AGI avails user capability[chance|possibility] to program the game[the play] logic on[onto|upon] certain, fairly simple[mere] program language[programming language] concealing[hiding|dissembling] from development contractor[development engineer] all difficulties [roadblocks] connected with bureau[management practice|control] графикой, by input[by putting] with keyboards, джостика, by job with timer and the generator of the sound of computer. Language[Tongue] AGI (AGDS) submits[presents] собой the language [the tongue] of high[of tall] level, close[allied] to languages [tongues] Prolog and Small Talk. On this language[tongue] is described [is delineated|is depicted] the logic of the job of blueprint[of program|of programme], i.e. that relations[attitudes], in[into|to|on] which accede entities[objects] in the cause[the process|the suit] of game[of play], of cartoon[of animated cartoon] or dialog[dialogue]. For example[For instance], if You mine[develop|work out] приключенческую game[play], in cause[process|suit] which player попадает in[into|on] that or another situation depending on that, will go it[he] to the right or to the left that such choice[selection] to You requisitely will describe[delineate|depict] on this language [tongue] in the form предиката, receiving consequence[value] False ( falsehood[lie|bouncer]) or True (truth) in conformity[in line|under the laws] with the consequences[the values] of the current coordinates of point, идентифицирующей player. I. 1.1 WITH THAN OPERATEs AGI ======================== Интерпретатор[Interpretator] AGI keeps: - 256 (0 - 255) однобайтовых varying[variable|variables] (Var); - 256 (0 - 255) of bannerettes (Flag); - the certain amount of entities[of objects], powered интерпретатором, one of which (entity[object] 0) is managed[is administered|is bossed|is controled] playing with keyboards; - the certain amount of pieces[of subjects]; - 12 сорокосимвольных строковых varying[variable|variables] ( string). Certain variables (0 - 26) and banners[flags] (0 - 15) already[as early as] зарезервированы for bureau[management practice|control] интерпретатором, the rest[the rest of] are used[are utilized] at the discretion programmer. Интерпретатор[Interpretator] secures blanket [corporate|common|general|total] for all blueprints[programs| programmes], at the same time загруженных in[into|on] it[its|his] memory, the field of variables and banners[flags]. The amount of entities[of objects] and pieces[subjects] is defined Object by- resource. Practices[Acts|Actions|Deeds] интерпретатора are described[are delineated|are depicted] by commands[by squads|by teams|by crews] (by the professional traders) of language[of tongue] интерпретатора. For example[For instance], the commands[the squads|the teams|the crews] of bureau[of management practice|of control] entities[objects], clearing ratioes and the discharges of the resources of etc. In detail command [squad|team|crew] интерпретатора will be viewed later. Note! ------------- All[Whole|Entire] varying[variable], banners[flags], entities [objects], lines, words, communications and пр. идентифицируются by ordinal number[by order number], while numbering[numeration] for in all unique (for example[for instance], coexists[subsists] varying [variable] number 5, line number 5 and flags[banners] number 5). I. 2. RESOURCES - THE BASAL[THE BASE|THE PRINCIPAL| THE BASIC|THE CAPITAL|THE PRIMARY|THE STAPLE] TYPE OF DATA AGI ====================================== We mine[develop|work out] playful[actable] blueprints[programs| programmes], i.e. придумываем plot, create[construct|call into existence] playful[actable] entities[objects], одвиживаем their, mine [develop|work out] scenery and the vocabulary of system for communication[intercourse] playing with AGI. For description [delineation|depiction] in all this[these|those] are introduced[are imposed|are injected] resources. For creation[building|establishing] certain of them we use[utilize] bridging[subordinate|subsidiary| auxiliary|standby] blueprints[programs|programmes], complex which and compiles[constitutes|forms] AGDS, in this case the imput information [the input data] of these blueprints[programs|programmes] be resources. We shall enumerate[We shall list] all used[utilized] resources. Resources serve for rendering[submission]: - полноэкранных, the colored persons of graphical pictorial representations (Picture-resource); - the colored persons of мультипликационных representations (View- resource); - the acoustic[the sonic] effects (of music, of noises) (Sound- resource); - playful[actable] entities[objects] - of pieces[of subjects] ( Object-resource); - the system vocabulary for communication[intercourse] playing with AGI (Word-resource); - inhousely blueprints[programs|programmes] on endogenous[home] language[tongue] AGI (Logic-resource). We shall view more[any more|any longer|anymore] in detail everyone from[out of] these resources. I. 2.1 PICTURE-resources ==================== Resource serves for the description[the delineation|the depiction] of the changeless representation (of scenery), against the background which stems the displacement[the mobility|the redeployment|the relocation|the transfer|the shifting] of moving playful[actable] entities[objects] which programly contact view-resources (see I. 2.2). Back-ground[Background] has[is found to have] the measure[the size] of 160 points as to[along] горизонтали and 168 points as to[along] вертикали. Each[Every] point of back-ground[of background] maybe is painted in[into|to|on] one of 16 colors[colours|flowers]. For creation [building|establishing] delusion[illusion] to объемности each[every] point of back-ground[of background] is added[is imputed] another[yet another] characteristic[feature] - priority. Priority defines удаленность each[every] point from watching. Point having larger[greater] priority is believed[is accounted|is counted] headquartered closer and vice versa. Priority assumes[accepts] consequences[values] from 0 ante 15. At отображении moving entities[objects] (view), the they of отображаются only[just] поверх that areas[domains|fields] which have [are found to have] not larger[greater], than at them priority, what [that] lets[allows|permits] create[bring to being] delusion[illusion] прохождения "for" what[which]-or[-whether] piece[subject] or 'prior to it"[them"]. Priority 4 is believed[is accounted|is counted] the most long-distance (neither[nor] one entity[object] cannot[may not] be gone "for" it[him]), priority 15 - the most ближним (neither[nor] one entity[object] cannot[may not] pass 'prior to" it[them]). Priorities 0, 1, 2, 3 be служебными. The components[The parts] of picture-resource in the form lines and areas[domains|fields] portrayed [depicted] in priorities 0, 1, 2, 3 have[are found to have] titles [names|denominations]: 0 - uncoditional[unconditional] barrier (boundary[frontier]); 1 - arbitrary[conditional] barrier; 2 - сигнальный barrier; 3 - the surface[the upside] of water. Picture-resource submits[presents] собой the chain[the suceession] of commands[of squads|of teams|of crews] generated[originated| procreated] by the graphical editor of static representations Picture Manager (PM), execution which lets нарисовать back-ground[background], on[onto|upon] which advances[develops] act[action|deed] and to ascribe [to attribute|to arrogate to|to attribute to] it[its|his] points necessary priorities, i.e. to create[to bring to being] объемную декорацию. We draw your attention once again[once more|over again] on[onto| upon] that, what[that] commands[squads|teams|crews] described [delineated|depicted] in issue I. 2.1, at aid[assistance] which and is authored picture-resource, are generated by blueprint[by program|by programme] Picture Manager (PM) automatically in cause[process|suit] рисования by artist задуманной scenery. We shall make acquaintance with these commands[squads|teams|crews] in more detail (see also[as well] description[delineation|depiction] pm). I. 2.1.1 COMMAND[SQUAD|TEAM|CREW] OF THE INSTALLATION[OF THE PLANT] OF COLOR[OF COLOUR] =============================== The originally all points of back-ground[of background] have[are found to have] white color[colour] and priority 4. We can[may] нарисовать representation one of next[next one|the following] colors [colours|flowers]: 0 - black 8 - darkly-gray[-grey] 1 - blue 9 - blue 2 - green 10 - vividly green 3 - blue-green 11 - vividly blue-green 4 - red 12 - vividly red 5 - lilac 13 - lightly lilac 6 - brown 14 - yellow 7 - gray[grey] 15 - white Exactly[Just] for this target and serves given command[squad| team|crew]. After its execution all follow-up[sequent] graphical commands[squads|teams|crews] will use[utilize] for отображения standing[determined|specified] given command[squad|team|crew] color [colour]. I. 2.1.2 COMMAND[SQUAD|TEAM|CREW] OF THE ABOLITION[OF THE CANCELLATION|OF THE COUNTERMAND|OF THE ABROGATION|OF THE ABOLISHMENT|OF THE ANNULMENT|OF THE AVOIDANCE|OF THE RECALL|OF THE RESCISSION|OF THE REVOCATION] OF COLOR[OF COLOUR] ============================ This command[squad|team|crew] is used[is utilized], if we already[as early as] нарисовали representation. After this команы neither[nor] one graphical command[squad|team|crew] does not change [alter] color[colour] already[as early as] отображенных of points ( i.e. does not change the colors[the colours] of our representation). I. 2.1.3 COMMAND[SQUAD|TEAM|CREW] OF THE INSTALLATION[OF THE PLANT] OF PRIORITY ==================================== Graphical commands[squads|teams|crews], next[next one|the following] for this command[squad|team|crew], will establish[institute] отображаемым points current priority. I. 2.1.4 COMMAND[SQUAD|TEAM|CREW] OF THE ABOLITION [OF THE CANCELLATION|OF THE COUNTERMAND|OF THE ABROGATION|OF THE ABOLISHMENT|OF THE ANNULMENT|OF THE AVOIDANCE|OF THE RECALL|OF THE RESCISSION|OF THE REVOCATION] OF PRIORITY ================================= After this command[squad|team|crew] neither[nor] one graphical command[squad|team|crew] does not change[alter] the priority already [as early as] of отображенных points. I. 2.1.5 COMMAND[SQUAD|TEAM|CREW] ОТОБРАЖЕНИЯ BROKEN[BROKEN LINE] =================================== For рисования representations is used[is utilized] several[some|a few|somewhat] graphical commands[squads|teams|crews]. This command [squad|team|crew] of рисования the several kinds[modifications| paradigms|sorts|varieties] of ломанных lines, and command[squad|team| crew] отображения smooth line. We shall view the first command[squad|team|crew] of отображения ломанных lines. The first command[squad|team|crew] рисует line by current color [colour] and priority consisting of intervals vertical and horisontal [horizontal|aclinic] lines; while begins she[it] with vertical line: (x, y) │ │ V (x, y1) where х - horisontal[horizontal|aclinic] координата, and[but] at - vertical координата. T. to. we рисуем vertical line that координата as to[along] х - does not fluctuate[variate|vary]. Next [Next one|The following] line - horisontal[horizontal|aclinic], now does not fluctuate координата as to[along] at. (х, у) │ │ V └───────── > (х2, у1) (х, у1) X поменяется on[onto|upon] х2, thereby displaying what[that] this already[as early as] 2 alternations [variations|alterings|changings]. Onward[Further|Forthwith|Further on] аналогично: (х, у) (х2, у3) │ ┌─────────── > (х4, у3) │ │ V │ └───────── > ┘ (х, у1) (х2, у1) In description[delineation|depiction] no requisite to enumerate[to list] the all[the whole|the entire] chain[suceession] of the coordinates of all points. X, at, х, у1, х2, у1, х2, у3, х4, у3, and [but] fairly to enumerate[to list] betrayals coordinates, because we know in what way they fluctuated[variated|varied]. On a balance we shall receive[shall gain|shall get|shall obtain|shall derive] х, at, у1, х2, у3, х4. This chain[suceession] and will assign[set|indicate] command[squad|team|crew]. Second[The second] command[squad|team|crew] to analogous command [squad|team|crew] 5, but the first line horisontal. (х, у) ──────────── > ┐ (х1, у) │ │ │ V └────────────── > ─...... (х1, у2) (х3, у2) Is assigned by chain[by suceession] х, at, х1, у2, х3, у4....... Third[The third] command[squad|team|crew] чертит broken line consisting of intervals direct. (х1, у1)/\ /\/\ /\... (х3, у3)/\/ (х, у)\/\/ (х2, у2) Is assigned by chain[by suceession] х, at, х1, у1, х2, у2.... I. 2.1.6 COMMAND[SQUAD|TEAM|CREW] ОТОБРАЖЕНИЯ SMOOTHED CURVE ========================================== This command[squad|team|crew] bes[ises] kind[modification| paradigm|sort|variety] commands[squads|teams|crews] прочерчивания blanket[corporate|common|general|total] broken line consisting of very short intervals. Line прочерчивается from[out of] point (х, у) in[into|on] point ( х1, у1), onward[further|forthwith|further on] in[into|on] point (х2, у2), etc. Операндами[Operandami] be x, y, dx1, dy1, dx2, dy2,..., where dx (n)=x (n-1) - x (n), dy (n)=y (n-1) - y (n) I. 2.1.7 COMMAND[SQUAD|TEAM|CREW] ЗАКРАСКИ AREA [DOMAIN|FIELD] ================================ Given command[squad|team|crew] secures закраску self-contained areas[domains|fields] by current color[colour] and priority since[as from] point which be due to reside within selected area[domain|field]. By one command[squad|team|crew] may be[possible|you may|it may be] закрасить one or several[some|a few|somewhat] areas[domains|fields] assigning[setting|indicating] the vapors[the vapours|the couples] of coordinates residing within it. Command[Squad|Team|Crew] has[is found to have] next [next one|the following] special features: 1. If current color[colour] is established[is instituted|is set up] and not equal 15 (i.e. not white) that by area[by domain|by field], liable закраске, is believed[is accounted|is counted] the self-contained area[domain|field] of white color[colour] keeping [kepting] selected point. Перекрашивать[Perekrashivat] not white area[domain| field] it is impossible! -------------------------------------- 2. If current color[colour] is not established[instituted|set up] (is revoked[is annuled|is canceled|is vacated]) that by area[by domain|by field] is believed[is accounted|is counted] the self-contained area[domain|field] of points, prioritized 4 and keeping[kepting] selected point (regime[regimen|schedule] закраски by priority). Перекрасить[Perekrasit] point (as well as[and also|as well] to change[to alter] the priority of points different from 4) IT IS IMPOSSIBLE (color[colour] will remain[will stay] the same)! I. 2.1.8 COMMAND[SQUAD|TEAM|CREW] НАРИСОВАТЬ POINT ================================ This command[squad|team|crew] consists of[consistses of] two[2] components[parts]. The first of them serves for the assignment[the task] of parameters, second[the second] inhousely for рисования. To establish[To institute|To set up] parameters: --------------------- In this component[part] is pointed[is pointed out]: 1) numeral[number] from 0 ante 7, is defined the measure[the size] of featured point; 2) if stated in prev clause[item|point] the measure[the size] of point more 2 that in given clause[item|point] may be[possible|you may|it may be] indicate[point|denote|point out] to feature whether point in the form square or in the form circle. Depending on choice [selection] to parameter is appropriated[is arrogated|is embezzled] consequence[value] "0" or "1" (0 - circle, 1 - square); 3) points at[points to] that, what[which] will point - usual[ordinary| plain] or "полупрозрачной" with relationship the numerals of закрашенных elements and незакрашенным 1: 3. Нарисовать[Narisovat] point: ----------------- In this component[part] the assignment[the task] of immediate[of direct|of proximate] coordinates is pointed[is pointed out], where namely point will нарисована х1, у1, х2, у2, х3, у3......, where х ( i), y (i) - of координата the center[the centre] of point. If in issue the "installation[the "plant] of parameters" in clause [item|point] 3) is pointed to[is pointed at] that, what[that] point "полупрозрачна", is demanded[is exacted] to point[to point out] else [also|yet] consequence[value] r (i), i.e. r1, x1, y1, r2, x2, y2, r3, x3, y3,....., where r (i) - arbitrary[random|rule-of-thumb] numeral [number], from consequence[value] which depends the disposition[the spacing] of закрашенных elements within "полупрозрачной" "point". I. 2.1.9 COMMAND[SQUAD|TEAM|CREW] OF THE END OF JOB ============================ By this command[squad|team|crew] is completed the buildup[the formation] of pictorial representation, and she[it] boundly be due to be present at the end of Picture-resource. In more detail about graphical commands[squads|teams|crews] read in description[delineation| depiction] editor pm. I. 2.2 VIEW-resources ================= By means of[With the help of] this resource effect moving and fluctuated[variated|varied] representations is amounted. We shall view in more detail how[as|like] this[these|those] is done[is made]. The principles of одвиживания representation in[into|to|on] AGI- интерпретаторе analogous principle used[utilized] in animated cartoons [cartoon]: the representations of the consistent[of the sequent|of the sequential] phases of move[of floating|of moving] speedily сменяют each other[one another] on screen developping continuity delusion [illusion]. The representation of one phase of move[of floating|of moving] is entitled BY CADRE (Cel). We shall view the example[the instance] of the representation of cadre (the representation of right arrow[arrow-head]). ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬─── 1│ │ │ │ │ │ │ │ Х[Kh] │ │ │ │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 2│ │ │ │ │ │ │ │ Х[Kh] │ Х[Kh] │ │ │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 3│ Х[Kh] │ │ │ │ │ │ │ Х[Kh] │ Х[Kh] │ Х[Kh] │ │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 4│ Х[Kh] │ Х [Kh] │ Х[Kh] │ Х[Kh] │ Х[Kh] │ Х[Kh] │ Х[Kh] │ Х[Kh] │ Х [Kh] │ Х[Kh] │ Х[Kh] │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 5│ Х[Kh] │ │ │ │ │ │ │ Х[Kh] │ Х[Kh] │ Х[Kh] │ │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 6│ │ │ │ │ │ │ │ Х[Kh] │ Х[Kh] │ │ │ ├───┼───┼───┼───┼───┼───┼───┼───┼───┼─── 7/│ │ │ │ │ │ │ Х[Kh] │ │ │ │/ ╘═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══ /1 2 3 4 5 6 7 8 9 10 11\/|> base[basic] point the center[the centre] of cadre the benchmark [the base|the basis] of cadre/ At the representation of cadre one of 16 colors[colours|flowers] (as to[along] choice[selection] user) serves for the appellation[the notation|the denotation|the designation] of the transparent[of the diaphanous] components[parts] of cadre and is entitled by the back-ground[by the background] color[colour]. At перерисовке cadre on the screen of on the spot this color[colour] persist the colors[the colours] of points, already[as early as] отображенных on screen. In our case[chance] for the back-ground[the background] color[colour] choose white color[colour] (blank cages[cells]), of закрашенные cage [cell] обозначены K. Cadre portrayed[depicted] upward of[upwards of], has[is found to have] height 7 and the breadth[the width] of 11 elements отображения. The lower left-hand element of cadre is entitled by the base[by the basic] point of cadre. The coordinates of this point - the coordinates of cadre (in our case[chance] (1.7)). The lower a number of[row|array] the elements of cadre is entitled by the cadre benchmark[base|basis]. The central point of benchmark[of base|of basis] is entitled by the cadre center[centre]. Thus[In this way|So|In such a way], unlike Picture-resource the representation of cadre is assigned not by the kit[by the bundle|by the family] of graphical commands[squads|teams|crews], and[but] by the description[by the delineation|by the depiction] of the parameters of the cadre (of breadth[of width], heights, описателя) and by построчным coding representations. In detail this procedure will be described [delineated|depicted] in annex. We shall recall[We shall call to mind] that[what] moving representation (cartoon[animated cartoon]) consists of[consistses of] several manpower, speedily сменяющих each other[one another] on screen. Such chain[suceession] next[next one|the following] one for other manpower shall call[shall denominate|shall name] CYCLE[CYCLIC PROCESS] (loop). We be[We will|We shall|We shall be] to believe that[what] normally null cadre follows for the latest[the latter]. cel 0 ───── > cel 1 ───── > cel n-1 cycles[cyclic processes] (loop) from[out of] n manpower. Cycle[Cyclic process] lets отображать what[which]-or[-whether] accomplished move[floating|moving] of entity[of object]. Finally[At last|At length], the kit [the bundle|the family] of cycles[of cyclic processes] will make up [will form] blanket[complete|full] View-resource. I. 2.3 OBJECT-resources =================== This resource serves for the rendering[the submission] of pieces [of subjects]. Piece[Subject] is described[is delineated|is depicted] by the number of room, where it[he] "reside's and by text[by textual] line serving the piece[the subject] title[name|denomination]. If the number of room equal 255 that this[these|those] points at[points to] that, what[that] piece[subject] belongs[belongs to] playing. Thus[In this way|So|In such a way] Object-resource bes[ises] своеобразным the catalog[the catalogue] of all pieces[subjects] anyhow engaged in our game[play], while certain pieces[subjects] can[may] be even invisible. But if to us[us] is necessary[is it is necessary] to show piece[subject] or the move[the floating|the moving] of piece[of subject], we be due to connect with him necessary View-resource. At all[In general|Generally] representation of all pieces[subjects], visible on screen, is defined compliant[adequate|applicable| appropriate|consistent|corresponding|equal] View-resources, if only [just] they do not be elements scenery (then they are featured in Picture-resource). I. 2.4 WORD-resources ================= This resource keeps in packaged and in cipher class[type|sort] the all[the whole|the entire] vocabulary of been recognized интерпретатором words and expressions and their digital codes used [utilized] at the analysis of being entered offerings[bids|offers]. Syntactical analyser[parser|analyzer] интерпретатора lets распознавать words and expressions consisting solely from[out of] Latin siglas[symbols] and guided on English language[tongue]! I. 2.5 SOUND-resources ================== SOUND-resource submits[presents] собой the kit[the bundle|the family] of commands[of squads|of teams|of crews] for bureau[management practice|control] четырехголосым by the generator of the sound of computer TANDY. At job on machinery[machine] IBM PC, AGI will reform [will transform] these commands[squads|teams|crews] for use одноголосым синтезатором. Утилиты[Utility] (the editor of sounds) for the creation[the building|the establishing] of the inhouse[of the nonborrowed] acoustic [sonic] mounting[registration] (of new sounds) meanwhile[until|whilst| while|as yet] does not coexist[subsist], that is why[therefore] we recommend to use[to utilize] ready[ready-made] sound-resources ( sounds) from[out of] the games[the plays] of company Sierra On Line, Inc. (C) deriving[drawing] their at aid[assistance] утилиты Volume Manager (vm, see description[delineation|depiction]). I. 2.6 LOGIC-resources ================== One of the most[most] challenging[complex|complicated] resources интерпретатора. It[He] keeps commands[squads|teams|crews] интерпретатора, and communications интерпретатора. As to[Along]- creature[-entity], namely in logic-resource is described[is delineated| is depicted] the scenario of our game[play]. In him programly in conformity[in line|under the laws] with scenario is described[is delineated|is depicted] the all[the whole|the entire] spectrum of the interfaces of all entities[objects] and commitments of that or other resources of at the time[of at the time of] the fulfilment[the execution|the carrying out|the discharge] of blueprint[of program|of programme] depending on originating[arising] stipulations[conditions| provisions|circumstances|environment|premises|terms]. We shall view in more detail commands[squads|teams|crews] интерпретатора. I. 2.6.1 ARITHMETIC COMMANDS[SQUADS|TEAMS|CREWS] ============================== We shall view the commands[the squads|the teams|the crews] of job with varying[variable|variables]: increment n ----------- Value of the variable var (n) swells on unit, i.e. var (n)= var (n)+1. If value of the variable equally 255 that it does not fluctuate[variate|vary]. decrement n ----------- From[Out of] variable var (n) is deducted unit, i.e. var (n) =var (n)-1. If value of the variable equally 00 that it does not fluctuate[variate|vary]. assign n, m ------------ Variable var (n) is appropriated[is arrogated|is embezzled] consequence[value] n, i.e. var (n)=m assignv n, m ------------ Variable var (n) is appropriated[is arrogated|is embezzled] value of the variable var (m), i.e. var (n)=var (m). addn n, m --------- Value of the variable var (n) grows[increases] on value m, i.e. var (n)=var (n)+m. addv n, m --------- Value of the variable var (n) grows[increases] on value var ( m), i.e. var (n)=var (n)+var (m). subn n, m ---------- From[Out of] variable var (n) is deducted consequence[value] m, i.e. var (n)=var (n) - m. subv n, m --------- From[Out of] variable var (n) is deducted var (m), i.e. var ( n)=var (n) - var (m). lindirectv n, m ---------------- Variable var (i), where i-consequence[-value] variable var ( n), is appropriated[is arrogated|is embezzled] consequence [value] var (m), i.e. var (var (n))=var (m). lindirectn n, m ---------------- Variable var (i), where i-consequence[-value] variable var ( n), is appropriated[is arrogated|is embezzled] consequence [value] m, i.e. var (var (n))=m. rindirect n, m --------------- Variable var (n) is appropriated[is arrogated|is embezzled] value of the variable var (i), where i-consequence[-value] variable var (m), i.e. var (n)=(var (var (m)). muln n, m ----------- Variable var (n) is multiplied on[onto|upon] m, i.e. var (n)= var (n) m. mulv n, m ----------- Variable var (n) is multiplied on[onto|upon] var (m), i.e. var (n)=var (n) var (m). divn n, m ----------- Variable var (n) divides on[onto|upon] m, i.e. var (n)=var ( n)/m. divv n, m ----------- Variable var (n) divides on[onto|upon] var (m), i.e. var (n)= var (n)/var (m). random n, m, k ---------------- Variable var (k) is appropriated[is arrogated|is embezzled] the consequence[the value] of accidental[of arbitrary|of chance|of random|of stochastic] numeral[number] over the range from n ante m. Now shall make acquaintance with commands[squads|teams|crews] changing the consequences[the values] of banners[of flags]. We shall remind that[what] banners[flags] can[may] assume[accept] only[just] consequences[values] 0 and 1. set n ------ flag (n) is established[is instituted] in[into|to|on] 1. set_v n -------- flag (i), where i-consequence[-value] var (n), is established [is instituted] in[into|to|on] 1, i.e. flag (var (n))=1. reset n -------- flag (n) is established[is instituted] in[into|to|on] 0. reset_v n ---------- flag (i), where i-consequence[-value] var (n), is established [is instituted] in[into|to|on] 0, i.e. flag (var (n))=0. toggle n --------- flag (n) changes[alters] its consequence[value] on[onto|upon] contrary[opposite|reverse]. toggle_v n ------------ flag (i), where i-consequence[-value] var (n), i.e. flag (var (n)), changes[alters] its consequence[value] on[onto|upon] contrary[opposite|reverse]. I. 2.6.2 COMMANDS[SQUADS|TEAMS|CREWS] OF CLEARING RATIO [OF LOAD RATIO]/THE DISCHARGES OF RESOURCES ========================================== As to[Along] commands[squads|teams|crews], mentioned in given chieftain, is fabricated[is produced] clearing ratio[load ratio] ( into endogenous[home] memory) or discharge[outturn] (from[out of] endogenous[home] memory) интерпретатора logic -, picture -, of view - and sound-resources. Apart from that, must always remember about that, what[that] endogenous[home] memory интерпретатора does not exceed 64К. This clampdown[constraint|crackdown|curtailment|cutoff|restraint| restriction|curb] manifests glad[rather|pretty] seldom, but about him not must forget. At overshoot[overstocking] endogenous[home] memory интерпретатора it is necessary to dash[to smash|to break] blueprint [program|programme] on component[part] and consistently загружать/to discharge[to unship] their as to[along] the scale[the measure] of the development[of the devt|of the evolution] of act[of action|of deed] in given room or манипулировать picture -, view by - and sound-resources at the aid[the assistance] of commands[of squads|of teams|of crews], mentioned below. Follows to mind[to bear in mind], what[that] any[either|any of] command[squad|team|crew] of the annihilation[of the demolition] of resource causes THE AUTOMATIC ANNIHILATION[DEMOLITION] of all resources, загруженных AFTER undoed! load_logic n ------------- In[Into|On] the memory of computer загружается Logic - resource number n. load_logic_v n --------------- Загружается[Zagruzhaetsya] Logic (i), where i-consequence- [value] var (n), i.e. Logic (var (n)). load_pic n ----------- Загружается[Zagruzhaetsya] Picture (i), where i-consequence- [value] var (n), i.e. Picture (var (n)). load_view n ------------ Загружается[Zagruzhaetsya] View (n). load_view_v n -------------- Загружается[Zagruzhaetsya] View (i), where i-consequence[-value] var (n), i.e. View (var (n)). load_sound n ------------- Загружается[Zagruzhaetsya] Sound (n). discard_pic n -------------- Is undoed in memory Picture-resource with number i, where i - consequence[value] var (n). discard_view n --------------- To demolish[To obliterate|To annihilate|To wither] View (n). discard_view_v n ----------------- To demolish[To obliterate|To annihilate|To wither] View (i), where i-consequence[-value] var (n), i.e. View (var (n)). I. 2.6.3 COMMANDS[SQUADS|TEAMS|CREWS] OF BUREAU[OF MANAGEMENT PRACTICE|OF CONTROL] BY BLUEPRINT[BY PROGRAM|BY PROGRAMME] ===================================== Command[Squad|Team|Crew] < перейти_в_новую_комнату > bes[ises] one of the most[most] powerful commands[squads|teams|crews] интерпретатора. This command[squad|team|crew] serves for the shift[the change] of the algorithm of the behavior[of the behaviour|of the conduct] of entity[of object], scenery and пр. The automatic alternation[variation| altering|changing] of coordinates EGO imitates change-over in[into|on] neighboring[neighbouring|adjoining] accommodation[room|accomodation| premises] (room) abutting upon[adjoining] compliant[adequate| applicable|appropriate|consistent|corresponding|equal] boundary[verge] starting. Its format: new_room n ----------- new_room_v n ------------- As to[Along] these commands[squads|teams|crews] next[next one|the following] practices[acts|actions|deeds] are fabricated[are produced]: 1. For all entities[objects] are fulfiled[are discharged] commands [squads|teams|crews] stop_update and unanimate; 2. Are undoed all resources, except for Logic 0; 3. Is fulfiled[Is discharged] command[squad|team|crew] player_control; 4. Is fulfiled[Is discharged] command[squad|team|crew] unblock; 5. Is fulfiled[Is discharged] command[squad|team|crew] set_horizon 24; 6. Var (1) to appropriate[to arrogate|to embezzle] consequence[value] Var (0); Var (0) to appropriate[to arrogate|to embezzle] n (or content Var n for new_room_v); Var (4) to appropriate[to arrogate|to embezzle] 0; Var (5) to appropriate[to arrogate|to embezzle] 0; Var (16) to appropriate[to arrogate|to embezzle] the number of View- resource which was connected with EGO, (entity[object] powered playing). 7. Загрузить[Zagruzit] logic Logic (i), where i - consequence[value] Var (0)! 8. To establish[To institute|To set up] coordinates EGO according to [as per|in compliance with] Var (2): - if EGO concerned the lower boundary[verge] that to deliver[to supply] it[its|his] on the horison[the horizon] line; - if EGO concerned overhead[top|upper] boundary[verge] that to transfer it[its|his] in[into|to|on] низ screen; - if EGO concerned right boundary[verge] that to transfer it[its|his] to left-hand and vice versa. 9. Var (2) to appropriate[to arrogate|to embezzle] 0 (means[betokens| signifies|meanses] that[what] EGO did not concern neither[nor] what[which] boundary[frontier]). 10. Flag (5) ── > 1 (This[These|Those] means[betokens|signifies| meanses] that[what] in the first cycle[cyclic process] интерпретатора after the disclosure[the yielding] of command[of squad|of team|of crew] new_room n will be fulfiled[be discharged] инициализационные components[parts] all[whole| entire] логик, загруженных and prompted by[caused] in[into| on] инициализационной the parts of logic describing [delineating|depicting] practices[acts|actions|deeds] in [into|to|on] this[these|those] новой_комнате. In next[next one|the following] cycle[cyclic process] flag (5) will сброшен in[into|to|on] 0 (see THE CYCLE[THE CYCLIC PROCESS] OF JOB ИНТЕРПРЕТАТОРА and the starting texts[discourses] of blueprint[of program|of programme] "thunderstorms" ["storm"]). ОБРАТИТЕ ON THIS PARTICULAR[SPECIAL] ATTENTION [HEED]!). 11. Вычистить[Vychistit] the buffer[the bolster] of input[of putting] with keyboard and to appear[to issue] in[into|on] system AGI (see the card[the chart|the diagram] of job интерпретатора). The commands[The squads|The teams|The crews] of call подпрограмм: call n ------- call_v n --------- Logic-resource with number n (or by number, assigned[specified] Var (n)) is executed how[as|like] подпрограмма. If logic with compliant[adequate|applicable|appropriate|consistent| corresponding|equal] number is absent[theres is none] in memory интерпретатора, she[it] temporally загружается and after the call ending[completion] is undoed (on[onto|upon] this[these|those] is spent additional[complementary|extra| spare] the time[time]). Neither[No] alternations[variations| alterings|changings] in the content of accounts[of account books|of registers] and banners[flags] command[squad|team|crew] call does not cause. return ------ This command[squad|team|crew] returns[refunds] bureau [management practice|control] интерпретатору, if is fulfiled [is discharged] in[into|to|on] Logic 0, or on command[squad| team|crew], next[next one|the following] for command[squad| team|crew] call which this logic was caused. jump < LABEL > ------------- This command[squad|team|crew] secures the bureau[the management practice|the control] handing over[assignment| disposal|transference|transmission|transfer] on command[squad| team|crew] begun by the combination of siglas[of symbols] < LABEL > within this logic, i.e. this command[squad|team|crew] of uncoditional[of unconditional] change-over. set_scan_start -------------- reset_scan_start ---------------- In normal condition entrance[entry] in[into|on] logic as to [along] command[squad|team|crew] call stems with the first command[squad|team|crew]. Command[Squad|Team|Crew] set_scan_start establishes[institutes] the point of entrance [of entry] beginning with next[next one|the following] for it commands[squads|teams|crews], and[but] reset_scan_start returns[refunds] the entrance[the entry] point on commencement. I. 2.6.4 COMMANDS[SQUADS|TEAMS|CREWS] OF BUREAU[OF MANAGEMENT PRACTICE|OF CONTROL] BY ENTITIES[BY OBJECTS] ==================================== Интерпретатор[Interpretator] manages[administers|bosses| controls] the move[the floating|the moving] of entities[of objects] as to[along] screen with the automatic check[check-out|check-up| examination|testing|control|checking] of the observance of next[of next one|of the following] stipulations[conditions|provisions| circumstances|environment|premises|terms]: 1. If the priority of entity[of object] equal 15 that it[he] cannot[may not] cross uncoditional[unconditional] barrier (the points of back-ground[of background], prioritized 0). 2. If the priority of entity[of object] equal 15, and for him is not fulfiled[carried out|executed] command[squad|team| crew] ignore_blocks that it[he] cannot[may not] cross the arbitrary[the conditional] barrier (of point with priority 1) and to fall outside the limits bloc[block], assigned [specified] by command[by squad|by team|by crew] block. 3. If for entity[object] is not fulfiled[carried out|executed] command[squad|team|crew] ignore_horizon that it[he] cannot [may not] be rendered upward of[upwards of] the line of horison[of horizon], standing[determined|specified] as to [along] command[squad|team|crew] set_horizon. 4. For entity[object] be due to be observed of stipulation[of condition|of provision], assigned[specified] by commands[by squads|by teams|by crews] object_on_water and object_on_land (see below). Powered entity[object] number 0 is entitled EGO and varies from the rest[the rest of] themes[topics], what[that] user can[may] manage[administer|boss|control] it[its|his] relocations[transfers] with keyboards. I. 2.6.4.1 COMMAND[SQUAD|TEAM|CREW] OF THE DESCRIPTION[OF THE DELINEATION|OF THE DEPICTION] OF ENTITIES[OF OBJECTS] =================================== animate_obj ----------- Entity[Object] with number n is include in the catalog[the catalogue] of powered интерпретатором entities[objects]. ENTITIES[OBJECTS], NOT INCLUDED IN SUCH CATALOG[CATALOGUE] ARE BELIEVED[ARE ACCOUNTED|ARE COUNTED] NOT EXISTING! unanimate_all ------------- All entities[objects] are expeled[are ruled out] from[out of] the catalog[the catalogue] of bureau[of management practice|of control] and are believed[are accounted|are counted] not existing. set_view n, m ------------- set_view_v n, m --------------- Entity[Object] n contacts View-resource number m (or assigned [specified] Var (m)) which will serve the entity[the object] representation. set_loop n, m ------------- set_loop_v n, m ---------------- The choice[The selection] of cycle[of cyclic process] m (Var ( m)) into View-resource connected with entity[object] n. fix_loop n ---------- The prohibition[The embargo] of the automatic choice[selection] of the number of cycle[of cyclic process] for entity[object] with number n. release_loop n --------------- Is certified the automatic choice[selection] of the number of cycle[of cyclic process] depending on the direction[the tenor] of move[of floating|of moving] for entity[object] n. 1 8 ^ 2 \│/\│/ 7 < ─────┼───── > 3 0 - entity[object]/│\ changeless /│\6 v 4 5 Automatic choiceseses[selectionseses] of the number of cycle[of cyclic process] is actualized[is carried out|is discharged|is exercised] as to[along] table[table of]: - for entities[objects] having less 4, but more[any more|any longer|anymore] of 1-го cycle[cyclic process]: ┌──────────┬────────┬───┬───┬───┬───┬─── │Напр. движ. │стоит ( 0) │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 ║ ├──────────┼────────┼───┼───┼───┼───┼─── │ Cycleseseseseseses [Cyclic processeseseseseseses] │ │ │ 0 │ 0 │ 0 │ │ 1 │ 1 │ 1 ║ ╘══════════╧════════╧═══╧═══╧═══╧═══╧═══ * - means[betokens|signifies|meanses] the conservation of the current number of cycle[of cyclic process]. - for entities[objects] having[being found to have] 4 and more [any more|any longer|anymore] cycles[cyclic processes]: ┌──────────┬────────┬───┬───┬───┬───┬─── │Напр. движ. │стоит ( 0) │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 ║ ├──────────┼────────┼───┼───┼───┼───┼─── │ Cycleseseseseseses [Cyclic processeseseseseseses] │ │ 3 │ 0 │ 0 │ 0 │ 2 │ 1 │ 1 │ 1 ║ ╘══════════╧════════╧═══╧═══╧═══╧═══╧═══ set_cel n, m ------------ set_cel_v n, m -------------- The choice[The selection] of cadre m (Var (m)) in the current cycle[cyclic process] of entity[of object] n. last_cel n, m -------------- The number of the latest[of the latter] cadre of the current cycle[cyclic process] of entity[of object] n заносится in[into| to|on] Var (m). current_cel n, m ---------------- The number of the current cadre of entity[of object] n заносится in[into|to|on] Var (m). current_loop n, m ----------------- The number of the current cycle[cyclic process] of entity[of object] n заносится in[into|to|on] Var (m). current_view n, m ------------------ The number of current View-resource connected with entity [object] n, заносится in[into|to|on] Var (m). set_priority n, m ----------------- set_priority_v n, m -------------------- To establish[To institute|To set up] the priority of the representation of entity[of object] n equal m (Var (m)). release_priority n ------------------- To authorize the automatic choice[selection] of priority for entity[object] n. Priority is established[is instituted] depending on vertical коодинаты y entity[object]. < y < priority ----------------------------- 0 48 4 48 60 5 60 72 6 72 84 7 84 96 8 96 108 9 108 120 10 120 132 11 132 144 12 144 156 13 156 168 14 Thus[In this way|So|In such a way], the move[the floating|the moving] of entity[of object] down means[betokens|signifies| meanses] and approach[approximation|runup] it[its|his] to watcher. get_priority n, m ----------------- The consequence[The value] of the current priority of entity [of object] n заносится in[into|to|on] Var (m). position n, x, y --------------- position_v n, x, y ----------------- The consequences[The values] of the coordinates of entity[of object] n which not yet[have not yet] is portrayed[is depicted] on screen, are established[are instituted] equal x and y (Var (x) and Var (y)). draw n ------- Entity[Object] n is featured on screen. For representation are used[are utilized] the consequences[the values] of cycle[of cyclic process], of cadre into view-resource connected with entity[object] n (see set_view [_v]), as well as[and also|as well] priority and coordinates, to standing[to determined|to specified] entity[object]. If in doing so juts[protrudes] command[squad|team|crew] start_cycling that is secured endless [infinite] (for example[for instance], ante stop_cycling) of "прокручивание" cartoon[animated cartoon] for entity[object] n. erase n ------- Entity[Object] n is erased with screen. get_posn n, x, y --------------- The consequences[The values] of the coordinates of entity[of object] n заносятся in[into|to|on] Var (x) and Var (y). Under [Sub] the coordinates of entity[of object] are understood the coordinates of the base[of the basic] point (of the left-hand the lower corner[angle]) of manpower, employes[employees| executives|office workers|white collars|white-collar workers| salaried employees|salary earners|salary workers|salaried personnel] by the representation of entity[of object] n. Интерпретатор[Interpretator] secures automatic "прокручивание" of the cartoon[of the animated cartoon] (of cycle[of cyclic process] into view-resource) connected with entity[object], since[as from] standing[determined|specified] cadre. Next[Next one|The following] commands[squads|teams|crews] secure bureau[management practice|control] by this cause [process|suit]. start_cycling n ---------------- Is certified the automatic shift[change] of manpower in[into| to|on] standing[determined|specified] (as to[along] set_loop [ _v]) the cycle[the cyclic process] of view-resource connected with entity[object] n (as to[along] set_view [_v]). stop_cycling n --------------- Is tabooed the automatic shift[change] of manpower in[into|to| on] standing[determined|specified] (as to[along] set_loop [_v]) the cycle[the cyclic process] of view-resource connected with entity[object] n (as to[along] set_view [_v]). normal_cycle n --------------- The manpower of cartoon[of animated cartoon] connected with entity[object] n, follow in customary[usual|common] order: 0, 1, 2,.., k-1, 0, 1, 2.. reverse_cycle n ---------------- The manpower of cartoon[of animated cartoon] connected with entity[object] n, follow in reverse order: k-1, k-2,..., 1, 0, k-1, k-2,.. 1, 0,.. end_of_loop n, m ----------------- The one-fold execution of cartoon[of animated cartoon] connected with entity[object] n from current cadre ante the latest[the latter]. At the achievement of the latest[of the latter] cadre Flag (m) is established[is instituted] in[into| to|on] 1. reverse_loop n, m ------------------ The one-fold execution of cartoon[of animated cartoon] connected with entity[object] n from current cadre ante the first. At the achievement of the first cadre Flag (m) is established[is instituted] in[into|to|on] 1. cycle_time n, m ---------------- Var (m) assigns[sets|indicates] for entity[object] n the time [time] in cycles[cyclic processes] interpretation between the shift[the change] of manpower. At Var (m)=1 shift[change] of manpower stems with each[every] cycle[cyclic process]. I. 2.6.4.2 COMMANDS[SQUADS|TEAMS|CREWS] OF BUREAU[OF MANAGEMENT PRACTICE|OF CONTROL] BY THE MOVE[BY THE FLOATING|BY THE MOVING] OF ENTITIES[OF OBJECTS] =============================================== To entity[object] included in the catalog[the catalogue] of entities[of objects], powered интерпретатором as to[along] command [squad|team|crew] animate_obj n, the applicable next[next one|the following] commands[squads|teams|crews] of bureau[of management practice|of control] it[its|his] by move[by floating|by moving]: set_horizon n --------------- Is established[Is instituted] the line of horison[of horizon] (arbitrary[conditional] horisontal[horizontal|aclinic] line) with координатой y=n. ignore_horizon n ------------------ Entity[Object] n migrates outside reliance on condition[plight| setup|standing] the line of horison[of horizon]. observe_horizon n ------------------ Entity[Object] n cannot[may not] be rendered upward of[upwards of] the horison[the horizon] line. block x1, y1, x2, y2 ------------------- To establish[To institute|To set up] oblong area[domain|field] (bloc[block]). (x1, y1) ┌─────────┐ │ │ │ │ └─────────┘ (x2, y2) unblock -------- To revoke[To annul|To cancel|To vacate] bloc[block] previously [before|formerly|in the past] standing [determined|specified] by command[by squad| by team|by crew] block. ignore_blocks n --------------- Entity[Object] n migrates outside reliance on the arbitrary [the conditional] barriers (of the points of back-ground[of background] with priority 1) of and bloc[block], standing [determined|specified] by command[by squad|by team|by crew] block. observe_blocks n ---------------- Entity[Object] n cannot[may not] cross arbitrary[conditional] barriers and to abandon[to discharge] the boundaries[the ceilings|the exemption limits|the margins] of bloc[of block]. ignore_objs n -------------- Entity[Object] n движется outside reliance on the condition [the plight|the setup|the standing] of other entities[objects]. observe_objs n ---------------- Entity[Object] n reacts on other entities[objects], how[as| like] on irresistible[unsurmountable] deterrents[drawbacks]. player_control -------------- Is certified bureau[management practice|control] EGO (by entity[by object] with number 0), спользуя keyboard or джойстик. program_control --------------- Bureau[Management practice|Control] by entity[by object] 0 ( EGO) on the part of playing is blocked[is blockaded]. stop_motion n --------------- The relocations[The transfers] of entity[of object] n are tabooed. If n=0 (EGO) that automatically is executed program_control. start_motion n --------------- Are certified the relocations[the transfers] of entity[of object] n. If n=0 (EGO) that automatically is executed player_control. step_size n, m --------------- Variable Var (m) defines the numeral[the number] of elements отображения, on[onto|upon] which migrates entity[object] n for one move[step]. step_time n, m -------------- Var (m) defines the velocity of the move[of the floating|of the moving] of entity[of object] n - deferring[detention| blocking|delay|hitch|stoppage|tie-up|standstill] in cycles [cyclic processes] interpretation between neighboring [neighbouring|adjoining] moves[steps]. If Var (m)=1 that move [step] stems per cycle[cyclic process]. move_obj n, x, y, s, m -------------------- move_obj_v n, x, y, s, m ---------------------- To entity[To object] n is prescribed[is enacted] move[floating| moving] in[into|on] point x, y (Var (x), Var (y)) with the measure[the size] of move[of step] s (Var (s)). As to[Along] the achievement of end-use[of eventual|of finite] point Flag ( m) is established[is instituted] in[into|to|on] 1. If n=0 ( EGO) that automatically program_control. follow_ego n, s, m ----------------- To entity[To object] n is prescribed[is enacted] to haunt[to persecute|to pursue] entity[object] number 0 (EGO) with move [step] s. At the concurrence of coordinates EGO and entity [object] n Flag (m) is established[is instituted] in[into|to| on] 1. wander n -------- Entity[Object] n accidentally changes[alters] the directions [the tenors] of its move[floating|moving] (блуждает). If n=0 ( EGO) that automatically program_control. normal_motion n ---------------- With entity[object] n is taken off[is dismantled] prescribed to him move[floating|moving]. Entity[Object] continues to move in that direction[tenor], in[into|to|on] what[which] it[he] moved ante the disclosure[the yielding] of this command[squad| team|crew]. set_dir n, m ------------ Variable Var (m) assigns[sets|indicates] entity[object] n the direction[the tenor] of move[of floating|of moving]. 1 ^ │ │ 7 < ───────┼─────── > 3 0 - стоп │ │ v 5 get_dir n, m ------------ The direction[The tenor] of the move[of the floating|of the moving] of entity[of object] n заносится in[into|to|on] Var (m). object_on_water n ------------------- Entity[Object] n can[may] reside only[barely] in that places [spots], where it[its|his] benchmark[base|basis] completely[in full|totally] resides on the points of back-ground[of background] with priority 3 (the level of water). object_on_land n ------------------ Entity[Object] n cannot[may not] touch[concern|be concerned with] the points of back-ground[of background] with level waters (by priority 3). object_on_anything n --------------------- With entity[object] n are taken off[are dismantled] clampdowns [constraints|crackdowns|curtailments|cutoffs|restraints| restrictions|curbs], standing[determined|specified] by commands[by squads|by teams|by crews] object_on_water or object_on_land. reposition n, dx, dy --------------------- Displacement[Mobility|Redeployment|Relocation|Transfer| Shifting] (the jump[the leap|the caper]) of entity[of object] n from[out of] it[its|his] current condition[plight|setup| standing] with coordinates x, y in[into|on] point with coordinates x+Var (dx), y+Var (dy). reposition_to n, x, y --------------------- reposition_to_v n, x, y ----------------------- To analogous prev command[squad|team|crew], but displacement [mobility|redeployment|relocation|transfer|shifting] stems in [into|on] point x, y (Var (x), Var (y)). stop_update n -------------- Entity[Object] n is expeled[is ruled out] from[out of] the catalog[the catalogue] of entities[of objects] which интерпретатор перерисовывает on screen per move[step] interpretation. Entity[Object] will remain[will stay] portrayed[depicted] on screen in changeless[immutable|standing| unchangeable|unchanged|unvaried|constant] class[type|sort]. start_update n --------------- Entity[Object] n перерисовывается per move[step] interpretation. force_update n --------------- Entity[Object] n in short order перерисовывается on screen, not дожидаясь the completions of cycle[of cyclic process] interpretation. distance n, m, d --------------- If entities[objects] n and m are present on screen that consequence[value] Var (d)=ABS (x (n) - x (m))+ABS (y (n) - y (m)), otherwise[else] Var (d)=255. I. 2.6.4.3 COMMANDS[SQUADS|TEAMS|CREWS] OF JOB WITH PIECES[SUBJECTS] ===================================== For the rendering[the submission] of pieces[of subjects] in system serves Object-resource which is stored in stand-alone file OBJECT. BY PIECE[BY SUBJECT] is entitled composition[pattern|structure] consisting of однобайтовой cells by called room (room), of and text [textual] line serving the piece[the subject] title[name|denomination]. If consequence[value] cells room for given piece[subject] equally 255 that is believed[is accounted|is counted] that[what] piece [subject] belongs[belongs to] playing. Failing this[In default|To the contrary] is believed[is accounted|is counted] that[what] piece [subject] "resides in room" with number room. We shall view the commands[the squads|the teams|the crews] of job with pieces[subjects]. get n ------ get_v n -------- In[Into|To|On] ячейку room piece[subject] n (Var (n)) заносится consequence[value] 255, what[that] means[betokens| signifies|meanses] it[its|his] appurtenant[belonging] playing. drop n ------- In[Into|To|On] ячейку room entity[object] n заносится 0. put n, m --------- put_v n, m ----------- In[Into|To|On] ячейку room entity[object] n (Var (n)) заносится value of the variable Var (m). get_room_v n, m ---------------- Consequence[Value] the cells of room entity[object] Var (n) заносится in[into|to|on] Var (m). status ------ Screen is remited in[into|on] text[textual] regime[regimen| schedule], and in overhead[top|upper] line emerges[appears| arises|comes out] traffic "You are carrying:", onward[further| forthwith|further on] in consistent[sequent|sequential] lines emerge[appear|arise|come out] the titles[the names|the denominations] of pieces[of subjects], for which consequence [value] the cells of room entity[object] equally 255. If of such pieces[subjects] no that is carried out[is put out|is outputed] word "nothing". If Flag (13)=1 (certifies command[squad|team|crew] status choice[selection] пердметов) that emerges[appears|arises|comes out] distinguished[highlighted|exuded] by color[by colour] line allowing[letting|permitting] playing to select the piece [the subject] title[name|denomination]. After нажатия key Enter, the number of selected piece[subject] заносится in[into| to|on] Var (25). At нажатии Esc in[into|to|on] Var (25) заносится 255. I. 2.6.5 COMMANDS[SQUADS|TEAMS|CREWS] OF JOB WITH PICTURE-resources ========================================== To Picture-resources (объемные scenery) which are prepared by means of[with the help of] the editor of static representations Picture Manager (pm) and загруженным in[into|on] memory интерпретатора as to[along] command[squad|team|crew] load_pic applicable next[next one|the following] commands[squads|teams|crews]: draw_pic n ----------- Picture-resource number i, where i - consequence[value] Var ( n), is executed. In consequence into endogenous[home] buffer[bolster] интерпретатора is authored the back-ground[the background] diagram[graphic presentation]. Prior to the commencement of execution buffer[bolster] is refined, to i.e. all it[its|his] points is appropriated[is arrogated|is embezzled] the consequence[the value] of color[of colour] 15 and priorities 4. overlay_pic n --------------- Command[Squad|Team|Crew] in[into|on] accuracy[correctness] analogous prev, except for[exclusive of|to the exclusion of| with the exception of] that, what[that] endogenous[home] buffer[bolster] is not is refined. Picture (i), where i=Var ( n), of рисуется поверх already[as early as] нарисованного back-ground[background]. add_to_pic a, b, c, d, e, f, g ------------------------- add_to_pic_v a, b, c, d, e, f, g --------------------------- To the back-ground[the background] representation accrues the representation of View-resource in the capacity of[in capacity] it[its|his] constituent part[component]. As a rule, these petty components of challenging[of complex|of complicated] form[shape] which demand the big amount of commands[of squads| of teams|of crews] Pictureресурса). Here: a (Var (a)) - number View - of resource; b (Var (b)) - the number of cycle[of cyclic process]; with (Var (c)) - the number of cadre; d (Var (d)) - координата x; e (Var ( e)) - координата y; f (Var (f)) - priority; g (Var (g)) - boundary[frontier]. If boundary[frontier] equal 0, 1, 2 or 3 that basis[foundation] of featured cadre is concluded[is transacted] in[into|on] the rectangle[the square] of compliant[of adequate|of applicable| of appropriate|of consistent|of corresponding|of equal] priority. If consequence[value] boundary[frontier] > 4 that this additional[complementary|extra|spare] boundary[frontier] is not is featured. show_pic -------- The content of the endogenous[of the home] buffer[bolster] of back-ground[of background] is carried out[is put out|is outputed] on screen. ATTENTION[HEED]! ~~~~~~~~~~ At the clearing ratio[the load ratio] of picture-resources in[into| on] memory интерпретатора imperatively is recommended to adhere to the next[the next one|the following] chain[suceession] of commands[of squads|of teams|of crews]: load_pic n draw_pic n discard_pic n............. show_pic Another chain[suceession] professional traders with big degree [rate] likelihood[probability|proximity] will lead to[will result in] сбою in job интерпретатора without disclosure[yielding] warning communications. I. 2.6.6 COMMANDS[SQUADS|TEAMS|CREWS] OF JOB WITH SOUND-resources ======================================== sound n, m ------------ Begins the execution of Sound-resource number n (melodies [tunes], of sound). As to[Along] ending[completion] melody[tune] Flag (m) is established[is instituted] in[into|to|on] 1. stop_sound ---------- melody[tune] execution Is terminated. I. 2.6.7 COMMANDS[SQUADS|TEAMS|CREWS] OF JOB WITH TEXT[DISCOURSE] ================================ prevent_input ------------- Command[Squad|Team|Crew] tabooes playing the input[the putting] of siglas[of symbols] with keyboards. accept_input ------------ Playing is certified the input[the putting] of siglas[of symbols] with keyboards. print n -------- print_v n ---------- In center[centre] экрвана is opened[is opened up] text[textual] window[casement], in[into|to|on] which is carried out[is put out|is outputed] traffic number n (Var (n)) from[out of] the field of messages current logic. The regime[The regimen|The schedule] of the conclusion[of the consequence|of the implication] of window[of casement] is defined Flag (15) (see the description[the delineation|the depiction] of banners[of flags]). Traffic submits[presents] собой text[textual] line finalized [completed] by null byte. Aside from letters, of figures and signs, in line can[may] be: - The sigla[The symbol] of the conversion of line ( шестнадцатиричный code 0Ah); - the Format element: %% - sigla[symbol]%; %v десятичн. number - on this place[spot] in выходном communication will подставлено decimal consequence[value] Var with indicated[pointed|denoted|pointed out] number. %m number - on this place[spot] подставляется the text[the discourse] of another communication with indicated[pointed|denoted|pointed out] number. %0 number - on this place[spot] подставляется the name[the first name] of piece[of subject] with indicated[pointed|denoted|pointed out] number. %w number - on this place[spot] подставляется word from[out of] входного communication user with indicated[pointed|denoted|pointed out] number. %s number - on this place[spot] подставляется consequence [value] строковой variable with indicated[pointed|denoted|pointed out] number. %g number - traffic with number from[out of] the area[the domain|the field] of messages logic 0. For format v after vertical feature[line] may be[possible|you may|it may be] indicate[point|denote|point out] the numeral [the number] of positions which be due to engage выводимое numeral[number]. In this case, pioneering zeroes in the numeral[the number] rendering[submission] are not are snuffed out. Example[Instance]: %v34|2 At the buildup[the formation] of communications is necessary [is it is necessary] to discount that[what] интерпреттор allocates[places|stations] the communication text[discourse] in window[casement] by entire[by whole] words doing[making] at requisite the carry-forward[the carry-over|the slippage|the transfer] of the unit of word on next[next one|the following] line. Attention[Heed]! At the kit[the bundle|the family] of the communications of instead[of instead of] big russian letter And[But] ~~~~~~~~~~ requisitely to dial big Latin letter A, otherwise[else] at conclusion[consequence|implication] on screen she [it] will be lost! display R < ow >, C < olumn >, N < umber > ----------------------------------- display_v R < ow >, C < olumn >, N < umber > ----------------------------------- Is carried out[Is put out|Is outputed] traffic with number N ( Var (N)) in[into|on] line R (Var (R)), since[as from] column C (Var (C)). Window[Casement] in doing so is not authored, and programmer be due to self продумать, how[as|like] to delete[to remove|to ablate] carried out[put out|outputed] text[discourse]. print_at n, x, y, l ----------------- print_at_v n, x, y, l ------------------- Command[Squad|Team|Crew] analogous print, however[yet], here programmer has[is found to have] capability[chance|possibility] to select the window[the casement] situation[location]. X, y, l - constants assigning[setting|indicating] the coordinates of the overhead[of the top|of the upper] left-hand corner[angle] of window[of casement] and it[its|his] breadth[width] in[into| to|on] знакоместах text[textual] screen (40 х 25). version ------- Command[Squad|Team|Crew] will produce[will generate|will issue| will give] in the center[the centre] of screen data on version интерпретатора. text_screen ----------- Screen is toggled in[into|on] alphabeticly-digital regime [regimen|schedule] 40 x 25. graphics -------- Screen returns in[into|on] graphical regime[regimen|schedule]. All[Whole|Entire|Everything] portrayed[depicted] on screen recovers. set_cursor_char n ------------------ The first byte of communication n is chosen for the cursor rendering[submission] in graphical regime[regimen|schedule]. set_text_attribute F < oreground >, B < ackground > --------------------------------------------- Is chosen the color[the colour] of letters F and background B for commands[squads|teams|crews] display, get_num, get_string. clear_lines n, m, C < olor > ------------------------ Are refined text[textual] lines with n-ой ante m-ой with deployment[use] colors[colours] C. clear_text_rect x1, y1, x2, y2, C < olor > ------------------------------------ Is refined oblong text[textual] area[domain|field] with coordinates left-hand overhead[top|upper] (х1, у1) and right the lower (х2, у2) of angles[of corners] by color[by colour] C. status_line_on --------------- Is certified the indication of the line of condition keeping [kepting] checking account[continuing account|demand deposit| demand funds|running account|sight deposit|sight funds|current account|open account|transaction account|account current] ( Score:) and the condition of the reproduction of sound Sound: < on/off > (is included[is switched|is involved|is incorporated]/is shut off[is turned off|is turned out|is switched off]). status_line_off --------------- the Condition line is deleted[is removed|is ablated]. I. 2.6.8 COMMANDS[SQUADS|TEAMS|CREWS] OF JOB WITH LINES ================================== set_string n, m ---------------- In[Into|On] строковую variable string (n) is remited traffic with number m. word_to_string n, m -------------------- Cлово the number of м communication user is remited in[into|to| on] строковую varying[variable] string (n). get_string n, m, x, y, l --------------------- Line introduced with keyboard, is remited in[into|to|on] строковую varying[variable] string (n). In doing so: m - the number of communication which serves invitation[call]; x, y, l - assign[set|indicate] the position of input[of putting] and the maximal[the maximum] length of line. parse n -------- Is actualized[Is carried out|Is discharged|Is exercised] parsing string (n) so[thus], as though this line was introduced playing. get_num n, m ------------ Input[Putting] with the keyboards of numeral[of number] in [into|to|on] Var (m). Traffic n serves invitation[call]. I. 2.6.9 COMMANDS[SQUADS|TEAMS|CREWS] ИНИЦИАЛИЗАЦИИ ============================= set_key s, c ------------- To establish[To institute|To set up] key causing particular [special] reaction[rebound] интерпретатора: c - code (decimal numeral[number] from 0 ante 255 as to[along] choice[selection] user); s - if key customary[usual|common], of or vapor[vapour|couple] Ctrl+клавиша that compliant[adequate|applicable| appropriate|consistent|corresponding|equal] ASCII code ( for example[for instance], 0009h - key TAB); - if key functional, of or vapor[vapour|couple] Alt+клавиша that compliant[adequate|applicable|appropriate|consistent| corresponding|equal] Scan - code (in elder[eldest|older| oldest|senior|superior] byte s). For example[For instance], scanкод for F1 this[these|those] 3b00h, for Alt+Z - 2c00h etc. set_game_id n --------------- Traffic n считывается интерпретатором and is compared with it [its|his] endogenous[home] идентификатором. If is discovered [is revealed|is found out] несовпадение that job is completed. For интерпретатора AGDS of block[of package] - this[these| those] 'TQ'. script_size n --------------- Is defined measure[size] n script-tables in bytes. In[Into|On] script-table[-table of] are entered the codes of certain commands[squads|teams|crews] интерпретатора. She[It] requisite for that, in order интерпретатор could correctly place resources in memory as to[along] command[squad|team|crew] restore_game. trace_info n, m, l ----------------- To establish[To institute|To set up] parameters endogenous [home] отладчика: n - the number of logic keeping[kepting] the table[the table of] of the titles[of the names|of the denominations] of commands[of squads|of teams|of crews]. m, l - the first line and the height of window[of casement] отладчика. trace_on --------- The command[The squad|The team|The crew] of inclusion отладчика. At all[In general|Generally], отладчик at загруженной the table[the table of] of the titles[of the names|of the denominations] of commands[of squads|of teams| of crews] is included[is switched|is added in|is involved|is incorporated] of нажатием key Scroll Lock even if this command [squad|team|crew] is not present in blueprint[program| programme]. log n ------- This command[squad|team|crew] отладочная. She[It] lets[allows| permits] charge in[into|on] single-purpose file "journal" ["magazine"] line: Room < current room > Input line < the current line of input [of putting] > onward[further|forthwith|further on] follows traffic with number n. I. 2.6.10 COMMANDS[SQUADS|TEAMS|CREWS] OF BUREAU [OF MANAGEMENT PRACTICE|OF CONTROL] CARTE ================================ Developping its blueprint[program|programme], You can[may] provide for situations, when playing is offered to do[to make] choice [selection] from[out of] several variants using system carte. This [These|Those] can[may] be short questions[queries|affairs] (heading [title|caption] menu[bill of fare|carte]), умещающиеся in[into|on] one line, with several possible answers (elements menu[bill of fare|carte]) or offering[bid|offer|tender] to change[to alter] the certain parameters of blueprint[of program|of programme], for example[for instance], the velocity of the displacement[of the mobility|of the redeployment|of the relocation|of the transfer|of the shifting] of entities[of objects]. We shall view these commands[squads|teams|crews]. set_menu n ------------ Traffic n becomes by heading[by title|by caption] next[next one|the following] for it[them] elements carte. set_menu_item n, c ------------------- Traffic n becomes by element carte, where c - code (numeral [number] from 0 ante 255) of element carte as to[along] user's choice[selection]. submit_menu ------------ Completes buildup[formation] carte. enable_item c --------------- disable_item c ---------------- Is certified or is tabooed the job of elements carte with cadre with. ┌──────── heading[title|caption] v ┌───┴─────────────────────────╖ │ Fill ║ ╞════════════╦════════════════╝ element ─── > ┤ Save ║ menus ├────────────╢ │ Restore ║ ├────────────╢ │XXXXXXXXXXXX╟ < ────элемент menus, for which ├────────────╢ fulfiled[carried out|executed] command[squad|team| crew] │ Quit ║ disable_item ╘════════════╝ menu_input ---------- If Flag (14)=1 that on screen emerges[appears|arises|comes out] the system of windows[of casements] menu[bill of fare|carte], in[into|to|on] which user can[may] do[make] its choice [selection]. The choice[The selection] of element carte with code < c > maybe is verified[is checked|is controled] programly at the aid[the assistance] of the command[of the squad|of the team|of the crew] of-dough[of-test] controller c, where with - code appropriated[arrogated|embezzled] by user to element carte. I. 2.6.11 ЛОГИЧЕСКИЕ COMMAND[SQUAD|TEAM|CREW] =========================== Apparently, what[that] for the building of blueprint[of program|of programme] are necessary commands[squads|teams|crews] fluctuating the run-up[the course] of its fulfilment[execution| carrying out|discharge] depending on what[which]-or[-whether] stipulations[conditions|provisions|circumstances|environment|premises| terms]. For the check[the check-out|the check-up|the examination|the testing|the control|the checking] of fulfilment[of execution|of carrying out|of discharge] that or other stipulations[conditions| provisions|circumstances|environment|premises|terms] as to[along] run-up[course] blueprints[programs|programmes] serve commands[squads| teams|crews]-tests. I. 2.6.11.1 COMMAND[SQUAD|TEAM|CREW] TESTS ======================== The result of выполнеия the commands[the squads|the teams|the crews] of-tests can[may] assume[accept] only[barely] 2 consequences [values] TRUE (truth) or FALSE (falsehood[lie|bouncer]). equaln n, m ------------ Truth, if Var (n)=m. equalv n, m ----------- Truth, if Var (n)=Var (m). lessn n, m ----------- Truth, if Var (n) < m. lessv n, m ----------- Truth, if Var (n) < Var (m). greatern n, m -------------- Truth, if Var (n) > m. greaterv n, m -------------- Truth, if Var (n) > Var (m). isset n -------- Truth, if Flag (n)=1 (is established[is instituted|is set up]). isset_v n ---------- Truth, if Flag (i)=1 (is established[is instituted|is set up]), where i - consequence[value] Var (n). has n ----- Truth, if consequence[value] cells room of piece[of subject] n equally 255, i.e. piece[subject] belongs[belongs to] playing. obj_in_room n, m ---------------- Truth, if consequence[value] the cells of room entity[object] n equally Var (m). posn n, x1, y1, x2, y2 ------------------- Truth, if coordinates (x, y) of the base[of the basic] point of cadre, black-coated worker[employe|employee|executive| office worker|white collar|white-collar worker|salaried employee|salary earner|salary worker|salaried man] by at the moment[by at a given instant] the representation of entity[of object] n, content inequalities x1 <=x <=x2, y1 <=y <=y2. obj_in_box n, x1, y1, x2, y2 ------------------------- Truth, if the benchmark[the base|the basis] of entity[of object] n wholly resides within rectangle[square], assigned [specified] by coordinates left-hand overhead[top|upper] (x1, y1) and right the lower (x2, y2) of angles[of corners]. (x1, y1) ┌──────────┐ │ │ │ │ └──────────┘ ( x2, y2) center_position n, x1, y1, x2, y2 ------------------------------- Truth, if the center[the centre] of the benchmark[of the base| of the basis] of entity[of object] n resides within rectangle [square], assigned[specified] by coordinates left-hand overhead[top|upper] (x1, y1) and right the lower (x2, y2) of angles[of corners]. right_position n, x1, y1, x2, y2 ------------------------------ Truth, if the right boundary[verge] of the benchmark[of the base|of the basis] of entity[of object] n resides within rectangle[square], assigned[specified] by coordinates left-hand overhead[top|upper] (x1, y1) and right the lower ( x2, y2) of angles[of corners]. have_key -------- Truth, if user pressed on keyboard any[either|any of] key. Is used[Is utilized] for the building of the cycles[of the cyclic processes] of expectation[of anticipation] ante нажатия by the user of any[of either|of any of] key. compare_strings s1, s2 ----------------------- Truth, if string (s1)=string (s2). said n, W (i), where i=1, n ------------- Truth, if user introduced phrase[sentence] which completely[in full|totally] сопоставилась with W (1),... W (n), where n - amount W (i) being the codes of the words of communication. We shall describe[We shall delineate|We shall depict] in more detail cause[process|suit] of comparison. After that, how[as| like] user dialed on keyboard traffic and pressed key ENTER ( RETURN), the line of communication begins be processed интерпретатором. 1. - Интерпретатор[Interpretator] deletes[removes|ablates] from[out of] line all signs препинания. 2. - All letters are reformed[are transformed] in[into|to|on] строчные (small[little]). 3. - All chains[suceessions] from[out of] more than of one blank[blank space] are superseded on one blank[blank space]. 4. - Since[As from] the first word of communication интерпретатор begins search in vocabulary endeavouring [endeavorring|trying|attempting] to find in him the most [most] long chain[suceession] of siglas[of symbols], concurrent with introduced. If search in vocabulary unsuccessful that Var (9) is appropriated[is arrogated|is embezzled] the word number in communication, for which is not found code, and job завер шается. If to all words communications сопоставлены codes that: - Интерпретатор[Interpretator] deletes[removes|ablates] from [out of] the chain[the suceession] of codes everything null (т about. all words in vocabulary having code 0, are ignored интерпретатором). - Flag (2) (from user behaved the line of input[of putting]) is established[is instituted] in[into|to|on] 1; - Flag (4) (command[squad|team|crew] said perceived input [putting] from user) is established[is instituted] in[into|to|on] 0. Let chain[suceession] of codes generated[originated|procreated] интерпретатором: V (1), V (2),... V (m). Briefing aids[Pamphlet]-test said is fulfiled[is discharged] in the following way[as follows]: --------------------------------------------------- If Flag (2)=0 or Flag (4)=1 that вернуть consequence[value] "falsehood"["lie"|"bouncer"]. Begins попарное the comparison of parameters W (i) of and codes V (i) with next[next one|the following] special features: - if W (i)=1 that it is believed[is accounted|is counted] equal any [either|any of] V (i) (is collated with any[either|any of] word); - if W (i)=9999 that it is believed[is accounted|is counted] to equal all[whole|entire] residue lines, to i.e. codes (V (i), V (i+1),... V (m). Failing this[In default|To the contrary] W (i) be due to consist with V (i). If concurrence is be found for all positions that Flag (4) ( command[squad|team|crew] said perceived input[putting] from user) is established[is instituted] in[into|to|on] 1 and returns consequence[value] "truth", otherwise[else] consequence[value] "falsehood"["lie"|"bouncer"]. controller n -------------- Truth, if occured[arose] act with code n: - is pressed key with code n, standing[determined|specified] by command[by squad|by team|by crew] set_key; - is done[is made] the choice[the selection] of element carte with code n as to[along] command[squad|team|crew] menu_input. I. 2.6.11.2 BLANKET[CORPORATE|COMMON|GENERAL|TOTAL] FORMATS OF ЛОГИЧЕСКОЙ COMMAND[SQUAD|TEAM|CREW] ========================================== Интерпретатор[Interpretator] block[package] secures the job capability[chance|possibility] with логическими expressions in the context of логической command[squad|team|crew]. The blanket[The corporate|The common|The general|The total] format of логической command[squad|team|crew] next[next one|the following]: if_; if логическое expression; result of truth? else_ LABEL; no: change-over on[onto|upon] LABEL; yes: to fulfil[to carry out|to execute] commands[squads|teams| crews], ................; concluded between; else_ and LABEL LABEL:..................;.................. Логическое[Logicheskoe] expression has[is found to have] sense only[just] in the context of логической command[squad|team|crew] and submits[presents] собой the chain[the suceession] of the commands[of the squads|of the teams|of the crews] of-tests and permissible transactions[component jobs|operations] over[above] them concluded between professional traders if_ and else_. It truely, if true all [whole|entire|everything] incoming in[into|on] it[him] elements. Are determined[Are defined|Are designated] next[next one| the following] логические transactions[component jobs| operations] over[above] commands[squads|teams|crews] by-tests which shall lead[shall give|shall mention|shall adduce|shall list|shall adduct] all right curtailments[cutbacks|debasements] of priority at fulfilment[execution|carrying out|discharge]: - логическое denial[abnegation|abnegating|disavowal] (command [squad|team|crew] not_, circulates[distributes] its act[action| deed] on command[squad|team|crew]-test, next[next one|the following] for it); - логическое multiplication (конъюнкция). It is fulfiled[is discharged] as to[along] умолчанию over[above] the chain[the suceession] of the commands[of the squads|of the teams|of the crews] of-tests, constituent логическое expression; - логическое addition (дизъюнкция). It is fabricated[is produced] over[above] the bracket[the bunch|the group|the team] of the commands[of the squads|of the teams|of the crews] of-tests by begun and finalized[completed] line consisting of command [squad|team|crew] or_. Thus[In this way|So|In such a way], command[squad|team|crew] or_ may be[possible|you may|it may be] call[denominate|name] дизъюнктивной bracket. If the consequence[the value] of логического expression truely that are fulfiled[are discharged] of command[of squad|of team|of crew], next[next one|the following] for логической briefing aids[pamphlet], if falsely that stems change-over on briefing aids[pamphlet] labeled LABEL:. We shall lead[We shall give|We shall mention|We shall adduce| We shall list|We shall adduct] several[some|a few|somewhat] the examples[the instances] of the deployment[of the use] of логических commands[squads|teams|crews] and the computations of логических expressions. Example[Instance] 1. ~~~~~~~~~ assignn 35, 10; v35=10 set 24; f24 - > 1 if_; if equaln 35, 10; v35=10 and (конъюнкция as to[along] умолчанию) isset 24; f24 is established[is instituted|is set up] in[into|to|on] 1? else_ A; no: change-over on label A; yes: sound 25, 52; to execute sound 25, at termination f52 - > 1 return; the bureau[the management practice|the control] call-back[restitution|reswitching|drawback] A: sound 30, 52; to execute sound 30, at termination f52 - > 1............ Here over[above] commands[squads|teams|crews] by-tests as to [along] умолчанию is fabricated[is produced] логическое multiplication, result of which matters[is concerned] TRUE. That is why[Therefore] will be executed sound number 25 and returned[refunded] bureau [management practice|control] интерпретатору (if we reside in[into|to| on] logic 0) or on command[squad|team|crew], next[next one|the following] for the command[the squad|the team|the crew] of call подпрограммы (call or call_v) in[into|to|on] causing blueprint[program| programme]. Example[Instance] 2. ~~~~~~~~~ assignn 35, 40; v35=10 set 24; f24 - > 1 if_; if equaln 35, 40; v35=10 and (конъюнкция as to[along] умолчанию) not_; not isset 24; is established[is instituted|is set up] (in[into|to|on] 1) f24? else_ A; no: change-over on label A; yes: sound 25, 52; to execute sound 25, at termination f52 - > 1 return; the bureau[the management practice|the control] call-back[restitution|reswitching|drawback] A: sound 30, 52; to execute sound 30, at termination f52 - > 1............ We shall analyze[We shall analyse] the execution of this fragment. Result of командытеста equaln 35, 40 exist TRUE, chain[suceession] not_ isset 24 (denial[abnegation|abnegating| disavowal] is fulfiled[is discharged] primarily) exist FALSE and, consequently[hence] of in consequence логического multiplication fulfiled[discharged] as to[along] умолчанию shall receive[shall gain| shall get|shall obtain|shall derive] FALSE, what[that] will lead to the execution of sound number 30. Example[Instance] 3. ~~~~~~~~~ assignn 25, 10; v35=10 set 24; f24 - > 1 reset 25; f25 - > 0 if_; if isset 24; f24 is established[is instituted|is set up] in[into|to|on] 1 and (конъюнкция as to[along] ; умолчанию) or_; openning[openning up] дизъюнктивная bracket greatern 25, 11; or v25 > 11 not_; or not isset 25; is established[is instituted|is set up] (in[into|to|on] 1) f25 or_; closing дизъюнктивная bracket; result of TRUE? else_ A; no: change-over on label A; yes: sound 25, 52; to execute sound 25, at termination f52 - > 1 return; the bureau[the management practice|the control] call-back[restitution|reswitching|drawback] A: sound 30, 52; to execute sound 30, at termination f52 - > 1............ The result of the fulfilment[the execution|the carrying out| the discharge] of this fragment of blueprint[of program|of programme] will the execution of sound number 25, because greatern 25, 11 - FALSE, not_ isset 25 TRUE, логическое the addition of these results - TRUE and fulfilment[execution|carrying out|discharge] (as to[along] умолчанию) of логического multiplication over[above] (isset 24 - TRUE) of and the result of логического addition - TRUE. If after прочтения given issue to You not yet[have not yet] everything clearly will accost to the starting texts[discourses] of tutorial[of instructional|of tutoring] blueprint[program|programme] "thunderstorms"["storm"] THAT ИНТЕП (с) and analyze[analyse] their independently[off bat]. I. 2.6.12 OTHERS COMMANDS[SQUADS|TEAMS|CREWS] ======================= configure_screen a, b, c ------------------------ To determine[To define|To designate] the situation[the location] of lines on screen: a=1 (this minimal[minimum] number of line for print); b - the lines of the input[of the putting] of communications user; with - the lines of condition (status line). obj_status_v n ---------------- For entity[object] Var (n) is carried out[is put out|is outputed] traffic: Obj < number > x: < координата > y: < координата > pri: < priority > stepsize: < the measure[the size] of move[of step] >. show_mem --------- Is carried out[Is put out|Is outputed] traffic about memory condition интерпретатора. show_pri_screen ---------------- the condition of the priorities of the points of screen Is carried out[Is put out|Is outputed]. Priority number n is coded[is codified] by color[by colour] n (see the commands[the squads|the teams|the crews] of the installation[of the plant] of color[of colour] in[into|to| on] I. 2.1.1). show_obj n ------------ In center[centre] underneath[below|beneath|alow|at the bottom] of screen is carried out[is put out|is outputed] the cadre of 0 ц икла 0 View-resourceses number n. In the screen center [centre] is printed[is typed] description[delineation| depiction] connected with Viewресурсом. shake_screen n ---------------- Screen "встряхивается" n times. echo_line ---------- In the dialog[the dialogue] line with user recovers the latest [the latter] introduced by him line. cancel_line ------------ the Dialog[the dialogue] line is refined. close_window ------------- If what[which]-or[-whether] text[textual] window[casement] resides on screen that it is deleted[is removed|is ablated]. open_dialogue ------------- close_dialogue --------------- Certifies and tabooes the job of commands[of squads|of teams| of crews] get_string and get_num, if is fulfiled[is carried out|is executed] command[squad|team|crew] prevent_input. restart_game ------------- Causes the fulfilment[the execution|the carrying out|the discharge] of blueprint[of program|of programme] from the very beginning[ab ovo]. save_game ---------- restore_game ------------- These commands[squads|teams|crews] secure the capability[the chance|the possibility] of conservation and the recoveries[the retracements] of the current condition of game[of play] with files on disc[disk]. pause ----- Hitch[Stoppage|Letup|Standstill] интерпретатора ante нажатия any[either|any of] key. quit n -------- The finishing[The completing|The completion] of job интерпретатора. If n=1 that immediate[prompt] finishing[completing|completion]; n=0 that question[query|affair] "Press ENTER to quit." "Press ESC to continue." init_joy -------- Инициализация[Initsializatsiya] джойстика. toggle_monitor -------------- The reswitching of RGB monitor in[into|on] graphical regime [regimen|schedule]. upper_left ---------- Generally[Usually] crossing by the entity[by the object] of assigned[of specified] areas[domains|fields] or lines is tracked as to[along] the base[the basic] point of cadre ( left-hand the lower corner[angle]). After the disclosure[the yielding] of this command[squad|team|crew], by such point becomes the left-hand overhead[top|upper] corner[angle] of cadre. I. 2.7. THE BLANKET[THE CORPORATE|THE COMMON|THE GENERAL|THE TOTAL] PRINCIPLES OF JOB ИНТЕРПРЕТАТОРА =========================================== Now shall view the algorithm of job интерпретатора and the assigning[the destination] of зарезервированных variables and banners [flags]. After the start-up of blueprint[of program|of programme] AGI ( AGDS), in[into|on] memory интерпретатора загружается Logic-resource number 0 which will remain[will stay] wherein[there] on all of the time[all along] the fulfilments[the executions] of playful[of actable] blueprint[program|programme] and defines all practices[acts|actions| deeds] интерпретатора connected with blanket[corporate|common|general| total] bureau[management practice|control] by game[by play]. Интерпретатор[Interpretator] operates cyclical, i.e. all practices [acts|actions|deeds] интерпретатора astringently are defined BY THE JOB CYCLE[CYCLIC PROCESS] ИНТЕРПРЕТАТОРА, block diagram[block scheme] which is driven below. At the time[At the time of] the fulfilment[the execution|the carrying out|the discharge] of cycle[of cyclic process] интерпретатор fabricates[produces] next[next one|the following] basal[base|principal|basic|capital|primary|staple] practices [acts|actions|deeds]: - deferring[detention|blocking|delay|hitch|stoppage|tie-up| standstill] as to[along] the time[time]; - the clearing[the refining] of the buffer[of the bolster] of keyboard; - the canvass[the inquiry] of keyboard and джойстика; - analysis the component[the part] of зарезервированных variables and banners[flags] (see chart); - for all powered entities[objects], for which were fulfiled [carried out|executed] of command[of squad|of team|of crew] animate_obj, start_update and draw, is fabricated[is produced] the conversion of the directions[of the tenors] of move[of floating|of moving]; - fulfils[discharges] logic 0 and everythings caused from[out of] it logic which likewise can[may] actualize[carry out| discharge|exercise] calls other[another] логик. Depending on the condition of variables and banners[flags], analysis which is fabricated[is produced] in move[step] 4, i.e. is defined by the blueprint[by the program|by the programme] of game[of play], amount interpreted in the move[the step] of 4 commands [squads|teams|crews] fluctuates[variates|varies] from cycle [cyclic process] to cycle[cyclic process] in[into|on] dependencies, for example[for instance], from amount prompted by[caused] as to[along]-situation логик; - is fabricated[is produced] check[check-out|check-up| examination|testing|control|checking] on the disclosure[the yielding] of command[of squad|of team|of crew] new_room; - then interpretation cycle[cyclic process] is reiterated[is repeated]. Everything at the same time загруженные in[into|on] the memory of интерпретатора logic (blueprints[programs|programmes] and подпрограммы) манипулируют over[above] blanket[corporate|common| general|total] field varying[variable], of banners[of flags] and строковых variables, идентифицирующихся unique for each[every] type of data by number. Цикличность[Tsiklichnost] job интерпретатора lays its mark on the blanket[the corporate|the common|the general|the total] principles of spelling and the style of blueprints[of programs|of programmes] fulfiled[discharged] under[sub] bureau[management practice|control] интерпретатора AGDS, what[that] does[makes] the programming[the programing] cause[process|suit] several[some|a few|somewhat] odd [uncommon|unusual|intriguing] and demanding certain[determined] period "вживания". For example[For instance], most cyclical[periodic] дейстий demanding[exacting] in the "customary" program languages[programming languages] of the apparent input[putting] of cycles[of cyclic processes], is fulfiled[is discharged] in blueprints[programs| programmes] written for интерпретатора, as to[along] умолчанию, but demands their compliant[adequate|applicable|appropriate|consistent| corresponding|equal] body[organization|setting up]. Blanket[Corporate|Common|General|Total] recommendations paring [reducing|cutting|docking|trimming|contracting|dwindling|slumping] adaptation period to language[tongue] интерпретатора, will be given later on the example[the instance] of the creation[of the building|of the establishing] of tutorial[of instructional|of tutoring] blueprint [program|programme] "thunderstorms"["storm"] THAT ИНТЕП (с), what[that] perfectly does not expel[rule out] the aidless analysis of the playful [of the actable] blueprints[programs|programmes] of company Sierra On Line, Inc. (C). THE CYCLE[THE CYCLIC PROCESS] OF JOB ИНТЕРПРЕТАТОРА ---------------------------- ┌───────────────────────────╖ │ 1 deferring[detention|blocking|delay|hitch| stoppage|tie-up|standstill] as to[along] the time[time] ║ ╘═════════════╤═════════════╝ │ V ┌─────────────┴─────────────╖ │2 the clearing[the refining] of buffer[of bolster] клавиатуры║ ╘═════════════╤═════════════╝ │ V ┌─────────────┴─────────────╖ │ Flag (2) - - > 0 ║ │ Flag (4) - - > 0 ║ ╘═════════════╤═════════════╝ │ V ┌──────────────────┴──────────────────╖ │ 3 canvasseses[inquirieses] of keyboard and джойстика ║ ╘══════════════════╤══════════════════╝ │ V ┌──────────────────┴──────────────────╖ │ If is established[is instituted|is set up] regime [regimen|schedule] ║ │ - program_control that direction[tenor] of ║ │ move[floating|moving] EGO - - > var (6). ║ │ - player_control that var (6) опреде - ║ │ ляет the direction[the tenor] of move[of floating|of moving] EGO. ║ ╘══════════════════╤══════════════════╝ │ V ┌──────────────────────────────────┴──── │ For all powered entities[objects], for which were fulfiled[carried out|executed] of ║ │ command[squad|team|crew] animate_obj, start_update and draw, is fabricated[is produced] ║ │ the conversion of the directions[of the tenors] of move[of floating|of moving]. ║ ╘══════════════════════════════════╤════ │ V ┌──────────────────────────────────┴──── │ At the alternation [the variation|the altering|the changing] of the account[of the bill|of the count|of the invoice|of the computation] of game[of play] (var (3)) or вкл./the switching off[the turning off] of sound, ║ │ defined Flag (9) in[into|on] the line of condition ( if exist) is carried out[is put out|is outputed] ║ │ the new condition of system ║ ╘══════════════════════════════════╤════ └─────────┐ V ┌─────────────┴────────────╖ ┌──────────────── > ┤ 4 is executed Logic 0 ║ │ ╘═════════════╤════════════╝ │ │ │ V │ ┌────────────────────┴─────────────────╖ │ │ - E.g.. moves EGO < - - var (6); ║ │ │ - If account [bill|count|invoice|computation] (var (3)) or Flag (9) ║ │ │ changed[altered] its consequence[value] - обно - ║ │ │ вить statutes[status] and account [bill|count|invoice|computation] (as to[along] Var (3)); ║ │ │ - Var (5) - - > 0; ║ │ │ - Var (4) - - > 0; ║ │ │ - Flag (5) - - > 0!!!! ║ │ │ - Flag ( 6) - - > 0; ║ │ │ - Flag (12) - - > 0. ║ │ ╘════════════════════╤═════════════════╝ ┌───────────┴───────────╖ │ │ To fulfil[To carry out|To execute]: ║ V │ ~~~~~~~~~ ║ ┌────────────────┴───────────────╖ │ - stop_update; ║ │ Перерисовать[Pererisovat] all[whole| entire|everything] powered ║ │ - unanimate_all; ║ │ entities [objects] residing on screen. ║ │ - to demolish[to obliterate| to annihilate|to wither] everything ║ ╘════════════════╤═══════════════╝ │ logic-resources, ║ │ │ except for logic 0; ║ V │ - player_control; ║ ┌──────┴──────╖ │ - unblock; ║ │ is produced[is generated|is issued|is given] ║ │ - set_horizon 24; ║ │ command[squad|team|crew] ║ │ - var (1)=var (0); ║ │ new_room n ║ │ - var (0)=n| (var (n)); ║ │ or ║ │ - var (4)=0; ║ │new_room_v n? ║ │ - var (5)=0; ║ ├──────┬──────╢ │ - var (9)=0; ╟ < ───────────┤ yes │ no ║ │ - var (16)=number view, ║ ╘══════╧═══╤══╝ │ связ. with EGO; ║ │ │ - Коорд[Koord]. EGO as to[along] var (2); ║ │ │ - var (2)=0; ║ │ │ - flag (2) - - > 0; ║ V │ - flag (5) - - > 1!!!! ║ ┌──────────────┴─────╖ │ - account[bill|count|invoice| computation] < --var (3); ║ │ To pass on to move[step] 1 ║ ╘═══════════════════════╝ ╘════════════════════╝ VARYING[VARIABLE|VARIABLES] USED[UTILIZED] ИНТЕРПРЕТАТОРОМ ----------------------------------------- At the start-up of интерпретатора the consequence[the value] of all variables equal 0. Var n ----- 0 - the number of current room (the parameter of command[of squad| of team|of crew] new_room), originally 0. 1 - the number of prev room. 2 - the code of boundary[of frontier] which concerned EGO: 0 - did not concern; 1 - of the overhead[of the top|of the upper] boundary[verge] of screen or the lines of horison[of horizon]; 2 - of the right boundary[verge] of screen; 3 - of the lower boundary[verge]; 4 - of left-hand boundary[verge]. 3 - checking account[continuing account|demand deposit|demand funds| running account|sight deposit|sight funds|current account|open account|transaction account|account current]. 4 - the number of entity[of object], different from EGO, коснувшегося boundaries[frontiers|scope]. 5 - the code of boundary[of frontier] which concerned entity[object] with number Var (4). 6 - the direction[the tenor] of move[of floating|of moving] EGO. 1 8 ^ 2 \│/\│/ 7 < ─────┼───── > 3 0 - entity[object]/│\changeless /│\6 v 4 5 7 - maximal[maximum] account[bill|count|invoice|computation]. 8 - the numeral[the number] of free 256-байтных leaves[pages] in memory интерпретатора. 9 - if=0 that this number of word in communication user who is not found in vocabulary. 10 - temporary delay between cycles[cyclic processes] interpretations in[into|to|on] 1/20 seconds. 11 - seconds|12 - minutes|13 - hours[clock|watch]|endogenous[home] hours[clock|watch] интерпретатора. 14 - twenty-four hours| 15 - sensitivity джойстика (if Flag (8)=1). 16 - number View - of resource connected with EGO. 17 - the code of mistake[of error|of blunder|of balk] интерпретатора (if=0). 18 - additional information[supplementary information] to code mistakes[errors|blunders|balks]. 19 - sigla[symbol], нажатый on keyboard. 20 - the code of the type of computer. For IBM PC this[these|those] always 0. 21 - if Flag (15)=0 (is produced[is generated|is issued|is given] command[squad|team|crew] reset 15) and Var (21) not equal 0 that window[casement] automatically is deleted[is removed|is ablated] through[across|via|after] 1/2 Var (21) of seconds. 22 - the type of the generator of sound: =1 - PC; =3 - TANDY. 23 - 0: F - the loudness of sound (for TANDY). 24 - 29h. 25 - the number of piece[of subject] selected as to[along] command [squad|team|crew] status or FF, if is pressed key ESC. 26 - the type of monitor: 0 - CGA; 2 - Hercules; 3 - EGA. BANNERS[FLAGS] USED[UTILIZED] ИНТЕРПРЕТАТОРОМ ----------------------------------- At start-up интерпретатора all banners[flags] are established [are instituted|are set up] in[into|to|on] 0. Flag n ------ 0 - benchmark[base|basis] EGO completely[in full|totally] resides on the points of back-ground[of background], prioritized 3 (the level of water). 1 - EGO not eminent on screen (by completely[by in full|by totally] скрыт what[which]-or[-whether] entity[object]). 2 - from playing behaved the input[the putting] line. 3 - benchmark[base|basis] EGO concerned the point of back-ground[of background], prioritized 2 (signal[call]). 4 - command[squad|team|crew] said perceived input[putting] from user. 5 - new room is executed for the first time. 6 - is fulfiled[is carried out|is executed] command[squad| team|crew] restart_game. 7 - if this flag[banner]=1 that recording in[into|on] script- buffer[-bolster] is blocked. 8 - if 1 that Var (15) defines sensitivity джойстика. 9 - sound is included[is switched|is involved|is incorporated]/is shut off[is turned off|is turned out|is switched off]. 10 - 1 certifies job built-in отладчика. 11 - Logic 0 is caused for the first time. 12 - is fulfiled[is carried out|is executed] command[squad| team|crew] restore_game. 13 - 1 certifies command[squad|team|crew] status the choice[the selection] of pieces[of subjects]. 14 - 1 certifies job carte. 15 - the regime[the regimen|the schedule] of the conclusion[of the consequence|of the implication] of communications by commands[by squads|by teams|by crews] print and print_at: 1 - window[casement] with communications is not is deleted [is removed|is ablated] with screen. 0 - window[casement] is deleted[is removed|is ablated] нажатием Enter or ESC on keyboard. If Var (21) not equal 0 that window[casement] automatically is deleted[is removed|is ablated] through [across|via|after] 1/2 Var (21) of seconds. COMPONENT[PART] II. Block[Package] AGDS ====================== In[Into|On] the grading[the makeup|the composition|the constitution] of block[of package] AGDS enter: - the graphical editor of the static representations (of scenery) Picture Manager (PM); - the graphical editor of the dynamic[of the dynamical] representations (of cartoons[of animated cartoons]) VIew Manager (VIM); - утилиты for job with томами data: -- Volume Manager (VM); -- Directory Update Utility (DUU); - утилита the attendance[the service|the servicing] of entities [of objects] Object Manager (OM); - утилиты job with vocabulary systems (file words. tok): -- the reviewing[the revision] of vocabulary Words Look ( WL); -- the creation[the building|the establishing] of vocabulary Words Make (WM); - утилита the recoveries[the retracements] of the starting texts[discourses] of blueprints[of programs|of programmes] Source Manager (SM); - интерпретаторы with оверлейными files: -- adapted (AGDS); -- original (AGI). II. 1. THE GRAPHICAL EDITOR OF STATIC REPRESENTATIONS ================================================== BLUEPRINT[PROGRAM|PROGRAMME] PM (Picture Manager) ============================== Graphical editor Picture Manager (PM), is oriented for the creation[the building|the establishing] static картинок (of picture the-resources) of on the strength block[package] AGDS. Editor will help[will aid|will boost|will befriend] You to develop and to edit representations in the format of picture the-resources of blueprint[of program|of programme] AGI. Demand to hardware COMPUTER UTILITY: - machinery[machine], compatible[consistent] at the level BIOS with IBM PC; - 100% compatible[consistent] graphical контроллер EGA or VGA; - free real-time[operational|operative|current|on-line] memory from 128К; - constitution[structure] "mouse", compatible[consistent] with Microsoft Mouse or Mouse Systems Mouse. Demand to software: - operating[operational] system, compatible[consistent] with MS DOS 3.0 and upward of[upwards of]; - драйвер constitutions[structures] "mouse", of even if self[the most] constitution[structure] no. Job with blueprint[program|programme] PM ------------------------ Командная[Komandnaya] the line of blueprint[of program|of programme] looks in the following way[as follows]: PM [имя_входного_файла [имя_выходного_файла]] имя_входного_файла - the name[the first name] of file, to liable drafting; имя_выходного_файла - the name[the first name] of file charged as to [along] command[squad|team|crew] 'W'; If имя_выходного_файла is not indicated[pointed|denoted|pointed out], as to[along] command[squad|team|crew] 'W' the current content of buffer[of bolster] are charged in[into|on] file PIC. SAV; At efflux[crop|outlet] from[out of] blueprint[program|programme] the current content of buffer[of bolster] is charged in[into|on] file PIC. OLD. Further[Farther] description[delineation|depiction] implies that [what] You know graphical примитивы picture resource. They are described[are delineated|are depicted] in[into|on] I the parts of the description[of the delineation|of the depiction] of block[of package] AGI. the Screen class[type|sort] at job blueprints [programs|programmes] --------------------------------- ┌─────────────────────────────────────── │ ║ │ ║ │ ║ │ ║ │ ║ │ The field of the drafting of representation ║ │ ║ │ ║ │ ║ │ ║ │ ║ ╞═══════════════════════════════════════ │ The line of отображения the condition of buffer[of bolster] ║ ├─────────────────────────────────────── │ The line of the conclusion[of the consequence|of the implication] of communications ║ ├─────────────────────────────────────── │ The line of input[of putting] ║ ├─────────────────────────────────────── │ 111: 222/3 flowed[drippled]. < 4: 5 > экр. < 6: 7 > поз. 8888 ║ ╘═══════════════════════════════════════\══════════════════╝ > The line of the conclusion[of the consequence|of the implication] of program status/ ------------------------------------- The field of the drafting of representation submits[presents] собой graphical field by measure[by size] 160х168, in[into|to|on] which You рисуете by means of[with the help of] commands[squads|teams|crews] editor. The line of отображения the condition of buffer[of bolster] displays You the content of buffer[of bolster] graphical примитивов. In the line of the conclusion[of the consequence|of the implication] of communications editor carries out[puts out|outputs] подсказку in the event[in case of|in case] Your untrue practices[acts|actions|deeds]. the Input[the putting] line conveys You about that, what[that] requisitely to introduce in[into|on] blueprint[program|programme] at the moment[at a given instant]. As to[Along] the line of the conclusion[of the consequence|of the implication] of condition You can [may] learn[recognize] текушие coordinates рисования, current color [colour] and another information[data]. Now shall view in more detail assigning[destination] each[every] component[part] of screen. The field of the drafting of representation --------------------------------- Representation in editor can[may] be gettinged by two[by 2] ways: - if You introduce[impose|inject] with keyboards graphical commands [squads|teams|crews], the result of their fulfilment[execution| carrying out|discharge] right away[at a blow|at once] отображается on screen, how[as|like] in customary[usual|common] graphical editor; - since[as|because|as far as] картинка arises from fulfilment [execution|carrying out|discharge] the chain[the suceession] of graphical commands[squads|teams|crews], You can[may] execute stored in buffer[bolster] the chain[the suceession] of commands[of squads|of teams|of crews] from commencement ante any[either|any of] place[spot] in buffer[bolster] (this act[action|deed] is fulfiled [is discharged] by means of[with the help of] key "blank"["blank space"]). In doing so You will see on screen the result of the fulfilment[the execution|the carrying out|the discharge] of only [of just] these commands[squads|teams|crews]. Thus[In this way|So| In such a way], by degrees сдвигая the current guide of buffer[of bolster] by the end of, and executing graphical commands[squads| teams|crews], You can[may] trace cause[process|suit] рисования. In[Into|On] the drafting field resides cursor, barb which points at [points to] current position рисования. To transfer cursor may be [possible|you may|it may be] or by means of[with the help of] mouse or with keyboards by means of[with the help of] arrows[arrow-heads]. The line of отображения the condition of buffer[of bolster] ------------------------------------- the Field assigning[destination] in the line of отображения the condition of buffer[of bolster] You can[may] determine[define| designate] by means of[with the help of] the color[the colour] of field. Darkly-blue color[colour] - the unobtainable[the unpurchasable|the unpurchaseable] fields of buffer[of bolster] ( they keep information[data], unappropriated for drafting); Yellow color[colour] - the current position of the buffer[of the bolster] of commands[of squads|of teams|of crews]; Crimson color[colour] - field keeping[kepting] the code of graphical command[squad|team|crew]; Blue color[colour] - field keeping[kepting] операнды graphical command[squad|team|crew]. Information[Data] in fields is presented in шестнадцатиричном class[type|sort]. For job with the buffer[the bolster] of commands[of squads|of teams| of crews] You can[may] use[utilize] next[next one| the following] commands[squads|teams|crews]: - Ctrl+- > (правая_стрелка) - displacement[mobility|redeployment| relocation|transfer|shifting] current position rightward on one position of the buffer[of the bolster] of commands[of squads|of teams|of crews]; - Ctrl+< - (левая_стрелка) - displacement[mobility|redeployment| relocation|transfer|shifting] current position leftward on one position of the buffer[of the bolster] of commands[of squads|of teams|of crews]; - PgUp - displacement[mobility|redeployment|relocation|transfer| shifting] current position leftward on one command[squad|team|crew]; - PgDn - displacement[mobility|redeployment|relocation|transfer| shifting] current position rightward on one command[squad|team|crew]; - Home - displacement[mobility|redeployment|relocation|transfer| shifting] in[into|on] the commencement of the buffer[of the bolster] of commands[of squads|of teams|of crews]; - End - displacement[mobility|redeployment|relocation|transfer| shifting] to command[squad|team|crew] the "end of job" ( code ff) or in[into|on] the buffer[the bolster] end if its no; - Insert - to insert byte in current position (You should consistently introduce two шестнадцатиричные figures, ab initio[in the first instance] elder[eldest|older|oldest|senior|superior], then minor[junior]); - Delete - to delete[to remove|to ablate] byte in current position ( will be very cautious utilizing this command[squad|team| crew], if You badly are acquainted with format graphical примитивов not use[utilize] its absolutely[quite|at all]!); - "blank"["blank space"] - to execute graphical commands[squads|teams| crews], from the buffer[the bolster] commencement ante current position (if current position resides amid операндов command[squad|team|crew], she[it] will be fulfiled[carried out|executed] not with all[whole|entire] операндами); - H - brief[concise|short|capsule] aid[assistance]. Information[Data] on screen is submited[is presented] in next[next one|the following] class[type|sort]: Picture Manager V3. 0 ─────────────Рисование───────────────┬─────────────Пр[Risovanie───────────────┬────] команды───── F1 - to establish[to institute|to set up] the color[the colour] of │ arrow[arrow-head] - the displacement[the mobility|the redeployment|the relocation|the transfer|the shifting] of cursor F2 - to establish[to institute|to set up] priority │ P - the reviewing[the revision] of the field of priorities F3 - rice. line, since[as from] вертикали │ S - the search of the code of command[of squad|of team|of crew] in buffer [bolster] F4 - rice. line, since[as from] горизонтали │ W - to retain [to preserve] current buffer[bolster] F5 - rice. линиию generally condition[plight|setup|standing] │ 0-9, A-F - input[putting] шестн. consequences[values] F6 - rice. line by aggrandizements[by augmentations|by increments], │/- the conclusion[the consequence|the implication] of coordinates шестн. or F7 - заливка areas[domains| fields] │ десятич. F8 - уст. to vapors[to vapours|to couples]. points │ Q-efflux[-crop|-outlet] from[out of] blueprint[program|programme] F9 - нарисовать point │ Altфунк. key or ESC-прекр. команды│ ────────Job with buffer[bolster] команд──────┤ Ctrl < - Ctrl - > - перем. in buffer[bolster] команд│ Home - in[into| on] the commencement of the buffer[of the bolster] of commands[of squads|of teams|of crews] │ End - in[into|on] the end of the buffer[of the bolster] of commands[of squads|of teams|of crews] │ PgUp - ahead [forth|forward] on command[squad|team|crew] │ PgDn - backwards [backward|back|aback] on command[squad|team|crew] │ Ins - to insert byte ├──────────────────────────────── Del - to delete[to remove|to ablate] byte │ (c) ЭЛИАС tel: 903-04-57 BLANKSESES[BLANK SPACESESES] - исполн. commands[squads|teams|crews] ante current ├────────── fax: 903- 02-66──────── ─────────────────────────────────────┴──────────────────────────────── Press key ESC for call-back[restitution| reswitching|drawback] in[into|on] blueprint[program|programme] The line of the conclusion[of the consequence| of the implication] of communications ----------------------- the Input[the putting] line ------------ Communication emerged[appeared|arisen|comed out] in these fields do not demand explanations. The line of the conclusion[of the consequence|of the implication] of program status --------------------------------- This line has[is found to have] next[next one|the following] format: 111: 222/3 flowed[drippled]. < 4: 5 > экр. < 6: 7 > поз. 8888, where 111 - current координата X; 222 - current координата Y; (If these coordinates cost in round brackets, means numerals шестнадцатиричные. Reswitching stems at нажатии keys"/"). 3 - координата as to[along] Y recalculated in[into|on] priority ( sees description[delineation|depiction] pictureресурса); 4 - current color[colour] (that which is established[is instituted| is set up] by command[by squad|by team|by crew] TO ESTABLISH [TO INSTITUTE|TO SET UP] COLOR[COLOUR]); 5 - current priority (that which is established[is instituted|is set up] by command[by squad|by team|by crew] TO ESTABLISH[TO INSTITUTE|TO SET UP] PRIORITY); 6 - the color[the colour] of the current point of screen; 7 - the priority of the current point of screen; 8888 - current position in the buffer[the bolster] of commands[of squads|of teams|of crews]. Commands[Squads|Teams|Crews] рисования ------------------- Key F1 - TO "ESTABLISH[TO "INSTITUTE|TO "SET UP] COLOR"[COLOUR"] заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f0. Key Alt+F1 - TO "REVOKE[TO "ANNUL|TO "CANCEL|TO "VACATE] COLOR" [COLOUR"] заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f1. Key F2 - TO "ESTABLISH[TO "INSTITUTE|TO "SET UP] PRIORITY" заносит in [into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f2. Key Alt+F2 - TO "REVOKE[TO "ANNUL|TO "CANCEL|TO "VACATE] PRIORITY" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f3. Key F3 - "РИСОВАТЬ LINE SINCE[AS FROM] VERTICAL" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f4. Key F4 - "РИСОВАТЬ LINE SINCE[AS FROM] HORISONTAL"[HORIZONTAL"| ACLINIC"] заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f5. Key F5 - "РИСОВАТЬ LINE GENERALLY CONDITION"[PLIGHT"|SETUP"|STANDING"] заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f6. Take notice[Pay attention], what[that] from[out of] for mistakes[errors|blunders|balks] in blueprint [program|programme] AGI, long line maybe нарисована anomalously. In this case recommend to break[to dash] its on[onto|upon] shorter. Key F6 - "РИСОВАТЬ LINE THROUGH[ACROSS|VIA|AFTER] AGGRANDIZEMENTS" [AUGMENTATIONS"|INCREMENTS"] заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f7. After the disclosure[the yielding] of this command [squad|team|crew] of the displacement[of the mobility|of the redeployment|of the relocation|of the transfer|of the shifting] of the cursor are limited[are restricted|are astricted|are bound] plus/minus of 7 positions, and[but] as to[along] горизонтали with the party[the side] of diminution [of reduction|of curtailment|of cutback|of debasement] - of 6 positions). Key F7 - "заливка" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f8. Залить[Zalit] may be[possible|you may|it may be] only[just] white area[domain|field]! (See the description[the delineation|the depiction] of picture-resource). Key F8 - TO "ESTABLISH[TO "INSTITUTE|TO "SET UP] THE PARAMETERS OF POINT" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code f9. In answer to[In reply to] enquiry[inquiry] to You requisitely to introduce: 0 - round point; 1 - square point; 2 - round point with заливкой 1/3 squares[areas]; 3 - square point with заливкой 1/3 squares[areas]. Then - numeral[number] from 0 ante 7 - the measure[the size] of point. Key F9 - "НАРИСОВАТЬ POINT" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code fa. If are established[are instituted|are set up] the parameters of point with заливкой, to You will it will be necessary to introduce two any[either| any of] шестнадцатиричные figures from which depends the condition[the plight|the setup|the standing] of points заливки. Key F10 - THE "END OF JOB" заносит in[into|on] the buffer[the bolster] of commands[of squads|of teams|of crews] code ff ( only[just]!). Others commands[squads|teams|crews] ---------------- For the reviewing[the revision] of the field of priorities press key 'P'. Call-back[Restitution|Reswitching|Drawback] as to[along] нажатию any[either|any of] key. Key 'S' is used[is utilized] for the search of the code of command [of squad|of team|of crew] in buffer[bolster]. Search from the current position aside of end of buffer[of bolster] is actualized[is carried out|is discharged|is exercised]. Take notice[Pay attention], what[that] for search requisitely to point[to point out] the only[the just] second[the second] figure of the code of command[of squad|of team|of crew]. Efflux[Crop|Outlet] from[out of] blueprint[program|programme] is actualized[is carried out|is discharged|is exercised] at нажатии on key 'Q'. Enquiry for[Inquiry for] the efflux[the crop|the outlet] verifying[confirmation|underwriting] from[out of] blueprint[program| programme] does not jut[protrude], because the content of buffer[of bolster] always is accorded[is rendered] in file PIC. OLD. ----------------------------------------------------------------------- If at the start-up of blueprint[of program|of programme] cursor resides not in the center[the centre] of screen, and[but] at right boundary[verge], prior to the blueprint[the program|the programme] start-up produce[generate|issue] command[squad|team|crew] DOS'а SET PM=/2. This situation originates[arises] if You use[utilize] not Microsoft Mouse Driver, and[but] other[another] мышиный драйвер. And[But] if at start-up are absent of line with text[discourse] underneath[below|beneath|alow|at the bottom] of screen, попробуйте to give command[squad|team|crew] DOS'а SET PM=/S. If this[these|those] will not help[aid|boost|befriend], эначит You use[utilize] not 100% compatible[consistent] with IBM EGA graphical контроллер. May be[Possible|You may|It may be] also[as well] try to replace[to substitute] используеиый You мышиный драйвер on[onto|upon] more[any more|any longer|anymore] Microsoft compatible[consistent]. At the requisite of both key[clue] may be[possible|you may|it may be] point[point out] together. Command[Squad|Team|Crew] SET may be[possible|you may|it may be] include in Your file AUTOEXEC. BAT. II. 2. THE GRAPHICAL EDITOR OF DYNAMIC[OF DYNAMICAL] REPRESENTATIONS =================================================== BLUEPRINT[PROGRAM|PROGRAMME] VIM (VIew Manager) ============================= Graphical editor View Manager (VIM), is oriented for the creation [the building|the establishing] dynamic[dynamical] картинок (of view the-resources) of on the strength block[package] AGDS. Editor will help[will aid|will boost|will befriend] You to develop and to edit representations in the format of view the-resources of blueprint[of program|of programme] AGI. Demand to hardware COMPUTER UTILITY: - machinery[machine], compatible[consistent] at the level BIOS with IBM PC; - 100% compatible[consistent] graphical контроллер EGA or VGA; - free real-time[operational|operative|current|on-line] memory from 128K. Demand to software: - operating[operational] system, compatible[consistent] with MS DOS 3.0 and upward of[upwards of]; Job with blueprint[program|programme] VIM ----------------------- Командная[Komandnaya] the line of blueprint[of program|of programme] looks in the following way[as follows]: VIM [-количество_циклов имя_входного_файла [имя_выходного_файла]] имя_входного_файла - the name[the first name] of file, to liable drafting; имя_выходного_файла - the name[the first name] of file charged as to [along] command[squad|team|crew] 'W'; (if имя_выходного_файла is not indicated[pointed|denoted|pointed out], as to [along] command[squad|team|crew] 'W'текущее the content of buffer[of bolster] are charged in[into|on] file VIEW. SAV); количество_циклов - the amount of cycles[of cyclic processes] into re made up[formed] viewресурсе; At efflux[crop|outlet] from[out of] blueprint[program|programme] the current content of buffer[of bolster] is charged in[into|on] file VIEW. OLD. Further[Farther] description[delineation|depiction] implies that [what] You know basises органиизации animated cartoons[cartoon] in block[package] AGDS. They are driven in[into|on] I the parts of the description[of the delineation|of the depiction] of block[of package]. the Screen class[type|sort] at job blueprints [programs|programmes] ------------------------------- ╔═══════════════════════════════════════ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ The field of the drafting of representation ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╠═══════════════════════════════════════ ║ 111: 222/3 cycles [cyclic processes]: 44 cadres: 55 66x77 colors[colours] 0123456789ABCDEF ║ ╚═══════════════════════════════════════\ ═══════════╝ > The line of the conclusion[of the consequence|of the implication] of program status/ ------------------------------------- The field of the drafting of representation submits[presents] собой graphical field by measure[by size] 40х41, in[into|to|on] which You рисуете the cadre of cartoon[of animated cartoon] assigning[setting| indicating] the color[the colour] of each[of every] point of representation taken separately. As to[Along] the line of the conclusion[of the consequence|of the implication] of condition You can [may] learn[recognize] текушие coordinates рисования, the color[the colour] of current point and another information[data]. We shall view in more detail assigning[destination] each [every] component[part] of screen. The field of the drafting of representation ------------------------------- The field of the drafting of representation displays четырехкратно the augmented[the aggrandized] cadre of cartoon[of animated cartoon]. You can[may] also[as well] see cadre in[into|on] actual size, but drafting accommodates only[just] on augmented[aggrandized] representation. In[Into|On] the drafting field resides cursor in the form мерцающего rectangle[square]. To transfer cursor may be[possible| you may|it may be] with keyboards by means of[with the help of] arrows [arrow-heads]. If the cadre measure[size] exceeds the dimensions of the field of drafting that at the cursor displacement[mobility| redeployment|relocation|transfer|shifting] for the boundary[the frontier] of field representation will сдвигаться (how[as|like] in text[textual] editor). Pressing keys 0-9 and A-F, You set in[into|on] the position of cursor the point of compliant[of adequate|of applicable|of appropriate|of consistent|of corresponding|of equal] color[colour]. The line of the conclusion[of the consequence|of the implication] of program status --------------------------------- This line has[is found to have] next[next one|the following] format: подсказка as to[along] the accordance[the correspondence|the adequacy|the aptitude|the conformity] of keys to color[to colour] ───────── > ┐ ──────── ┴─────── 111: 222/3 cycles[cyclic processes]: 44 cadres: 55 66x77 colors [colours] 0123456789ABCDEF ─ ┬─ ─┬─ ┬ ───┬─── ───┬─── ┬─ ─┬ │ │ │ │ │ │ │ └ > ──┼──┼─────┼────────┼─────┼───┼─────── current координата X; │ │ │ │ │ │ └ > ─┼─────┼────────┼─────┼───┼─────── current координата Y; │ │ │ │ │ └ > ────┼────────┼─────┼───┼─────── the color [the colour] of the current point of screen; │ │ │ │ └ > ───────┼─────┼───┼─────── the number of current cycle[cyclic process]; │ │ │ └ > ────┼───┼─────── the number of current cadre; │ │ └ > ──┼─────── the measure[the size] of current cadre │ as to[along] горизонтали; │ └ > ────── the measure[the size] of current cadre as to[along] вертикали; The commands[The squads|The teams|The crews] of blueprint[of program|of programme] ----------------- We shall view the all commands[squads|teams|crews] of blueprint[of program|of programme] VIM. 0-9, A-F - рисовать the point of compliant[of adequate|of applicable| of appropriate|of consistent|of corresponding|of equal] color [colour] in[into|on] the positions of cursor; arrows[arrow-heads|archers] - of перемешение cursor; > - change-over to the next[the next one|the following] cadre of cycle[of cyclic process]; < - change-over to the prev cadre of cycle[of cyclic process]; ] - change-over to the cadre of 0 next[next one|the following] cycles [cyclic processes]; [- change-over to the cadre of 0 prev cycles[cyclic processes]; Z - the alternation[the variation|the altering|the changing] of the dimensions of cadre (Will be cautious! the Cadre content is lost); I - the building of symmetrical[of symmetric] representation to coexisting[subsisting]; \- of blanket[of complete|of full] обновление screen at the cadre shift[change]. Lets correctly отображать the manpower of different[of various] measure[size] in one cycle[cyclic process]; G - the reswitching of the scale[of the extent|of the degree|of the measure|of the scope] of representation (drafting/ reviewing[revision]) on scale 1: 1 (reviewing[revision]) operate only[just] commands[squads|teams|crews] <, >, [,]. The rest[The rest of] cause call-back[restitution| reswitching|drawback] in[into|on] the drafting regime [regimen|schedule]; S - the recording of current cadre in[into|on] stand-alone file. Name[First name] will form from[out of] the number of cycle [of cyclic process], of sign подчеркивания and the numbers of cadre. Суффиксом[Suffixom] in the file name[first name] bes[ises] the number of view-resource; L - to add in[into|on] текуший cycle[cyclic process] cadre kept in file (retained previously[before|formerly|in the past] by command[by squad|by team|by crew] S). Take notice[Pay attention], what[that] files made up[formed] as to[along] command[squad|team|crew] S, are used[are utilized] only [just] by blueprint[by program|by programme] VIM; W - conservation in all of view-resource in file; H - brief[concise|short|capsule] aid[assistance]. Information[Data] on screen is submited[is presented] in next[next one|the following] class[type|sort]: View Manager V2. 0 ─────────────Рисование──────────────┬─────────────Про[Risovanie──────────────┬─────] команды─────── 0-9, A-F - рисовать point │\- the clearing[the refining] of screen prior to │ рисованием arrows[arrow-heads|archers] - the displacement[the mobility|the redeployment|the relocation|the transfer|the shifting] of cursor │ G - the reswitching of scale[of extent|of degree|of measure|of scope] 4: 1/1: 1 │ (рисование/ reviewing[revision]) ] - next[next one|the following] cycle[cyclic process] │ │ S - the conservation of cadre > - next[next one|the following] cadre │ │ L - the clearing ratio[the load ratio] of cadre [- prev cycle[cyclic process] │ │ W - the conservation of resource < - prev cadre │ │ Q - efflux[crop|outlet] from[out of] blueprint [program|programme] INS - to add cadre │ │ DEL - to delete[to remove|to ablate] cadre │ │ Z - the alternation[the variation|the altering|the changing] of the dimensions of cadre ├────────────────────────────────── │ (c) ЭЛИАС tel: 903-04-57 I - to build[to constuct] symmetrical[symmetric] cadre ├─────────── fax: 903-02-66───────── ────────────────────────────────────┴────────────────────────────────── Press key ESC for call-back[restitution| reswitching|drawback] in[into|on] blueprint[program|programme] Q - the ending[the completion] of job with blueprint[program| programme]; At the drafting of coexisting[of subsisting] view-resource, data on the amount of cycles[of cyclic processes], of manpower and the dimensions of manpower берется from[out of] view-resource. At the creation[the building|the establishing] of new resource, VIM creates [constructs|calls into existence] indicated[pointed|denoted|pointed out] the amount of cycles[of cyclic processes], everyone of which keeps as to[along] one cadre by measure[by size] 4х4. You can[may] arbitraryly add new manpower and to change[to alter] dimensions coexisting[subsisting]. It is impossible to change[to alter] only[just] amount of cycles[of cyclic processes] into view-resource. II. 3. УТИЛИТЫ JOB WITH ТОМАМИ DATA ==================================== II. 3.1. BLUEPRINT[PROGRAM|PROGRAMME] VM (Volume Manager) ===================================== Is oriented for извлечения from[out of] томов and rider to томам logic -, picture -, view -, of sound-resources. Operates in dialog[dialogue]. Right after start-up blueprint[program|programme] requests the name[the first name] of the file of guides (Directory) - небходимо to answer blanket[complete|full] name[first name] LOGDIR, VIEWDIR, SNDDIR or PICDIR (the account[the account book|the register] of siglas[of symbols] not important). Next[Next one|The following] move[step]: blueprint[program| programme] requests function (L/E/A/Q) --------- Is necessary[Is it is necessary] to answer one letter: L (List) - распечатывает the content of the file of guides in format: номер_ресурса номер_тома: смещение_в_файле For example[For instance]: 1 V0: 4DF4 2 V0: 503E 3 V2 22DEE etc.; ┬ ┬─ ─┬── └ > ┼───┼────── номер_ресурса └ > ──┼────── номер_тома └ > ───── смещение_в_файле E (Extract) - of извлечение resource; A (Add) - the rider of resource; Q (Quit) - completes the blueprint[the program|the programme] job. On question[query|affair] Directory Entry: follows to introduce номер_ресурса who[which|that|whom] you want to elicit. Next[Next one|The following] question[query|affair] Translate (0/1/2): To answer follows: 0 or 1 - for Logic-resource: 0 - means[betokens|signifies|meanses] трансляцию, compatible[consistent] with интерпретатором companies Sierra On Line, Inc. 1 - трансляция for интерпретатора delivered [supplied|furnished] in block[package]. 2 - for View -, of Sound - and Picture-resources; For Logic-resources will emerge[will appear|will arise] additional[complementary|extra|spare] question[query|affair]: LOOK MESSAGES (< numeral[number] >): < numeral[number] > - this numeral[number] of communications in Logic-resource. Introducing numbers, may be[possible|you may|it may be] look through the texts[the discourses] of communications. Having introduced 0, may be[possible|you may|it may be] end reviewing[revision]. Conclusive[Eventual] question[query|affair] Save to: is necessary[is it is necessary] to introduce the name[the first name] of file, in[into|to|on] which will be charged extracted from[out of] file VOL. n resource. A (Add) - the rider of resource. The first question[query|affair] - the name[the first name] of file which will be added in the capacity of[in capacity] new resource. File be due to keep the correct[the right|the sound] prefix of resource. Translate (0/1/2): - see E command[squad|team|crew] Volume number: - the name[the first name] of file VOL. n Enter Directory Entry: - the number of new resource II. 3.2 BLUEPRINT[PROGRAM|PROGRAMME] DUU (Directory Update Utility) =============================================== This blueprint[program|programme] bes[ises] simplified modification[retrofit] blueprints[programs|programmes] VM. She [It] fulfils[discharges] the sole function of the rider of resources in[into|to|on] тома (Add) and assumes[accepts] parameters from[out of] командной line. Blueprint[Program|Programme] is oriented for use in Batch-files (пакетных). Its format: DUU < sigla[symbol] > [номер_ресурса] [номер_тома] [Translate] file All parameters bound and are divided[are shared] by blanks [by blank spaces]. < sigla[symbol] > - the first sigla[symbol] the name [the first name] of the file of the guides of the allocation[of the deployment|of the disposition|of the distribution|of the floatation|of the flotation|of the layout|of the location|of the placement|of the allotment|of the placing|of the siting] of resources in volumes: V - ViewDir (for view-resources); S - SndDir (for sound-resources); P - PicDir ( for picture-resources); L - LogDir (for logic-resources). номер_ресурса - number, as to[along] which resource maybe is extracted from[out of] тома; номер_тома - number тома, in[into|to|on] which will be bestowed resource; Translate - has[is found to have] the same consequences [values], what[that] and in[into|to|on] VM: 0 or 1 - for Logic-resource: 0 - means[betokens| signifies|meanses] трансляцию, compatible [consistent] with интерпретатором companies Sierra On Line, Inc. 1 - трансляция for интерпретатора delivered [supplied|furnished] in block[package]; 2 - for View -, of Sound - and Picture-resources; file - the blanket[the complete|the full] name[first name] of file which will be added in the capacity of[in capacity] new resource. II. 4. BLUEPRINT[PROGRAM|PROGRAMME] OM (Object Manager) =================================== Is oriented for the attendance[the service|the servicing] of Object-resources. Operates in the dialog[the dialogue] regime[regimen|schedule]. Functions: E (Extract) - распечатывает the content of file OBJECT. Translate (0/1/2) - means[betokens|signifies|meanses]: 0 - format Sierra On Line; 1 - the format of интерпретатора block[package]; 2 - obsolete [out-of-fashion|outdated|outmoded|vintage|out-of-date] format Sierra On Line, Inc (for example[for instance], for game[play] Space Quest 1). C (Create) - creates[constructs|calls into existence] Object- resource (file with name[first name] Object) Questions[Queries|Affairs]: ~~~~~~~~ Enter maximal number of animated object: ---------------------------------------- - follows to introduce the maximal[the maximum] number of the entity [of the object] (of cartoon[of animated cartoon]), with which will operate интерпретатор. Generally[Usually] not above 15. After what is introduced[is imposed|is injected] the required numeral[number] of pieces[of subjects] (their numeral[number] by no means is not connected with introduced prior to this numeral[number] of entities [of objects]). Enter another object: --------------------- - is introduced[is imposed|is injected] the name[the first name] of piece[of subject], while, blanks[blank spaces] in name[first name] are coded[are codified] acquainted подчеркивания. For example[For instance]: Bag_of_Fast_Food Enter room: ----------- - content cells 'room' for given piece[subject] is introduced[is imposed|is injected]: - 1 means[betokens|signifies|meanses] that[what] piece[subject] belongs[belongs to] playing; - 2 means[betokens|signifies|meanses] the input[the putting] ending[completion]. Translate (0/1/2): sees upward of[upwards of]. II. 5. УТИЛИТЫ JOB WITH VOCABULARY ================================ Blueprint[Program|Programme] WL and WM (Words Look and Words Make) are oriented for job with vocabulary systems AGDS. Blueprints [Programs|Programmes] WL and WM process vocabulary by length ante 1400 words. II. 5.1 BLUEPRINT[PROGRAM|PROGRAMME] WL (Words Look) ================================ Blueprint[Program|Programme] WL is launched from[out of] командной line and has[is found to have] format: WL [-key[-clue] [выходной_файл]] key[clue] - points[points out] the way of the sorting[of the picking] of the unpacked file of vocabulary: - A - sorting[picking] alphabetically; - N - sorting[picking] as to[along] numbers; - M - sorting[picking] alphabetically with the capability[the chance|the possibility] of follow-up[of sequent] processing[working-up] by blueprint[by program|by programme] WM; выходной_файл - file, in[into|to|on] which will be charged unpacked vocabulary. Входной[Vkhodnoi] file always WORDS. TOK. If выходной file is not indicated[pointed|denoted|pointed out], is implied WORDS. LST. If is not indicated[pointed|denoted|pointed out] key[clue], is implied-A. II. 5.2 BLUEPRINT[PROGRAM|PROGRAMME] WM (Words Make) ================================ Is oriented for the creation[the building|the establishing] of file WORDS. TOK (of the vocabulary of system). Blueprint[Program| Programme] WM is launched from[out of] командной line and has [is found to have] format: WM входной_файл входной_файл - file keeping[kepting] unpacked vocabulary. Blanks [Blank spaces] in phrases be due to be replaced[substituted] on sigla[symbol] подчеркивания. (Blueprint[Program| Programme] WL will produce[will generate|will issue] such file at the direction of key[of clue]-M) Is necessary[Is it is necessary] to create[to bring to being] file keeping[kepting] in each[every] line to vapor [to vapour|to couple]: WORD CODE, where WORD - the chain[the suceession] of строчных letters and signs подчеркивания, denotative blanks[blank spaces] begun with letter; CODE - decimal numeral[number] - the code of this word. In the latest[the latter] line of file be due to be charged of vapor[of vapour|of couple]: word-1 < ─── the code of the end of file Example[Instance]: a 0 an 0 and 0 anyword 1 look 2 view 2 inspect 2 rol 9999 cof-1 II. 6. УТИЛИТА THE RECOVERIES[THE RETRACEMENTS] OF THE STARTING TEXTS[DISCOURSES] OF BLUEPRINTS[OF PROGRAMS|OF PROGRAMMES] ====================================================== BLUEPRINT[PROGRAM|PROGRAMME] SM (Source Manager) ============================= Blueprint[Program|Programme] SM (Source Manager) is oriented for the recovery[the restoration|the rebuilding|the retracement] of the starting text[discourse] of LOGIC resource as to[along] it[its|his] скомпилированному image. the Blueprint[the program|the programme] call: SM < вх_файл > [вых_файл] If You will not indicate[point|denote|point out] the name[the first name] of выходного file, the conclusion[the consequence|the implication] of rehabilitated[of recovered] text[discourse] will be actualized[be carried out|be discharged|be exercised] on constitution [structure] STDOUT (on terminal[terminus]). By means of[With the help of] command[squad|team|crew] DOS'а "переопределить conclusion" [consequence"|implication"] You can[may] receive[gain|get|obtain| derive] admission to stock exchange dealing on printer. the Admission to stock exchange dealing class[type|sort] is dependent on[depends on|dependses on] the file extending [enlargement|expansion|step-up|widening|extension]: . LST - blanket[complete|full] admission to stock exchange dealing ( with direction of decimal and шестнадцатиричных biases[displacements| depositions]); . ASM - admission to stock exchange dealing, applicable[useful| available] for follow-up[sequent] трансляции;. MSG - admission to stock exchange dealing keeping[kepting] only[just] communications. Since[As|Because|As far as] blueprint[program|programme] SM однопроходная, she[it] does not set labels refered[adverted|alluded] backwards[backward|back|aback]. References on such labels are distinguished[are highlighted|are exuded] in admission to stock exchange dealing. For that, in order in the text[the discourse] of blueprint[of program|of programme] rehabilitated[recovered] утилитой SM correctly to stamp labels, is necessary[is it is necessary]: - To create[To bring to being] at aid[assistance] SM file with extending[enlargement|expansion|step-up|widening|extension]. lst. - In this file leftward in square brackets against[opposite] the name[the first name] of each[of every] command[squad|team|crew] is stamped its decimal displacement concerning[relative to] the blueprint[the program|the programme] commencement. Taking into account, what[that] blueprint[program|programme] SM generates the names of labels from[out of] sigla[symbol] "L" and the decimal displacement of command[of squad|of team|of crew] concerning[relative to] the commencement of rehabilitated[of recovered] text[discourse], lightly may be[possible|you may|it may be] rehabilitate[recover] непроставленные the labels of all commands[squads|teams|crews], to which exist references backwards[backward|back|aback]. Example[Instance]: ~~~~~~~ Here are driven of two[of 2] fragments of the admission to stock exchange deali of blueprint [of program|of programme] created[brought to being] утилитой SM, when выходной file has[is found to have] extending[enlargement| expansion|step-up|widening|extension]. lst. Into second[the second] fragment exist reference backwards[backward|back|aback] on label L215, not stamped утилитой SM. The situation[The location] of label maybe is found as to[along] decimal displacement, as shown below. ...................................................... ┌─ d4 [212]: SOUND 118, 52 │ label this[these|those] d7 [215]: IF_ < ──────────────────────────┤ commands[squads|teams|crews] d8 [216]: NOT_ │ will d9 [217]: ISSET 121 │ L215 db [219]: ELSE_ L223 └─ de [ 222]: RETURN............................................................................................................ 283 [643]: IF_ 284 [644]: EQUALN 221, 10 287 [647]: ELSE_ L656 28a [ 650]: SOUND 58, 52 28d [653]: JUMP L215; ******** this label have not [do not|not|non] ; is stamped! 290 [656]: L656 IF_ 291 [657]: EQUALN 221, 19 294 [660]: ELSE_ L666 ....................................................... The sigla[The symbol] of the conversion of line encountered[met| comed across] in the lines of communications, is superseded on sigla [symbol] ^. APPENDIX[ANNEX|SUPPLEMENT|ENCLOSURE] ========== P. 1. FILES AGDS =============== For successful job интерпретатора AGI. EXE (AGDS. EXE) in working catalog[catalogue] be due to boundly reside next[next one|the following] opened[opened up] интерпретатором at the fulfilment[the execution|the carrying out|the discharge] of playful[of actable] blueprint[program|programme], files: AGIDATA. OVL - system data интерпретатора; IBM_OBJS. OVL - оверлейные control programs[control programmes] by animated cartoons[by cartoon]; HGC_OBJS. OVL CGA_GRAF. OVL EGA_GRAF. OVL VG_GRAF. OVL - оверлейные control programs[control programmes] графикой. HGC_GRAF. OVL HGC_FONT. OVL For the buildup[the formation] of accomplished playful[actable] blueprint[program|programme], development contractor[development engineer] be due to create[bring to being] and to add to system the files of resources: OBJECT - at aid[assistance] утилиты OM; WORDS. TOK - at aid [assistance] утилиты WM; VOL. 0, VOL. 1,..., VOL. 4 - of томов data (keep resources in packaged class[type|sort]) at aid[assistance] of утилиты VM or DUU and guides (LOGDIR, VIEWDIR, PICDIR, SNDDIR) to them (are authored automatically утилитами VM or DUU). P. 1.0. THE PREPARATIONS[THE PREPARINGS] OF BLUEPRINTS[OF PROGRAMS|OF PROGRAMMES] FOR EXECUTION ИНТЕРПРЕТАТОРОМ ========================================================= Written for интерпретатора blueprint[program|programme] be due to be compliant[adequate|applicable|appropriate|consistent| corresponding|equal] image is prepared[is qualified] and processed, until she[it] can be fulfiled[carried out|executed] интерпретатором. In order to receive[gain|get|obtain|derive] executed blueprint [program|programme] You should have[be found to have]: - макроассемблер MASM 5.0 (in[into|on] block[package] AGDS does not enter); - file макроопределений ассемблера comdef. inc (enters the grading[the makeup|the composition|the constitution] of block[of package] AGDS); - линкер (link), incoming in[into|on] MS DOS versions 3.0 and upward of[upwards of]; - утилиту exe2bin, incoming in[into|on] MS DOS versions 3.0 and upward of[upwards of]. The starting text[discourse] of any[of either|of any of] logic (blueprint[program|programme] for интерпретатора) be due to be prepared[qualified] in the following way[as follows]: - logic be due to begin by next[by next one|by the following] bracket[bunch|group|team] professional traders ассемблера: IF1 INCLUDE COMDEF. INC; Include command definition ENDIF VOL EQU 0; Define volume number (number тома, in[into|to| on] ; who[which|that|whom] will be included[switched|involved|incorporated] logic) LOGIC SEGMENT BYTE ASSUME CS: LOGIC BEGIN; Start up - макроопределение from[out of] ; comdef. inc - here is commanded the blueprint[the program|the programme] text[discourse] in commands[squads|teams|crews] интерпретатора; MESSAGES 0; < - to indicate[to point|to denote|to point out] the amount of communications in logic - here area[domain|field] of communications; - logic by next[by next one|by the following] professional traders is finalized[is completed]: VERYEND EQU $ LOGIC ENDS END Similar pattern[stencil] for the mounting[the registration] of blueprint[of program|of programme] You can[may] receive[gain|get| obtain|derive], for example[for instance] in file A. asm, in the following way[as follows]: - to create[to bring to being] blank file A by command[by squad| by team|by crew] MS DOS: copy con A, after what to press blank[blank space] and combination Ctrl+Z; - to launch утилиту of block[of package] SM: sm A A. asm. Prepared[Qualified] thus[in this way|so|in such a way] the text[the discourse] of blueprint[of program|of programme] bestowed in [into|on] file имя_логики. asm is processed then in the following way [as follows]: a) ассемблирование of the starting text[discourse] of logic макроассемблером: MASM имя_логики; and the procuration[the receipt|the reception|the getting| the receipt of|the receiving] of file имя_логики. obj b) the transformation of file имя_логики. obj in[into|on] file имя_логики. exe at aid[assistance] system линкера: LINK имя_логики; c) the transformation of file имя_логики. exe in[into|on] file имя_логики. bin system утилитой exe2bin: EXE2BIN имя_логики d) rider (the changing coexisting[subsisting]) of logic- resource by means of[with the help of] утилиты block [package] DUU: duu l 0 0 1 имя_логики. bin ┬ ┬ ┬ ┬ └ > ┼─┼─┼───────────────── accrues logic └ > ┼─┼───────────────── the number (of logic) 0 └ > ┼───────────────── in[into|on] that number 0 └ > ──────────────── regime[regimen|schedule] трансляции логик for интерпретатора AGDS=1, for AGI=0; Moves[Steps] a), b), c) can[may] be united[amalgamated] in [into|to|on] compliant[adequate|applicable|appropriate|consistent| corresponding|equal] пакетный (. bat) file which at the deployment[the use] of capsule[of shell] NC (Norton Commander), can[may] be caused, for example[for instance], automatically as to[along] extending [enlargement|expansion|step-up|widening|extension] (. asm). For this [these|those] is necessary[is it is necessary] to include in file nc. ext командную line for the processing[the working-up] of files with extending[enlargement|expansion|step-up|widening|extension]. asm (at stipulation[condition|provision], what[that] пакетный file resides in корневом catalog[catalogue]): asm: c:\abc. bat! In this case for fulfilment[execution|carrying out|discharge] over[above] file with extending[enlargement|expansion|step-up|widening| extension]. asm moves[steps] a), b), c) is necessary[is it is necessary] to institute on it[him] highlight NC and to press key Enter. File nc. ext may be[possible|you may|it may be] develop and to edit by means of[with the help of] any [either|any of] text[textual] editor or to use[to utilize] built-in editor NC (to press F9 and to select regime[regimen|schedule] eXtension file edit in[into|to|on] подменю Commands). At all[In general|Generally], all resources (logic, picture, view, sound), until they can[may] be used[utilized] интерпретатором, be due to be packed in[into|to|on] тома (files vol. n, where n - number тома) at the aid[the assistance] of утилит block[package] VM or DUU which at the same time create[construct|call into existence] and the files of guides (logdir, picdir, viewdir and snddir), as to[along] which of интерпретатор at the time[at the time of] the execution of blueprint[of program|of programme] derives[draws] necessary (stated in логиках) resources from[out of] томов. Picture -, view -, sound-resources and endogenous[home] table [table of] отладчика (log. dbg) can[may] be included in compliant [adequate|applicable|appropriate|consistent|corresponding|equal] тома at aid[assistance] утилиты duu in the following way[as follows]: duu p 0 1 2 PICTURE. 0 duu v 5 2 2 VIEW. 5 duu s 10 3 2 SOUND. 10 duu l 100 0 1 LOG. DBG ┬ ─┬─ ┬ ┬ ───┬───── └ > ─┼──┼─┼────┼─────────── the first sigla[symbol] the name[the first name] of resource; └ > ─┼─┼────┼─────────── the number of resource, as to [along] which it[he] │ │ │ will загружаться интерпретатором; └ > ┼────┼─────────── number тома; └ > ───┼─────────── regime[regimen|schedule] трансляции; └ > ────────── the name[the first name] of file keeping[kepting] resource; For picture -, view -, of sound-resources regime[regimen| schedule] трансляции always 2. After the ending[the completion] of assemblage[of assembling] томов may be[possible|you may|it may be] launch интерпретатор. P. 1.1 PARAMETERS OF КОМАНДНОЙ LINE ИНТЕРПРЕТАТОРА AGDS ===================================================== Blueprint[Program|Programme] ADGS (AGI) can[may] assume[accept] at командной the line of two[of 2] parameters: the first - the type of computer:-p for PC, PCjr, PC/XT, PC/AT; - t for TANDY; second[the second] - the type of monitor:-c CGA; - r RGB; - e EGA; - v VGA; - h Hercules. The assignment[The task] of these parameters does not be[is] bound[compulsory], since[as|because|as far as] интерпретатор keeps in [into|on] itself[ourselves] assets[facilities] for automatic definition the configuration of computer. All practices[acts|actions|deeds] интерпретатора are programed by development contractor[by development engineer]. By sole key, on [onto|upon] which there is changeless[immutable|standing|unchangeable| unchanged|unvaried|constant] reaction[rebound], bes[ises] key Scroll Lock which serves for the inclusion/of switching off[of turning off] built-in отладчика-дизассемблера. P. 1.2 FILES OF THE GUIDES OF RESOURCES =============================== The all resources of system, except for pieces[subjects] ( Object-resource) of and vocabulary (Word-resource), are situated[are stationed] in files VOL. n one for other[another]. Guides allowing [letting|permitting] to determine[to define|to designate] the number of file VOL. n keeping[kepting] resource, and the address of it[of its| of his] commencement in file VOL. n, reside in the files of guides: LOGDIR for Logic of-resources, PICDIR for Picture-resources, SNDDIR for Sound-resources, VIEWDIR for View-resources. The file of guides consists of[consistses of] трехбайтовых the fields (of guides) headquartered in succession so[thus], what[that] guide number n points[points out] the disposition[the spacing] of nного resource. THE GUIDE FORMAT ---------------- 0 1 2 3 ┌──────┬──────┬──────────────┬────────── │Volume│ │ │ ║ ╘══════╪══════╧══════════════╧══════════ ├ < ───────────── Offset ───────────── > ┤ 0 1 2 3 ┌─────────────┬──────────────┬────────── │ FF │ FF │ FF ║ < ───Обозначает blank ╘═════════════╧══════════════╧══════════ guide, i.e. compliant[adequate|applicable|appropriate|consistent| corresponding|equal] resource does not coexist[subsist] 4 bit fields Volume defines the number of file VOL. n. 20-ти битовоe fields Offset определяе displacement in bytes concerning[relative to] the commencement of file VOL. n ante the commencement of the prefix of resource. P. 2. THE FORMAT OF FILE VOLUME ========================= Each[Every] resource in file VOL. n has[is found to have] 5- байтовый prefixes, black-coated worker[employe|employee|executive| office worker|white collar|white-collar worker|salaried employee| salary earner|salary worker|salaried man] for the appellation[the notation|the denotation|the designation] of the commencement of resource and it[its|his] length. THE PREFIX FORMAT --------------- 0 1 2 3 4 ┌───────────┬────────────┬────────────┬─ │ 1 2 │ 3 4 │ │ │ ║ ╘═══════════╧════════════╧════════════╧═ Volume Length Сигнатура[Signatura] 1234 serves feature[indication] the commencements of resource. Field Volume - be due to consist with the number of file VOL. n, in [into|to|on] which resides given resource. Field Length - keeps length next[next one|the following] for the resource prefix in bytes. Field Length is charged in the format of word, i.e. minor[junior] byte precedes[is followed by] elder[eldest|older|oldest|senior|superior]. P. 2.1 FORMATS of PICTURE-resource ============================ Picture-resource submits[presents] собой the chain[the suceession] graphical примитивов (of commands[of squads|of teams|of crews]), execution which lets нарисовать back-ground[background] and to attribute to it[its|his] points necessary priorities. Примитив[Primitiv] submits[presents] собой однобайтовый the code of graphical command[squad|team|crew], for which can[may] follow однобайтовые операнды. The commencement of next[of next one|of the following] command[squad|team|crew] automatically causes ending [completion] prev. 1. To establish[To institute|To set up] current color[colour] ----------------------- Code F0. Операнд[Operand]: the color[the colour] number. The originally all points of back-ground[of background] have[are found to have] white color[colour] and priority 4. Example[Instance]: F00C - to establish[to institute|to set up] current color[colour] - vivid-red. Everything graphical примитивы, next[next one|the following] for this command[squad|team|crew], will use[utilize] for отображения standing[determined|specified] color[colour]. 2. To revoke[To annul|To cancel|To vacate] current color[colour] --------------------- Code F1. 3. To establish[To institute|To set up] current priority ---------------------------- Code F2. Операнд[Operand]: priority. Example[Instance]: F20D - to establish[to institute|to set up] current priority 13. 4. To revoke[To annul|To cancel|To vacate] current priority -------------------------- Code F3. 5. Отобразить[Otobrazit] broken line ------------------------ Three[3] graphical примитива serve for отображения of broken lines. Code F4. Операнды[Operandy]: x, y, y1, x2, y3, x4,... Рисует[Risuet] line by current color[colour] and priority consisting of intervals vertical and horisontal[horizontal| aclinic] lines: The first line vertical. Example[Instance]: F4'28'32'64'78'32'29 Рисует[Risuet] self-contained rectangle[square] in the screen center[centre] (40.50) (120.50) ┌────────────────────┐ │ │ │ │ └────────────────────┘ (40.100) (120.100) Code F5. Операнды[Operandy]: x, y, x1, y2, x3, y4,.... Command[Squad|Team|Crew] analogous F4, but the first line horisontal[horizontal|aclinic]. Example[Instance]: 'F5'28'32'78'64'28'33 The same rectangle[square]. Code F6. Операнды[Operandy]: x, y, x1, y1, x2, y2, x3, y3,..... Command[Squad|Team|Crew] чертит broken line consisting of intervals direct generally condition[plight|setup|standing]. Example[Instance]: 'F6'50'32'28'64'78'64'50'32 Triangle (80.50)/\ /\/\ (40.100) - - - - - - (120.100) Code F7. Операнды[Operandy]: x, y, 1, 2, 3,.... This command[squad|team|crew] bes[ises] kind[modification| paradigm|sort|variety] commands[squads|teams|crews] прочерчивания blanket[corporate|common|general|total] broken line consisting of very short intervals. Shall mean packaged in[into|on] one byte two[2] values dx and dy: ┌───────────────┬───────────────╖ │ Sx x x x │ Sy y y y ║ ╘═══════════════╧═══════════════╝ x x x - value from 0 ante 6 - consequence[value] dx, if Sx=1; oт 0 ante 7 - if Sx=0; y y y - value from 0 ante 7 - consequence[value] dy; Sx, Sy - if this[these|those] is beaten[is basted|is pummeled] equal 0 that compliant[adequate|applicable|appropriate| consistent|corresponding|equal] берется with is acquainted plus, otherwise[else] with is acquainted minus. Example[Instance]: 'F7'4D'4D'60'06'E0'0D (77.77) (83.77) ┌────────────┐ │ │ │ │ │ │ └────────────┘ (77.83) (83.83) 6. Нарисовать[Narisovat] point. ------------------ Code F8. Операнды[Operandy] x1, y1, x2, y2, x3, y3,..... 7. Нарисовать[Narisovat] point. ------------------ Code F9. Операнд[Operand]: p. Операнд[Operand] has[is found to have] next[next one|the following] format: ┌───────────────┬─────────────────╖ │ r c │ s s s ║ ╘═══════════════╧═════════════════╝ s s s - numeral[number] from 0 ante 7, the determinative measure [size] of featured point; with - if "point" has[is found to have] measure[size] more 2, and this[these|those] is beaten[is basted|is pummeled] equal 0 that "point" is featured in the form circle. If с=1 that in the form square; r - if this[these|those] is beaten[is basted|is pummeled] equal 1 that "point" рисуется "полупрозрачной" with the numeral [the number] relation[attitude|quotient] закрашенных of elements to незакрашенным 1/3. The rest[The rest of] are beaten[are basted|are pummeled|are chipped] be due to amount 0. Code FA. Операнды[Operandy]: if in prev command[squad|team| crew] F9 beaten[basted|pummeled] r=0 that x1, y1, x2, y2, x3, y3,..... r=1 r1, x1, y1, r2, x2, y2, r3, x3, y3,..... x (i), y (i) - the coordinates of the center[of the centre] of point; r (i) - arbitrary[random|rule-of-thumb] numeral[number], from consequence[value] which depends the disposition[the spacing] of закрашенных elements within "полупрозрачной" point. 8. the Job end. -------------- Code FF. P. 2.1 FORMATS of VIEW-resource ========================= the Cadre code in resource is built in the following way[as follows]. In the first three[3] bytes of code are pointed[are pointed out] breadth[width], height of and описатель cadre. Onward[Further|Forthwith|Further on] follows the code of the representation of cadre. ┌──────┬──────┬──────╖ The first three[3] bytes: │ │ │ ║ ╘══╤═══╧═══╤══╧═══╤══╝ │ │ │ v v │ breadth[width] height v описатель ┌──────────────────────╖ │s 0 l l b b b b║ ╘══════════════════════╝ s - flag[banner] symmetry. 0 - cadre symmetrical as to[along] вертикали; 1 - not symmetrical (see below); l l - the number of cycle[of cyclic process] (0-3) for unsymmetrical manpower (see below); b b b b - selected the color[the colour] of back-ground[of background]. the Representation code is built from[out of] the consistent [the sequent|the sequential] codes of the lines of cadre. Each[Every] code of the line of cadre is finalized[is completed] by null byte. The code of the line of cadre consists of[consistses of] байтовых of the fields of next[of next one|of the following] class [type|sort]: ┌──────────┬──────────╖ │c c c c│n n n n║ ╘══════════╧══════════╝ color[colour] canvasser[counter|enumerator] ( 0-15) (1-15) Cчетчик shall mean the numeral[the number] of the consistent [of the sequent|of the sequential] elements of the line of cadre having indicated[pointed|denoted|pointed out] color[colour]. Example[Instance]. Believing[Accounting|Counting], what[that] color [colour] of back-ground[of background] - 0 (black), and[but] the color [the colour] of representation vivid-кра~~~~~~ сный (12), for "right arrow"[arrow-head"] shall receive[shall gain|shall get|shall obtain| shall derive] code: 0A 07 80 06 C1 00 06 C2 00 C1 05 C3 00 шир выс not симм., 1-st line 2-nd line 3-d line фон=0 CA 00 C1 05 C3 00 06 C2 00 06 C1 00 4-th line 5-th line 6-th line 7-th line We shall notice that[what] if, since[as from] certain place [spot] and ante the end of line, all points have[are found to have] the color[the colour] of back-ground[of background] that their may be [possible|you may|it may be] do not code[codify]. Moving representation (cartoon[animated cartoon]) consists of [consistses of] several manpower, сменяющих each other[one another]. Such chain[suceession] next[next one|the following] one for other manpower is entitled BY CYCLE[BY CYCLIC PROCESS] (believing[accounting| counting], what[that] null cadre follows for the latest[the latter]). cel 0 cel 1 cel n-1 ───── > ───── >..... ───── > Cycle[Cyclic process] (loop) from[out of] n manpower. the Cycle[the cyclic process] code --------- ┌─┬─────────┬─────────┬─ ─┬───────────┬──────┐ ┌────────╖ │ │ │ │ │ │ │ │ ║ │n│offset (0) │offset (1) │.... │offset (n-1) │cel (0) │... │cel (n-1) ║ │ │ │ │ │ │ │ │ ║ ╘═╧═════════╧═════════╧═ ═╧═══════════╧══════╛ ╘════════╝ n - the numeral[the number] of manpower in cycle[cyclic process]; offset (1) - displacement in the bytes of the commencement of the code of compliant[of adequate|of applicable|of appropriate|of consistent|of corresponding|of equal] cadre concerning[relative to] the commencement of the code of cycle[of cyclic process]; cel (0) - the code of cadre 0; cel (n-1) - the code of cadre n-1. Finally[At last|At length], the kit[the bundle|the family] of cycles[of cyclic processes] will make up[will form] blanket[complete| full] View-resource. The code of View-resource ---------------- ┌──┬──┬─┬─────┬─────────┬─────────┐ ┌───────────┬───────┐ ┌─────────╖ │ │ │ │ │ │ │ │ │ │ │ ║ │01│01│N│dcscr│offset (0) │offset (1) │.. │offset (N-1) │loop (0) │.. │loop (N-1) ║ │ │ │ │ │ │ │ │ │ │ │ ║ ╘══╧══╧═╧═════╧═════════╧═════════╛ ╘═══════════╧═══════╛ ╘═════════╝ ┌─────┬──╖ │ │ ║ │... │00║ ╘══╤══╧══╝ │ V description[delineation|depiction] - the line of siglas[of symbols] finished by null byte. Description[Delineation|Depiction] can[may] be absent. COMPACT RENDERING[SUBMISSION] INFORMATION[DATA] WITHIN View- resource ----------------------------------------------------------- 1. If cycle[cyclic process] keeps two[2] or more[any more|any longer| anymore] similar manpower, of that displacement in the cycle[the cyclic process] code can[may] point at[point to] one and the same code of cadre. 2. If of two[of 2] cycles[cyclic processes] from[out of] the first four[4] (i.e. 0.1, 2.3) be mirror images each other[one another] ( for example[for instance], "man["human being] goes rightward" and "man["human being] goes leftward"), of that displacement of these cycles[cyclic processes] in code View can[may] point at[point to] one and the same code of cycle[of cyclic process]. In this case into the all manpower of such cycle[cyclic process] заносится the consequence[the value] of flag[of banner] symmetry and the numbers of that cycle[cyclic process] which is valid for a period is portrayed[is depicted]. In all of cycles[cyclic processes] with numbers 4.5, 6..., flag[banner] symmetry be due to amount 0 in any event[in any case|anyhow|at all events]. The mirror image of each[of every] cadre is fabricated[is produced] directly[immediately|right away|at close range|from close by|from quite near] within resource, and because length of code can [may] in doing so increase[augment|rise|enlarge], of that at the end codes of manpower, liable "переворачиванию", follows of зарезервировать fairly place[spot] (to charge necessary the amount of null bytes). P. 2.3 FORMATS of LOGIC-resource ========================== │ │ ├ < ────────────── End ────────────────── > ┤ ┌──────┬ - ─ ─ ─ ─ ┬───┼─────┬─────────┬ - ─┬────────── - ─ ─ ───╖ │ │ │ │ │ │ │|║ │Offset│ Commands │ k │ End │Offset 1 │... │Offset k| messages ║ │ │ │ │ │ │ │|║ ╘══════╪═ ─ ─ ─ ─ ╪═══╧═════╧═════════╧═ ═╧═══════════ ─ ─ ─══╝ │ │ │ Offset │ ├ < ──────── > ┤ Field Offset keeps length next[next one|the following] for it [them] fields of commands[of squads|of teams|of crews] интерпретатора. Onward[Further|Forthwith|Further on] follows byte k keeping [kepting] the numeral[the number] of communications in[into|on] field messages. Cмещение End serves for direction on end area[domain|field] messages. Offset 1,..., Offset k be the biases[the displacements|the depositions] of the commencements of compliant[of adequate|of applicable|of appropriate|of consistent|of corresponding|of equal] communications. Field messages keeps the texts[the discourses] of communications submitting[presenting] собой finished by null byte the lines of type: m1 db 'The first traffic", 0 P. 2.4 FORMATS of OBJECT-resource =========================== Object-resource is stored in stand-alone file OBJECT. This resource serves for the rendering[the submission] of pieces[of subjects]. BY PIECE[BY SUBJECT] is entitled composition[pattern| structure] consisting of однобайтовой cells by called room (room), of and text[textual] line serving the piece[the subject] title[name| denomination]. If consequence[value] cells room for given piece[subject] equally 255 that is believed[is accounted|is counted] that[what] piece [subject] belongs[belongs to] playing. Failing this[In default|To the contrary] is believed[is accounted|is counted] that[what] piece [subject] "resides in room" with number room. Apart from that, in Object-resource resides byte, the determinative maximal[maximum] number of powered entity[object] (see the description[the delineation|the depiction] of Logic-resource). THE COMPOSITION[THE PATTERN|THE STRUCTURE] of Object-resource. -------------------------- ┌──── > the maximal[the maximum] number of powered entity [object] 0 1 2 │ 3 ┌──────┬─┼─┬───────┬─────┬───────┬─────┐ ┌───────┬─────┬─ - ─┬──┬─ │ │ │ │ │ │ │ │.. │ │ │ │ │ │Offset│ │Offset1│room1│Offset2│room2│ │Offset3│room3│Строка1│00│.. │ │ │ │ │ │ │.. │ │ │ │ │ ╘══════╧═══╪═══════╧═════╧═══════╧═════╛ ╘═══════╧═════╧══ ═╧══╧═ │ послед. the lines │ ├ < of ──── all[whole|entire] displacement concerning[relative to] this point Offset - the displacement of the first line in[into|on] the suceessions of lines; Offset (i) - the displacement of line serving the title[the name|the denomination] of i-that piece [subject]; room (i) - ячейка keeping[kepting] the number of room, where resides i-ый piece[subject]; Lines - any[either|any of] chains [suceessions] of siglas[of symbols] finalized[completed] by null byte. For сокрытия from playing of names and the situation[the location] of pieces[of subjects], Object-resource is enciphered and is stored in file OBJECT in нечитаемом class[type|sort]. P. 3. THE CODES OF MISTAKES[OF ERRORS|OF BLUNDERS|OF BALKS] AGDS (AGI) ========================== In the event[In case of|In case] the appearance[the advent] of mistake[of error|of blunder|of balk] in[into|to|on] Var (17) заносится the code of mistake[of error|of blunder|of balk], in[into|to|on] Var ( 18) additional information[supplementary information], and stems of перезапуск logic 0 from the start[from the beginning|ab initio]. ┌───────┬───────────────┬─────────────── │ │ │ │ ║ │Var (17) │источник ошибки│ Var (18) │ description[delineation|depiction] ║ │ │ │ │ ║ ├───────┼───────────────┼─────────────── │ │ │ │ ║ │ 1 │ discard_view │ number View │ View - resource was not ║ │ │ │ │ загружен ║ │ │ │ │ ║ │ 2 │ set_view │ the numbers of entity[of object] │ the anomalous[the undue] number of ║ │ │ │ │ entity[object] ║ │ │ │ │ ║ │ 3 │ set_view │ numbers View │ View resource not загружен ║ │ │ │ │ ║ │ 4 │ set_loop │ the number of entity[of object] │ the anomalous[the undue] number of ║ │ │ │ │ entity[object] ║ │ │ │ │ ║ │ 5 │ set_loop │ the numbers of entity[of object] │ the untrue number of cycle[of cyclic process] ║ │ │ │ │ ║ │ 6 │ set_loop │ the numbers of entity[of object] │ with entity[object] is not connected ║ │ │ │ │ View - resource ║ │ │ │ │ ║ │ 7 │ set_cel │ the numbers of entity[of object] │ anomalous[undue] number ║ │ │ │ │ of entity[of object] ║ │ │ │ │ ║ │ 8 │ set_cel │ the numbers of entity[of object] │ the untrue number of cadre ║ │ │ │ │ ║ │ 9 │ sound │ numbers Sound │ Sound - resource not ║ │ │ │ │ загружен ║ │ │ │ │ ║ │ 10 │ set_cel │ the numbers of entity[of object] │ with entity[object] is not connected ║ │ │ │ │ View - resource ║ │ │ │ │ ║ │ 11 │? │ maximal [maximum] │ overshoot[overstocking] script - ║ │ │ │ the measure[the size] of script - │ the buffer[the bolster] of ║ │ │ │ buffer [bolster] │ ║ │ │ │ │ ║ │ 12 │ ere │ the numbers of entity[of object] │ the anomalous[the undue] number of ║ │ │ │ │ entity[object] ║ │ │ │ │ ║ │ 13 │ animate_obj │ the numbers of entity[of object] │ anomalous[undue] number ║ │ │ │ │ of entity[of object] ║ │ │ │ │ ║ │ 14 │ print │ numbers сообщени │ traffic is absent[theres is none] ║ │ │ │ │ ║ │ 15 │ command[squad|team|crew]-test │ next byte │ within arbitrary[conditional] инст - ║ │ │ │ from[out of] Logic - │ рукции encountered non ║ of │ │ │ resource │ correct byte ║ │ │ │ │ ║ │ 16 │ command[squad|team|crew] │ next byte │ within Logic - of resource ║ │ │ │ from[out of] Logic - │ encountered of imadmissible[of inadmissible] ║ │ │ │ resource │ code ║ │ │ │ │ ║ │ 17 │? │ object_number │ endogenous[home] mistake[error|blunder|balk] inter - ║ │ │ │ │ претатора ║ │ │ │ │ ║ │ 18 │ draw_pic │ numbers Picture │ Picture - resource not for - ║ │ │ │ │ is loaded. ║ │ │ │ │ ║ │ 19 │ draw │ the number of entity[of object] │ anomalous[undue] number объ - ║ │ │ │ │ екта ║ │ │ │ │ ║ │ 20 │ draw │ the numbers of entity [of object] to │ entity[object] not сопоставлен ║ │ │ │ │ View - resource. ║ │ │ │ │ ║ │ 21 │ discard_pic │ numbers Picture │ Picture resource not for - ║ │ │ │ │ is loaded ║ │ │ │ │ ║ │ 22 │? │ number Logic │ endogenous[home] mistake[error|blunder|balk] inter - ║ │ │ │ │ претатора ║ │ │ │ │ ║ │ 23 │ get or put │ the numbers of piece[of subject] │ anomalous[undue] number pre- ║ │ │ │ │ мета ║ │ │ │ │ ║ ╘═══════╧═══════════════╧═══════════════