phobos2077
6b6da17610
Updated TGameObj struct with separate sub-structs for items and critters; Put game enums and structs into fo namespace (broken build) #56
2017-03-06 02:20:22 +07:00
phobos2077
8ed93e8cf7
Replaced DATATYPE_* constants with enum class
2017-03-06 00:50:15 +07:00
phobos2077
31520d6f65
Fixed crash when using Graphic patch due to conflict between Movie patch and SkipOpeningMovies patch
2017-03-06 00:28:59 +07:00
phobos2077
033221398e
Fixed Sfall not working :)
...
Separated sfall initialization from WinAPI-specific code in main.cpp and InputFuncs.cpp
2017-03-05 22:41:19 +07:00
phobos2077
3a4b7fe3f5
Moved all files to sfall namespace
2017-03-05 21:49:21 +07:00
phobos2077
a016e4a236
Replaced all direct references to ini and translationIni with GetConfig*()
2017-03-05 18:25:33 +07:00
phobos2077
6f0901f980
Replaced more INI reading with new functions;
...
Removed CityRepsCount setting (redundant)
2017-03-05 01:52:33 +07:00
phobos2077
fbb643bfa8
Fix and refactor loading of ExtraGameMsgFileList
2017-03-04 20:23:03 +07:00
phobos2077
32c1de3a34
Added functions for reading from sfall INI files more easily;
...
Refactor Karma module init: use new INI functions, get rid of hacky string split code, removed KarmaFRMsCount (it's redundant)
2017-03-04 19:55:37 +07:00
phobos2077
b5a85fd57c
Merge branch 'feature/module-system' into develop
2017-03-04 17:57:33 +07:00
phobos2077
c0906521aa
Reduce external dependencies in LoadGameHook using the delegates for various events;
...
Renamed some variables and functions;
Moved Input patch into separate module;
Moved Graphics patch initialization into Graphics module;
Moved PipboyAvailableAtStart and DisableHorrigan patches into MiscPatches;
#69 #9
2017-03-04 17:51:24 +07:00
phobos2077
5b10d9e786
Fixed crash on pressing Reload hotkey while on the main menu; move some dependencies from LoadGameHook
2017-03-03 01:07:57 +07:00
phobos2077
75c7ab647f
Renamed some macros to avoid names reserved by C++ standart;
...
Replaced fixed-bit types with simple types in Enums and Struct definitions (because sfall is 32-bit exclusive by design).
2017-03-01 03:02:18 +07:00
phobos2077
38e0f21e93
Reorganize hooks in LoadGameHook: don't hook main menu loop, instead added "before new game" hook.
2017-03-01 02:50:27 +07:00
phobos2077
02658a3801
Moved fix patch to more appropriate place #70
2017-02-28 00:39:05 +07:00
phobos2077
72bde84d92
Fixed bug #70 by replacing item_count engine function
2017-02-28 00:32:47 +07:00
phobos2077
f3f9186ce7
Removed Cpp11_emu file. Goodbye, Windows 9x :'(
...
Added delegates to LoadGameHook.
2017-02-27 02:04:18 +07:00
phobos2077
be0cc2f3d5
Switch to Visual Studio 2015 compiler. Test some features with Delegate class
2017-02-27 01:48:54 +07:00
phobos2077
826c3eb021
Added Module classes for every sfall module; #9
...
Moved all patches out from main.cpp;
Fixed all build errors.
2017-02-27 01:27:04 +07:00
phobos2077
8284eb50f0
Moved more stuff out from main.cpp;
...
Added module manager class with example usage; #9
Attempted to implement Delegate class.
2017-02-26 22:53:32 +07:00
phobos2077
160c11043f
Moved SpeedPatch to separate unit; moved Karma FRMs patch to Karma.cpp #7
2017-02-26 02:59:08 +07:00
phobos2077
6e5a0fd085
Moved DisplayKarmaChange patch into separate unit #7
2017-02-26 02:48:16 +07:00
phobos2077
57ef099e97
Moved LoadOrder patch into separate unit #7
2017-02-26 02:43:19 +07:00
phobos2077
944b95d796
Move all Worldmap-related patches into separate unit #7
2017-02-26 02:35:53 +07:00
phobos2077
dfa9534bd1
Move more patches away from main.cpp to Misc module
2017-02-26 02:17:39 +07:00