Skip to content

Comments

Report what compiler is used to build the game#2864

Closed
illwieckz wants to merge 0 commit intomasterfrom
illwieckz/compiler-string/sync
Closed

Report what compiler is used to build the game#2864
illwieckz wants to merge 0 commit intomasterfrom
illwieckz/compiler-string/sync

Conversation

@illwieckz
Copy link
Member

@illwieckz illwieckz added the A-Build When the code doesn't compile, or worse, compiles wrong label Dec 3, 2023
@illwieckz
Copy link
Member Author

What is the function used to init the cgame when in main menu? It looks like CG_Init() is only called when connected to a server.

At least, the Log::Notice I placed at the very beginning of it (first line) is not printed when the game is not connected yet to a server, but only the main menu is running.

@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch 2 times, most recently from 5358243 to c98d328 Compare December 17, 2023 15:28
@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch from c98d328 to 3a00d49 Compare April 30, 2024 05:10
@illwieckz
Copy link
Member Author

I only get such lines when a map is loaded:

SGame NaCl nacl (PNaCl 4.2.1/clang-3.6.0 pnacl-clang++) Apr 30 2024
CGame NaCl nacl (PNaCl 4.2.1/clang-3.6.0 pnacl-clang++) Apr 30 2024

When only the main menu is loaded, nothing is printed. Where is the entry point for the main menu?

@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch from 3a00d49 to 32f19d3 Compare April 30, 2024 05:58
@illwieckz
Copy link
Member Author

illwieckz commented Apr 30, 2024

I only get such lines when a map is loaded:

SGame NaCl nacl (PNaCl 4.2.1/clang-3.6.0 pnacl-clang++) Apr 30 2024
CGame NaCl nacl (PNaCl 4.2.1/clang-3.6.0 pnacl-clang++) Apr 30 2024

When only the main menu is loaded, nothing is printed. Where is the entry point for the main menu?

It looks like I found the right place. Now it always prints the CGame version when it is loaded, even if a map is not loaded yet.

@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch from 32f19d3 to a04e204 Compare November 4, 2024 15:53
@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch 2 times, most recently from 805ed35 to 3761967 Compare December 7, 2024 07:17
@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch from 3761967 to 682b52d Compare January 7, 2025 00:49
@illwieckz illwieckz closed this Jan 7, 2025
@illwieckz illwieckz force-pushed the illwieckz/compiler-string/sync branch from 682b52d to 52edfde Compare January 7, 2025 01:16
@illwieckz illwieckz deleted the illwieckz/compiler-string/sync branch January 7, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Build When the code doesn't compile, or worse, compiles wrong

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant