allejo | a flag drop API event will always happen before a die event. that's just the order in which events are triggered | 00:24 |
---|---|---|
SpringTank | ah 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 event | 00:41 |
allejo | you can get the flag type on drop. you can't however determine whether a flag drop was manual or due to a player death | 00:42 |
SpringTank | my 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 leave | 00:42 |
SpringTank | I tried that, but i couldn't get it to work. | 00:43 |
allejo | https://www.bzflag.org/documentation/developer/bzfs_api/events/bz_eflagdroppedevent/ | 00:43 |
SpringTank | ahhh, that I didn't look at. Thanks | 00:43 |
SpringTank | see, i was trying to get the "currentFlag" data | 00:45 |
macsforme | our premake5 system is also already implemented, whereas Cmake is not :-) | 01:24 |
macsforme | although I wish our master branch saw more traffic, so we would have some feedback, gauge community acceptance, and see where the issues lie | 01: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 #bzflag | 06: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 #bzflag | 09:33 | |
SpringTank | How do you disable friendly fire like on apoc? | 10:09 |
blast007 | the -noTeamKills bzfs option | 10:19 |
SpringTank | thanks | 11:18 |
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag | 12: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 #bzflag | 13:20 | |
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Quit: Client closed) | 13:33 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 14: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 #bzflag | 17: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 file | 21:51 |
macsforme | JeffM[m]: like this? https://github.com/BZFlag-Dev/bzflag/blob/master/plugins/premake5.lua#L6-L8 | 22: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] | thanks | 22: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 |
macsforme | good to hear of an organization that has its priorities in order | 22:44 |
JeffM[m] | they try | 22: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/!