Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MorleyDev

Pages: 1 ... 91 92 [93] 94 95 ... 161
1381
Other Games / Re: Total War: Rome 2 totally has a trailer now
« on: September 03, 2013, 10:21:03 am »
On the otherhand, nitpicking is fun. Good reviews tell you the good and bad so you go in eyes open. If a few flaws made something unenjoyable, we'd never enjoy anything since everything has flaws.

1382
Other Games / Re: XCOM: Enemy Unknown (New by Firaxis)
« on: September 03, 2013, 03:38:33 am »
The game does explicitly state they are being used by the sectoid commander to control his troops, since when you wipe out the base the commanders and ethereals and whatnot come down to take control of the invasion directly, they simply weren't needed anymore. At least that's the impression I got from the game, always assumed that was the idea.

Lizardmen are heavily implied by the game to have been turned into The Thin Men. Like, *really* heavily.

1383
General Discussion / Re: Things that made you sad today thread.
« on: September 02, 2013, 04:25:15 pm »
So for some reason it seems to be I get angry quicker and more intensely. Maybe people are just doing more things to piss me off in rapid succession. And since I have no idea how to handle intense anger, given that I've never really dealt with it, it's not pretty. I usually can recognise if I'm actually losing control and get myself away before I do anything more than raise my voice (shouting at someone is typically the thing that clues me in), but last friday...that didn't happen. Wound up punching someone in the face right before I gained enough control to then start walking away. Yeeeah.

Also been having these odd sad moments now and then when I'm alone. Like I've been about to cry but my brain just shuts down all emotion as soon as it detects that. I've even gone to cry once or twice when alone, face made the cry face and everything, only for it all to stop. Just, stop. Face goes back to null, and I just stop feeling anything at all. Why can't my brain also do that with anger? Would save the awkwardness of having to apologise for punching someone in the face when they were being a dick.

I miss when my only emotional states were "interested", "bored" and "wishing to avoid something that causes boredom". Only ones you really seem to need in life.

A big problem is I suck at recognising my own emotions. Dunno if you could call it alexithymia, but I typically either have to be clued in to my internal emotional state by my actions, or by others pointing it out to me. Like, I can't *know* what I'm feeling internally, can't put words to it or identify it or often even notice it. People have commented I seem stressed a lot more lately, so it could be I'm just running off a higher "baseline" lately.

Given I'm done with work and going back to university soon, hopefully the month off of "adult responsibility" will be enough to fix that.

1384
Other Games / Re: XCOM: Enemy Unknown (New by Firaxis)
« on: September 02, 2013, 08:42:42 am »
Yeah, Squad Sight was basically for overwatching every turn and covering your guys when they trigger alien movement. Worked pretty well, and was waaay OP with flight (really the fix to that would be just to make flight use fuel every turn, movement or no movement). I found it so even on bomb disposal, since it meant every alien that tried to drop down from the sky on your guys got their brains blown out. Grappling made it very useful on urban missions.

In terms of balance I personally found Ghost Armour pretty useless, but then again it seemed to be mostly about getting shotgun wielding assaults into position, and I just never used shotgun. I always found the point blank assault rifle would do about the same when needed, but had better range.

1385
Other Games / Re: Total War: Rome 2 totally has a trailer now
« on: September 02, 2013, 07:54:36 am »
Got given a £50 Steam token as a present. Pre-ordered this, bought "Sir, You Are Being Hunted!". Today I shall flee in terror from robots in tweed, tomorrow my reign of terror shall begin.

I'm usually not a fan of pre-orders but the £10 off, that it wasn't really "money I'd earned" and it was money I had to spend on a game anyway, and that I was deliberately looking for a game to buy kinda sealed the deal. That they've been very open about showing in-game footage and actual recorded plays of it helps. I'd definitely not pre-order if it was all CG-trailers.

1386
General Discussion / Re: Things you wish existed
« on: September 02, 2013, 07:44:17 am »
Well obviously pefect immortality.

Oooh, and real life Heads-Up-Display perfectly integrated into your body with a non-malicious AI such that it monitors you, alerts you of possible threats to yourself both internal and external, feeds biometric data to you about your body and those you're looking at, and is controlled by thought as if it was an extra part of your body.

And transhumanism! Perfectly able to move your brain into an artificial body, ageless and built to your specifications.

I really want to just live in a Cyberpunk future without the corruption but with all the cool toys...

1387
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: September 01, 2013, 10:49:04 am »
It's my experience that in almost all circumstances, having to use dynamic_cast is just a symptom of a flaw in the overall design. It's a code smell, an indicated that aspects of the design need reconsidering because in all likelihood: There's a cleaner way.

1388
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: August 27, 2013, 05:07:22 pm »
The main debate I'm having right now is whether or not to provide a xor overload. C++ doesn't have a logical xor, just bitwise ^. But the reason for that appears to be that x != y is the same as x xor y for booleans, and that ^ can't be short-circuited.

But since & and | can't be short-circuited, should I instead be providing Constraint & Constraint instead of Constraint && Constraint? Except I *do* have limited short-circuiting at the moment, since Constraint && Constraint will only call the first constraint if it fails, at least until it tries to figure out the error message to print. But Constraint && !Constraint will still not the latter constraint before producing the AndOperand...

1389
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: August 27, 2013, 04:08:29 pm »
Snazzy overloads and template metaprogramming to put them onto a CRTP base class. There are generic AndOperand, OrOperand and NotOperand functions that combine the "natural language assertion" constraints appropriately, with overloaded operators on the base class to call them. Also means brackets and such still work for operator precedence.

Kinda surprised it works, to be honest. But both VS2013 and GCC compile it. Overloading the boolean && and || operators does remove short-circuiting, but in the use cases here that's not really a concern. It's something I'd never do in "production" code, naturally, but for a testing library? Yes, I believe this is an acceptable allowance.

Basically the whole library is 90% template metaprogramming and 10% the actual fixture logic.

A basic test fixture looks like this: https://gist.github.com/MorleyDev/5362664
The functions needed to describe tests taking lambdas mean I don't need to do the macro hacks to setup a test like older unit testing libraries, such as CPPUnit, UnitTest++ and Google Test. The whole point of the library was more or less to prove C++11's capabilities for cleaner, less macro-heavy code and that proper testing is perfectly possible in C++.

And of course the tests for the library are examples of how to do more complex tests since they're all written using the library :)

1390
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: August 27, 2013, 03:36:56 pm »
I think I just accomplished a scarily nice looking way to do composite Assertions in natural language for my C++ Unit Testing library.

Code: [Select]
AssertThat(12, Is::LessThan(15) && Is::GreaterThan(13));
AssertThat(28, Is::LessThan(13) || Is::GreaterThan(19));
AssertThat(15, !(Is::LessThan(13) || Is::GreaterThan(19)));
AssertThat(15, Is::Not::LessThan(13) && Is::Not::GreaterThan(19));

So much template wizardry have I learned, but at least the Macro wizardry is limited to like 5 functions at the highest level only that don't read too horribly...C++11, you so awesome :)

1391
Life Advice / Re: A laptop for uni
« on: August 25, 2013, 08:22:53 am »
It really depends what you want. If you want something to take to-and-from University for lectures, then a smaller laptop is better and you can sacrifice some performance. If you want something that can be ported to and from home and your university accommodation, but not really to lectures, then you could look at getting a bigger laptop that can act as a desktop replacement.

I went with an XPS 17 two years ago (which is definitely the latter, being a 17'' monstrosity) and it's still a very decent desktop replacement.

1392
General Discussion / Re: Things that made you sad today thread.
« on: August 22, 2013, 05:59:25 pm »
Maybe I'm lucky, in that we reconnected periodically through my life...

As I understand what happened, he had a history of being emotionally abusive that my mum's pregnancy seemed to magnify. He ended up cheating on my mother whilst she was pregnant with me. She found out not long after I was born, when he left his mistress and she responded by telling my mum everything. She asked if he could promise he'd never do it again, he said he couldn't. She moved out, took me with her and they got divorced. I would be about 6 months old at that point, both of them would of been only in their mid twenties.

Skip forward about four years and my mother wasn't happy with how little child support he was paying. They never went to court to get him to pay it, and knew if they did he would have to pay significantly more. At the time he was paying nothing near what a single mother would need to support a child, she says (my mum and step-dad were still in the "exclusive dating" stage at this point I believe). But she didn't want to have to go through the legal process and drag that out so they gave him a choice: Pay more child support (not sure how much more they were asking), or forsake his fortnightly visitation and pay no child support at all. He chose the latter.

All I remember of this visits is he used to bring me sweets, that he once accidentally lost me in a WHSmith for a bit, he once ran a red light, that the car once broke and he had to flag a bus, and he once took me to meet his new wife and child. Odd what sticks in the memory.

A harsh interpretation of him would say he decided the money was more important than his first-born son, a harsh interpretation of my mum would say she held her son to ransom against his father when he had a newly growing family to support. Nobody's a hero.

1393
General Discussion / Re: Things that made you sad today thread.
« on: August 22, 2013, 04:14:58 pm »
So watched an episode of Fresh Prince of Bel Air recently. Damnit, why'd it have to be the episode that ends with this? This scene always gets me, not enough to make me actually crack...but close. It hits me on an unconscious level, from a time before my memory. I barely remember my biological father. One or two scenes from when I was incredibly young, and a very awkward singular encounter in my teenage years that lasted a few minutes, not much more. An encounter he didn't plan on, and didn't want.

Sometimes I wonder. I know he had children after me, that I somewhere have a step-mother, half-brother and half-sister, cousins, aunts and uncles. None of whom I've met since I was too young to remember more than vague images and sensations about scenes scenes long lost from memory.

He knows where I am. He knows how he could get in touch with me. And I owe him nothing, I need nothing from him and I need nothing for him. As Will so elegantly put it, to hell with him.

But the others...brother, sister. I have a half-sister from my mother and step-father (whom I call Dad, who raised me from a young age and is as a true father in all but blood). I was raised alongside her, I watched her grow from a baby. She is my sister. I know what the sibling experience is like.

But I can't help but wonder, what are the unmet ones like? How does the other half of my blood live? Do they ever wonder about me? Do they even know they have an older brother? Would they even care? Why would they, if I was too young to remember more than that I did at one point see them, and they were even younger than me, how could they possibly remember? Or were they told of me?

Does it really matter? We were raised apart, all we share is the blood of a man that is a stranger to me. Nothing more.

Maybe I'm just in one of those moods.

1394
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: August 22, 2013, 02:21:10 pm »
The official bindings aren't written by the main developer of SFML, they're more "unofficial but officially endorsed" bindings...whoever did them probably put Vector3f in there because it's only used by SFML for 3d audio.

1395
Other Games / Re: XCOM: Enemy Unknown (New by Firaxis)
« on: August 21, 2013, 05:29:00 pm »
I do think the Xenonauts X-Com-like came up with the best explanation for why the invasion builds up slowly. The very first thing you research is basically "Why are we not already dead?" and it's revealed the alien ships were built for interplanetary travel, not atmospheric combat, so the aliens are basically having to modify their own ships whilst in orbit to make them capable of actually invading effectively. Since the weaker scout and dog-fighter UFOs are smaller, they are easier to retrofit for atmospheric combat so they are the first ones you encounter.

Simple and it makes basic sense without the aliens having to be "going easy on you".

Pages: 1 ... 91 92 [93] 94 95 ... 161