themean

Members
  • Content count

    50
  • Joined

  • Last visited

Community Reputation

1339 Excellent

About themean

  • Rank
    Member
  1. Interesting kickstarter

    Video of the ps version of the game https://www.youtube.com/watch?v=tj7QmHZkQuI
  2. Interesting kickstarter

    I don't know if this is the right place to post https://www.kickstarter.com/projects/1145990096/strength-of-the-sword-ultimate I hope they will achieve their goal
  3. A game made by a two-person team

    http://www.youtube.com/watch?v=kHnK6fUDi5I
  4. A game made by a two-person team

    The game will be released on 5.6.2013 (d/m/y). https://www.youtube.com/watch?v=xHoWUNroAHY https://www.youtube.com/watch?v=c2sZI5m4DAM
  5. A game made by a two-person team

    Sorry and thanks
  6. Not official footage...the game is supposed to come out for the PSN but it's stuck on the QA because of "reasons" It was made by a two man team...looked pretty good to me http://www.youtube.com/watch?v=a6aqr4fQQ4U&feature=plcp
  7. Far as I know zlib is compress library not archive
  8. Handling input in Linux

    Try OIS http://sourceforge.net/projects/wgois/
  9. Is there multi-platform winzip library with good license ??
  10. .That sounds logic but i want to create new one.
  11. I search in physicsfs documentation but can't find way to archive and compress data. Can you explain me.(if this possible)
  12. I solve the problem.I must give root directory to PHYSFS_enumerateFiles or relative path to root. For example i must give myzip/folder to PHYSFS_enumerateFiles.
  13. I'm trying PhysicsFS. But can't get list of all files and directories with [url="http://icculus.org/physfs/docs/html/physfs_8h.html#a0f4ae950c2dae0735a91263ddd20fbf4"]PHYSFS_enumerateFiles[/url]. Here is my test example: [color=#000080]#include[/color][color=#c0c0c0] [/color][color=#008000]<iostream>[/color] [color=#000080]#include[/color][color=#008000]<physfs.h>[/color] [color=#808000]int[/color][color=#c0c0c0] [/color]main[color=#000000]()[/color] [color=#000000]{[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color][color=#008000]"begin"[/color][color=#000000]<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color]PHYSFS_init[color=#000000]([/color]NULL[color=#000000]);[/color] [color=#c0c0c0] [/color][color=#808000]if[/color][color=#000000]([/color]PHYSFS_mount[color=#000000]([/color][color=#008000]"myzip.zip"[/color][color=#000000],[/color][color=#000080]0[/color][color=#000000],[/color][color=#000080]1[/color][color=#000000]))[/color] [color=#c0c0c0] [/color][color=#000000]{[/color] [color=#c0c0c0] [/color][color=#808000]char[/color][color=#c0c0c0] [/color][color=#000000]**[/color][color=#000000]rc[/color][color=#c0c0c0] [/color][color=#000000]=[/color][color=#c0c0c0] [/color]PHYSFS_enumerateFiles[color=#000000]([/color][color=#008000]"folder"[/color][color=#000000]);[/color] [color=#c0c0c0] [/color][color=#808000]char[/color][color=#c0c0c0] [/color][color=#000000]**[/color][color=#000000]i[/color][color=#000000];[/color] [color=#c0c0c0] [/color][color=#808000]if[/color][color=#000000](!*[/color][color=#000000]rc[/color][color=#000000])[/color] [color=#c0c0c0] [/color][color=#000000]{[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color][color=#008000]"Can't[/color][color=#c0c0c0] [/color][color=#008000]print[/color][color=#c0c0c0] [/color][color=#008000]file[/color][color=#c0c0c0] [/color][color=#008000]list"[/color][color=#000000]<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color]PHYSFS_getLastError[color=#000000]()<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color][color=#000000]}[/color] [color=#c0c0c0] [/color][color=#808000]for[/color][color=#c0c0c0] [/color][color=#000000]([/color][color=#000000]i[/color][color=#c0c0c0] [/color][color=#000000]=[/color][color=#c0c0c0] [/color][color=#000000]rc[/color][color=#000000];[/color][color=#c0c0c0] [/color][color=#000000]*[/color][color=#000000]i[/color][color=#c0c0c0] [/color][color=#000000]!=[/color][color=#c0c0c0] [/color]NULL[color=#000000];[/color][color=#c0c0c0] [/color][color=#000000]i[/color][color=#000000]++)[/color] [color=#c0c0c0] [/color][color=#000000]{[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color][color=#008000]"We've[/color][color=#c0c0c0] [/color][color=#008000]got"[/color][color=#000000]<<*[/color][color=#000000]i[/color][color=#000000]<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color][color=#000000]}[/color] [color=#c0c0c0] [/color]PHYSFS_freeList[color=#000000]([/color][color=#000000]rc[/color][color=#000000]);[/color] [color=#c0c0c0] [/color][color=#000000]}[/color] [color=#c0c0c0] [/color][color=#808000]else[/color] [color=#c0c0c0] [/color][color=#000000]{[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color][color=#008000]"Can't[/color][color=#c0c0c0] [/color][color=#008000]add[/color][color=#c0c0c0] [/color][color=#008000]search[/color][color=#c0c0c0] [/color][color=#008000]path"[/color][color=#000000]<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color]PHYSFS_getLastError[color=#000000]()<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color][color=#000000]}[/color] [color=#c0c0c0] [/color][color=#800080]std[/color][color=#000000]::[/color]cout[color=#000000]<<[/color][color=#008000]"end"[/color][color=#000000]<<[/color][color=#800080]std[/color][color=#000000]::[/color]endl[color=#000000];[/color] [color=#c0c0c0] [/color]PHYSFS_deinit[color=#000000]();[/color] [color=#c0c0c0] [/color][color=#808000]return[/color][color=#c0c0c0] [/color][color=#000080]0[/color][color=#000000];[/color] [color=#000000]}[/color] [size=3][font=arial,helvetica,sans-serif][color=#000000]"myzip.zip" is archive of "myzip" folder that contain sub folder "folder"[/color] [color=#000000]My application output is:[/color][/font][/size] [size=3][font=arial,helvetica,sans-serif][color=#000000]begin[/color][/font][/size] Can't print file list File not found end My operation system is debian squeeze