#gemrb@irc.freenode.net logs for 21 Jun 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[01:52:54] --> decker^ has joined #gemrb
[01:53:34] <-- decker^ has left IRC (Client Quit)
[01:54:00] --> decker^ has joined #gemrb
[02:01:23] <-- decker^ has left IRC (Quit: Page closed)
[03:13:17] --> wrotek_ has joined #gemrb
[07:08:34] --> lynxlynxlynx has joined #gemrb
[07:08:35] <-- lynxlynxlynx has left IRC (Changing host)
[07:08:35] --> lynxlynxlynx has joined #gemrb
[07:08:35] --- ChanServ gives channel operator status to lynxlynxlynx
[07:25:43] --> kettuz has joined #gemrb
[08:05:27] <-- DrMcCoy has left IRC (Read error: Connection reset by peer)
[08:58:25] <-- kettuz has left IRC (Quit: Leaving)
[11:36:49] --> DrMcCoy has joined #gemrb
[15:50:38] --> Yoshimo has joined #gemrb
[16:24:45] --> sdlfk has joined #gemrb
[16:43:22] <-- sdlfk has left IRC (Quit: Konversation terminated!)
[18:11:14] <tomprince> https://gist.github.com/2967489
[18:11:38] <tomprince> (Although I just realized that that is from a few month old version.
[18:26:12] <-- alexander__b has left IRC (Ping timeout: 244 seconds)
[18:34:17] --> alexander__b has joined #gemrb
[18:36:44] --> sdlfk has joined #gemrb
[18:36:49] --- sdlfk is now known as decker^
[18:41:03] <decker^> hello
[18:41:08] <decker^> brb
[18:41:10] <-- decker^ has left IRC (Client Quit)
[18:41:44] --> sdlfk has joined #gemrb
[18:45:26] <sdlfk> so how you guys doing
[18:45:30] <sdlfk> ack
[18:45:33] --- sdlfk is now known as decker^
[18:45:40] <decker^> i have something new for you guys
[18:47:08] --> kettuz has joined #gemrb
[18:47:51] <decker^> http://pastebin.com/s41fDM07
[18:49:27] <decker^> http://pastebin.com/HairfNsu
[18:49:39] <decker^> both the same just the second i pasted under my account
[18:50:21] <decker^> anyway before i go and commit give me feedback, let me know what can be done better or any preferences or what i might totally screw up lol
[18:50:44] <decker^> thanks, gtg i will read the log when i get back
[18:50:47] <-- decker^ has left IRC (Quit: Konversation terminated!)
[18:51:58] <tomprince> decker^: You can always commit, and then later ammend the commit with improvements after review.
[19:07:22] --> decker^ has joined #gemrb
[19:08:08] --> Mikr2006 has joined #gemrb
[19:08:37] <decker^> tomprince: yeah that is true, still learning this stuff but lynx's git reset --soft HEAD^ or whatever it was was useful
[19:09:34] <Mikr2006> hi guys just a quick question, I am attempting to modify the GUiscripts for a a quick game mod I want to implement however I was curious if I needed to compile the source everytime I modfied the python code?
[19:11:12] <decker^> no
[19:11:16] <decker^> you don't
[19:11:55] <Mikr2006> Ok thank you, one more quick question, do you guys know where I can find the API reference for gemrb?
[19:12:08] <decker^> i am pretty new myself so i can't answer that
[19:12:26] <Mikr2006> No worries at all decker^ appreciate the answer the though
[19:12:44] <decker^> but if you can at least read C++ a bit, look at GUIScripts.cpp
[19:12:58] <decker^> it will show basically everything you can do with the python scripts
[19:13:00] <Mikr2006> Gotcha
[19:13:15] <decker^> it's in plugins/GUI something or rather
[19:14:21] <Mikr2006> I do know a tiny bit of C++ but still have a long way to go before I can be even somewhat competent with it, was going to use the GUIscripts as a way for modyfying gameplay and GUI elements, I am a novice at python so thought it will supplement my knowledge of it
[19:15:11] <Mikr2006> and thank you for pointing me to the location of the GUI.cpp, might take a gander at it for some
[19:15:32] <decker^> yeah good way to learn, and you can see the results immediately without compiling
[19:15:40] <tomprince> decker^: Also, 'git commit --ammend' and 'git rebase -i origin'
[19:16:08] <decker^> yeah it's plugins/GUIScript/GUIScript.cpp and there is also PythonHelpers.cpp there too
[19:16:33] <decker^> there are comments that explain what each function expects as a parameter and what it returns so it might help you
[19:16:33] <tomprince> ls gemrb/docs/en/GUIScript has some, nad the docstrings in ^^^ are useful too.
[19:16:34] <Mikr2006> essentially I want to replaced parts of the UI with my custom graphics, small gameplay changes, and also new areas, since thank goodness I have some art background I can be a little self sufficient
[19:16:43] <Mikr2006> thanks a lot guys really appreciate it
[19:16:53] <decker^> np
[19:17:07] <decker^> tomprince: what does --ammend do?
[19:17:20] <tomprince> Modifies the most recent commit.
[19:17:40] <Mikr2006> yeah pretty much, definitely saves time manually commit the git resp
[19:18:30] <decker^> so it doesn't undo a commit, but say I modify GameControl.cpp and do a commit, then I want to change something, I do --ammend and it adds whatever I changed into the commit?
[19:19:03] <tomprince> Yes.
[19:19:07] <Mikr2006> pretty much
[19:19:14] <decker^> oh that's cool then, thanks
[19:20:06] <Mikr2006> Just a quick question for you fellow programmers out there, do you guys plan out the objects, function and function calls, classes before make adjustments to source?
[19:20:09] <decker^> what does the rebase do
[19:20:41] <decker^> not me, i am new so i just change stuff if they like it they tell me what to do better lol if they do like it they put it in there
[19:20:42] <Mikr2006> heh apologize for the questions, trying to build a foundation of what I want to do with the engine
[19:20:42] <tomprince> If you have a series of commits, it lets you combine/edit/rearange/reword them.
[19:21:03] <Mikr2006> sounds good
[19:21:22] <decker^> do you replace 'origin' with whatever commit you want to change?
[19:22:01] <tomprince> origin should be the most recent commit you don't want to change.
[19:22:37] <Mikr2006> Ok guys brb going to make the needed adjustments to the GUIscripts
[19:22:43] <-- Mikr2006 has left IRC (Quit: Page closed)
[19:23:12] <tomprince> rebase (without the -i) actually takes a series of commits and replays them against a new commit. The -i just allows you to play around with them before you do that.
[19:24:26] <decker^> oh i see
[19:24:44] <decker^> sounds a bit complicated so i would have to play with it and learn it a bit ;)
[19:25:06] <tomprince> Perhaps more than you need at the moment, but: http://git-scm.com/book
[19:29:20] <decker^> hey that's what i need! thanks
[19:29:39] <decker^> now i just need some time to read it lol guess i can at least browse it ;)
[19:29:41] <decker^> appreciate ya man
[19:30:35] <decker^> trig in the summer really eats the time up :(
[19:53:37] <-- decker^ has left IRC (Quit: Page closed)
[20:30:33] <-- kettuz has left IRC (Quit: Leaving)
[20:36:08] <-- PixelScum has left IRC (Ping timeout: 240 seconds)
[20:46:24] --> Drakkar has joined #gemrb
[20:58:33] <-- Yoshimo has left IRC (Quit: Yoshimo)
[21:04:28] <-- Drakkar has left IRC (Ping timeout: 276 seconds)
[21:08:46] --> Drakkar has joined #gemrb
[21:22:04] <-- Kiranos has left IRC (Quit: No Ping reply in 180 seconds.)
[21:22:23] <lynxlynxlynx> decker: looks good to me, but since I have a chance, I'd initialise color immediately, which means you can simplify the checks below
[21:23:08] --> Kiranos has joined #gemrb
[21:36:28] <-- alexander__b has left IRC (Ping timeout: 250 seconds)
[21:46:47] --> alexander__b has joined #gemrb
[21:48:20] <-- wrotek_ has left IRC (Ping timeout: 246 seconds)
[22:06:25] <-- Drakkar has left IRC (Ping timeout: 265 seconds)
[22:13:37] --> Drakkar has joined #gemrb
[22:38:05] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:09:51] <-- alexander__b has left IRC (Ping timeout: 244 seconds)
[23:18:39] --> alexander__b has joined #gemrb