Le Philousophe
73c09b1d56
WINTERMUTE: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Paweł Kołodziejski
1ca112b6ac
WINTERMUTE: Janitorial
2022-07-02 22:26:58 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
lolbot-iichan
4246af9590
WINTERMUTE: Fix game crash on missing system font
2020-05-18 23:24:15 +02:00
lolbot-iichan
2b34a9fbca
WINTERMUTE: Add some small FoxTail-specific methods
2020-05-12 10:33:58 +02:00
Bastien Bouclet
80166c0fea
WINTERMUTE: Add override keywords
2020-02-09 12:55:00 +01:00
Eugene Sandulenko
027fa8238e
WINTERMUTE: Further Amiga compilation fixes
2020-01-31 21:05:44 +01:00
Eugene Sandulenko
ee5ab5857a
WINTERMUTE: More Amiga fixes
2020-01-31 20:41:00 +01:00
Eugene Sandulenko
de6bde08a7
WINTERMUTE: Added override keywords
2020-01-31 15:46:23 +01:00
lolbot-iichan
ea27ffd8a3
WINTERMUTE: Refactor UIEdit::handleKeypress()
...
This fixes https://bugs.scummvm.org/ticket/11033
Removed checking printable property for system keys.
Refactored whole function to make it a bit more readable.
Reference implementations:
https://github.com/retrowork/wmelite/blob/master/src/UIEdit.cpp#L724
https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/UIEdit.cpp#L708
2019-12-19 15:50:25 +02:00
D G Turner
d7a22f72a1
WINTERMUTE: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-14 23:28:07 +00:00
lolbot-iichan
d6a1248a16
WINTERMUTE: Increase window title height by 1 for "5 Lethal Demons" game
...
For some reason getFontHeight() is off-by-one comparing to height set in
TITLE_RECT, which made text being bigger then title rect and drawing was
skipped.
This fixes https://bugs.scummvm.org/ticket/6501
2019-06-30 12:20:36 +03:00
Einar Johan Trøan Sømåen
1eca88cb39
WINTERMUTE: Don't crop UIEdit strings to negative sizes
...
If _maxLength was -1, we would end up with a 0-size allocation,
and a write that starts right before it, which gives odd results.
2016-10-07 00:19:58 +02:00
Eugene Sandulenko
8156201f28
WINTERMUTE: Remove redundant check.
...
If new() was unsuccessful, then we should bail out immediately,
but we always assume we have enough memory for ScummVM.
2016-05-14 11:48:33 +02:00
Johannes Schickel
fc5ef58fff
WINTERMUTE: Make GPL headers consistent in themselves.
2014-02-18 02:39:40 +01:00
Einar Johan Trøan Sømåen
237d3d86ec
WINTERMUTE: Transfer Char* explicitly when saving/loading.
2013-11-05 13:54:25 +01:00
Einar Johan Trøan Sømåen
d07409def7
WINTERMUTE: Transfer Sint32s explicitly when saving/loading.
2013-11-05 13:48:11 +01:00
Einar Johan Trøan Sømåen
7892188bcf
WINTERMUTE: Transfer Uint32s explicitly when saving/loading.
2013-11-05 13:31:13 +01:00
Einar Johan Trøan Sømåen
d6b9d7de8f
WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
efb8031b3c
WINTERMUTE: Remove BasePlatform::isRectEmpty (replace with member-call).
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
3fb4183909
WINTERMUTE: Remove BasePlatform::setRectEmpty (replace with member-call)
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
538c5935f9
WINTERMUTE: Transfer Point32s explicitly when saving/loading.
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
95d2ed1a9b
WINTERMUTE: Transfer Rect32s explicitly when saving/loading.
2013-10-29 02:59:52 +01:00
Einar Johan Trøan Sømåen
6b4adab654
WINTERMUTE: Transfer booleans explicitly when saving/loading.
2013-10-28 19:19:12 +01:00
Einar Johan Trøan Sømåen
889c3c9801
WINTERMUTE: Deconstify UIObject::getHeight() to fix a shadowed overload.
2013-10-28 18:37:20 +01:00
Willem Jan Palenstijn
a979072410
WINTERMUTE: Clean up byte/char casts in loading/parsing
2013-10-01 23:20:43 +02:00
Willem Jan Palenstijn
8e58be7a1d
Merge branch 'master' into wme_rendering
2013-09-30 22:05:32 +02:00
Willem Jan Palenstijn
057b01951a
WINTERMUTE: Add displayTiled function to replace repeatLastDraw
...
This avoids queueing many tickets for a UITiledImage, replacing
them by a single tiled ticket.
2013-09-30 22:03:48 +02:00
Eugene Sandulenko
5cc0850a67
WINTERMUTE: Fix compiler warnings
2013-09-30 14:36:59 +03:00
Einar Johan Trøan Sømåen
ccd3258bdc
WINTERMUTE: Use ; and not , to separate delete and new.
2013-09-30 11:19:54 +02:00
Einar Johan Trøan Sømåen
12e7cb401f
WINTERMUTE: Formatting with Astyle (UIButton, UIEdit, UIObject, UIWindow, TransparentSurface)
2013-09-30 11:18:54 +02:00
Einar Johan Trøan Sømåen
15d98724d8
WINTERMUTE: Formatting (Clean up extra whitespace in UIObject).
2013-09-30 11:13:29 +02:00
Einar Johan Trøan Sømåen
5afb297e39
WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindow
2013-09-30 11:12:25 +02:00
Tobia Tesan
f7a9e921ae
WINTERMUTE: Formatting
2013-09-21 23:22:50 +02:00
Tobia Tesan
1023ac4b33
WINTERMUTE: const'ify getters
2013-09-21 23:22:48 +02:00
Tobia Tesan
5b8a6885c6
WINTERMUTE: s/put/set/ in setters
2013-09-21 23:22:46 +02:00
Tobia Tesan
2a977dec8c
WINTERMUTE: add UIButton::setTextAlign
2013-09-21 23:22:43 +02:00
Tobia Tesan
417bf3db02
WINTERMUTE: Make sprites private in UIButton
2013-09-21 23:22:41 +02:00
Tobia Tesan
1869481767
WINTERMUTE: Setters/getters for UIButton
2013-09-21 23:22:37 +02:00
Tobia Tesan
59f4a9e7ac
WINTERMUTE: Keep some attributes private in UIButton
2013-09-21 23:22:35 +02:00
Tobia Tesan
b22eaaa98a
WINTERMUTE: Keep attributes private in UIEdit
2013-09-21 23:22:32 +02:00
Tobia Tesan
1361fcde7c
WINTERMUTE: Avoid feeding setWidth negative values
2013-09-21 23:22:27 +02:00
Tobia Tesan
91ebad46d3
WINTERMUTE: Keep _back private in UIObject
2013-09-21 23:22:25 +02:00
Tobia Tesan
252e0c17ec
WINTERMUTE: Make _parentNotify private in UIObject
2013-09-21 23:22:23 +02:00
Tobia Tesan
aafe8c1f0d
WINTERMUTE: Add getListener()
2013-09-21 23:22:19 +02:00
Tobia Tesan
2e457d96e8
WINTERMUTE: Make some members of UIObject private
2013-09-21 23:22:16 +02:00
Tobia Tesan
b033850e8a
WINTERMUTE: Keep attributes in UIWindow private
2013-09-21 23:22:12 +02:00
Tobia Tesan
38369687fe
WINTERMUTE: Make TextAlign private in UIText
2013-09-21 23:22:10 +02:00
Tobia Tesan
6e21111847
WINTERMUTE: Make *_entity private in UIEntity
2013-09-21 23:22:08 +02:00