105 Commits (df325f6366f45dc4e37ed3bc355a45cd9d51a52d)

Author SHA1 Message Date
Anders Jenbo 1c76897f2c Apply simple const rules using clang-tidy 7 months ago
Eric Robinson e538b457bf
Refactor Missile direction/frame group handling 10 months ago
Gleb Mazovetskiy 25c1c5b372 Fix a few -Wsign-compare warnings 2 years ago
obligaron 79a43dc1de Introduce AddMissile overloads specific for player and monster 2 years ago
obligaron b810c808f5 Msg: Change OnXYZ to get a Player reference instead of a player index 2 years ago
obligaron 9bf1fd48b0
Fix a few MSVC warnings (#6782) 2 years ago
Anders Jenbo bb2e189327 Convert _sfx_id in to class enum 2 years ago
qndel 728b632960 fix typos 3 years ago
qndel 41adc6a259 rename WarpDrop -> PortalTownPosition 3 years ago
qndel 4884da895c rename AddWarpMissile -> AddPortalMissile 3 years ago
qndel 398d09477a rename AddInTownPortal -> AddPortalInTown 3 years ago
Łukasz 2ec0603896
use `Point`s instead of `x, y`s in GetRndObjLoc (objects.cpp) and portal-related functions (portal.cpp) (#5897) 3 years ago
obligaron b3a3d520dd When using a portal to a setmap also set setlvltype, cause it's needed to load areana correctly 3 years ago
Gleb Mazovetskiy e67ea9b006 Make `MissilesData` const 3 years ago
Gleb Mazovetskiy 0a6a8e8aa0 Clean up missile data access 3 years ago
Anders Jenbo c99f7cf644
Floating numbers (#5639) 3 years ago
KPhoenix 8db521727d
`enum missile_id` -> `enum class MissileID` 3 years ago
obligaron 50cea20687 Show portal opening animation in town 3 years ago
Anders Jenbo 872456ae5d Use size_t for a select few pnum variables 4 years ago
Gleb Mazovetskiy 188dc79f6e Make `Players` a vector 4 years ago
obligaron c955722c32 Fix portal don't deactive on set levels 4 years ago
obligaron 184290a977 Support setlevel in multiplayer 4 years ago
obligaron d0c14fe92f Introduce Player::setlevel 4 years ago
Anders Jenbo 1203514383 Clean up use of currlevel 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
ephphatha 32d397eb2a Add max_size checks when adding missiles to allow for limited size containers 4 years ago
obligaron 234a053863 Change Missiles Array to std::list 4 years ago
staphen 5b21e0188f Fix order of operations during game initialization 4 years ago
Andrew James 796e2813cf
Use scoped enums for DungeonFlags/BFLAG (#3135) 4 years ago
Anders Jenbo 31ba8e2bc6 Validate additional network messages 5 years ago
ephphatha b12de6fe12 Use scoped enum for Direction 5 years ago
ephphatha 851fb87e24 Remove mi argument from DeleteMissile 5 years ago
Juliano Leal Goncalves 4ea9cd539e 🚚 Rename 'PortalStruct' struct to 'Portal' 5 years ago
Juliano Leal Goncalves d82b3b542f
🚚 Rename 'MissileDataStruct' struct to 'MissileData' (#2803) 5 years ago
Juliano Leal Goncalves 940a120bf9 ♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition' 5 years ago
Anders Jenbo d7c6d8b189 Use proper Direction type for AddMissile midir 5 years ago
Anders Jenbo 7f6e171b4b Use BFLAG_MISSILE instead of dMissile 5 years ago
BC Ko 14b7e3bdc1
2435 refactor missiles part 2 (#2635) 5 years ago
Anders Jenbo 069249f318 🚚 Move local function to anonymous namespace i-p 5 years ago
Anders Jenbo 903d4bd2e1 Scope all for loops 5 years ago
Anders Jenbo 9ae908f947 Rename missile globals 5 years ago
Anders Jenbo 96bf75b502 Rename player globals 5 years ago
Vladimir Olteanu 95643029e3 Refactor missiles.cpp 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
Juliano Leal Goncalves b3ec79af4f
Leverage 'Point' in Lighting and Player functions (#2048) 5 years ago
Anders Jenbo 2bd13451a1 ♻️Apply point positioning to all remaning entities 5 years ago
Anders Jenbo 98cd435fba ♻️ Apply point types to missiles 5 years ago
Anders Jenbo 1e3ed903be 🎨 strip redundant else 5 years ago
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 5 years ago
Anders Jenbo e7ae8ddd04 🚚 Move all enums to there respective headers 5 years ago