SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.77k stars 1.12k forks source link

Pure fixed-point math functions #1543

Open heinezen opened 1 year ago

heinezen commented 1 year ago

Required Skills: C++

Difficulty: Easy

We should add additional math operations to our fixed-point implementation, so that all calculations can be done purely deterministic.

The fpm library already has these operations and could be used as an inspiration.

Interesting for us:

Nice to have:

Further Reading

heinezen commented 1 year ago

@mingjuu You can :)

I'll assign you right now and if you have any questions, feel free to ask here or in chat.

AyiStar commented 11 months ago

Hello, I am new to the project and wish I could join you. Can you assign this issue to me so that I can start from here?

heinezen commented 11 months ago

@AyiStar sure :)

AyiStar commented 11 months ago

@heinezen Thank! I will touch you if I have any questions.

adamresemius commented 11 months ago

Hello,

Is there anything left to do here that I can contribute to?

heinezen commented 10 months ago

@adamresemius Yes, the unticked boxes in the issue description is what's not implemented at the moment.

Zain-Balkhi commented 9 months ago

I think I know how to implement the other functions in fpm. I have pow already on mine.

firednerve commented 3 months ago

Hey, I'm a beginner and could try my hand at implementing sqrt (and possibly the others after) if it isn't being worked on right now

heinezen commented 3 months ago

@firednerve You are welcome to go for it :)

firednerve commented 3 months ago

Thanks! I’ll ask if I have any questions.