Niels Martin Hansen
1e6ace134a
Respack produced invalid resources on Windows since it was opening files in text mode, causing newline conversions to happen.
...
Having it open files in binary mode instead fixes the problem.
Originally committed to SVN as r5182.
2011-01-14 01:29:47 +00:00
Amar Takhar
585b108671
Takes exactly 3 arguments it's not a minimum.
...
Originally committed to SVN as r5178.
2011-01-11 21:50:27 +00:00
Amar Takhar
357adc07dc
Add some comments.
...
Originally committed to SVN as r5177.
2011-01-11 21:47:59 +00:00
Amar Takhar
9d34dfb01c
Rewrite respack in pure C++, this is required to make cross-compiling sane.
...
Originally committed to SVN as r5165.
2011-01-11 16:55:15 +00:00
Thomas Goyne
5338a60cdb
Fix compilation errors when not using precompiled headers
...
Originally committed to SVN as r4511.
2010-06-14 19:26:27 +00:00
Thomas Goyne
8c8e668758
Only include libresrc.h once rather than once per file packed
...
Originally committed to SVN as r4475.
2010-06-11 02:25:18 +00:00
Amar Takhar
810ffa09c7
Convert the identifier to an std::string from wxString. For whatever reason wxString is producing addresses rather than strings when automatically converting. I've seen this behaviour before and it seems quite random. This will solve that problem.
...
Originally committed to SVN as r4342.
2010-05-22 01:22:53 +00:00
Kevin Ollivier
aa417cf903
Remove unintentionally added tabs.
...
Originally committed to SVN as r4174.
2010-03-13 18:16:40 +00:00
Kevin Ollivier
277f1959ad
We should still increment currentItem when the file and dir tests both return false, as otherwise we get into infinite recursion processing the same item.
...
Originally committed to SVN as r4172.
2010-03-13 17:43:47 +00:00
Amar Takhar
c3c14b0815
Change how libresrc is built:
...
* Instead of putting code into the .(c|h) files place it into two new files libresrc.(c|h)
* Bitmaps now go into bitmaps.(c|h)
* Default configs into default_config.(c|h)
With this approach we can easily embed any resources by simply calling it with common-respack and not having to do anything else.
Originally committed to SVN as r4169.
2010-03-03 00:44:17 +00:00
Thomas Goyne
01505e3d37
Mostly fix unix build issues related to the new image embedding.
...
Originally committed to SVN as r3276.
2009-07-25 18:08:17 +00:00
Amar Takhar
ffe628f29a
Move tellg() usage to the start of the block rather than at the end, otherwise it would always return -1. This should be harmless for windows.
...
Originally committed to SVN as r3269.
2009-07-25 08:32:21 +00:00
Amar Takhar
2522102465
Change .wc_str() to .char_str() to fix unix build breakage, should be fine on windows..
...
Originally committed to SVN as r3268.
2009-07-25 08:01:30 +00:00
Thomas Goyne
c641c6e656
Switch all icons in Aegisub to use the new png versions, using a new small tool to store the pngs as byte arrays in a cpp file.
...
Originally committed to SVN as r3265.
2009-07-25 04:49:59 +00:00