READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Just a random code

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
User avatar
PredatorCZ
mega-veteran
mega-veteran
Posts: 251
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 7 times
Been thanked: 176 times
Contact:

Just a random code

Post by PredatorCZ » Wed Jul 17, 2019 9:05 am

By pure coincidence I stumbled upon random code, that I found.
It's a source code for CCharacter class, written in C++.
The main prefix seems to be TG. (Engine initials?)
It looks like some dev made a rookie mistake and posted something he shouldn't to public (share between devs, etc...).
It looks like it's only a prototype, but well written.
Model format file extension is tfm.
Animation format file extension is tfa.
It seems to be developed only for PC and PS4, by the macro definitions.
It's a shooter game, tho not sure if FPS or TPS.
There are 4 characters: Laguna. Joe(Cateye), Cupcake and Zuki.
The engine uses Havok library for physics.

If any of those words I wrote sounds familiar, feel free to post.

https://pastebin.com/jL2hn7LB

User avatar
chrrox
Moderator
Posts: 2537
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1263 times

Re: Just a random code

Post by chrrox » Wed Jul 17, 2019 10:51 am

Game-play sounds like a contra game.
There are a few more files from it on pastebin
https://www.google.com/search?q="CTileM ... eManager.h"

User avatar
PredatorCZ
mega-veteran
mega-veteran
Posts: 251
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 7 times
Been thanked: 176 times
Contact:

Re: Just a random code

Post by PredatorCZ » Sun Jul 21, 2019 9:48 am

chrrox wrote:
Wed Jul 17, 2019 10:51 am
Game-play sounds like a contra game.
There are a few more files from it on pastebin
Tanks for a heads up.
I was able to find more of them

CTile: https://pastebin.com/KV01aqwe
CTileManager: https://pastebin.com/4C3P6x75
CProp: https://pastebin.com/2SVR8GhV

There is also this file: https://pastebin.com/VKpP7HCQ

The company name is Tension Graphics AB, they are a Swedish company, that just do some stuff (mostly commercial).
Hence the TG prefix on some filenames.

I wanted only some info about Havok hknp classes, which I got.
These files just popped up in search engine.

Post Reply