1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib
Konstantin c84a9f32f6 vcmi: fix road and river loading
It actually catched by MapFormat.Terrain test crash.
So, this is a fix (functions does not trowing exceptons, it returns NULL
if something is wrong).
2023-03-05 22:41:38 +03:00
..
battle Enum is now in its own namespace, comments for enum values removed 2023-03-01 21:21:20 +02:00
events vstd::unique -> std::unique 2022-12-07 23:36:20 +02:00
filesystem Unicode conversion functions now require source encoding 2023-03-05 17:39:27 +02:00
logging introduce VCMI_MOBILE macro 2023-03-02 12:09:49 +03:00
mapObjects Merge pull request #1581 from IvanSavenko/map_render_rewrite 2023-03-05 19:51:07 +02:00
mapping vcmi: fix road and river loading 2023-03-05 22:41:38 +03:00
minizip remove copy-pasted functions from ioapi.c 2023-02-24 13:42:26 +03:00
registerTypes Removed remaining hardcoded objects 2023-01-23 15:27:27 +02:00
rmg Provide encoding information to maps & campaigns loaders 2023-03-05 17:39:27 +02:00
serializer Merge pull request #1547 from dydzio0614/game-start-unrandomization 2023-03-05 17:29:49 +02:00
spells Merge pull request #1581 from IvanSavenko/map_render_rewrite 2023-03-05 19:51:07 +02:00
vstd vstd: pass separators and input by reference 2023-02-05 18:07:56 +03:00
AI_Base.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
BattleFieldHandler.cpp Finalization of refactoring: 2023-01-20 15:18:36 +02:00
BattleFieldHandler.h Finalization of refactoring: 2023-01-20 15:18:36 +02:00
CAndroidVMHelper.cpp fix using JNI from server in single process build 2023-03-02 12:09:48 +03:00
CAndroidVMHelper.h fix using JNI from server in single process build 2023-03-02 12:09:48 +03:00
CArtHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CArtHandler.h vcmi: modernize lib/mapObjects 2023-02-14 14:39:56 +03:00
CBonusTypeHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CBonusTypeHandler.h Moved bonus names to translation 2023-01-25 12:36:02 +02:00
CBuildingHandler.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CBuildingHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConfigHandler.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConfigHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConsoleHandler.cpp Allow ingame console to use clientside commands and print output 2023-01-06 21:01:54 +01:00
CConsoleHandler.h Fix indent 2023-01-16 00:37:18 +01:00
CCreatureHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CCreatureHandler.h Merge pull request #1429 from dydzio0614/creature-numeric-quantities 2023-02-26 22:57:01 +02:00
CCreatureSet.cpp Use config values from new settings 2023-02-15 23:36:09 +01:00
CCreatureSet.h Implement numeric creature descriptions with config toggle on/off 2023-01-14 15:55:08 +01:00
CGameInfoCallback.cpp Grail digging check is now in library 2023-03-05 17:48:02 +02:00
CGameInfoCallback.h Grail digging check is now in library 2023-03-05 17:48:02 +02:00
CGameInterface.cpp enable StupidAI and EmptyAI for static AI 2023-03-02 12:09:49 +03:00
CGameInterface.h Implemented View Earth / View Air spells 2023-03-05 17:48:02 +02:00
CGameState.cpp Merge pull request #1547 from dydzio0614/game-start-unrandomization 2023-03-05 17:29:49 +02:00
CGameState.h Renamed getUpgradeInfo -> fillUpgradeInfo 2022-12-25 14:03:43 +02:00
CGameStateFwd.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CGeneralTextHandler.cpp Implemented translations for H3M maps 2023-03-05 17:39:27 +02:00
CGeneralTextHandler.h Unicode conversion functions now require source encoding 2023-03-05 17:39:27 +02:00
CHeroHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CHeroHandler.h Remove unused code 2023-01-20 15:18:36 +02:00
CMakeLists.txt enable StupidAI and EmptyAI for static AI 2023-03-02 12:09:49 +03:00
CModHandler.cpp Fonts will now correctly detect encoding of fonts from mods 2023-03-05 17:39:27 +02:00
CModHandler.h Provide encoding information to maps & campaigns loaders 2023-03-05 17:39:27 +02:00
Color.h vcmi/client: make ColorRGBA constexpr 2023-02-12 19:11:24 +03:00
CondSh.h Introduced animation phases for beter ordering of visuals in battles 2022-12-13 21:31:49 +02:00
ConstTransitivePtr.h vcmi: make ConstTransitivePtr always init self. 2023-02-12 17:59:06 +03:00
CPathfinder.cpp Moved road & river handlers into a separate file 2023-01-11 15:17:24 +02:00
CPathfinder.h Renamed Terrain.h/cpp -> TerrainHandler.h/cpp 2023-01-10 00:01:35 +02:00
CPlayerState.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CPlayerState.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CRandomGenerator.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CRandomGenerator.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CScriptingModule.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CScriptingModule.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CSkillHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CSkillHandler.h VcmiLua builds properly now 2023-02-01 20:25:09 +01:00
CSoundBase.h Fix for missing Death Blow sound 2022-12-25 20:11:22 +02:00
CStack.cpp All artifact strings now pass through translator 2023-01-20 15:18:36 +02:00
CStack.h All creature-related texts go through translator 2023-01-20 15:18:36 +02:00
CStopWatch.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CThreadHelper.cpp Apply suggestions from code review 2022-09-24 15:55:26 +03:00
CThreadHelper.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CTownHandler.cpp All translatable strings now have language identifier 2023-03-05 17:30:38 +02:00
CTownHandler.h Bugfixing 2023-01-20 16:11:43 +02:00
FunctionList.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
GameConstants.cpp Merge remote-tracking branch 'vcmi/develop' into battle_improvements 2022-12-23 14:51:34 +02:00
GameConstants.h Implemented translations for H3M maps 2023-03-05 17:39:27 +02:00
HeroBonus.cpp Merge vcmi/beta into vcmi/develop 2023-01-29 18:21:55 +02:00
HeroBonus.h vcmi: deprecate MAXED_SPELL 2023-02-04 16:23:03 +03:00
IBonusTypeHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
IGameCallback.cpp Moved road & river handlers into a separate file 2023-01-11 15:17:24 +02:00
IGameCallback.h Basic version of hero movement on map. Removed old code. 2023-03-05 17:48:02 +02:00
IGameEventsReceiver.h redraw optimization 2023-03-03 10:17:31 +02:00
IHandlerBase.cpp Finalization of refactoring: 2023-01-20 15:18:36 +02:00
IHandlerBase.h Finalization of refactoring: 2023-01-20 15:18:36 +02:00
int3.h vcmi: make int3 as constexpr class 2023-02-12 19:00:43 +03:00
Interprocess.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
JsonDetail.cpp renamed Unicode -> TextOperations, to use for all text processing 2023-03-05 17:39:23 +02:00
JsonDetail.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
JsonNode.cpp Partially fixed bonuses descriptions (affected by separate old bug) 2023-01-24 17:34:48 +02:00
JsonNode.h Fixed all major bugs with newly converted objects 2023-01-22 18:17:26 +02:00
Languages.h Moved common language data into a new file 2023-03-05 17:30:38 +02:00
LoadProgress.cpp Editor prerequisites [part 2] (#889) 2022-09-17 14:04:01 +03:00
LoadProgress.h Editor prerequisites [part 2] (#889) 2022-09-17 14:04:01 +03:00
LogicalExpression.cpp Introduced string identifiers for H3 texts, still WIP 2023-01-01 14:56:44 +02:00
LogicalExpression.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
NetPacks.h Refactoring of new code, multiple functionality changes: 2023-03-05 18:02:58 +02:00
NetPacksBase.h rework netpacks to avoid double typeinfo 2023-02-13 20:26:39 +02:00
NetPacksLib.cpp Provide encoding information to maps & campaigns loaders 2023-03-05 17:39:27 +02:00
NetPacksLobby.h rework netpacks to avoid double typeinfo 2023-02-13 20:26:39 +02:00
NetPackVisitor.h rework netpacks to avoid double typeinfo 2023-02-13 20:26:39 +02:00
ObstacleHandler.cpp Finalization of refactoring: 2023-01-20 15:18:36 +02:00
ObstacleHandler.h Finalization of refactoring: 2023-01-20 15:18:36 +02:00
PathfinderUtil.h Renamed Terrain.h/cpp -> TerrainHandler.h/cpp 2023-01-10 00:01:35 +02:00
Point.h Basic version of hero movement on map. Removed old code. 2023-03-05 17:48:02 +02:00
Rect.cpp Refactoring of MapView 2023-03-05 17:48:02 +02:00
Rect.h Completely removed old TerrainRect class 2023-03-05 17:57:36 +02:00
ResourceSet.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ResourceSet.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
RiverHandler.cpp Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
RiverHandler.h Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
RoadHandler.cpp Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
RoadHandler.h Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
ScopeGuard.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ScriptHandler.cpp Finalization of refactoring: 2023-01-20 15:18:36 +02:00
ScriptHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
StartInfo.cpp Provide encoding information to maps & campaigns loaders 2023-03-05 17:39:27 +02:00
StartInfo.h Apply suggestions from code review 2022-09-24 15:55:26 +03:00
StdInc.cpp Rename radious -> radius 2016-01-31 18:01:58 +03:00
StdInc.h Moved boost:format log proxy to CLoggerBase 2016-08-13 16:57:18 +03:00
StringConstants.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
TerrainHandler.cpp Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
TerrainHandler.h Fix string ID's road/river/terrains 2023-03-05 17:39:27 +02:00
TextOperations.cpp Fonts will now correctly detect encoding of fonts from mods 2023-03-05 17:39:27 +02:00
TextOperations.h Fonts will now correctly detect encoding of fonts from mods 2023-03-05 17:39:27 +02:00
UnlockGuard.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
vcmi_endian.h lib: replace SDL usage to Boost one 2023-02-02 23:58:22 +03:00
VCMI_lib.cbp lib: remove unused header 2023-02-02 23:50:50 +03:00
VCMI_Lib.cpp Fix destructor order 2023-02-15 20:37:18 +02:00
VCMI_Lib.h Converted terrainTypeHandler into proper handler class 2023-01-10 00:01:35 +02:00
VCMI_lib.vcxproj Update VS files to 2019, partially fix test project 2019-06-09 17:28:55 +02:00
VCMI_lib.vcxproj.filters Update visual studio project files 2018-08-22 17:31:48 +03:00
VCMIDirs.cpp refactor VCMIDirs for Android 2023-03-02 12:09:47 +03:00
VCMIDirs.h editorPath -> mapEditorPath 2022-12-28 17:59:16 +02:00