ddnet/src/base
bors[bot] caf889d04a
Merge #5406
5406: Remove namespace tw r=Jupeyy a=heinrich5991

It didn't have a clear role, it just acted as a distinguisher between
two functions with the same name.

Rename `tw::time_get` to `time_get_nanoseconds` and delete the old
`time_get_nanoseconds`. Move `CCmdlineFix` and the typed
`net_socket_read_wait` function to the global namespace.

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2022-06-14 17:46:17 +00:00
..
tl Add CLockScope 2022-06-03 12:21:23 +02:00
unicode Changed file names to match classic source.c include header.h 2022-05-07 00:54:29 +02:00
color.h clang-format 2022-05-28 02:22:43 +02:00
detect.h Emscripten support 2022-03-25 12:42:18 +01:00
dynamic.h Run clang-format 2020-09-26 21:50:15 +02:00
hash.cpp Added external linkage instead of static const 2022-04-03 01:12:27 +02:00
hash.h Added external linkage instead of static const 2022-04-03 01:12:27 +02:00
hash_bundled.cpp Use cpp 2021-06-24 17:19:17 +02:00
hash_ctxt.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
hash_libtomcrypt.cpp Remove unused includes from base 2022-05-29 19:49:38 +02:00
hash_openssl.cpp Use cpp 2021-06-24 17:19:17 +02:00
lock_scope.h Add CLockScope 2022-06-03 12:21:23 +02:00
log.cpp Add log_set_loglevel instead of depending on engine config 2022-06-13 23:21:41 +02:00
log.h Add logging macros log_{error,warn,info,debug,trace} 2022-04-29 15:32:42 +02:00
logger.h Add log_set_loglevel instead of depending on engine config 2022-06-13 23:21:41 +02:00
math.h Work around Windows's definition of min/max 2022-05-31 17:26:35 +02:00
system.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
system.h Remove namespace tw 2022-06-13 18:07:29 +02:00
vmath.h vmath: Make vector2_base() constructors constexpr 2022-05-28 20:58:22 +03:00