DEADSOFTWARE

d2df-sdl.git
6 years agoNow ported to android!
DeaDDooMER [Mon, 19 Feb 2018 16:46:54 +0000 (19:46 +0300)]
Now ported to android!

6 years agoFix nanoGL bindings
DeaDDooMER [Mon, 19 Feb 2018 16:39:22 +0000 (19:39 +0300)]
Fix nanoGL bindings

6 years agoAdded support OpenGL ES 1.1 through nanoGL (have some bugs) and fix build for ARM
DeaDDooMER [Sun, 18 Feb 2018 16:38:35 +0000 (19:38 +0300)]
Added support OpenGL ES 1.1 through nanoGL (have some bugs) and fix build for ARM

6 years agoset default window position to (60, 60), so poor shitdows10 users suffer less
Ketmar Dark [Thu, 15 Feb 2018 17:29:11 +0000 (19:29 +0200)]
set default window position to (60, 60), so poor shitdows10 users suffer less

6 years agoeven more vsync! i like to move it, move it!
Ketmar Dark [Mon, 12 Feb 2018 12:24:06 +0000 (14:24 +0200)]
even more vsync! i like to move it, move it!

6 years agoset vsync after window creation (it should work better this way)
Ketmar Dark [Mon, 12 Feb 2018 11:46:47 +0000 (13:46 +0200)]
set vsync after window creation (it should work better this way)

6 years agofixed README (SDL_mixer build option)
Ketmar Dark [Sat, 10 Feb 2018 08:46:46 +0000 (10:46 +0200)]
fixed README (SDL_mixer build option)

6 years agoheadless building fix
Ketmar Dark [Sat, 10 Feb 2018 08:41:11 +0000 (10:41 +0200)]
headless building fix

6 years agotemp hackfix for multiple server respawns in LMS
fgsfds [Fri, 9 Feb 2018 16:02:14 +0000 (19:02 +0300)]
temp hackfix for multiple server respawns in LMS

6 years agoadded word wrap to center messages; fixed e_CharFont_GetSizeFmt
fgsfds [Fri, 9 Feb 2018 14:37:36 +0000 (17:37 +0300)]
added word wrap to center messages; fixed e_CharFont_GetSizeFmt

6 years agotemp hackfix for resolution changing
fgsfds [Wed, 7 Feb 2018 23:41:45 +0000 (02:41 +0300)]
temp hackfix for resolution changing

6 years agoadded `version` console command'
fgsfds [Wed, 7 Feb 2018 22:34:23 +0000 (01:34 +0300)]
added `version` console command'

6 years agowrite version and built time to log
fgsfds [Wed, 7 Feb 2018 22:13:19 +0000 (01:13 +0300)]
write version and built time to log

6 years agofixed texture switch bug AGAIN
fgsfds [Tue, 6 Feb 2018 23:03:59 +0000 (02:03 +0300)]
fixed texture switch bug AGAIN

6 years agodon't kill and recreate game window on resolution change in windowed mode
Ketmar Dark [Tue, 6 Feb 2018 22:35:52 +0000 (00:35 +0200)]
don't kill and recreate game window on resolution change in windowed mode

6 years agoexperiments with fullscreen switching -- failed, but i left the commented code for...
Ketmar Dark [Tue, 6 Feb 2018 21:39:45 +0000 (23:39 +0200)]
experiments with fullscreen switching -- failed, but i left the commented code for posterity

6 years agohackfix for video resolution change (still not working right, see commit text)
Ketmar Dark [Tue, 6 Feb 2018 20:11:55 +0000 (22:11 +0200)]
hackfix for video resolution change (still not working right, see commit text)

  changing to fullscreen is not working right, 'cause we need to
  recreate OpenGL context (and reupload all textures). without this,
  fullscreen window is created with fucked size for some reason.

6 years agofixed texture trigger bug
fgsfds [Tue, 6 Feb 2018 20:35:42 +0000 (23:35 +0300)]
fixed texture trigger bug

6 years agofixed small/short int sizes in e_msg
fgsfds [Tue, 6 Feb 2018 20:12:22 +0000 (23:12 +0300)]
fixed small/short int sizes in e_msg

6 years agofixed signature of upnpDiscover()
fgsfds [Mon, 5 Feb 2018 20:24:03 +0000 (23:24 +0300)]
fixed signature of upnpDiscover()

6 years agohackfix builds with upnp on unix
fgsfds [Mon, 5 Feb 2018 19:46:57 +0000 (22:46 +0300)]
hackfix builds with upnp on unix

6 years agofix build without upnp
fgsfds [Mon, 5 Feb 2018 19:17:28 +0000 (22:17 +0300)]
fix build without upnp

6 years agoport forwarding now runs in a separate thread
fgsfds [Mon, 5 Feb 2018 18:54:46 +0000 (21:54 +0300)]
port forwarding now runs in a separate thread

6 years agoadd loading text about port forwarding
fgsfds [Mon, 5 Feb 2018 17:47:49 +0000 (20:47 +0300)]
add loading text about port forwarding

6 years agoadded ForwardPorts config option
fgsfds [Mon, 5 Feb 2018 17:19:29 +0000 (20:19 +0300)]
added ForwardPorts config option

6 years agoport forwarding and miniupnpc are now completely optional
fgsfds [Mon, 5 Feb 2018 17:06:32 +0000 (20:06 +0300)]
port forwarding and miniupnpc are now completely optional

6 years agoadded port forwarding via miniupnpc (disabled by default for now)
fgsfds [Mon, 5 Feb 2018 16:38:30 +0000 (19:38 +0300)]
added port forwarding via miniupnpc (disabled by default for now)

6 years agoproper fix for the previous commit (destroying inexisting items)
Ketmar Dark [Mon, 5 Feb 2018 01:13:07 +0000 (03:13 +0200)]
proper fix for the previous commit (destroying inexisting items)

6 years agoBUG|HACK|INVESTIGATE: don't crash on removing invalid item id (seems that something...
Ketmar Dark [Mon, 5 Feb 2018 00:51:45 +0000 (02:51 +0200)]
BUG|HACK|INVESTIGATE: don't crash on removing invalid item id (seems that something holds stale ids)

6 years agonail the sky on scaled small levels (actually, better sky moving in non-standard...
Ketmar Dark [Fri, 26 Jan 2018 18:38:34 +0000 (20:38 +0200)]
nail the sky on scaled small levels (actually, better sky moving in non-standard scales)

6 years agovsync option should be applied without restarting now
Ketmar Dark [Fri, 26 Jan 2018 18:20:08 +0000 (20:20 +0200)]
vsync option should be applied without restarting now

6 years agorenamed "dbg_scale" to "r_scale"; scaled mode now obeys level bounds; added "dbg_igno...
Ketmar Dark [Tue, 23 Jan 2018 13:45:31 +0000 (15:45 +0200)]
renamed "dbg_scale" to "r_scale"; scaled mode now obeys level bounds; added "dbg_ignore_level_bounds" cvar to control that (useful for Holmes)

6 years agoPlayer: Add punch animation for berserk
Stas'M [Sun, 21 Jan 2018 13:11:56 +0000 (16:11 +0300)]
Player: Add punch animation for berserk

http://doom2d.org/forum/viewtopic.php?f=12&t=2562

6 years agogeneralized pool iterator (it is not tied to `framePool` anymore)
Ketmar Dark [Sun, 21 Jan 2018 10:09:02 +0000 (12:09 +0200)]
generalized pool iterator (it is not tied to `framePool` anymore)

6 years agoreplaced manual pool walking with nice iterator (yet one should still call `.release...
Ketmar Dark [Sat, 20 Jan 2018 23:10:48 +0000 (01:10 +0200)]
replaced manual pool walking with nice iterator (yet one should still call `.release()` manually... T_T)

6 years agoremoved alot of commented out and unused grid processing code
Ketmar Dark [Thu, 18 Jan 2018 13:44:10 +0000 (15:44 +0200)]
removed alot of commented out and unused grid processing code

6 years agogrid: only one debug callback left (ok, let it be there for now...)
Ketmar Dark [Thu, 18 Jan 2018 13:33:11 +0000 (15:33 +0200)]
grid: only one debug callback left (ok, let it be there for now...)

6 years agoremoved callback from `Grid.traceRay()` (it wasn't used anyway)
Ketmar Dark [Thu, 18 Jan 2018 13:10:31 +0000 (15:10 +0200)]
removed callback from `Grid.traceRay()` (it wasn't used anyway)

6 years agono more callback in `Grid.traceBox()` (it wasn't used anyway)
Ketmar Dark [Thu, 18 Jan 2018 12:53:37 +0000 (14:53 +0200)]
no more callback in `Grid.traceBox()` (it wasn't used anyway)

6 years agocommented out unused type
Ketmar Dark [Thu, 18 Jan 2018 12:48:06 +0000 (14:48 +0200)]
commented out unused type

6 years ago`Grid.forEachAtPoint()` converted to no-callback
Ketmar Dark [Thu, 18 Jan 2018 12:46:55 +0000 (14:46 +0200)]
`Grid.forEachAtPoint()` converted to no-callback

6 years ago`Grid.forEachInAABB()`: no more callbacks
Ketmar Dark [Thu, 18 Jan 2018 12:23:04 +0000 (14:23 +0200)]
`Grid.forEachInAABB()`: no more callbacks

6 years agocommented out some old code; outlined a new plan to remove most callbacks
Ketmar Dark [Thu, 18 Jan 2018 11:20:35 +0000 (13:20 +0200)]
commented out some old code; outlined a new plan to remove most callbacks

6 years agoChat sounds: Add config and menu option
Stas'M [Sat, 13 Jan 2018 14:57:33 +0000 (17:57 +0300)]
Chat sounds: Add config and menu option

6 years agoFix previous commit (use toLowerCase1251)
Stas'M [Fri, 12 Jan 2018 21:49:35 +0000 (00:49 +0300)]
Fix previous commit (use toLowerCase1251)

6 years agoChat sounds: Use AnsiLowerCase for russian letters
Stas'M [Fri, 12 Jan 2018 21:45:27 +0000 (00:45 +0300)]
Chat sounds: Use AnsiLowerCase for russian letters

6 years agoGame: Add chat sounds for promotion
Stas'M [Fri, 12 Jan 2018 21:31:09 +0000 (00:31 +0300)]
Game: Add chat sounds for promotion

6 years agoAdd Haiku OS support
DeaDDooMER [Tue, 2 Jan 2018 23:52:02 +0000 (23:52 +0000)]
Add Haiku OS support

6 years agoFix building with sdl_mixer
DeaDDooMER [Tue, 2 Jan 2018 23:51:18 +0000 (23:51 +0000)]
Fix building with sdl_mixer

6 years agoMORE DARKNESS!!!
Ketmar Dark [Fri, 29 Dec 2017 01:39:19 +0000 (03:39 +0200)]
MORE DARKNESS!!!

6 years agodarkened interpic a little, to make loading log more readable
Ketmar Dark [Fri, 29 Dec 2017 01:35:11 +0000 (03:35 +0200)]
darkened interpic a little, to make loading log more readable

6 years agofancy pbar width and rendering fixes (don't be so smart, ketmar!)
Ketmar Dark [Fri, 29 Dec 2017 00:36:12 +0000 (02:36 +0200)]
fancy pbar width and rendering fixes (don't be so smart, ketmar!)

6 years agoadded Jah's nice graphical progressbar (the game will fallback to old flat one if...
Ketmar Dark [Thu, 28 Dec 2017 23:46:02 +0000 (01:46 +0200)]
added Jah's nice graphical progressbar (the game will fallback to old flat one if there is no pbar gfx in game.wad)

7 years agoActivated ATTACK_L for ZOMBY and SERG
Jabberwock-RU [Sun, 24 Dec 2017 11:49:34 +0000 (14:49 +0300)]
Activated ATTACK_L for ZOMBY and SERG

7 years agofixed error message if default megawad map failed to load
Ketmar Dark [Sun, 24 Dec 2017 11:16:16 +0000 (13:16 +0200)]
fixed error message if default megawad map failed to load

7 years agogoto cheat fix
Ketmar Dark [Sun, 24 Dec 2017 11:04:33 +0000 (13:04 +0200)]
goto cheat fix

7 years agoJetpack item is animated now
Jabberwock-RU [Sat, 23 Dec 2017 18:45:07 +0000 (21:45 +0300)]
Jetpack item is animated now

7 years agoMerge branch 'master' of ssh://repo.or.cz/d2df-sdl
Ketmar Dark [Sat, 7 Oct 2017 12:33:11 +0000 (15:33 +0300)]
Merge branch 'master' of ssh://repo.or.cz/d2df-sdl

7 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

7 years agoCosmetic: DooM 2D:Forever -> Doom 2D: Forever
Dmitry D. Chernov [Thu, 5 Oct 2017 17:58:42 +0000 (03:58 +1000)]
Cosmetic: DooM 2D:Forever -> Doom 2D: Forever

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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"

7 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

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

7 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)

7 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

7 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.

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

7 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).

7 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

7 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)

7 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

7 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

7 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

7 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

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

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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

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