FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open Source File List

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Drop Shock Forum Index -> Open Source
View previous topic :: View next topic  
Author Message
Frizz
Site Admin


Joined: 10 Jun 2005
Posts: 3814

PostPosted: Tue Jun 26, 2012 11:27 am    Post subject: Open Source File List Reply with quote

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.
_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Drop Shock Forum Index -> Open Source All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group