Commit Graph

66 Commits

Author SHA1 Message Date
Darkvater a518ecbabb (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it
in a sane way. Correctly specify resize flags for windows and only manually change the
 widgets that the resize system cannot handle (eg centering). This changes r6562, and
 probably some other commits
2006-12-07 00:51:20 +00:00
peter1138 b7654e09a2 (svn r7358) -Codechange: add newgrf_gui.c to MS project files 2006-12-04 14:30:18 +00:00
peter1138 bd66cc5756 (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +00:00
Darkvater 6d154ce5f8 (svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker options (thanks Rubidium) 2006-12-03 19:07:20 +00:00
Darkvater 024ebaa3fe (svn r7336) -Codechange: [win32] Add freetype support for Windows project files. 2006-12-03 18:36:11 +00:00
matthijs 231111ce3d (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
- Codechange: Rename pool.[ch] to oldpool.[ch].
2006-12-03 17:27:43 +00:00
Darkvater eb61fde8e3 (svn r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add
unicows.lib to Release build of VS2003.
2006-12-01 19:25:50 +00:00
KUDr 1235172cc7 (svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
- using one engine list instead of 3
- removed engine filters (loco, wagons, helicopters, etc.)
- EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList)
- removed unnecessary  "optimization" (rebuild and sort engine list on each WE_PAINT)
2006-11-30 16:03:12 +00:00
Darkvater dcbbda0cb9 (svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. Only workaround is that the
wide version of EnumDisplaySettings crashes on win95 no matter what, so use ANSI version.
 NOTE: MSLU support is only added to VS2003 project file because VS2005 compiles won't
 even run on Windows95.
2006-11-28 20:01:46 +00:00
Darkvater 5471c1c50f (svn r7226) -Fix (r7200): [win32] Don't ask my why but I told the linker to ignore the multithreaded
library in for VS2005, resulting in unlinkable code for Release builds.
2006-11-21 13:03:06 +00:00
peter1138 1a4f1c8177 (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
Darkvater 1204eeacfe (svn r6922) -Feature: Add proper cloning sprites and cursors, different for each vehicle. Big thanks
to MB for the initial design and skidd13 for the iconified version(s).
-Codechange: Change the autorenew sprites from recycle to upgrade (skidd13)
-Codechange: Change the shared orders icon (MeusH)
-Add missing table/files.h file to VS project file.
2006-10-24 12:56:14 +00:00
glx 05d733d033 (svn r6724) -Fix r6723: respect alphabetical order 2006-10-10 15:09:28 +00:00
glx 4b79001d0d (svn r6723) -Fix r6722: forgot openttd.vcproj 2006-10-10 15:07:13 +00:00
belugas 66206867fe (svn r6644) -Fix(r6637): remove inline to allow MSVC compilation
-Fix(r5124): Add aircraft.h to MSVC projects
2006-10-05 02:26:27 +00:00
glx 2b5436d42f (svn r6617) -Fix r6596: missing '>' in openttd.vcproj 2006-10-02 20:30:20 +00:00
belugas a113295622 (svn r6596) -Fix(r6562) : Add missing resize_window_widget.h to MSVC projects 2006-10-01 00:38:46 +00:00
belugas 1445dfddbb (svn r6576) -CodeChange : Move depot_gui.c on "Gui Source codes" section of MSVC project files 2006-09-29 16:57:12 +00:00
peter1138 653e7fa548 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 2006-09-27 18:17:01 +00:00
bjarni f7769e885e (svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent
   and faster to code when adding more features in the future
   The user interface should hopefully not be affected by this
2006-09-26 16:47:51 +00:00
glx 5499cf5ecf (svn r6298) -Fix(r6297): add network_gui.h to MSVC projetc files 2006-09-01 13:48:43 +00:00
Darkvater 5eb6d9202c (svn r6138) - Remove stdafx.c since we do not use it. 2006-08-26 14:36:19 +00:00
truelight 10b842bddc (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
- New optional landscape generator (TerraGenesis Perlin)
  - Load heightmaps (either BMP or PNG)
  - Progress dialog while generating worlds (no longer a 'hanging' screen)
  - New dialogs for NewGame, Create Scenario and Play Heightmap
    - Easier to configure your landscape
    - More things to configure (tree-placer, ..)
  - Speedup of world generation
  - New console command 'restart': restart the map EXACTLY as it was when you
      first started it (needs a game made after or with this commit)
  - New console command 'getseed': get the seed of your map and share it with
      others (of course only works with generated maps)
  - Many new, world generation related, things
  - Many internal cleanups and rewrites
  Many tnx to those people who helped making this:
     Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
  Many tnx to those who helped testing:
     Arnau, Bjarni, and tokai (alfabetic)
  And to all other people who helped testing and sending comments / bugs
  Stats: 673 lines changed, 3534 new lines, 79 new strings
2006-08-19 10:00:30 +00:00
rubidium 243872b4fd (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
Darkvater ee7b3de2f5 (svn r5764) - Cleanup: - Cleanup: Move the now unified FiosAlloc, compare_FiosItems, FiosFreeSavegameList, FiosMakeSavegameName, FiosDelete and FileExists to newly created file fios.c where it belongs.
- Fix: forgot to remove GetLanguageList from functions.h in previous commit
2006-08-05 00:16:24 +00:00
belugas 94692a2905 (svn r5464) [Behaviour Fix] : When starting the game, the system will now verify the presence of music files in gm forlder.
A song can now be removed from the programmed list (in custom list 1 and 2) by clicking on it.
Added music.c[ch] files, to make it all a bit cleaner.
Now, the name of the gm file is associated with the title of the song.
2006-07-07 02:44:51 +00:00
KUDr 5e73dce0e7 (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 2006-05-27 16:12:16 +00:00
belugas a102163239 (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
Clearing engine and newgrf_engine from cargo related structures.
Apart from moving stuff cargo related, there is nothing really newcargo for now.
2006-05-18 02:43:23 +00:00
KUDr 1512d86e35 (svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c 2006-05-05 19:30:09 +00:00
belugas aab91d287a (svn r4493) Newgrf : Action 04. Beginning of implementation.
Some TODOs left, but the core is there.
Thanks to Peter1138 for code, advice and patience
And to Patchman for letting us define a lot of langids :)
2006-04-21 03:00:20 +00:00
peter1138 b23e85a7be (svn r4488) - Add newgrf_spritegroup.[ch] to MS VS project files 2006-04-20 21:19:20 +00:00
peter1138 e44c175745 (svn r4206) - Add bridge_map.h and unmovable_map.h to MS VS project file 2006-03-31 16:11:51 +00:00
belugas 1bb8d3a3b5 (svn r4163) CodeChange : Add missing file to MS Project and Workspace files 2006-03-30 00:48:45 +00:00
celestar a7d8ad0004 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. 2006-03-29 16:30:26 +00:00
Darkvater a91c52e169 (svn r4125) - Feature: Add a general TIC() TOC() mechanism using rdtsc or something similar on non-i386 architectures to performance-tune (critical) code. Some systems are probably missing, but those can be added later. 2006-03-26 21:15:09 +00:00
Darkvater 1b6ed11d7b (svn r4114) - Add missing source files to VS2003/VS6 project files added in r4113 2006-03-26 16:29:20 +00:00
belugas a89cea072c (svn r4089) CodeChange : Create Map Accessors Group in MS WorkSpace, arrange VCProject. Remove warning on FindLengthOfTunnel, uint is not DiagDirection 2006-03-24 16:03:09 +00:00
Darkvater cc6d563eb6 (svn r4030) Darkvater * r4030 /trunk/ (openttd.dsp openttd.vcproj): - [win32] Change compiler settings to use the multithreaded CRT. This prevents certain crashes on multi-threaded machines. (thx DmitryKo and KUDr) 2006-03-22 20:41:48 +00:00
Darkvater c51c86b2c8 (svn r3892) - Add missing file to VS project-file 2006-03-15 21:09:10 +00:00
Darkvater 91facef36a (svn r3871) - [win32] Remove mapfile generation and generate a pdb file instead. This and the corresponding executable is enough to trace the source of a crash given by crash.txt by using WinDbg for example. Mapfiles are a bit deprecated in the newer VS environments. 2006-03-14 21:29:38 +00:00
peter1138 25970764a3 (svn r3809) - Add map accessor files to MS VS 2003 project file 2006-03-10 09:20:28 +00:00
peter1138 d1076fe973 (svn r3666) Fix up svn properties and add header files to Windows project files. 2006-02-24 20:09:50 +00:00
peter1138 f80bf7fa68 (svn r3558) Add newgrf_callbacks.h to VS project files 2006-02-05 20:36:36 +00:00
Darkvater 0a1a37c8db (svn r3527) - Codechange: merge change from branch/0.4.5/. It should be other way, but ok :S 2006-02-03 17:31:24 +00:00
peter1138 ea4c5bbd2d (svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files. 2006-02-03 15:51:00 +00:00
peter1138 b88904f345 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files. 2006-02-03 12:55:21 +00:00
Darkvater 4e09974975 (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
2006-01-29 18:57:26 +00:00
tron ec2675c2c5 (svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule 2005-12-11 07:36:49 +00:00
Darkvater 8a05c1e31d (svn r3174) - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project) 2005-11-13 16:30:04 +00:00
Darkvater a3d40a29fc (svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Fix warning in graph_gui.c with const problem
2005-10-02 22:39:56 +00:00