IRC logs of Freenode #BZFlag for Thursday, 2019-08-01

*** infobot <infobot!ibot@c-174-52-60-165.hsd1.ut.comcast.net> has quit IRC (Remote host closed the connection)00:19
*** infobot <infobot!ibot@c-174-52-60-165.hsd1.ut.comcast.net> has joined #bzflag00:20
*** ChanServ sets mode: +v infobot00:20
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has joined #bzflag00:40
ZehraWhat would be the proper procedure for adding a single boolean variable which would only need to be accessed in two locations within the client? (Both files are non-headers as well and DEVINFO does not seem to cover this.)01:16
ZehraThis would be related to a minor bug fix within the client I am currently working on.01:17
blast007that's far too vague of a question01:18
ZehraAlright. "playing.cxx" and "ScoreboardRenderer.cxx" are the files being used. Information on a "state" I wish to track would be within "playing.cxx", but I would need to be aware of that "state" in "ScoreboardRenderer.cxx", this would be a single boolean variable, but this does not seem to qualify enough for it to be needed as a global variable, so my question is what should be done to follow the coding conventions, as it seems it is not covered01:25
Zehrasufficiently within DEVINFO?01:25
blast007what state?01:27
blast007and how many times per frame would the current value of the state need to be read?01:28
ZehraI would add a state to see if a client has joined and remained connected to a server or not.01:29
ZehraAs much as the input of the "huntKeyEvent" is used.01:30
blast007is this to fix the hunt key when not joined to a server?01:30
ZehraYes.01:30
blast007then I'm unclear what the scoreboard *renderer* has to do with that01:30
allejodoesn't the client already have that information somewhere?01:31
ZehraLine 282: // invoked by clientCommands.cxx when '7' or 'U' is pressed01:31
Zehraallejo: It does to some degree, but not in an ideal manner as two boolean variables would need to be tracked.01:33
allejothe client should already know if its on a server. how does it decide not to render a scoreboard e.g.01:33
allejothe message key knows to display a "you can only send messages while on a server" message01:33
blast007yeah, look for "use send only when connected" in clientCommands.cxx01:34
blast007the solution is to just not call huntKeyEvent if you're not connected01:35
allejo^01:35
ZehraWill do. Thanks for the insights.01:36
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has quit IRC (Quit: Gone for now.)02:06
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b98455.dyn.optonline.net> has joined #bzflag07:34
*** Sgeo__ <Sgeo__!~Sgeo@ool-18b98455.dyn.optonline.net> has quit IRC (Ping timeout: 245 seconds)07:37
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Quit: ChatZilla 0.9.93 [SeaMonkey 2.53/20180924130006])08:33
*** infobot <infobot!ibot@c-174-52-60-165.hsd1.ut.comcast.net> has quit IRC (Ping timeout: 272 seconds)08:43
tuponemacsforme: Model.h and similar10:29
*** spldart <spldart!~james@bzflag/contributor/spldart> has quit IRC (Ping timeout: 264 seconds)10:51
*** Sgeo__ <Sgeo__!~Sgeo@ool-18b98455.dyn.optonline.net> has joined #bzflag15:54
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b98455.dyn.optonline.net> has quit IRC (Ping timeout: 245 seconds)15:57
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has joined #bzflag16:40
BZNotifybzflag: Zehra opened pull request #210 "Fixes hunt usage when not connected to server" (https://git.io/fj9BZ)16:42
blast007allejo: checking after is at least consistent with the other commands, iirc16:50
allejooh is it?16:51
blast007yup, see cmdJump, for instance16:52
allejooh you're right16:53
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b98455.dyn.optonline.net> has joined #bzflag17:25
*** Sgeo__ <Sgeo__!~Sgeo@ool-18b98455.dyn.optonline.net> has quit IRC (Ping timeout: 245 seconds)17:29
*** DTRemenak <DTRemenak!~DTRemenak@2605:e000:141f:c002:e966:a4bb:97ca:708c> has joined #bzflag18:11
*** DTRemenak <DTRemenak!~DTRemenak@2605:e000:141f:c002:e966:a4bb:97ca:708c> has quit IRC (Changing host)18:11
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has joined #bzflag18:11
*** ChanServ sets mode: +v DTRemenak18:11
*** Sgeo_ <Sgeo_!~Sgeo@ool-18b98455.dyn.optonline.net> has quit IRC (Ping timeout: 245 seconds)21:04
*** spldart <spldart!~james@2601:2c5:c600:2365::494a> has joined #bzflag22:19
*** spldart <spldart!~james@2601:2c5:c600:2365::494a> has quit IRC (Changing host)22:19
*** spldart <spldart!~james@bzflag/contributor/spldart> has joined #bzflag22:19
*** ChanServ sets mode: +v spldart22:19
*** Sgeo <Sgeo!~Sgeo@ool-18b98455.dyn.optonline.net> has joined #bzflag22:23
macsformetupone: what about it specifically?23:21
macsformewe need to move ahead toward releasing the next major version23:22
macsformeI already brought up a few weeks ago that we should evaluate JeffM's unfinished projects to see if they should be set aside for now... so if your work has conflicts with any of it, that can be part of the discussion23:24
macsformebut if there is no straightforward way to port your projects to the master branch, then I see no compelling reason to merge them at all23:29
macsformeI understand why you wanted to do your work in 2.4 (or I think I do)... it's a lot easier to develop graphics code on a branch where there are active servers and players... I get that23:32

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!