Frizz Site Admin

Joined: 10 Jun 2005 Posts: 3814
|
Posted: Tue Jun 26, 2012 11:27 am Post subject: Open Source File List |
|
|
List of files currently on SourceForge: https://sourceforge.net/projects/dropshock/
Some of the code for these files is very, very old ... please pardon some of the poorer coding practices I started with 7 years ago.
deploy_arena.php - UI elements / options for creating an arena
inc_combat_tohit.php - contains all the to-hit logic for the game. Some bonuses are passed in from other places (effects, commands, etc.), process_turn.php will give you a better idea.
process_ai.php - The brains of the Bandits, Shak & Faction buildings
process_deploy_arena.php - validates input, creates arena
process_deploy.php - handles taking units from your army and adding them to planets. This file is also called when a Drop Pad is used.
process_map.php - This is the code that handles user interaction while deployed. Movement, attacking, issuing commands, etc.
process_turn.php - This is the turn processor, it makes everything happen on planets: combat, experience, movement, etc. _________________
 |
|