/*
  Name: Toy Men 
  Copyright: 
  Author: Christopher Joyner
  Date: 22/09/05 16:23 - thats the twinty second of september two thousand five.
  Description: Toy Men Design document.
*/

Goal:
    Play with plastic toy men in the yard taking over other yards in the nauber-
hood.  A Game that josh and chris used to play when they where kids.

Topic:
    Plastic toy men.  Kids plaing agaist each other in a game of war, using pla-
astic toy men.

Input and Output:
    
    The Battle will be Top 3d view of the field.  The Land management will be a
2d prerendered picture of the yards in the compain.  All commands can be entered
using the mouse.  The camera in the 3d battle will be movable using the mouse 
and using the keyboard.  You will be able to move left and right up and down 
by putting the mouse cursor at the edge of the battlemap view.  The same con-
trals will be on the keyboard, using the arrow keys to move around.  to rotate
the camera you will right click and move the mouse around, left to right is
left rotate and right rotate.  Up and Down will be the pitch.  On the keyboard
you press right/left shift to do the same(respectivly).  Clicking on a unit will
bring up a menu on the rigth side of the screen.  The options: Attack, Move, 
Dig, Build, Stand.  You will pick them using the mouse, or you can use shortcuts
on the keyboard.  In the land management you use the mouse to click on the land
you want to manage.  Left clicking on it will bring up the options in the middle
of the screen.  Options: Men, Build, Default Men.  Clicking on a enemy yard will
bring up the option: Attack with.  This will showup in the middle of the screen.
Right clicking will close the menu(or key press).
Attack with will bring up numbers, on the left side of the number list will be
men making attack, in the middle will be arraw keys pointing left and right.
On the right side will be the number of unassigned men.  The Men option will br-
ing up a number menu also.  On the left side will be the amount of men in the 
yard, in the middle arrows, on the right side will be the amount of unassigned
men.  You can use the keyboard arrow keys to assin around the men in either menu
.  And you can use the center arrow keys by clicking on them to also assign the
men around.  
    The movement of the 3dview of the battle field will be clipped.  No under-
neath views, and no upside down views.
    The Battle field will be a 3d tileset made of 2dsquares that are made of 2d-
polygons.
    The main menu which you access by pressing the esc button will be made up of
this list: New Game, Save Game, Load Game, Change buttons, Set Music, Quit.
They will be in the center of the screen with the last view as a shaded back-
ground.  
    Natural distasters will only happen during each land management turns.  They
will simple display a anime drawing of the natrual disaster.

Game Structure:
    
    The first thing that comes up is the main menu.  Load game, Save Game,
New Game, Change buttons, Set Music, Quit.  The Load game options takes you to 
a list of saved games, you choose the game and it loads it up bringging you to 
the save state.  Save Game brings you to a list of games and you can make a new
one to save.  New Game starts a new game.  Change buttons will bring up a list
of the buttons that can be changed.  Set Music is just some options that you
can turn off sound effects/music, And you can change the valume of the two.
Quit is the button to quit the game.
    New Game, Sets the basic global game data, Loads the data files.  It then 
brings you to the land management game, thats where you go from.  You can al-
ways bring up the main menu by pressing esc.  It can be redifined though.
You start out with one land.  chris's yard.  You get a basic amount of men, say
100 of them.  The allowence you get will be about $25, you get that every week.
The costs of one package of men will costs $5.  You have unlimited amount of 
dirt, but you can't bring it with you if you attack.  You can build with it as
much as you want, Within the limited area to build in.  If you get attacked, you
can only play with the men you have assined to the yard.  And you can only have
a limited amount of men per yard.  It will depend on the size of the maps I 
make.  All the yards will be the same size of map, just different obstackles and
hills.  Each yard is controlled by a different computer player.  That means the
ai will be different per different computer player.  Also you cannont build up
your castle while a battle is goinng on in the yard, but you can do building and
digging during the battle.
    The charactor's yards.  Chris, Lori, Little gleen times two, misty, emmily,
beth, doverman dog, buddy, ray.  Chris's yard will be mine, Little gleen's will
be across from chris plus the yard south of that, Mysty will be across gleen's
south yard, lori's yard will be next to gleens north yard, beth is north of 
lori's yard, emmily's yard is the blue house south of gleens south yard, Ray's
yard is south of emmily's yard, and south of ray's yard is buddy's yard, and 
across that is the dog's yard.  The dog and buddy's yard is at the end.
I want to take a sattelilte photo of this part of the naurber hood for the Land
management map.  Ounce this place is taken over, you move to another compain.
In the woods agaist josh.  Its just you v's Josh. The yards will be a starit
line going thourgh the woods.  You must take them one by one away from josh.
And keep them.  Untill you reach the last land. Where you will fight him agaist 
a huge castle.  Then maybe I'll make conpains for other places, but I don't know
yet.  
    3d battle system, If you have assigned men to the land but you haven't put
them in a default setting, then you will have to place them one by one on the 
map.  Shots have limited range, shooting up hill makes it lose range, shooting
down hill adds range.  And you also have line of site.  You command all you
men one by one for about 10 moves per command, then the game acts out the plan.
Commands per unit are: Stand shoot, Stand no, Move, Attack, Dig, Buid up.
Stand shoot will fire at comming enemys while not moving.  Stand no will not 
move or attack.  Move will move from spot to spot, Attack will shoot at specific
enemy.  Dig will dig a ditch.  Build up will build a wall.  Dig and build will
take up 10 moves, Ounce it is done the unit doing the job will be put on that
part of the grid.  Walls defend you if you are on the grid.  Ditches will defend
you if you are on that grid.  Every Shot is done with dice rolls.  But it will
be done in the background, The attempt is to have a battle to watch.  By the way
you can watch a replay of the battle with out any enteruptions.
    Walls do not defend tanks.  And neither will ditches(at this time.).  Tank
shots hit areas, and can destroy walls.  Tanks are taken down by other tanks or
cannons.  Cannons have to have men man them.  Everthing has limited ammo.  The
range of cannon weapons will be twice that of men weapons.
    Natrual disasters:  cats, dogs, rain, cars.  cats will kill men by shitting.
Dogs will eat the men.  Cars will rollover your men and any castle's made there.
Which will make it a tempting attack.  And rain destroys your castles.  
    
