Commit Graph
85 Commits
Author SHA1 Message Date
Anders Jenbo 8e334ada77 [hellfire] Fix incorrecct monster ids in dun tabel 2022-06-03 08:37:37 +02:00
Anders Jenbo d6b258926e Apply type checking on monster type 2022-05-23 07:31:50 +02:00
Anders Jenbo 134791af3f Remove pointless math related to finding monsters for levels 2022-05-11 11:28:05 +02:00
ikonomov c09751b388 minor alignment adjustment (#4534)
* minor header alignment adjustment in monstdat.cpp
2022-05-04 07:59:33 +02:00
Gleb Mazovetskiy 48ff656dc0 Load monster graphics into a single buffer
Follow-up to a5e1fa5bbe, which loaded
the missiles into a single buffer.
2022-02-17 22:02:41 +00:00
DakkJaniels 0790416781 Unique Monster Variable Rename (#4060)
* fix variable name to reflect what it is modifying (unique monster custom to hit, not custom hit points)
* align UniqueMonstersData table
2022-02-14 13:38:31 +01:00
Gleb MazovetskiyandAnders Jenbo 7e1fea6f76 clang-format all files in {Source,test}/
Also includes a few manual tweaks to comments and newlines for better results.

Co-authored-by: Anders Jenbo <[email protected]>
2021-11-24 23:44:12 +01:00
Anders Jenbo f13e66ad04 Mark all names as translatable 2021-09-20 15:48:39 +02:00
Anders Jenbo 671fdbd125 Implement contextural translation (pgettext)
Fixes #2369
Fixes #2790
2021-09-20 04:18:35 +02:00
Juliano Leal Goncalves 5430672477 🚚 Rename 'UniqMonstStruct' struct to 'UniqueMonsterData' (#2814) 2021-09-06 17:50:41 +02:00
Juliano Leal Goncalves d225202c34 🚚 Rename 'MonsterClass' members for consistency 2021-09-04 23:37:19 +02:00
Juliano Leal Goncalves 21b481bb46 ♻️ Convert 'MonsterClass' enum to enum class 2021-09-04 23:37:19 +02:00
Juliano Leal Goncalves db1026fa39 🚚 Rename 'MonsterDataStruct' to 'MonsterData' 2021-09-02 21:57:50 +02:00
Juliano Leal Goncalves 6146b828e9 🚚 Rename 'MonsterData' global to 'MonstersData'
This avoids conflicts with the struct name as we'll be renaming that next.
2021-09-02 21:57:50 +02:00
qndel a14a3ba455 add enums to monsters 2021-09-02 17:22:27 +02:00
qndel 0530fcb969 apply enums to mTreasure 2021-08-21 19:23:11 +02:00
obligaron d63fcded76 Refactor PlaceGroup (#2425)
* Rename MonstPlace -> CanPlaceMonster
* Refactor custom hitpoints and armorclass out of mUnqAttr
* Introduce enum UniqueMonsterPack
2021-07-19 03:55:31 +00:00
Anders Jenbo ef6275caac Clean up private function names 2021-07-12 17:59:22 -07:00
Anders Jenbo bc0d1f7ac0 clang-tidy/Android Stuidio cleanups 3 2021-07-04 16:09:32 -07:00
obligaron 3ba4bac5e2 Harmonize DelayLen for Player and Monster (was 1-based on monseter (>= DelayLen) and 0-based on player (> DelayLen). Now both are 1-based (>= DelayLen) 2021-06-27 01:26:49 -07:00
arcas 6502a3ca4d Adding resources for translation (#1973) 2021-05-15 14:12:28 +02:00
Anders Jenbo 4b577329f4 ♻️Refactor towner initialization 2021-05-07 00:30:23 +02:00
M0Rf30 570372331b 🐞 Fix typo for Maelstrom monster 2021-05-04 19:27:10 +02:00
Anders Jenbo 5517bb05bd ✏️ Correct name of Black Jade 2021-04-28 01:58:00 +02:00
Anders Jenbo 187d547fb8 🌐 Remove unused string from the translation list 2021-04-28 01:58:00 +02:00
Anders Jenbo b69d18f12d 🌐 Enable translation of all remaning strings 2021-04-25 21:32:41 +02:00
Anders Jenbo bb4e1960e7 🎨 modernize-use-nullptr 2021-04-19 16:02:05 +02:00
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 2021-04-16 01:04:54 +02:00
Anders Jenbo 20186e0370 🎨 Replace TRUE/FALSE with true/false
fix


Fix


fix
2021-04-09 15:13:02 +02:00
Gleb Mazovetskiy 6a3ae9e35b Optimize MonsterData layout: sizeof 160 -> 80 2021-04-08 17:41:06 +02:00
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 2021-04-06 15:21:25 +02:00
Anders Jenbo 630e507f63 🚚 Apply namespace 2021-04-06 15:21:25 +02:00
Anders Jenbo def2253386 ♻️ Move monster.h related structs and enums and apply propper types 2021-03-11 03:36:32 +01:00
Anders Jenbo 70ca20b59f Clean up Hellfire special cases 2021-02-25 05:50:24 +01:00
Anders Jenbo 36a196389b Fix remaning basic compiler errors and warnings 2021-02-22 13:51:42 +01:00
Anders Jenbo f05ae4c19a Unify monster data 2021-01-21 04:26:03 +01:00
Anders Jenbo 8c261d0966 Merge remaning clean Hellfire code paths 2021-01-09 19:04:31 +01:00
Anders Jenbo c802cbdc4d Merge more Hellfire code paths 2021-01-05 23:14:35 +01:00
Anders Jenbo 61b2d0de95 Merge branch 'master' of github.com:diasurgical/devilution 2020-12-16 02:24:39 +01:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
qndel f137159b8d monsters cleanup 2020-11-10 20:12:55 +01:00
Anders Jenbo 72e2637061 Merge branch 'master' of github.com:diasurgical/devilution 2020-10-25 17:38:06 +01:00
qndel fa0b326498 unify names 2020-10-24 08:07:56 +02:00
Anders Jenbo 2d6c1efeab Merge branch 'master' of github.com:diasurgical/devilution 2020-10-12 10:46:28 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo 893efd51ea Merge branch 'master' of github.com:diasurgical/devilution 2020-09-27 03:34:42 +02:00
Anders Jenbo cd2f7fc4d4 Fix mapping objects and monsters
Added sound to fire trap lever
Added damage to fire trap

Fix rendering of skull pile

Remove one to many hellfire monsters

Remove duplicate items from ObjTypeConv
Remove slain hero (crashes game on low level heros)
Remove water (it's miss aligned and not realy useful)
Added trap variants of all chests
Added book stand
Removed door objects (they aren't of much use and will crash the game if
used on the wrong levels)
Rmoved all story books (crashes game if not use on the right level, tied
to specific quests etc)
2020-09-19 14:23:57 +02:00
Anders Jenbo e226b918a0 Clean up enum usage 2020-09-19 14:22:34 +02:00
Anders Jenbo c1b4d3d8b5 Copy documentation from sanctuary/notes 2020-07-06 05:43:25 +02:00
Anders Jenbo 9a04787577 Make all objects and monsters avalible to .dun levels 2020-06-21 15:14:10 +02:00