Alibek Omarov
683c4874f8
common: add ALLOC_CHECK macro that enables attribute alloc_size on GCC that allows to prevent suspicious allocation sizes
12 months ago
Alibek Omarov
fe9ed0ac9b
engine: client: gameui: add new NET_CompareAdrSort function to menu API
2 years ago
Alibek Omarov
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2 years ago
Alibek Omarov
2905f951bd
engine: menu_int: expose TF_EXPAND_SOURCE imagelib flag
2 years ago
Alibek Omarov
c532c3032c
engine: menu_int: hack to compile on MotoMAGX
3 years ago
Alibek Omarov
dd29e705f8
engine: menu_int: add _format and NORETURN attributes to MenuAPI
3 years ago
Alibek Omarov
df616b950d
engine: add NET_AdrToString to menu extended API, upgrade mainui submodule
3 years ago
Alibek Omarov
f3fedbfdba
engine: add safe ParseFile to menu extended API
3 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Alibek Omarov
5d97a293fe
menu_int: add DoubleTime extension
5 years ago
Alibek Omarov
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
9e30fc253f
engine: gameui: add new extended API and declare old engine menu extensions deprecated
5 years ago
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
6 years ago
Alibek Omarov
48d1aa5115
engine: fix warnings
6 years ago
Alibek Omarov
7601a4cd29
Revert 64257ef
to not break C++ header compability
6 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago
Alibek Omarov
78365d2bc6
Add new two functions to Menu API
7 years ago
Alibek Omarov
e1f80fba3d
Add forgotten const-qualifiers in interface headers. Remove unneeded PM headers
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
Alibek Omarov
9ab3300b76
Rename allow_console to developer in menu_int.h. Define NEW_ENGINE_INTERFACE.
7 years ago
Alibek Omarov
64257ef428
Avoid some struct declaration in parameter list
7 years ago
Alibek Omarov
4a0add4063
Move Win32 console into separate file(second commit), hide Win32 console code under _WIN32 macro. Add some fork-specific macros. Add sys_con.c for generic log file implementation.
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago