DEADSOFTWARE

d2df-editor.git
5 months agoget rid of "kastet" and "pulemet" in symbols master
Dmitry D. Chernov [Fri, 10 Nov 2023 15:26:06 +0000 (01:26 +1000)]
get rid of "kastet" and "pulemet" in symbols

5 months agodfwad: fix error code on resource read
DeaDDooMER [Thu, 9 Nov 2023 12:27:27 +0000 (15:27 +0300)]
dfwad: fix error code on resource read

5 months agoproofreading
Dmitry D. Chernov [Thu, 9 Nov 2023 08:32:03 +0000 (18:32 +1000)]
proofreading

5 months agoMap: Use the animation flags in the map texture list only as a hint, not a prescription
Dmitry D. Chernov [Wed, 8 Nov 2023 06:52:37 +0000 (16:52 +1000)]
Map: Use the animation flags in the map texture list only as a hint, not a prescription
This allows to change the panel texture from static to animated in the resource file without manually reassigning it first.
Corresponds to commit a0e1ce4f7986812acc44a4169d2daf8559c89973 from d2df-sdl.

6 months agodfwad: fix use before assignment
DeaDDooMER [Fri, 29 Sep 2023 11:38:25 +0000 (14:38 +0300)]
dfwad: fix use before assignment

6 months agoutils: sync with game
DeaDDooMER [Wed, 27 Sep 2023 06:36:01 +0000 (09:36 +0300)]
utils: sync with game

7 months agoFix LCLRefCount warning and possible use-after-free
Dmitry D. Chernov [Tue, 19 Sep 2023 16:45:12 +0000 (02:45 +1000)]
Fix LCLRefCount warning and possible use-after-free
Verbatim warning text: "WARNING: TMenuItem.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?".
This was caused by a complex call chain of miRecentFileExecute() -> OpenMap() -> RefreshRecentMenu() -> RefillRecentMenu(), which result in the sender menu item being removed.
In such cases, Application.ReleaseComponent() should be used.
https://forum.lazarus.freepascal.org/index.php?topic=33591.0 - Topic: [SOLVED] How to delete a button on an OnClick event
https://www.lazarusforum.de/viewtopic.php?p=118333 - [gelöst]Was tun bei: Maybe the component is processing an event?

7 months agochange Russian translation of "Revert to Saved"
Dmitry D. Chernov [Tue, 19 Sep 2023 15:19:24 +0000 (01:19 +1000)]
change Russian translation of "Revert to Saved"

7 months agodfwad: fix uninitilized pointer
DeaDDooMER [Tue, 19 Sep 2023 11:43:11 +0000 (14:43 +0300)]
dfwad: fix uninitilized pointer

7 months agoFix memory leaks when managing the undo buffer
Dmitry D. Chernov [Sun, 17 Sep 2023 20:07:29 +0000 (06:07 +1000)]
Fix memory leaks when managing the undo buffer

7 months agodfzip: fix error codes on read
DeaDDooMER [Wed, 13 Sep 2023 15:42:32 +0000 (18:42 +0300)]
dfzip: fix error codes on read

7 months agodfwad: reimplement dfwad reader/writer
DeaDDooMER [Wed, 13 Sep 2023 15:34:18 +0000 (18:34 +0300)]
dfwad: reimplement dfwad reader/writer

7 months agoFix mixed up message and title when opening a non-existent recent file
Dmitry D. Chernov [Mon, 11 Sep 2023 17:59:52 +0000 (03:59 +1000)]
Fix mixed up message and title when opening a non-existent recent file

7 months agodfzip: discard ZIP-patches
DeaDDooMER [Mon, 11 Sep 2023 17:30:41 +0000 (20:30 +0300)]
dfzip: discard ZIP-patches

7 months agodfzip: preserve comments
DeaDDooMER [Mon, 11 Sep 2023 16:25:42 +0000 (19:25 +0300)]
dfzip: preserve comments

7 months agodfzip: preserve compression flags
DeaDDooMER [Mon, 11 Sep 2023 14:23:35 +0000 (17:23 +0300)]
dfzip: preserve compression flags

7 months agodfzip: fix encoding in interface
DeaDDooMER [Mon, 11 Sep 2023 12:25:31 +0000 (15:25 +0300)]
dfzip: fix encoding in interface

7 months agodfzip: preserve modification time
DeaDDooMER [Mon, 11 Sep 2023 12:10:52 +0000 (15:10 +0300)]
dfzip: preserve modification time

7 months agodfwad: detect UTF-8
DeaDDooMER [Mon, 11 Sep 2023 10:46:12 +0000 (13:46 +0300)]
dfwad: detect UTF-8

7 months agodfzip: improve check non UTF-8 names
DeaDDooMER [Sun, 10 Sep 2023 18:27:57 +0000 (21:27 +0300)]
dfzip: improve check non UTF-8 names

7 months agodfzip: add UTF-8 support
DeaDDooMER [Sun, 10 Sep 2023 16:11:21 +0000 (19:11 +0300)]
dfzip: add UTF-8 support

7 months agogl: repaint map area on idle
DeaDDooMER [Sun, 10 Sep 2023 14:01:18 +0000 (17:01 +0300)]
gl: repaint map area on idle

7 months agogl: optimize grid drawing
DeaDDooMER [Sun, 10 Sep 2023 12:21:45 +0000 (15:21 +0300)]
gl: optimize grid drawing

7 months agodfzip: fix archive write on big-endian
DeaDDooMER [Sat, 9 Sep 2023 19:13:43 +0000 (22:13 +0300)]
dfzip: fix archive write on big-endian

7 months agodfzip: fix exceptions
DeaDDooMER [Sat, 9 Sep 2023 17:41:12 +0000 (20:41 +0300)]
dfzip: fix exceptions

7 months agodfzip: more checks and user visible errors
DeaDDooMER [Sat, 9 Sep 2023 15:35:05 +0000 (18:35 +0300)]
dfzip: more checks and user visible errors

7 months agowadeditor: fix dfwad read/write on big-endian machines
DeaDDooMER [Fri, 8 Sep 2023 16:56:26 +0000 (19:56 +0300)]
wadeditor: fix dfwad read/write on big-endian machines

7 months agogl: detect NPOT support
DeaDDooMER [Fri, 8 Sep 2023 12:05:59 +0000 (15:05 +0300)]
gl: detect NPOT support

7 months agogl: fix load textures on startup
DeaDDooMER [Fri, 8 Sep 2023 11:29:02 +0000 (14:29 +0300)]
gl: fix load textures on startup

7 months agowadeditor: fix g_ProcessResourceStr
DeaDDooMER [Fri, 8 Sep 2023 10:33:31 +0000 (13:33 +0300)]
wadeditor: fix g_ProcessResourceStr

7 months agoFix a memory leak when selecting objects with a mouse-stretchable rectangle
Dmitry D. Chernov [Thu, 7 Sep 2023 19:35:27 +0000 (05:35 +1000)]
Fix a memory leak when selecting objects with a mouse-stretchable rectangle

7 months agosome proofreading
Dmitry D. Chernov [Thu, 7 Sep 2023 18:17:25 +0000 (04:17 +1000)]
some proofreading

7 months agoImprove the usability of pasting objects from the clipboard
Dmitry D. Chernov [Thu, 7 Sep 2023 17:09:46 +0000 (03:09 +1000)]
Improve the usability of pasting objects from the clipboard

7 months agosystem: implement zip support again
DeaDDooMER [Thu, 7 Sep 2023 16:40:46 +0000 (19:40 +0300)]
system: implement zip support again

7 months agogui: do not show directories as wads and language files
DeaDDooMER [Thu, 7 Sep 2023 14:40:01 +0000 (17:40 +0300)]
gui: do not show directories as wads and language files

7 months agoRevert to old wad read/write method
DeaDDooMER [Mon, 4 Sep 2023 12:00:04 +0000 (15:00 +0300)]
Revert to old wad read/write method

7 months agoFix typos: promt -> prompt
Dmitry D. Chernov [Mon, 4 Sep 2023 13:30:41 +0000 (23:30 +1000)]
Fix typos: promt -> prompt

7 months agoFix memory leaks in the recent files menu code and simplify it
Dmitry D. Chernov [Mon, 4 Sep 2023 12:44:36 +0000 (22:44 +1000)]
Fix memory leaks in the recent files menu code and simplify it

7 months agoRebind the object flip button from 'V' to 'I' to prevent conflicts with Ctrl+V
Dmitry D. Chernov [Mon, 4 Sep 2023 09:52:48 +0000 (19:52 +1000)]
Rebind the object flip button from 'V' to 'I' to prevent conflicts with Ctrl+V

7 months agoFix position inaccuracy in some cases when pasting objects
Dmitry D. Chernov [Mon, 4 Sep 2023 09:38:47 +0000 (19:38 +1000)]
Fix position inaccuracy in some cases when pasting objects
The minimum X and Y coordinates may belong to different objects, which I didn't take into account.

7 months agoDefine tagged unions properly, as it's supposed by FreePascal
Dmitry D. Chernov [Sun, 3 Sep 2023 06:41:28 +0000 (16:41 +1000)]
Define tagged unions properly, as it's supposed by FreePascal

7 months agoPlace single object near the source one when pasting
Dmitry D. Chernov [Sun, 3 Sep 2023 00:40:09 +0000 (10:40 +1000)]
Place single object near the source one when pasting

7 months agoFix objects not always snapped to grid when pasted
Dmitry D. Chernov [Sun, 3 Sep 2023 00:37:26 +0000 (10:37 +1000)]
Fix objects not always snapped to grid when pasted

9 months agocosmetic: update icon again
TerminalHash [Tue, 25 Jul 2023 20:40:32 +0000 (23:40 +0300)]
cosmetic: update icon again

10 months agoi10n: update ru translation
DeaDDooMER [Tue, 30 May 2023 10:25:19 +0000 (13:25 +0300)]
i10n: update ru translation

10 months agogui: improve prefereces dialog
DeaDDooMER [Mon, 29 May 2023 18:53:55 +0000 (21:53 +0300)]
gui: improve prefereces dialog

10 months agogl: fix repaint on scrolling or dragging
DeaDDooMER [Mon, 29 May 2023 15:44:31 +0000 (18:44 +0300)]
gl: fix repaint on scrolling or dragging

10 months agoi10n: fix preferences localization
DeaDDooMER [Mon, 29 May 2023 13:13:58 +0000 (16:13 +0300)]
i10n: fix preferences localization

10 months agoi10n: fix menu translations
DeaDDooMER [Mon, 29 May 2023 11:51:48 +0000 (14:51 +0300)]
i10n: fix menu translations

10 months agogui: fix progress bar
DeaDDooMER [Sun, 28 May 2023 18:08:44 +0000 (21:08 +0300)]
gui: fix progress bar

10 months agosound: fix build
DeaDDooMER [Sun, 28 May 2023 17:04:34 +0000 (20:04 +0300)]
sound: fix build

10 months agosound: do not crash if FMOD cant be initialized
DeaDDooMER [Sun, 28 May 2023 17:02:22 +0000 (20:02 +0300)]
sound: do not crash if FMOD cant be initialized

10 months agoi10n: use custom format for translations instead of gettext
DeaDDooMER [Sun, 28 May 2023 16:03:46 +0000 (19:03 +0300)]
i10n: use custom format for translations instead of gettext

10 months agolang: use LangDir to find localization files
DeaDDooMER [Sat, 27 May 2023 14:22:26 +0000 (17:22 +0300)]
lang: use LangDir to find localization files

10 months agogui: fix multiple options reassignment in preferences window
DeaDDooMER [Sat, 27 May 2023 13:57:54 +0000 (16:57 +0300)]
gui: fix multiple options reassignment in preferences window

10 months agogui: get only editor related translations
DeaDDooMER [Sat, 27 May 2023 13:47:31 +0000 (16:47 +0300)]
gui: get only editor related translations

10 months agosystem: add option --lang-dir
TerminalHash [Sat, 27 May 2023 00:40:02 +0000 (03:40 +0300)]
system: add option --lang-dir

10 months agocosmetic: little modernized icon for Windows
TerminalHash [Fri, 26 May 2023 23:26:46 +0000 (02:26 +0300)]
cosmetic: little modernized icon for Windows

10 months agoi10n: use resourcestring and gettext for localization
DeaDDooMER [Fri, 26 May 2023 22:19:21 +0000 (01:19 +0300)]
i10n: use resourcestring and gettext for localization

11 months agogui: redesign menu
DeaDDooMER [Thu, 25 May 2023 13:00:44 +0000 (16:00 +0300)]
gui: redesign menu

11 months agogui: implement new settings dialog
DeaDDooMER [Wed, 24 May 2023 12:24:14 +0000 (15:24 +0300)]
gui: implement new settings dialog

11 months agoosx: disable menu icons
DeaDDooMER [Wed, 24 May 2023 06:53:57 +0000 (09:53 +0300)]
osx: disable menu icons

11 months agogui: fix test executable selection on osx
DeaDDooMER [Tue, 23 May 2023 19:14:04 +0000 (22:14 +0300)]
gui: fix test executable selection on osx

11 months agoosx: fix map test on osx
DeaDDooMER [Tue, 23 May 2023 18:21:48 +0000 (21:21 +0300)]
osx: fix map test on osx

11 months agogui: replace MessageBox with Application.MessageBox (which i correctly works on osx)
DeaDDooMER [Tue, 23 May 2023 17:41:00 +0000 (20:41 +0300)]
gui: replace MessageBox with Application.MessageBox (which i correctly works on osx)

11 months agogui: fix crash on language selection
DeaDDooMER [Tue, 23 May 2023 16:47:52 +0000 (19:47 +0300)]
gui: fix crash on language selection

11 months agoosx: forgotten file
DeaDDooMER [Tue, 23 May 2023 15:58:18 +0000 (18:58 +0300)]
osx: forgotten file

11 months agoosx: use osx specific pathes by default
DeaDDooMER [Tue, 23 May 2023 15:54:07 +0000 (18:54 +0300)]
osx: use osx specific pathes by default

11 months agomap: fix map saving on big endian machines
DeaDDooMER [Tue, 23 May 2023 12:22:39 +0000 (15:22 +0300)]
map: fix map saving on big endian machines

11 months agomap: fix map loading on big endian machines
DeaDDooMER [Tue, 23 May 2023 11:25:18 +0000 (14:25 +0300)]
map: fix map loading on big endian machines

11 months agodisable noisy notes
DeaDDooMER [Tue, 23 May 2023 11:23:05 +0000 (14:23 +0300)]
disable noisy notes

11 months agolibs: sync vampimg with d2df-sdl
DeaDDooMER [Mon, 22 May 2023 19:39:02 +0000 (22:39 +0300)]
libs: sync vampimg with d2df-sdl

11 months agoopts: add option --wads-dir
DeaDDooMER [Mon, 22 May 2023 18:37:47 +0000 (21:37 +0300)]
opts: add option --wads-dir

11 months agotest: fix error message on launch fail
DeaDDooMER [Mon, 22 May 2023 17:48:31 +0000 (20:48 +0300)]
test: fix error message on launch fail

11 months agofix file opening from command line
DeaDDooMER [Mon, 22 May 2023 17:34:45 +0000 (20:34 +0300)]
fix file opening from command line

11 months agotest: do not lock editor while map testing
DeaDDooMER [Mon, 22 May 2023 15:30:53 +0000 (18:30 +0300)]
test: do not lock editor while map testing

11 months agomap: prevent random values while loading ini maps
DeaDDooMER [Mon, 22 May 2023 13:51:23 +0000 (16:51 +0300)]
map: prevent random values while loading ini maps

11 months agomap: fix sky loading while import ini map
DeaDDooMER [Mon, 22 May 2023 13:31:41 +0000 (16:31 +0300)]
map: fix sky loading while import ini map

11 months agomap: fix encoding while import ini maps
DeaDDooMER [Mon, 22 May 2023 13:29:12 +0000 (16:29 +0300)]
map: fix encoding while import ini maps

12 months agosystem: remove chdir
DeaDDooMER [Wed, 29 Mar 2023 16:30:57 +0000 (19:30 +0300)]
system: remove chdir

12 months agooptions: add forgotten file
DeaDDooMER [Wed, 29 Mar 2023 14:51:50 +0000 (17:51 +0300)]
options: add forgotten file

12 months agosystem: add option --game-wad and --edtor-wad
DeaDDooMER [Wed, 29 Mar 2023 14:43:48 +0000 (17:43 +0300)]
system: add option --game-wad and --edtor-wad

12 months agosystem: add option --config
DeaDDooMER [Wed, 29 Mar 2023 14:24:23 +0000 (17:24 +0300)]
system: add option --config

12 months agosystem: add option --log-file
DeaDDooMER [Wed, 29 Mar 2023 10:23:27 +0000 (13:23 +0300)]
system: add option --log-file

20 months agores: fix file rename
DeaDDooMER [Sun, 31 Jul 2022 11:03:16 +0000 (14:03 +0300)]
res: fix file rename

2 years agoOops, blind foxes attacks!
TerminalHash [Tue, 15 Jun 2021 10:10:36 +0000 (13:10 +0300)]
Oops, blind foxes attacks!

2 years agofpc 3.2 fixes and rpm spec.
TerminalHash [Tue, 15 Jun 2021 09:55:56 +0000 (12:55 +0300)]
fpc 3.2 fixes and rpm spec.

4 years agofix invalid value for TRIGGER_MUSIC.action
DeaDDooMER [Fri, 13 Dec 2019 20:45:34 +0000 (23:45 +0300)]
fix invalid value for TRIGGER_MUSIC.action

4 years agosave temp wad with ext from opened wad
DeaDDooMER [Sat, 7 Dec 2019 17:22:19 +0000 (20:22 +0300)]
save temp wad with ext from opened wad

4 years agoadd build info
DeaDDooMER [Thu, 5 Dec 2019 17:16:00 +0000 (20:16 +0300)]
add build info

4 years agocopy map resources before test map
DeaDDooMER [Thu, 5 Dec 2019 14:05:48 +0000 (17:05 +0300)]
copy map resources before test map

4 years agoalways save temp map before test
DeaDDooMER [Mon, 2 Dec 2019 14:46:40 +0000 (17:46 +0300)]
always save temp map before test

4 years agoImplemented Middle Mouse Button panning
Joseph Stalin [Mon, 2 Dec 2019 14:45:37 +0000 (19:45 +0500)]
Implemented Middle Mouse Button panning

4 years agoallow to open any wad type from recent files
DeaDDooMER [Mon, 2 Dec 2019 14:16:12 +0000 (17:16 +0300)]
allow to open any wad type from recent files

4 years agoAdd more formats to Map Open/Save/Pack dialogs
Joseph Stalin [Sun, 1 Dec 2019 23:16:40 +0000 (04:16 +0500)]
Add more formats to Map Open/Save/Pack dialogs

4 years agoDarken everything beyond map borders
Joseph Stalin [Sat, 30 Nov 2019 14:39:39 +0000 (19:39 +0500)]
Darken everything beyond map borders

Also finally "fixed" editor options form. Yay.

4 years agomore portable texture/sky preview
DeaDDooMER [Sat, 30 Nov 2019 11:31:23 +0000 (14:31 +0300)]
more portable texture/sky preview

4 years agoSome improvements to grid and navigation
Joseph Stalin [Fri, 29 Nov 2019 23:38:47 +0000 (04:38 +0500)]
Some improvements to grid and navigation

Extended viewable area past map border;
Made scrollbars non-discrete (per-pixel instead of per-tile);
Bound grid to map origin instead of viewport, same for cursor snap;
Added speed modifier for WASD navigation (hold Shift);
Changed and enforced possible grid sizes to 4-2048;
Fixed related crawled-up bugs, changed code logic here and there, made other stuff I forgot to mention.

4 years agochanged license to GPLv3 only; sorry, no trust to FSF anymore
Ketmar Dark [Tue, 17 Sep 2019 15:11:38 +0000 (18:11 +0300)]
changed license to GPLv3 only; sorry, no trust to FSF anymore

4 years agowhoops, how did this work before
fgsfds [Mon, 5 Aug 2019 22:35:35 +0000 (01:35 +0300)]
whoops, how did this work before