IRC logs of Libera.Chat #BZFlag for Wednesday, 2021-06-23

allejoa flag drop API event will always happen before a die event. that's just the order in which events are triggered00:24
SpringTankah figures, just like how a flag drop happens after the flag type is cleared so you can't get the flag type on a flag drop event00:41
allejoyou can get the flag type on drop. you can't however determine whether a flag drop was manual or due to a player death00:42
SpringTankmy work around for that was just to have an array of bools for "lastFlagUsless" that gets set only if you pickup a useless flag, and gets checked and cleared on flag drop, and cleared on player leave00:42
SpringTankI tried that, but i couldn't get it to work.00:43
allejohttps://www.bzflag.org/documentation/developer/bzfs_api/events/bz_eflagdroppedevent/00:43
SpringTankahhh, that I didn't look at. Thanks 00:43
SpringTanksee, i was trying to get the "currentFlag" data00:45
macsformeour premake5 system is also already implemented, whereas Cmake is not :-)01:24
macsformealthough I wish our master branch saw more traffic, so we would have some feedback, gauge community acceptance, and see where the issues lie01:31
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 258 seconds)04:03
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag06:10
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Quit: Client closed)06:40
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)07:11
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag09:33
SpringTankHow do you disable friendly fire like on apoc?10:09
blast007the -noTeamKills bzfs option10:19
SpringTankthanks11:18
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag12:39
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Ping timeout: 246 seconds)13:15
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag13:20
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Quit: Client closed)13:33
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag14:13
*** Erroneous <Erroneous!~DTRemenak@2603-8001-3700-003f-79e1-cd16-77ee-b355.res6.spectrum.com> has quit IRC (Ping timeout: 252 seconds)17:00
*** DTRemenak <DTRemenak!~DTRemenak@2603-8001-3700-003f-64d9-8055-2b7f-eba0.res6.spectrum.com> has joined #bzflag17:01
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 252 seconds)20:51
JeffM[m]masforme, do you know if there is a way to loop through folders/files in a premake script and do something for each of them? like if I have a folder full of cpp files and I want to make a project/app for each file21:51
macsformeJeffM[m]: like this? https://github.com/BZFlag-Dev/bzflag/blob/master/plugins/premake5.lua#L6-L822:38
JeffM[m]yes, exactly like that. That's why I had a feeling that you'd have looked into that :)22:38
JeffM[m]thanks22:38
macsforme:-)22:39
JeffM[m]oh man... my job is weird. a big meeting was moved back 30 min, so we can all play Diablo....22:40
macsformegood to hear of an organization that has its priorities in order22:44
JeffM[m]they try22:45
JeffM[m]I've been trying to help build a premake setup system for a game framework lib that helps out students. It has folders of examples that are one c file each. I was pretty sure premake was capable of walking stuff, but I'm not good enough in lua to know how to do that :)22:46

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