Commit Graph

1925 Commits

Author SHA1 Message Date
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
Laurent Alonso(fr)
78cf927a29 special[timer]: try to avoid calling them two times in a row... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
749cfb5ab7 feature: allows some spells to be casted on a monster in a secret passage.
ie. we can attack or shoot such monster but not cast any spell to it...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
dc135d164e shop: make "Block ... damages" more coherent with damage_pc 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
70b0904ddc ASAN: add bound check in outd_is_blocked 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
cfbc66f1de shop: make "Block ... damages" coherent with damage_pc. 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
6c89214505 ASAN: draw_terrain checks also bounds if outside... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
6c904f3483 editors, OSX and menu[hack]: try to avoid crashes by postponing the creation of dialogs in the main loop. 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
3d7d465c7e boe, OSX and menu[hack]: try to avoid crashes by postponing the creation of dialogs in the main loop. 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
c558518a60 special: try to repair get item... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
f2193ecddd asan: try to avoid problem in create_out_combat_terrain... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
3b2b6f63a6 special: do no call town's special outdoor, this makes the game crash... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
c144e83463 asan: add a bound check in handle_shop_event 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
8dcf0d0d52 asan: do not summon unexistent monsters... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
b92e73e736 ASAN: fix another array bound problem... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
2921b23116 asan: avoid some memory problems... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
7aee4abe81 talk_note: try to save/reread them correctly... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
32672d2dc8 try to correct the problem with in door's map and saving... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
e59a605823 map: try to correct the disappearing problem in outdoor maps 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
d3ef5126af Do not destroy texture before creating the sprites... 2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
18185fe873 OSX: try to correct some dialog and minimap problems... 2022-06-30 01:08:47 -04:00
224e89aabc New welcome dialog
Text by @clort81
Links not clickable yet - soon!
2020-02-26 01:48:27 -05:00
d7ddaa7cd8 Fix broken colour= in DialogXML and add special link colour 2020-02-26 01:47:32 -05:00
7f12c6eea4 Support underlined text in DialogXML 2020-02-26 01:20:11 -05:00