#nuvie@irc.freenode.net logs for 26 Jan 2014 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[00:47:54] <Malignant_Manor> Yuv422: day_of_the_week schedule changes should go on the todo list.
[00:54:38] <Yuv422> Hey Malignant_Manor
[00:54:41] <Yuv422> ah yes
[00:54:47] <Yuv422> for the gypsys
[00:54:51] <Yuv422> gotta go now
[00:54:54] <Malignant_Manor> I'm doing sloppy coding work atm
[00:55:00] <Malignant_Manor> I keep introducing bugs.
[00:55:02] <Malignant_Manor> bye
[00:55:07] <Yuv422> cya
[00:55:12] <-- Yuv422 has left IRC (Quit: Yuv422)
[01:18:33] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 26.0/20131205075310])
[05:41:11] <-- TheCycoTWO has left IRC (Ping timeout: 260 seconds)
[06:22:20] --> TheCycoTWO has joined #nuvie
[06:40:47] --> Yuv422 has joined #nuvie
[06:41:39] <-- TheCycoTWO has left IRC (Ping timeout: 272 seconds)
[07:08:30] --> TheCycoONE has joined #nuvie
[07:17:07] <-- TheCycoONE has left IRC (Ping timeout: 272 seconds)
[09:36:00] <-- Yuv422 has left IRC (Quit: Yuv422)
[10:32:56] --> Yuv422 has joined #nuvie
[11:42:14] --> werebutt has joined #nuvie
[11:42:14] <-- werebutt has left #nuvie
[11:57:40] <-- Yuv422 has left IRC (Quit: Yuv422)
[14:39:39] --> TheCycoTWO has joined #nuvie
[16:48:47] <-- TheCycoTWO has left IRC (Ping timeout: 252 seconds)
[17:59:17] --> Malignant_Manor has joined #nuvie
[18:04:50] <Malignant_Manor> wjp: Wouldn't it be better to use a function to get the string from std::string config_get_game_key(Configuration *config) instead of performing the function each time? http://pastebin.com/3TELKwRa
[18:06:28] <Malignant_Manor> Example usage is config->value (config_get_game_key(config) + "/music", music_style, "native");
[18:07:47] <wjp> hm, whatever you think is more readable. It doesn't change, so it's not a big problem to duplicate/cache the value
[18:08:45] <Malignant_Manor> Ah, I would think it would be faster.
[18:09:25] <Malignant_Manor> How would the engine know it doesn't change?
[18:10:18] <Malignant_Manor> (and would it be the same speed without optimization enabled?)
[18:12:36] <wjp> is it in any place where speed matters?
[18:12:54] <Malignant_Manor> I doubt it.
[18:13:00] <Malignant_Manor> Startup speed
[18:13:08] <Malignant_Manor> I guess
[18:15:30] <Malignant_Manor> It's probably changing a lot of lines of code for nothing.
[19:22:55] <-- SugarCube has left IRC (Ping timeout: 245 seconds)
[19:29:54] --> SugarCube has joined #nuvie
[19:59:05] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 26.0/20131205075310])
[20:33:44] --> Yuv422 has joined #nuvie
[20:45:53] --> Darklock has joined #nuvie
[20:49:10] <-- Lightkey has left IRC (Ping timeout: 245 seconds)
[21:30:31] --> Malignant_Manor has joined #nuvie
[21:31:05] <Malignant_Manor> Yuv422: is the MD converse font supposed to have palette rotation colors?
[21:31:23] <Malignant_Manor> Also zero has a stray pixel in it.
[21:59:19] <Yuv422> Hey Malignant_Manor
[21:59:32] <Malignant_Manor> Hi
[21:59:36] <Yuv422> yeah that was a quite job from the u6 font
[21:59:41] <Yuv422> quick
[21:59:49] <Yuv422> gotta fix that up
[22:00:03] <Yuv422> might talk to daniel to see if he's got a MD font set
[22:00:10] <Malignant_Manor> I didn't really look at the SE font.
[22:00:20] <Yuv422> Daniel gave me a SE font
[22:00:26] <Yuv422> I'll have to have a look at it
[22:00:28] <Malignant_Manor> I'm working on making converse gump size configurable.
[22:00:55] <Malignant_Manor> It was hard coded for U6 width and was too wide for MD.
[22:01:01] <Malignant_Manor> (Keywords)
[22:16:51] <Yuv422> cool
[22:17:15] <Yuv422> I think that MD also needs a few more lines for the npc
[22:17:34] <Yuv422> as some of the page breaks are longer in MD than U6
[22:17:55] <Malignant_Manor> I'm not sure how wide to make the minimum width.
[22:18:45] <Malignant_Manor> scroll_width *8 + frame_w + 11 is too large.
[22:24:38] <Malignant_Manor> Okay, 7 characters wide not 8
[22:24:59] <Yuv422> you could always just use a value in pixels
[22:25:15] <Yuv422> not based on number of chars
[22:25:39] <Malignant_Manor> MsgScroll uses characters
[22:25:47] <Yuv422> true
[22:25:52] <Malignant_Manor> so I will just multiply to get pixels
[22:26:11] <Yuv422> are you talking about original MsgScroll or ConverseGump?
[22:26:43] <Malignant_Manor> Converse gump
[22:26:53] <Yuv422> ah k
[22:26:54] <Malignant_Manor> it uses the buffer
[22:26:55] <Yuv422> cool
[22:27:05] <Malignant_Manor> from the scroll
[22:31:14] <Yuv422> I'm starting on the custom sprite logic
[22:45:12] <Malignant_Manor> Documenting my new changes will be horrible.
[22:48:07] <Yuv422> that may be a sign that you need to change your approach
[22:48:15] <Yuv422> and implement it differently
[22:49:06] <Malignant_Manor> Well, there is a minimum width and height.
[22:49:46] <Malignant_Manor> For original+ to have non-solid backgrounds, it's game_width minus 158 must be greater than or equal to converse_gump_width.
[22:50:28] <Malignant_Manor> That is the U6 size. I also need to tell the WoU sizes.
[22:50:51] <Yuv422> which class are you using for this?
[22:50:55] <Yuv422> MsgScroll?
[22:51:02] <Malignant_Manor> converse gump
[22:51:38] <Yuv422> ah k
[22:52:05] <Malignant_Manor> It is just nasy downsides to the original_ modes.
[22:52:09] <Malignant_Manor> nasty
[22:52:34] <Yuv422> should we park these changes until after release then?
[22:52:43] <Malignant_Manor> original+ doesn't redraw the UI constantly.
[22:52:54] <Malignant_Manor> No they will go before.
[22:54:28] <Malignant_Manor> All except new have problems with the view drawing on top of the converse gump so I need to close it when the gump would obscure the view.
[22:58:59] <Malignant_Manor> Oh, converse_gump_width and converse_gump_height will have a default as a string to display as the same size as the game.
[23:00:46] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 26.0/20131205075310])
[23:41:59] --> Malignant_Manor has joined #nuvie
[23:42:38] <Malignant_Manor> Yuv422: I have an idea how to help reduce the chances of running out of temp actors in higher resolutions.
[23:42:57] <Malignant_Manor> We need rectangles of areas that are okay to spawn in while in dungeons.
[23:43:46] <Malignant_Manor> They would be the areas the player can currently access without cheating.