Alexander Batalov
ac64fde502
Fix object rendering
...
Previous solution did not work well on high resolutions due to
incorrect tile calculations - was not updating edges and sometimes
hanged in endless loop trying to find upper-left or bottom-right
tiles.
New solution follows Sfall's HRP implementation.
2023-01-05 05:59:45 +03:00
Alexander Batalov
66955f893a
Review light.cc
2023-01-03 23:56:52 +03:00
Alexander Batalov
9ee4cb4a26
Refactor min/max usage
2023-01-03 23:00:38 +03:00
Alexander Batalov
1f6d5ebbc9
Improve some color functions readability
2022-12-27 16:27:14 +03:00
Alexander Batalov
462baa0a04
Improve color tables accuracy
2022-12-27 15:51:43 +03:00
Alexander Batalov
c7ca358295
Rename OBJECT_NO_SAVE flag
2022-12-22 16:49:17 +03:00
Alexander Batalov
96296417c6
Rename OBJECT_NO_REMOVE flag
2022-12-22 16:47:11 +03:00
Alexander Batalov
18afce71b0
Review tile_fill_roof
2022-12-20 15:10:42 +03:00
Alexander Batalov
1c0385ad11
Remove _obj_fix_combat_cid_for_dude
...
The same cid-to-object conversion performed by `combatLoad`.
2022-12-13 23:06:52 +03:00
Alexander Batalov
6f62cfd466
Fix critters dying on exit grids
2022-12-13 16:33:19 +03:00
Alexander Batalov
280b55ab05
Add isExitGridPid
2022-12-13 14:34:49 +03:00
Alexander Batalov
bc43bdc99c
Rename some variables in objectSetLocation
2022-10-30 09:39:43 +03:00
Alexander Batalov
e5aa4a3518
Fix square tiles initial lookup
2022-10-30 09:31:09 +03:00
Alexander Batalov
4821cab724
Review tileSetCenter flags
2022-10-29 18:52:22 +03:00
Alexander Batalov
54d230432b
Refactor game config with Settings ( #164 )
2022-10-06 16:32:46 +03:00
Alexander Batalov
90942c46b2
Uninline obj_set_seen
2022-10-05 13:49:18 +03:00
Alexander Batalov
65f43804b3
Rename core
2022-10-05 10:35:05 +03:00
Alexander Batalov
9bb053b3ba
Add namespace ( #155 )
2022-09-23 15:43:44 +03:00
Alexander Batalov
1b6e29acc0
Reorder includes
2022-09-15 12:38:23 +03:00
Alexander Batalov
e5992779f3
Reconcile worldmap.cc
2022-09-15 11:42:02 +03:00
Alexander Batalov
d7bc8e4176
Rename worldmap.cc
2022-09-15 09:00:11 +03:00
Alexander Batalov
a41780caa2
Rename some item functions
2022-08-18 08:41:15 +03:00
Alexander Batalov
52af5cfc1f
Fix object search when loading game in combat mode
2022-08-14 22:07:22 +03:00
Alexander Batalov
5170948588
Add explosions improvements ( #29 )
2022-08-05 17:43:00 +03:00
Alexander Batalov
e41a4b8e16
Reconcile with reference edition ( #100 )
2022-07-29 16:04:05 +03:00
Alexander Batalov
b1a85de08b
Cleanup object.h
...
See #42
2022-06-19 15:18:08 +03:00
Alexander Batalov
96771e9cdd
Fix objects rendering
2022-06-13 17:35:07 +03:00
Alexander Batalov
c05b586f6c
Review _obj_offset_table_init
2022-06-11 22:13:32 +03:00
Jan Šimek
f510545bc3
Rename function parameters and use ROTATION_COUNT enum ( #39 )
2022-06-10 09:23:43 +03:00
Jan Šimek
e27f72f52b
Rename object flags according to Sfall ( #37 )
2022-06-08 20:38:46 +03:00
Jan Šimek
14aa86c4b7
Reorganize variables scope for goto ( #23 )
...
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-29 16:40:49 +03:00
Alexander Batalov
2446621719
Rename tile stuff
2022-05-24 01:37:46 +03:00
Alexander Batalov
98c6acbf11
Convert to C++
2022-05-21 18:22:03 +03:00