Files
source/Strategic/Strategic All.h
T
Overhaul 7a27e7105d New attack busy system
Added missing #includes

Added LUA scripting and console

Changed the way tracers are visualized, so they work more like real tracers instead of a light fountain

Fixed signedness of many grid variables used in GetMouseMapPos calls

Fixed enemy weapon choosing:  Sometimes a mortar is chosen but later rejected, but the grenade class was not reset.  Caused assertion failure

Added checks so enemies don't try to chuck RPG grenades with their hands

Now possible to shoot a someone in the head if he's in water

Fixed InitSightArrays to also clear soldier interrupt duel points.  This was causing an assertion failure elsewhere in the code because the interrupt list still had soldiers on it sometimes when this function was called.

Soldiers are much less willing to forfeit their turn over an attempt to use more APs than they have

Removed early setting of muzzle flash.  This would allow enemies to get an interrupt before you even fired.

Fixed item dropping by AI.  If AI tried to drop something while standing it would cause deadlock

Change to greatly speed up closing the sector inventory window in an unloaded sector

Added conditional compile flag to always give robot weapon ready advantage, even for 360 degree sighting


Check builddefines.h for the conditional flags.  Of greatest interest might be LUA_CONSOLE.  This will cause the game to bring up a command console when run.  However this console is severely lacking in many areas.  If anybody knows of an open-source terminal/console that could be used instead, it would be appreciated.  The existing console does bad things when you try to close it, and since it counts as a separate app, it pauses the game while it has focus.

LUA scripting is very limited, basically just proof of concept.  There is one global variable, the Soldiers array.  An array index gives you the soldier in that slot in the currently loaded sector.  The soldier has a few things that can be accessed:  name (short name); fullname (long name); grid (current grid #, can be changed); walkto(grid) (function to walk to another grid); runto(grid) (function to run to another grid)


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@924 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-06-09 09:01:04 +00:00

230 lines
5.8 KiB
C

#ifndef __STRATEGIC_ALL_H
#define __STRATEGIC_ALL_H
#pragma message("GENERATED PCH FOR STRATEGIC PROJECT.")
#include "builddefines.h"
#include <stdio.h>
#include "types.h"
#include "english.h"
#include "Timer Control.h"
#include "vsurface.h"
#include "Button System.h"
#include "Font Control.h"
#include "Simple Render Utils.h"
#include "Editor Taskbar Utils.h"
#include "line.h"
#include "input.h"
#include "vobject_blitters.h"
#include "Text Input.h"
#include "mousesystem.h"
#include "strategicmap.h"
#include "Fileman.h"
#include "Map Information.h"
#include "render dirty.h"
#include "Game Clock.h"
#include "Campaign Types.h"
#include "Campaign Init.h"
#include "cheats.h"
#include "Queen Command.h"
#include "overhead.h"
#include "Strategic Movement.h"
#include "GameSettings.h"
#include "Game Event Hook.h"
#include "Creature Spreading.h"
#include "message.h"
#include "Game Init.h"
#include "Assignments.h"
#include "Soldier Control.h"
#include "Item Types.h"
#include "Strategic.h"
#include "Items.h"
#include <stdlib.h>
#include "Map Screen Interface.h"
#include "Soldier Profile Type.h"
#include "Soldier Profile.h"
#include "Campaign.h"
#include "Text.h"
#include "dialogue control.h"
#include "NPC.h"
#include "Strategic Town Loyalty.h"
#include "animation control.h"
#include "mapscreen.h"
#include "Squads.h"
#include "Map Screen Helicopter.h"
#include "PopUpBox.h"
#include "Vehicles.h"
#include "Strategic Merc Handler.h"
#include "Merc Contract.h"
#include "Map Screen Interface Map.h"
#include "laptop.h"
#include "Finances.h"
#include "LaptopSave.h"
#include "renderworld.h"
#include "Interface Control.h"
#include "Interface.h"
#include "Soldier Find.h"
#include "ai.h"
#include "utilities.h"
#include "random.h"
#include "Soldier Add.h"
#include "Isometric Utils.h"
#include "Soldier Macros.h"
#include "Explosion Control.h"
#include "SkillCheck.h"
#include "Quests.h"
#include "Town Militia.h"
#include "Map Screen Interface Border.h"
#include "math.h"
#include "Strategic Pathing.h"
#include "Auto Resolve.h"
#include "Music Control.h"
#include "PreBattle Interface.h"
#include "Player Command.h"
#include "gameloop.h"
#include "screenids.h"
#include "vObject.h"
#include "video.h"
#include "gamescreen.h"
#include "sysutil.h"
#include "Soldier Create.h"
#include "Weapons.h"
#include "Sound Control.h"
#include "Tactical Save.h"
#include "Strategic Status.h"
#include "WordWrap.h"
#include "Animation Data.h"
#include "Strategic AI.h"
#include "rt time defines.h"
#include "morale.h"
#include "himage.h"
#include "Soldier Init List.h"
#include "lighting.h"
#include "Strategic Mines.h"
#include "jascreens.h"
#include "Map Edgepoints.h"
#include "opplist.h"
#include "sgp.h"
#include "environment.h"
#include "Game Events.h"
#include "MercTextBox.h"
#include "Event Pump.h"
#include "soundman.h"
#include "Ambient Control.h"
#include "AimMembers.h"
#include "Strategic Event Handler.h"
#include "BobbyR.h"
#include "mercs.h"
#include "email.h"
#include "Merc Hiring.h"
#include "Insurance Contract.h"
#include "Scheduling.h"
#include "BobbyRGuns.h"
#include "Arms Dealer Init.h"
#include "Strategic town reputation.h"
#include "air raid.h"
#include "meanwhile.h"
#include "MemMan.h"
#include "Debug.h"
#include "worlddef.h"
#include "fade screen.h"
#include "history.h"
#include "merc entering.h"
#include <String.h>
#include "worldman.h"
#include "tiledat.h"
#include "WCheck.h"
#include "Map Screen Interface Map Inventory.h"
#include "Map Screen Interface Bottom.h"
#include "Radar Screen.h"
#include "cursors.h"
#include "Options Screen.h"
#include "Cursor Control.h"
#include "Interface Items.h"
#include "Interface Utils.h"
#include "World Items.h"
#include "Multi Language Graphic Utils.h"
#include "Font.h"
#include "Militia Control.h"
#include "Map Screen Interface TownMine Info.h"
#include "Handle UI.h"
#include "Handle Items.h"
#include <stdarg.h>
#include <time.h>
#include "screens.h"
#include <wchar.h>
#include <tchar.h>
#include "Interface Cursors.h"
#include "Interface Panels.h"
#include "sys globals.h"
#include "faces.h"
#include "strategic turns.h"
#include "Personnel.h"
#include "Animated ProgressBar.h"
#include "GameVersion.h"
#include "SaveLoadScreen.h"
#include "messageboxscreen.h"
#include "rotting corpses.h"
#include "Tactical Placement GUI.h"
#include "Overhead Types.h"
#include "Soldier Ani.h"
#include "Types.h"
#include "Quest Debug System.h"
#include "WCheck.h"
#include "Font Control.h"
#include "Video.h"
#include "Game Clock.h"
#include "Render Dirty.h"
#include "WordWrap.h"
#include "Interface.h"
#include "Cursors.h"
#include "Quests.h"
#include "stdio.h"
#include "QuestText.h"
#include "Soldier Profile.h"
#include "Utilities.h"
#include "Text.h"
#include "Text Input.h"
#include "Soldier Create.h"
#include "strategicmap.h"
#include "soldier add.h"
#include "Opplist.h"
#include "Handle Items.h"
#include "Game Clock.h"
#include "environment.h"
#include "dialogue control.h"
#include "Soldier Control.h"
#include "overhead.h"
#include "AimMembers.h"
#include "MessageBoxScreen.h"
#include "Stdio.h"
#include "english.h"
#include "line.h"
#include "Keys.h"
#include "Interface Dialogue.h"
#include "SysUtil.h"
#include "Message.h"
#include "Interface Dialogue.h"
#include "Render Fun.h"
#include "Boxing.h"
#include <memory.h>
#include "Keys.h"
#include "Structure Wrap.h"
#include "SaveLoadMap.h"
#include "aim.h"
#include <windows.h>
#include "Inventory Choosing.h"
#include "LOS.h"
#include "Tactical Turns.h"
#include <math.h>
#include "worlddat.h"
#include "Exit Grids.h"
#include "pathai.h"
#include "Shade Table Util.h"
#include "points.h"
#include "Bullets.h"
#include "physics.h"
#include "_JA25EnglishText.h"
#include "Debug Control.h"
#include "expat.h"
#endif