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

Archive Today Yesterday Tomorrow
Nuvie homepage

[05:28:37] --> Shozan has joined #nuvie
[05:29:37] <-- SHODAN has left IRC (Remote host closed the connection)
[05:29:50] <-- Dominus has left IRC (Ping timeout: 284 seconds)
[05:30:32] --> Dominus has joined #nuvie
[05:38:34] <-- Dominus has left IRC (*.net *.split)
[07:45:47] --> Yuv422 has joined #nuvie
[08:14:06] --> Dominus has joined #nuvie
[08:27:17] <-- Yuv422 has left IRC (Quit: Yuv422)
[09:29:21] --- Shozan is now known as SHODAN
[10:21:15] --> Yuv422 has joined #nuvie
[11:50:58] <-- Yuv422 has left IRC (Quit: Yuv422)
[14:34:27] --> TheCycoONE has joined #nuvie
[15:33:13] <-- TheCycoONE has left IRC (Read error: Connection reset by peer)
[15:33:35] --> TheCycoONE has joined #nuvie
[17:33:41] --> TheCycoTWO has joined #nuvie
[17:37:07] <-- TheCycoONE has left IRC (Ping timeout: 240 seconds)
[19:34:56] --> Yuv422 has joined #nuvie
[19:56:49] --> Malignant_Manor has joined #nuvie
[20:25:41] <Yuv422> hey Malignant_Manor
[20:25:42] <Malignant_Manor> Hi
[20:26:05] <Yuv422> I like your new UI mode
[20:26:12] <Yuv422> the screenshots look good
[20:29:56] <Malignant_Manor> I'm working on SpellView x and y locations for casting, canceling, and do nothing so that it works in those modes.
[20:32:26] <Yuv422> ah k
[20:32:58] <Malignant_Manor> Is there a way to know if a widget is hidden?
[20:33:20] <Yuv422> you can look at the status variable
[20:42:38] <Malignant_Manor> Here's the work in progress. http://pastebin.com/d7rJuwaa
[20:43:44] <Malignant_Manor> As, before, I am having problems getting screen->blit to work properly with the destx and SDL_REC parameters
[20:44:56] <Malignant_Manor> It will display the rect at the location it would if it was still 320x200
[20:45:59] <Yuv422> is there a hardcoded width in there somewhere
[20:46:26] <Yuv422> I'm not too sure about the resolution_independence name
[20:47:48] <Malignant_Manor> It's a placeholder at least
[20:47:53] <Yuv422> yeah
[20:47:59] <Malignant_Manor> I need a variable to work with
[20:48:02] <Yuv422> and lots of lines like this
[20:48:02] <Yuv422> if(game->get_resolution_independence() == RESOLUTION_INDEPENDENT)
[20:48:36] <Malignant_Manor> The two modes are hacks onto the original
[20:48:49] <Yuv422> could be written as if(game->is_resolution_independant())
[20:49:13] <Malignant_Manor> There's two of them
[20:50:21] <Yuv422> could you roll the resolution modes into the game UI type
[20:50:21] <Malignant_Manor> The first cuts off the x of the map when the background starts. The second will display the map everywhere
[20:50:34] <Yuv422> so they are just other ui modes
[20:50:43] <Yuv422> or game styles
[20:50:54] <Malignant_Manor> That makes a lot more changes of code.
[20:51:09] <Malignant_Manor> Instead of original style it will be not new style
[20:51:59] <Yuv422> new style could be a check for !original style behind the covers
[20:52:23] <Malignant_Manor> But is_original_style is everywhere
[20:52:34] <Malignant_Manor> I guess that can be if !new_style
[20:52:48] <Yuv422> yeah
[20:52:57] <Malignant_Manor> I mean return !new_style
[20:53:12] <Malignant_Manor> I still need better names for the modes
[20:53:18] <Malignant_Manor> but can't really come up with anything.
[20:54:01] <Yuv422> I'll have a think about the names to see if I can come up with anything
[20:54:09] <Malignant_Manor> Any idea about the blit issue?
[20:56:01] <Yuv422> does the screen class see the full resolution
[20:56:17] <Yuv422> are width/heitgh variables as expected?
[20:56:30] <Malignant_Manor> I'm not sure
[20:57:03] <Yuv422> you might also want to check surface
[20:57:10] <Yuv422> I've got to go now
[20:57:26] <Yuv422> cya
[20:57:43] <-- Yuv422 has left IRC (Quit: Yuv422)
[21:38:20] <-- TheCycoTWO has left IRC (Quit: And then there were n-1)
[22:17:04] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 26.0/20131205075310])