Difference between revisions of "Lib"

From VCMI Project Wiki
Jump to: navigation, search
(Created page with "Lib consists of two logical parts: == Library of general-purpose structures == * int3 * Creature set * Bonus * Json parser == Game object handlers == * [[Adventur...")
 
(Library of general-purpose structures)
 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== Library of general-purpose structures ==
 
== Library of general-purpose structures ==
 +
 +
These classes belong to VCMI_lib project and handle objects specific to game, used by higher-level mechanics and interfaces. Therefore, library needs to be compiled prior to any other project in solution.
  
 
* int3
 
* int3
 
* [[Creature set]]
 
* [[Creature set]]
 +
* [[Netpacks]]
 
* [[Bonus]]
 
* [[Bonus]]
* [[Json parser]]
+
* [[Json_parser_and_writer |Json parser]]
  
 
== Game object handlers ==
 
== Game object handlers ==
 +
These handlers contain all the info about game objects extracted from config files and their general behaviour.
 +
Handlers are avaliable from LibClasses class defined in VCMI_lib.h file.
  
 
* [[Adventure object]] handler
 
* [[Adventure object]] handler
Line 14: Line 19:
 
* [[Town building]] handler
 
* [[Town building]] handler
 
* [[Campaign]] handler
 
* [[Campaign]] handler
* [[Hero handler]]
+
* [[Hero]] handler
 
* [[Spell]] handler
 
* [[Spell]] handler
 
* [[Town]] handler
 
* [[Town]] handler
 
* [[Lod]] handler
 
* [[Lod]] handler
 
* General [[text]] handler
 
* General [[text]] handler

Latest revision as of 07:46, 23 April 2012

Lib consists of two logical parts:

Library of general-purpose structures

These classes belong to VCMI_lib project and handle objects specific to game, used by higher-level mechanics and interfaces. Therefore, library needs to be compiled prior to any other project in solution.

Game object handlers

These handlers contain all the info about game objects extracted from config files and their general behaviour. Handlers are avaliable from LibClasses class defined in VCMI_lib.h file.