Ihar Hubchyk
Ihar Hubchyk
A included file has the same namespace as current file. Included file contains in namespace ```using namespace``` which is within the file: file a.h: ``` namespace A { class T;...
You have a code: ```void f(); void f2() { ... f(); } void f() { ... } ``` You will have a warning for function f().
This is correct behaviour to put static variable in cpp file like for example for singletons while putting it in header file could be dangerous.
I can see if I declare only function pointers cppclean throws warnings ```declared but not defined```
It gives warning when you declare a variable in header file but you this variable in another files only.
The crash stack: ``` Traceback (most recent call last): File "cppclean", line 166, in sys.exit(main()) File "cppclean", line 159, in main quiet=args.quiet): File "cppclean/cpp/static_data.py", line 118, in run _find_warnings(filename, lines,...
### Preliminary checks - [X] I've checked that there aren't [**other open issues**](https://github.com/ihhub/fheroes2/issues?q=is%3Aissue) on the same topic. ### Describe the problem requiring a solution After merging #5692 we still have...
Currently all AI heroes have the same role which is incorrect. Based on @idshibanov proposal we could make an enhancement on existing AI hero logic: - [x] use existing `enum...
We have a logic for meeting two AI heroes in `void AIMeeting( Heroes & left, Heroes & right )` function. The logic for army exchange could be described shortly as...