CGE: Change declaration place and descriptions #3177
I rebased the branch on latest master for you to fix the conflict. Your branch was created on a 3-days old master that did not include the last commit from digitall on the CGE engine.
Since I was experimenting with the code, I also pushed a further commit with some changes. This was faster than commenting on the pull request to ask you to do those, but I encourage you to look at the commit as you might want to do similar changes for the CGE2 pull request. Also don't hesitate to ask questions if the purpose of some of those changes os not clear to you.
Looking at this I also understood why the
…e same text There was a check in place to avoid redrawing the infoline when calling the update() function with the same text multiple times. Such calls happen when the cursor moves over an object (or menu option) without leaving that object. The check was however incorrect and did nothing because it was keeping the pointer from the end of the previous text and not the start. From the log it seems that the bug was present from the start, and probably in the original source code. It was however fixed in Sfinx (CGE2 engine), and this commit uses the same logic.
I have now done more test and more digging and I am almost certain it was indeed a bug in the original source code. I pushed an additional commit with a fix.