Michał Janiszewski
e885056229
Fix exit code handling, sprite generation
...
Make sprite generation not start UI
2015-11-14 17:43:03 +01:00
Michał Janiszewski
60f7d29c2e
Zero the buffer for g2.dat
...
Some leftover data caused the g2.dat generated on different platforms to
have mismatching cheksums. Zeroing the buffer makes them
checksum-identical.
2015-11-13 14:43:08 +01:00
Michał Janiszewski
6723f51087
Keep track of address returned by malloc to free it correctly
...
When doing g2 generation on Linux, src variable was not modified in the
same way as on Windows, which caused free() on a pointer that was not
malloc()ed.
This fixes #2219 .
2015-11-12 14:11:22 +01:00
Michał Janiszewski
9284930d7e
Add safe_strncpy function
...
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
8e45cccb7a
Minor fixes
...
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
Michał Janiszewski
52252f82b3
assorted fixes
2015-09-07 20:51:21 +02:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
Michał Janiszewski
7afb7e2dfd
Portability fixes
2015-08-04 19:31:21 +02:00
IntelOrca
cac0f2ab52
upgrade to VS2015 compiler
2015-08-03 23:16:30 +01:00
IntelOrca
899c563d35
improve sprite compiler
2015-06-03 03:11:54 +01:00
Thomas den Hollander
2f6bff4def
#include fix
2015-06-02 13:37:18 +02:00
Thomas
df25e7a15a
Add command 'exportall' to sprite tool
2015-06-02 12:50:16 +02:00
IntelOrca
f827234dc8
fix sprite compile issue, entry offsets were not updated when data was reallocated.
2015-06-02 00:53:51 +01:00
Thomas
a3368c4a54
Fix issue
2015-06-01 15:14:15 +02:00
Thomas
f262ef977d
Fix warning and remove debugging
2015-06-01 14:04:35 +02:00
Thomas
c266c21c9c
Fix overflow issue
2015-06-01 13:19:40 +02:00
Thomas
55456559bb
Added dithering and closest pixel conversion for sprite tool
2015-05-31 20:35:40 +02:00
IntelOrca
1fdf1f57f7
add zoom button images to viewport window
2015-05-31 00:20:42 +01:00
IntelOrca
101fed0dd9
refactor g1Elements pointer and implement sub_68371D
2015-05-28 00:17:22 +01:00
Robert Jordan
ac17b52139
g2.dat is now updated every build.
...
data/g2.dat is now ignored.
2015-05-20 14:20:24 -04:00
Robert Jordan
0a3d2b949c
sprite build now uses parameters
...
Added batch file to build g2.dat
2015-05-20 13:17:08 -04:00
Robert Jordan
c7e3639663
Sprite build command
...
build uses ../../data/g2.dat and all numbered images in
../../resources/g2/.
No other parameters needed.
Also changed speed button hyper arrows to support game speeds inbetween
4 and 8.
2015-05-20 11:52:40 -04:00
IntelOrca
c1260fc11f
add command line sprite editor and additional custom graphics (g2.dat)
2015-05-19 00:26:31 +01:00