Comments (3)
If you are using a gcc compiler, you can use "__attribute__ ((__packed__))" in
the
structure definitions you need to be packed in memory, as they were in the DOS
version.
Original comment by yrizoud
on 4 Sep 2008 at 7:17
from grafx2.
Yes, but writing a structure to a file is not clean and packing the struct does
not
solve the endianness problem. So we're going to write the members of the struc
one
after each other to the file, in a more portable way.
Original comment by [email protected]
on 8 Sep 2008 at 9:06
from grafx2.
As of r154, all the structs used in file format are __packed__.
When I solve the endianness issue for all formats I am certainly going to read
and
write member by member anyway, but in either way the packing problem is solved.
Original comment by yrizoud
on 17 Sep 2008 at 7:42
- Changed state: Fixed
from grafx2.
Related Issues (20)
- Program won't start HOT 4
- Brush flip/rotate functions ineffective on diagonal/straight line presets HOT 2
- Rightclicking on brush selection button with preset active is surprisingly useless HOT 1
- Mouse Cursor Slow / Lags on OSX 10.8.4 HOT 4
- Windows 7 Window blinks to black on startup HOT 1
- No keyboard shortcut for animation play/play backward
- Grid is faulty - 1x1 pixel off HOT 6
- DPaint-like draw modes HOT 2
- Load/Save palettes HOT 9
- Load/Save palettes HOT 1
- Android patches HOT 1
- relative paths should allways start from same point
- Selecting a GIF anim in the Load file selector make the application to crash
- text immission HOT 2
- Drawing in animation
- use brush as pattern fill HOT 1
- webcam or video capture via script HOT 1
- new Lua script: palette extender
- Hue shift slider
- Not the latest version of GrafX2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafx2.