Skip to content

Conversation

@Vladislav4KZ
Copy link
Contributor

My first attempt at reverse engineering...

@Vladislav4KZ
Copy link
Contributor Author

Currently, the autohelp text may be "typed out" more slowly when multibyte characters are used.

For example, when the game uses English language, the timings match. When it uses Russian, the text is typed more slowly, and the text holdtime is longer.

In the original CS 1.6, the timings are the same for all text, both for single-byte and multibyte characters.

@Velaron
Copy link
Owner

Velaron commented Jan 17, 2026

I like to take function signatures directly from the debug info, same with parameter names. It's easier to compare later then. Even if the parameter is unused I keep it for convenience.

ex: int CHudMessage::MessageAdd(const char *pName, float time, int hintMessage, unsigned int font)

hintMessage might even be a qboolean (a typedef to int) here, seems to be used as a bool

@Vladislav4KZ
Copy link
Contributor Author

I’ve redone it, take a look.

Copy link
Collaborator

@a1batross a1batross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused parameter still commented out as per @Velaron previous comment, but seems to be OK overall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants