DEADSOFTWARE

d2df-sdl.git
6 years agoit is now possible to link windoze LibJIT and ENet as static libs (see commit comments)
Ketmar Dark [Sat, 7 Oct 2017 11:45:27 +0000 (14:45 +0300)]
it is now possible to link windoze LibJIT and ENet as static libs (see commit comments)

  first, you need to clone http://repo.or.cz/d2df-binlib.git (repo with prebuilt windoze libs)
  then, you can use:
    -dLIBJIT_WINDOZE_STATIC -- static LibJIT
    -dLIBENET_WINDOZE_STATIC -- static ENet
    don't forget to specify lib*.a location with -Fi<...>

  i used mingw-gcc 7.1.0 to build static libs; some other .a libs were taken directly from mingw.
  building is easy: just fire msys, install all dependencies, and do:
    ./configure --enable-static --disable-shared && make
  this should produce working .a library suitable for static linking

6 years agoHolmes: increased whitespace between binding name and binding description
Ketmar Dark [Wed, 4 Oct 2017 20:52:27 +0000 (23:52 +0300)]
Holmes: increased whitespace between binding name and binding description

6 years agoFlexUI: set window size vars to actual window size; Holmes: destroy help window when...
Ketmar Dark [Wed, 4 Oct 2017 20:28:29 +0000 (23:28 +0300)]
FlexUI: set window size vars to actual window size; Holmes: destroy help window when it is hidden

6 years agoFlexUI: switched to universal event struct; changed event dispatching to sink/mine...
Ketmar Dark [Wed, 4 Oct 2017 18:51:25 +0000 (21:51 +0300)]
FlexUI: switched to universal event struct; changed event dispatching to sink/mine/bubble model

6 years agoMerge branch 'master' of ssh://repo.or.cz/d2df-sdl
Ketmar Dark [Wed, 4 Oct 2017 18:58:07 +0000 (21:58 +0300)]
Merge branch 'master' of ssh://repo.or.cz/d2df-sdl

6 years ago"flexui.wad" is not required now
Ketmar Dark [Wed, 4 Oct 2017 18:57:52 +0000 (21:57 +0300)]
"flexui.wad" is not required now

6 years agoAdd USE_MIXER and HEADLESS as build options in the Lazarus project
Dmitry D. Chernov [Wed, 4 Oct 2017 18:51:40 +0000 (04:51 +1000)]
Add USE_MIXER and HEADLESS as build options in the Lazarus project

6 years agoRemove old hack that work-arounds wrong texture names
Dmitry D. Chernov [Wed, 4 Oct 2017 18:50:50 +0000 (04:50 +1000)]
Remove old hack that work-arounds wrong texture names

6 years agocosmetix
Ketmar Dark [Wed, 4 Oct 2017 15:58:17 +0000 (18:58 +0300)]
cosmetix

6 years agoFlexUI: event types renamed from `^TH*` to `TFUI*`; some simplifications in event...
Ketmar Dark [Wed, 4 Oct 2017 13:37:20 +0000 (16:37 +0300)]
FlexUI: event types renamed from `^TH*` to `TFUI*`; some simplifications in event checking code

6 years agoFlexUI: removed some debugging code
Ketmar Dark [Wed, 4 Oct 2017 13:25:11 +0000 (16:25 +0300)]
FlexUI: removed some debugging code

6 years agofixed unneded pause on some Fn
Ketmar Dark [Wed, 4 Oct 2017 00:18:30 +0000 (03:18 +0300)]
fixed unneded pause on some Fn

http://doom2d.org/forum/viewtopic.php?f=36&t=2469

6 years agoFlexUI: fixed window scrollbars; nicer button pushing with keyboard
Ketmar Dark [Wed, 4 Oct 2017 00:06:32 +0000 (03:06 +0300)]
FlexUI: fixed window scrollbars; nicer button pushing with keyboard

6 years agomoved FlexUI fonts to "flexui.wad"
Ketmar Dark [Tue, 3 Oct 2017 21:58:49 +0000 (00:58 +0300)]
moved FlexUI fonts to "flexui.wad"

6 years agoit is now possible to use "--holmes-font <8|14|16>" cli arg to select Holmes UI font
Ketmar Dark [Tue, 3 Oct 2017 20:23:45 +0000 (23:23 +0300)]
it is now possible to use "--holmes-font <8|14|16>" cli arg to select Holmes UI font

6 years agoFlexUI: restored text icons
Ketmar Dark [Tue, 3 Oct 2017 20:18:47 +0000 (23:18 +0300)]
FlexUI: restored text icons

6 years agoHolmes now require "data/flexui.wad" (it is not fatal to not have this file; Holmes...
Ketmar Dark [Tue, 3 Oct 2017 19:15:53 +0000 (22:15 +0300)]
Holmes now require "data/flexui.wad" (it is not fatal to not have this file; Holmes will simply cease working)

6 years agoFlexUI: new look for buttons; more styling options for buttons
Ketmar Dark [Tue, 3 Oct 2017 14:33:48 +0000 (17:33 +0300)]
FlexUI: new look for buttons; more styling options for buttons

6 years agoSet VersionInfo/ProductVersion in the project options
Dmitry D. Chernov [Tue, 3 Oct 2017 15:15:54 +0000 (01:15 +1000)]
Set VersionInfo/ProductVersion in the project options
This became possible only after fixing corresponding bug in Lazarus.

6 years agoUpdate Doom2DF.res
Dmitry D. Chernov [Tue, 3 Oct 2017 11:25:04 +0000 (21:25 +1000)]
Update Doom2DF.res

6 years agoFlexUI: added 8/14/16 winN/winN-prop fonts; removed horizontal wrapping
Ketmar Dark [Tue, 3 Oct 2017 09:10:24 +0000 (12:10 +0300)]
FlexUI: added 8/14/16 winN/winN-prop fonts; removed horizontal wrapping

  proper horizontal wrapping with size calculations/constraints is not
  that easy; it makes the code way more complex, it never really worked,
  and i never used it. althrough it is a great feature to have (for
  proper windows resizing), it is better served by something like Yoga
  (huge and complex). but i want to have a simplistic layouter, suitable
  for common UI tasks, and not-so-complex layouts.

  maybe i'll add that wrapping feature later, but i'm not sure. it looks
  like i need a full-blown constraints solver for this feature, and i am
  not ready to migrate to Cassowary yet. ;-)

  tl;dr: removing horizontal wrapping allowed me to unify distribution
         code, made code smaller (by ~1/3), and more readable. the price
         is acceptable (for now).

6 years agofuck you, lazarus, that's why
Ketmar Dark [Mon, 2 Oct 2017 23:50:21 +0000 (02:50 +0300)]
fuck you, lazarus, that's why

6 years agoUSE_FMOD fix (it MUST be optional)
Ketmar Dark [Mon, 2 Oct 2017 23:42:57 +0000 (02:42 +0300)]
USE_FMOD fix (it MUST be optional)

6 years agoMerge branch 'master' of ssh://repo.or.cz/d2df-sdl
Ketmar Dark [Mon, 2 Oct 2017 23:35:41 +0000 (02:35 +0300)]
Merge branch 'master' of ssh://repo.or.cz/d2df-sdl

6 years agoHolmes is using new FlexUI renderer now
Ketmar Dark [Mon, 2 Oct 2017 23:19:00 +0000 (02:19 +0300)]
Holmes is using new FlexUI renderer now

6 years agoFlexUI: completely reworked graphics layer -- it is using drawing contexts now
Ketmar Dark [Mon, 2 Oct 2017 22:28:58 +0000 (01:28 +0300)]
FlexUI: completely reworked graphics layer -- it is using drawing contexts now

6 years agoFlexUI: "padding" property for boxes, so i don't have to insert dummy spans everywhere
Ketmar Dark [Mon, 2 Oct 2017 18:47:02 +0000 (21:47 +0300)]
FlexUI: "padding" property for boxes, so i don't have to insert dummy spans everywhere

  padding is inserted *after* control, if there is another control coming, and current
  control doesn't have "nopad" property set

  note that span control has no padding by default, and box with frame has no padding too

6 years agogame/FlexUI: textinput events
Ketmar Dark [Mon, 2 Oct 2017 17:19:38 +0000 (20:19 +0300)]
game/FlexUI: textinput events

6 years agoFlexUI: sdlstandalone fix
Ketmar Dark [Mon, 2 Oct 2017 17:03:50 +0000 (20:03 +0300)]
FlexUI: sdlstandalone fix

6 years agoFlexUI: module renamings; moved standalone sdl carcass augemntation to FlexUI
Ketmar Dark [Mon, 2 Oct 2017 17:00:03 +0000 (20:00 +0300)]
FlexUI: module renamings; moved standalone sdl carcass augemntation to FlexUI

6 years agoFlexUI: don't change window size in "fit to screen" mode if size was already set
Ketmar Dark [Sat, 30 Sep 2017 22:18:08 +0000 (01:18 +0300)]
FlexUI: don't change window size in "fit to screen" mode if size was already set

6 years agoHolmes/UI: compilation fixes
Ketmar Dark [Sat, 30 Sep 2017 22:16:27 +0000 (01:16 +0300)]
Holmes/UI: compilation fixes

6 years agoHolmes: better UI hotkeys; fitting windows to screen
Ketmar Dark [Sat, 30 Sep 2017 22:13:50 +0000 (01:13 +0300)]
Holmes: better UI hotkeys; fitting windows to screen

6 years agoHolmes: UI cosmetix
Ketmar Dark [Sat, 30 Sep 2017 21:53:31 +0000 (00:53 +0300)]
Holmes: UI cosmetix

6 years agoFlexUI: checkbox, radiobox; removed old-style controls; Holmes UI is using new-style...
Ketmar Dark [Sat, 30 Sep 2017 21:24:41 +0000 (00:24 +0300)]
FlexUI: checkbox, radiobox; removed old-style controls; Holmes UI is using new-style controls and layouter now

6 years agoFlexUI: alot of fixes; Holmes help window now using new FlexUI controls and layouter
Ketmar Dark [Sat, 30 Sep 2017 18:35:15 +0000 (21:35 +0300)]
FlexUI: alot of fixes; Holmes help window now using new FlexUI controls and layouter

6 years agoAdd Debug/Release build modes in Lazarus project
Dmitry D. Chernov [Mon, 2 Oct 2017 20:58:36 +0000 (06:58 +1000)]
Add Debug/Release build modes in Lazarus project

6 years agoConfigure Lazarus project to build game on Windows easily
Dmitry D. Chernov [Mon, 2 Oct 2017 20:45:04 +0000 (06:45 +1000)]
Configure Lazarus project to build game on Windows easily

6 years agoChange extension of the main project file from Delphi to Lazarus-specific
Dmitry D. Chernov [Mon, 2 Oct 2017 20:27:08 +0000 (06:27 +1000)]
Change extension of the main project file from Delphi to Lazarus-specific

6 years agoFlexUI: button control; slightly changed event consuming logic
Ketmar Dark [Thu, 28 Sep 2017 23:28:23 +0000 (02:28 +0300)]
FlexUI: button control; slightly changed event consuming logic

6 years agoglgfx: cosmetix
Ketmar Dark [Thu, 28 Sep 2017 19:01:32 +0000 (22:01 +0300)]
glgfx: cosmetix

6 years agoFlexUI: simple styling system (yay, no more hardcoded colors!)
Ketmar Dark [Thu, 28 Sep 2017 18:52:34 +0000 (21:52 +0300)]
FlexUI: simple styling system (yay, no more hardcoded colors!)

6 years agofixed keyboard polling (no more); ESC should work in several places where it should...
Ketmar Dark [Thu, 28 Sep 2017 14:00:42 +0000 (17:00 +0300)]
fixed keyboard polling (no more); ESC should work in several places where it should work (sorry, my puns sux)

6 years agoadded PE export dumper ('cause why, Wyoming?)
Ketmar Dark [Thu, 28 Sep 2017 13:37:16 +0000 (16:37 +0300)]
added PE export dumper ('cause why, Wyoming?)

6 years agoMap: Add test map override feature
binarymaster [Wed, 27 Sep 2017 15:13:19 +0000 (18:13 +0300)]
Map: Add test map override feature

6 years agofix libjit_types on shitdows (?)
fgsfds [Tue, 26 Sep 2017 10:48:18 +0000 (13:48 +0300)]
fix libjit_types on shitdows (?)

6 years agosome fixes to LibJIT bindings
Ketmar Dark [Tue, 26 Sep 2017 08:52:48 +0000 (11:52 +0300)]
some fixes to LibJIT bindings

6 years agoHolmesUI renamed to FlexUI (or simply UI); small fixes; changed FlexUI authorship...
Ketmar Dark [Tue, 26 Sep 2017 06:33:39 +0000 (09:33 +0300)]
HolmesUI renamed to FlexUI (or simply UI); small fixes; changed FlexUI authorship info (READ THE WHOLE COMMENT, PLZ!)

  as i wrote the whole FlexUI code, and i may need to relicense it later,
  i explicitly put myself as the only FlexUI author, to avoid possible
  complications in the future.

  please, don't add/fix code in FlexUI without talking to me first.

6 years agoHolmesUI: "position" property for windows
Ketmar Dark [Tue, 26 Sep 2017 06:27:29 +0000 (09:27 +0300)]
HolmesUI: "position" property for windows

6 years agoHolmesUI: focus fixes
Ketmar Dark [Tue, 26 Sep 2017 06:21:53 +0000 (09:21 +0300)]
HolmesUI: focus fixes

6 years agocosmetix
Ketmar Dark [Tue, 26 Sep 2017 06:01:15 +0000 (09:01 +0300)]
cosmetix

6 years agolibjit bindings typo
Ketmar Dark [Tue, 26 Sep 2017 05:51:18 +0000 (08:51 +0300)]
libjit bindings typo

6 years agoHolmes: gxlib API change
Ketmar Dark [Mon, 25 Sep 2017 22:00:09 +0000 (01:00 +0300)]
Holmes: gxlib API change

6 years agoHolmesUI: ortholine control; fixed expanding of controls without maxsize
Ketmar Dark [Mon, 25 Sep 2017 21:09:49 +0000 (00:09 +0300)]
HolmesUI: ortholine control; fixed expanding of controls without maxsize

6 years agoHolmesUI: rendering cosmetix
Ketmar Dark [Mon, 25 Sep 2017 19:24:08 +0000 (22:24 +0300)]
HolmesUI: rendering cosmetix

6 years agoHolmesUI: width/height wgt properties
Ketmar Dark [Mon, 25 Sep 2017 19:22:15 +0000 (22:22 +0300)]
HolmesUI: width/height wgt properties

6 years agoHolmesUI: span control
Ketmar Dark [Mon, 25 Sep 2017 19:17:54 +0000 (22:17 +0300)]
HolmesUI: span control

6 years agoHolmesUI: more bugfixes in FlexBox
Ketmar Dark [Mon, 25 Sep 2017 18:21:18 +0000 (21:21 +0300)]
HolmesUI: more bugfixes in FlexBox

6 years agoHolmesUI: scissoring fixes
Ketmar Dark [Mon, 25 Sep 2017 17:24:39 +0000 (20:24 +0300)]
HolmesUI: scissoring fixes

6 years agoadded LibJIT bindings (need help in building working shitdoze dll, tho; GNU/Linux...
Ketmar Dark [Mon, 25 Sep 2017 15:29:38 +0000 (18:29 +0300)]
added LibJIT bindings (need help in building working shitdoze dll, tho; GNU/Linux is ok)

6 years agoNPOT message typo
Ketmar Dark [Mon, 25 Sep 2017 10:49:47 +0000 (13:49 +0300)]
NPOT message typo

6 years agoHolmesUI: ui parser fixes; vbox layouter fixes (centering control); scissoring fixes
Ketmar Dark [Sun, 24 Sep 2017 21:18:39 +0000 (00:18 +0300)]
HolmesUI: ui parser fixes; vbox layouter fixes (centering control); scissoring fixes

6 years agoHolmes UI: more FlexBox fixes
Ketmar Dark [Sun, 24 Sep 2017 20:13:51 +0000 (23:13 +0300)]
Holmes UI: more FlexBox fixes

6 years agoGame: Improve map switch message
binarymaster [Sun, 24 Sep 2017 20:02:01 +0000 (23:02 +0300)]
Game: Improve map switch message

http://doom2d.org/forum/viewtopic.php?f=36&t=2277

6 years agoHolmes UI: lot of flexbox layouting code fixes
Ketmar Dark [Sun, 24 Sep 2017 13:35:47 +0000 (16:35 +0300)]
Holmes UI: lot of flexbox layouting code fixes

6 years agomempool is optional now
Ketmar Dark [Sun, 24 Sep 2017 09:49:02 +0000 (12:49 +0300)]
mempool is optional now

6 years agoHolmes UI: non-working draft of FlexBox layouter
Ketmar Dark [Sun, 24 Sep 2017 08:06:50 +0000 (11:06 +0300)]
Holmes UI: non-working draft of FlexBox layouter

6 years agoMonsters: Check trigger on zomby shot
binarymaster [Sat, 23 Sep 2017 20:02:21 +0000 (23:02 +0300)]
Monsters: Check trigger on zomby shot

http://doom2d.org/forum/viewtopic.php?f=36&t=2278

6 years agoPhysics: Fix climb ladders on the fly
binarymaster [Sat, 23 Sep 2017 19:14:54 +0000 (22:14 +0300)]
Physics: Fix climb ladders on the fly

http://doom2d.org/forum/viewtopic.php?f=36&t=2347

6 years agoadded "common" module for Holmes UI (preparation for layout manager)
Ketmar Dark [Fri, 22 Sep 2017 22:06:13 +0000 (01:06 +0300)]
added "common" module for Holmes UI (preparation for layout manager)

6 years agomoved Holmes UI and most of it's low-level gfx subsystem to separate modules (to...
Ketmar Dark [Fri, 22 Sep 2017 18:47:25 +0000 (21:47 +0300)]
moved Holmes UI and most of it's low-level gfx subsystem to separate modules (to ease UI developing and testing)

6 years agoholmes: better scaled UI rendering
Ketmar Dark [Fri, 22 Sep 2017 16:36:26 +0000 (19:36 +0300)]
holmes: better scaled UI rendering

6 years agofixed tests and tools (new hashtable API)
Ketmar Dark [Fri, 22 Sep 2017 11:34:25 +0000 (14:34 +0300)]
fixed tests and tools (new hashtable API)

6 years agodid the same thing for binary heap
Ketmar Dark [Fri, 22 Sep 2017 11:15:34 +0000 (14:15 +0300)]
did the same thing for binary heap

6 years agoslightly faster hashtable, and slightly nicer hashtable interface
Ketmar Dark [Fri, 22 Sep 2017 11:03:49 +0000 (14:03 +0300)]
slightly faster hashtable, and slightly nicer hashtable interface

6 years agoremoved "unused vars" hints in headless mode
Ketmar Dark [Fri, 22 Sep 2017 08:44:42 +0000 (11:44 +0300)]
removed "unused vars" hints in headless mode

6 years agoexperimental (and ugly) loading progress bar
Ketmar Dark [Fri, 22 Sep 2017 08:41:56 +0000 (11:41 +0300)]
experimental (and ugly) loading progress bar

6 years agorenamed `SArray` type to `SSArray`, and moved it to "utils.pas"
Ketmar Dark [Fri, 22 Sep 2017 08:13:23 +0000 (11:13 +0300)]
renamed `SArray` type to `SSArray`, and moved it to "utils.pas"

6 years agoadjust particle size according to current scale
Ketmar Dark [Thu, 21 Sep 2017 20:05:20 +0000 (23:05 +0300)]
adjust particle size according to current scale

6 years agohashtable cosmetix; holmes scissoring fixes
Ketmar Dark [Thu, 21 Sep 2017 20:00:06 +0000 (23:00 +0300)]
hashtable cosmetix; holmes scissoring fixes

6 years agoholmes: moved non-ui renderer to a better place in global render list
Ketmar Dark [Thu, 21 Sep 2017 12:45:49 +0000 (15:45 +0300)]
holmes: moved non-ui renderer to a better place in global render list

6 years agodon't load unused textures
Ketmar Dark [Thu, 21 Sep 2017 12:21:43 +0000 (15:21 +0300)]
don't load unused textures

6 years agotexture switching on "effect" trigger should work now
Ketmar Dark [Thu, 21 Sep 2017 11:23:27 +0000 (14:23 +0300)]
texture switching on "effect" trigger should work now

6 years agofixed map loading bug: panel texture internal id was incorrect (and worked only by...
Ketmar Dark [Thu, 21 Sep 2017 10:52:18 +0000 (13:52 +0300)]
fixed map loading bug: panel texture internal id was incorrect (and worked only by accident)

6 years agoholmes: new outliner; it should work in all scales now
Ketmar Dark [Thu, 21 Sep 2017 10:22:26 +0000 (13:22 +0300)]
holmes: new outliner; it should work in all scales now

6 years agofixed bug 26 (broken sound triggers); actually, not only sound triggers were broken...
Ketmar Dark [Thu, 21 Sep 2017 09:27:44 +0000 (12:27 +0300)]
fixed bug 26 (broken sound triggers); actually, not only sound triggers were broken...

  ...it is not wise to use uninitialized trigger to initialize game info

6 years agotools fixes
Ketmar Dark [Thu, 21 Sep 2017 09:15:21 +0000 (12:15 +0300)]
tools fixes

6 years agocode cleanup for headless mode (nothing interesting, just unused vars)
Ketmar Dark [Tue, 19 Sep 2017 04:31:08 +0000 (07:31 +0300)]
code cleanup for headless mode (nothing interesting, just unused vars)

6 years agopascal `{}` comment support in parser
Ketmar Dark [Tue, 19 Sep 2017 04:24:27 +0000 (07:24 +0300)]
pascal `{}` comment support in parser

6 years agomoved some geometry functions to shared/geom.pas; TODO: move most of g_basic.pas...
Ketmar Dark [Tue, 19 Sep 2017 01:37:37 +0000 (04:37 +0300)]
moved some geometry functions to shared/geom.pas; TODO: move most of g_basic.pas there

6 years agoRevert previous commit (yes, I'm dumb)
Dmitry D. Chernov [Sun, 17 Sep 2017 11:50:02 +0000 (21:50 +1000)]
Revert previous commit (yes, I'm dumb)

6 years agoGame: Fix tiny typo
Dmitry D. Chernov [Sun, 17 Sep 2017 11:43:55 +0000 (21:43 +1000)]
Game: Fix tiny typo

6 years agotypos
Ketmar Dark [Sun, 17 Sep 2017 10:04:44 +0000 (13:04 +0300)]
typos

6 years agodo not forbid selecting invalid saves; report "you idiot" instead
Ketmar Dark [Sun, 17 Sep 2017 07:46:41 +0000 (10:46 +0300)]
do not forbid selecting invalid saves; report "you idiot" instead

6 years agohashtable cosmetic updates
Ketmar Dark [Sun, 17 Sep 2017 06:10:35 +0000 (09:10 +0300)]
hashtable cosmetic updates

6 years agoparser and parser-dependent modules cosmetix
Ketmar Dark [Sun, 17 Sep 2017 03:15:50 +0000 (06:15 +0300)]
parser and parser-dependent modules cosmetix

6 years agoturned on "SCOPEDENUMS" fpc option
Ketmar Dark [Sun, 17 Sep 2017 03:01:36 +0000 (06:01 +0300)]
turned on "SCOPEDENUMS" fpc option

6 years agofixed build bug in headless server (lol, i am dumb)
Ketmar Dark [Thu, 14 Sep 2017 09:10:28 +0000 (12:10 +0300)]
fixed build bug in headless server (lol, i am dumb)

6 years agoless OpenGL calls for headless server
Ketmar Dark [Wed, 13 Sep 2017 22:25:17 +0000 (01:25 +0300)]
less OpenGL calls for headless server

6 years agocheats are active in single/coop now ('cause Wyoming Knotts, you know)
Ketmar Dark [Wed, 13 Sep 2017 04:13:16 +0000 (07:13 +0300)]
cheats are active in single/coop now ('cause Wyoming Knotts, you know)