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
..
2014-04-01 02:18:28 +09:00
2017-08-18 18:25:40 +09:00
2019-07-17 00:31:00 +09:00
2013-11-16 01:34:37 +01:00
2013-11-23 02:50:02 +09:00
2013-11-16 01:34:37 +01:00
2019-07-14 23:53:10 +09:00
2013-11-16 01:34:37 +01:00
2013-11-16 01:34:37 +01:00
2013-11-16 01:34:37 +01:00
2013-11-16 01:34:37 +01:00
2017-02-25 21:19:19 +09:00
2017-02-25 21:19:19 +09:00
2017-01-30 01:02:40 +09:00
2018-10-13 14:43:49 +09:00
2017-01-30 01:02:40 +09:00
2014-02-14 16:20:42 +09:00