This game was written by the team at www.codetactics.com. By team, we mean two of us, and we're not 
going to say who we are; our names come up in google too much as it is.

We apologise to all those desiring this code be GPL or some other open source variant. The problem 
is that this project was started in Feb 2008 as a learning/interest project. I'd be pretty brassed 
off if some cheeky bugger who's way smarter than us, goes in and does all the improvements that we 
really want to do ourselves. That's pretty much the main reason. It's kind of like not wanting to 
let anyone else compose a symphony with you. Sure, you'll let them play it, but not write it with 
you. Hmmm, it just occurred to me that someone could take your score and arrange it. Okay, so that 
metaphor didn't work, but you get what I mean.

Special thanks goes to the guys that ported SDL to the PSP, and made the PSPGL library. Without 
those libraries, there is very little chance we could have been bothered getting the game to work 
on PSP. http://goop.org/psp/gl/

Enjoy.

=== Installation ===

== PSP ==

Copy the directory 'mobileassault' into your games directory. For CFW 3.52 M33-4, 
it is PSP/GAME352 but will likely be different for each CFW.

If you are upgrading from a previous version, be sure to back up your mobileassault.db before
copying the new folder over.

== Mac 0SX ==

Drag MobileAssault.app into the Applications directory, or run it straight from the dmg.

== Linux ==

You will have to have SDL, SDL_mixer and SDL_ttf libraries installed.
The binary can be run from the command line using ./mobileassault if your distro is like mine and 
it doesn't like being double-clicked.

== Windows ==

Run the executable.


=== Changelist ===

== Version 1.4 ==

Features
* iPad support.
* Retina display support (HD images).
* New mobile artillery unit.
* New menu and HUD textures.
* 4 New missions.

Improvements
* 'Instant Action' randomly uses either grass or desert environments.
* 5x faster database write speed.
* The quantity of bonus objectives are declared to the player.

Bug Fixes
* Fixed the scrolling issue with some menus.
* Fixed bug where the dust kick from the M320 wouldn't appear when at the highest rate of fire.
* Fixed bug where not all in game messages were being displayed in the message log (iPhone)


== Version 1.3 ==

Features
* 3 new missions.
* 6 new desert building structures.
* A new spy base structure.
* iOS4 compatibility.

Improvements
* Updated mission ending system.
* Separate objectives into primary, Secondary and Bonus categories.
* In-game Message Log is scrollable and better spaced.
* In-game messages are left aligned.
* Better explosions and bullet-to-ground particle effects.
* New icon.

Bug Fixes
* Alternating (left, right wing) missile fire is now in sync.

Under The Hood
* Improved mission scripting.
* Browser based mission editor (internal use only for the moment).

== Version 1.2 ==

Features
* Better in game message system.
* Achievements, with uploading to the leaderboard.

Improvements
* Add more text radio chatter to every mission.

Bug Fixes
* Fix a crash on startup on iPhone.

Under The Hood
* Game action performance improvements.
* Preparation for mission scripting.
* Fix small memory leaks.

== Version 1.1 ==

Features
* Four new missions.
* New guard tower, sam site and pillbox structures.
* New tanks and truck vehicles.
* Added a mission clock to the HUD.
* New leaderboard views (Best Times and Per Platform).
* Added an extra, 'closer' camera view.

Improvements
* The helicopter now rolls while turning (using iPhone virtual joystick or PSP triggers).
* Completed missions are now indicated in the missions menu.
* New virtual joystick look (iPhone).
* Option to delete a player profile.
* Increased the maximum number of player profiles on PSP.
* All vehicles, road and structures are closer to scale.
* The helicopter is textured.
* Added an exit button to the main menu (PSP).
* Better looking bullets.
* Particles have distance attenuation (they get smaller when further away) (iPhone).

Bug Fixes
* Stopped a crash on exit when using the Home button during a mission (PSP).
* If the active weapon is toggled while it is firing, then it will stop firing before being toggled.
* Stopped objects from getting incorrect textures.

Under The Hood
* New shadow algorithm.
* Performance improvements.
* GUI rewrite.

== Version 1.02 ==

Improvements
* Improved radar with a north marker, new look and feel, and the helipad is now shown as an 'H'.
* The leaderboard now shows the current player and ranking as well as the top 10.

Bug Fixes
* On the iPhone, when the home button is pressed, the mission is ended as if it was aborted.
* When the iPhone is locked, the game now pauses.
* Fixed a bug where the menu music restarted after unlocking the phone ingame.
* Fixed a camera issue caused by having the tactical support open at the end of the previous mission.
* Ammo capacity is now correct when starting missions.
* Fixed a bug where it was possible to upgrade and downgrade outside the maximum range.
* Fix a menu scrolling issue on PSP in the players selection menu.

== Version 1.01 ==

Improvements
* PSP support for the tactical support and upgrade menus.
* PSP network connection dialog for leaderboard support.

== Version 1.0 ==

Features
* New name: Mobile Assault.
* Weapon mount points.
* iPhone.
* New menu look and feel.
* Online Leaderboard (PSP vs iPhone).
* New smooth chase camera with 3 zoom levels.
* Updates.
* Sand terrain, palm tree model.
* 3 new missions.
* New endless instant action mode.
* Help slideshow.

Improvements
* Structures and tanks blacken when destroyed.
* Tanks fade out after being destroyed.
* Pulse scaling on the tactical support reticule.
* 2 new types of tactical support, Laser Guided Bomb and Avenger Cannon Run.
* New M1A1, T80 and SA13 textured models.
* Improved smoke.
* Added 'best time' tracking to the post mission scoreboard.
* Reworked the original missions.
* Textured roads.

Bug Fix
* Fixed white artifacts on trees.
* Fixed a delay in the take off and landing.
* Fixed terrain segments disappearing.

Under The Hood
* Improved missile tracking code.
* Performance improvements in the radar overlay, terrain rendering, AI.
* Rewrote sound engine to use OpenAL.

Known Issues
* Sometimes all the trees temporarily disappear.

== Version 0.04a ==
* Code Optimisations
* Explosions from tank shells hitting buildings are visible more often
* Thinner air strike targeting circle

== Version 0.04 ==

Features
* Chase camera - The default camera view is from behind the helicopter, rather than from isometrically above. The original (retro) camera view can be selected from the controls screen.
* Player profiles - Player names and data can now be saved to a database.
* Enhanced particle effects -ĘThese are used for missile impacts and bullet to ground impacts.
* Airstrike! - An A-10 Thunderbolt II can be called using L+R trigger. Includes audio.
* New Apache model.
* In game messages can be printed to the HUD.
* Briefing screens - To add meaning to the madness, there are short mission descriptions for each mission (excludes Instant Action).
* Three new missions.
* Friendly tanks.
* Player Statistics - Mission data is saved to a player's profile. This includes flight time, accuracy, deaths etc.
* Post mission score board -ĘThe score board summarises statistical data of a just completed/failed mission.
* New Ammo and Health display on the HUD.
* The player helicopter can start some missions airborne.
* New factory building.
* Existing buildings have been scaled more accurately.
* Tweaked existing missions so that the player is less likely to be overwhelmed.

Under the Hood (for your interest)
* Particle Engine, Terrain and rendering optimisations.
* Splash Screen fixes.
* You can now shoot through destroyed buildings so that units inside them can be hit.
* Using the sqlite database for player data.

Known Issues
* Sometimes there is incorrect textures loaded (very elusive).
* Three Player Profile limit.
* High memory usage. Beware of too many PSP background processes.
* Suspend mode not supported.
* There is a delay between the mission being won/lost and the scoreboard being visible. This is because of the time taken to write data to the database.
* Slow load times; about 8 seconds (minus Sony logo).
* Some instances of near plane clipping of the terrain resulting in small amounts of unrenedered terrain.

== Version 0.03 ==
* Added some new buildings.
* Improved performance on PSP.
* Improved particle engine.
* Fixed renderer to support OpenGL versions less that 2.0.
* Fixed crash in control screen.
* Fixed error in paths to resources in Linux.

== Version 0.02 ==
* Improved rotor blades.
* Added windows port.
* Fixed some texture and sound bugs.
* Improved graphics engine.
* Added trees.
* Instant action is now random, not just mission one, with random road networks and enemies.
* Added a second control scheme to the PSP version which can be saved as a preference.
* Fixed the home button so it now shows the exit screen on all PSPs

== Version 0.01 ==
* Initial Release.