mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
c6cc6e6301
- loading of all objects (including H3 objects) will be directed by mod handlers - common base for all handlers accessible from mod system (IHanderBase) - json format changes: use struct with string ID's instead of vector - fixed some gcc/clang errors and warnings - fixed several cases of memory leaks and invalid memory access (mostly related to usage of bonus system and/or identifiers resolution) Note that right now loading is much slower than before due to excessive json validation (or not fast enough validator)
183 lines
3.7 KiB
JSON
183 lines
3.7 KiB
JSON
{
|
|
"knight":
|
|
{
|
|
"index": 0,
|
|
"faction" : "castle",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH00.DEF", "female" : "CH01.DEF" },
|
|
"map": { "male" : "AH00_.def", "female" : "AH00_.def" }
|
|
}
|
|
},
|
|
"cleric" :
|
|
{
|
|
"index": 1,
|
|
"faction" : "castle",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH00.DEF", "female" : "CH01.DEF" },
|
|
"map": { "male" : "AH01_.def", "female" : "AH01_.def" }
|
|
}
|
|
},
|
|
"ranger" :
|
|
{
|
|
"index": 2,
|
|
"faction" : "rampart",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH02.DEF", "female" : "CH03.DEF" },
|
|
"map": { "male" : "AH02_.def", "female" : "AH02_.def" }
|
|
}
|
|
},
|
|
"druid" :
|
|
{
|
|
"index": 3,
|
|
"faction" : "rampart",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH02.DEF", "female" : "CH03.DEF" },
|
|
"map": { "male" : "AH03_.def", "female" : "AH03_.def" }
|
|
}
|
|
},
|
|
"alchemist" :
|
|
{
|
|
"index": 4,
|
|
"faction" : "tower",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH05.DEF", "female" : "CH04.DEF" },
|
|
"map": { "male" : "AH04_.def", "female" : "AH04_.def" }
|
|
}
|
|
},
|
|
"wizard" :
|
|
{
|
|
"index": 5,
|
|
"faction" : "tower",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH05.DEF", "female" : "CH04.DEF" },
|
|
"map": { "male" : "AH05_.def", "female" : "AH05_.def" }
|
|
}
|
|
},
|
|
"demoniac" :
|
|
{
|
|
"index": 6,
|
|
"faction" : "inferno",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH06.DEF", "female" : "CH07.DEF" },
|
|
"map": { "male" : "AH06_.def", "female" : "AH06_.def" }
|
|
}
|
|
},
|
|
"heretic" :
|
|
{
|
|
"index": 7,
|
|
"faction" : "inferno",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH06.DEF", "female" : "CH07.DEF" },
|
|
"map": { "male" : "AH07_.def", "female" : "AH07_.def" }
|
|
}
|
|
},
|
|
"deathknight" :
|
|
{
|
|
"index": 8,
|
|
"faction" : "necropolis",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH08.DEF", "female" : "CH09.DEF" },
|
|
"map": { "male" : "AH08_.def", "female" : "AH08_.def" }
|
|
}
|
|
},
|
|
"necromancer" :
|
|
{
|
|
"index": 9,
|
|
"faction" : "necropolis",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH08.DEF", "female" : "CH09.DEF" },
|
|
"map": { "male" : "AH09_.def", "female" : "AH09_.def" }
|
|
}
|
|
},
|
|
"warlock" :
|
|
{
|
|
"index": 10,
|
|
"faction" : "dungeon",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH010.DEF", "female" : "CH11.DEF" },
|
|
"map": { "male" : "AH10_.def", "female" : "AH10_.def" }
|
|
}
|
|
},
|
|
"overlord" :
|
|
{
|
|
"index": 11,
|
|
"faction" : "dungeon",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH010.DEF", "female" : "CH11.DEF" },
|
|
"map": { "male" : "AH11_.def", "female" : "AH11_.def" }
|
|
}
|
|
},
|
|
"barbarian" :
|
|
{
|
|
"index": 12,
|
|
"faction" : "stronghold",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH013.DEF", "female" : "CH012.DEF" },
|
|
"map": { "male" : "AH12_.def", "female" : "AH12_.def" }
|
|
}
|
|
},
|
|
"battlemage" :
|
|
{
|
|
"index": 13,
|
|
"faction" : "stronghold",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH013.DEF", "female" : "CH012.DEF" },
|
|
"map": { "male" : "AH13_.def", "female" : "AH13_.def" }
|
|
}
|
|
},
|
|
"beastmaster" :
|
|
{
|
|
"index": 14,
|
|
"faction" : "fortress",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH014.DEF", "female" : "CH015.DEF" },
|
|
"map": { "male" : "AH14_.def", "female" : "AH14_.def" }
|
|
}
|
|
},
|
|
"witch" :
|
|
{
|
|
"index": 15,
|
|
"faction" : "fortress",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH014.DEF", "female" : "CH015.DEF" },
|
|
"map": { "male" : "AH15_.def", "female" : "AH15_.def" }
|
|
}
|
|
},
|
|
"planeswalker" :
|
|
{
|
|
"index": 16,
|
|
"faction" : "conflux",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH16.DEF", "female" : "CH17.DEF" },
|
|
"map": { "male" : "AH16_.def", "female" : "AH16_.def" }
|
|
}
|
|
},
|
|
"elementalist" :
|
|
{
|
|
"index": 17,
|
|
"faction" : "conflux",
|
|
"animation":
|
|
{
|
|
"battle" : { "male" : "CH16.DEF", "female" : "CH17.DEF" },
|
|
"map": { "male" : "AH17_.def", "female" : "AH17_.def" }
|
|
}
|
|
}
|
|
}
|