RPGs, by a long way. First played D&D back in 1980, I think, didn't play WHFB till about '85 or '86, then 40k in '87. By that time I'd played Traveller, Star Frontiers, Runequest and Call of Cthulhu (and I think MERP too), as well as writing a rule-set for my own RPG (though to be fair, I also wrote a rule-set for a tabletop battle game in about 1984!). So, in general, well ahead on the RPG front.
As some already know, I see 40k and WHFB as an extension of RPGs; I'm not that bothered about all that min-max, beard-of-spam-cheese math-hammer stuff. I like my hammers to be exceedingly fluffy, to tell a story, and I rarely play pick-up games. I'd
much much rather play a campaign than a one off, or rather a series of one-offs, and when I do play one-offs, I secretly write them in my head as if they're part of an ongoing narrative anyway: Just when the gallant second company is recovering from its protracted campaign against the foul Tyrannid menace, a new threat breaks out - Chaos Marines, taking advantage of the confusion, launch a lightning strike on an isolated planet, necessitating our brave but tired heroes to cut short their r&r... this happens to my forces a lot. Except the nids, as they're just animals and have very little use for narrative structures. After all, you can't really imagine nid legends, can you?