Difference between revisions of "Lib"

From VCMI Project Wiki
Jump to: navigation, search
(Library of general-purpose structures)
(Library of general-purpose structures)
Line 8: Line 8:
 
* [[Creature set]]
 
* [[Creature set]]
 
* [[Bonus]]
 
* [[Bonus]]
* [[ERM parser]]
 
 
* [[Json parser]]
 
* [[Json parser]]
  

Revision as of 13:53, 10 November 2011

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.