yvt 7c3a39e639
Modernize
- Replaced raw pointers with references or smart pointers. Nullable
  references are represented by `stmp::optional<const T&>`. (There are
  many raw pointers still remaining. They should be replaced at some
  point.)
- Added class template specializations `stmp::optional<T &>` and
  `stmp::optional<const T&>`.
- Fixed `stmp::optional`'s various behaviors
- `World::{players, playerPersistents}` are now `std::array`.
- More uses of `stmp::optional` to clarify the semantics
- Renamed `PlayerThrownGrenade` to `PlayerThrewGrenade`
- Replaced old-style `for` loops with range based ones
- Deleted `Player`'s default constructors and `operator =`
- Deleted `TCGameMode`'s default constructor and `operator =`
- Deleted `CTFGameMode`'s default constructor and `operator =`
- Replaced `static_cast` with `dynamic_cast` for down-casting
- `RefCountedObject::operator*()` no longer requires non-constness to
  return `T &`.
- Replaced the uses of `std::vector::operator[]` with `std::vector::at`
  for bounds checking.
- Made some methods of `GameMap` `const`.
- Added some null checks.
2019-07-17 00:31:00 +09:00
..
2019-07-14 22:29:15 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2017-01-05 03:48:11 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2017-01-05 03:48:11 +09:00
2017-01-04 21:32:11 +02:00
2017-01-04 21:32:11 +02:00
2017-11-18 21:15:07 +00:00
2016-12-11 23:18:16 +09:00
2019-07-16 01:17:47 +09:00
2019-07-16 01:17:47 +09:00
2019-05-19 16:51:27 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2017-01-05 03:48:11 +09:00
2018-10-13 14:43:49 +09:00
2018-10-13 14:43:49 +09:00
2016-12-11 23:18:16 +09:00
2018-10-13 14:43:49 +09:00
2019-07-14 23:53:10 +09:00
2019-07-17 00:31:00 +09:00
2017-02-11 16:38:24 +09:00
2019-07-17 00:31:00 +09:00
2017-01-09 05:00:05 +09:00
2017-01-05 03:48:11 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2016-12-03 19:04:58 +09:00
2016-12-03 18:49:07 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2016-12-03 19:04:58 +09:00
2018-10-13 14:43:49 +09:00
2016-12-03 18:49:07 +09:00
2019-07-17 00:31:00 +09:00
2017-01-05 03:48:11 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2018-09-17 23:48:38 +09:00
2017-01-05 03:48:11 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00
2019-07-17 00:31:00 +09:00