亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sail.6

?? 早期freebsd實現
?? 6
?? 第 1 頁 / 共 3 頁
字號:
.\" Copyright (c) 1988, 1993.\"	The Regents of the University of California.  All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\"    notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\"    notice, this list of conditions and the following disclaimer in the.\"    documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\"    must display the following acknowledgement:.\"	This product includes software developed by the University of.\"	California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\"	@(#)sail.6	8.2 (Berkeley) 12/30/93.\".TH SAIL 6 "December 30, 1993".UC 4.SH NAMEsail \- multi-user wooden ships and iron men.SH SYNOPSIS.B sail[.B \-s[.B \-l] ] [.B \-x] [.B \-b] [.B num].br.fi.SH DESCRIPTION.I Sailis a computer version of Avalon Hill's game of fighting sailoriginally developed by S. Craig Taylor..PPPlayers of.I Sailtake command of an old fashioned Man of War and fight otherplayers or the computer.  They may re-enact one of the manyhistorical sea battles recorded in the game, or they can choosea fictional battle..PPAs a sea captain in the .I SailNavy, the player has complete control over the workings of his ship.He must order every maneuver, change the set of his sails, and judge theright moment to let loose the terrible destruction of his broadsides.In addition to fighting the enemy, he must harness the powers of the windand sea to make them work for him.  The outcome of many battles during theage of sail was decided by the ability of one captain to hold the `weathergage.'.PPThe flags are:.TP.B \-sPrint the names and ships of the top ten sailors..TP.B \-lShow the login name.  Only effective with \fB-s\fP..TP.B \-xPlay the first available ship instead of prompting for a choice..TP.B \-bNo bells..SH IMPLEMENTATION.I Sailis really two programs in one.  Each player starts up a process whichruns his own ship.  In addition, a.I driverprocess is forked (by the first player) to run the computer shipsand take care of global bookkeeping..PPBecause the.I drivermust calculate moves for each ship it controls, themore ships the computer is playing, the slower the game will appear..PPIf a player joins a game in progress, he will synchronizewith the other players (a rather slow process for everyone), and then he may play along with the rest..PPTo implement a multi-user game in Version 7 UNIX, which was the operatingsystem.I Sailwas first written under, the communicating processes must use a commontemporary file as a place to read and write messages.  In addition, alocking mechanism must be provided to ensure exclusive access to theshared file.  For example,.I Sailuses a temporary file named /tmp/#sailsink.21 for scenario 21, andcorresponding file names for the other scenarios.  To provide exclusiveaccess to the temporary file, .I Sailuses a technique stolen from an old game called "pubcaves" by Jeff Cohen.Processes do a busy wait in the loop.br.sp.ce 2	for (n = 0; link(sync_file, sync_lock) < 0 && n < 30; n++)		sleep(2);.br.spuntil they are able to create a link to a file named "/tmp/#saillock.??".The "??" correspond to the scenario number of the game.  Since UNIX guarantees that a link will point to only one file, the process that succeedsin linking will have exclusive access to the temporary file..PPWhether or not this really works is open to speculation.  When ucbmirowas rebooted after a crash, the file system check program found 3 linksbetween the.I Sailtemporary file and its link file..SH CONSEQUENCES OF SEPARATE PLAYER AND DRIVER PROCESSESWhen players do something of global interest, such as moving or firing,the driver must coordinate the action with the other ships in the game.For example, if a player wants to move in a certain direction, he writes amessage into the temporary file requesting the driver to move his ship.Each ``turn,'' the driver reads all the messages sent from the players anddecides what happened.  It then writes back into the temporary file newvalues of variables, etc..PPThe most noticeable effect this communication has on the game is thedelay in moving.  Suppose a player types a move for his ship and hitsreturn.  What happens then?  The player process saves up messages tobe written to the temporary file in a buffer.  Every 7 seconds or so, theplayer process gets exclusive access to the temporary file and writes out its buffer to the file.  The driver, running asynchronously, mustread in the movement command, process it, and write out the results.  Thistakes two exclusive accesses to the temporary file.  Finally, when the player process gets around to doing another 7 second update, the results of themove are displayed on the screen.  Hence, every movement requires fourexclusive accesses to the temporary file (anywhere from 7 to 21 secondsdepending upon asynchrony) before the player sees the results of his moves..PPIn practice, the delays are not as annoying as they would appear.  Thereis room for "pipelining" in the movement.  After the player writes outa first movement message, a second movement command can then be issued.The first message will be in the temporary file waiting for the driver, andthe second will be in the file buffer waiting to be written to the file.Thus, by always typing moves a turn ahead of the time, the player cansail around quite quickly..PPIf the player types several movement commands between two 7 second updates,only the last movement command typed will be seen by the driver.  Movementcommands within the same update "overwrite" each other, in a sense..SH THE HISTORY OF SAIL I wrote the first version of.I Sailon a PDP 11/70 in the fall of 1980.  Needless to say, the code was horrendous,not portable in any sense of the word, and didn't work.  The program was notvery modular and had fseeks() and fwrites() every few lines.  After atremendous rewrite from the top down, I got the first working version up by1981.  There were several annoying bugs concerning firing broadsides andfinding angles..I Sailuses no floating point, by the way, so the direction routines are rather tricky.Ed Wang rewrote my angle() routine in 1981 to be more correct (althoughit still doesn't work perfectly), and he added code to let a player selectwhich ship he wanted at the start of the game (instead of the first oneavailable)..PPCaptain Happy (Craig Leres) is responsible for making.I Sailportable for the first time.  This was no easy task, by the way.  Constantslike 2 and 10 were very frequent in the code.  I also became famous forusing "Riggle Memorial Structures" in.I Sail.Many of my structure references are so long that they run off the lineprinter page.  Here is an example, if you promise not to laugh..br.sp.cespecs[scene[flog.fgamenum].ship[flog.fshipnum].shipnum].pts.br.sp.PP.I Sailreceived its fourth and most thorough rewrite in the summer and fallof 1983.  Ed Wang rewrote and modularized the code (a monumental feat)almost from scratch.  Although he introduced many new bugs, the finalresult was very much cleaner and (?) faster.  He added window movementcommands and find ship commands..SH HISTORICAL INFOOld Square Riggers were very maneuverable ships capable of intricatesailing.  Their only disadvantage was an inability to sail very close to the wind.  The design of a wooden ship allowed only for theguns to bear to the left and right sides.  A few guns of smallaspect (usually 6 or 9 pounders) could point forward, but theireffect was small compared to a 68 gun broadside of 24 or 32 pounders.The guns bear approximately like so:.nf       \\        b----------------    ---0        \\         \\          \\     up to a range of ten (for round shot)           \\            \\             \\.fiAn interesting phenomenon occurred when a broadside was fireddown the length of an enemy ship.  The shot tended to bounce alongthe deck and did several times more damage.  This phenomenon was calleda rake.  Because the bows of a ship are very strong and present a smallertarget than the stern, a stern rake (firing from the stern to the bow) causesmore damage than a bow rake..nf                        b                       00   ----  Stern rake!                         a.fiMost ships were equipped with carronades, which were very large, closerange cannons.  American ships from the revolution until the War of 1812were almost entirely armed with carronades..PPThe period of history covered in.I Sailis approximately from the 1770's until the end of Napoleonic France in 1815.There are many excellent books about the age of sail.  My favorite authoris Captain Frederick Marryat.  More contemporary authors include C.S. Foresterand Alexander Kent..PPFighting ships came in several sizes classed by armament.  The mainstays ofany fleet were its "Ships of the Line", or "Line of Battle Ships".  Theywere so named because these ships fought together in great lines.  They wereclose enough for mutual support, yet every ship could fire both its broadsides.We get the modern words "ocean liner," or "liner," and "battleship" from"ship of the line."  The most common size was the the 74 gun two deckedship of the line.  The two gun decks usually mounted 18 and 24 pounder guns..PPThe pride of the fleet were the first rates.  These were huge three deckedships of the line mounting 80 to 136 guns.  The guns in the three tierswere usually 18, 24, and 32 pounders in that order from top to bottom..PPVarious other ships came next.  They were almost all "razees," or shipsof the line with one deck sawed off.  They mounted 40-64 guns and werea poor cross between a frigate and a line of battle ship.  They neitherhad the speed of the former nor the firepower of the latter..PPNext came the "eyes of the fleet."  Frigates came in many sizes mountinganywhere from 32 to 44 guns.  They were very handy vessels.  They couldoutsail anything bigger and outshoot anything smaller.  Frigates didn'tfight in lines of battle as the much bigger 74's did.  Instead, theyharassed the enemy's rear or captured crippled ships.  They were muchmore useful in missions away from the fleet, such as cutting out expeditionsor boat actions.  They could hit hard and get away fast..PPLastly, there were the corvettes, sloops, and brigs.  These were smallerships mounting typically fewer than 20 guns.  A corvette was only slightlysmaller than a frigate, so one might have up to 30 guns.  Sloops were usedfor carrying dispatches or passengers.  Brigs were something you built for land-locked lakes..SH SAIL PARTICULARSShips in.I Sailare represented by two characters.  One character represents the bow ofthe ship, and the other represents the stern.  Ships have nationalitiesand numbers.  The first ship of a nationality is number 0, the secondnumber 1, etc.  Therefore, the first British ship in a game would beprinted as "b0".  The second Brit would be "b1", and the fifth Donwould be "s4".  .PPShips can set normal sails, called Battle Sails, or bend on extra canvascalled Full Sails.  A ship under full sail is a beautiful sight indeed,and it can move much faster than a ship under Battle Sails.  The onlytrouble is, with full sails set, there is so much tension on sail andrigging that a well aimed round shot can burst a sail into ribbons whereit would only cause a little hole in a loose sail.  For this reason,rigging damage is doubled on a ship with full sails set.  Don't letthat discourage you from using full sails.  I like to keep them up

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲夂夂婷婷色拍ww47| 中文字幕一区二区三区不卡| 国产精品久久久久一区| 亚洲国产精品久久久男人的天堂 | 91精品国产一区二区人妖| 国产亚洲精品aa| 亚洲国产精品久久一线不卡| 国产夫妻精品视频| 欧美一区二区三区免费在线看 | 欧美在线免费观看亚洲| 国产亚洲成av人在线观看导航 | 国产喂奶挤奶一区二区三区| 亚洲v精品v日韩v欧美v专区| 成人污视频在线观看| 日韩精品综合一本久道在线视频| 亚洲黄色小说网站| www.亚洲免费av| 精品国产露脸精彩对白| 日韩精品乱码av一区二区| 色综合久久综合中文综合网| 国产亚洲女人久久久久毛片| 男人的天堂久久精品| 精品视频色一区| 亚洲免费观看视频| 成人app在线| 久久久久国产精品麻豆ai换脸 | 国产日韩欧美麻豆| 久久精品久久精品| 777久久久精品| 亚洲大片免费看| 在线免费一区三区| 亚洲区小说区图片区qvod| 成人小视频免费在线观看| 精品国产自在久精品国产| 日本成人在线看| 91.麻豆视频| 亚洲va欧美va人人爽| 色婷婷激情久久| 亚洲伦理在线免费看| 99riav久久精品riav| 中文字幕成人在线观看| 国产盗摄女厕一区二区三区| 久久久亚洲欧洲日产国码αv| 日本va欧美va精品| 日韩一区二区中文字幕| 日韩精品免费专区| 日韩视频在线永久播放| 免费亚洲电影在线| 欧美va亚洲va| 国产一区欧美二区| 久久久久久9999| 高清在线成人网| 国产精品美女一区二区| 99精品视频在线观看免费| 中文字幕视频一区二区三区久| av在线不卡网| 亚洲精品老司机| 欧美日韩在线播放三区四区| 亚洲图片欧美综合| 欧美一区欧美二区| 美女网站在线免费欧美精品| 欧美成人国产一区二区| 国精产品一区一区三区mba桃花| wwwwww.欧美系列| 国产成人免费视频网站| 国产精品乱人伦| 色综合激情久久| 午夜精品久久久| 日韩视频免费观看高清完整版 | 国产精品久久久久久久久免费相片 | 精品国产免费视频| 成人在线综合网| 亚洲精品老司机| 91精品国产一区二区| 国产又粗又猛又爽又黄91精品| 欧美激情一区二区在线| 色综合久久天天综合网| 午夜av一区二区| 精品日韩欧美一区二区| 丁香婷婷综合五月| 一区二区免费看| 日韩一区二区电影| 国产成a人亚洲| 樱桃视频在线观看一区| 91精品久久久久久久91蜜桃| 国产乱子轮精品视频| 亚洲三级视频在线观看| 欧美精品丝袜久久久中文字幕| 久久成人免费网| 国产精品伦理一区二区| 欧美日韩三级视频| 国产伦精一区二区三区| 亚洲欧美另类久久久精品| 7777女厕盗摄久久久| 国产成人精品一区二区三区网站观看| 亚洲美女视频在线| 日韩欧美高清一区| 99视频有精品| 免费在线观看日韩欧美| 中文字幕色av一区二区三区| 欧美理论电影在线| 成人免费黄色在线| 日韩精品免费专区| 国产精品久久久久一区二区三区| 欧美电影在哪看比较好| 成人免费视频免费观看| 日韩国产欧美在线视频| 国产精品国产精品国产专区不蜜| 欧美伦理电影网| 99视频热这里只有精品免费| 捆绑调教一区二区三区| 亚洲女厕所小便bbb| 精品国产免费久久| 欧美日韩视频一区二区| 成人免费看黄yyy456| 美女视频免费一区| 一区二区三区在线观看国产| 久久婷婷久久一区二区三区| 在线观看欧美黄色| 成人精品一区二区三区四区| 奇米一区二区三区| 亚洲午夜电影网| 日本一区二区不卡视频| 欧美一区二区啪啪| 欧美在线不卡一区| 不卡视频免费播放| 国产一区二区福利| 蜜桃视频一区二区三区| 亚洲自拍偷拍av| 自拍偷拍欧美激情| 国产农村妇女毛片精品久久麻豆| 91精品国产品国语在线不卡| 色欧美乱欧美15图片| 国产99久久久国产精品潘金 | 日本一区二区三区电影| 日韩精品专区在线影院重磅| 欧美日韩国产一二三| 99精品视频中文字幕| 国产寡妇亲子伦一区二区| 免费观看日韩电影| 午夜欧美视频在线观看| 亚洲欧美另类在线| 椎名由奈av一区二区三区| 国产色产综合色产在线视频| 欧美成人a∨高清免费观看| 欧美日韩亚州综合| 在线免费精品视频| 99综合影院在线| www.亚洲国产| 成人不卡免费av| 高清久久久久久| 成人自拍视频在线| 高清国产一区二区| 国产91精品精华液一区二区三区 | 亚洲麻豆国产自偷在线| 国产精品久久久久9999吃药| 欧美激情综合五月色丁香小说| 2021久久国产精品不只是精品| 欧美一区二区三区播放老司机| 欧美精品粉嫩高潮一区二区| 欧美日韩在线免费视频| 欧美午夜片在线观看| 欧美伊人久久久久久久久影院 | 精品伊人久久久久7777人| 美女在线视频一区| 久久精品国产77777蜜臀| 麻豆精品国产传媒mv男同| 蜜桃精品在线观看| 久久成人久久爱| 国产一区激情在线| 国产电影一区二区三区| 岛国一区二区三区| 99精品视频中文字幕| 91老师国产黑色丝袜在线| 色香蕉久久蜜桃| 欧美日韩一区三区四区| 欧美二区在线观看| 欧美videos中文字幕| 久久久亚洲精品石原莉奈| 欧美极品美女视频| 亚洲欧美日韩小说| 亚洲丰满少妇videoshd| 日韩av不卡一区二区| 久久aⅴ国产欧美74aaa| 国产精品一二三在| 99久久精品国产导航| 在线免费观看一区| 欧美一级二级在线观看| 久久综合狠狠综合久久激情| 中文字幕av不卡| 亚洲精品日韩综合观看成人91| 午夜欧美一区二区三区在线播放| 蜜桃av噜噜一区二区三区小说| 国产一区欧美二区| 99re这里只有精品6| 欧美日本免费一区二区三区| 精品国产制服丝袜高跟| 国产精品理论在线观看| 亚洲一区二区三区国产| 久久精品久久99精品久久|