Saturday, 2009-08-08

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** DTRemenak has quit IRC00:34
*** shenki has quit IRC00:34
*** nebaway has quit IRC00:34
*** nebaway has joined #tp00:34
*** shenki has joined #tp00:35
*** DTRemenak has joined #tp00:35
*** shenki_ has joined #tp00:39
*** jernejovc_ has joined #tp00:49
*** nebaway has quit IRC00:52
*** nebaway has joined #tp00:57
*** jernejovc has quit IRC01:04
*** llnz has joined #tp01:15
*** nebajothz has joined #tp01:21
*** jnengland77 has quit IRC01:23
*** nebaway has quit IRC01:23
alanpmithro/llnz: ping01:47
*** shenki_ has quit IRC01:49
*** llnz has quit IRC01:52
*** llnz has joined #tp01:52
llnzalanp: pong01:55
alanpi think i found the answer i was looking for :-)01:57
alanpif i keep HitPoints as a property, the only way for me to change it's value is to getPropertyValues(), change the property in question and then setPropertyValues() no?01:58
alanpie: when a ship is damaged but not destroyed01:59
alanpactually, that would modify it for an entire design :-(02:00
llnzif a ship is damage, you don't touch the design02:00
alanpright02:00
llnzits a property of the object02:00
llnzso a parameter of the object02:00
* alanp must have missed it, it's already there02:02
alanpuint32_t Fleet::getDamage() const{02:03
alanp    return ((IntegerObjectParam*)(obj->getParameter(4,2)))->getValue();02:03
alanp}02:03
llnz:-)02:03
alanpok, cool ;-)02:03
* alanp blind again02:03
llnzafk02:11
*** tuna-fish has quit IRC02:37
*** zzorn has quit IRC02:46
llnzback03:30
*** llnz has quit IRC04:12
*** llnz has joined #tp04:39
*** Greywhind has quit IRC04:39
*** zzorn has joined #tp04:50
*** zzorn_ has joined #tp06:49
*** verhoevenv has joined #tp07:28
* llnz wanders off07:53
llnzlater all07:53
*** llnz has quit IRC07:53
CIA-26epyon tpserver-cpp-refactor * rb80a91ccb034 / (11 files in 2 dirs): OrderQueue now handled by a shared_ptr08:47
CIA-26epyon tpserver-cpp-refactor * r3af3c2edfc94 / (5 files in 2 dirs): OrderQueue has now dedicated constructor, OrderManager has direct OrderQueue factory08:47
CIA-26epyon tpserver-cpp-refactor * r55199a23cf66 /modules/games/minisec/ (6 files): MiniSec now supports OrderQueue interface08:47
CIA-26epyon tpserver-cpp-refactor * rf887d496c865 /modules/games/mtsec/ (5 files): MTSec now supports OrderQueue interface08:47
CIA-26epyon tpserver-cpp-refactor * re62a5d4b49bc /modules/games/rfts/ (fleet.cpp rfts.cpp rftsturn.cpp): RFTS now supports OrderQueue interface08:47
CIA-26epyon tpserver-cpp-refactor * r2208b12cc08a /modules/games/risk/ (colonize.cpp mapimport.cpp move.cpp planet.cpp riskturn.cpp): Risk now supports OrderQueue interface08:47
CIA-26epyon tpserver-cpp-refactor * r916b11fc8b0d /modules/games/tae/ (fleetbuilder.cpp fleetorder.cpp tae.cpp taeturn.cpp): TAE now supports OrderQueue interface08:47
*** tansell_laptop has joined #tp09:00
*** tansell_laptop has quit IRC09:44
CIA-26epyon tpserver-cpp-refactor * r01d68c9cf1d6 /tpserver/ (objecttype.cpp objecttype.h objecttypemanager.cpp): ObjectType now a ProtocolObject09:58
CIA-26epyon tpserver-cpp-refactor * r814c4e16f10f /modules/games/minisec/spaceobject.h: MiniSec updated with ObjectType update09:58
CIA-26epyon tpserver-cpp-refactor * rddee1efc3557 /modules/games/mtsec/ (10 files): MTSec updated with ObjectType update09:58
CIA-26epyon tpserver-cpp-refactor * r2442f127acfc /modules/games/rfts/ (6 files): RFTS updated with ObjectType update09:58
CIA-26epyon tpserver-cpp-refactor * ree27983ca832 /modules/games/risk/ (7 files): Risk updated with ObjectType update09:58
CIA-26epyon tpserver-cpp-refactor * rbd30330c4659 /modules/games/tae/ (11 files): TAE updated with ObjectType update09:58
*** tuna-fish has joined #tp10:10
CIA-26epyon tpserver-cpp-refactor * rdc7b9cb67421 /tpserver/ (4 files): ObjectParameterGroupDesc major refactor11:22
CIA-26epyon tpserver-cpp-refactor * rc15c05b61167 / (6 files in 2 dirs): MiniSec updated to new ObjectParameterGroupDesc handling11:22
CIA-26epyon tpserver-cpp-refactor * r521968e23e7e /modules/games/mtsec/ (5 files): MTSec updated to new ObjectParameterGroupDesc handling11:22
CIA-26epyon tpserver-cpp-refactor * r86a1b751b4d9 /modules/games/risk/ (5 files): Risk updated to new ObjectParameterGroupDesc handling11:22
CIA-26epyon tpserver-cpp-refactor * r4c265e1f6f3b /modules/games/rfts/ (fleet.cpp planet.cpp staticobject.cpp universe.cpp): RFTS updated to new ObjectParameterGroupDesc handling11:22
CIA-26epyon tpserver-cpp-refactor * r6b80a27a1a31 /modules/games/tae/ (6 files): TAE updated to new ObjectParameterGroupDesc handling11:22
*** DTRemenak|RDP has joined #tp13:02
*** DTRemenak has quit IRC13:11
*** Greywhind has joined #tp13:12
*** verhoevenv has quit IRC14:41
*** verhoevenv has joined #tp14:41
*** jnengland77 has joined #tp14:49
*** verhoevenv has quit IRC14:53
*** verhoevenv_ has joined #tp14:53
*** ezod has quit IRC14:53
*** ezod has joined #tp14:54
*** verhoevenv has joined #tp15:05
*** verhoevenv_ has quit IRC15:05
*** nebajothz is now known as nebajoth16:25
*** DTRemenak has joined #tp17:20
*** verhoevenv_ has joined #tp17:31
*** verhoevenv has quit IRC17:31
*** DTRemenak|RDP has quit IRC17:37
*** llnz has joined #tp17:58
llnzmorning all18:02
*** Greywhin1 has joined #tp18:40
*** Greywhind has quit IRC18:40
mhilmillnz: hey ! Object tree now works http://www.marwanhilmi.com/wp-content/uploads/2009/08/snapshot1.jpg19:13
tpb<http://ln-s.net/3qU$> (at www.marwanhilmi.com)19:13
llnzmhilmi: cool!19:18
mhilmillnz: hrm could you help with something?19:50
mhilmipastebin.com/m6295a077 . this is some code from the procedure to populate the object model. I'm wondering if you know any mechanism that I can use to ensure reset() line 13 isn't called until all other objects have been downloaded. Any ideas? Right now I have to externally call reset afterwards because the receiveUniverse() function exits prior to receiving all objects...19:50
llnzhumm...19:59
llnzhumm...20:04
llnzmhilmi: what is the superclass of ObjectsModel?20:04
mhilmiit is a QAbstractItemModel20:04
mhilmisee Im wondering if restructuring the retrieval process helps.. but same thing - the model doesn't know when it is done retrieving (atleast the way im doing it now)20:05
mhilmiI also thought about trying to do something like wait or sleep until the last object is retrieved, but then again, the way I'm loading the data in it doesn't know which object is last...20:08
llnzwhy not just all dataChanged()?20:09
llnzor just call reset after each item20:10
mhilmiyeah I'll try the reset after each item, that'll probably work simplest. I'll let you know if that works...20:12
mhilmiaw yeah, that works. sweet, that was easy :)20:13
llnzin theory, if you register watches on each object, when a new one arrives, it will be reflected in the model20:14
llnzafk20:15
llnzback20:27
alanphrmm20:35
alanpwhat's the best way to match tubes to missiles/torps?20:35
alanpIE: i'm in combat, i need to find all usable missiles/torps based on tubes20:35
* alanp thinks there is no "good" way20:36
llnzwell...20:36
alanpbecause my missiles are just a resource on a ship20:36
alanpi need to cycle through all ships, check the design store for the names of tubes20:37
llnzhave a parameter of the tube component that specifies the tube size, and the missile/torp resource could specify the size as well20:37
alanphmm20:37
alanpi think that's just as ugly?20:37
alanpdefinitely doable though20:37
alanpi still have to go through the same kind of thing though20:38
alanpbecause one ship may have 1000 missiles and 2 ships may have 500 tubes each20:38
alanpi need to match everything up to tubes20:39
alanpi think i'll still have to reference the tubes by name in the DS too20:40
alanp(better than by number)20:41
alanpbrb20:41
llnzbbl20:59
*** llnz has quit IRC20:59
*** verhoevenv_ has quit IRC21:14
* Landon will be back home toniight, huzah21:38
Landonhome == comampus21:38
alanpalready?21:39
alanpwhen doees your semester start?21:39
*** DTRemenak has quit IRC22:15
*** DTRemenak has joined #tp22:17
*** mithro has quit IRC22:26
*** jnengland77 has left #tp22:33
*** alanp_ has joined #tp22:50
*** alanp__ has joined #tp22:56
*** mithro has joined #tp23:03
*** alanp has quit IRC23:06
*** alanp_ has quit IRC23:13
*** alanp__ is now known as alanp23:25
*** llnz has joined #tp23:38
*** Greywhin1 is now known as Greywhind23:50

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