653 Commits (660f8d2f43cb260f4966d00eed9ff8001099490d)

Author SHA1 Message Date
Juliano Leal Goncalves d47fc924f3 ♻️ Use '_item_indexes' instead of 'int' for 'ItemStruct.IDidx' field 5 years ago
obligaron ab3f3f3ee7 Introduce ItemStruct.SetNewAnimation(bool) to start Animations only at one location 5 years ago
obligaron 6d5291b17d Enable ADL for Items 5 years ago
obligaron ccc1ccf9c3 Introduce ItemStruct.AnimInfo 5 years ago
Anders Jenbo 27591cc29f Fix spawn save game compatability 5 years ago
Juliano Leal Goncalves e67683e5be ♻️ Simplify 'GetSuperItemLoc' logic using 'Point'. 5 years ago
Juliano Leal Goncalves b0584f1925 ♻️ Simplify 'GetSuperItemSpace' logic using 'Point'. 5 years ago
Juliano Leal Goncalves 1cc121e95c ♻️ Simplify 'SpawnRock' logic using 'Point'. 5 years ago
Juliano Leal Goncalves 1bf319bc11 ♻️ Leverage 'Point' struct on 'ItemPlace' 5 years ago
Juliano Leal Goncalves 6aa6efb720 ♻️ Extract item position generation logic to common function 5 years ago
Juliano Leal Goncalves b04047ba4d ♻️ Leverage 'Point' struct on 'SpawnUnique' 5 years ago
Juliano Leal Goncalves 9c85e61025 ♻️ Leverage 'Point' struct on 'ItemSpaceOk' 5 years ago
qndel ab0478319c assign seed to quest items + rng cleanup 5 years ago
Kalebe Alves 118efe8e6d
Use Point/SDL_Rect for control functions coordinate system 5 years ago
Gleb Mazovetskiy dd3ea66fa2 ♻️ Split getTextColor(bool) into 2 functions 5 years ago
qndel 2f3cf65b27 cleanup getTextColor 5 years ago
qndel b1d74d2791
alt highlighting (#2060) 5 years ago
Anders Jenbo 68249d07e3 Correct false positives translation warnings 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
obligaron d97131349e Unify player_graphic memory handling 5 years ago
obligaron 61ba5009ac Convert to CelSprite 5 years ago
obligaron 3067aeacb8 Remove PlayerStruct._pXYZWidth and replace it with calls to GetAnimationWidth 5 years ago
obligaron c424f601ec Change LoadPlrGFX from pnum to PlayerStruct 5 years ago
Jmgr 0e7ada15fc Apply new format to ngexttext translations 5 years ago
Jmgr bbd39aa513 Replace sprintfs with strcpy for translatable strings 5 years ago
Jmgr 6e85cde978 Update format strings 5 years ago
Jmgr 0c27e756f7 Add fmt::format 5 years ago
obligaron a295586636 Support changing animation data on-the-fly even if the number of frames differ 5 years ago
Vladimir Olteanu 0c7c71d579
Cleanup of items.cpp (#1967) 5 years ago
obligaron 55fa72d138 When changing items hot-swap the hero animation data and don't start a new animation 5 years ago
arcas 6502a3ca4d
Adding resources for translation (#1973) 5 years ago
obligaron 1385e47518 Fix UnitTests in DEBUG (Accessed not initialized ItemAnimations) 5 years ago
Anders Jenbo 6c8b116f6c 🐛 Evaluate item names the same as the original 5 years ago
Anders Jenbo 0c2042fa52 ♻️ Player by reference 5 years ago
Anders Jenbo 68e73c0dfe 🐛 Fix infopanel text color 5 years ago
Anders Jenbo e665a0c4b0 ♻️Draw info box text using DrawString 5 years ago
Anders Jenbo c5f0d1dbdd ♻️Use DrawString for rendering the unique item box 5 years ago
Anders Jenbo 68923c6c33 Generic game text render function 5 years ago
Anders Jenbo 6321bf04d5 ♻️Pass player to towner by reference instead of index 5 years ago
Anders Jenbo c98a1409f9 ♻️Pass towners by reference instead of index 5 years ago
Gleb Mazovetskiy 0edfa3de66 🚚 Move CEL rendering to engine/render/cel_render.cpp 5 years ago
Juliano Leal Goncalves 39736e2538 ♻️ Pass 'PlayerStruct' pointer to 'ClrPlrPath' 5 years ago
thebigMuh 8e19ef5460 - Fixed outline drawing for item on cursor to match rest of game 5 years ago
Anders Jenbo d83fa8edb3 🌐 Apply plural translation where applicable 5 years ago
thebigMuh cab62a7dbf Load item graphics early so they are available for hero selection 5 years ago
Gleb Mazovetskiy 8e634ff02c ♻️ Remove `_iAnimWidth` 5 years ago
Gleb Mazovetskiy 0b18b8977b 🐞 items.cpp: Fix nullopt access 5 years ago
Anders Jenbo 22d7d41615 🌐 Fix remaning plural form of gold related texts 5 years ago
Gleb Mazovetskiy 5bb6dc928a 🌍 Add some missing /*xgettext:no-c-format*/ annotations 5 years ago
Gleb Mazovetskiy 4408ddc127 🧹 Fix some -Wformat warnings 5 years ago