dfwad: fix error code on resource read
proofreading
13 months agoMap: Use the animation flags in the map texture list only as a hint, not a prescription
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.
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.
dfwad: fix use before assignment
utils: sync with game
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?
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?
change Russian translation of "Revert to Saved"
dfwad: fix uninitilized pointer
Fix memory leaks when managing the undo buffer
dfzip: fix error codes on read
dfwad: reimplement dfwad reader/writer
Fix mixed up message and title when opening a non-existent recent file
dfzip: discard ZIP-patches
dfzip: preserve comments
dfzip: preserve compression flags
dfzip: fix encoding in interface
dfzip: preserve modification time
dfwad: detect UTF-8
dfzip: improve check non UTF-8 names
dfzip: add UTF-8 support
gl: repaint map area on idle
gl: optimize grid drawing
dfzip: fix archive write on big-endian
dfzip: fix exceptions
dfzip: more checks and user visible errors
wadeditor: fix dfwad read/write on big-endian machines
gl: detect NPOT support
gl: fix load textures on startup
wadeditor: fix g_ProcessResourceStr
Fix a memory leak when selecting objects with a mouse-stretchable rectangle
some proofreading
Improve the usability of pasting objects from the clipboard
system: implement zip support again
gui: do not show directories as wads and language files
Revert to old wad read/write method
Fix typos: promt -> prompt
Fix memory leaks in the recent files menu code and simplify it
Rebind the object flip button from 'V' to 'I' to prevent conflicts with Ctrl+V
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.
The minimum X and Y coordinates may belong to different objects, which I didn't take into account.
Define tagged unions properly, as it's supposed by FreePascal
Place single object near the source one when pasting
Fix objects not always snapped to grid when pasted
cosmetic: update icon again
i10n: update ru translation
gui: improve prefereces dialog
gl: fix repaint on scrolling or dragging
i10n: fix preferences localization
i10n: fix menu translations
gui: fix progress bar
sound: fix build
sound: do not crash if FMOD cant be initialized
i10n: use custom format for translations instead of gettext
lang: use LangDir to find localization files
gui: fix multiple options reassignment in preferences window
gui: get only editor related translations
system: add option --lang-dir
cosmetic: little modernized icon for Windows
i10n: use resourcestring and gettext for localization
gui: redesign menu
gui: implement new settings dialog
osx: disable menu icons
gui: fix test executable selection on osx
osx: fix map test on osx
gui: replace MessageBox with Application.MessageBox (which i correctly works on osx)
gui: fix crash on language selection
osx: forgotten file
osx: use osx specific pathes by default
map: fix map saving on big endian machines
map: fix map loading on big endian machines
disable noisy notes
libs: sync vampimg with d2df-sdl
opts: add option --wads-dir
test: fix error message on launch fail
fix file opening from command line
test: do not lock editor while map testing
map: prevent random values while loading ini maps
map: fix sky loading while import ini map
map: fix encoding while import ini maps
system: remove chdir
options: add forgotten file
system: add option --game-wad and --edtor-wad
system: add option --config
system: add option --log-file
res: fix file rename
Oops, blind foxes attacks!
fpc 3.2 fixes and rpm spec.
fix invalid value for TRIGGER_MUSIC.action
save temp wad with ext from opened wad
add build info
copy map resources before test map
always save temp map before test
Implemented Middle Mouse Button panning
allow to open any wad type from recent files
Add more formats to Map Open/Save/Pack dialogs
Darken everything beyond map borders
Also finally "fixed" editor options form. Yay.
Also finally "fixed" editor options form. Yay.
more portable texture/sky preview
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.
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.
changed license to GPLv3 only; sorry, no trust to FSF anymore
whoops, how did this work before
Triggers: Add DamageKind to TRIGGER_DAMAGE