diff --git a/docs/README.xml b/docs/README.xml index 6c7d2af7..a1eb8fd5 100644 --- a/docs/README.xml +++ b/docs/README.xml @@ -1,6 +1,6 @@ - + diff --git a/docs/cubeengine.xml b/docs/cubeengine.xml new file mode 100644 index 00000000..6f3bf136 --- /dev/null +++ b/docs/cubeengine.xml @@ -0,0 +1,108 @@ + + + + + + + + + +

How the Cube Engine works

+

Rendering

+

+ The cube engine is simplicity itself. The whole map consists of a large 2D array of "cubes", + each with a floor and ceiling height, textures (for floor/ceiling/wall) and other properties. + These cubes are grouped 2x2 at a time recursively into a "quad tree", which is used hold bigger + cubes which can be rendered faster. For those who have edited doom, this is very similar to + having a lot of square sectors but at overlapping sizes. This is results in a map that can have + no room over room (yet), and is pretty cubic, except for the odd slope/slant here and there. +

+

+ The floor size of a single unit (single cube) is similar to about 16x16 units in games such as + doom & quake, so a staircase step is usually 1 unit, a wall 8 units high etc. +

+

+ Cube renders this world by first determining which cubes are visible using a "dynamic occlusion culling" + algorithm and frustrum culling. You can see the effect of this when you switch to edit mode (E), + and then fly out above a map: you'll see parts of the map dropping away as you move. The remaining + cubes are then rendered in their most efficient size (i.e. cube will render a mixture of 1x1 2x2 4x4 + etc. size cubes, depending on wether they have the same properties: height, texturing etc.). +

+

+ if you are on a fast machine, or you are playing a simple/small map, cube will simply render all + of these visible cubes (this is indicated by LOD at its maximum of 250 on the hud). Cube can however + make complex maps run fast even on slower computers by a technique called LOD: this will render cubes + that are further away using bigger approximations (2x2 and up), even the properties of the constituent + cubes don't match exactly. This reduces the amount of polys to be rendered tremendously, and thus allows + even slow machines to have a consistent frame rate (cube will adapt the LOD figure every frame to aim + for the fps you specify). The downside is of course that if the approximations are visible closeup, this + can lead to ugly graphical glitches (this is called "popup" because it changes as you move). So in the + end the choice is up to you: good fps or constant visual quality (most engines only cater for the latter). +

+ +

Networking

+

+ You will notice that Sauerbraten plays better on a high ping connection than most games out there. + The reason for this is that just about everything in sauerbraten is done clientside, not just + movement (as is common in games today) but also aim (the fat client / thin server model). +

+

+ The benefits of this are that the effects of lag are minimised, and someone on a 200 ping can + compete on an almost even playing field with someone with a 20 ping, the disadvantages are mainly + in that its harder to combat cheating. Further advantages for server admins are that sauerbraten + servers use virtually no cpu, and very little bandwidth for a lot of clients + (you can host a 4 player game on a modem!). +

+

+ It is impossible to completely hide lag however, and these are some of the effects that can still + show lag if you or someone you play with has a high ping / bad connection: +

+ + + \ No newline at end of file diff --git a/docs/cuberef.css b/docs/cuberef.css deleted file mode 100644 index e1c7dbd2..00000000 --- a/docs/cuberef.css +++ /dev/null @@ -1,316 +0,0 @@ -/* (C) 2007 Adrian 'driAn' Henke - http://www.sprintf.org - ZLIB licensed */ - -/* main layout */ - -html -{ - margin: 0; - padding: 0; -} - -body -{ - margin: 0; - padding: 10px; - background-color: #343434; - font-family: Verdana, Sans-Serif; - font-size: 12px; -} - -div#cuberef -{ - margin: 0; - padding: 0; -} - -div#cuberef div#main -{ - position: relative; - margin: 0 auto 0 auto; - padding: 10px; - width: 720px; - background-color: #666666; - border: solid 1px black; -} - -/* global formatting */ - -h1 -{ - font-family: Courier New, Sans-Serif; - font-size: 22px; -} - -h2 -{ - font-family: Courier New, Sans-Serif; - font-size: 18px; - margin: 0; - padding: 0; -} - -a, a:hover, a:visited -{ - color: #333333; -} - -p -{ - margin: 0.5em 0 0 0; - padding: 0; -} - -/* version */ - -div#cuberef div#version -{ - padding: 0; - margin: 0 auto 0 auto; - width: 720px; - - font-family: Courier New, Sans-Serif; - font-size: 55px; - font-weight: bold; - text-align: right; - color: #555555; -} - -/* title */ - -div#cuberef div#title -{ - padding: 0 0 0 10px; - margin: 0 auto 0 auto; - width: 710px; - height: 20px; - background-color: Black; - color: White; - vertical-align: middle; -} - -div#cuberef div#title h1 -{ - margin: 0; - padding: 0; - height: 1em; - font-family: Courier New, Sans-Serif; - font-size: 18px; - font-weight: bold; -} - -/* side contentspanel */ - -div#cuberef div#main div#contentspanel -{ - position: absolute; - float: right; - width: 150px; - right: -152px; /* width + padding right + border */ - top: 10px; - font-family: Courier New, Sans-Serif; - font-size: 10px; - text-align: left; - background-color: #444444; - border-right: solid 1px black; - border-bottom: solid 1px black; -} - -div#cuberef div#main div#contentspanel div.sectiontitle -{ - padding-left: 10px; - height: 20px; - background-color: Black; - color: White; - font-size: 14px; - font-weight: bold; - line-height: 20px; -} - -div#cuberef div#main div#contentspanel ul -{ - list-style-type: none; - padding: 0; - margin: 10px; - -} - -div#cuberef div#main div#contentspanel a -{ - text-decoration: none; - color: White; -} - -div#cuberef div#main div#contentspanel div.identifiers a -{ - display: block; - position: relative; - width: 130px; -} - -div#cuberef div#main div#contentspanel div.identifiers a:hover -{ - width: 120px; - border-right: solid 10px #777777; - background-color: #666666; -} - -/* contents */ - -div#cuberef div#contents -{ - -} - -/* identifier */ - -div#cuberef div.section div.identifier -{ - padding: 0 0 10px 0; - margin: 0 0 0 20px; -} - -/* display name */ - -div#cuberef div.section div.identifier div.displayname -{ - font-family: Courier New, Sans-Serif; - margin: 1em 0 1em -20px; -} - -div#cuberef div.section div.identifier div.displayname a -{ - color: Black; - text-decoration: none; -} - -/* command arguments */ - -div#cuberef div.section div.identifier div.argumentDescriptions -{ - margin: 10px 0 0 0; - padding: 0; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table -{ - margin: 0; - padding: 0; - border-collapse: collapse; - width: 100%; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table td -{ - border: solid 1px #777777; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table th -{ - font-weight: normal; - color: #333333; - background-color: #777777; - border: solid 1px #777777; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table tr td.token -{ - font-style: italic; - width: 65px; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table tr td.description -{ - width: 300px; -} - -div#cuberef div.section div.identifier div.argumentDescriptions table tr td.values -{ - -} - -/* variable value */ - -div#cuberef div.section div.identifier div.valueDescription -{ - margin: 10px 0 0 0; - padding: 0; -} - -div#cuberef div.section div.identifier div.valueDescription table -{ - margin: 0; - padding: 0; - border-collapse: collapse; - width: 100%; -} - -div#cuberef div.section div.identifier div.valueDescription table td -{ - border: solid 1px #777777; -} - -div#cuberef div.section div.identifier div.valueDescription table th -{ - font-weight: normal; - color: #333333; - background-color: #777777; - border: solid 1px #777777; -} - -div#cuberef div.section div.identifier div.valueDescription table tr td.token -{ - font-style: italic; - width: 65px; -} - -div#cuberef div.section div.identifier div.valueDescription table tr td.description -{ - width: 300px; -} - -div#cuberef div.section div.identifier div.valueDescription table tr td.values -{ - -} - -div#cuberef div.section div.identifier div.valueDescription table tr td.defaultValue -{ - text-align: right; - width: 50px; -} - -/* remarks */ - -div#cuberef div.section div.identifier div.remarks -{ - margin: 10px 0 0 0; - padding: 0; -} - -div#cuberef div.section div.identifier div.remarks div.remark -{ - margin: 10px 0 0 0; -} - -/* references */ - -div#cuberef div.section div.identifier div.references -{ - text-align: right; -} - -div#cuberef div.section div.identifier div.references a.internal -{ - font-family: Courier New, Sans-Serif; - text-decoration: none; -} - -div#cuberef div.section div.identifier div.references a.external -{ - -} - -div#cuberef div.section div.identifier div.references span.none -{ - -} \ No newline at end of file diff --git a/docs/cubescript.xml b/docs/cubescript.xml new file mode 100644 index 00000000..5e65976d --- /dev/null +++ b/docs/cubescript.xml @@ -0,0 +1,38 @@ + + + + + + + + + +

CubeScript Console Language

+ +

+ Cube's console language is similar to console languages of other games (e.g. Quake), but is a bit more powerful in + that it is almost a full programming language. +

+ +

+ What is similar to quake is the basic command structure: commands consist of the command itself, followed by any + number of arguments seperated by whitespace. you can use "" to quote strings with whitespace in them (such as the + actions in bind/alias), and whereever a command is required you can also use ; to sequence multiple commands in one. +

+

+ What is new compared to quake is that you can evaluate aliases and expressions. You can substitute the value of an + alias as an argument by prefixing it with a "$" sign, i.e.: echo The current value of x is $x + You can even substitute + the values of console variables this way, i.e $fov gives the current fov. Some aliases are set automatically, for + example $arg1 to $argN are set if you supply arguments when you execute an alias. +

+

+ There are two alternative ways to "" to quote a string: () and []. They work in the same way as "", with the difference + that they can be nested infinitely, and that they may contain linefeeds (useful for larger scripts). () is different + from [] in that it evaluates the commands contained in it _before_ it evaluates the surrounding command, and substitutes + the results. () bracketed strings are called expressions, and combined with some commands made especially for + "programming", you have a minimal language. See the reference + for information about those commands. +

+ + \ No newline at end of file diff --git a/docs/docs.css b/docs/docs.css deleted file mode 100644 index 4189da89..00000000 --- a/docs/docs.css +++ /dev/null @@ -1,161 +0,0 @@ -/* (C) Adrian Henke 2007 - ZLIB License */ - -html -{ - background-color: #343434; /* blame firefox' buggy xslt support */ -} - -body -{ - font-family: Verdana, Sans-Serif; - margin: 0px; - padding: 10px 0 10px 0; - font-size: 12px; - color: Black; -} - -ul -{ - list-style-type:square; -} - -p -{ - margin-top: 0; - margin-bottom: 1em; -} - -img -{ - border-width: 0; -} - -pre -{ - margin: 0 0 1em 0; - padding: 0; - font-family: Courier New; - font-size: 12px; -} - -table -{ - margin-bottom: 1em; -} - -h1 -{ - font-size: 24px; - margin: 0 0 0.5em 0; -} - -h2 -{ - font-size: 18px; - margin: 0 0 0.5em 0; -} - -h3 -{ - font-size: 14px; - margin: 0 0 0.5em 0; -} - -#main -{ - background-color: #666666; - width: 650px; - margin: 0; - padding: 10px; - text-align: left; - border: solid 1px black; -} - -#header -{ - background-color: black; - width: 650px; - margin: 0px; - padding: 0; - height: 10px; - text-align: right; - font-size: 10px; - color: White; - font-family: Courier New, Sans-Serif; - line-height: 1em; -} - -#footer -{ - background-color: black; - width: 650px; - margin: 0; - padding: 0; - height: 10px; - text-align: right; - font-size: 10px; - color: White !important; - font-family: Courier New, Sans-Serif; - line-height: 1em; -} - -#footer a, #footer a:hover, #footer a:visited -{ - color: White; - text-decoration: none; -} - -a, a:hover, a:visited -{ - color: #333333; -} - -/* code */ - -div.code -{ - font-family: Courier New, Sans-Serif; - margin: 1em 0 1em 0; - padding: 0 0 0 1em; -} - -span.code -{ - font-family: Courier New, Sans-Serif; - margin: 0; - padding: 0; -} - - -/* guns */ - -table#guns td -{ - vertical-align: top; -} - -/* gunstats */ - -table#gunstats -{ - width: 100%; - border-collapse: collapse; -} - -table#gunstats thead td -{ - font-weight: bold; -} - -table#gunstats td -{ - border: solid 1px #777777; -} - - -/* items */ - -table.items td -{ - vertical-align: top; -} \ No newline at end of file diff --git a/docs/game.xml b/docs/game.xml index 56ac5dbb..01885dda 100644 --- a/docs/game.xml +++ b/docs/game.xml @@ -1,6 +1,6 @@ - + diff --git a/docs/gamecommands.html b/docs/gamecommands.html deleted file mode 100644 index 0da58bbd..00000000 --- a/docs/gamecommands.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - AssaultCube README - - - - - -
- - -
- -

Game Related Commands

- -
- map M -
- - loads a map. if connected to a multiplayer server, votes to load this map (others will have to type "map M" as well to agree with loading this map). To vote for a map with a specific mode, set the mode before you issue the map command (see multiplayer menu). See also map in the editref. - -
- name yourname -
- - used for multiplayer - -
- say text... -
- - outputs text to all players, as if you typed it - -
- echo text... -
- - outputs text - -
- saycommand P... -
- - this puts a prompt on screen where you can type stuff into, which will capture all keystrokes until you press return (or esc to cancel). You may press tab to autocomplete commands/aliases/variables, and up/down keys to browse the command history. If what you typed started with a "/", the rest of it will be executed as a command, otherwise its something you "say" to all players. default key = t. If P is prefix to insert to the buffer, (default key ` inserts a /). - -
- connect serverip pwd -
- - connects to a server, e.g. "connect fov120.com". A password can be supplied as second argument in case the server is protected. - -
- disconnect -
- - leaves server - -
- rate N -
- - sets your clients maximum downstream bandwidth to N bytes per second. Leaving it at 0 (the default) means the server will dynamically try to do the best thing, this is recommended for players who don't have a clue what their bandwidth is (setting your rate unoptimally is worse than not setting it all). Modem players (56k) could try rate 4000 and tweak from there, dsl players can try rate 6000-10000. Note that the more players on a server, the more critical the effect of your rate. If you are tweak addicted, you can try playing with the variables throttle_decel (how quickly to start dropping packets when your connection becomes bandwidth limited) throttle_accel (how quickly to recover once bandwidth becomes available again) and throttle_interval (how quickly to reestimate the situation). Change the defaults at your own risk. - -
- team teamname -
- - determines who are your teammates in any team game mode (truncated to 4 characters, case sensitive). - -
- showscores -
- - showscores turns display of scores (name/frags/network) on and -showscores turns it off. Default key is tab. - -
- conskip N -
- - allows you to browse through the console history, by offsetting the console output by N. Default key keypad - scrolls into the history (conskip 1) and keypad + resets the history (conskip -1000). - -
- weapon W -
- - changes your current weapon to W which is the number of one of the weapons. - -
- autoreload N -
- - if set to 1, the weapons will reload automatically once the mag gets empty. - -
- sensitivity N -
- - sets the mouse sensitivity. - -
- gamespeed P -
- - sets the gamespeed in percent, i.e. 50 is playing in slowmotion at half the speed. does not work in multiplayer. for entertainment purposes only :) - -
- mode N -
- - set gameplay mode to N for the next game played (next map load). N can be one of the values inside rounds brackets specified - in the game section. - -
- skill N -
- - Sets the skill level (1-10) for single player modes. Default = 3. Affects number of monsters in DMSP mode, and general monster AI in all SP modes. - -
- sendmap
- getmap -
- - - These two commands allow you to send other players maps they may not have while in multiplayer mode, and easily keep maps in sync while doing coop edit. "sendmap" reloads the current map you are on, then uploads it to the server and sends every other player a message about it. Other players can then simply type "getmap" to receive the current map, which is written to their local disk then reloaded. A second variant "sendmap name" is available which is particularly useful for coop editing, which first does a "savemap name" before performing the actual "sendmap". Thus in both cases you must already be on the map you want to send before issuing the command! (in some multiplayer that requires voting). Also note that "getmap" operates on the last map send by some other player, whatever it is. - -
- servermenu -
- - displays the server menu. The server menu contains the last N servers you connected to, sorted by ping (servers are pinged automatically when bringing up this menu). Just select one to connect again. If you connect to a server by typing "connect" manually, the server gets added here automatically. You can also add servers to "servers.cfg" manually. - -
- updatefrommaster -
- - contacts the masterserver and adds any new servers to the server list (written to servers.cfg on exit). (see also multiplayer menu). - -
- savegame F -
- - Saves the current state of game (map, state of entities, monsters, triggers, and your player) to a savegame file named F (these are placed in the "savegames" directory). Default key F8 is "savegame quicksave". Works only in classic singleplayer mode. - -
- loadgame F -
- - restores a previously saved game named F. Default key F9 is "loadgame quicksave". You cannot load savegames from different versions of the map, different versions of cube, or different cpu architectures. - -
- record N -
- - Starts recording of a demo. This works for any multiplayer mode, including the default "ffa" mode you are in when you load up a map locally. The file is saved to demos/N.cdgz. - -
- stop -
- - Stops any demo recording or playback. - -
- demo N -
- - Plays back the demo recorded under name N. Playback is interpolated for the player whose perspective you view (not changeable). Not all parts of the game may work correctly under demo play, this is an experimental feature. If you find anything not functioning that greatly hampers your enjoyment of watching demos, let me know. See below for additional commands to use with demos. - -
- demoplaybackspeed P -
- - Very experimental, may cause more problems than normal play. Set before playing a demo, P is a percentage, i.e. 200 will play back at twice the speed. - -
- demodelaymsec D -
- - Only touch if you know what you are doing: changes the delay in msec with which the demo is played back to allow for interpolation. Default is 100, if you decrease it you will most likely just get choppier (it will obstruct the spline interpolation) for an unnoticable bit less lag. Increase it if you notice choppyness in playback, should not be needed in general, but may help if you insist on playing back demos at very low demoplaybackspeed. - -
- demotracking B -
- - When demotracking is on (B = 1), the camera will create a red particle every frame where it moves, creating a trail. This can be used to inspect someone's movement in a game. It will only show the last N particles according to the maxparticles variable, which you may want to increase to 10000. The particles will remain even after you stop the demo, so you can use edit mode to look at it from all angles. - -
- - -
- - - diff --git a/docs/getstarted.xml b/docs/getstarted.xml index 5595f5be..49b641a4 100644 --- a/docs/getstarted.xml +++ b/docs/getstarted.xml @@ -1,6 +1,6 @@ - + diff --git a/docs/known_issues.txt b/docs/known_issues.txt deleted file mode 100644 index 04c37f96..00000000 --- a/docs/known_issues.txt +++ /dev/null @@ -1,5 +0,0 @@ -known issues: - -- bots do not use the akimbo and grenades -- demo recording is not fully functional -etc \ No newline at end of file diff --git a/docs/reference.xml b/docs/reference.xml index fd3e62c9..c9f19f5f 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -1,7 +1,7 @@  - + + + + + + @@ -114,13 +130,28 @@ - - + + - + + + + + + + + + + + + + + + + @@ -130,6 +161,7 @@ + @@ -140,6 +172,7 @@ + @@ -177,6 +210,7 @@ + diff --git a/docs/server.xml b/docs/server.xml index ae6fc8f0..6c28d8ed 100644 --- a/docs/server.xml +++ b/docs/server.xml @@ -1,6 +1,6 @@ - + diff --git a/docs/startup.xml b/docs/startup.xml new file mode 100644 index 00000000..c2aece99 --- /dev/null +++ b/docs/startup.xml @@ -0,0 +1,61 @@ + + + + + + + + + +

Command-Line Options

+ +

+ In the file actioncube_server.bat (or the respective .sh file in linux) you can add or + change command line options: +

+ +

+ -wX sets desired screen width to X, default is -w640 +
+ -hY sets desired screen height to Y, default is -h480 +
+ -t runs windowed +

+

+ -uN sets the server upstream bandwidth to N bytes per second. only set + this parameter if you know what you are doing, specifying a wrong value is worse + than not specifying it at all. +

+

+ -nN sets the server description, for people pinging the server. usually + does not need to be set if you have a descriptive domain name already, but if you + set it, keep it short as it may otherwise be truncated, i.e. -nBobsInstagibServer + +

+

+ -iIP sets the server ip to IP. this option is only useful for people + running on machines with multiple network interfaces. +

+

+ -mM sets the master server to use for either server (registering) and + client (updating) to M. M is the base url of the master server and has to end in + a / and without a http:// prefix, the default is masterserver.cubers.net/cgi-bin/AssaultCube.pl/. + If you want your server to be private and not report to the masterserver, use -mlocalhost. +

+

+ -pPASS sets the server password to PASS. Only clients that use the command + "password PASS" will be able to connect. +

+

+ -cN sets the maximum number of players that can play on this server + to N (default 6). If more players try to connect they will get a "server full" message. +

+ +

+ -xM sets the master password. +

+

+ -rC sets the maprotation file, e.g. -rconfig/maprot.cfg +

+ + \ No newline at end of file diff --git a/docs/ac.css b/docs/styles/ac.css similarity index 90% rename from docs/ac.css rename to docs/styles/ac.css index 13b179e2..2cb06e93 100644 --- a/docs/ac.css +++ b/docs/styles/ac.css @@ -75,6 +75,7 @@ div#main div#version padding: 0; margin: 0 auto 0 auto; width: 720px; + height: 55px; font-family: Courier New, Sans-Serif; font-size: 55px; @@ -124,4 +125,20 @@ p ul { list-style-type:square; +} + +/* code */ + +div.code +{ + font-family: Courier New, Sans-Serif; + margin: 1em 0 1em 0; + padding: 0 0 0 1em; +} + +span.code +{ + font-family: Courier New, Sans-Serif; + margin: 0; + padding: 0; } \ No newline at end of file diff --git a/docs/cubedoc.css b/docs/styles/cubedoc.css similarity index 89% rename from docs/cubedoc.css rename to docs/styles/cubedoc.css index 3e85a1d4..60a59e8a 100644 --- a/docs/cubedoc.css +++ b/docs/styles/cubedoc.css @@ -116,22 +116,6 @@ a, a:hover, a:visited */ -/* code */ - -div.code -{ - font-family: Courier New, Sans-Serif; - margin: 1em 0 1em 0; - padding: 0 0 0 1em; -} - -span.code -{ - font-family: Courier New, Sans-Serif; - margin: 0; - padding: 0; -} - /* guns */ diff --git a/docs/styles/cuberef.css b/docs/styles/cuberef.css new file mode 100644 index 00000000..7a57e9c3 --- /dev/null +++ b/docs/styles/cuberef.css @@ -0,0 +1,225 @@ +/* (C) 2007 Adrian 'driAn' Henke - http://www.sprintf.org - ZLIB licensed */ + +@import url(ac.css); + +/* side contentspanel */ + +div#contentspanel +{ + position: absolute; + float: right; + width: 150px; + right: -151px; + top: 85px; + font-family: Courier New, Sans-Serif; + font-size: 10px; + text-align: left; + background-color: #444444; + border-right: solid 1px black; + border-bottom: solid 1px black; +} + +div#contentspanel div.sectiontitle +{ + padding-left: 10px; + height: 20px; + background-color: Black; + color: White; + font-size: 14px; + font-weight: bold; + line-height: 20px; +} + +div#contentspanel ul +{ + list-style-type: none; + padding: 0; + margin: 10px; + +} + +div#contentspanel a +{ + text-decoration: none; + color: White; +} + +div#contentspanel div.identifiers a +{ + display: block; + position: relative; + width: 130px; +} + +div#contentspanel div.identifiers a:hover +{ + width: 120px; + border-right: solid 10px #777777; + background-color: #666666; + +} + +/* contents */ + +div#contents +{ + +} + +/* identifier */ + +div.section div.identifier +{ + padding: 0 0 10px 0; + margin: 0 0 0 20px; +} + +/* display name */ + +div.section div.identifier div.displayname +{ + font-family: Courier New, Sans-Serif; + margin: 1em 0 1em -20px; +} + +div.section div.identifier div.displayname a +{ + color: Black; + text-decoration: none; +} + +/* command arguments */ + +div.section div.identifier div.argumentDescriptions +{ + margin: 10px 0 0 0; + padding: 0; +} + +div.section div.identifier div.argumentDescriptions table +{ + margin: 0; + padding: 0; + border-collapse: collapse; + width: 100%; +} + +div.section div.identifier div.argumentDescriptions table td +{ + border: solid 1px #777777; +} + +div.section div.identifier div.argumentDescriptions table th +{ + font-weight: normal; + color: #333333; + background-color: #777777; + border: solid 1px #777777; +} + +div.section div.identifier div.argumentDescriptions table tr td.token +{ + font-style: italic; + width: 65px; +} + +div.section div.identifier div.argumentDescriptions table tr td.description +{ + width: 300px; +} + +div.section div.identifier div.argumentDescriptions table tr td.values +{ + +} + +/* variable value */ + +div.section div.identifier div.valueDescription +{ + margin: 10px 0 0 0; + padding: 0; +} + +div.section div.identifier div.valueDescription table +{ + margin: 0; + padding: 0; + border-collapse: collapse; + width: 100%; +} + +div.section div.identifier div.valueDescription table td +{ + border: solid 1px #777777; +} + +div.section div.identifier div.valueDescription table th +{ + font-weight: normal; + color: #333333; + background-color: #777777; + border: solid 1px #777777; +} + +div.section div.identifier div.valueDescription table tr td.token +{ + font-style: italic; + width: 65px; +} + +div.section div.identifier div.valueDescription table tr td.description +{ +} + +div.section div.identifier div.valueDescription table tr td.values +{ + width: 200px; +} + +div.section div.identifier div.valueDescription table tr td.range +{ + width: 50px; +} + +div.section div.identifier div.valueDescription table tr td.defaultValue +{ + text-align: right; + width: 50px; +} + +/* remarks */ + +div.section div.identifier div.remarks +{ + margin: 10px 0 0 0; + padding: 0; +} + +div.section div.identifier div.remarks div.remark +{ + margin: 10px 0 0 0; +} + +/* references */ + +div.section div.identifier div.references +{ + text-align: right; +} + +div.section div.identifier div.references a.internal +{ + font-family: Courier New, Sans-Serif; + text-decoration: none; +} + +div.section div.identifier div.references a.external +{ + +} + +div.section div.identifier div.references span.none +{ + +} \ No newline at end of file diff --git a/docs/cubedoc2xhtml.xslt b/docs/transformations/cubedoc2xhtml.xslt similarity index 95% rename from docs/cubedoc2xhtml.xslt rename to docs/transformations/cubedoc2xhtml.xslt index 6f52aa59..7814ffdf 100644 --- a/docs/cubedoc2xhtml.xslt +++ b/docs/transformations/cubedoc2xhtml.xslt @@ -12,7 +12,7 @@ AssaultCube Readme - +
diff --git a/docs/cuberef2cubescript.xslt b/docs/transformations/cuberef2cubescript.xslt similarity index 100% rename from docs/cuberef2cubescript.xslt rename to docs/transformations/cuberef2cubescript.xslt diff --git a/docs/cuberef2xhtml.xslt b/docs/transformations/cuberef2xhtml.xslt similarity index 71% rename from docs/cuberef2xhtml.xslt rename to docs/transformations/cuberef2xhtml.xslt index fa0d681e..45a08bc4 100644 --- a/docs/cuberef2xhtml.xslt +++ b/docs/transformations/cuberef2xhtml.xslt @@ -8,7 +8,7 @@ - + @@ -26,11 +26,11 @@ - + -