Vennor
|
6bd7d4f05c
|
Moved sfall additional save game file reading from LoadGame2_After to LoadGame2_Before to make saved arrays available in start functions of ssl scripts.
|
2016-12-15 20:18:43 +01:00 |
|
Vennor
|
c3e4894243
|
Moved opening brace to the same line as the function prototype.
|
2016-05-09 19:34:07 +02:00 |
|
Vennor
|
2330dd97bb
|
Refactored op_message_str_game2 function to always return a valid string value. Now an "Error" string will be returned on error instead of an uninitialized char pointer or an integer value.
|
2016-05-09 19:10:25 +02:00 |
|
Vennor
|
90b718122d
|
Added string header inclusion to Message.cpp.
|
2016-05-08 20:15:37 +02:00 |
|
Vennor
|
5ca7ed0dc5
|
- Renamed ClearExtraGameMsgFiles function to ClearReadExtraGameMsgFiles.
- Moved ClearReadExtraGameMsgFiles function to Message.cpp.
- Added map clearing to ClearReadExtraGameMsgFiles.
- Changed formatting.
|
2016-05-08 20:13:13 +02:00 |
|
Vennor
|
9bd03bfb76
|
Changed std::unordered_map to std::tr1::unordered_map for compatibility with older compilers.
|
2016-05-08 20:09:56 +02:00 |
|
Vennor
|
07b7e270b8
|
- Encapsulated and moved ReadExtraGameMsgFiles function call from NewGame2 to MainMenu.
|
2016-05-08 16:11:51 +02:00 |
|
Vennor
|
f9dbbcdca2
|
- Tidied up extra game message getter a bit.
- Removed unnecessary function call.
|
2016-05-08 15:53:05 +02:00 |
|
Vennor
|
b8968c5334
|
- Added extra msg file reading based on names given in ddraw.ini.
- Added fetching strings from extra msg files.
|
2016-04-02 18:43:52 +02:00 |
|
Vennor
|
4f6b68ca93
|
- Moved existing msg file reading functions and structs from HeroAppearance.cpp to a dedicated Message.h/.cpp file pair.
- Added extern map to hold read extra msg files.
|
2016-04-02 18:41:59 +02:00 |
|
Vennor
|
25094253e5
|
Added keyHash map clearing after each for loop pass. Without this arrays could load hashed indices of elements they don't actually contain, which in turn could lead to crashes if certain conditions are met.
|
2016-03-12 17:08:15 +01:00 |
|
Vennor
|
bdffc061d3
|
Changed the order of script array element data removal from C++ containers. Without this std::unordered_map's keys were modified before erasure which lead to undefined behavior.
|
2016-03-12 17:05:20 +01:00 |
|