summaryrefslogtreecommitdiff
path: root/newgrf.h
AgeCommit message (Collapse)Author
2006-12-04(svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags ↵peter1138
exclusively. Update action 7/9 now that we know if GRFs are disabled.
2006-12-04(svn r7348) -Feature: Initial support for saving NewGRF settings with ↵peter1138
savegames. Back up your savegames...
2006-12-03(svn r7345) -Codechange: enumification of NewGRF loading stage, and move ↵peter1138
enum definition to header for future use.
2006-12-02(svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites.peter1138
2006-10-05(svn r6654) - Codechange: If no 2cc vehicles are available, hide the ↵peter1138
secondary colour choice.
2006-09-27(svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound ↵peter1138
priority isn't supported.
2006-05-17(svn r4901) - Codechange: change 'SpriteGroup *' to 'struct SpriteGroup *' ↵peter1138
within StationSpec and GRFFile struct declarations. Now only code which actually references those pointers needs to know about the SpriteGroup struct. Remove some unnecessary lingering header dependencies.
2006-05-07(svn r4767) - Newstations: fix loading / use of custom ground spritespeter1138
2006-05-06(svn r4760) - Newstations: change the way custom stations are allocated when ↵peter1138
loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere)
2006-05-01(svn r4650) - NewGRF: use the correct type for _cur_spriteidpeter1138
2006-04-23(svn r4549) - NewGRF: store the grf version from Action 0x08.peter1138
2006-04-23(svn r4546) - NewGRF: add support for Action 0x05, type 0x04: replacement ↵peter1138
signal graphics. Thanks to Purno for supplying data to test with.
2006-04-22(svn r4527) - Feature [NewGRF]: Add support for specifying parameters to GRF ↵Darkvater
files. Usage: "mygrf = 1". You can pass up to 128 parameters, each one seperated by a comma or a space-character. Big thanks to peter1138 for the inspiration and examples.
2006-04-15(svn r4439) - NewGRF: Add support for Action 0x10. This also required an ↵Darkvater
extra pre-stage (before initialize and activation) to scan the GRF file for GOTO labels. Big thanks for peter1138 for the guidance and answers, as well as parts of the code.
2006-04-11(svn r4352) - NewGRF Codechange: dynamically allocate the memory used to ↵peter1138
store custom station data. This saves us approximately 40KB per GRF file, if there are no stations defined.
2005-12-18(svn r3311) Remove the unnecessary global variable _grffile_count: It's just ↵tron
the scroll count of a list and furthermore only used in one file
2005-11-12(svn r3167) - NewGRF: Start moving custom station code to separate files.peter1138
Rewrite handling of station classes. Allow for more than 8 station tile layouts. Start of code to unload custom stations.
2005-10-22(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in ↵tron
comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up
2005-09-22(svn r2970) - Newgrf: Allocate spritegroups dynamically; this allows a cargo ↵peter1138
ID to reference the previous definition of the same cargo ID, instead of causing loops.
2005-08-15(svn r2871) -Feature/Fix: Per GRF parameter liststron
2005-08-15(svn r2868) Change the way NewGRFs are loaded: The loading process i no ↵tron
longer bolted onto the normal graphics loading. This has two major advantages: - Removal of a maze of global variables and distinction of cases from the sprite loading routines, which weren't directly related to the loading process in the first place - NewGRF actions no longer occupy sprite slots - for example when using DBSetXL this saves about 2000 slots! (you could regard this as a bug fix) If i didn't make a major mistake this change should have no negative effect on NewGRF support, please test!
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-03-10(svn r1981) Typedef some structs and enumstron
2004-11-19(svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly.pasky
2004-11-17(svn r665) code fixes for newgrf.c/newgrf.hdominik
2004-11-17(svn r663) [newgrf] sorry, forgot newgrf.hdominik