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
7d8fc7fe09
Document the OBoE originals in barrier help dialog
2020-02-26 00:19:23 -05:00
0bb0dc21e5
Neaten barrier help so that everything lines up (only layout changes)
2020-02-26 00:01:06 -05:00
bea852d61f
Reorganize barrier help XML (no functional/layout changes)
2020-02-25 23:44:42 -05:00
093be0d99a
Merge the two scenario selection dialogs
...
Now both preset and custom scenarios are joined using the "Start Scenario" button.
Preset scenarios still get special treatment.
2020-02-25 21:08:29 -05:00
49d88c76e2
Add page definition facility to the DialogXML <stack> widget
...
- New <page> element in <stack>
- Visibility of elements is now remembered when switching pages
- Unstoring a <pict> on a stack page no longer resets default values
- Documentation updated for new features
2020-02-25 21:05:59 -05:00
f0f789913f
parseChildControl now returns the control's ID if successful
2020-02-24 00:13:37 -05:00
8f81a3504d
Deduplicate child element parsing in DialogXML
2020-02-24 00:07:45 -05:00
3ba6266cd4
Fix editors launching in the top left corner of the screen
2020-02-23 23:29:44 -05:00
19250e9b94
Remove an obsolete variable
2020-02-23 23:25:23 -05:00
c8549ca680
DialogXML: Support <key> in <text> with optional ref=
2020-02-23 23:02:16 -05:00
3a193afb98
Resolve todo notes in spellcast dialog
2020-02-23 22:40:03 -05:00
5b5bda1435
Fix DialogXML crash when parsing <stack>
2020-02-23 22:21:03 -05:00
c65bac2a8f
Implement relative positioning system for DialogXML
...
This allows widgets to be positioned relative to other widgets.
Two dialogs have been converted to use relative positioning.
Also fix some issues with calculating the dialog rect.
2020-02-23 22:00:01 -05:00
cd2ab1c16e
Organize edit party dialog definition; no functional or layout changes
2020-02-23 17:29:51 -05:00
9f60f7e378
Implement <key> tag in DialogXML which substitutes a buttons key shortcut into its label
2020-02-21 22:25:48 -05:00
7b93726383
Replace 4-character constants with enums
...
This covers only the places where they were used to indicate
a preset selection in constructors.
The usage in qdpict where they're actually passed to the Resource Manager,
as well as the 4-character constants representing file types and creator
codes, are still present.
2020-02-21 00:16:58 -05:00
3d7f8f1d2a
style fixup
2020-02-20 23:41:55 -05:00
12bde373b1
Refactor dialog parsing to reduce code duplication
...
- Refactor dialog format parameter management to use a single protected control function
- Format parameters "frame" and "frame style" merged
- Colour is now a first-class format parameter (though it still has a separate setter)
2020-02-20 23:41:40 -05:00
3c748ca071
Fix node step-thru mode remaining active if debug mode disabled
2020-02-19 23:35:50 -05:00
50a5d00360
Merge pull request #260 from x-qq/fix_shop_icons_not_clickable
2020-02-11 08:55:27 -05:00
9da98703df
Merge pull request #261 from x-qq/fix_debug_mode_randomly_on
2020-02-11 08:52:10 -05:00
x-qq
b4bb2dce13
restore click_shop_rect until a better functionality is available
2020-02-11 15:49:49 +02:00
x-qq
d314432664
fix uninitialized debug flags in universe
2020-02-11 15:34:29 +02:00
x-qq
158de40ce3
Fix unclickable shop info icons
2020-02-11 11:35:14 +02:00
feb1045feb
Merge pull request #259 from x-qq/fix_incorrect_damage_values_in_transcript
2020-02-10 22:56:59 -05:00