Jump to content
  • Advertisement

themean

Member
  • Content Count

    50
  • Joined

  • Last visited

Community Reputation

1339 Excellent

About themean

  • Rank
    Member
  1. themean

    Interesting kickstarter

    Video of the ps version of the game
  2. themean

    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. themean

    A game made by a two-person team

    The game will be released on 5.6.2013 (d/m/y).
  4. themean

    A game made by a two-person team

    Sorry and thanks
  5. 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
  6. Far as I know zlib is compress library not archive
  7. themean

    Handling input in Linux

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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!