[Ohrrpgce] [ohrrpgce/ohrrpgce] Add support for Steam achievements (PR #1229)

Mike Caron notifications at github.com
Wed Nov 17 21:14:22 PST 2021


This is a complicated subject, but this involves:
- adding support for Steamworks
- adding support for achievements to be defined
- adding support at runtime to detect when achievement
  conditions have been met

There is also a test game that adds support for
achievements in Steam's test game

Details on the implementation, rationale etc can be found on the wiki page:
https://rpg.hamsterrepublic.com/ohrrpgce/User:Pkmnfrk/Achievements

(Note: I am aware that we can't just merge this PR directly, but I would like to open this up for feedback before pushing it to SVN)
You can view, comment on, or merge this pull request online at:

  https://github.com/ohrrpgce/ohrrpgce/pull/1229

-- Commit Summary --

  * Add support for Steam achievements

-- File Changes --

    M SConscript (5)
    A achievements.bi (37)
    A achievements.rbas (173)
    A achievements_runtime.bi (25)
    A achievements_runtime.rbas (294)
    M allmodex.bas (2)
    M custom.bas (11)
    M custom.bi (1)
    M customsubs.rbas (6)
    M game.bas (21)
    M moresubs.bi (1)
    M moresubs.rbas (3)
    M reload.bas (12)
    M reload.bi (1)
    M savegame.rbas (5)
    A steam.bas (280)
    A steam.bi (16)
    A steam_internal.bi (166)
    A testgame/achievements.hss (21)
    A testgame/achievements.rpgdir/achievements.reld (0)
    A testgame/achievements.rpgdir/achievements.xml (34)
    A testgame/achievements.rpgdir/archinym.lmp (2)
    A testgame/achievements.rpgdir/attack.bin (0)
    A testgame/achievements.rpgdir/attacks.rgfx (0)
    A testgame/achievements.rpgdir/backdrops.rgfx (0)
    A testgame/achievements.rpgdir/binsize.bin (0)
    A testgame/achievements.rpgdir/boxborders.rgfx (0)
    A testgame/achievements.rpgdir/browse.txt (0)
    A testgame/achievements.rpgdir/defpal0.bin (0)
    A testgame/achievements.rpgdir/defpal1.bin (0)
    A testgame/achievements.rpgdir/defpal2.bin (0)
    A testgame/achievements.rpgdir/defpal3.bin (0)
    A testgame/achievements.rpgdir/defpal4.bin (0)
    A testgame/achievements.rpgdir/defpal5.bin (0)
    A testgame/achievements.rpgdir/defpal6.bin (0)
    A testgame/achievements.rpgdir/defpal7.bin (0)
    A testgame/achievements.rpgdir/defpal8.bin (0)
    A testgame/achievements.rpgdir/defpass.bin (0)
    A testgame/achievements.rpgdir/enemies.rgfx (0)
    A testgame/achievements.rpgdir/fixbits.bin (1)
    A testgame/achievements.rpgdir/general.reld (0)
    A testgame/achievements.rpgdir/globalnpcs1.n (0)
    A testgame/achievements.rpgdir/heroes.reld (0)
    A testgame/achievements.rpgdir/heroes.rgfx (0)
    A testgame/achievements.rpgdir/lookup1.bin (0)
    A testgame/achievements.rpgdir/menuitem.bin (0)
    A testgame/achievements.rpgdir/menus.bin (0)
    A testgame/achievements.rpgdir/ohrrpgce.d00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.dox (0)
    A testgame/achievements.rpgdir/ohrrpgce.dt0 (0)
    A testgame/achievements.rpgdir/ohrrpgce.dt1 (0)
    A testgame/achievements.rpgdir/ohrrpgce.dt6 (0)
    A testgame/achievements.rpgdir/ohrrpgce.e00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.efs (0)
    A testgame/achievements.rpgdir/ohrrpgce.fnt (0)
    A testgame/achievements.rpgdir/ohrrpgce.for (0)
    A testgame/achievements.rpgdir/ohrrpgce.gen (0)
    A testgame/achievements.rpgdir/ohrrpgce.hsp (0)
    A testgame/achievements.rpgdir/ohrrpgce.itm (0)
    A testgame/achievements.rpgdir/ohrrpgce.l00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.map (0)
    A testgame/achievements.rpgdir/ohrrpgce.mas (0)
    A testgame/achievements.rpgdir/ohrrpgce.mn (0)
    A testgame/achievements.rpgdir/ohrrpgce.n00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.p00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.pal (0)
    A testgame/achievements.rpgdir/ohrrpgce.say (0)
    A testgame/achievements.rpgdir/ohrrpgce.sho (0)
    A testgame/achievements.rpgdir/ohrrpgce.sng (100)
    A testgame/achievements.rpgdir/ohrrpgce.stf (0)
    A testgame/achievements.rpgdir/ohrrpgce.stt (0)
    A testgame/achievements.rpgdir/ohrrpgce.t00 (0)
    A testgame/achievements.rpgdir/ohrrpgce.tap (0)
    A testgame/achievements.rpgdir/ohrrpgce.til (0)
    A testgame/achievements.rpgdir/ohrrpgce.tmn (0)
    A testgame/achievements.rpgdir/ohrrpgce.veh (0)
    A testgame/achievements.rpgdir/ohrrpgce.z00 (0)
    A testgame/achievements.rpgdir/palettes.bin (0)
    A testgame/achievements.rpgdir/plotscr.lst (0)
    A testgame/achievements.rpgdir/portraits.rgfx (0)
    A testgame/achievements.rpgdir/sfxdata.bin (0)
    A testgame/achievements.rpgdir/songdata.bin (0)
    A testgame/achievements.rpgdir/uicolors.bin (0)
    A testgame/achievements.rpgdir/walkabouts.rgfx (0)
    A testgame/achievements.rpgdir/weapons.rgfx (0)
    M util.bas (9)
    M util.bi (2)
    M yetmore2.bas (9)

-- Patch Links --

https://github.com/ohrrpgce/ohrrpgce/pull/1229.patch
https://github.com/ohrrpgce/ohrrpgce/pull/1229.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/pull/1229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20211117/a702f6f9/attachment-0001.html>


More information about the Ohrrpgce mailing list