Commit Graph

1948 Commits

Author SHA1 Message Date
Laurent Alonso(fr)
0e50c69dd8 special: avoid infinite loop... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
07033ca887 handle_death: try to repair restore... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
2902d84e30 ASAN: check that terrain type is ok... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
1ec2a0acea add some 0str dialogs... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
97974d849e scenario[legacy]: do not nuke all monsters if particuliar type==0... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
3d6fca22a5 UI scaling: add a different scaling for minimap + add more values... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
b83df312d3 OsX[retina]: add high resolution capable flag... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
35e1599f71 UI scaling: try to also scale the mini_map 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
5896188094 UI scaling: try to also scale the dialogs(simplify code)... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
34d3431e49 Boe Character/Scenario Editor[OsX]: retrieve also PlaySound in the preferences... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
141b668eb6 BoE Character Editor[OSX]: add preferences to define UI scaling... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
31b433d6c7 BoE Scenario Editor[OSX]: add preferences to define UI scaling... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
0ccfc61e93 spell point: allow to decrease sp even if sp=max_sp... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
7ded3367a5 draw_monster: draw correctly complex monster... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
d948023243 end_scenario: do not forget to reset it when loading a save game... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
edf03d31f8 special: implements raise from dead/dust/stone... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
28c75935fd save[timers,correction]: try to save the timers correctly... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
e46e36cfeb save: try to save the magic_ptrs correctly... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
5c72f59045 save[timers]: try to read the timers correctly... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
2650a35d9b lighting: try to avoid looking through walls... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
974e614c3b draw_terrain: protect also town's out of bounds... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
23a0e022a7 monster: do not set health to 32767 if uneeded... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
47a9695ef1 roster: try to display the right monster... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
7a47a397c7 special[hack]: called the town's exit when leaving the town (instead of outdoor) 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
b0c4a1196e spec_loc_t: force .spec to be initialized... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
abe8287616 special[legacy]: make_town_hostile has only one meaning...
set_town_attitude: lo=-1,hi=-1 seems to mean all monsters at least in special...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
4881471f20 Try to init town.difficulty: set it by default to scenario.difficulty 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
2738a6ca3a display[mac]: add more setActive(false) 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
38260ec8c2 special: try to make IF_ON_{BOAT|HORSE} work... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
8144d44ca0 stuff_done: be sure to initialize them when a party is created, ... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
04efbe763d Allow Flying Scroll to be used outdoor... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
64878f2ac9 ASAN: memmove is better than memcpy when overlapping is possible... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
674ebfdc8b ASAN: correct another bound problems... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
70108be987 try to correct look_outdoor_mode 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
a9ece71c3e conveyor: only push people/object on a conveyor + use the real flag: flag1 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
f7a4ef0727 cPopulation: try to make the monsters more persistent to simplify
other code...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
98de45e496 boat/horse: try to avoid drawing ghost's vehicle... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
5d7b4b5ee8 Do no talk to death people, this may break some scenario... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
4ce0af7777 ASAN: try to avoid a out of bound read in draw_terrain 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
fea9b43c7d reset the scried monster when we enter a scenario... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
72beca4e5b try to avoid loosing boat/horse in nature... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
6ed55c2369 ASAN[oops]: correct a memory problem, better with 96... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
f4942ae4c1 ASAN: correct a memory problem... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
161f2a8a97 scenario[legacy]: try to retrieve the hidden town's flag... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
e0ad83ebd6 do not forget to clear store_limited_stock when a scenario begins... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
cd1311b4d4 legacy scenarios: try to retrieve the boats and the horses... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
243b9fda19 save: try to save correctly SHOPSTOCK... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
80daf2266b set_up_lights: try to avoid a memory problem... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
9f802b3fcf Asan: correct some undefined, ... problems 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
b6c5552ac0 save/restore: do not save useless data when we are not in a scenario... 2022-06-30 01:08:47 -04:00