Attemp to make compatible with full soc game for openxray#1940
Attemp to make compatible with full soc game for openxray#1940werasik2aa wants to merge 12 commits intoOpenXRay:devfrom
Conversation
|
Hello everyone! I'm new here, and I'm very intrigued by this PR I'm very far from C++, and unfortunately, I'm more familiar with Java :( I looked at the code and wanted to suggest implementing a common interface and then using it to implement resource handlers, like animation/sound and so on, depending on the game. If it is possible to implement it Here's the idea: During the game's initialization or launch, determine the game type and use it to call the necessary code The set and names of the methods/classes defining the contract are the same, but the implementation is specific to a given type of game It seems to me that this solution will simplify the code and reduce computational costs when checking conditions (I'm not sure that the branch predictor will always work correctly) UPD: Based on these considerations, I can suggest next ways to solve this issue:
|
e38d9d8 to
94d0261
Compare
interesting idea |
1 Attemp to make compatible with full soc game for openxray
Currently : A lot of bugs but runs